mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
feat:修改调研基础信息
This commit is contained in:
441
src/components/drawers/AddOnline.vue
Normal file
441
src/components/drawers/AddOnline.vue
Normal file
@@ -0,0 +1,441 @@
|
|||||||
|
<template>
|
||||||
|
<a-drawer
|
||||||
|
:visible="addonlineVisible"
|
||||||
|
class="drawerStyle"
|
||||||
|
width="80%"
|
||||||
|
title="添加在线"
|
||||||
|
placement="right"
|
||||||
|
@after-visible-change="afterVisibleChange"
|
||||||
|
>
|
||||||
|
<div class="drawerMain">
|
||||||
|
<div class="header">
|
||||||
|
<div class="headerTitle">添加在线</div>
|
||||||
|
<img
|
||||||
|
style="width: 29px; height: 29px; cursor: pointer"
|
||||||
|
src="../../assets/images/basicinfo/close.png"
|
||||||
|
@click="closeDrawer"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="contentMain">
|
||||||
|
<div class="main_items">
|
||||||
|
<div class="mi_ipts">
|
||||||
|
<div class="mii_ipt">
|
||||||
|
<div class="ipt_name">课程编号:</div>
|
||||||
|
<div class="fi_input">
|
||||||
|
<a-input
|
||||||
|
v-model:value="value1"
|
||||||
|
style="width: 270px; height: 40px; border-radius: 8px"
|
||||||
|
placeholder="请输入项目名称"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="mii_ipt">
|
||||||
|
<div class="ipt_name">内容分类:</div>
|
||||||
|
<div class="select">
|
||||||
|
<a-select
|
||||||
|
dropdownClassName="dropdown-style"
|
||||||
|
style="width: 200px"
|
||||||
|
placeholder="请选择"
|
||||||
|
:options="options1"
|
||||||
|
allowClear
|
||||||
|
showSearch
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="mi_btns">
|
||||||
|
<div class="btn btn1">
|
||||||
|
<div class="search"></div>
|
||||||
|
<div class="btnText">搜索</div>
|
||||||
|
</div>
|
||||||
|
<div class="btn btn2">
|
||||||
|
<div class="search"></div>
|
||||||
|
<div class="btnText">重置</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="main_notice">
|
||||||
|
<div class="mntc_left">
|
||||||
|
<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, .65)">列表选项总计:<span>14</span> 条</span>
|
||||||
|
</div>
|
||||||
|
<div class="mntc_right">
|
||||||
|
<span style="color:#387DF7; margin-right:24px;">清空</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="main_table">
|
||||||
|
<a-table class="ant-table-striped"
|
||||||
|
:row-class-name="(_record, index) => (index % 2 === 1 ? 'table-striped' : null)"
|
||||||
|
:row-selection="rowSelection"
|
||||||
|
:columns="columns1"
|
||||||
|
:data-source="tableData1"
|
||||||
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
|
:pagination="{
|
||||||
|
showSizeChanger: true,
|
||||||
|
showQuickJumper: true,
|
||||||
|
hideOnSinglePage: true,
|
||||||
|
pageSizeOptions: [],
|
||||||
|
pageSize: pageSize,
|
||||||
|
current: currentPage,
|
||||||
|
total: tableDataTotal,
|
||||||
|
onChange: (page, pageSize) => {
|
||||||
|
currentPage = page;
|
||||||
|
// console.log('page', page)
|
||||||
|
// 加翻页查找代码
|
||||||
|
// this.setState({
|
||||||
|
// currentPage: page,
|
||||||
|
// }, () => {
|
||||||
|
// this.getMilitaryDeployment()
|
||||||
|
// })
|
||||||
|
},
|
||||||
|
}"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="main_btns">
|
||||||
|
<button class="btn1">取消</button>
|
||||||
|
<button class="btn2">确定</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-drawer>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import { reactive, toRefs, ref } from "vue";
|
||||||
|
const options1 = ref([
|
||||||
|
{
|
||||||
|
value: "value1",
|
||||||
|
label: "请选择状态",
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
const columns1 = [
|
||||||
|
{
|
||||||
|
title: "课程编号",
|
||||||
|
width: '20%',
|
||||||
|
dataIndex: "num",
|
||||||
|
key: "num",
|
||||||
|
align: "center",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "名称",
|
||||||
|
width: '20%',
|
||||||
|
dataIndex: "name",
|
||||||
|
key: "name",
|
||||||
|
align: "center",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "内容分类",
|
||||||
|
width: '13%',
|
||||||
|
dataIndex: "content",
|
||||||
|
key: "content",
|
||||||
|
align: "center",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "授课教师",
|
||||||
|
width: '13%',
|
||||||
|
dataIndex: "teacher",
|
||||||
|
key: "teacher",
|
||||||
|
align: "center",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "创建人",
|
||||||
|
width: '13%',
|
||||||
|
dataIndex: "creator",
|
||||||
|
key: "creator",
|
||||||
|
align: "center",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "完成时间",
|
||||||
|
width: '20%',
|
||||||
|
dataIndex: "time",
|
||||||
|
key: "time",
|
||||||
|
align: "center",
|
||||||
|
},
|
||||||
|
]
|
||||||
|
const rowSelection = ref({
|
||||||
|
checkStrictly: false,
|
||||||
|
onChange: (selectedRowKeys, selectedRows) => {
|
||||||
|
console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);
|
||||||
|
},
|
||||||
|
onSelect: (record, selected, selectedRows) => {
|
||||||
|
console.log(record, selected, selectedRows);
|
||||||
|
},
|
||||||
|
onSelectAll: (selected, selectedRows, changeRows) => {
|
||||||
|
console.log(selected, selectedRows, changeRows);
|
||||||
|
},
|
||||||
|
});
|
||||||
|
export default {
|
||||||
|
name: "AddOnline",
|
||||||
|
props: {
|
||||||
|
addonlineVisible: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
setup(props, ctx) {
|
||||||
|
const state = reactive({
|
||||||
|
tableData1: [
|
||||||
|
{
|
||||||
|
key: "1",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'时间管理课程',
|
||||||
|
content:'通用力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "2",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'管理能力课程',
|
||||||
|
content:'领导力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "3",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'快速换模SMED',
|
||||||
|
content:'通用力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "4",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'巧妙对话人见人夸',
|
||||||
|
content:'领导力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "5",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'管理能力课程',
|
||||||
|
content:'领导力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "6",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'时间管理课程',
|
||||||
|
content:'领导力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "7",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'时间管理课程',
|
||||||
|
content:'领导力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "8",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'时间管理课程',
|
||||||
|
content:'领导力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "9",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'时间管理课程',
|
||||||
|
content:'领导力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
currentPage: 1,
|
||||||
|
tableDataTotal: 100,
|
||||||
|
pageSize: 10,
|
||||||
|
});
|
||||||
|
const closeDrawer = () => {
|
||||||
|
ctx.emit("update:addonlineVisible", false);
|
||||||
|
};
|
||||||
|
const afterVisibleChange = (bool) => {
|
||||||
|
console.log("state", bool);
|
||||||
|
};
|
||||||
|
const showDrawerOnline = () => {
|
||||||
|
state.visible = true;
|
||||||
|
};
|
||||||
|
return {
|
||||||
|
...toRefs(state),
|
||||||
|
afterVisibleChange,
|
||||||
|
showDrawerOnline,
|
||||||
|
closeDrawer,
|
||||||
|
options1,
|
||||||
|
columns1,
|
||||||
|
rowSelection,
|
||||||
|
// change,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
<style lang="scss">
|
||||||
|
.ant-table-striped :deep(.table-striped) td {
|
||||||
|
background-color: #fafafa !important;
|
||||||
|
}
|
||||||
|
.drawerStyle {
|
||||||
|
.drawerMain {
|
||||||
|
.header {
|
||||||
|
height: 73px;
|
||||||
|
border-bottom: 1px solid #e8e8e8;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
.headerTitle {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #333333;
|
||||||
|
line-height: 25px;
|
||||||
|
margin-left: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.contentMain {
|
||||||
|
.main_items{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
.mi_ipts{
|
||||||
|
display: flex;
|
||||||
|
.mii_ipt{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-right: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.mi_btns{
|
||||||
|
display: flex;
|
||||||
|
margin-left: 38px;
|
||||||
|
cursor: pointer;
|
||||||
|
.btn {
|
||||||
|
padding: 0px 26px 0px 26px;
|
||||||
|
height: 38px;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 1px solid rgba(64, 158, 255, 1);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-left: 14px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
.search {
|
||||||
|
background-size: 100%;
|
||||||
|
}
|
||||||
|
.btnText {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 36px;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn1 {
|
||||||
|
background: rgb(64, 158, 255);
|
||||||
|
.search {
|
||||||
|
width: 15px;
|
||||||
|
height: 17px;
|
||||||
|
background-image: url("@/assets/images/coursewareManage/search0.png");
|
||||||
|
}
|
||||||
|
.btnText{
|
||||||
|
color: rgb(255, 255, 255);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
background: rgb(255, 255, 255);
|
||||||
|
.search {
|
||||||
|
width: 15px;
|
||||||
|
height: 17px;
|
||||||
|
background-image: url("@/assets/images/coursewareManage/reset1.png");
|
||||||
|
}
|
||||||
|
.btnText{
|
||||||
|
color: rgb(64, 158, 255);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn1:hover {
|
||||||
|
background: rgb(255, 255, 255);
|
||||||
|
.search {
|
||||||
|
background-image: url("@/assets/images/courseManage/search1.png");
|
||||||
|
}
|
||||||
|
.btnText {
|
||||||
|
color: #388BE1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn2:hover {
|
||||||
|
background: rgba(64, 158, 255, 1);
|
||||||
|
.search {
|
||||||
|
background-image: url("@/assets/images/courseManage/reset0.png");
|
||||||
|
}
|
||||||
|
.btnText {
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.main_notice{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
height: 40px;
|
||||||
|
background-color: #E9F6FE;
|
||||||
|
.mntc_left{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
.notice_icon{
|
||||||
|
width: 14px;
|
||||||
|
height: 14px;
|
||||||
|
margin-right: 9px;
|
||||||
|
margin-left: 9px;
|
||||||
|
background-image: url(@/assets/images/coursewareManage/gan.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.mntc_right{
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.main_btns{
|
||||||
|
height: 72px;
|
||||||
|
width: 100%;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
|
||||||
|
.btn1 {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
border: 1px solid #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
color: #4ea6ff;
|
||||||
|
background-color: #fff;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
background: #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 0;
|
||||||
|
margin-left: 15px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
<a-drawer
|
<a-drawer
|
||||||
:visible="addvoteVisible"
|
:visible="addvoteVisible"
|
||||||
class="drawerStyle"
|
class="drawerStyle"
|
||||||
width="80%"
|
width="70%"
|
||||||
title="添加投票"
|
title="添加投票"
|
||||||
placement="right"
|
placement="right"
|
||||||
@after-visible-change="afterVisibleChange"
|
@after-visible-change="afterVisibleChange"
|
||||||
|
|||||||
441
src/components/drawers/EidtOnline.vue
Normal file
441
src/components/drawers/EidtOnline.vue
Normal file
@@ -0,0 +1,441 @@
|
|||||||
|
<template>
|
||||||
|
<a-drawer
|
||||||
|
:visible="editonlineVisible"
|
||||||
|
class="drawerStyle"
|
||||||
|
width="80%"
|
||||||
|
title="添加在线"
|
||||||
|
placement="right"
|
||||||
|
@after-visible-change="afterVisibleChange"
|
||||||
|
>
|
||||||
|
<div class="drawerMain">
|
||||||
|
<div class="header">
|
||||||
|
<div class="headerTitle">添加在线</div>
|
||||||
|
<img
|
||||||
|
style="width: 29px; height: 29px; cursor: pointer"
|
||||||
|
src="../../assets/images/basicinfo/close.png"
|
||||||
|
@click="closeDrawer"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="contentMain">
|
||||||
|
<div class="main_items">
|
||||||
|
<div class="mi_ipts">
|
||||||
|
<div class="mii_ipt">
|
||||||
|
<div class="ipt_name">课程编号:</div>
|
||||||
|
<div class="fi_input">
|
||||||
|
<a-input
|
||||||
|
v-model:value="value1"
|
||||||
|
style="width: 270px; height: 40px; border-radius: 8px"
|
||||||
|
placeholder="请输入项目名称"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="mii_ipt">
|
||||||
|
<div class="ipt_name">内容分类:</div>
|
||||||
|
<div class="select">
|
||||||
|
<a-select
|
||||||
|
dropdownClassName="dropdown-style"
|
||||||
|
style="width: 200px"
|
||||||
|
placeholder="请选择"
|
||||||
|
:options="options1"
|
||||||
|
allowClear
|
||||||
|
showSearch
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="mi_btns">
|
||||||
|
<div class="btn btn1">
|
||||||
|
<div class="search"></div>
|
||||||
|
<div class="btnText">搜索</div>
|
||||||
|
</div>
|
||||||
|
<div class="btn btn2">
|
||||||
|
<div class="search"></div>
|
||||||
|
<div class="btnText">重置</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="main_notice">
|
||||||
|
<div class="mntc_left">
|
||||||
|
<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, .65)">列表选项总计:<span>14</span> 条</span>
|
||||||
|
</div>
|
||||||
|
<div class="mntc_right">
|
||||||
|
<span style="color:#387DF7; margin-right:24px;">清空</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="main_table">
|
||||||
|
<a-table class="ant-table-striped"
|
||||||
|
:row-class-name="(_record, index) => (index % 2 === 1 ? 'table-striped' : null)"
|
||||||
|
:row-selection="rowSelection"
|
||||||
|
:columns="columns1"
|
||||||
|
:data-source="tableData1"
|
||||||
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
|
:pagination="{
|
||||||
|
showSizeChanger: true,
|
||||||
|
showQuickJumper: true,
|
||||||
|
hideOnSinglePage: true,
|
||||||
|
pageSizeOptions: [],
|
||||||
|
pageSize: pageSize,
|
||||||
|
current: currentPage,
|
||||||
|
total: tableDataTotal,
|
||||||
|
onChange: (page, pageSize) => {
|
||||||
|
currentPage = page;
|
||||||
|
// console.log('page', page)
|
||||||
|
// 加翻页查找代码
|
||||||
|
// this.setState({
|
||||||
|
// currentPage: page,
|
||||||
|
// }, () => {
|
||||||
|
// this.getMilitaryDeployment()
|
||||||
|
// })
|
||||||
|
},
|
||||||
|
}"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="main_btns">
|
||||||
|
<button class="btn1">取消</button>
|
||||||
|
<button class="btn2">确定</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-drawer>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import { reactive, toRefs, ref } from "vue";
|
||||||
|
const options1 = ref([
|
||||||
|
{
|
||||||
|
value: "value1",
|
||||||
|
label: "请选择状态",
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
const columns1 = [
|
||||||
|
{
|
||||||
|
title: "课程编号",
|
||||||
|
width: '20%',
|
||||||
|
dataIndex: "num",
|
||||||
|
key: "num",
|
||||||
|
align: "center",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "名称",
|
||||||
|
width: '20%',
|
||||||
|
dataIndex: "name",
|
||||||
|
key: "name",
|
||||||
|
align: "center",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "内容分类",
|
||||||
|
width: '13%',
|
||||||
|
dataIndex: "content",
|
||||||
|
key: "content",
|
||||||
|
align: "center",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "授课教师",
|
||||||
|
width: '13%',
|
||||||
|
dataIndex: "teacher",
|
||||||
|
key: "teacher",
|
||||||
|
align: "center",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "创建人",
|
||||||
|
width: '13%',
|
||||||
|
dataIndex: "creator",
|
||||||
|
key: "creator",
|
||||||
|
align: "center",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "完成时间",
|
||||||
|
width: '20%',
|
||||||
|
dataIndex: "time",
|
||||||
|
key: "time",
|
||||||
|
align: "center",
|
||||||
|
},
|
||||||
|
]
|
||||||
|
const rowSelection = ref({
|
||||||
|
checkStrictly: false,
|
||||||
|
onChange: (selectedRowKeys, selectedRows) => {
|
||||||
|
console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);
|
||||||
|
},
|
||||||
|
onSelect: (record, selected, selectedRows) => {
|
||||||
|
console.log(record, selected, selectedRows);
|
||||||
|
},
|
||||||
|
onSelectAll: (selected, selectedRows, changeRows) => {
|
||||||
|
console.log(selected, selectedRows, changeRows);
|
||||||
|
},
|
||||||
|
});
|
||||||
|
export default {
|
||||||
|
name: "EditOnline",
|
||||||
|
props: {
|
||||||
|
editonlineVisible: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
setup(props, ctx) {
|
||||||
|
const state = reactive({
|
||||||
|
tableData1: [
|
||||||
|
{
|
||||||
|
key: "1",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'时间管理课程',
|
||||||
|
content:'通用力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "2",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'管理能力课程',
|
||||||
|
content:'领导力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "3",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'快速换模SMED',
|
||||||
|
content:'通用力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "4",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'巧妙对话人见人夸',
|
||||||
|
content:'领导力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "5",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'管理能力课程',
|
||||||
|
content:'领导力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "6",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'时间管理课程',
|
||||||
|
content:'领导力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "7",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'时间管理课程',
|
||||||
|
content:'领导力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "8",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'时间管理课程',
|
||||||
|
content:'领导力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "9",
|
||||||
|
num: 'JDF2022071100001',
|
||||||
|
name:'时间管理课程',
|
||||||
|
content:'领导力',
|
||||||
|
teacher:'BOE教师',
|
||||||
|
creator:'管理员',
|
||||||
|
time:'2022-10-31 23:12:00',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
currentPage: 1,
|
||||||
|
tableDataTotal: 100,
|
||||||
|
pageSize: 10,
|
||||||
|
});
|
||||||
|
// const closeDrawer = () => {
|
||||||
|
// ctx.emit("update:addonlineVisible", false);
|
||||||
|
// };
|
||||||
|
// const afterVisibleChange = (bool) => {
|
||||||
|
// console.log("state", bool);
|
||||||
|
// };
|
||||||
|
// const showDrawerOnline = () => {
|
||||||
|
// state.visible = true;
|
||||||
|
// };
|
||||||
|
return {
|
||||||
|
...toRefs(state),
|
||||||
|
afterVisibleChange,
|
||||||
|
showDrawerOnline,
|
||||||
|
closeDrawer,
|
||||||
|
options1,
|
||||||
|
columns1,
|
||||||
|
rowSelection,
|
||||||
|
// change,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
<style lang="scss">
|
||||||
|
.ant-table-striped :deep(.table-striped) td {
|
||||||
|
background-color: #fafafa !important;
|
||||||
|
}
|
||||||
|
.drawerStyle {
|
||||||
|
.drawerMain {
|
||||||
|
.header {
|
||||||
|
height: 73px;
|
||||||
|
border-bottom: 1px solid #e8e8e8;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
.headerTitle {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #333333;
|
||||||
|
line-height: 25px;
|
||||||
|
margin-left: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.contentMain {
|
||||||
|
.main_items{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
.mi_ipts{
|
||||||
|
display: flex;
|
||||||
|
.mii_ipt{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-right: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.mi_btns{
|
||||||
|
display: flex;
|
||||||
|
margin-left: 38px;
|
||||||
|
cursor: pointer;
|
||||||
|
.btn {
|
||||||
|
padding: 0px 26px 0px 26px;
|
||||||
|
height: 38px;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 1px solid rgba(64, 158, 255, 1);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-left: 14px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
.search {
|
||||||
|
background-size: 100%;
|
||||||
|
}
|
||||||
|
.btnText {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 36px;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn1 {
|
||||||
|
background: rgb(64, 158, 255);
|
||||||
|
.search {
|
||||||
|
width: 15px;
|
||||||
|
height: 17px;
|
||||||
|
background-image: url("@/assets/images/coursewareManage/search0.png");
|
||||||
|
}
|
||||||
|
.btnText{
|
||||||
|
color: rgb(255, 255, 255);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
background: rgb(255, 255, 255);
|
||||||
|
.search {
|
||||||
|
width: 15px;
|
||||||
|
height: 17px;
|
||||||
|
background-image: url("@/assets/images/coursewareManage/reset1.png");
|
||||||
|
}
|
||||||
|
.btnText{
|
||||||
|
color: rgb(64, 158, 255);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn1:hover {
|
||||||
|
background: rgb(255, 255, 255);
|
||||||
|
.search {
|
||||||
|
background-image: url("@/assets/images/courseManage/search1.png");
|
||||||
|
}
|
||||||
|
.btnText {
|
||||||
|
color: #388BE1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn2:hover {
|
||||||
|
background: rgba(64, 158, 255, 1);
|
||||||
|
.search {
|
||||||
|
background-image: url("@/assets/images/courseManage/reset0.png");
|
||||||
|
}
|
||||||
|
.btnText {
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.main_notice{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
height: 40px;
|
||||||
|
background-color: #E9F6FE;
|
||||||
|
.mntc_left{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
.notice_icon{
|
||||||
|
width: 14px;
|
||||||
|
height: 14px;
|
||||||
|
margin-right: 9px;
|
||||||
|
margin-left: 9px;
|
||||||
|
background-image: url(@/assets/images/coursewareManage/gan.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.mntc_right{
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.main_btns{
|
||||||
|
height: 72px;
|
||||||
|
width: 100%;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
|
||||||
|
.btn1 {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
border: 1px solid #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
color: #4ea6ff;
|
||||||
|
background-color: #fff;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
background: #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 0;
|
||||||
|
margin-left: 15px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
556
src/components/drawers/FaceManage.vue
Normal file
556
src/components/drawers/FaceManage.vue
Normal file
@@ -0,0 +1,556 @@
|
|||||||
|
<template>
|
||||||
|
<a-drawer
|
||||||
|
:visible="Fvisible"
|
||||||
|
class="drawerStyle"
|
||||||
|
placement="right"
|
||||||
|
width="60%"
|
||||||
|
@after-visible-change="afterVisibleChange"
|
||||||
|
>
|
||||||
|
<div class="drawerMain">
|
||||||
|
<div class="header">
|
||||||
|
<div class="headerTitle">面授【管理】</div>
|
||||||
|
<img
|
||||||
|
style="width: 29px; height: 29px; cursor: pointer"
|
||||||
|
src="../../assets/images/basicinfo/close.png"
|
||||||
|
@click="closeDrawer"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="main">
|
||||||
|
<div class="endtime">起止时间:2022-07-21 14:00 ~ 2022-7-30 14:00</div>
|
||||||
|
<div class="search">
|
||||||
|
<div class="namecon" style="margin-right: 30px">
|
||||||
|
<div class="name">姓名:</div>
|
||||||
|
<a-input
|
||||||
|
v-model:value="name"
|
||||||
|
style="width: 270px; height: 40px; border-radius: 8px"
|
||||||
|
placeholder="请输入姓名"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="namecon" style="margin-right: 50px">
|
||||||
|
<div class="name">任务状态:</div>
|
||||||
|
<div class="select">
|
||||||
|
<a-select
|
||||||
|
v-model:value="projectName"
|
||||||
|
style="width: 270px"
|
||||||
|
placeholder="请选择"
|
||||||
|
:options="projectNameList"
|
||||||
|
@change="selectProjectName"
|
||||||
|
allowClear
|
||||||
|
showSearch
|
||||||
|
></a-select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="btns">
|
||||||
|
<div class="btn btn1" style="margin-right: 20px">
|
||||||
|
<div class="img1"></div>
|
||||||
|
<div class="wz">搜索</div>
|
||||||
|
</div>
|
||||||
|
<div class="btn btn2">
|
||||||
|
<div class="img2"></div>
|
||||||
|
<div class="wz">重置</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="btnss" style="margin-top: 20px">
|
||||||
|
<div class="btn btn1" style="margin-right: 20px">
|
||||||
|
<div class="img1"></div>
|
||||||
|
<div class="wz">催促学习</div>
|
||||||
|
</div>
|
||||||
|
<div class="btn btn2">
|
||||||
|
<div class="wz">批量标注完成</div>
|
||||||
|
</div>
|
||||||
|
<div class="btn btn2">
|
||||||
|
<div class="wz">批量录入成绩</div>
|
||||||
|
</div>
|
||||||
|
<div class="btn btn2">
|
||||||
|
<div class="img2"></div>
|
||||||
|
<div class="wz">导出数据</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="line">
|
||||||
|
<div class="inline">
|
||||||
|
<div class="left">
|
||||||
|
<div class="img"></div>
|
||||||
|
<div class="text" style="margin-left: 10px">已选择</div>
|
||||||
|
<div class="text2">2</div>
|
||||||
|
<div class="text">项</div>
|
||||||
|
<div class="text3">列表选项总计:</div>
|
||||||
|
<div class="text4">9条</div>
|
||||||
|
</div>
|
||||||
|
<div class="right">清空</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="tab" style="margin-top: 20px; margin-bottom: 100px">
|
||||||
|
<a-table
|
||||||
|
style="border: 1px solid #f2f6fe"
|
||||||
|
:columns="tablecolumns"
|
||||||
|
:data-source="tabledata"
|
||||||
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
|
expandRowByClick="true"
|
||||||
|
:scroll="{ x: 900, y: 350 }"
|
||||||
|
@expand="expandTable"
|
||||||
|
:pagination="false"
|
||||||
|
:row-selection="{
|
||||||
|
columnWidth: 30,
|
||||||
|
selectedRowKeys: selectedRowKeys,
|
||||||
|
onChange: onSelectChange,
|
||||||
|
}"
|
||||||
|
/>
|
||||||
|
<div class="pa">
|
||||||
|
<a-pagination
|
||||||
|
showSizeChanger="true"
|
||||||
|
showQuickJumper="true"
|
||||||
|
hideOnSinglePage="true"
|
||||||
|
:pageSize="pageSize"
|
||||||
|
:current="currentPage"
|
||||||
|
:total="tableDataTotal"
|
||||||
|
class="pagination"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="btnn">
|
||||||
|
<button class="btn1">取消</button>
|
||||||
|
<button class="btn2">确定</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-drawer>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { toRefs, reactive } from "vue";
|
||||||
|
export default {
|
||||||
|
name: "FaceManage",
|
||||||
|
props: {
|
||||||
|
Fvisible: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
setup(props, ctx) {
|
||||||
|
const state = reactive({
|
||||||
|
name: null,
|
||||||
|
pageSize: 10,
|
||||||
|
currentPage: 1,
|
||||||
|
tableDataTotal: 100,
|
||||||
|
selectedRowKeys: [],
|
||||||
|
projectNameList: [
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
value: "项目一",
|
||||||
|
label: "项目一",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 2,
|
||||||
|
value: "项目二",
|
||||||
|
label: "项目二",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 3,
|
||||||
|
value: "项目三",
|
||||||
|
label: "项目三",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 4,
|
||||||
|
value: "项目四",
|
||||||
|
label: "项目四",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
tabledata: [
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
score: "-",
|
||||||
|
state: "未完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 2,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
score: "-",
|
||||||
|
state: "未完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 3,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
score: "合格",
|
||||||
|
state: "完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 4,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
score: "合格",
|
||||||
|
state: "完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 5,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
score: "合格",
|
||||||
|
state: "完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 6,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
score: "合格",
|
||||||
|
state: "完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 7,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
score: "合格",
|
||||||
|
state: "完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 8,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
score: "不合格",
|
||||||
|
state: "完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 9,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
score: "不合格",
|
||||||
|
state: "完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 10,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
score: "不合格",
|
||||||
|
state: "完成",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
tablecolumns: [
|
||||||
|
{
|
||||||
|
title: "姓名",
|
||||||
|
dataIndex: "name",
|
||||||
|
key: "name",
|
||||||
|
width: 50,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "所在部门",
|
||||||
|
dataIndex: "bum",
|
||||||
|
key: "bum",
|
||||||
|
width: 50,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "所在岗位",
|
||||||
|
dataIndex: "gangw",
|
||||||
|
key: "gangw",
|
||||||
|
width: 50,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "课程成绩",
|
||||||
|
dataIndex: "score",
|
||||||
|
key: "score",
|
||||||
|
width: 50,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "任务状态",
|
||||||
|
dataIndex: "state",
|
||||||
|
key: "state",
|
||||||
|
width: 50,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
|
const selectProjectName = (value, index) => {
|
||||||
|
console.log("value", value, index);
|
||||||
|
};
|
||||||
|
const closeDrawer = () => {
|
||||||
|
ctx.emit("update:Fvisible", false);
|
||||||
|
};
|
||||||
|
const onSelectChange = (selectedRowKeys) => {
|
||||||
|
console.log("selectedRowKeys changed: ", selectedRowKeys);
|
||||||
|
state.selectedRowKeys = selectedRowKeys;
|
||||||
|
};
|
||||||
|
return {
|
||||||
|
...toRefs(state),
|
||||||
|
selectProjectName,
|
||||||
|
closeDrawer,
|
||||||
|
onSelectChange,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss" >
|
||||||
|
.drawerStyle {
|
||||||
|
.ant-drawer-content-wrapper {
|
||||||
|
// max-width: 1000px;
|
||||||
|
.ant-drawer-header {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
.ant-drawer-body {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.drawerMain {
|
||||||
|
min-width: 600px;
|
||||||
|
margin: 0px 32px 0px 32px;
|
||||||
|
overflow-x: scroll;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
.header {
|
||||||
|
height: 73px;
|
||||||
|
border-bottom: 1px solid #e8e8e8;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
// background-color: red;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
.headerTitle {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #333333;
|
||||||
|
line-height: 25px;
|
||||||
|
// margin-left: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.main {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
// background-color: #bfa;
|
||||||
|
// overflow-y: auto;
|
||||||
|
.endtime {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
.search {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
margin-top: 20px;
|
||||||
|
|
||||||
|
.namecon {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
// .name {
|
||||||
|
// margin-top: 8px;
|
||||||
|
|
||||||
|
// color: rgba(0, 0, 0, 0.85);
|
||||||
|
// font-size: 14px;
|
||||||
|
// font-weight: 400;
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
.btns {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
.img1 {
|
||||||
|
width: 15px;
|
||||||
|
height: 17px;
|
||||||
|
background-image: url(../../assets/images/courseManage/search0.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
margin-right: 7px;
|
||||||
|
}
|
||||||
|
.img2 {
|
||||||
|
width: 16px;
|
||||||
|
height: 18px;
|
||||||
|
background-image: url(../../assets/images/courseManage/reset1.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
margin-right: 7px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn1 {
|
||||||
|
background: #388be1;
|
||||||
|
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
background: #ffffff;
|
||||||
|
|
||||||
|
color: #388be1;
|
||||||
|
border: 1px solid #388be1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btnss {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 130px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
.img1 {
|
||||||
|
width: 15px;
|
||||||
|
height: 17px;
|
||||||
|
background-image: url(../../assets/images/courseManage/search0.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
margin-right: 7px;
|
||||||
|
}
|
||||||
|
.img2 {
|
||||||
|
width: 17px;
|
||||||
|
height: 16px;
|
||||||
|
background-image: url(../../assets/images/coursewareManage/export.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
margin-right: 7px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn1 {
|
||||||
|
background: #388be1;
|
||||||
|
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
background: #ffffff;
|
||||||
|
margin-right: 20px;
|
||||||
|
color: #388be1;
|
||||||
|
border: 1px solid #388be1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.line {
|
||||||
|
width: 100%;
|
||||||
|
height: 40px;
|
||||||
|
background-color: #e9f6fe;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 20px;
|
||||||
|
border: 1px solid #c3e6fc;
|
||||||
|
.inline {
|
||||||
|
width: 95%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
// background-color: #bfa;
|
||||||
|
.left {
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
.img {
|
||||||
|
width: 14px;
|
||||||
|
height: 15px;
|
||||||
|
background-image: url(../../assets/images/leveladd/gan.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
.text {
|
||||||
|
color: #999ba3;
|
||||||
|
}
|
||||||
|
.text2 {
|
||||||
|
color: #4ea6ff;
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
.text3 {
|
||||||
|
color: #999ba3;
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.right {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #387df7;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tab {
|
||||||
|
.ant-table-thead > tr > th {
|
||||||
|
background-color: rgba(239, 244, 252, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
th.h {
|
||||||
|
background-color: #eff4fc !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-table-tbody
|
||||||
|
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
|
||||||
|
> td {
|
||||||
|
background: #f6f9fd;
|
||||||
|
}
|
||||||
|
.pa {
|
||||||
|
// left: 0;
|
||||||
|
margin-top: 15px;
|
||||||
|
width: 100%;
|
||||||
|
// height: 20px;
|
||||||
|
// background-color: red;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
// position: absolute;
|
||||||
|
// bottom: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btnn {
|
||||||
|
height: 72px;
|
||||||
|
width: 100%;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
|
||||||
|
.btn1 {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
border: 1px solid #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
color: #4ea6ff;
|
||||||
|
background-color: #fff;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
background: #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 0;
|
||||||
|
margin-left: 15px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
473
src/components/drawers/TimeManage.vue
Normal file
473
src/components/drawers/TimeManage.vue
Normal file
@@ -0,0 +1,473 @@
|
|||||||
|
<template>
|
||||||
|
<a-drawer
|
||||||
|
:visible="Tvisible"
|
||||||
|
class="drawerStyle"
|
||||||
|
placement="right"
|
||||||
|
width="60%"
|
||||||
|
@after-visible-change="afterVisibleChange"
|
||||||
|
>
|
||||||
|
<div class="drawerMain">
|
||||||
|
<div class="header">
|
||||||
|
<div class="headerTitle">在线【时间管理】</div>
|
||||||
|
<img
|
||||||
|
style="width: 29px; height: 29px; cursor: pointer"
|
||||||
|
src="../../assets/images/basicinfo/close.png"
|
||||||
|
@click="closeDrawer"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="main">
|
||||||
|
<div class="endtime">起止时间:2022-07-21 14:00 ~ 2022-7-30 14:00</div>
|
||||||
|
<div class="search">
|
||||||
|
<div class="namecon" style="margin-right: 30px">
|
||||||
|
<div class="name">姓名:</div>
|
||||||
|
<a-input
|
||||||
|
v-model:value="name"
|
||||||
|
style="width: 270px; height: 40px; border-radius: 8px"
|
||||||
|
placeholder="请输入姓名"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="namecon" style="margin-right: 50px">
|
||||||
|
<div class="name">任务状态:</div>
|
||||||
|
<div class="select">
|
||||||
|
<a-select
|
||||||
|
v-model:value="projectName"
|
||||||
|
style="width: 270px"
|
||||||
|
placeholder="请选择"
|
||||||
|
:options="projectNameList"
|
||||||
|
@change="selectProjectName"
|
||||||
|
allowClear
|
||||||
|
showSearch
|
||||||
|
></a-select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="btns">
|
||||||
|
<div class="btn btn1" style="margin-right: 20px">
|
||||||
|
<div class="img1"></div>
|
||||||
|
<div class="wz">搜索</div>
|
||||||
|
</div>
|
||||||
|
<div class="btn btn2">
|
||||||
|
<div class="img2"></div>
|
||||||
|
<div class="wz">重置</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="btnss" style="margin-top: 20px">
|
||||||
|
<div class="btn btn1" style="margin-right: 20px">
|
||||||
|
<div class="img1"></div>
|
||||||
|
<div class="wz">催促学习</div>
|
||||||
|
</div>
|
||||||
|
<div class="btn btn2">
|
||||||
|
<div class="img2"></div>
|
||||||
|
<div class="wz">导出数据</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="tab" style="margin-top: 20px; margin-bottom: 100px">
|
||||||
|
<a-table
|
||||||
|
style="border: 1px solid #f2f6fe"
|
||||||
|
:columns="tablecolumns"
|
||||||
|
:data-source="tabledata"
|
||||||
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
|
expandRowByClick="true"
|
||||||
|
:scroll="{ x: 900, y: 350 }"
|
||||||
|
@expand="expandTable"
|
||||||
|
:pagination="false"
|
||||||
|
/>
|
||||||
|
<div class="pa">
|
||||||
|
<a-pagination
|
||||||
|
showSizeChanger="true"
|
||||||
|
showQuickJumper="true"
|
||||||
|
hideOnSinglePage="true"
|
||||||
|
:pageSize="pageSize"
|
||||||
|
:current="currentPage"
|
||||||
|
:total="tableDataTotal"
|
||||||
|
class="pagination"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="btnn">
|
||||||
|
<button class="btn1">取消</button>
|
||||||
|
<button class="btn2">确定</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-drawer>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { toRefs, reactive } from "vue";
|
||||||
|
export default {
|
||||||
|
name: "TimeManage",
|
||||||
|
props: {
|
||||||
|
Tvisible: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
setup(props, ctx) {
|
||||||
|
const state = reactive({
|
||||||
|
name: null,
|
||||||
|
pageSize: 10,
|
||||||
|
currentPage: 1,
|
||||||
|
tableDataTotal: 100,
|
||||||
|
projectNameList: [
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
value: "项目一",
|
||||||
|
label: "项目一",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 2,
|
||||||
|
value: "项目二",
|
||||||
|
label: "项目二",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 3,
|
||||||
|
value: "项目三",
|
||||||
|
label: "项目三",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 4,
|
||||||
|
value: "项目四",
|
||||||
|
label: "项目四",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
tabledata: [
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
time: "-",
|
||||||
|
state: "未完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 2,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
time: "2022-10-31 23:12:00",
|
||||||
|
state: "未完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 3,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
time: "2022-10-31 23:12:00",
|
||||||
|
state: "未完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 4,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
time: "2022-10-31 23:12:00",
|
||||||
|
state: "未完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 5,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
time: "2022-10-31 23:12:00",
|
||||||
|
state: "未完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 6,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
time: "2022-10-31 23:12:00",
|
||||||
|
state: "未完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 7,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
time: "2022-10-31 23:12:00",
|
||||||
|
state: "未完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 8,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
time: "2022-10-31 23:12:00",
|
||||||
|
state: "未完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 9,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
time: "2022-10-31 23:12:00",
|
||||||
|
state: "未完成",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 10,
|
||||||
|
name: "哈哈",
|
||||||
|
bum: "产品部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
time: "2022-10-31 23:12:00",
|
||||||
|
state: "未完成",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
tablecolumns: [
|
||||||
|
{
|
||||||
|
title: "姓名",
|
||||||
|
dataIndex: "name",
|
||||||
|
key: "name",
|
||||||
|
width: 50,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "所在部门",
|
||||||
|
dataIndex: "bum",
|
||||||
|
key: "bum",
|
||||||
|
width: 50,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "所在岗位",
|
||||||
|
dataIndex: "gangw",
|
||||||
|
key: "gangw",
|
||||||
|
width: 50,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "完成时间",
|
||||||
|
dataIndex: "time",
|
||||||
|
key: "time",
|
||||||
|
width: 50,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "任务状态",
|
||||||
|
dataIndex: "state",
|
||||||
|
key: "state",
|
||||||
|
width: 50,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
|
const selectProjectName = (value, index) => {
|
||||||
|
console.log("value", value, index);
|
||||||
|
};
|
||||||
|
const closeDrawer = () => {
|
||||||
|
ctx.emit("update:Tvisible", false);
|
||||||
|
};
|
||||||
|
return {
|
||||||
|
...toRefs(state),
|
||||||
|
selectProjectName,
|
||||||
|
closeDrawer,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss" >
|
||||||
|
.drawerStyle {
|
||||||
|
.ant-drawer-content-wrapper {
|
||||||
|
// max-width: 1000px;
|
||||||
|
.ant-drawer-header {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
.ant-drawer-body {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.drawerMain {
|
||||||
|
min-width: 600px;
|
||||||
|
margin: 0px 32px 0px 32px;
|
||||||
|
overflow-x: scroll;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
.header {
|
||||||
|
height: 73px;
|
||||||
|
border-bottom: 1px solid #e8e8e8;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
// background-color: red;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
.headerTitle {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #333333;
|
||||||
|
line-height: 25px;
|
||||||
|
// margin-left: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.main {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
// background-color: #bfa;
|
||||||
|
// overflow-y: auto;
|
||||||
|
.endtime {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
.search {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
margin-top: 20px;
|
||||||
|
|
||||||
|
.namecon {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
// .name {
|
||||||
|
// margin-top: 8px;
|
||||||
|
|
||||||
|
// color: rgba(0, 0, 0, 0.85);
|
||||||
|
// font-size: 14px;
|
||||||
|
// font-weight: 400;
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
.btns {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
.img1 {
|
||||||
|
width: 15px;
|
||||||
|
height: 17px;
|
||||||
|
background-image: url(../../assets/images/courseManage/search0.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
margin-right: 7px;
|
||||||
|
}
|
||||||
|
.img2 {
|
||||||
|
width: 16px;
|
||||||
|
height: 18px;
|
||||||
|
background-image: url(../../assets/images/courseManage/reset1.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
margin-right: 7px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn1 {
|
||||||
|
background: #388be1;
|
||||||
|
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
background: #ffffff;
|
||||||
|
|
||||||
|
color: #388be1;
|
||||||
|
border: 1px solid #388be1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btnss {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 130px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
.img1 {
|
||||||
|
width: 15px;
|
||||||
|
height: 17px;
|
||||||
|
background-image: url(../../assets/images/courseManage/search0.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
margin-right: 7px;
|
||||||
|
}
|
||||||
|
.img2 {
|
||||||
|
width: 17px;
|
||||||
|
height: 16px;
|
||||||
|
background-image: url(../../assets/images/coursewareManage/export.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
margin-right: 7px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn1 {
|
||||||
|
background: #388be1;
|
||||||
|
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
background: #ffffff;
|
||||||
|
|
||||||
|
color: #388be1;
|
||||||
|
border: 1px solid #388be1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tab {
|
||||||
|
th.h {
|
||||||
|
background-color: #eff4fc !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-table-tbody
|
||||||
|
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
|
||||||
|
> td {
|
||||||
|
background: #f6f9fd;
|
||||||
|
}
|
||||||
|
.pa {
|
||||||
|
// left: 0;
|
||||||
|
margin-top: 15px;
|
||||||
|
width: 100%;
|
||||||
|
// height: 20px;
|
||||||
|
// background-color: red;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
// position: absolute;
|
||||||
|
// bottom: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btnn {
|
||||||
|
height: 72px;
|
||||||
|
width: 100%;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
|
||||||
|
.btn1 {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
border: 1px solid #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
color: #4ea6ff;
|
||||||
|
background-color: #fff;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
background: #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 0;
|
||||||
|
margin-left: 15px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -697,13 +697,70 @@
|
|||||||
<div class="bs_left">状态:</div>
|
<div class="bs_left">状态:</div>
|
||||||
<div class="bs_right">已审核</div>
|
<div class="bs_right">已审核</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="b_menu">
|
<a-tabs
|
||||||
|
class="b_menu"
|
||||||
|
v-model:activeKey="activeKey"
|
||||||
|
size="large"
|
||||||
|
:tabBarStyle="{ marginLeft: '10px' }"
|
||||||
|
>
|
||||||
|
<a-tab-pane key="1" tab="报名管理">
|
||||||
|
1
|
||||||
|
</a-tab-pane>
|
||||||
|
<a-tab-pane key="2" tab="学习记录">
|
||||||
|
<div class="b_menunav">
|
||||||
|
<div class="bm_select">
|
||||||
|
<a-select
|
||||||
|
class="select"
|
||||||
|
ref="select"
|
||||||
|
placeholder="请选择状态"
|
||||||
|
v-model:value="value14"
|
||||||
|
style="width: 200px"
|
||||||
|
@focus="focus"
|
||||||
|
@change="handleChange"
|
||||||
|
>
|
||||||
|
<a-select-option value="status">状态</a-select-option>
|
||||||
|
<a-select-option value="passed">已通过</a-select-option>
|
||||||
|
<a-select-option value="weishenhe">未审核</a-select-option>
|
||||||
|
<a-select-option value="reject">管理员拒绝</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</div>
|
||||||
|
<div class="bm_input">
|
||||||
|
<a-input
|
||||||
|
v-model:value="value15"
|
||||||
|
style="width: 200px; height: 40px; border-radius: 8px"
|
||||||
|
placeholder="姓名"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="bm_btn">
|
||||||
|
<div class="btn btn1">
|
||||||
|
<div class="search"></div>
|
||||||
|
<div class="btnText">搜索</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="bm_table" style="margin-bottom: 20px">
|
||||||
|
<a-table
|
||||||
|
:columns="columns2"
|
||||||
|
:data-source="tableData3"
|
||||||
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
|
:pagination="false"
|
||||||
|
>
|
||||||
|
<template #bodyCell="{ column }">
|
||||||
|
<template v-if="column.key === 'opacation'">
|
||||||
|
<a @click="ckxq_hs">查看详情</a>
|
||||||
|
</template>
|
||||||
|
</template>
|
||||||
|
</a-table>
|
||||||
|
</div>
|
||||||
|
</a-tab-pane>
|
||||||
|
</a-tabs>
|
||||||
|
<!-- <div class="b_menu">
|
||||||
<a-menu v-model:selectedKeys="current" mode="horizontal">
|
<a-menu v-model:selectedKeys="current" mode="horizontal">
|
||||||
<a-menu-item key="mail"> 报名管理 </a-menu-item>
|
<a-menu-item key="mail"> 报名管理 </a-menu-item>
|
||||||
<a-menu-item key="sub2"> 学习记录 </a-menu-item>
|
<a-menu-item key="sub2"> 学习记录 </a-menu-item>
|
||||||
</a-menu>
|
</a-menu>
|
||||||
</div>
|
</div> -->
|
||||||
<div class="b_menunav">
|
<!-- <div class="b_menunav">
|
||||||
<div class="bm_select">
|
<div class="bm_select">
|
||||||
<a-select
|
<a-select
|
||||||
class="select"
|
class="select"
|
||||||
@@ -747,7 +804,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</a-table>
|
</a-table>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -354,12 +354,6 @@ export default {
|
|||||||
width: 100,
|
width: 100,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
// ellipsis: true,
|
|
||||||
// scopedSlots: { customRender: "action" }, //引入的插槽
|
|
||||||
// customRender: (text, record) => {
|
|
||||||
// console.log(text, record);
|
|
||||||
// return <span>{text.text}</span>;
|
|
||||||
// },
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "路径图名称",
|
title: "路径图名称",
|
||||||
@@ -411,38 +405,6 @@ export default {
|
|||||||
key: "opacation",
|
key: "opacation",
|
||||||
width: 200,
|
width: 200,
|
||||||
align: "center",
|
align: "center",
|
||||||
// scopedSlots: { customRender: "action" }, //引入的插槽
|
|
||||||
// customRender: (text) => {
|
|
||||||
// console.log(text);
|
|
||||||
// return (
|
|
||||||
// <div class="opa">
|
|
||||||
// <div class="opacation">
|
|
||||||
// <span class={text.record.haspub ? "activecls" : "errorCls"}>
|
|
||||||
// 发布
|
|
||||||
// </span>
|
|
||||||
// <span style={{ "margin-left": "25px" }}>编辑</span>
|
|
||||||
// <router-link to="/leveladd">
|
|
||||||
// <span style={{ "margin-left": "25px" }}>关卡</span>
|
|
||||||
// </router-link>
|
|
||||||
|
|
||||||
// <div style={{ "margin-left": "25px" }} class="more">
|
|
||||||
// <span>授权</span>
|
|
||||||
// <div class="moreArrow"></div>
|
|
||||||
// <div class="moreItems"></div>
|
|
||||||
// </div>
|
|
||||||
|
|
||||||
// <div
|
|
||||||
// style={{ "margin-left": "21px", "margin-right": "30px" }}
|
|
||||||
// class="more"
|
|
||||||
// >
|
|
||||||
// <span>更多</span>
|
|
||||||
// <div class="moreArrow"></div>
|
|
||||||
// <div class="moreItems"></div>
|
|
||||||
// </div>
|
|
||||||
// </div>
|
|
||||||
// </div>
|
|
||||||
// );
|
|
||||||
// },
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
return columns;
|
return columns;
|
||||||
|
|||||||
@@ -152,11 +152,7 @@
|
|||||||
class="taskbox"
|
class="taskbox"
|
||||||
style="
|
style="
|
||||||
margin-right: 24px;
|
margin-right: 24px;
|
||||||
background: linear-gradient(
|
background: linear-gradient(180deg, #ddeaff 0%, #f0f8fe 100%);
|
||||||
180deg,
|
|
||||||
rgba(221, 234, 255, 1) 100%,
|
|
||||||
rgba(240, 248, 254, 1) 100%
|
|
||||||
);
|
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div class="leftt">
|
<div class="leftt">
|
||||||
@@ -176,11 +172,7 @@
|
|||||||
class="taskbox"
|
class="taskbox"
|
||||||
@click="showModal3"
|
@click="showModal3"
|
||||||
style="
|
style="
|
||||||
background: linear-gradient(
|
background: linear-gradient(180deg, #fef3dd 0%, #fffaf0 100%);
|
||||||
180deg,
|
|
||||||
rgba(254, 243, 221, 1) 100%,
|
|
||||||
rgba(255, 250, 240, 1) 100%
|
|
||||||
);
|
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div class="leftt">
|
<div class="leftt">
|
||||||
@@ -248,11 +240,7 @@
|
|||||||
<div
|
<div
|
||||||
class="taskbox"
|
class="taskbox"
|
||||||
style="
|
style="
|
||||||
background: linear-gradient(
|
background: linear-gradient(180deg, #ddeaff 0%, #f0f8fe 100%);
|
||||||
180deg,
|
|
||||||
rgba(221, 234, 255, 1) 100%,
|
|
||||||
rgba(240, 248, 254, 1) 100%
|
|
||||||
);
|
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div class="leftt">
|
<div class="leftt">
|
||||||
@@ -277,11 +265,7 @@
|
|||||||
@click="showModal2"
|
@click="showModal2"
|
||||||
style="
|
style="
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
background: linear-gradient(
|
background: linear-gradient(180deg, #e5f6ec 0%, #eef9f3 100%);
|
||||||
180deg,
|
|
||||||
rgba(229, 246, 236, 1) 100%,
|
|
||||||
rgba(238, 249, 243, 1) 100%
|
|
||||||
);
|
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div class="leftt">
|
<div class="leftt">
|
||||||
|
|||||||
@@ -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>
|
||||||
@@ -62,12 +70,17 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="mid">
|
<div class="mid">
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="itcon">
|
<div class="itcon" @click="showDrawerOnline">
|
||||||
<div class="img">
|
<div class="img">
|
||||||
<img src="../../assets/images/leveladd/zai.png" />
|
<img src="../../assets/images/leveladd/zai.png" />
|
||||||
</div>
|
</div>
|
||||||
<div class="text">在线</div>
|
<div class="text">在线</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 添加在线侧弹窗 -->
|
||||||
|
<div>
|
||||||
|
<add-online v-model:addonlineVisible="visible" />
|
||||||
|
</div>
|
||||||
|
<!-- 添加在线侧弹窗 -->
|
||||||
<div class="lin"></div>
|
<div class="lin"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
@@ -172,12 +185,15 @@
|
|||||||
<div class="boom">
|
<div class="boom">
|
||||||
<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
|
||||||
<span class="editext">批量删除</span>
|
class="editimg"
|
||||||
</div>
|
src="../../assets/images/projectadd/delete.png"
|
||||||
|
/>
|
||||||
|
<span class="editext">批量删除</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="talk">
|
<div class="talk">
|
||||||
<img class="im" src="../../assets/images/leveladd/gan.png" />
|
<img class="im" src="../../assets/images/leveladd/gan.png" />
|
||||||
@@ -220,43 +236,12 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<!-- 编辑在线侧弹窗 -->
|
||||||
</div>
|
<div>
|
||||||
<div class="draw" style="position: relative">
|
<add-online v-model:addonlineVisible="visible" />
|
||||||
<a-drawer
|
|
||||||
v-model:visible="visible"
|
|
||||||
class="drawerStyle"
|
|
||||||
title="关联项目"
|
|
||||||
placement="right"
|
|
||||||
width="80%"
|
|
||||||
@after-visible-change="afterVisibleChange"
|
|
||||||
>
|
|
||||||
<div class="drawerMain">
|
|
||||||
<div class="header">
|
|
||||||
<div class="headerTitle">关联项目</div>
|
|
||||||
<img
|
|
||||||
style="width: 29px; height: 29px; cursor: pointer"
|
|
||||||
src="../../assets/images/basicinfo/close.png"
|
|
||||||
@click="showDrawer"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="drawerbox">
|
|
||||||
<a-table
|
|
||||||
:columns="drawercolumns"
|
|
||||||
:data-source="drawertableData"
|
|
||||||
:loading="tableDataTotal === -1 ? true : false"
|
|
||||||
:scroll="{ x: 700 }"
|
|
||||||
@expand="expandTable"
|
|
||||||
:pagination="false"
|
|
||||||
>
|
|
||||||
</a-table>
|
|
||||||
</div>
|
|
||||||
<div class="btnn">
|
|
||||||
<button @click="showDrawer" class="btn1">取消</button>
|
|
||||||
<button @click="showDrawer" class="btn2">确定</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</a-drawer>
|
<!-- 编辑在线侧弹窗 -->
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@@ -270,45 +255,97 @@
|
|||||||
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>
|
||||||
</div>
|
</div>
|
||||||
<div style="cursor: pointer;margin-right:32px" @click="closeModal">
|
<div style="cursor: pointer; margin-right: 32px" @click="closeModal">
|
||||||
<img
|
<img
|
||||||
style="width: 22px; height: 22px"
|
style="width: 22px; height: 22px"
|
||||||
src="../../assets/images/basicinfo/close22.png"
|
src="../../assets/images/basicinfo/close22.png"
|
||||||
/>
|
/>
|
||||||
</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
|
||||||
</div>
|
v-model:value="valueE"
|
||||||
|
show-count
|
||||||
|
:maxlength="20"
|
||||||
|
placeholder="请输入阶段名称"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="name" style="display: flex; align-items: flex-start">
|
<div class="name" style="display: flex; align-items: flex-start">
|
||||||
<div class="namebox">
|
<div class="namebox">
|
||||||
<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
|
||||||
</div>
|
v-model:value="value"
|
||||||
|
style="height: 88px"
|
||||||
|
show-count
|
||||||
|
:maxlength="100"
|
||||||
|
placeholder="请输入阶段说明"
|
||||||
|
/>
|
||||||
|
</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>
|
||||||
@@ -318,6 +355,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { reactive, toRefs, onMounted, onUnmounted } from "vue";
|
import { reactive, toRefs, onMounted, onUnmounted } from "vue";
|
||||||
|
import AddOnline from "../../components/drawers/AddOnline.vue";
|
||||||
const drawercolumns = [
|
const drawercolumns = [
|
||||||
{
|
{
|
||||||
title: "项目名称",
|
title: "项目名称",
|
||||||
@@ -358,6 +396,9 @@ const drawercolumns = [
|
|||||||
];
|
];
|
||||||
export default {
|
export default {
|
||||||
name: "LevelAddDetail",
|
name: "LevelAddDetail",
|
||||||
|
components: {
|
||||||
|
AddOnline,
|
||||||
|
},
|
||||||
setup() {
|
setup() {
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
projectNameList: [
|
projectNameList: [
|
||||||
@@ -523,7 +564,6 @@ export default {
|
|||||||
key: "1-1",
|
key: "1-1",
|
||||||
projectName: "管理者进阶-腾飞班",
|
projectName: "管理者进阶-腾飞班",
|
||||||
manager: "黄华 刘俊",
|
manager: "黄华 刘俊",
|
||||||
|
|
||||||
creater: "毛继禹",
|
creater: "毛继禹",
|
||||||
time: "2022-07-20 14:00:03",
|
time: "2022-07-20 14:00:03",
|
||||||
children: [
|
children: [
|
||||||
@@ -549,7 +589,6 @@ export default {
|
|||||||
key: "2-1",
|
key: "2-1",
|
||||||
projectName: "管理者进阶-腾飞班",
|
projectName: "管理者进阶-腾飞班",
|
||||||
manager: "黄华 刘俊",
|
manager: "黄华 刘俊",
|
||||||
|
|
||||||
creater: "毛继禹",
|
creater: "毛继禹",
|
||||||
time: "2022-07-20 14:00:03",
|
time: "2022-07-20 14:00:03",
|
||||||
children: [
|
children: [
|
||||||
@@ -564,12 +603,10 @@ export default {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
key: 3,
|
key: 3,
|
||||||
projectName: "管理者进阶-腾飞班K1",
|
projectName: "管理者进阶-腾飞班K1",
|
||||||
manager: "黄华 刘俊",
|
manager: "黄华 刘俊",
|
||||||
|
|
||||||
creater: "毛继禹",
|
creater: "毛继禹",
|
||||||
time: "2022-07-20 14:00:03",
|
time: "2022-07-20 14:00:03",
|
||||||
},
|
},
|
||||||
@@ -577,7 +614,6 @@ export default {
|
|||||||
key: 4,
|
key: 4,
|
||||||
projectName: "管理者进阶-腾飞班K1",
|
projectName: "管理者进阶-腾飞班K1",
|
||||||
manager: "黄华 刘俊",
|
manager: "黄华 刘俊",
|
||||||
|
|
||||||
creater: "毛继禹",
|
creater: "毛继禹",
|
||||||
time: "2022-07-20 14:00:03",
|
time: "2022-07-20 14:00:03",
|
||||||
},
|
},
|
||||||
@@ -585,7 +621,6 @@ export default {
|
|||||||
key: 5,
|
key: 5,
|
||||||
projectName: "管理者进阶-腾飞班K1",
|
projectName: "管理者进阶-腾飞班K1",
|
||||||
manager: "黄华 刘俊",
|
manager: "黄华 刘俊",
|
||||||
|
|
||||||
creater: "毛继禹",
|
creater: "毛继禹",
|
||||||
time: "2022-07-20 14:00:03",
|
time: "2022-07-20 14:00:03",
|
||||||
},
|
},
|
||||||
@@ -593,7 +628,6 @@ export default {
|
|||||||
key: 6,
|
key: 6,
|
||||||
projectName: "管理者进阶-腾飞班K1",
|
projectName: "管理者进阶-腾飞班K1",
|
||||||
manager: "黄华 刘俊",
|
manager: "黄华 刘俊",
|
||||||
|
|
||||||
creater: "毛继禹",
|
creater: "毛继禹",
|
||||||
time: "2022-07-20 14:00:03",
|
time: "2022-07-20 14:00:03",
|
||||||
},
|
},
|
||||||
@@ -601,7 +635,6 @@ export default {
|
|||||||
key: 7,
|
key: 7,
|
||||||
projectName: "管理者进阶-腾飞班K1",
|
projectName: "管理者进阶-腾飞班K1",
|
||||||
manager: "黄华 刘俊",
|
manager: "黄华 刘俊",
|
||||||
|
|
||||||
creater: "毛继禹",
|
creater: "毛继禹",
|
||||||
time: "2022-07-20 14:00:03",
|
time: "2022-07-20 14:00:03",
|
||||||
},
|
},
|
||||||
@@ -610,6 +643,7 @@ export default {
|
|||||||
tableDataTotal: 100,
|
tableDataTotal: 100,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
visible: false,
|
visible: false,
|
||||||
|
visible2: false,
|
||||||
stage: false,
|
stage: false,
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
});
|
});
|
||||||
@@ -619,9 +653,6 @@ export default {
|
|||||||
const selectProjectName2 = (value, index) => {
|
const selectProjectName2 = (value, index) => {
|
||||||
console.log("value", value, index);
|
console.log("value", value, index);
|
||||||
};
|
};
|
||||||
const showDrawer = () => {
|
|
||||||
state.visible = !state.visible;
|
|
||||||
};
|
|
||||||
const afterVisibleChange = (bool) => {
|
const afterVisibleChange = (bool) => {
|
||||||
console.log("visible", bool);
|
console.log("visible", bool);
|
||||||
};
|
};
|
||||||
@@ -635,7 +666,7 @@ export default {
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "left",
|
align: "left",
|
||||||
className: "classify",
|
className: "classify",
|
||||||
scopedSlots: { customRender: "action" }, //引入的插槽
|
scopedSlots: { customRender: "action" },
|
||||||
customRender: (text) => {
|
customRender: (text) => {
|
||||||
// console.log(text.record.checked1);
|
// console.log(text.record.checked1);
|
||||||
return (
|
return (
|
||||||
@@ -650,11 +681,11 @@ export default {
|
|||||||
<span> {text.record.lei}</span>
|
<span> {text.record.lei}</span>
|
||||||
|
|
||||||
{/**
|
{/**
|
||||||
<div class="img"></div>
|
<div class="img"></div>
|
||||||
<a-checkbox class="ch" checked={text.record.checkedd}>
|
<a-checkbox class="ch" checked={text.record.checkedd}>
|
||||||
{text.record.lei}
|
{text.record.lei}
|
||||||
</a-checkbox>
|
</a-checkbox>
|
||||||
*/}
|
*/}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
@@ -675,7 +706,7 @@ export default {
|
|||||||
// width: 100,
|
// width: 100,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
scopedSlots: { customRender: "action" }, //引入的插槽
|
scopedSlots: { customRender: "action" },
|
||||||
customRender: (text) => {
|
customRender: (text) => {
|
||||||
// console.log(text.record.checked1);
|
// console.log(text.record.checked1);
|
||||||
return (
|
return (
|
||||||
@@ -722,12 +753,17 @@ export default {
|
|||||||
key: "opacation",
|
key: "opacation",
|
||||||
// width: 100,
|
// width: 100,
|
||||||
align: "center",
|
align: "center",
|
||||||
scopedSlots: { customRender: "action" }, //引入的插槽
|
scopedSlots: { customRender: "action" },
|
||||||
customRender: () => {
|
customRender: () => {
|
||||||
return (
|
return (
|
||||||
<div class="opa">
|
<div class="opa">
|
||||||
<div class="opacation">
|
<div class="opacation">
|
||||||
<span style="color:#4EA6FF;margin-right:25px;cursor:pointer">
|
<span
|
||||||
|
onClick={() => {
|
||||||
|
state.visible2 = true;
|
||||||
|
}}
|
||||||
|
style="color:#4EA6FF;margin-right:25px;cursor:pointer"
|
||||||
|
>
|
||||||
编辑
|
编辑
|
||||||
</span>
|
</span>
|
||||||
<span style="color:#4EA6FF;cursor:pointer">删除</span>
|
<span style="color:#4EA6FF;cursor:pointer">删除</span>
|
||||||
@@ -739,12 +775,10 @@ export default {
|
|||||||
];
|
];
|
||||||
return columns;
|
return columns;
|
||||||
};
|
};
|
||||||
|
|
||||||
const onSelectChange = (selectedRowKeys) => {
|
const onSelectChange = (selectedRowKeys) => {
|
||||||
console.log("selectedRowKeys changed: ", selectedRowKeys);
|
console.log("selectedRowKeys changed: ", selectedRowKeys);
|
||||||
state.selectedRowKeys = selectedRowKeys;
|
state.selectedRowKeys = selectedRowKeys;
|
||||||
};
|
};
|
||||||
|
|
||||||
// const getClientHeight = () => {
|
// const getClientHeight = () => {
|
||||||
// state.rightheight =
|
// state.rightheight =
|
||||||
// document.getElementsByClassName("addhead")[0].offsetHeight +
|
// document.getElementsByClassName("addhead")[0].offsetHeight +
|
||||||
@@ -769,6 +803,9 @@ export default {
|
|||||||
document.getElementsByTagName("main")[0].style.boxShadow =
|
document.getElementsByTagName("main")[0].style.boxShadow =
|
||||||
"0px 1px 35px 0px rgba(118, 136, 166, 0.07)";
|
"0px 1px 35px 0px rgba(118, 136, 166, 0.07)";
|
||||||
});
|
});
|
||||||
|
const showDrawerOnline = () => {
|
||||||
|
state.visible = true;
|
||||||
|
};
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
selectProjectName,
|
selectProjectName,
|
||||||
@@ -776,138 +813,137 @@ export default {
|
|||||||
tableDataFunc,
|
tableDataFunc,
|
||||||
showModal,
|
showModal,
|
||||||
closeModal,
|
closeModal,
|
||||||
showDrawer,
|
// showDrawer,
|
||||||
afterVisibleChange,
|
afterVisibleChange,
|
||||||
drawercolumns,
|
drawercolumns,
|
||||||
onSelectChange,
|
onSelectChange,
|
||||||
|
showDrawerOnline,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|
||||||
.ant-input {
|
.ant-input {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
// height: 120%;
|
// height: 120%;
|
||||||
width: 384px;
|
width: 384px;
|
||||||
height: 88px;
|
height: 88px;
|
||||||
}
|
}
|
||||||
.addstage {
|
.addstage {
|
||||||
.ant-modal {
|
.ant-modal {
|
||||||
.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;
|
}
|
||||||
}
|
.ant-input-textarea-show-count::after {
|
||||||
.ant-input-textarea-show-count::after {
|
position: absolute;
|
||||||
position: absolute;
|
right: 10px;
|
||||||
right: 10px;
|
bottom: 5px;
|
||||||
bottom: 5px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.info {
|
|
||||||
width: 78%;
|
|
||||||
// background-color: lightcoral;
|
|
||||||
display: flex;
|
|
||||||
margin-top: 30px;
|
|
||||||
// align-items: center;
|
|
||||||
// height: 40px;
|
|
||||||
// border: 1px solid black;
|
|
||||||
|
|
||||||
.inname {
|
|
||||||
color: #6f6f6f;
|
|
||||||
font-size: 14px;
|
|
||||||
margin-left: 26px;
|
|
||||||
margin-top: 15px;
|
|
||||||
}
|
|
||||||
.in {
|
|
||||||
margin-left: 14px;
|
|
||||||
width: 81%;
|
|
||||||
position: relative;
|
|
||||||
.ant-input {
|
|
||||||
border-radius: 5px;
|
|
||||||
// height: 120%;
|
|
||||||
width: 100%;
|
|
||||||
height: 130px;
|
|
||||||
resize: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.info {
|
||||||
|
width: 78%;
|
||||||
|
// background-color: lightcoral;
|
||||||
|
display: flex;
|
||||||
|
margin-top: 30px;
|
||||||
|
// align-items: center;
|
||||||
|
// height: 40px;
|
||||||
|
// border: 1px solid black;
|
||||||
|
|
||||||
|
.inname {
|
||||||
|
color: #6f6f6f;
|
||||||
|
font-size: 14px;
|
||||||
|
margin-left: 26px;
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
||||||
|
.in {
|
||||||
|
margin-left: 14px;
|
||||||
|
width: 81%;
|
||||||
|
position: relative;
|
||||||
|
.ant-input {
|
||||||
|
border-radius: 5px;
|
||||||
|
// height: 120%;
|
||||||
|
width: 100%;
|
||||||
|
height: 130px;
|
||||||
|
resize: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.name {
|
.name {
|
||||||
width: 78%;
|
width: 78%;
|
||||||
// background-color: lightcoral;
|
// background-color: lightcoral;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
//height: 40px;
|
//height: 40px;
|
||||||
// border: 1px solid black;
|
// border: 1px solid black;
|
||||||
.namebox {
|
.namebox {
|
||||||
width: 120px;
|
width: 120px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
.nameimg {
|
.nameimg {
|
||||||
width: 10px;
|
width: 10px;
|
||||||
height: 10px;
|
height: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.d {
|
.d {
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
color: #ff4e4e;
|
color: #ff4e4e;
|
||||||
}
|
}
|
||||||
.box {
|
.box {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-left: 14px;
|
margin-left: 14px;
|
||||||
.box1 {
|
.box1 {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
width: 50px;
|
width: 50px;
|
||||||
margin-left: -25px;
|
margin-left: -25px;
|
||||||
margin-top: -5px;
|
margin-top: -5px;
|
||||||
border-top: 2px solid rgba(78, 166, 255, 1);
|
border-top: 2px solid rgba(78, 166, 255, 1);
|
||||||
}
|
}
|
||||||
.box2 {
|
.box2 {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
//margin-left: -5px;
|
//margin-left: -5px;
|
||||||
margin-top: -25px;
|
margin-top: -25px;
|
||||||
border-left: 2px solid rgba(78, 166, 255, 1);
|
border-left: 2px solid rgba(78, 166, 255, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.inname {
|
.inname {
|
||||||
color: #000000;
|
color: #000000;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin-left: 7px;
|
margin-left: 7px;
|
||||||
}
|
}
|
||||||
.in {
|
.in {
|
||||||
margin-left: 14px;
|
margin-left: 14px;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
.ant-radio-wrapper {
|
.ant-radio-wrapper {
|
||||||
}
|
}
|
||||||
.ant-input-affix-wrapper {
|
.ant-input-affix-wrapper {
|
||||||
width: 384px;
|
width: 384px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
.ant-input {
|
.ant-input {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
// height: 120%;
|
// height: 120%;
|
||||||
//width: 384px;
|
//width: 384px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.drawerStyle {
|
.drawerStyle {
|
||||||
.ant-drawer-content-wrapper {
|
.ant-drawer-content-wrapper {
|
||||||
// max-width: 1000px;
|
// max-width: 1000px;
|
||||||
@@ -1172,7 +1208,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;
|
||||||
@@ -1302,56 +1338,56 @@ export default {
|
|||||||
// height: 100%;
|
// height: 100%;
|
||||||
// background-color: #bfa;
|
// background-color: #bfa;
|
||||||
.onerow {
|
.onerow {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
height: 40px;
|
||||||
|
position: relative;
|
||||||
|
margin-top: 20px;
|
||||||
|
.taskmain {
|
||||||
|
font-size: 18px;
|
||||||
|
color: #000000;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
.btn {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 130px;
|
||||||
|
background-color: #409eff;
|
||||||
|
width: 130px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
position: relative;
|
border-radius: 8px;
|
||||||
margin-top: 20px;
|
border: 1px solid #409eff;
|
||||||
.taskmain {
|
color: #ffffff;
|
||||||
font-size: 18px;
|
cursor: pointer;
|
||||||
color: #000000;
|
}
|
||||||
margin-top: 10px;
|
.edit {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
color: #409eff;
|
||||||
|
width: 120px;
|
||||||
|
height: 40px;
|
||||||
|
border: 1px solid #409eff;
|
||||||
|
border-radius: 8px;
|
||||||
|
.editimg {
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
margin-top: -2px;
|
||||||
|
margin-left: 25px;
|
||||||
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
.btn {
|
.editext {
|
||||||
position: absolute;
|
line-height: 40px;
|
||||||
top: 0;
|
|
||||||
right: 130px;
|
|
||||||
background-color: #409EFF;
|
|
||||||
width: 130px;
|
|
||||||
height: 40px;
|
|
||||||
border-radius: 8px;
|
|
||||||
border: 1px solid #409EFF;
|
|
||||||
color: #FFFFFF;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
}
|
||||||
.edit {
|
}
|
||||||
position: absolute;
|
.edit:hover {
|
||||||
right: 0;
|
color: #ffffff;
|
||||||
top: 0;
|
background-color: #409eff;
|
||||||
color: #409EFF;
|
cursor: pointer;
|
||||||
width: 120px;
|
.editimg {
|
||||||
height: 40px;
|
background-image: url("../../assets/images/projectadd/delete1.png");
|
||||||
border: 1px solid #409EFF;
|
|
||||||
border-radius: 8px;
|
|
||||||
.editimg {
|
|
||||||
width: 15px;
|
|
||||||
height: 15px;
|
|
||||||
margin-top: -2px;
|
|
||||||
margin-left: 25px;
|
|
||||||
margin-right: 5px;
|
|
||||||
}
|
|
||||||
.editext {
|
|
||||||
line-height: 40px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.edit:hover {
|
|
||||||
color: #FFFFFF;
|
|
||||||
background-color: #409EFF;
|
|
||||||
cursor: pointer;
|
|
||||||
.editimg {
|
|
||||||
background-image: url("../../assets/images/projectadd/delete1.png");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.talk {
|
.talk {
|
||||||
margin-top: 24px;
|
margin-top: 24px;
|
||||||
@@ -1497,4 +1533,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,97 +1,173 @@
|
|||||||
<!-- 调研管理-基础信息页面 -->
|
<!-- 调研管理-基础信息页面 -->
|
||||||
<template>
|
<template>
|
||||||
<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="namebox">
|
||||||
|
<div class="inname">类型</div>
|
||||||
|
</div>
|
||||||
|
<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="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 class="name">
|
||||||
|
<div class="namebox">
|
||||||
|
<img
|
||||||
|
class="nameimg"
|
||||||
|
src="../../assets/images/basicinfo/asterisk.png"
|
||||||
|
/>
|
||||||
|
<div class="inname">提干</div>
|
||||||
|
</div>
|
||||||
|
<div class="in">
|
||||||
|
<a-input
|
||||||
|
v-model:value="valueE"
|
||||||
|
placeholder="请输入项目名称"
|
||||||
|
show-count
|
||||||
|
:maxlength="20"
|
||||||
|
style="border-radius: 8px"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="name">
|
||||||
|
<div class="in" style="margin-left: 133px">
|
||||||
|
<a-button
|
||||||
|
type="primary"
|
||||||
|
style="
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 8px;
|
||||||
|
background-color: #409eff;
|
||||||
|
"
|
||||||
|
>添加选项</a-button
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="options">
|
||||||
<div class="name">
|
<div class="name">
|
||||||
<div class="namebox">
|
<div class="namebox">
|
||||||
<div class="inname">类型</div>
|
<div class="inname">选项1</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>
|
<a-input
|
||||||
<input type="radio" name="type" id="double" style="margin-left: 10px"/><label for="double" class="text" style="margin-left: 5px">多选</label>
|
v-model:value="valueE"
|
||||||
<input type="radio" name="type" id="score" style="margin-left: 10px"/><label for="score" class="text" style="margin-left: 5px">评分题</label>
|
show-count
|
||||||
|
:maxlength="20"
|
||||||
|
style="border-radius: 8px"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="delete">删除</div>
|
||||||
|
</div>
|
||||||
|
<div class="name">
|
||||||
|
<div class="in" style="margin-left: 133px">
|
||||||
|
<div class="addimg">+添加图片</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="options">
|
||||||
<div class="name">
|
<div class="name">
|
||||||
<div class="namebox">
|
<div class="namebox">
|
||||||
<img
|
<div class="inname">选项1</div>
|
||||||
class="nameimg"
|
|
||||||
src="../../assets/images/basicinfo/asterisk.png"
|
|
||||||
/>
|
|
||||||
<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
|
||||||
</div>
|
v-model:value="valueE"
|
||||||
</div>
|
show-count
|
||||||
<div class="name">
|
:maxlength="20"
|
||||||
<div class="in" style="margin-left: 133px">
|
style="border-radius: 8px"
|
||||||
<a-button type="primary" style="width: 100px;height: 40px;border-radius: 8px;background-color: #409EFF">添加选项</a-button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="options">
|
|
||||||
<div class="name" >
|
|
||||||
<div class="namebox">
|
|
||||||
<div class="inname">选项1</div>
|
|
||||||
</div>
|
|
||||||
<div class="in">
|
|
||||||
<a-input v-model:value="valueE" show-count :maxlength="20" style="border-radius: 8px" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="delete">删除</div>
|
|
||||||
</div>
|
|
||||||
<div class="name" >
|
|
||||||
<div class="in" style="margin-left: 133px">
|
|
||||||
<div class="addimg">+添加图片</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="options">
|
|
||||||
<div class="name" >
|
|
||||||
<div class="namebox">
|
|
||||||
<div class="inname">选项1</div>
|
|
||||||
</div>
|
|
||||||
<div class="in">
|
|
||||||
<a-input v-model:value="valueE" show-count :maxlength="20" style="border-radius: 8px"/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="delete">删除</div>
|
|
||||||
</div>
|
|
||||||
<div class="picture" style="position: relative">
|
|
||||||
<img class="pictureimg" src="../../assets/images/research/picture.png"/>
|
|
||||||
<div class="picturename">图片名称1.jpg</div>
|
|
||||||
<img
|
|
||||||
style="cursor: pointer; width: 20px; height: 20px;position: absolute;right: 0;top:0"
|
|
||||||
src="../../assets/images/basicinfo/close.png"
|
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="delete">删除</div>
|
||||||
|
</div>
|
||||||
|
<div class="picture" style="position: relative">
|
||||||
|
<img
|
||||||
|
class="pictureimg"
|
||||||
|
src="../../assets/images/research/picture.png"
|
||||||
|
/>
|
||||||
|
<div class="picturename">图片名称1.jpg</div>
|
||||||
|
<img
|
||||||
|
style="
|
||||||
|
cursor: pointer;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
"
|
||||||
|
src="../../assets/images/basicinfo/close.png"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<span class="title" style="font-size: 14px">选项设置</span>
|
<span class="title" style="font-size: 14px">选项设置</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="name" >
|
<div class="name">
|
||||||
<div class="namebox">
|
<div class="namebox">
|
||||||
<div class="inname">最低分</div>
|
<div class="inname">最低分</div>
|
||||||
</div>
|
|
||||||
<div class="in">
|
|
||||||
<a-input v-model:value="valueE" />
|
|
||||||
</div>
|
|
||||||
<div class="namebox" style="margin-left: -50px">
|
|
||||||
<div class="inname">最高分</div>
|
|
||||||
</div>
|
|
||||||
<div class="in">
|
|
||||||
<a-input v-model:value="valueE" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="scorebox">
|
<div class="in numberInp">
|
||||||
<div class="scoretext">非常满意</div>
|
<a-input-number
|
||||||
<div class="number">
|
:value="minScore"
|
||||||
<a-button class="btn" style="margin-left:10px">1</a-button>
|
:min="1"
|
||||||
<a-button class="btn">2</a-button>
|
:max="10"
|
||||||
|
@change="minChange"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="namebox" style="margin-left: -180px">
|
||||||
|
<div class="inname">最高分</div>
|
||||||
|
</div>
|
||||||
|
<div class="in numberInp">
|
||||||
|
<a-input-number
|
||||||
|
:value="maxScore"
|
||||||
|
:min="1"
|
||||||
|
:max="10"
|
||||||
|
@change="maxChange"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="scorebox">
|
||||||
|
<div class="scoretext">非常满意</div>
|
||||||
|
<div class="number">
|
||||||
|
<div
|
||||||
|
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,195 +175,348 @@
|
|||||||
<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 class="scoretext">非常不满意</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="name name2">
|
<div class="scoretext">非常不满意</div>
|
||||||
<div class="namebox">
|
</div>
|
||||||
<div class="inname" style="margin-top: 13px">备注</div>
|
<div class="name name2">
|
||||||
</div>
|
<div class="namebox">
|
||||||
<div class="in">
|
<div class="inname" style="margin-top: 13px">备注</div>
|
||||||
<a-textarea
|
|
||||||
v-model:value="valuei"
|
|
||||||
style="height: 80px"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="in">
|
||||||
|
<a-textarea v-model:value="valuei" style="height: 80px" />
|
||||||
|
</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"
|
||||||
</div>
|
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>
|
|
||||||
</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 {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
.header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
.title {
|
||||||
|
color: #000000;
|
||||||
|
font-size: 18px;
|
||||||
|
//line-height: 36px;
|
||||||
|
padding-top: 30px;
|
||||||
|
padding-left: 37px;
|
||||||
|
//font-weight: 500;
|
||||||
|
}
|
||||||
|
.goback {
|
||||||
|
padding-right: 70px;
|
||||||
|
//padding-top: 37px;
|
||||||
|
position: relative;
|
||||||
|
.return {
|
||||||
|
display: inline-block;
|
||||||
|
width: 42px;
|
||||||
|
height: 42px;
|
||||||
|
margin-top: 17px;
|
||||||
|
margin-right: 10px;
|
||||||
|
background-image: url("../../assets/images/projectadd/return.png");
|
||||||
|
}
|
||||||
|
.returntext {
|
||||||
|
display: inline-block;
|
||||||
|
position: absolute;
|
||||||
|
top: 27px;
|
||||||
|
color: #4ea6ff;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
.header {
|
.scorebox {
|
||||||
width: 100%;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 20px;
|
||||||
|
margin-left: 70px;
|
||||||
|
.scoretext {
|
||||||
|
font-size: 14px;
|
||||||
|
color: #56a3f9;
|
||||||
|
}
|
||||||
|
.number {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
border: 1px solid #d7e5fd;
|
||||||
.title {
|
border-radius: 5px;
|
||||||
color: #000000;
|
margin: 0 10px;
|
||||||
font-size: 18px;
|
padding: 5px;
|
||||||
//line-height: 36px;
|
|
||||||
padding-top: 30px;
|
|
||||||
padding-left: 37px;
|
|
||||||
//font-weight: 500;
|
|
||||||
}
|
|
||||||
.goback {
|
|
||||||
padding-right: 70px;
|
|
||||||
//padding-top: 37px;
|
|
||||||
position: relative;
|
|
||||||
.return {
|
|
||||||
display: inline-block;
|
|
||||||
width: 42px;
|
|
||||||
height: 42px;
|
|
||||||
margin-top: 17px;
|
|
||||||
margin-right: 10px;
|
|
||||||
background-image: url("../../assets/images/projectadd/return.png");
|
|
||||||
}
|
|
||||||
.returntext {
|
|
||||||
display: inline-block;
|
|
||||||
position: absolute;
|
|
||||||
top: 27px;
|
|
||||||
color: #4EA6FF;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.content {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
.scorebox {
|
|
||||||
display:flex;
|
|
||||||
align-items: center;
|
|
||||||
margin-top: 20px;
|
|
||||||
margin-left:70px;
|
|
||||||
.scoretext {
|
|
||||||
font-size: 14px;
|
|
||||||
color: #56A3F9;
|
|
||||||
}
|
|
||||||
.number {
|
|
||||||
display: flex;
|
|
||||||
border: 1px solid #D7E5FD;
|
|
||||||
border-radius: 5px;
|
|
||||||
margin: 0 10px;
|
|
||||||
padding: 5px;
|
|
||||||
.btn {
|
|
||||||
border: 1px solid #56A3F9;
|
|
||||||
border-radius: 5px;
|
|
||||||
width: 40px;
|
|
||||||
height: 40px;
|
|
||||||
color: #56A3F9;
|
|
||||||
margin: 5px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.picture {
|
|
||||||
width: 100px;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
margin-top: 20px;
|
|
||||||
margin-left: 133px;
|
|
||||||
.pictureimg {
|
|
||||||
width: 100px;
|
|
||||||
height: 100px;
|
|
||||||
}
|
|
||||||
.picturename {
|
|
||||||
color: #6F6F6F;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.name2 {
|
|
||||||
display: flex;
|
|
||||||
align-items: flex-start;
|
|
||||||
}
|
|
||||||
.options {
|
|
||||||
display:flex;
|
|
||||||
}
|
|
||||||
.delete {
|
|
||||||
cursor: pointer;
|
|
||||||
margin-top: 32px;
|
|
||||||
margin-left: 20px;
|
|
||||||
float: right;
|
|
||||||
color: #4EA6FF;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
.name {
|
|
||||||
width: 50%;
|
|
||||||
// background-color: lightcoral;
|
|
||||||
display: flex;
|
|
||||||
margin-top: 20px;
|
|
||||||
//align-items: center;
|
|
||||||
//height: 40px;
|
|
||||||
// border: 1px solid black;
|
|
||||||
.namebox {
|
|
||||||
width: 120px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: flex-end;
|
|
||||||
flex-shrink: 0;
|
|
||||||
.nameimg {
|
|
||||||
width: 10px;
|
|
||||||
height: 10px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.inname {
|
|
||||||
color: #6f6f6f;
|
|
||||||
font-size: 14px;
|
|
||||||
margin-left: 7px;
|
|
||||||
}
|
|
||||||
.in {
|
|
||||||
margin-left: 14px;
|
|
||||||
flex: 1;
|
|
||||||
.addimg {
|
|
||||||
cursor:pointer;
|
|
||||||
color: rgba(78, 166, 255, 1);
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
.text {
|
|
||||||
color: rgba(109, 117, 132, 1);
|
|
||||||
font-size: 14px;
|
|
||||||
//line-height: 24px;
|
|
||||||
}
|
|
||||||
.ant-radio-wrapper {
|
|
||||||
}
|
|
||||||
.ant-input {
|
|
||||||
border-radius: 5px;
|
|
||||||
// height: 120%;
|
|
||||||
width: 100%;
|
|
||||||
height: 35px;
|
|
||||||
}
|
|
||||||
.ant-select-selector {
|
|
||||||
border-radius: 5px;
|
|
||||||
// height: 120%;
|
|
||||||
width: 100%;
|
|
||||||
height: 40px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.footer {
|
|
||||||
width: 100%;
|
|
||||||
margin-top: 31px;
|
|
||||||
margin-bottom: 14px;
|
|
||||||
.btn {
|
.btn {
|
||||||
display: flex;
|
width: 40px;
|
||||||
margin-bottom: 20px;
|
height: 40px;
|
||||||
justify-content: center;
|
border: 1px solid #56a3f9;
|
||||||
cursor: pointer;
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin: 5px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #56a3f9;
|
||||||
|
line-height: 24px;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
.picture {
|
||||||
|
width: 100px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
margin-top: 20px;
|
||||||
|
margin-left: 133px;
|
||||||
|
.pictureimg {
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
|
.picturename {
|
||||||
|
color: #6f6f6f;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.name2 {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
.options {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.delete {
|
||||||
|
cursor: pointer;
|
||||||
|
margin-top: 32px;
|
||||||
|
margin-left: 20px;
|
||||||
|
float: right;
|
||||||
|
color: #4ea6ff;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.name {
|
||||||
|
width: 50%;
|
||||||
|
// background-color: lightcoral;
|
||||||
|
display: flex;
|
||||||
|
margin-top: 20px;
|
||||||
|
//align-items: center;
|
||||||
|
//height: 40px;
|
||||||
|
// border: 1px solid black;
|
||||||
|
.namebox {
|
||||||
|
width: 120px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-end;
|
||||||
|
flex-shrink: 0;
|
||||||
|
.nameimg {
|
||||||
|
width: 10px;
|
||||||
|
height: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.inname {
|
||||||
|
color: #6f6f6f;
|
||||||
|
font-size: 14px;
|
||||||
|
margin-left: 7px;
|
||||||
|
}
|
||||||
|
.in {
|
||||||
|
margin-left: 14px;
|
||||||
|
flex: 1;
|
||||||
|
.addimg {
|
||||||
|
cursor: pointer;
|
||||||
|
color: rgba(78, 166, 255, 1);
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.text {
|
||||||
|
color: rgba(109, 117, 132, 1);
|
||||||
|
font-size: 14px;
|
||||||
|
//line-height: 24px;
|
||||||
|
}
|
||||||
|
.ant-radio-wrapper {
|
||||||
|
}
|
||||||
|
.ant-input {
|
||||||
|
border-radius: 5px;
|
||||||
|
// height: 120%;
|
||||||
|
width: 100%;
|
||||||
|
height: 35px;
|
||||||
|
}
|
||||||
|
.ant-select-selector {
|
||||||
|
border-radius: 5px;
|
||||||
|
// height: 120%;
|
||||||
|
width: 100%;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.numberInp {
|
||||||
|
width: 200px;
|
||||||
|
.ant-input-number {
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
// .ant-input-number-input-wrap {
|
||||||
|
// width: 200px;
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.footer {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 31px;
|
||||||
|
margin-bottom: 14px;
|
||||||
|
.btn {
|
||||||
|
display: flex;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
justify-content: center;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
</style>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user