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:
@@ -5,3 +5,12 @@ export const getProjStu = (obj) => http.post('/admin/project/studentList', obj)
|
|||||||
|
|
||||||
//删除学员
|
//删除学员
|
||||||
export const deleteStu = (obj) => http.post('/admin/project/deleteStudent', obj)
|
export const deleteStu = (obj) => http.post('/admin/project/deleteStudent', obj)
|
||||||
|
|
||||||
|
//获取小组列表
|
||||||
|
export const getGroupList = (obj) => http.post('/admin/project/groupList', obj)
|
||||||
|
|
||||||
|
//删除小组
|
||||||
|
export const deleteGroup = (obj) => http.delete('/admin/project/deleteGroup', { params: obj })
|
||||||
|
|
||||||
|
//新增或编辑小组
|
||||||
|
export const editGroup = (obj) => http.post('/admin/project/editGroup', obj)
|
||||||
457
src/components/Modals/projSet.vue
Normal file
457
src/components/Modals/projSet.vue
Normal file
@@ -0,0 +1,457 @@
|
|||||||
|
<template>
|
||||||
|
<!-- 编辑弹窗 -->
|
||||||
|
<div>
|
||||||
|
<a-modal
|
||||||
|
:visible="editHs"
|
||||||
|
:title="null"
|
||||||
|
@ok="closeModal"
|
||||||
|
:footer="null"
|
||||||
|
:closable="false"
|
||||||
|
wrapClassName="set_edit"
|
||||||
|
width="679px"
|
||||||
|
@cancel="edit_exit"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="modalHeader"
|
||||||
|
style="
|
||||||
|
width: 100%;
|
||||||
|
height: 68px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<div class="headerLeft" style="margin-left: 32px">
|
||||||
|
<span style="width: 15px; height: 15px"
|
||||||
|
><img src="../../assets/images/taskpage/edit.png"
|
||||||
|
/></span>
|
||||||
|
<span
|
||||||
|
class="headerLeftText"
|
||||||
|
style="font-size: 16px; margin-left: 10px"
|
||||||
|
>编辑</span
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div style="cursor: pointer; margin-right: 32px" @click="closeModal">
|
||||||
|
<img
|
||||||
|
style="width: 22px; height: 22px"
|
||||||
|
src="../../assets/images/basicinfo/close.png"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="modalMain">
|
||||||
|
<div class="projectname">基本信息</div>
|
||||||
|
<div class="setbody">
|
||||||
|
<div class="main_item">
|
||||||
|
<div class="signbox">
|
||||||
|
<div class="sign">
|
||||||
|
<img
|
||||||
|
src="@/assets/images/coursewareManage/asterisk.png"
|
||||||
|
alt=""
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<span style="margin-right: 3px">项目名称:</span>
|
||||||
|
</div>
|
||||||
|
<div class="btnbox">
|
||||||
|
<a-input
|
||||||
|
v-model:value="projectName"
|
||||||
|
style="width: 424px; height: 32px"
|
||||||
|
placeholder="请输入项目名称"
|
||||||
|
maxlength="20"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="main_item2">
|
||||||
|
<div class="signbox">
|
||||||
|
<span style="margin-right: 3px">直播封面:</span>
|
||||||
|
</div>
|
||||||
|
<div class="lodalimg">
|
||||||
|
<div class="lodalcenter">
|
||||||
|
<span style="color: #448ef7; margin-right: 10px">+</span>
|
||||||
|
<span style="color: #448ef7">添加图片</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="main_item">
|
||||||
|
<div class="signbox">
|
||||||
|
<div class="sign">
|
||||||
|
<img
|
||||||
|
src="@/assets/images/coursewareManage/asterisk.png"
|
||||||
|
alt=""
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<span style="margin-right: 3px">项目时间:</span>
|
||||||
|
</div>
|
||||||
|
<div class="btnbox">
|
||||||
|
<a-range-picker
|
||||||
|
style="width: 424px"
|
||||||
|
:placeholder="[' 开始时间', ' 结束时间']"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="main_item">
|
||||||
|
<div class="signbox">
|
||||||
|
<div class="sign">
|
||||||
|
<img
|
||||||
|
src="@/assets/images/coursewareManage/asterisk.png"
|
||||||
|
alt=""
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<span style="margin-right: 3px">项目经理:</span>
|
||||||
|
</div>
|
||||||
|
<div class="btnbox">
|
||||||
|
<a-select
|
||||||
|
dropdownClassName="dropdown-style"
|
||||||
|
style="width: 424px"
|
||||||
|
placeholder="请选择项目经理"
|
||||||
|
:options="options1"
|
||||||
|
allowClear
|
||||||
|
showSearch
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="main_item">
|
||||||
|
<div class="signbox">
|
||||||
|
<div class="sign">
|
||||||
|
<img
|
||||||
|
src="@/assets/images/coursewareManage/asterisk.png"
|
||||||
|
alt=""
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<span style="margin-right: 3px">资源归属:</span>
|
||||||
|
</div>
|
||||||
|
<div class="btnbox">
|
||||||
|
<a-input
|
||||||
|
v-model:value="inputV1"
|
||||||
|
style="width: 424px; height: 32px"
|
||||||
|
placeholder="自动带出 可修改"
|
||||||
|
maxlength="20"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="main_item2">
|
||||||
|
<div class="signbox">
|
||||||
|
<span style="margin-right: 3px">项目说明:</span>
|
||||||
|
</div>
|
||||||
|
<div class="textarea">
|
||||||
|
<a-textarea
|
||||||
|
v-model:value="textV1"
|
||||||
|
placeholder="请输入说明"
|
||||||
|
allow-clear
|
||||||
|
maxlength="150"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="main_item">
|
||||||
|
<div class="signbox">
|
||||||
|
<span style="margin-right: 3px">同步学习记录:</span>
|
||||||
|
</div>
|
||||||
|
<div class="btnbox">
|
||||||
|
<a-radio-group v-model:value="radioV1">
|
||||||
|
<a-radio v-model:checked="checked" :value="1" @click="cloradio1"
|
||||||
|
>同步课程学习记录(如学员在课程库中拥有课程的学习记录,自由免修改课程)
|
||||||
|
</a-radio>
|
||||||
|
</a-radio-group>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="main_item">
|
||||||
|
<div class="signbox">
|
||||||
|
<div class="sign">
|
||||||
|
<img
|
||||||
|
src="@/assets/images/coursewareManage/asterisk.png"
|
||||||
|
alt=""
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<span style="margin-right: 3px">项目级别:</span>
|
||||||
|
</div>
|
||||||
|
<div class="btnbox">
|
||||||
|
<a-input
|
||||||
|
v-model:value="inputV1"
|
||||||
|
style="width: 424px; height: 32px"
|
||||||
|
placeholder="集团级/组织级/现地级/部门级"
|
||||||
|
maxlength="20"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="main_item">
|
||||||
|
<div class="signbox">
|
||||||
|
<div class="sign">
|
||||||
|
<img
|
||||||
|
src="@/assets/images/coursewareManage/asterisk.png"
|
||||||
|
alt=""
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<span style="margin-right: 3px">培训体系:</span>
|
||||||
|
</div>
|
||||||
|
<div class="btnbox">
|
||||||
|
<a-input
|
||||||
|
v-model:value="inputV1"
|
||||||
|
style="width: 424px; height: 32px"
|
||||||
|
placeholder="集团级/组织级/现地级/部门级"
|
||||||
|
maxlength="20"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="main_item">
|
||||||
|
<div class="signbox">
|
||||||
|
<div class="sign">
|
||||||
|
<img
|
||||||
|
src="@/assets/images/coursewareManage/asterisk.png"
|
||||||
|
alt=""
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<span style="margin-right: 3px">是否BOEU实施:</span>
|
||||||
|
</div>
|
||||||
|
<div class="btnbox">
|
||||||
|
<a-radio-group v-model:value="radioV2">
|
||||||
|
<a-radio v-model:checked="checked" :value="1" @click="cloradio2"
|
||||||
|
>BOEU实施</a-radio
|
||||||
|
>
|
||||||
|
</a-radio-group>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="pubtn">
|
||||||
|
<a-button class="pubtn1" @click="closeModal">取消</a-button>
|
||||||
|
<a-button class="pubtn2" @click="closeModal">发布</a-button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-modal>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { reactive, toRefs } from "vue";
|
||||||
|
// import {getTask} from "../../api/indexTaskadd"
|
||||||
|
// import dayjs from "dayjs";
|
||||||
|
// import {message} from "ant-design-vue"
|
||||||
|
// import { toDate } from "@/api/method";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "projSet",
|
||||||
|
props: {
|
||||||
|
editHs: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
|
projectId: {
|
||||||
|
type: String,
|
||||||
|
default: null,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
setup(props, ctx) {
|
||||||
|
//console.log("学习路径",props.isStudiscuss);
|
||||||
|
const state = reactive({});
|
||||||
|
const closeModal = () => {
|
||||||
|
ctx.emit("update:editHs", false);
|
||||||
|
console.log("projectId", props.projectId);
|
||||||
|
};
|
||||||
|
return {
|
||||||
|
...toRefs(state),
|
||||||
|
closeModal,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" >
|
||||||
|
.set_edit {
|
||||||
|
.ant-modal {
|
||||||
|
width: 866px !important;
|
||||||
|
height: 870px !important;
|
||||||
|
|
||||||
|
.ant-modal-body {
|
||||||
|
.modalHeader {
|
||||||
|
background: linear-gradient(
|
||||||
|
rgba(78, 166, 255, 0.2) 0%,
|
||||||
|
rgba(78, 166, 255, 0) 100%
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
.modalHeader {
|
||||||
|
background: linear-gradient(
|
||||||
|
0deg,
|
||||||
|
rgba(78, 166, 255, 0) 0%,
|
||||||
|
rgba(78, 166, 255, 0.2) 100%
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
.modalMain {
|
||||||
|
.projectname {
|
||||||
|
color: rgba(79, 81, 86, 1);
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 36px;
|
||||||
|
margin-left: 62px;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.setbody {
|
||||||
|
margin-left: 67px;
|
||||||
|
|
||||||
|
.main_item {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
|
||||||
|
.signbox {
|
||||||
|
width: 130px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: end;
|
||||||
|
align-items: center;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
|
.sign {
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btnbox {
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
.xkbtn {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 130px;
|
||||||
|
height: 40px;
|
||||||
|
background: #388be1;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 0;
|
||||||
|
margin-right: 8px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.main_item2 {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
|
||||||
|
.signbox {
|
||||||
|
width: 130px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: end;
|
||||||
|
align-items: center;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
|
.sign {
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.lodalimg {
|
||||||
|
width: 120px;
|
||||||
|
height: 120px;
|
||||||
|
border: 1px dashed #387df7;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
.lodalimg {
|
||||||
|
display: flex;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.kqszbox {
|
||||||
|
.qdqtbox {
|
||||||
|
margin-left: 5px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.qdbtn,
|
||||||
|
.qtbtn {
|
||||||
|
width: 75px;
|
||||||
|
height: 24px;
|
||||||
|
background: rgba(56, 139, 225, 0.16);
|
||||||
|
border-radius: 2px;
|
||||||
|
border: 1px solid #387df7;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
.btntext {
|
||||||
|
color: #387df7;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.setbox {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
|
||||||
|
.timerbox {
|
||||||
|
margin-top: 6px;
|
||||||
|
margin-right: 32px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btnbox2 {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: flex-start;
|
||||||
|
|
||||||
|
.xkbtn {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 130px;
|
||||||
|
height: 40px;
|
||||||
|
background: #388be1;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 0;
|
||||||
|
margin-right: 16px 8px 32px 0;
|
||||||
|
color: #fff;
|
||||||
|
margin-top: 16px;
|
||||||
|
margin-bottom: 60px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.pubtn {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
margin-top: 25px;
|
||||||
|
|
||||||
|
//margin-bottom: 29px;
|
||||||
|
.pubtn1 {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
margin-right: 16px;
|
||||||
|
margin-bottom: 29px;
|
||||||
|
border: 1px solid #409eff;
|
||||||
|
border-radius: 4px;
|
||||||
|
color: rgba(78, 166, 255, 1);
|
||||||
|
font-size: 14px;
|
||||||
|
//line-height: 36px;
|
||||||
|
align-items: center;
|
||||||
|
background: rgba(255, 255, 255, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.pubtn2 {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
margin-bottom: 29px;
|
||||||
|
border: 1px solid #409eff;
|
||||||
|
border-radius: 4px;
|
||||||
|
color: #ffffff;
|
||||||
|
font-size: 14px;
|
||||||
|
align-items: center;
|
||||||
|
//line-height: 36px;
|
||||||
|
background: #409eff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -65,32 +65,50 @@
|
|||||||
<div class="right1">清空</div>
|
<div class="right1">清空</div>
|
||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div> -->
|
||||||
<div class="tabb" style="margin-top: 16px">
|
<div class="chooseLeft">
|
||||||
<a-table
|
<div class="boeTree">
|
||||||
style="border: 1px solid #f2f6fe"
|
<a-tree-select
|
||||||
:columns="tablecolumns"
|
v-model:value="valueSelectboe"
|
||||||
:data-source="tabledata"
|
style="width: 240px; border-radius: 4px"
|
||||||
:loading="tableDataTotal === -1 ? true : false"
|
dropdownClassName="changetreedropdownboe"
|
||||||
expandRowByClick="true"
|
:dropdown-style="{
|
||||||
:scroll="{ x: 500 }"
|
maxHeight: '600px',
|
||||||
@expand="expandTable"
|
overflow: 'auto',
|
||||||
:pagination="false"
|
}"
|
||||||
:row-selection="{
|
placeholder="BOE组织树"
|
||||||
columnWidth: 30,
|
allow-clear
|
||||||
selectedRowKeys: selectedRowKeys,
|
tree-default-expand-all
|
||||||
onChange: onSelectChange,
|
:tree-data="treeData"
|
||||||
}"
|
>
|
||||||
/>
|
<template #suffixIcon></template>
|
||||||
<div class="pa">
|
</a-tree-select>
|
||||||
<a-pagination
|
</div>
|
||||||
showSizeChanger="true"
|
<div class="tabb" style="margin-top: 16px">
|
||||||
showQuickJumper="true"
|
<a-table
|
||||||
hideOnSinglePage="true"
|
style="border: 1px solid #f2f6fe"
|
||||||
:pageSize="pageSize"
|
:columns="tablecolumns"
|
||||||
:current="currentPage"
|
:data-source="tabledata"
|
||||||
:total="tableDataTotal"
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
class="pagination"
|
expandRowByClick="true"
|
||||||
|
@expand="expandTable"
|
||||||
|
:pagination="false"
|
||||||
|
:row-selection="{
|
||||||
|
columnWidth: 20,
|
||||||
|
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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -101,36 +119,14 @@
|
|||||||
style="overflow-y: auto"
|
style="overflow-y: auto"
|
||||||
>
|
>
|
||||||
<div class="tab2">
|
<div class="tab2">
|
||||||
<div class="t1">
|
<div class="nameinp">
|
||||||
<div class="organize">选择组织:</div>
|
<div class="namee">组织:</div>
|
||||||
<div class="select">
|
|
||||||
<a-tree-select
|
|
||||||
v-model:value="valueSelect"
|
|
||||||
style="width: 200px"
|
|
||||||
dropdownClassName="changetreedropdown"
|
|
||||||
:dropdown-style="{
|
|
||||||
maxHeight: '400px',
|
|
||||||
overflow: 'auto',
|
|
||||||
}"
|
|
||||||
placeholder="请输入组织名称"
|
|
||||||
allow-clear
|
|
||||||
tree-default-expand-all
|
|
||||||
:tree-data="treeData"
|
|
||||||
>
|
|
||||||
</a-tree-select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="t1">
|
|
||||||
<div class="organize">姓名:</div>
|
|
||||||
<a-input
|
<a-input
|
||||||
v-model:value="nameadd"
|
v-model:value="com"
|
||||||
style="width: 200px; height: 40px; border-radius: 8px"
|
style="width: 230px; height: 40px; border-radius: 8px"
|
||||||
placeholder="请输入姓名"
|
placeholder="请输入组织"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<!-- 选完后出现下面 -->
|
|
||||||
<div class="searchdown">
|
|
||||||
<div class="btns">
|
<div class="btns">
|
||||||
<div class="btn1">
|
<div class="btn1">
|
||||||
<div class="img1">
|
<div class="img1">
|
||||||
@@ -149,6 +145,34 @@
|
|||||||
<div class="wz">重置</div>
|
<div class="wz">重置</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- <div class="t1">
|
||||||
|
<div class="organize">姓名:</div>
|
||||||
|
<a-input
|
||||||
|
v-model:value="nameadd"
|
||||||
|
style="width: 200px; height: 40px; border-radius: 8px"
|
||||||
|
placeholder="请输入姓名"
|
||||||
|
/>
|
||||||
|
</div> -->
|
||||||
|
</div>
|
||||||
|
<div class="boeTree">
|
||||||
|
<a-tree-select
|
||||||
|
v-model:value="valueSelectboe2"
|
||||||
|
style="width: 240px; border-radius: 4px"
|
||||||
|
dropdownClassName="changetreedropdownboe"
|
||||||
|
:dropdown-style="{
|
||||||
|
maxHeight: '600px',
|
||||||
|
overflow: 'auto',
|
||||||
|
}"
|
||||||
|
placeholder="BOE组织树"
|
||||||
|
allow-clear
|
||||||
|
tree-default-expand-all
|
||||||
|
:tree-data="treeData2"
|
||||||
|
>
|
||||||
|
<template #suffixIcon></template>
|
||||||
|
</a-tree-select>
|
||||||
|
</div>
|
||||||
|
<!-- 选完后出现下面 -->
|
||||||
|
<!-- <div class="searchdown">
|
||||||
<div class="tabb" style="margin-top: 16px">
|
<div class="tabb" style="margin-top: 16px">
|
||||||
<a-table
|
<a-table
|
||||||
style="border: 1px solid #f2f6fe"
|
style="border: 1px solid #f2f6fe"
|
||||||
@@ -177,7 +201,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane key="3" tab="受众关联">
|
<a-tab-pane key="3" tab="受众关联">
|
||||||
@@ -284,204 +308,19 @@
|
|||||||
<span class="allclear">全部清除</span>
|
<span class="allclear">全部清除</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="line"></div>
|
||||||
class="selecteds"
|
<div class="tit">快速选人</div>
|
||||||
:style="{ 'max-height': screenHeight - 235 + 'px' }"
|
<div class="selecteds">
|
||||||
style="overflow-y: auto"
|
<!-- 遍历生成 -->
|
||||||
>
|
<div class="chose" v-for="item in choosepeople" :key="item.id">
|
||||||
<div class="chose">
|
{{ item.name }}
|
||||||
李明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李大明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李二明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李大明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李二明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李大明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李二明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李大明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李二明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李大明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李二明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李大明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李二明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李大明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李二明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李大明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李二明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李大明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李二明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李大明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李二明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李大明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李二明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李大明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李二明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李大明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李二明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李大明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李二明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李大明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李二明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李大明
|
|
||||||
<div class="ch"></div>
|
|
||||||
</div>
|
|
||||||
<div class="chose">
|
|
||||||
李二明
|
|
||||||
<div class="ch"></div>
|
<div class="ch"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div class="tit">添加组织</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div class="tit">受众关联</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btnn">
|
<div class="btnn">
|
||||||
@@ -521,9 +360,12 @@ export default {
|
|||||||
value: [], //级联选择框
|
value: [], //级联选择框
|
||||||
choosevalue: null, //受众选择
|
choosevalue: null, //受众选择
|
||||||
valueSelect: null, //树形选择
|
valueSelect: null, //树形选择
|
||||||
|
valueSelectboe: null, //boe树形选择
|
||||||
|
valueSelectboe2: null, //boe树形选择
|
||||||
name: "",
|
name: "",
|
||||||
nameadd: "",
|
nameadd: "",
|
||||||
nameaddd: "",
|
nameaddd: "",
|
||||||
|
com: "",
|
||||||
treeData: [
|
treeData: [
|
||||||
{
|
{
|
||||||
title: "京东方",
|
title: "京东方",
|
||||||
@@ -691,69 +533,236 @@ export default {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
treeData2: [
|
||||||
|
{
|
||||||
|
title: "京东方",
|
||||||
|
value: "京东方",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "产研部",
|
||||||
|
value: "产研部",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "产品部",
|
||||||
|
value: "产品部",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "研究部",
|
||||||
|
value: "研究部",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "二级标题",
|
||||||
|
value: "二级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "三级标题",
|
||||||
|
value: "三级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "四级标题",
|
||||||
|
value: "四级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "五级标题",
|
||||||
|
value: "五级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "六级标题",
|
||||||
|
value: "六级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "七级标题",
|
||||||
|
value: "七级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "八级标题",
|
||||||
|
value: "八级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "九级标题",
|
||||||
|
value: "九级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "十级标题",
|
||||||
|
value: "十级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "十一级标题",
|
||||||
|
value: "十一级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "十二级标题",
|
||||||
|
value: "十二级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title:
|
||||||
|
"十三级标题十三级标题十三级标题十三级标题",
|
||||||
|
value: "十三级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title:
|
||||||
|
"十四级标题",
|
||||||
|
value:
|
||||||
|
"十四级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title:
|
||||||
|
"十五级标题",
|
||||||
|
value:
|
||||||
|
"十五级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title:
|
||||||
|
"十六级标题",
|
||||||
|
value:
|
||||||
|
"十六级标题",
|
||||||
|
children:
|
||||||
|
[
|
||||||
|
{
|
||||||
|
title:
|
||||||
|
"十七级标题",
|
||||||
|
value:
|
||||||
|
"十七级标题",
|
||||||
|
children:
|
||||||
|
[
|
||||||
|
{
|
||||||
|
title:
|
||||||
|
"十八级标题",
|
||||||
|
value:
|
||||||
|
"十八级标题",
|
||||||
|
children:
|
||||||
|
[
|
||||||
|
{
|
||||||
|
title:
|
||||||
|
"十九级标题",
|
||||||
|
value:
|
||||||
|
"十九级标题",
|
||||||
|
children:
|
||||||
|
[
|
||||||
|
{
|
||||||
|
title:
|
||||||
|
"二十级标题二十级标题",
|
||||||
|
value:
|
||||||
|
"二十级标题二十级标题",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "人力资源部",
|
||||||
|
value: "人力资源部",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "人事部",
|
||||||
|
value: "人事部",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "行政部",
|
||||||
|
value: "行政部",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
tabledata: [
|
tabledata: [
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
name: "小李",
|
name: "小李",
|
||||||
bum: "产研部",
|
bum: "产研部",
|
||||||
numb: "000000",
|
numb: "000000",
|
||||||
guishu: "",
|
guishu: "产品部",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
name: "小刘",
|
name: "小刘",
|
||||||
bum: "产研部",
|
bum: "产研部",
|
||||||
numb: "000000",
|
numb: "000000",
|
||||||
guishu: "",
|
guishu: "产品部",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 3,
|
key: 3,
|
||||||
name: "小李",
|
name: "小李",
|
||||||
bum: "产研部",
|
bum: "产研部",
|
||||||
numb: "000000",
|
numb: "000000",
|
||||||
guishu: "",
|
guishu: "产品部",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 4,
|
key: 4,
|
||||||
name: "小李",
|
name: "小李",
|
||||||
bum: "产研部",
|
bum: "产研部",
|
||||||
numb: "000000",
|
numb: "000000",
|
||||||
guishu: "",
|
guishu: "产品部",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 5,
|
key: 5,
|
||||||
name: "小李",
|
name: "小李",
|
||||||
bum: "产研部",
|
bum: "产研部",
|
||||||
numb: "000000",
|
numb: "000000",
|
||||||
guishu: "",
|
guishu: "产品部",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 6,
|
key: 6,
|
||||||
name: "小李",
|
name: "小李",
|
||||||
bum: "产研部",
|
bum: "产研部",
|
||||||
numb: "000000",
|
numb: "000000",
|
||||||
guishu: "",
|
guishu: "产品部",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 7,
|
key: 7,
|
||||||
name: "小李",
|
name: "小李",
|
||||||
bum: "产研部",
|
bum: "产研部",
|
||||||
numb: "000000",
|
numb: "000000",
|
||||||
guishu: "",
|
guishu: "产品部",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 8,
|
key: 8,
|
||||||
name: "小李",
|
name: "小李",
|
||||||
bum: "产研部",
|
bum: "产研部",
|
||||||
numb: "000000",
|
numb: "000000",
|
||||||
guishu: "",
|
guishu: "产品部",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 9,
|
key: 9,
|
||||||
name: "小李",
|
name: "小李",
|
||||||
bum: "产研部",
|
bum: "产研部",
|
||||||
numb: "000000",
|
numb: "000000",
|
||||||
guishu: "",
|
guishu: "产品部",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
tablecolumns: [
|
tablecolumns: [
|
||||||
@@ -761,7 +770,7 @@ export default {
|
|||||||
title: "姓名",
|
title: "姓名",
|
||||||
dataIndex: "name",
|
dataIndex: "name",
|
||||||
key: "name",
|
key: "name",
|
||||||
width: 30,
|
// width: 30,
|
||||||
align: "left",
|
align: "left",
|
||||||
className: "h",
|
className: "h",
|
||||||
},
|
},
|
||||||
@@ -769,7 +778,7 @@ export default {
|
|||||||
title: "工号",
|
title: "工号",
|
||||||
dataIndex: "numb",
|
dataIndex: "numb",
|
||||||
key: "numb",
|
key: "numb",
|
||||||
width: 35,
|
// width: 30,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
},
|
},
|
||||||
@@ -777,7 +786,7 @@ export default {
|
|||||||
title: "归属组织",
|
title: "归属组织",
|
||||||
dataIndex: "guishu",
|
dataIndex: "guishu",
|
||||||
key: "guishu",
|
key: "guishu",
|
||||||
width: 30,
|
// width: 30,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
},
|
},
|
||||||
@@ -785,7 +794,7 @@ export default {
|
|||||||
title: "部门",
|
title: "部门",
|
||||||
dataIndex: "bum",
|
dataIndex: "bum",
|
||||||
key: "bum",
|
key: "bum",
|
||||||
width: 40,
|
// width: 30,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
},
|
},
|
||||||
@@ -998,6 +1007,52 @@ export default {
|
|||||||
label: "人力资源hrbp",
|
label: "人力资源hrbp",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
choosepeople: [
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
name: "李明",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
name: "李明",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
name: "李明",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
name: "李明",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
name: "李明",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
name: "李明",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
name: "李明",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
name: "李明",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
name: "李明",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
name: "李明",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
name: "李明",
|
||||||
|
},
|
||||||
|
],
|
||||||
});
|
});
|
||||||
const closeDrawer = () => {
|
const closeDrawer = () => {
|
||||||
state.activeKey = "1";
|
state.activeKey = "1";
|
||||||
@@ -1234,49 +1289,70 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.tabb {
|
.chooseLeft {
|
||||||
.ant-table-thead > tr > th {
|
display: flex;
|
||||||
background-color: rgba(240, 246, 252, 1);
|
justify-content: space-between;
|
||||||
color: rgba(0, 0, 0, 0.85);
|
.boeTree {
|
||||||
}
|
margin-top: 20px;
|
||||||
.ant-table-tbody > tr > td {
|
width: 300px;
|
||||||
border-bottom: 1px solid #f0f6fc;
|
height: 40px;
|
||||||
color: rgba(0, 0, 0, 0.65);
|
margin-right: 10px;
|
||||||
}
|
.ant-select {
|
||||||
th.h {
|
.ant-select-selector {
|
||||||
background-color: #eff4fc !important;
|
border-radius: 8px;
|
||||||
|
height: 40px;
|
||||||
|
.ant-select-selection-placeholder {
|
||||||
|
color: #409eff;
|
||||||
|
margin-left: 72px !important;
|
||||||
|
margin-top: 4px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
.tabb {
|
||||||
|
.ant-table-thead > tr > th {
|
||||||
|
background-color: rgba(240, 246, 252, 1);
|
||||||
|
color: rgba(0, 0, 0, 0.85);
|
||||||
|
}
|
||||||
|
.ant-table-tbody > tr > td {
|
||||||
|
border-bottom: 1px solid #f0f6fc;
|
||||||
|
color: rgba(0, 0, 0, 0.65);
|
||||||
|
}
|
||||||
|
th.h {
|
||||||
|
background-color: #eff4fc !important;
|
||||||
|
}
|
||||||
|
|
||||||
.ant-table-tbody
|
.ant-table-tbody
|
||||||
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
|
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
|
||||||
> td {
|
> td {
|
||||||
background: rgba(250, 250, 250, 1);
|
background: rgba(250, 250, 250, 1);
|
||||||
}
|
}
|
||||||
.ant-table-selection-column {
|
.ant-table-selection-column {
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
// table tr td.ant-table-selection-column {
|
// table tr td.ant-table-selection-column {
|
||||||
// text-align: right;
|
// text-align: right;
|
||||||
// }
|
// }
|
||||||
// .ant-checkbox-wrapper {
|
// .ant-checkbox-wrapper {
|
||||||
// align-items: center;
|
// align-items: center;
|
||||||
// margin-top: -2px;
|
// margin-top: -2px;
|
||||||
// }
|
// }
|
||||||
.pa {
|
.pa {
|
||||||
// left: 0;
|
// left: 0;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
// height: 20px;
|
// height: 20px;
|
||||||
// background-color: red;
|
// background-color: red;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
// position: absolute;
|
// position: absolute;
|
||||||
// bottom: 20px;
|
// bottom: 20px;
|
||||||
.ant-pagination-item,
|
.ant-pagination-item,
|
||||||
.ant-pagination-prev,
|
.ant-pagination-prev,
|
||||||
.ant-pagination-next,
|
.ant-pagination-next,
|
||||||
.ant-pagination-options {
|
.ant-pagination-options {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1284,45 +1360,27 @@ export default {
|
|||||||
.tab2 {
|
.tab2 {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 10px;
|
// margin-top: 10px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
.nameinp {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 10px;
|
||||||
|
.namee {
|
||||||
|
color: rgba(0, 0, 0, 0.85);
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.t1 {
|
.t1 {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
.organize {
|
|
||||||
color: rgba(0, 0, 0, 0.85);
|
|
||||||
font-size: 14px;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-select-dropdown {
|
|
||||||
min-width: 800px !important;
|
|
||||||
}
|
|
||||||
.ant-select {
|
|
||||||
border-radius: 8px !important;
|
|
||||||
// background-color: red;
|
|
||||||
}
|
|
||||||
.ant-cascader {
|
|
||||||
width: 264px;
|
|
||||||
height: 40px;
|
|
||||||
border-radius: 8px !important;
|
|
||||||
.ant-select-selector {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
.ant-select-selection-search-input {
|
|
||||||
height: 40px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.searchdown {
|
|
||||||
.btns {
|
.btns {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: 10px;
|
// margin-top: -10px;
|
||||||
.btn1 {
|
.btn1 {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
@@ -1357,6 +1415,47 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.organize {
|
||||||
|
color: rgba(0, 0, 0, 0.85);
|
||||||
|
font-size: 14px;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-select-dropdown {
|
||||||
|
min-width: 800px !important;
|
||||||
|
}
|
||||||
|
.ant-select {
|
||||||
|
border-radius: 8px !important;
|
||||||
|
// background-color: red;
|
||||||
|
}
|
||||||
|
.ant-cascader {
|
||||||
|
width: 264px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 8px !important;
|
||||||
|
.ant-select-selector {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.ant-select-selection-search-input {
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.boeTree {
|
||||||
|
margin-top: 20px;
|
||||||
|
width: 300px;
|
||||||
|
height: 40px;
|
||||||
|
margin-right: 10px;
|
||||||
|
.ant-select {
|
||||||
|
.ant-select-selector {
|
||||||
|
border-radius: 8px;
|
||||||
|
height: 40px;
|
||||||
|
.ant-select-selection-placeholder {
|
||||||
|
color: #409eff;
|
||||||
|
margin-left: 72px !important;
|
||||||
|
margin-top: 4px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1416,10 +1515,25 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.line {
|
||||||
|
width: 90%;
|
||||||
|
height: 1px;
|
||||||
|
background-color: #e8e8e8;
|
||||||
|
margin-left: 12px;
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
.tit {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-top: 12px;
|
||||||
|
margin-left: 32px;
|
||||||
|
}
|
||||||
.selecteds {
|
.selecteds {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin-left: 32px;
|
margin-left: 32px;
|
||||||
|
height: 200px;
|
||||||
|
overflow-y: hidden;
|
||||||
.chose {
|
.chose {
|
||||||
width: 64px;
|
width: 64px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
@@ -1490,4 +1604,18 @@ export default {
|
|||||||
width: 7px !important;
|
width: 7px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.changetreedropdownboe {
|
||||||
|
width: 240px !important;
|
||||||
|
border-radius: 5px;
|
||||||
|
min-height: 600px !important;
|
||||||
|
.ant-select-tree-list-scrollbar {
|
||||||
|
width: 5px !important;
|
||||||
|
.ant-select-tree-list-scrollbar-thumb {
|
||||||
|
background-color: #4ea6ff !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.ant-select-tree-indent-unit {
|
||||||
|
width: 7px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1326,7 +1326,16 @@ export default {
|
|||||||
// console.log("22222", res.data.data.stageList);
|
// console.log("22222", res.data.data.stageList);
|
||||||
let leng = res.data.data.stageList.length;
|
let leng = res.data.data.stageList.length;
|
||||||
if (leng > 0) {
|
if (leng > 0) {
|
||||||
//获取任务列表
|
//后加选择了阶段id
|
||||||
|
// if(state.chooseStageId!==null){
|
||||||
|
// let final = res.data.data.stageList.find((item)=>item.id==state.chooseStageId)
|
||||||
|
// getTableData(final)
|
||||||
|
// }else{
|
||||||
|
// //获取任务列表
|
||||||
|
// let arr = res.data.data.stageList[0].taskList;
|
||||||
|
// console.log("任务列表", arr);
|
||||||
|
// getTableData(arr);
|
||||||
|
// }
|
||||||
let arr = res.data.data.stageList[0].taskList;
|
let arr = res.data.data.stageList[0].taskList;
|
||||||
console.log("任务列表", arr);
|
console.log("任务列表", arr);
|
||||||
getTableData(arr);
|
getTableData(arr);
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user