From cde41517836da5403165b2f962ac842aa921fe95 Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 25 May 2026 15:33:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E8=AE=BE=E5=A4=87=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=B8=80=E4=B8=AAcate=E7=9A=84=E7=AD=9B=E9=80=89=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/em/equipment.vue | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/views/em/equipment.vue b/src/views/em/equipment.vue index c96e9958..05337b33 100644 --- a/src/views/em/equipment.vue +++ b/src/views/em/equipment.vue @@ -7,8 +7,11 @@
+ :show-all-levels="false" @change="handleQuery" style="width:180px"> + + +
@@ -38,7 +41,7 @@ - + @@ -195,6 +198,7 @@ export default { data() { return { runningStateEnum, + cateOptions:[], deptOptions: [], dialog: { save: false, @@ -247,9 +251,16 @@ export default { }; }, mounted() { - this.getDept() + this.getDept(); + this.getCateOptions(); }, methods: { + getCateOptions() { + let that = this; + that.$API.em.ecate.list.req({page:0,type:10}).then(res => { + that.cateOptions = res; + }) + }, //表格选择后回调事件 selectionChange(selection) { this.selectiones = selection;