From 2e7f611bdfb28fdc16e2bc4fc19498851fe364d1 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 24 七月 2023 09:46:54 +0800
Subject: [PATCH] 动态组件

---
 Source/UBCS-WEB/src/components/Tree/classifyTrees.vue |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue b/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue
index 1a2d201..c40093b 100644
--- a/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue
+++ b/Source/UBCS-WEB/src/components/Tree/classifyTrees.vue
@@ -628,13 +628,13 @@
         },
         stopLose: {
           tip: "妯℃澘鍙湁鍙戝竷鐘舵�佹墠鑳借浣跨敤锛屾槸鍚︾‘瀹氬仠鐢紵",
-          typeText: "鍋滅敤/澶辨晥",
+          typeText: "鍋滅敤",
           funAPi: stopLose,
           load: 'stopLoseLoad'
         },
         startRelease: {
           tip: "鏄惁纭畾鍚敤/鍙戝竷杩欎釜妯℃澘锛屾ā鏉垮彧鏈夊彂甯冪姸鎬佹墠鑳借浣跨敤锛屾槸鍚︾户缁紵",
-          typeText: "鍚敤/鍙戝竷",
+          typeText: "鍚敤",
           funAPi: startRelease,
           load: 'startReleaseLoad'
         }
@@ -900,9 +900,9 @@
         const masterParameter={
           'conditionMap[name]':this.SelectFInd
         }
-        this.btmdefaultRend(masterParameter)
-        this.SelectValue=""
-        this.SelectFInd=""
+        this.btmdefaultRend(masterParameter);
+        this.SelectValue="";
+        this.SelectFInd="";
       }
     },
     //涓氬姟绫诲瀷澶氶��
@@ -914,20 +914,19 @@
     //涓氬姟绫诲瀷鎺ュ彛
     btmdefaultRend(masterParameter){
       referDataGrid({valueField:'id',isMuti:'false',...masterParameter}).then(res=>{
-        // console.log(res)
         this.BtmData=res.data.data.records
       })
     },
     //瀛愪紶鐖�
     MasterHandler(val){
-      this.TreeList=val
+      this.TreeList=val;
     },
     //琛屽崟閫変簨浠�
     selectHandle(selection,row){
       this.crudOid=row.oid;
       this.crudLCStatus=row.lcStatus;
       this.crudArray=selection;
-      gridCodeClassifyTemplateAttr({'conditionMap[classifyTemplateOid]': this.Formlist[0].oid}).then(res => {
+      gridCodeClassifyTemplateAttr({'conditionMap[classifyTemplateOid]': row.oid}).then(res => {
         this.ProData = res.data.data;
       }).catch(res => {
         this.$message.error(res)

--
Gitblit v1.9.3