|
|
@ -32,7 +32,7 @@ |
|
|
|
<el-form-item label="类别" prop="orgType"> |
|
|
|
<el-select v-model="queryParams.orgType" placeholder="部门类别" clearable style="width: 240px"> |
|
|
|
<el-option |
|
|
|
v-for="dict in sys_org_type" |
|
|
|
v-for="dict in dc_dept_attr" |
|
|
|
:key="dict.value" |
|
|
|
:label="dict.label" |
|
|
|
:value="dict.value" |
|
|
@ -78,7 +78,7 @@ |
|
|
|
<el-table-column prop="allName" label="全名" width="100"></el-table-column> |
|
|
|
<el-table-column prop="orgType" label="类型" width="100"> |
|
|
|
<template #default="scope"> |
|
|
|
<dict-tag :options="sys_org_type" :value="scope.row.orgType" /> |
|
|
|
<dict-tag :options="dc_dept_attr" :value="scope.row.orgType" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="orderNum" label="排序" width="100"></el-table-column> |
|
|
@ -131,7 +131,7 @@ |
|
|
|
<el-form-item label="类别" prop="orgType"> |
|
|
|
<el-select v-model="form.orgType" placeholder="部门类别" clearable style="width: 240px"> |
|
|
|
<el-option |
|
|
|
v-for="dict in sys_org_type" |
|
|
|
v-for="dict in dc_dept_attr" |
|
|
|
:key="dict.value" |
|
|
|
:label="dict.label" |
|
|
|
:value="dict.value" |
|
|
@ -186,7 +186,7 @@ |
|
|
|
import { listDept, getDept, delDept, addDept, updateDept, listDeptExcludeChild } from "@/api/system/dept"; |
|
|
|
|
|
|
|
const { proxy } = getCurrentInstance(); |
|
|
|
const { sys_normal_disable,sys_org_type } = proxy.useDict("sys_normal_disable","sys_org_type"); |
|
|
|
const { sys_normal_disable,dc_dept_attr } = proxy.useDict("sys_normal_disable","dc_dept_attr"); |
|
|
|
|
|
|
|
const deptList = ref([]); |
|
|
|
const open = ref(false); |
|
|
|