feat✨: 1.对接全域布控下菜单的增删查改功能,以及用户操作流程优化。2.对接人力情报采集系统采集流转列表,搜索,新增接口
This commit is contained in:
@ -60,20 +60,28 @@
|
||||
<DictTag :tag="false" :value="row.czYq" :options="D_GS_BK_CZYQ" />
|
||||
</template>
|
||||
<template #czJsdwdm="{ row }">
|
||||
<div>{{ deptList.find(item => item.id == row.czJsdwdm)?.label || '未知单位' }}</div>
|
||||
<div>
|
||||
{{
|
||||
deptList.find((item) => item.id == row.czJsdwdm)?.label ||
|
||||
"未知单位"
|
||||
}}
|
||||
</div>
|
||||
</template>
|
||||
<!-- 操作 -->
|
||||
<template #controls="{ row }">
|
||||
<el-button size="small" @click="editControl('edit', row)"
|
||||
<el-button
|
||||
v-if="row.bkZt == '01' || row.bkZt == '03' || row.bkZt == '06'"
|
||||
size="small"
|
||||
@click="editControl('edit', row)"
|
||||
>编辑</el-button
|
||||
>
|
||||
<el-button
|
||||
v-if="row.bkZt == '01'"
|
||||
v-if="row.bkZt == '01' || row.bkZt == '03' || row.bkZt == '06'"
|
||||
size="small"
|
||||
@click="openDetail(row)"
|
||||
>送审</el-button
|
||||
>
|
||||
<el-button size="small" @click="addEdit('detail', row)"
|
||||
<el-button size="small" @click="info('detail', row)"
|
||||
>详情</el-button
|
||||
>
|
||||
</template>
|
||||
@ -105,11 +113,10 @@
|
||||
</div>
|
||||
|
||||
<!-- 详情 -->
|
||||
<DetailForm ref="detailDiloag" />
|
||||
<MyControlInfo ref="myControlInfoRef" />
|
||||
<!-- 发起布控 -->
|
||||
<SendControl ref="sendControlRef"></SendControl>
|
||||
<PersonNum ref="personNumRef"></PersonNum>
|
||||
|
||||
<!-- 侧边栏 -->
|
||||
<DrawerAreaModel ref="drawerModelRef"></DrawerAreaModel>
|
||||
</div>
|
||||
@ -120,13 +127,15 @@ import PageTitle from "@/components/aboutTable/PageTitle.vue";
|
||||
import MyTable from "@/components/aboutTable/MyTable.vue";
|
||||
import Pages from "@/components/aboutTable/Pages.vue";
|
||||
import Search from "@/components/aboutTable/Search.vue";
|
||||
import DetailForm from "./components/detailForm.vue";
|
||||
import MyControlInfo from "../MyControlInfo/components/sendControl.vue";
|
||||
import SendControl from "./components/sendControl.vue";
|
||||
import PersonNum from "./components/personNum.vue";
|
||||
import DrawerAreaModel from "./components/drawerAreaModel.vue";
|
||||
|
||||
import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js";
|
||||
import { reactive, ref, onMounted, getCurrentInstance } from "vue";
|
||||
import { ElMessage } from "element-plus";
|
||||
|
||||
import { selectUserDeptPage } from "@/api/user-manage";
|
||||
const { proxy } = getCurrentInstance();
|
||||
const {
|
||||
@ -151,6 +160,7 @@ const searchBox = ref(); //搜索框
|
||||
const sendControlRef = ref();
|
||||
const personNumRef = ref();
|
||||
const autoId = ref();
|
||||
const myControlInfoRef = ref(null);
|
||||
const searchConfiger = ref([
|
||||
{
|
||||
label: "布控等级",
|
||||
@ -253,12 +263,10 @@ const pageData = reactive({
|
||||
]
|
||||
});
|
||||
|
||||
|
||||
onMounted(() => {
|
||||
getList();
|
||||
tabHeightFn();
|
||||
getdepartmentList();
|
||||
|
||||
});
|
||||
|
||||
// 获取部门列表
|
||||
@ -268,11 +276,9 @@ const getdepartmentList = () => {
|
||||
label: item.deptName,
|
||||
value: item.deptId
|
||||
}));
|
||||
|
||||
});
|
||||
};
|
||||
const openDetail = (row) => {
|
||||
console.log(row);
|
||||
autoId.value = row.id;
|
||||
dialogVisible.value = true;
|
||||
};
|
||||
@ -316,8 +322,8 @@ const getList = (val) => {
|
||||
};
|
||||
|
||||
// 详情
|
||||
const addEdit = (type, row) => {
|
||||
detailDiloag.value.init(type, row);
|
||||
const info = (type, row) => {
|
||||
myControlInfoRef.value.init(type, row);
|
||||
};
|
||||
|
||||
//送审
|
||||
|
Reference in New Issue
Block a user