diff --git a/src/assets/js/data_dictionary.js b/src/assets/js/data_dictionary.js index aa1b810..10dd289 100644 --- a/src/assets/js/data_dictionary.js +++ b/src/assets/js/data_dictionary.js @@ -6,7 +6,7 @@ import { getDepartmentTree, getLevelsCorp, getElectronicFenceTree, - getListSelectTree, + getListSelectTree, getDepartmentzTree } from "@/request/data_dictionary.js"; import { ref } from "vue"; @@ -384,6 +384,11 @@ export const layoutFnGetDepartmentTree = async (params) => { const resData = await getDepartmentTree(params); return ref(JSON.parse(resData.zTreeNodes)); }; +// 部门树2 +export const layoutFnGetDepartmentzTree = async (params) => { + const resData = await getDepartmentzTree(params); + return ref(JSON.parse(resData.zTreeNodes)); +}; // 电子围栏树 export const layoutFnGetElectronicFenceTree = async (params) => { const resData = await getElectronicFenceTree(params); diff --git a/src/components/department/index.vue b/src/components/department/index.vue index 374f9ec..d18fa99 100644 --- a/src/components/department/index.vue +++ b/src/components/department/index.vue @@ -18,7 +18,7 @@ diff --git a/src/components/tooltip_img/index.vue b/src/components/tooltip_img/index.vue index 2feaa3c..275579d 100644 --- a/src/components/tooltip_img/index.vue +++ b/src/components/tooltip_img/index.vue @@ -6,7 +6,9 @@ v-viewer v-for="item in imgs" :key="item.IMGFILES_ID" - :src="VITE_FILE_URL + item.FILEPATH" + :src=" + item.FILEPATH ? VITE_FILE_URL + item.FILEPATH : VITE_FILE_URL + item + " width="100" height="100" alt="" diff --git a/src/request/data_dictionary.js b/src/request/data_dictionary.js index 0084104..e2cf046 100644 --- a/src/request/data_dictionary.js +++ b/src/request/data_dictionary.js @@ -39,12 +39,18 @@ export const getUserListAllByCorp = (params) => loading: false, ...params, }); -// 部门树 +// 部门树 有限制只有主账号能选子集 export const getDepartmentTree = (params) => post("/department/listTree", { loading: false, ...params, }); +// 部门树 +export const getDepartmentzTree = (params) => + post("/department/listzTree", { + loading: false, + ...params, + }); // 电子围栏树 export const getElectronicFenceTree = (params) => post("/electronicfence/listTree", { diff --git a/src/views/safety_meeting/meeting/add.vue b/src/views/safety_meeting/meeting/add.vue index 66108c7..c1ec217 100644 --- a/src/views/safety_meeting/meeting/add.vue +++ b/src/views/safety_meeting/meeting/add.vue @@ -91,6 +91,13 @@ :value="item.USER_ID" /> + + {{ item.USER_ID.length > 0 ? "取消所有选中" : "全选" }} + + + 安全例会附件 + + + + + +
@@ -125,9 +146,11 @@ diff --git a/src/views/safety_meeting/meeting/view.vue b/src/views/safety_meeting/meeting/view.vue index 6011eb8..c0cdb36 100644 --- a/src/views/safety_meeting/meeting/view.vue +++ b/src/views/safety_meeting/meeting/view.vue @@ -15,21 +15,7 @@ {{ info.PROMISE_TERM_END }} - 承诺人 - - - - 被承诺人 + 涉及人 @@ -68,7 +50,6 @@ import { reactive, ref } from "vue"; import { getAdministrationView } from "@/request/security_commitment_pro.js"; import { useRoute } from "vue-router"; -import ViewInfo from "../template/components/view.vue"; import { uniqBy } from "lodash-es"; const route = useRoute();