多体系建设信息化条统-前端
祖安之光
2026-02-09 a7f16e7bfc7802777f7da404dcfe101483f38917
src/views/build/conpanyFunctionConsult/orgStructure/departManage/components/departDialog.vue
@@ -180,7 +180,7 @@
  }
  await getUserList(companyId)
  await getDepartList(companyId)
  await getSysClauseList()
  await getSysClauseList(companyId)
  state.title = type === 'add' ? '新增' : type ==='edit' ? '编辑' : '查看';
  if(type === 'edit' || type === 'view') {
    state.departList = state.departList.filter(i=>i.deptId !== value.deptId)
@@ -216,6 +216,7 @@
const getDeptList = async ()=>{
  await getDepartList(state.form.companyId)
  await getUserList(state.form.companyId)
  await getSysClauseList(state.form.companyId)
}
const getDepartList = async (companyId)=> {
@@ -230,8 +231,8 @@
  }
};
const getSysClauseList = async ()=> {
  const res = await getSysClause()
const getSysClauseList = async (companyId)=> {
  const res = await getSysClause({companyId: companyId})
  if(res.code == 200){
    state.sysClauseList = res.data.map(i=>{
      return {