mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-21 08:46:46 +08:00
合并
This commit is contained in:
@@ -57,16 +57,23 @@
|
|||||||
<div class="main_notice">
|
<div class="main_notice">
|
||||||
<div class="mntc_left">
|
<div class="mntc_left">
|
||||||
<div class="notice_icon"></div>
|
<div class="notice_icon"></div>
|
||||||
<span style="color:rgba(0, 0, 0, .65); margin-right:17px;">已选择 <span style="color:#388BE1;">4</span> 项</span>
|
<span style="color: rgba(0, 0, 0, 0.65); margin-right: 17px"
|
||||||
<span style="color:rgba(0, 0, 0, .65)">列表选项总计:<span>14</span> 条</span>
|
>已选择 <span style="color: #388be1">4</span> 项</span
|
||||||
|
>
|
||||||
|
<span style="color: rgba(0, 0, 0, 0.65)"
|
||||||
|
>列表选项总计:<span>14</span> 条</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="mntc_right">
|
<div class="mntc_right">
|
||||||
<span style="color:#387DF7; margin-right:24px;">清空</span>
|
<span style="color: #387df7; margin-right: 24px">清空</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="main_table">
|
<div class="main_table">
|
||||||
<a-table class="ant-table-striped"
|
<a-table
|
||||||
:row-class-name="(_record, index) => (index % 2 === 1 ? 'table-striped' : null)"
|
class="ant-table-striped"
|
||||||
|
:row-class-name="
|
||||||
|
(_record, index) => (index % 2 === 1 ? 'table-striped' : null)
|
||||||
|
"
|
||||||
:row-selection="rowSelection"
|
:row-selection="rowSelection"
|
||||||
:columns="columns1"
|
:columns="columns1"
|
||||||
:data-source="tableData1"
|
:data-source="tableData1"
|
||||||
@@ -111,51 +118,55 @@ import { reactive, toRefs, ref } from "vue";
|
|||||||
const columns1 = [
|
const columns1 = [
|
||||||
{
|
{
|
||||||
title: "课程编号",
|
title: "课程编号",
|
||||||
width: '20%',
|
width: "20%",
|
||||||
dataIndex: "num",
|
dataIndex: "num",
|
||||||
key: "num",
|
key: "num",
|
||||||
align: "center",
|
align: "center",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "名称",
|
title: "名称",
|
||||||
width: '20%',
|
width: "20%",
|
||||||
dataIndex: "name",
|
dataIndex: "name",
|
||||||
key: "name",
|
key: "name",
|
||||||
align: "center",
|
align: "center",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "内容分类",
|
title: "内容分类",
|
||||||
width: '13%',
|
width: "13%",
|
||||||
dataIndex: "content",
|
dataIndex: "content",
|
||||||
key: "content",
|
key: "content",
|
||||||
align: "center",
|
align: "center",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "授课教师",
|
title: "授课教师",
|
||||||
width: '13%',
|
width: "13%",
|
||||||
dataIndex: "teacher",
|
dataIndex: "teacher",
|
||||||
key: "teacher",
|
key: "teacher",
|
||||||
align: "center",
|
align: "center",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "创建人",
|
title: "创建人",
|
||||||
width: '13%',
|
width: "13%",
|
||||||
dataIndex: "creator",
|
dataIndex: "creator",
|
||||||
key: "creator",
|
key: "creator",
|
||||||
align: "center",
|
align: "center",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "完成时间",
|
title: "完成时间",
|
||||||
width: '20%',
|
width: "20%",
|
||||||
dataIndex: "time",
|
dataIndex: "time",
|
||||||
key: "time",
|
key: "time",
|
||||||
align: "center",
|
align: "center",
|
||||||
},
|
},
|
||||||
]
|
];
|
||||||
const rowSelection = ref({
|
const rowSelection = ref({
|
||||||
checkStrictly: false,
|
checkStrictly: false,
|
||||||
onChange: (selectedRowKeys, selectedRows) => {
|
onChange: (selectedRowKeys, selectedRows) => {
|
||||||
console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);
|
console.log(
|
||||||
|
`selectedRowKeys: ${selectedRowKeys}`,
|
||||||
|
"selectedRows: ",
|
||||||
|
selectedRows
|
||||||
|
);
|
||||||
},
|
},
|
||||||
onSelect: (record, selected, selectedRows) => {
|
onSelect: (record, selected, selectedRows) => {
|
||||||
console.log(record, selected, selectedRows);
|
console.log(record, selected, selectedRows);
|
||||||
@@ -177,84 +188,84 @@ import { reactive, toRefs, ref } from "vue";
|
|||||||
tableData1: [
|
tableData1: [
|
||||||
{
|
{
|
||||||
key: "1",
|
key: "1",
|
||||||
num: 'JDF2022071100001',
|
num: "JDF2022071100001",
|
||||||
name:'时间管理课程',
|
name: "时间管理课程",
|
||||||
content:'通用力',
|
content: "通用力",
|
||||||
teacher:'BOE教师',
|
teacher: "BOE教师",
|
||||||
creator:'管理员',
|
creator: "管理员",
|
||||||
time:'2022-10-31 23:12:00',
|
time: "2022-10-31 23:12:00",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "2",
|
key: "2",
|
||||||
num: 'JDF2022071100001',
|
num: "JDF2022071100001",
|
||||||
name:'管理能力课程',
|
name: "管理能力课程",
|
||||||
content:'领导力',
|
content: "领导力",
|
||||||
teacher:'BOE教师',
|
teacher: "BOE教师",
|
||||||
creator:'管理员',
|
creator: "管理员",
|
||||||
time:'2022-10-31 23:12:00',
|
time: "2022-10-31 23:12:00",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "3",
|
key: "3",
|
||||||
num: 'JDF2022071100001',
|
num: "JDF2022071100001",
|
||||||
name:'快速换模SMED',
|
name: "快速换模SMED",
|
||||||
content:'通用力',
|
content: "通用力",
|
||||||
teacher:'BOE教师',
|
teacher: "BOE教师",
|
||||||
creator:'管理员',
|
creator: "管理员",
|
||||||
time:'2022-10-31 23:12:00',
|
time: "2022-10-31 23:12:00",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "4",
|
key: "4",
|
||||||
num: 'JDF2022071100001',
|
num: "JDF2022071100001",
|
||||||
name:'巧妙对话人见人夸',
|
name: "巧妙对话人见人夸",
|
||||||
content:'领导力',
|
content: "领导力",
|
||||||
teacher:'BOE教师',
|
teacher: "BOE教师",
|
||||||
creator:'管理员',
|
creator: "管理员",
|
||||||
time:'2022-10-31 23:12:00',
|
time: "2022-10-31 23:12:00",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "5",
|
key: "5",
|
||||||
num: 'JDF2022071100001',
|
num: "JDF2022071100001",
|
||||||
name:'管理能力课程',
|
name: "管理能力课程",
|
||||||
content:'领导力',
|
content: "领导力",
|
||||||
teacher:'BOE教师',
|
teacher: "BOE教师",
|
||||||
creator:'管理员',
|
creator: "管理员",
|
||||||
time:'2022-10-31 23:12:00',
|
time: "2022-10-31 23:12:00",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "6",
|
key: "6",
|
||||||
num: 'JDF2022071100001',
|
num: "JDF2022071100001",
|
||||||
name:'时间管理课程',
|
name: "时间管理课程",
|
||||||
content:'领导力',
|
content: "领导力",
|
||||||
teacher:'BOE教师',
|
teacher: "BOE教师",
|
||||||
creator:'管理员',
|
creator: "管理员",
|
||||||
time:'2022-10-31 23:12:00',
|
time: "2022-10-31 23:12:00",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "7",
|
key: "7",
|
||||||
num: 'JDF2022071100001',
|
num: "JDF2022071100001",
|
||||||
name:'时间管理课程',
|
name: "时间管理课程",
|
||||||
content:'领导力',
|
content: "领导力",
|
||||||
teacher:'BOE教师',
|
teacher: "BOE教师",
|
||||||
creator:'管理员',
|
creator: "管理员",
|
||||||
time:'2022-10-31 23:12:00',
|
time: "2022-10-31 23:12:00",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "8",
|
key: "8",
|
||||||
num: 'JDF2022071100001',
|
num: "JDF2022071100001",
|
||||||
name:'时间管理课程',
|
name: "时间管理课程",
|
||||||
content:'领导力',
|
content: "领导力",
|
||||||
teacher:'BOE教师',
|
teacher: "BOE教师",
|
||||||
creator:'管理员',
|
creator: "管理员",
|
||||||
time:'2022-10-31 23:12:00',
|
time: "2022-10-31 23:12:00",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "9",
|
key: "9",
|
||||||
num: 'JDF2022071100001',
|
num: "JDF2022071100001",
|
||||||
name:'时间管理课程',
|
name: "时间管理课程",
|
||||||
content:'领导力',
|
content: "领导力",
|
||||||
teacher:'BOE教师',
|
teacher: "BOE教师",
|
||||||
creator:'管理员',
|
creator: "管理员",
|
||||||
time:'2022-10-31 23:12:00',
|
time: "2022-10-31 23:12:00",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
@@ -374,7 +385,7 @@ import { reactive, toRefs, ref } from "vue";
|
|||||||
background-image: url("@/assets/images/courseManage/search1.png");
|
background-image: url("@/assets/images/courseManage/search1.png");
|
||||||
}
|
}
|
||||||
.btnText {
|
.btnText {
|
||||||
color: #388BE1;
|
color: #388be1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.btn2:hover {
|
.btn2:hover {
|
||||||
@@ -394,7 +405,7 @@ import { reactive, toRefs, ref } from "vue";
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 32px;
|
margin-bottom: 32px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
background-color: #E9F6FE;
|
background-color: #e9f6fe;
|
||||||
.mntc_left {
|
.mntc_left {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -2,8 +2,7 @@
|
|||||||
<a-drawer
|
<a-drawer
|
||||||
:visible="addvoteVisible"
|
:visible="addvoteVisible"
|
||||||
class="drawerStyle"
|
class="drawerStyle"
|
||||||
style="color: red"
|
width="70%"
|
||||||
width="80%"
|
|
||||||
title="添加投票"
|
title="添加投票"
|
||||||
placement="right"
|
placement="right"
|
||||||
@after-visible-change="afterVisibleChange"
|
@after-visible-change="afterVisibleChange"
|
||||||
|
|||||||
@@ -2767,6 +2767,7 @@ export default defineComponent({
|
|||||||
// color: #4EA6FF !important;
|
// color: #4EA6FF !important;
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
.courseManage {
|
.courseManage {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|||||||
@@ -119,11 +119,25 @@
|
|||||||
width="764px"
|
width="764px"
|
||||||
height="356px"
|
height="356px"
|
||||||
>
|
>
|
||||||
<div class="modalHeader"
|
<div
|
||||||
style="width: 100%;height: 68px;display: flex;align-items: center;justify-content: space-between;background:linear-gradient(0deg,rgba(78, 166, 255, 0) 0%,rgba(78, 166, 255, 0.2000) 100%)"
|
class="modalHeader"
|
||||||
|
style="
|
||||||
|
width: 100%;
|
||||||
|
height: 68px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
background: linear-gradient(
|
||||||
|
0deg,
|
||||||
|
rgba(78, 166, 255, 0) 0%,
|
||||||
|
rgba(78, 166, 255, 0.2) 100%
|
||||||
|
);
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<div class="headerLeft" style="margin-left: 32px">
|
<div class="headerLeft" style="margin-left: 32px">
|
||||||
<span class="headerLeftText" style="font-size: 16px">请选择项目类别</span>
|
<span class="headerLeftText" style="font-size: 16px"
|
||||||
|
>请选择项目类别</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div style="cursor: pointer; margin-right: 32px" @click="closeModal">
|
<div style="cursor: pointer; margin-right: 32px" @click="closeModal">
|
||||||
<img
|
<img
|
||||||
@@ -133,17 +147,46 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modalMain">
|
<div class="modalMain">
|
||||||
<router-link to="/sonproject" class="taskbox" style="margin-right: 24px;background:linear-gradient(180deg,rgba(221, 234, 255, 1) 100%,rgba(240, 248, 254, 1) 100%);">
|
<router-link
|
||||||
<div class="leftt"><img src="../../assets/images/taskpage/left2.png"/></div>
|
to="/sonproject"
|
||||||
<div class="photo"><img src="../../assets/images/taskpage/picture4.png"/></div>
|
class="taskbox"
|
||||||
<div class="rightt"><img src="../../assets/images/taskpage/right2.png"/></div>
|
style="
|
||||||
<div class="centerbox" style="color: rgba(78, 166, 255, 1)">单层子项目</div>
|
margin-right: 24px;
|
||||||
|
background: linear-gradient(180deg, #ddeaff 0%, #f0f8fe 100%);
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<div class="leftt">
|
||||||
|
<img src="../../assets/images/taskpage/left2.png" />
|
||||||
|
</div>
|
||||||
|
<div class="photo">
|
||||||
|
<img src="../../assets/images/taskpage/picture4.png" />
|
||||||
|
</div>
|
||||||
|
<div class="rightt">
|
||||||
|
<img src="../../assets/images/taskpage/right2.png" />
|
||||||
|
</div>
|
||||||
|
<div class="centerbox" style="color: rgba(78, 166, 255, 1)">
|
||||||
|
单层子项目
|
||||||
|
</div>
|
||||||
</router-link>
|
</router-link>
|
||||||
<div class="taskbox" @click="showModal3" style="background:linear-gradient(180deg,rgba(254, 243, 221, 1) 100%,rgba(255, 250, 240, 1) 100%);">
|
<div
|
||||||
<div class="leftt"><img src="../../assets/images/taskpage/left1.png"/></div>
|
class="taskbox"
|
||||||
<div class="photo"><img src="../../assets/images/taskpage/picture5.png"/></div>
|
@click="showModal3"
|
||||||
<div class="rightt"><img src="../../assets/images/taskpage/right1.png"/></div>
|
style="
|
||||||
<div class="centerbox" style="color: rgba(255, 182, 78, 1)">多层子项目</div>
|
background: linear-gradient(180deg, #fef3dd 0%, #fffaf0 100%);
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<div class="leftt">
|
||||||
|
<img src="../../assets/images/taskpage/left1.png" />
|
||||||
|
</div>
|
||||||
|
<div class="photo">
|
||||||
|
<img src="../../assets/images/taskpage/picture5.png" />
|
||||||
|
</div>
|
||||||
|
<div class="rightt">
|
||||||
|
<img src="../../assets/images/taskpage/right1.png" />
|
||||||
|
</div>
|
||||||
|
<div class="centerbox" style="color: rgba(255, 182, 78, 1)">
|
||||||
|
多层子项目
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
@@ -162,13 +205,30 @@
|
|||||||
width="638px"
|
width="638px"
|
||||||
height="468px"
|
height="468px"
|
||||||
>
|
>
|
||||||
<div class="modalHeader"
|
<div
|
||||||
style="width: 100%;height: 68px;display: flex;align-items: center;justify-content: space-between;background:linear-gradient(0deg,rgba(78, 166, 255, 0) 0%,rgba(78, 166, 255, 0.2000) 100%)"
|
class="modalHeader"
|
||||||
|
style="
|
||||||
|
width: 100%;
|
||||||
|
height: 68px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
background: linear-gradient(
|
||||||
|
0deg,
|
||||||
|
rgba(78, 166, 255, 0) 0%,
|
||||||
|
rgba(78, 166, 255, 0.2) 100%
|
||||||
|
);
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<div class="headerLeft" style="margin-left: 32px">
|
<div class="headerLeft" style="margin-left: 32px">
|
||||||
<span class="headerLeftText" style="font-size: 16px">添加阶段</span>
|
<span class="headerLeftText" style="font-size: 16px"
|
||||||
|
>请选择项目类别</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div style="cursor: pointer;margin-right:32px" @click="closeModal1">
|
<div
|
||||||
|
style="cursor: pointer; margin-right: 32px"
|
||||||
|
@click="closeModal1"
|
||||||
|
>
|
||||||
<img
|
<img
|
||||||
style="width: 22px; height: 22px"
|
style="width: 22px; height: 22px"
|
||||||
src="../../assets/images/basicinfo/close22.png"
|
src="../../assets/images/basicinfo/close22.png"
|
||||||
@@ -177,20 +237,52 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modalMain">
|
<div class="modalMain">
|
||||||
<router-link to="/projectadd">
|
<router-link to="/projectadd">
|
||||||
<div class="taskbox" style="background:linear-gradient(180deg,rgba(221, 234, 255, 1) 100%,rgba(240, 248, 254, 1) 100%);">
|
<div
|
||||||
<div class="leftt"><img src="../../assets/images/taskpage/left2.png"/></div>
|
class="taskbox"
|
||||||
<div class="photo"><img src="../../assets/images/taskpage/picture6.png"/></div>
|
style="
|
||||||
<div class="rightt"><img src="../../assets/images/taskpage/right2.png"/></div>
|
background: linear-gradient(180deg, #ddeaff 0%, #f0f8fe 100%);
|
||||||
<div class="centerbox" style="color: rgba(78, 166, 255, 1)">单层项目</div>
|
"
|
||||||
<div class="centermain">不包含子项目,直接填写项目基础信息后创建任务</div>
|
>
|
||||||
|
<div class="leftt">
|
||||||
|
<img src="../../assets/images/taskpage/left2.png" />
|
||||||
|
</div>
|
||||||
|
<div class="photo">
|
||||||
|
<img src="../../assets/images/taskpage/picture6.png" />
|
||||||
|
</div>
|
||||||
|
<div class="rightt">
|
||||||
|
<img src="../../assets/images/taskpage/right2.png" />
|
||||||
|
</div>
|
||||||
|
<div class="centerbox" style="color: rgba(78, 166, 255, 1)">
|
||||||
|
单层项目
|
||||||
|
</div>
|
||||||
|
<div class="centermain">
|
||||||
|
不包含子项目,直接填写项目基础信息后创建任务
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</router-link>
|
</router-link>
|
||||||
<div class="taskbox" @click="showModal2" style="margin-bottom: 40px;background:linear-gradient(180deg,rgba(229, 246, 236, 1) 100%,rgba(238, 249, 243, 1) 100%);">
|
<div
|
||||||
<div class="leftt"><img src="../../assets/images/taskpage/left3.png"/></div>
|
class="taskbox"
|
||||||
<div class="photo"><img src="../../assets/images/taskpage/picture7.png"/></div>
|
@click="showModal2"
|
||||||
<div class="rightt"><img src="../../assets/images/taskpage/right3.png"/></div>
|
style="
|
||||||
<div class="centerbox1" style="color: rgba(93, 201, 136, 1)">多层项目</div>
|
margin-bottom: 40px;
|
||||||
<div class="centermain1">包含子项目,分为多层子项目和单层子项目,多层子项目可创建班级,通过班级填写基础信息并创建任务</div>
|
background: linear-gradient(180deg, #e5f6ec 0%, #eef9f3 100%);
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<div class="leftt">
|
||||||
|
<img src="../../assets/images/taskpage/left3.png" />
|
||||||
|
</div>
|
||||||
|
<div class="photo">
|
||||||
|
<img src="../../assets/images/taskpage/picture7.png" />
|
||||||
|
</div>
|
||||||
|
<div class="rightt">
|
||||||
|
<img src="../../assets/images/taskpage/right3.png" />
|
||||||
|
</div>
|
||||||
|
<div class="centerbox1" style="color: rgba(93, 201, 136, 1)">
|
||||||
|
多层项目
|
||||||
|
</div>
|
||||||
|
<div class="centermain1">
|
||||||
|
包含子项目,分为多层子项目和单层子项目,多层子项目可创建班级,通过班级填写基础信息并创建任务
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
@@ -209,11 +301,25 @@
|
|||||||
width="624px"
|
width="624px"
|
||||||
height="476px"
|
height="476px"
|
||||||
>
|
>
|
||||||
<div class="modalHeader"
|
<div
|
||||||
style="width: 100%;height: 68px;display: flex;align-items: center;justify-content: space-between;background:linear-gradient(0deg,rgba(78, 166, 255, 0) 0%,rgba(78, 166, 255, 0.2000) 100%)"
|
class="modalHeader"
|
||||||
|
style="
|
||||||
|
width: 100%;
|
||||||
|
height: 68px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
background: linear-gradient(
|
||||||
|
0deg,
|
||||||
|
rgba(78, 166, 255, 0) 0%,
|
||||||
|
rgba(78, 166, 255, 0.2) 100%
|
||||||
|
);
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<div class="headerLeft" style="margin-left: 32px">
|
<div class="headerLeft" style="margin-left: 32px">
|
||||||
<span class="headerLeftText" style="font-size: 16px">创建多层项目</span>
|
<span class="headerLeftText" style="font-size: 16px"
|
||||||
|
>创建多层项目</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div style="cursor: pointer; margin-right: 32px" @click="closeModal2">
|
<div style="cursor: pointer; margin-right: 32px" @click="closeModal2">
|
||||||
<img
|
<img
|
||||||
@@ -234,7 +340,8 @@
|
|||||||
<div class="in">
|
<div class="in">
|
||||||
<a-input
|
<a-input
|
||||||
v-model:value="value"
|
v-model:value="value"
|
||||||
show-count :maxlength="30"
|
show-count
|
||||||
|
:maxlength="30"
|
||||||
placeholder="请输入项目名称"
|
placeholder="请输入项目名称"
|
||||||
style="border-radius: 8px"
|
style="border-radius: 8px"
|
||||||
/>
|
/>
|
||||||
@@ -307,11 +414,25 @@
|
|||||||
width="624px"
|
width="624px"
|
||||||
height="476px"
|
height="476px"
|
||||||
>
|
>
|
||||||
<div class="modalHeader"
|
<div
|
||||||
style="width: 100%;height: 68px;display: flex;align-items: center;justify-content: space-between;background:linear-gradient(0deg,rgba(78, 166, 255, 0) 0%,rgba(78, 166, 255, 0.2000) 100%)"
|
class="modalHeader"
|
||||||
|
style="
|
||||||
|
width: 100%;
|
||||||
|
height: 68px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
background: linear-gradient(
|
||||||
|
0deg,
|
||||||
|
rgba(78, 166, 255, 0) 0%,
|
||||||
|
rgba(78, 166, 255, 0.2) 100%
|
||||||
|
);
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<div class="headerLeft" style="margin-left: 32px">
|
<div class="headerLeft" style="margin-left: 32px">
|
||||||
<span class="headerLeftText" style="font-size: 16px">创建多层项目</span>
|
<span class="headerLeftText" style="font-size: 16px"
|
||||||
|
>创建多层子项目</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div style="cursor: pointer; margin-right: 32px" @click="closeModal3">
|
<div style="cursor: pointer; margin-right: 32px" @click="closeModal3">
|
||||||
<img
|
<img
|
||||||
@@ -323,7 +444,9 @@
|
|||||||
<div class="modalMain">
|
<div class="modalMain">
|
||||||
<div style="margin-left: 40px; margin-top: 40px">
|
<div style="margin-left: 40px; margin-top: 40px">
|
||||||
<span style="color: #000000; font-size: 14px">项目归属:</span>
|
<span style="color: #000000; font-size: 14px">项目归属:</span>
|
||||||
<span style="color:#999999;font-size: 14px; margin-left: 10px">管理者进阶</span>
|
<span style="color: #999999; font-size: 14px; margin-left: 10px"
|
||||||
|
>管理者进阶</span
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="name">
|
<div class="name">
|
||||||
<div class="star" style="margin-top: -4px">
|
<div class="star" style="margin-top: -4px">
|
||||||
@@ -739,7 +862,6 @@ export default {
|
|||||||
doublesonpro: false,
|
doublesonpro: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
// console.log("执行");
|
// console.log("执行");
|
||||||
});
|
});
|
||||||
@@ -788,10 +910,15 @@ export default {
|
|||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</div>
|
</div>
|
||||||
<span class="operation3" style="cursor: pointer"
|
<span
|
||||||
|
class="operation3"
|
||||||
|
style="cursor: pointer"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
state.sonproject = true;
|
state.sonproject = true;
|
||||||
}}>创建子项目</span>
|
}}
|
||||||
|
>
|
||||||
|
创建子项目
|
||||||
|
</span>
|
||||||
<div class="tableSelect">
|
<div class="tableSelect">
|
||||||
<a-select
|
<a-select
|
||||||
style="width: 50px"
|
style="width: 50px"
|
||||||
@@ -912,7 +1039,9 @@ export default {
|
|||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</div>
|
</div>
|
||||||
<router-link to="/classadd" class="operation3">创建班级</router-link>
|
<router-link to="/classadd" class="operation3">
|
||||||
|
创建班级
|
||||||
|
</router-link>
|
||||||
<div class="tableSelect">
|
<div class="tableSelect">
|
||||||
<a-select
|
<a-select
|
||||||
style="width: 50px"
|
style="width: 50px"
|
||||||
@@ -960,7 +1089,9 @@ export default {
|
|||||||
</a-select>
|
</a-select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<router-link to="/classadd" class="operation3">创建班级</router-link>
|
<router-link to="/classadd" class="operation3">
|
||||||
|
创建班级
|
||||||
|
</router-link>
|
||||||
<span class="more">复制</span>
|
<span class="more">复制</span>
|
||||||
</div>
|
</div>
|
||||||
) : item.state === "已结束" ? (
|
) : item.state === "已结束" ? (
|
||||||
@@ -1005,7 +1136,7 @@ export default {
|
|||||||
a.operation =
|
a.operation =
|
||||||
a.state === "草稿" ? (
|
a.state === "草稿" ? (
|
||||||
<div class="operation">
|
<div class="operation">
|
||||||
<span class="operation1"></span>
|
<span class="operation1">编辑</span>
|
||||||
<div class="tableSelect">
|
<div class="tableSelect">
|
||||||
<a-select
|
<a-select
|
||||||
style="width: 50px"
|
style="width: 50px"
|
||||||
@@ -1222,7 +1353,7 @@ export default {
|
|||||||
item.operation =
|
item.operation =
|
||||||
item.state === "草稿" ? (
|
item.state === "草稿" ? (
|
||||||
<div class="operation">
|
<div class="operation">
|
||||||
<span class="operation1"></span>
|
<span class="operation1">编辑</span>
|
||||||
<div class="tableSelect">
|
<div class="tableSelect">
|
||||||
<a-select
|
<a-select
|
||||||
style="width: 50px"
|
style="width: 50px"
|
||||||
@@ -1441,7 +1572,11 @@ export default {
|
|||||||
//单层项目
|
//单层项目
|
||||||
value.operation = (
|
value.operation = (
|
||||||
<div class="operation">
|
<div class="operation">
|
||||||
|
{value.state === "草稿" ? (
|
||||||
|
<span class="operation1">编辑</span>
|
||||||
|
) : (
|
||||||
<span class="operation1"></span>
|
<span class="operation1"></span>
|
||||||
|
)}
|
||||||
<div class="tableSelect">
|
<div class="tableSelect">
|
||||||
<a-select
|
<a-select
|
||||||
style="width: 50px"
|
style="width: 50px"
|
||||||
@@ -1565,20 +1700,16 @@ export default {
|
|||||||
|
|
||||||
const showModal = () => {
|
const showModal = () => {
|
||||||
state.sonproject = true;
|
state.sonproject = true;
|
||||||
|
|
||||||
};
|
};
|
||||||
const closeModal = () => {
|
const closeModal = () => {
|
||||||
state.sonproject = false;
|
state.sonproject = false;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const showModal1 = () => {
|
const showModal1 = () => {
|
||||||
|
|
||||||
state.estabish = true;
|
state.estabish = true;
|
||||||
};
|
};
|
||||||
const closeModal1 = () => {
|
const closeModal1 = () => {
|
||||||
state.estabish = false;
|
state.estabish = false;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const showModal2 = () => {
|
const showModal2 = () => {
|
||||||
@@ -1587,7 +1718,6 @@ export default {
|
|||||||
};
|
};
|
||||||
const closeModal2 = () => {
|
const closeModal2 = () => {
|
||||||
state.doublepro = false;
|
state.doublepro = false;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const showModal3 = () => {
|
const showModal3 = () => {
|
||||||
@@ -1596,7 +1726,6 @@ export default {
|
|||||||
};
|
};
|
||||||
const closeModal3 = () => {
|
const closeModal3 = () => {
|
||||||
state.doublesonpro = false;
|
state.doublesonpro = false;
|
||||||
|
|
||||||
};
|
};
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
@@ -1825,7 +1954,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
.pubtn {
|
.pubtn {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -1837,25 +1965,25 @@ export default {
|
|||||||
height: 40px;
|
height: 40px;
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
margin-bottom: 29px;
|
margin-bottom: 29px;
|
||||||
border: 1px solid #409EFF;
|
border: 1px solid #409eff;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
color: rgba(78, 166, 255, 1);
|
color: rgba(78, 166, 255, 1);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
//line-height: 36px;
|
//line-height: 36px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: rgba(255, 255, 255, 1)
|
background: rgba(255, 255, 255, 1);
|
||||||
}
|
}
|
||||||
.pubtn2 {
|
.pubtn2 {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
margin-bottom: 29px;
|
margin-bottom: 29px;
|
||||||
border: 1px solid #409EFF;
|
border: 1px solid #409eff;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
color: #FFFFFF;
|
color: #ffffff;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
//line-height: 36px;
|
//line-height: 36px;
|
||||||
background: #409EFF;
|
background: #409eff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1907,7 +2035,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
.pubtn {
|
.pubtn {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -1919,25 +2046,25 @@ export default {
|
|||||||
height: 40px;
|
height: 40px;
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
margin-bottom: 29px;
|
margin-bottom: 29px;
|
||||||
border: 1px solid #409EFF;
|
border: 1px solid #409eff;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
color: rgba(78, 166, 255, 1);
|
color: rgba(78, 166, 255, 1);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
//line-height: 36px;
|
//line-height: 36px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: rgba(255, 255, 255, 1)
|
background: rgba(255, 255, 255, 1);
|
||||||
}
|
}
|
||||||
.pubtn2 {
|
.pubtn2 {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
margin-bottom: 29px;
|
margin-bottom: 29px;
|
||||||
border: 1px solid #409EFF;
|
border: 1px solid #409eff;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
color: #FFFFFF;
|
color: #ffffff;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
//line-height: 36px;
|
//line-height: 36px;
|
||||||
background: #409EFF;
|
background: #409eff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,12 @@
|
|||||||
<div class="allCon">
|
<div class="allCon">
|
||||||
<div class="left clearfix">
|
<div class="left clearfix">
|
||||||
<div class="leftmain">
|
<div class="leftmain">
|
||||||
<div class="tit">阶段<img src="../../assets/images/projectadd/right.png" style="margin-left: 10px"/></div>
|
<div class="tit">
|
||||||
|
阶段<img
|
||||||
|
src="../../assets/images/projectadd/right.png"
|
||||||
|
style="margin-left: 10px"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<div class="btn btn3" @click="showModal" style="margin-left: 19px">
|
<div class="btn btn3" @click="showModal" style="margin-left: 19px">
|
||||||
<div class="search"></div>
|
<div class="search"></div>
|
||||||
<div class="btnText">添加阶段</div>
|
<div class="btnText">添加阶段</div>
|
||||||
@@ -29,7 +34,10 @@
|
|||||||
<div class="filt">
|
<div class="filt">
|
||||||
<div class="le">
|
<div class="le">
|
||||||
<div class="leftimg">
|
<div class="leftimg">
|
||||||
<img class="img" src="../../assets/images/projectadd/picture.png" />
|
<img
|
||||||
|
class="img"
|
||||||
|
src="../../assets/images/projectadd/picture.png"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="imgfor">
|
<div class="imgfor">
|
||||||
<div class="forz" style="font-weight: 700">管理者进阶-腾飞班</div>
|
<div class="forz" style="font-weight: 700">管理者进阶-腾飞班</div>
|
||||||
@@ -183,9 +191,12 @@
|
|||||||
<div class="boomcen">
|
<div class="boomcen">
|
||||||
<div class="onerow">
|
<div class="onerow">
|
||||||
<div class="taskmain">任务列表</div>
|
<div class="taskmain">任务列表</div>
|
||||||
<button class="btn">移动到任务阶段</button>
|
<button class="btn">移动任务到阶段</button>
|
||||||
<div class="edit">
|
<div class="edit">
|
||||||
<img class="editimg" src="../../assets/images/projectadd/delete.png"/>
|
<img
|
||||||
|
class="editimg"
|
||||||
|
src="../../assets/images/projectadd/delete.png"
|
||||||
|
/>
|
||||||
<span class="editext">批量删除</span>
|
<span class="editext">批量删除</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -249,8 +260,20 @@
|
|||||||
width="624px"
|
width="624px"
|
||||||
height="388px"
|
height="388px"
|
||||||
>
|
>
|
||||||
<div class="modalHeader"
|
<div
|
||||||
style="width: 100%;height: 68px;display: flex;align-items: center;justify-content: space-between;background:linear-gradient(0deg,rgba(78, 166, 255, 0) 0%,rgba(78, 166, 255, 0.2000) 100%)"
|
class="modalHeader"
|
||||||
|
style="
|
||||||
|
width: 100%;
|
||||||
|
height: 68px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
background: linear-gradient(
|
||||||
|
0deg,
|
||||||
|
rgba(78, 166, 255, 0) 0%,
|
||||||
|
rgba(78, 166, 255, 0.2) 100%
|
||||||
|
);
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<div class="headerLeft" style="margin-left: 32px">
|
<div class="headerLeft" style="margin-left: 32px">
|
||||||
<span class="headerLeftText" style="font-size: 16px">添加阶段</span>
|
<span class="headerLeftText" style="font-size: 16px">添加阶段</span>
|
||||||
@@ -262,15 +285,18 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modalMain"
|
<div class="modalMain" style="width: 100%">
|
||||||
style="width: 100%;"
|
|
||||||
>
|
|
||||||
<div class="name">
|
<div class="name">
|
||||||
<div class="namebox">
|
<div class="namebox">
|
||||||
<div class="inname">阶段名称:</div>
|
<div class="inname">阶段名称:</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="in">
|
<div class="in">
|
||||||
<a-input v-model:value="valueE" show-count :maxlength="20" placeholder="请输入阶段名称" />
|
<a-input
|
||||||
|
v-model:value="valueE"
|
||||||
|
show-count
|
||||||
|
:maxlength="20"
|
||||||
|
placeholder="请输入阶段名称"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="name" style="display: flex; align-items: flex-start">
|
<div class="name" style="display: flex; align-items: flex-start">
|
||||||
@@ -278,16 +304,53 @@
|
|||||||
<div class="inname">阶段说明:</div>
|
<div class="inname">阶段说明:</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="intext" style="margin-left: 14px">
|
<div class="intext" style="margin-left: 14px">
|
||||||
<a-textarea v-model:value="value" style="height: 88px" show-count :maxlength="100" placeholder="请输入阶段说明" />
|
<a-textarea
|
||||||
|
v-model:value="value"
|
||||||
|
style="height: 88px"
|
||||||
|
show-count
|
||||||
|
:maxlength="100"
|
||||||
|
placeholder="请输入阶段说明"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex;width: 100%;justify-content: center;margin-top: 40px">
|
<div
|
||||||
<button @click="closeModal"
|
style="
|
||||||
style=" cursor: pointer;height: 40px;width: 100px;border: 1px solid #409EFF;border-radius: 4px;color: #409EFF;background-color: #FFFFFF"
|
display: flex;
|
||||||
>取消</button>
|
width: 100%;
|
||||||
<button @click="closeModal"
|
justify-content: center;
|
||||||
style=" cursor: pointer;margin-left: 16px;margin-bottom: 40px;height: 40px;width: 100px;border: 1px solid #409EFF;border-radius: 4px;color: #FFFFFF;background-color: #409EFF"
|
margin-top: 40px;
|
||||||
>确定</button>
|
"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
@click="closeModal"
|
||||||
|
style="
|
||||||
|
cursor: pointer;
|
||||||
|
height: 40px;
|
||||||
|
width: 100px;
|
||||||
|
border: 1px solid #409eff;
|
||||||
|
border-radius: 4px;
|
||||||
|
color: #409eff;
|
||||||
|
background-color: #ffffff;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
取消
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
@click="closeModal"
|
||||||
|
style="
|
||||||
|
cursor: pointer;
|
||||||
|
margin-left: 16px;
|
||||||
|
margin-bottom: 40px;
|
||||||
|
height: 40px;
|
||||||
|
width: 100px;
|
||||||
|
border: 1px solid #409eff;
|
||||||
|
border-radius: 4px;
|
||||||
|
color: #ffffff;
|
||||||
|
background-color: #409eff;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
确定
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
@@ -299,7 +362,7 @@
|
|||||||
import { reactive, toRefs, onMounted, onUnmounted } from "vue";
|
import { reactive, toRefs, onMounted, onUnmounted } from "vue";
|
||||||
import AddOnline from "../../components/drawers/AddOnline.vue";
|
import AddOnline from "../../components/drawers/AddOnline.vue";
|
||||||
import EditOnline from "../../components/drawers/EditOnline.vue";
|
import EditOnline from "../../components/drawers/EditOnline.vue";
|
||||||
import AddFaceteach from "../../components/drawers/AddFaceteach.vue"
|
import AddFaceteach from "../../components/drawers/AddFaceteach.vue";
|
||||||
const drawercolumns = [
|
const drawercolumns = [
|
||||||
{
|
{
|
||||||
title: "项目名称",
|
title: "项目名称",
|
||||||
@@ -571,14 +634,7 @@ export default {
|
|||||||
time: "2022-07-20 14:00:03",
|
time: "2022-07-20 14:00:03",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 6,
|
key: "1-1-1",
|
||||||
projectName: "管理者进阶-腾飞班K1",
|
|
||||||
manager: "黄华 刘俊",
|
|
||||||
creater: "毛继禹",
|
|
||||||
time: "2022-07-20 14:00:03",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 7,
|
|
||||||
projectName: "管理者进阶-腾飞班K1",
|
projectName: "管理者进阶-腾飞班K1",
|
||||||
manager: "黄华 刘俊",
|
manager: "黄华 刘俊",
|
||||||
creater: "毛继禹",
|
creater: "毛继禹",
|
||||||
@@ -616,10 +672,15 @@ export default {
|
|||||||
scopedSlots: { customRender: "action" },
|
scopedSlots: { customRender: "action" },
|
||||||
customRender: (text) => {
|
customRender: (text) => {
|
||||||
// console.log(text.record.checked1);
|
// console.log(text.record.checked1);
|
||||||
return (<div class="racona">
|
return (
|
||||||
<div class="img" style={{ cursor: "pointer" }} onClick={() => {
|
<div class="racona">
|
||||||
|
<div
|
||||||
|
class="img"
|
||||||
|
style={{ cursor: "pointer" }}
|
||||||
|
onClick={() => {
|
||||||
console.log("点击了");
|
console.log("点击了");
|
||||||
}}></div>
|
}}
|
||||||
|
></div>
|
||||||
<span> {text.record.lei}</span>
|
<span> {text.record.lei}</span>
|
||||||
|
|
||||||
{/**
|
{/**
|
||||||
@@ -628,7 +689,8 @@ export default {
|
|||||||
{text.record.lei}
|
{text.record.lei}
|
||||||
</a-checkbox>
|
</a-checkbox>
|
||||||
*/}
|
*/}
|
||||||
</div>);
|
</div>
|
||||||
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -650,20 +712,33 @@ export default {
|
|||||||
scopedSlots: { customRender: "action" },
|
scopedSlots: { customRender: "action" },
|
||||||
customRender: (text) => {
|
customRender: (text) => {
|
||||||
// console.log(text.record.checked1);
|
// console.log(text.record.checked1);
|
||||||
return (<div class="opat">
|
return (
|
||||||
|
<div class="opat">
|
||||||
<div class="opacationt clearfix">
|
<div class="opacationt clearfix">
|
||||||
<a-switch style="margin-left:-50px;margin-top:3px" checked={text.record.checked1} size="small" active-color="red" onClick={() => {
|
<a-switch
|
||||||
|
style="margin-left:-50px;margin-top:3px"
|
||||||
|
checked={text.record.checked1}
|
||||||
|
size="small"
|
||||||
|
active-color="red"
|
||||||
|
onClick={() => {
|
||||||
console.log("点击了");
|
console.log("点击了");
|
||||||
text.record.checked1 = !text.record.checked1;
|
text.record.checked1 = !text.record.checked1;
|
||||||
}}/>
|
}}
|
||||||
|
/>
|
||||||
<div class="showt clearfix">
|
<div class="showt clearfix">
|
||||||
<div class="bi" style={text.record.checked1 ? "z-index:999" : "z-index:998"}>
|
<div
|
||||||
|
class="bi"
|
||||||
|
style={
|
||||||
|
text.record.checked1 ? "z-index:999" : "z-index:998"
|
||||||
|
}
|
||||||
|
>
|
||||||
必修
|
必修
|
||||||
</div>
|
</div>
|
||||||
<div class="xuan">选修</div>
|
<div class="xuan">选修</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>);
|
</div>
|
||||||
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -683,7 +758,8 @@ export default {
|
|||||||
align: "center",
|
align: "center",
|
||||||
scopedSlots: { customRender: "action" },
|
scopedSlots: { customRender: "action" },
|
||||||
customRender: () => {
|
customRender: () => {
|
||||||
return (<div class="opa">
|
return (
|
||||||
|
<div class="opa">
|
||||||
<div class="opacation">
|
<div class="opacation">
|
||||||
<span
|
<span
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -695,7 +771,8 @@ export default {
|
|||||||
</span>
|
</span>
|
||||||
<span style="color:#4EA6FF;cursor:pointer">删除</span>
|
<span style="color:#4EA6FF;cursor:pointer">删除</span>
|
||||||
</div>
|
</div>
|
||||||
</div>);
|
</div>
|
||||||
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
@@ -731,7 +808,6 @@ export default {
|
|||||||
});
|
});
|
||||||
const showDrawerOnline = () => {
|
const showDrawerOnline = () => {
|
||||||
state.visible = true;
|
state.visible = true;
|
||||||
|
|
||||||
};
|
};
|
||||||
const showDrawerFaceteach = () => {
|
const showDrawerFaceteach = () => {
|
||||||
state.visible3 = true;
|
state.visible3 = true;
|
||||||
@@ -756,7 +832,6 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|
||||||
.ant-input {
|
.ant-input {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
// height: 120%;
|
// height: 120%;
|
||||||
@@ -768,7 +843,6 @@ export default {
|
|||||||
.ant-modal-body {
|
.ant-modal-body {
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
.modalMain {
|
.modalMain {
|
||||||
|
|
||||||
.ant-input-textarea-show-count {
|
.ant-input-textarea-show-count {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 88px;
|
height: 88px;
|
||||||
@@ -1142,7 +1216,7 @@ export default {
|
|||||||
margin-right: 18px;
|
margin-right: 18px;
|
||||||
}
|
}
|
||||||
.pub {
|
.pub {
|
||||||
color: #57C887;
|
color: #57c887;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
margin-right: 30px;
|
margin-right: 30px;
|
||||||
@@ -1286,22 +1360,22 @@ export default {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 130px;
|
right: 130px;
|
||||||
background-color: #409EFF;
|
background-color: #409eff;
|
||||||
width: 130px;
|
width: 130px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
border: 1px solid #409EFF;
|
border: 1px solid #409eff;
|
||||||
color: #FFFFFF;
|
color: #ffffff;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.edit {
|
.edit {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
color: #409EFF;
|
color: #409eff;
|
||||||
width: 120px;
|
width: 120px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
border: 1px solid #409EFF;
|
border: 1px solid #409eff;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
.editimg {
|
.editimg {
|
||||||
width: 15px;
|
width: 15px;
|
||||||
@@ -1315,8 +1389,8 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.edit:hover {
|
.edit:hover {
|
||||||
color: #FFFFFF;
|
color: #ffffff;
|
||||||
background-color: #409EFF;
|
background-color: #409eff;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
.editimg {
|
.editimg {
|
||||||
background-image: url("../../assets/images/projectadd/delete1.png");
|
background-image: url("../../assets/images/projectadd/delete1.png");
|
||||||
|
|||||||
@@ -3,7 +3,12 @@
|
|||||||
<div class="researchadd">
|
<div class="researchadd">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<span class="title">创建调研</span>
|
<span class="title">创建调研</span>
|
||||||
<router-link to="/researchmanage" class="goback"><span class="return"></span><router-link class="returntext" to="/researchmanage">返回</router-link></router-link>
|
<router-link to="/researchmanage" class="goback"
|
||||||
|
><span class="return"></span
|
||||||
|
><router-link class="returntext" to="/researchmanage"
|
||||||
|
>返回</router-link
|
||||||
|
></router-link
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="name">
|
<div class="name">
|
||||||
@@ -11,9 +16,28 @@
|
|||||||
<div class="inname">类型</div>
|
<div class="inname">类型</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="in">
|
<div class="in">
|
||||||
<input type="radio" name="type" id="single" checked="checked"/><label for="single" class="text" style="margin-left: 5px">单选</label>
|
<input type="radio" name="type" id="single" checked="checked" /><label
|
||||||
<input type="radio" name="type" id="double" style="margin-left: 10px"/><label for="double" class="text" style="margin-left: 5px">多选</label>
|
for="single"
|
||||||
<input type="radio" name="type" id="score" style="margin-left: 10px"/><label for="score" class="text" style="margin-left: 5px">评分题</label>
|
class="text"
|
||||||
|
style="margin-left: 5px"
|
||||||
|
>单选</label
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
type="radio"
|
||||||
|
name="type"
|
||||||
|
id="double"
|
||||||
|
style="margin-left: 10px"
|
||||||
|
/><label for="double" class="text" style="margin-left: 5px"
|
||||||
|
>多选</label
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
type="radio"
|
||||||
|
name="type"
|
||||||
|
id="score"
|
||||||
|
style="margin-left: 10px"
|
||||||
|
/><label for="score" class="text" style="margin-left: 5px"
|
||||||
|
>评分题</label
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="name">
|
<div class="name">
|
||||||
@@ -25,12 +49,27 @@
|
|||||||
<div class="inname">提干</div>
|
<div class="inname">提干</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="in">
|
<div class="in">
|
||||||
<a-input v-model:value="valueE" placeholder="请输入项目名称" show-count :maxlength="20" style="border-radius: 8px"/>
|
<a-input
|
||||||
|
v-model:value="valueE"
|
||||||
|
placeholder="请输入项目名称"
|
||||||
|
show-count
|
||||||
|
:maxlength="20"
|
||||||
|
style="border-radius: 8px"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="name">
|
<div class="name">
|
||||||
<div class="in" style="margin-left: 133px">
|
<div class="in" style="margin-left: 133px">
|
||||||
<a-button type="primary" style="width: 100px;height: 40px;border-radius: 8px;background-color: #409EFF">添加选项</a-button>
|
<a-button
|
||||||
|
type="primary"
|
||||||
|
style="
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 8px;
|
||||||
|
background-color: #409eff;
|
||||||
|
"
|
||||||
|
>添加选项</a-button
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="options">
|
<div class="options">
|
||||||
@@ -39,7 +78,12 @@
|
|||||||
<div class="inname">选项1</div>
|
<div class="inname">选项1</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="in">
|
<div class="in">
|
||||||
<a-input v-model:value="valueE" show-count :maxlength="20" style="border-radius: 8px" />
|
<a-input
|
||||||
|
v-model:value="valueE"
|
||||||
|
show-count
|
||||||
|
:maxlength="20"
|
||||||
|
style="border-radius: 8px"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="delete">删除</div>
|
<div class="delete">删除</div>
|
||||||
@@ -55,16 +99,31 @@
|
|||||||
<div class="inname">选项1</div>
|
<div class="inname">选项1</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="in">
|
<div class="in">
|
||||||
<a-input v-model:value="valueE" show-count :maxlength="20" style="border-radius: 8px"/>
|
<a-input
|
||||||
|
v-model:value="valueE"
|
||||||
|
show-count
|
||||||
|
:maxlength="20"
|
||||||
|
style="border-radius: 8px"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="delete">删除</div>
|
<div class="delete">删除</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="picture" style="position: relative">
|
<div class="picture" style="position: relative">
|
||||||
<img class="pictureimg" src="../../assets/images/research/picture.png"/>
|
<img
|
||||||
|
class="pictureimg"
|
||||||
|
src="../../assets/images/research/picture.png"
|
||||||
|
/>
|
||||||
<div class="picturename">图片名称1.jpg</div>
|
<div class="picturename">图片名称1.jpg</div>
|
||||||
<img
|
<img
|
||||||
style="cursor: pointer; width: 20px; height: 20px;position: absolute;right: 0;top:0"
|
style="
|
||||||
|
cursor: pointer;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
"
|
||||||
src="../../assets/images/basicinfo/close.png"
|
src="../../assets/images/basicinfo/close.png"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -77,21 +136,38 @@
|
|||||||
<div class="namebox">
|
<div class="namebox">
|
||||||
<div class="inname">最低分</div>
|
<div class="inname">最低分</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="in">
|
<div class="in numberInp">
|
||||||
<a-input v-model:value="valueE" />
|
<a-input-number
|
||||||
|
:value="minScore"
|
||||||
|
:min="1"
|
||||||
|
:max="10"
|
||||||
|
@change="minChange"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="namebox" style="margin-left: -50px">
|
<div class="namebox" style="margin-left: -180px">
|
||||||
<div class="inname">最高分</div>
|
<div class="inname">最高分</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="in">
|
<div class="in numberInp">
|
||||||
<a-input v-model:value="valueE" />
|
<a-input-number
|
||||||
|
:value="maxScore"
|
||||||
|
:min="1"
|
||||||
|
:max="10"
|
||||||
|
@change="maxChange"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="scorebox">
|
<div class="scorebox">
|
||||||
<div class="scoretext">非常满意</div>
|
<div class="scoretext">非常满意</div>
|
||||||
<div class="number">
|
<div class="number">
|
||||||
<a-button class="btn" style="margin-left:10px">1</a-button>
|
<div
|
||||||
<a-button class="btn">2</a-button>
|
class="btn"
|
||||||
|
style="margin-left: 10px"
|
||||||
|
v-for="(value, index) in scoreList"
|
||||||
|
:key="index"
|
||||||
|
>
|
||||||
|
{{ value.text }}
|
||||||
|
</div>
|
||||||
|
<!-- <a-button class="btn">2</a-button>
|
||||||
<a-button class="btn">3</a-button>
|
<a-button class="btn">3</a-button>
|
||||||
<a-button class="btn">4</a-button>
|
<a-button class="btn">4</a-button>
|
||||||
<a-button class="btn">5</a-button>
|
<a-button class="btn">5</a-button>
|
||||||
@@ -99,8 +175,7 @@
|
|||||||
<a-button class="btn">7</a-button>
|
<a-button class="btn">7</a-button>
|
||||||
<a-button class="btn">8</a-button>
|
<a-button class="btn">8</a-button>
|
||||||
<a-button class="btn">9</a-button>
|
<a-button class="btn">9</a-button>
|
||||||
<a-button class="btn" style="display: flex;align-items:center;margin-right: 10px;justify-content: center">10</a-button>
|
<a-button class="btn" style="display: flex;align-items:center;margin-right: 10px;justify-content: center">10</a-button> -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="scoretext">非常不满意</div>
|
<div class="scoretext">非常不满意</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -109,23 +184,162 @@
|
|||||||
<div class="inname" style="margin-top: 13px">备注</div>
|
<div class="inname" style="margin-top: 13px">备注</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="in">
|
<div class="in">
|
||||||
<a-textarea
|
<a-textarea v-model:value="valuei" style="height: 80px" />
|
||||||
v-model:value="valuei"
|
|
||||||
style="height: 80px"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div class="btn">
|
<div class="btn">
|
||||||
<a-button type="primary" style="width: 100px;height: 40px;border-radius: 8px;background-color: #409EFF">保存</a-button>
|
<a-button
|
||||||
<a-button type="primary" ghost style="width: 100px;height: 40px;margin-left: 14px;border-radius: 8px">取消</a-button>
|
type="primary"
|
||||||
|
style="
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 8px;
|
||||||
|
background-color: #409eff;
|
||||||
|
"
|
||||||
|
>保存</a-button
|
||||||
|
>
|
||||||
|
<a-button
|
||||||
|
type="primary"
|
||||||
|
ghost
|
||||||
|
style="
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
margin-left: 14px;
|
||||||
|
border-radius: 8px;
|
||||||
|
"
|
||||||
|
>取消</a-button
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script>
|
||||||
|
import { reactive, toRefs } from "vue";
|
||||||
|
import { message } from "ant-design-vue";
|
||||||
|
export default {
|
||||||
|
name: "ResearchAdd",
|
||||||
|
setup() {
|
||||||
|
const state = reactive({
|
||||||
|
minScore: 1,
|
||||||
|
maxScore: 10,
|
||||||
|
scoreList: [
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
text: 1,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 2,
|
||||||
|
text: 2,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 3,
|
||||||
|
text: 3,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 4,
|
||||||
|
text: 4,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 5,
|
||||||
|
text: 5,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 6,
|
||||||
|
text: 6,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 7,
|
||||||
|
text: 7,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 8,
|
||||||
|
text: 8,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 9,
|
||||||
|
text: 9,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 10,
|
||||||
|
text: 10,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
scoreListClone: [
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
text: 1,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 2,
|
||||||
|
text: 2,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 3,
|
||||||
|
text: 3,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 4,
|
||||||
|
text: 4,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 5,
|
||||||
|
text: 5,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 6,
|
||||||
|
text: 6,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 7,
|
||||||
|
text: 7,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 8,
|
||||||
|
text: 8,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 9,
|
||||||
|
text: 9,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 10,
|
||||||
|
text: 10,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
|
|
||||||
|
const minChange = (e) => {
|
||||||
|
// console.log("eee", e);
|
||||||
|
if (e > state.maxScore) return message.info("最低分不能超过最高分");
|
||||||
|
state.minScore = e;
|
||||||
|
let arr = state.scoreListClone.concat([]);
|
||||||
|
arr.map((value, index) => {
|
||||||
|
if (value.id === e) {
|
||||||
|
arr = arr.slice(index, state.maxScore);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
state.scoreList = arr;
|
||||||
|
};
|
||||||
|
const maxChange = (e) => {
|
||||||
|
if (e < state.minScore) return message.info("最高分不能低于最低分");
|
||||||
|
state.maxScore = e;
|
||||||
|
let arr = state.scoreListClone.concat([]);
|
||||||
|
arr.map((value, index) => {
|
||||||
|
if (value.id === e) {
|
||||||
|
arr = arr.slice(state.minScore - 1, index + 1);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
state.scoreList = arr;
|
||||||
|
};
|
||||||
|
return {
|
||||||
|
...toRefs(state),
|
||||||
|
minChange,
|
||||||
|
maxChange,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.researchadd {
|
.researchadd {
|
||||||
@@ -160,7 +374,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 27px;
|
top: 27px;
|
||||||
color: #4EA6FF;
|
color: #4ea6ff;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -175,21 +389,28 @@
|
|||||||
margin-left: 70px;
|
margin-left: 70px;
|
||||||
.scoretext {
|
.scoretext {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #56A3F9;
|
color: #56a3f9;
|
||||||
}
|
}
|
||||||
.number {
|
.number {
|
||||||
display: flex;
|
display: flex;
|
||||||
border: 1px solid #D7E5FD;
|
border: 1px solid #d7e5fd;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
.btn {
|
.btn {
|
||||||
border: 1px solid #56A3F9;
|
|
||||||
border-radius: 5px;
|
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
color: #56A3F9;
|
border: 1px solid #56a3f9;
|
||||||
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #56a3f9;
|
||||||
|
line-height: 24px;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -204,7 +425,7 @@
|
|||||||
height: 100px;
|
height: 100px;
|
||||||
}
|
}
|
||||||
.picturename {
|
.picturename {
|
||||||
color: #6F6F6F;
|
color: #6f6f6f;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -220,7 +441,7 @@
|
|||||||
margin-top: 32px;
|
margin-top: 32px;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
float: right;
|
float: right;
|
||||||
color: #4EA6FF;
|
color: #4ea6ff;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
.name {
|
.name {
|
||||||
@@ -275,6 +496,15 @@
|
|||||||
height: 40px;
|
height: 40px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.numberInp {
|
||||||
|
width: 200px;
|
||||||
|
.ant-input-number {
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
// .ant-input-number-input-wrap {
|
||||||
|
// width: 200px;
|
||||||
|
// }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.footer {
|
.footer {
|
||||||
@@ -289,5 +519,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@@ -23,6 +23,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<add-vote v-model:addvoteVisible="visible" />
|
<add-vote v-model:addvoteVisible="visible" />
|
||||||
</div>
|
</div>
|
||||||
|
<a-radio v-model:checked="checked" @click="changeRadio">Option A</a-radio>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -36,15 +37,19 @@ export default {
|
|||||||
setup() {
|
setup() {
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
visible: false,
|
visible: false,
|
||||||
|
checked: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
const showDrawer = () => {
|
const showDrawer = () => {
|
||||||
state.visible = true;
|
state.visible = true;
|
||||||
};
|
};
|
||||||
|
const changeRadio = () => {
|
||||||
|
state.checked = false;
|
||||||
|
};
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
showDrawer,
|
showDrawer,
|
||||||
|
changeRadio,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user