diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 01d46ac..2df94b9 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -143,3 +143,7 @@
right: 15px;
z-index: 999;
}
+
+.short-input {
+ width: 160px;
+}
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 01d46ac..2df94b9 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -143,3 +143,7 @@
right: 15px;
z-index: 999;
}
+
+.short-input {
+ width: 160px;
+}
diff --git a/src/components/SearchArea/SearchItem.vue b/src/components/SearchArea/SearchItem.vue
index dc53b08..185287a 100644
--- a/src/components/SearchArea/SearchItem.vue
+++ b/src/components/SearchArea/SearchItem.vue
@@ -1,6 +1,4 @@
-
+
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 01d46ac..2df94b9 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -143,3 +143,7 @@
right: 15px;
z-index: 999;
}
+
+.short-input {
+ width: 160px;
+}
diff --git a/src/components/SearchArea/SearchItem.vue b/src/components/SearchArea/SearchItem.vue
index dc53b08..185287a 100644
--- a/src/components/SearchArea/SearchItem.vue
+++ b/src/components/SearchArea/SearchItem.vue
@@ -1,6 +1,4 @@
-
+
diff --git a/src/views/device/standardEquipment/components/listApply/listPage.vue b/src/views/device/standardEquipment/components/listApply/listPage.vue
index 6279c49..092e3f2 100644
--- a/src/views/device/standardEquipment/components/listApply/listPage.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPage.vue
@@ -31,7 +31,9 @@
default: '', // 审批状态 ‘’代表全部
},
})
-const emit = defineEmits(['setData']) // 关闭
+const emit = defineEmits(['setData'])
+const { proxy } = getCurrentInstance() as any
+// 关闭
// 查询条件
const listQuery: Ref = ref({
applyNo: '', // 申请编号
@@ -410,6 +412,14 @@
}
handleClose()
}
+
+const permUrl = {
+ edit: '/standard/changeApply/edit', // 编辑
+ agree: '/standard/changeApply/agree', // 同意
+ reject: '/standard/changeApply/reject', // 驳回 拒绝
+ cancel: '/standard/changeApply/cancel', // 取消
+ delete: '/standard/changeApply/delete', // 删除
+}
@@ -484,37 +494,37 @@
查看
同意
驳回
拒绝
取消
删除
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 01d46ac..2df94b9 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -143,3 +143,7 @@
right: 15px;
z-index: 999;
}
+
+.short-input {
+ width: 160px;
+}
diff --git a/src/components/SearchArea/SearchItem.vue b/src/components/SearchArea/SearchItem.vue
index dc53b08..185287a 100644
--- a/src/components/SearchArea/SearchItem.vue
+++ b/src/components/SearchArea/SearchItem.vue
@@ -1,6 +1,4 @@
-
+
diff --git a/src/views/device/standardEquipment/components/listApply/listPage.vue b/src/views/device/standardEquipment/components/listApply/listPage.vue
index 6279c49..092e3f2 100644
--- a/src/views/device/standardEquipment/components/listApply/listPage.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPage.vue
@@ -31,7 +31,9 @@
default: '', // 审批状态 ‘’代表全部
},
})
-const emit = defineEmits(['setData']) // 关闭
+const emit = defineEmits(['setData'])
+const { proxy } = getCurrentInstance() as any
+// 关闭
// 查询条件
const listQuery: Ref = ref({
applyNo: '', // 申请编号
@@ -410,6 +412,14 @@
}
handleClose()
}
+
+const permUrl = {
+ edit: '/standard/changeApply/edit', // 编辑
+ agree: '/standard/changeApply/agree', // 同意
+ reject: '/standard/changeApply/reject', // 驳回 拒绝
+ cancel: '/standard/changeApply/cancel', // 取消
+ delete: '/standard/changeApply/delete', // 删除
+}
@@ -484,37 +494,37 @@
查看
同意
驳回
拒绝
取消
删除
diff --git a/src/views/device/standardEquipment/components/listApply/userListDialog.vue b/src/views/device/standardEquipment/components/listApply/userListDialog.vue
index 7e02e2f..cfad14e 100644
--- a/src/views/device/standardEquipment/components/listApply/userListDialog.vue
+++ b/src/views/device/standardEquipment/components/listApply/userListDialog.vue
@@ -122,7 +122,7 @@
-
+
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 01d46ac..2df94b9 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -143,3 +143,7 @@
right: 15px;
z-index: 999;
}
+
+.short-input {
+ width: 160px;
+}
diff --git a/src/components/SearchArea/SearchItem.vue b/src/components/SearchArea/SearchItem.vue
index dc53b08..185287a 100644
--- a/src/components/SearchArea/SearchItem.vue
+++ b/src/components/SearchArea/SearchItem.vue
@@ -1,6 +1,4 @@
-
+
diff --git a/src/views/device/standardEquipment/components/listApply/listPage.vue b/src/views/device/standardEquipment/components/listApply/listPage.vue
index 6279c49..092e3f2 100644
--- a/src/views/device/standardEquipment/components/listApply/listPage.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPage.vue
@@ -31,7 +31,9 @@
default: '', // 审批状态 ‘’代表全部
},
})
-const emit = defineEmits(['setData']) // 关闭
+const emit = defineEmits(['setData'])
+const { proxy } = getCurrentInstance() as any
+// 关闭
// 查询条件
const listQuery: Ref = ref({
applyNo: '', // 申请编号
@@ -410,6 +412,14 @@
}
handleClose()
}
+
+const permUrl = {
+ edit: '/standard/changeApply/edit', // 编辑
+ agree: '/standard/changeApply/agree', // 同意
+ reject: '/standard/changeApply/reject', // 驳回 拒绝
+ cancel: '/standard/changeApply/cancel', // 取消
+ delete: '/standard/changeApply/delete', // 删除
+}
@@ -484,37 +494,37 @@
查看
同意
驳回
拒绝
取消
删除
diff --git a/src/views/device/standardEquipment/components/listApply/userListDialog.vue b/src/views/device/standardEquipment/components/listApply/userListDialog.vue
index 7e02e2f..cfad14e 100644
--- a/src/views/device/standardEquipment/components/listApply/userListDialog.vue
+++ b/src/views/device/standardEquipment/components/listApply/userListDialog.vue
@@ -122,7 +122,7 @@
-
+
diff --git a/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue b/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
index 6024925..a09a889 100644
--- a/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
+++ b/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
@@ -100,14 +100,14 @@
-
+
-
+
-import { de } from 'element-plus/es/locale'
-
const inputslot = ref(null)
onMounted(() => {
diff --git a/src/views/device/standardEquipment/components/listApply/all.vue b/src/views/device/standardEquipment/components/listApply/all.vue
index e5eef0f..b010f26 100644
--- a/src/views/device/standardEquipment/components/listApply/all.vue
+++ b/src/views/device/standardEquipment/components/listApply/all.vue
@@ -13,5 +13,5 @@
-
+
diff --git a/src/views/device/standardEquipment/components/listApply/listPage.vue b/src/views/device/standardEquipment/components/listApply/listPage.vue
index 6279c49..092e3f2 100644
--- a/src/views/device/standardEquipment/components/listApply/listPage.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPage.vue
@@ -31,7 +31,9 @@
default: '', // 审批状态 ‘’代表全部
},
})
-const emit = defineEmits(['setData']) // 关闭
+const emit = defineEmits(['setData'])
+const { proxy } = getCurrentInstance() as any
+// 关闭
// 查询条件
const listQuery: Ref = ref({
applyNo: '', // 申请编号
@@ -410,6 +412,14 @@
}
handleClose()
}
+
+const permUrl = {
+ edit: '/standard/changeApply/edit', // 编辑
+ agree: '/standard/changeApply/agree', // 同意
+ reject: '/standard/changeApply/reject', // 驳回 拒绝
+ cancel: '/standard/changeApply/cancel', // 取消
+ delete: '/standard/changeApply/delete', // 删除
+}
@@ -484,37 +494,37 @@
查看
同意
驳回
拒绝
取消
删除
diff --git a/src/views/device/standardEquipment/components/listApply/userListDialog.vue b/src/views/device/standardEquipment/components/listApply/userListDialog.vue
index 7e02e2f..cfad14e 100644
--- a/src/views/device/standardEquipment/components/listApply/userListDialog.vue
+++ b/src/views/device/standardEquipment/components/listApply/userListDialog.vue
@@ -122,7 +122,7 @@
-
+
diff --git a/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue b/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
index 6024925..a09a889 100644
--- a/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
+++ b/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
@@ -100,14 +100,14 @@
-
+
-
+
-
+
-
+
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 01d46ac..2df94b9 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -143,3 +143,7 @@
right: 15px;
z-index: 999;
}
+
+.short-input {
+ width: 160px;
+}
diff --git a/src/components/SearchArea/SearchItem.vue b/src/components/SearchArea/SearchItem.vue
index dc53b08..185287a 100644
--- a/src/components/SearchArea/SearchItem.vue
+++ b/src/components/SearchArea/SearchItem.vue
@@ -1,6 +1,4 @@
-
+
diff --git a/src/views/device/standardEquipment/components/listApply/listPage.vue b/src/views/device/standardEquipment/components/listApply/listPage.vue
index 6279c49..092e3f2 100644
--- a/src/views/device/standardEquipment/components/listApply/listPage.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPage.vue
@@ -31,7 +31,9 @@
default: '', // 审批状态 ‘’代表全部
},
})
-const emit = defineEmits(['setData']) // 关闭
+const emit = defineEmits(['setData'])
+const { proxy } = getCurrentInstance() as any
+// 关闭
// 查询条件
const listQuery: Ref = ref({
applyNo: '', // 申请编号
@@ -410,6 +412,14 @@
}
handleClose()
}
+
+const permUrl = {
+ edit: '/standard/changeApply/edit', // 编辑
+ agree: '/standard/changeApply/agree', // 同意
+ reject: '/standard/changeApply/reject', // 驳回 拒绝
+ cancel: '/standard/changeApply/cancel', // 取消
+ delete: '/standard/changeApply/delete', // 删除
+}
@@ -484,37 +494,37 @@
查看
同意
驳回
拒绝
取消
删除
diff --git a/src/views/device/standardEquipment/components/listApply/userListDialog.vue b/src/views/device/standardEquipment/components/listApply/userListDialog.vue
index 7e02e2f..cfad14e 100644
--- a/src/views/device/standardEquipment/components/listApply/userListDialog.vue
+++ b/src/views/device/standardEquipment/components/listApply/userListDialog.vue
@@ -122,7 +122,7 @@
-
+
diff --git a/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue b/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
index 6024925..a09a889 100644
--- a/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
+++ b/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
@@ -100,14 +100,14 @@
-
+
-
+
-
+
-
+
diff --git a/src/views/device/standardEquipment/components/standardList/userListDialog.vue b/src/views/device/standardEquipment/components/standardList/userListDialog.vue
index 7e02e2f..cfad14e 100644
--- a/src/views/device/standardEquipment/components/standardList/userListDialog.vue
+++ b/src/views/device/standardEquipment/components/standardList/userListDialog.vue
@@ -122,7 +122,7 @@
-
+
diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss
index 01d46ac..2df94b9 100644
--- a/src/assets/styles/globals.scss
+++ b/src/assets/styles/globals.scss
@@ -143,3 +143,7 @@
right: 15px;
z-index: 999;
}
+
+.short-input {
+ width: 160px;
+}
diff --git a/src/components/SearchArea/SearchItem.vue b/src/components/SearchArea/SearchItem.vue
index dc53b08..185287a 100644
--- a/src/components/SearchArea/SearchItem.vue
+++ b/src/components/SearchArea/SearchItem.vue
@@ -1,6 +1,4 @@
-
+
diff --git a/src/views/device/standardEquipment/components/listApply/listPage.vue b/src/views/device/standardEquipment/components/listApply/listPage.vue
index 6279c49..092e3f2 100644
--- a/src/views/device/standardEquipment/components/listApply/listPage.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPage.vue
@@ -31,7 +31,9 @@
default: '', // 审批状态 ‘’代表全部
},
})
-const emit = defineEmits(['setData']) // 关闭
+const emit = defineEmits(['setData'])
+const { proxy } = getCurrentInstance() as any
+// 关闭
// 查询条件
const listQuery: Ref = ref({
applyNo: '', // 申请编号
@@ -410,6 +412,14 @@
}
handleClose()
}
+
+const permUrl = {
+ edit: '/standard/changeApply/edit', // 编辑
+ agree: '/standard/changeApply/agree', // 同意
+ reject: '/standard/changeApply/reject', // 驳回 拒绝
+ cancel: '/standard/changeApply/cancel', // 取消
+ delete: '/standard/changeApply/delete', // 删除
+}
@@ -484,37 +494,37 @@
查看
同意
驳回
拒绝
取消
删除
diff --git a/src/views/device/standardEquipment/components/listApply/userListDialog.vue b/src/views/device/standardEquipment/components/listApply/userListDialog.vue
index 7e02e2f..cfad14e 100644
--- a/src/views/device/standardEquipment/components/listApply/userListDialog.vue
+++ b/src/views/device/standardEquipment/components/listApply/userListDialog.vue
@@ -122,7 +122,7 @@
-
+
diff --git a/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue b/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
index 6024925..a09a889 100644
--- a/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
+++ b/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
@@ -100,14 +100,14 @@
-
+
-
+
-
+
-
+
diff --git a/src/views/device/standardEquipment/components/standardList/userListDialog.vue b/src/views/device/standardEquipment/components/standardList/userListDialog.vue
index 7e02e2f..cfad14e 100644
--- a/src/views/device/standardEquipment/components/standardList/userListDialog.vue
+++ b/src/views/device/standardEquipment/components/standardList/userListDialog.vue
@@ -122,7 +122,7 @@
-
+
diff --git a/src/views/device/standardEquipment/components/standardList/verificationDialog.vue b/src/views/device/standardEquipment/components/standardList/verificationDialog.vue
index 8f6499b..5c6209b 100644
--- a/src/views/device/standardEquipment/components/standardList/verificationDialog.vue
+++ b/src/views/device/standardEquipment/components/standardList/verificationDialog.vue
@@ -113,14 +113,14 @@
-
+
-
+
-import { de } from 'element-plus/es/locale'
-
const inputslot = ref(null)
onMounted(() => {
diff --git a/src/views/device/standardEquipment/components/listApply/all.vue b/src/views/device/standardEquipment/components/listApply/all.vue
index e5eef0f..b010f26 100644
--- a/src/views/device/standardEquipment/components/listApply/all.vue
+++ b/src/views/device/standardEquipment/components/listApply/all.vue
@@ -13,5 +13,5 @@
-
+
diff --git a/src/views/device/standardEquipment/components/listApply/listPage.vue b/src/views/device/standardEquipment/components/listApply/listPage.vue
index 6279c49..092e3f2 100644
--- a/src/views/device/standardEquipment/components/listApply/listPage.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPage.vue
@@ -31,7 +31,9 @@
default: '', // 审批状态 ‘’代表全部
},
})
-const emit = defineEmits(['setData']) // 关闭
+const emit = defineEmits(['setData'])
+const { proxy } = getCurrentInstance() as any
+// 关闭
// 查询条件
const listQuery: Ref = ref({
applyNo: '', // 申请编号
@@ -410,6 +412,14 @@
}
handleClose()
}
+
+const permUrl = {
+ edit: '/standard/changeApply/edit', // 编辑
+ agree: '/standard/changeApply/agree', // 同意
+ reject: '/standard/changeApply/reject', // 驳回 拒绝
+ cancel: '/standard/changeApply/cancel', // 取消
+ delete: '/standard/changeApply/delete', // 删除
+}
@@ -484,37 +494,37 @@
查看
同意
驳回
拒绝
取消
删除
diff --git a/src/views/device/standardEquipment/components/listApply/userListDialog.vue b/src/views/device/standardEquipment/components/listApply/userListDialog.vue
index 7e02e2f..cfad14e 100644
--- a/src/views/device/standardEquipment/components/listApply/userListDialog.vue
+++ b/src/views/device/standardEquipment/components/listApply/userListDialog.vue
@@ -122,7 +122,7 @@
-
+
diff --git a/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue b/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
index 6024925..a09a889 100644
--- a/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
+++ b/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
@@ -100,14 +100,14 @@
-
+
-
+
-
+
-
+
diff --git a/src/views/device/standardEquipment/components/standardList/userListDialog.vue b/src/views/device/standardEquipment/components/standardList/userListDialog.vue
index 7e02e2f..cfad14e 100644
--- a/src/views/device/standardEquipment/components/standardList/userListDialog.vue
+++ b/src/views/device/standardEquipment/components/standardList/userListDialog.vue
@@ -122,7 +122,7 @@
-
+
diff --git a/src/views/device/standardEquipment/components/standardList/verificationDialog.vue b/src/views/device/standardEquipment/components/standardList/verificationDialog.vue
index 8f6499b..5c6209b 100644
--- a/src/views/device/standardEquipment/components/standardList/verificationDialog.vue
+++ b/src/views/device/standardEquipment/components/standardList/verificationDialog.vue
@@ -113,14 +113,14 @@
-
+
-
+
-
+
-import { de } from 'element-plus/es/locale'
-
const inputslot = ref(null)
onMounted(() => {
diff --git a/src/views/device/standardEquipment/components/listApply/all.vue b/src/views/device/standardEquipment/components/listApply/all.vue
index e5eef0f..b010f26 100644
--- a/src/views/device/standardEquipment/components/listApply/all.vue
+++ b/src/views/device/standardEquipment/components/listApply/all.vue
@@ -13,5 +13,5 @@
-
+
diff --git a/src/views/device/standardEquipment/components/listApply/listPage.vue b/src/views/device/standardEquipment/components/listApply/listPage.vue
index 6279c49..092e3f2 100644
--- a/src/views/device/standardEquipment/components/listApply/listPage.vue
+++ b/src/views/device/standardEquipment/components/listApply/listPage.vue
@@ -31,7 +31,9 @@
default: '', // 审批状态 ‘’代表全部
},
})
-const emit = defineEmits(['setData']) // 关闭
+const emit = defineEmits(['setData'])
+const { proxy } = getCurrentInstance() as any
+// 关闭
// 查询条件
const listQuery: Ref = ref({
applyNo: '', // 申请编号
@@ -410,6 +412,14 @@
}
handleClose()
}
+
+const permUrl = {
+ edit: '/standard/changeApply/edit', // 编辑
+ agree: '/standard/changeApply/agree', // 同意
+ reject: '/standard/changeApply/reject', // 驳回 拒绝
+ cancel: '/standard/changeApply/cancel', // 取消
+ delete: '/standard/changeApply/delete', // 删除
+}
@@ -484,37 +494,37 @@
查看
同意
驳回
拒绝
取消
删除
diff --git a/src/views/device/standardEquipment/components/listApply/userListDialog.vue b/src/views/device/standardEquipment/components/listApply/userListDialog.vue
index 7e02e2f..cfad14e 100644
--- a/src/views/device/standardEquipment/components/listApply/userListDialog.vue
+++ b/src/views/device/standardEquipment/components/listApply/userListDialog.vue
@@ -122,7 +122,7 @@
-
+
diff --git a/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue b/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
index 6024925..a09a889 100644
--- a/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
+++ b/src/views/device/standardEquipment/components/standardList/equipmentDialog.vue
@@ -100,14 +100,14 @@
-
+
-
+
-
+
-
+
diff --git a/src/views/device/standardEquipment/components/standardList/userListDialog.vue b/src/views/device/standardEquipment/components/standardList/userListDialog.vue
index 7e02e2f..cfad14e 100644
--- a/src/views/device/standardEquipment/components/standardList/userListDialog.vue
+++ b/src/views/device/standardEquipment/components/standardList/userListDialog.vue
@@ -122,7 +122,7 @@
-
+
diff --git a/src/views/device/standardEquipment/components/standardList/verificationDialog.vue b/src/views/device/standardEquipment/components/standardList/verificationDialog.vue
index 8f6499b..5c6209b 100644
--- a/src/views/device/standardEquipment/components/standardList/verificationDialog.vue
+++ b/src/views/device/standardEquipment/components/standardList/verificationDialog.vue
@@ -113,14 +113,14 @@
-
+
-
+
-
+
(0)
const select = ref()
const columns = ref([
- { text: '人员编号', value: 'staffNo', width: '160', fixed: true },
- { text: '姓名', value: 'name', fixed: true },
- { text: '所在部门', value: 'deptId' },
+ { text: '人员编号', value: 'staffNo', align: 'center', width: '160', fixed: true },
+ { text: '姓名', value: 'name', align: 'center', fixed: true },
{ text: '学历', value: 'education', align: 'center' },
{ text: '性别', value: 'sex', align: 'center' },
- { text: '工作部门', value: 'deptId', align: 'center' },
- { text: '技术职务', value: 'technologyJob', align: 'center' },
- { text: '行政职务', value: 'administrationJob', align: 'center' },
- { text: '计量专业', value: 'major', align: 'center' },
- { text: '证书号', value: 'verifierCertificateNo', align: 'center' },
- { text: '证书有效日期', value: 'certificateDate', align: 'center' },
- { text: '技术考核', value: 'technologyExam', align: 'center' },
+ { text: '工作部门', value: 'deptId', align: 'center', width: '120' },
+ { text: '技术职务', value: 'technologyJob', align: 'center', width: '120' },
+ { text: '行政职务', value: 'administrationJob', align: 'center', width: '100' },
+ { text: '计量专业', value: 'major', align: 'center', width: '100' },
+ { text: '证书号', value: 'verifierCertificateNo', align: 'center', width: '120' },
+ { text: '证书有效日期', value: 'certificateDate', align: 'center', width: '180' },
+ { text: '技术考核', value: 'technologyExam', align: 'center', width: '100' },
])
// 获取部门
const deptProps = reactive({
@@ -49,9 +48,16 @@
// 获取数据列表
const fetchData = () => {
select.value = -1
+ const sexMap = {
+ 1: '男',
+ 2: '女',
+ }
getStaffList(listQuery.value).then((res) => {
if (res.code === 200) {
- list.value = res.data.records
+ list.value = res.data.records.map((item: { sex: string | number }) => {
+ item.sex = sexMap[item.sex as keyof typeof sexMap]
+ return item
+ })
total.value = parseInt(res.data.total)
}
})
@@ -117,13 +123,13 @@
-
+
-
+
-
+
@@ -168,4 +174,8 @@
:deep(.el-radio__label) {
display: none;
}
+
+.tree-select {
+ width: 180px;
+}