From 9d8be8e7580ef577def96c852288a5a95eab4ea3 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期二, 11 七月 2023 19:22:53 +0800 Subject: [PATCH] 代码整合,前端代码打包 --- Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue b/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue index 38699eb..e8abccc 100644 --- a/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue +++ b/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue @@ -142,6 +142,15 @@ type: Array } }, + watch:{ + btmType:{ + handler(newval,oldval){ + console.log('鐩戝惉',newval,oldval) + }, + deep:true, + immediate:true + } + }, data() { return { form: {}, @@ -359,6 +368,12 @@ }, // 灞炴�ф睜鍔犺浇 attrRefOnLoad(){ + if (this.attrRef.queryNotIn != ''){ + this.attrRef.queryNotIn = ''; + this.btmType.attributes.forEach(item => { + this.attrRef.queryNotIn += (item.id + ",") + }) + } this.attrRef.loading = true; queryPage(this.attrRef.key,this.attrRef.queryNotIn,this.attrRef.page.currentPage, this.attrRef.page.pageSize).then(res => { const data = res.data.data; @@ -374,7 +389,7 @@ }, // 灞炴�ф睜妫�绱� attrRefSearch(form,done){ - this.attrRef.key = form.key; + this.attrRef.key = form.id; this.attrRefOnLoad(); done(); this.attrRef.key = null; -- Gitblit v1.9.3