From 64129833df01b628f6e37e42f8e545a69356eac1 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期五, 17 十一月 2023 10:19:37 +0800
Subject: [PATCH] 主题库属性校验基本信息展示

---
 Source/UBCS-WEB/src/components/Theme/ThemeClassifyTreeform.vue |   63 +++++++++++++++++++++++++------
 1 files changed, 50 insertions(+), 13 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTreeform.vue b/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTreeform.vue
index aaf7255..4a65f82 100644
--- a/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTreeform.vue
+++ b/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTreeform.vue
@@ -20,7 +20,7 @@
           <el-input style="width: 260px;margin-left: 15px" placeholder="杈撳叆鍊煎悗杩涜妯$硦鏌ヨ" v-model="SelectFInd"></el-input>
           <el-button size="small"  type="primary" plain @click="SelectFindeHandler" style="margin-left: 20px">鏌ヨ</el-button>
         </template>
-        <avue-crud :data="masterData" :option="Option" @row-click="masterSelect">
+        <avue-crud :data="masterData" :option="attrOption" @row-click="masterSelect">
           <template slot="radio" slot-scope="{row}">
             <el-radio v-model="masterRow" :label="row.$index" style="padding-left: 10px !important;">{{ '' }}
             </el-radio>
@@ -49,7 +49,7 @@
           <el-input style="width: 260px;margin-left: 15px" placeholder="杈撳叆鍊煎悗杩涜妯$硦鏌ヨ" v-model="SelectFInd"></el-input>
           <el-button size="small"  type="primary" plain @click="KeySelectFindeHandler" style="margin-left: 20px">鏌ヨ</el-button>
         </template>
-        <avue-crud :data="KeyData" :option="Option" @row-click="KeySelect">
+        <avue-crud :data="KeyData" :option="attrOption" @row-click="KeySelect">
           <template slot="radio" slot-scope="{row}">
             <el-radio v-model="masterRow" :label="row.$index" style="padding-left: 10px !important;">{{ '' }}
             </el-radio>
@@ -78,7 +78,7 @@
           <el-input style="width: 260px;margin-left: 15px" placeholder="杈撳叆鍊煎悗杩涜妯$硦鏌ヨ" v-model="SelectFInd"></el-input>
           <el-button size="small"  type="primary" plain @click="SimSelectFindeHandler" style="margin-left: 20px">鏌ヨ</el-button>
         </template>
-        <avue-crud :data="simData" :option="Option"@row-click="simSelect">
+        <avue-crud :data="simData" :option="attrOption"@row-click="simSelect">
           <template slot="radio" slot-scope="{row}">
             <el-radio v-model="masterRow" :label="row.$index" style="padding-left: 10px !important;">{{ '' }}
             </el-radio>
@@ -172,6 +172,7 @@
       ],
       SelectValue:'id',
       btmOption:{
+        columnBtn:false,
         addBtn:false,
         index:true,
         border:true,
@@ -193,8 +194,9 @@
           }
         ]
       },
-      Option:{
+      attrOption:{
         addBtn:false,
+        columnBtn:false,
         index:true,
         border:true,
         menu:false,
@@ -258,7 +260,7 @@
       option: {
         submitBtn:false,
         emptyBtn:false,
-
+        columnBtn:false,
         column: [
           {
             label: '涓婚搴�/鍒嗙被缂栧彿',
@@ -317,6 +319,23 @@
             labelWidth:128,
             disabled: true,
           },
+          {
+            label: '鏄惁鍙備笌鍏抽敭灞炴�ф牎楠�',
+            prop: 'isParticipateCheck',
+            type: 'switch',
+            activeColor: "#13ce66",
+            inactiveColor: "#ff4949",
+            labelWidth:160,
+            disabled: true,
+            dicData: [{
+              label: '鍚�',
+              value: 0
+            }, {
+              label: '鏄�',
+              value: 1
+            }
+            ]
+          }
         ]
       },
 
@@ -390,7 +409,22 @@
               focus: this.simFouce,
               readonly: true,
             },
-
+            {
+              label: '鏄惁鍙備笌鍏抽敭灞炴�ф牎楠�',
+              prop: 'isParticipateCheck',
+              type: 'switch',
+              activeColor: "#13ce66",
+              inactiveColor: "#ff4949",
+              labelWidth:160,
+              dicData: [{
+                label: '鍚�',
+                value: 0
+              }, {
+                label: '鏄�',
+                value: 1
+              }
+              ]
+            }
           ]
 
       }
@@ -399,7 +433,7 @@
   watch:{
     TreeFlag:{
       handler(newval,oldval){
-        console.log(newval)
+        // console.log(newval)
       }
     }
   },
@@ -461,7 +495,7 @@
     //缂栫爜瑙勫垯鏌ヨ
     SelectFindeHandler(){
       const masterParameter = {};
-      masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`;
+      masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd;
       this.MasterdefaultRend(masterParameter)
     },
     //缂栫爜瑙勫垯澶辩劍
@@ -496,6 +530,7 @@
         referType:'coderule',
         isMuti:'false',
         'conditionMap["lcstatus"]':'Released',
+        'limit':'-1',
         ...masterParameter
       }).then(res=>{
         this.masterData=res.data.records;
@@ -523,7 +558,7 @@
     //鍏抽敭灞炴�ф煡璇�
     KeySelectFindeHandler(){
       const masterParameter = {};
-      masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`;
+      masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd;
       this.KeydefaultRend(masterParameter)
     },
     //鍏抽敭灞炴�ф帴鍙�
@@ -532,6 +567,7 @@
         referType:'codekeyattrrepeat',
         isMuti:'false',
         'conditionMap["lcstatus"]':'Enabled',
+        'limit':'-1',
         ...masterParameter
       }).then(res=>{
         this.KeyData=res.data.records;
@@ -566,7 +602,7 @@
     //鐩镐技椤规煡璇�
     SimSelectFindeHandler(){
       const masterParameter = {};
-      masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`;
+      masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd;
       this.simdefaultRend(masterParameter)
     },
     //鐩镐技椤瑰閫�
@@ -582,6 +618,7 @@
         referType:'coderesemblerule',
         isMuti:'false',
         'conditionMap["lcstatus"]':'Enabled',
+        'limit':'-1',
         ...masterParameter
       }).then(res=>{
         this.simData=res.data.records;
@@ -601,7 +638,7 @@
       }else {
         this.BtmdialogVisible=false;
         this.btmSelectList=[]
-        this.$set(this.loneTreeNewForm,'btmTypeName',this.btmName ||this.btmOid)
+        this.$set(this.loneTreeNewForm,'btmTypeName',this.btmName ||this.btmId)
         this.$set(this.loneTreeNewForm,'btmTypeId',this.btmId)
         this.$emit('MasterHandler',this.loneTreeNewForm)
       }
@@ -609,7 +646,7 @@
     //涓氬姟绫诲瀷鏌ヨ
     BtmSelectFindeHandler(){
       const masterParameter = {};
-      masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`;
+      masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd;
       this.btmdefaultRend(masterParameter);
     },
     //涓氬姟绫诲瀷澶氶��
@@ -621,7 +658,7 @@
     },
     //涓氬姟绫诲瀷鎺ュ彛
     btmdefaultRend(masterParameter){
-      referDataGrid({valueField:'id',isMuti:'false',...masterParameter}).then(res=>{
+      referDataGrid({valueField:'id',isMuti:'false','limit':'-1',...masterParameter}).then(res=>{
         this.BtmData=res.data.data.records
       })
     }

--
Gitblit v1.9.3