From 06c3e107f02cdd64b60ad54c59363365845219af Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 15 Aug 2024 15:25:34 +0800 Subject: [PATCH] fix:eq --- src/views/em/equipment_form.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/em/equipment_form.vue b/src/views/em/equipment_form.vue index 94f1d3fb..a6ba7a4c 100644 --- a/src/views/em/equipment_form.vue +++ b/src/views/em/equipment_form.vue @@ -203,7 +203,6 @@ export default { eqtype:{ type:String, default: '' - } }, }, data() { @@ -268,8 +267,9 @@ export default { }, methods: { getCateOptions() { - this.$API.em.ecate.list.req({page:0}).then(res => { - this.cateOptions = res + let that = this; + that.$API.em.ecate.list.req({page:0,type:that.eqtype}).then(res => { + that.cateOptions = res; }) }, getBaseInfo() {