From db07ec48c8e748b28194fd7c64d635541b26e459 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 09 八月 2023 10:00:53 +0800
Subject: [PATCH] 主题库业务类型全查询

---
 Source/UBCS-WEB/src/components/Master/MasterTransfer.vue       |    3 
 Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue    |  104 ++++++++++----------
 Source/UBCS-WEB/src/components/Theme/ThemeClassifyTreeform.vue |    5 
 Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue    |   73 ++++++++------
 Source/UBCS-WEB/src/components/Master/MasterTree.vue           |  101 ++++++++++----------
 5 files changed, 150 insertions(+), 136 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Master/MasterTransfer.vue b/Source/UBCS-WEB/src/components/Master/MasterTransfer.vue
index 0088dc4..97a96c6 100644
--- a/Source/UBCS-WEB/src/components/Master/MasterTransfer.vue
+++ b/Source/UBCS-WEB/src/components/Master/MasterTransfer.vue
@@ -1,5 +1,6 @@
 <template>
-  <el-dialog :close-on-click-modal="false" :visible.sync="dialogPush" append-to-body style="width: 1550px; margin: auto" title="瀵煎嚭"
+  <el-dialog :close-on-click-modal="false" :visible.sync="dialogPush" append-to-body style="width: 1550px; margin: auto"
+             title="瀵煎嚭"
              @close="escHandler">
     <div style="margin-bottom: 20px;">
       <div>
diff --git a/Source/UBCS-WEB/src/components/Master/MasterTree.vue b/Source/UBCS-WEB/src/components/Master/MasterTree.vue
index f165261..73dc835 100644
--- a/Source/UBCS-WEB/src/components/Master/MasterTree.vue
+++ b/Source/UBCS-WEB/src/components/Master/MasterTree.vue
@@ -8,37 +8,37 @@
 
 <script>
 import {getTreeList} from "@/api/MasterData/master";
-import {TableData,MasterTable} from "@/api/GetItem";
+import {TableData, MasterTable} from "@/api/GetItem";
 
 export default {
   name: "MasterTree",
-  props:{
-    pageSize:{
-      type:String,
-      default:"10"
+  props: {
+    pageSize: {
+      type: String,
+      default: "10"
     },
-    currentPage:{
-      type:String,
-      default:"1"
+    currentPage: {
+      type: String,
+      default: "1"
     },
-    templateOid:{
-      type:String,
-      default:''
+    templateOid: {
+      type: String,
+      default: ''
     },
   },
-  data(){
-    return{
-      idData:'',
-      masterVrBtnList:[],
-      tableHeadFindData:[],
-      tableHeadDataFateher:[],
-      templateOids:"",
-      tableDataArray:[],
-      codeClassifyOid:"",
-      coderuleoid:"",
-      CloneTreeAvueform:{},
-      loading:false,
-      Treedata:[],
+  data() {
+    return {
+      idData: '',
+      masterVrBtnList: [],
+      tableHeadFindData: [],
+      tableHeadDataFateher: [],
+      templateOids: "",
+      tableDataArray: [],
+      codeClassifyOid: "",
+      coderuleoid: "",
+      CloneTreeAvueform: {},
+      loading: false,
+      Treedata: [],
       nodeClickList: "",
       Treeoption: {
         addBtn: false,
@@ -51,15 +51,15 @@
         //   console.log(node)
         //   console.log(resolve)
         // }
-        treeLoad:function (node, resolve){
-          if(node.data != false){
+        treeLoad: function (node, resolve) {
+          if (node.data != false) {
             const parentId = (node.level === 0) ? 0 : node.data.oid;
             const parentBtmName = node.data.attributes.btmname
-            getTreeList({parentOid:parentId,parentBtmName:parentBtmName}).then(res=>{
-              resolve(res.data.map(item=>{
+            getTreeList({parentOid: parentId, parentBtmName: parentBtmName}).then(res => {
+              resolve(res.data.map(item => {
                 return {
                   ...item,
-                  label:item.text
+                  label: item.text
                 }
               }))
             })
@@ -71,24 +71,23 @@
   created() {
     this.getTreeLists()
   },
-  computed:{
-   },
-  methods:{
+  computed: {},
+  methods: {
     //鑾峰彇鏁版嵁
-    getTreeLists(){
+    getTreeLists() {
       const index = this.$route.query.id.indexOf('@');
       const result = this.$route.query.id.substring(0, index);
-      this.idData=result
+      this.idData = result
       // console.log(this.$route)
-      getTreeList({'conditionMap[id]':this.idData }).then(res=>{
-        this.Treedata=res.data;
+      getTreeList({'conditionMap[id]': this.idData}).then(res => {
+        this.Treedata = res.data;
         const [firstProperty] = res.data;
         this.ModifyProperties(this.Treedata, 'text', 'label');
-        this.codeClassifyOid=firstProperty.oid;
-        this.coderuleoid=firstProperty.attributes.coderuleoid;
-        this.$emit("coderuleoid", this.coderuleoid )
-        this.$emit('Treedata',this.Treedata)
-      }).catch(res=>{
+        this.codeClassifyOid = firstProperty.oid;
+        this.coderuleoid = firstProperty.attributes.coderuleoid;
+        this.$emit("coderuleoid", this.coderuleoid)
+        this.$emit('Treedata', this.Treedata)
+      }).catch(res => {
         this.$message.error(res)
       })
     },
@@ -106,16 +105,16 @@
       }
     },
     //琛ㄦ牸鍒锋柊
-    TableRend(){
+    TableRend() {
       TableData({
         templateOid: this.templateOids,
         codeClassifyOid: this.nodeClickList.oid,
         page: this.currentPage,
         limit: this.pageSize,
       }).then(res => {
-        this.tableDataArray=res.data.data;
-        this.$emit('tableDataArray',this.tableDataArray)
-        this.$emit('total',res.data.total)
+        this.tableDataArray = res.data.data;
+        this.$emit('tableDataArray', this.tableDataArray)
+        this.$emit('total', res.data.total)
       })
     },
     //琛ㄦ牸澶撮儴
@@ -125,9 +124,9 @@
       return new Promise((resolve, reject) => {
         MasterTable({
           codeClassifyOid: this.nodeClickList.oid,
-          functionId:result,
+          functionId: result,
         }).then(res => {
-          const flagsToDeleteBtn = ["CODEIMPORTHISTORY", "CODEEXPORT", "CODEQUERY","batchApplyCode"];
+          const flagsToDeleteBtn = ["CODEIMPORTHISTORY", "CODEEXPORT", "CODEQUERY", "batchApplyCode"];
           //涓嶅悓鑺傜偣鏄剧ず涓嶅悓鎸夐挳
           if (!res.data.leaf) {
             this.masterVrBtnList = res.data.buttons.filter(obj => flagsToDeleteBtn.includes(obj.uniqueFlag));
@@ -160,12 +159,12 @@
     async nodeClick(data) {
       try {
         this.nodeClickList = data;
-        this.tableHeadDataFateher=[]
-        this.tableHeadFindData=[]
+        this.tableHeadDataFateher = []
+        this.tableHeadFindData = []
         await this.TableHeadRend(); // 鍏堟墽琛� TableHeadRend()
         this.TableRend(); // TableHeadRend() 鏂规硶瀹屾垚鍚庡啀鎵ц TableRend()
-        this.$emit('nodeClick',this.templateOids)
-        this.$emit("codeClassifyOid", this.nodeClickList.oid )
+        this.$emit('nodeClick', this.templateOids)
+        this.$emit("codeClassifyOid", this.nodeClickList.oid)
       } catch (error) {
         // 澶勭悊閿欒
         this.$message.error(error)
diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
index 7324680..9ba08aa 100644
--- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -439,66 +439,66 @@
     // 鍙戝竷
     setHandler() {
       var options = {
-        processUse:'PUBLIC',
-        processUseText:'鐢宠',
-        allowStatus:'Editing',
-        allowStatusText:'宸茬紪杈�',
-        startStatus:'Auditing',
-        resetStatus:'Editing',
-        batchTitle:'鎵归噺鎻愪氦缂栫爜鏁版嵁鍒版祦绋嬪鎵�',
-        title:'鎻愪氦缂栫爜鏁版嵁鍒版祦绋嬪鎵�'
+        processUse: 'PUBLIC',
+        processUseText: '鐢宠',
+        allowStatus: 'Editing',
+        allowStatusText: '宸茬紪杈�',
+        startStatus: 'Auditing',
+        resetStatus: 'Editing',
+        batchTitle: '鎵归噺鎻愪氦缂栫爜鏁版嵁鍒版祦绋嬪鎵�',
+        title: '鎻愪氦缂栫爜鏁版嵁鍒版祦绋嬪鎵�'
       }
-      this.checkStatusAndSubmitProcess(options,'Released');
+      this.checkStatusAndSubmitProcess(options, 'Released');
     },
     //鍋滅敤
     Deactivate() {
       var options = {
-        processUse:'DISABLE',
-        processUseText:'鍋滅敤',
-        allowStatus:'Released',
-        allowStatusText:'宸插彂甯�',
-        resetStatus:'Released',
-        batchTitle:'鎵归噺鍋滅敤(鍐荤粨)鐨勭紪鐮佹暟鎹�',
-        title:'鍋滅敤(鍐荤粨)缂栫爜鏁版嵁',
-        confirmMsg:'鏄惁瑕佸仠鐢ㄨ繖浜涙暟鎹�'
+        processUse: 'DISABLE',
+        processUseText: '鍋滅敤',
+        allowStatus: 'Released',
+        allowStatusText: '宸插彂甯�',
+        resetStatus: 'Released',
+        batchTitle: '鎵归噺鍋滅敤(鍐荤粨)鐨勭紪鐮佹暟鎹�',
+        title: '鍋滅敤(鍐荤粨)缂栫爜鏁版嵁',
+        confirmMsg: '鏄惁瑕佸仠鐢ㄨ繖浜涙暟鎹�'
       }
-      this.checkStatusAndSubmitProcess(options,'Disabled');
+      this.checkStatusAndSubmitProcess(options, 'Disabled');
     },
     //鍚敤
     Enable() {
       var options = {
-        processUse:'ENABLE',
-        processUseText:'鍚敤',
-        allowStatus:'Disabled',
-        allowStatusText:'宸插仠鐢�',
-        resetStatus:'Disabled',
-        batchTitle:'鎵归噺鍚敤(瑙e喕)鐨勭紪鐮佹暟鎹�',
-        title:'鍚敤(瑙e喕)缂栫爜鏁版嵁',
-        confirmMsg:'鏄惁瑕佸惎鐢�(瑙e喕)杩欎簺鏁版嵁'
+        processUse: 'ENABLE',
+        processUseText: '鍚敤',
+        allowStatus: 'Disabled',
+        allowStatusText: '宸插仠鐢�',
+        resetStatus: 'Disabled',
+        batchTitle: '鎵归噺鍚敤(瑙e喕)鐨勭紪鐮佹暟鎹�',
+        title: '鍚敤(瑙e喕)缂栫爜鏁版嵁',
+        confirmMsg: '鏄惁瑕佸惎鐢�(瑙e喕)杩欎簺鏁版嵁'
       }
-      this.checkStatusAndSubmitProcess(options,'Released');
+      this.checkStatusAndSubmitProcess(options, 'Released');
     },
     //鍥炴敹
     Recovery() {
       var options = {
-        processUse:'ROLLBACK',
-        processUseText:'鍥炴敹',
-        allowStatus:'Released,Disabled',
-        allowStatusText:'宸插彂甯�,宸插仠鐢�',
-        batchTitle:'鎵归噺鍥炴敹鐨勭紪鐮佹暟鎹�',
-        title:'鍥炴敹缂栫爜鏁版嵁',
-        confirmMsg:'鏄惁瑕佸洖鏀惰繖浜涙暟鎹�',
+        processUse: 'ROLLBACK',
+        processUseText: '鍥炴敹',
+        allowStatus: 'Released,Disabled',
+        allowStatusText: '宸插彂甯�,宸插仠鐢�',
+        batchTitle: '鎵归噺鍥炴敹鐨勭紪鐮佹暟鎹�',
+        title: '鍥炴敹缂栫爜鏁版嵁',
+        confirmMsg: '鏄惁瑕佸洖鏀惰繖浜涙暟鎹�',
       }
-      this.checkStatusAndSubmitProcess(options,'TakeBack');
+      this.checkStatusAndSubmitProcess(options, 'TakeBack');
     },
-    checkStatusAndSubmitProcess(options,targetLcstatus){
+    checkStatusAndSubmitProcess(options, targetLcstatus) {
       // 缂栬緫涓�-鍙兘鍙戝竷锛屼笉鑳藉洖鏀�
       // 瀹℃牳涓�-浠�涔堥兘涓嶈兘鍋�
       // 宸插彂甯�-鍋滅敤銆佸洖鏀�
       // 鍋滅敤-鍙兘鍚敤銆佸洖鏀�
       if (this.selectRow.length <= 0) {
         this.$message.warning("璇烽�夋嫨鏁版嵁");
-      } else if (this.selectRow.length >1000) {
+      } else if (this.selectRow.length > 1000) {
         this.$message.warning("姣忔鎻愪氦鍒版祦绋嬬殑鏁伴噺璇蜂笉瑕佽秴杩�1000鏉�");
       } else {
         //瀹℃壒鐨勬暟鎹殑鐘舵�佸繀椤荤浉鍚�
@@ -512,27 +512,27 @@
           this.$message.warning("閫夋嫨鐨勬暟鎹腑鐘舵�佹棤闇�鍐嶆墽琛屽綋鍓嶆搷浣�");
           return false;
         }
-        if(options.processUseText=='鐢宠' && !validatenull(this.selectRow[0].copyfromversion)){
-          options.processUseText='淇敼'
-          options.processUse='EDIT'
+        if (options.processUseText == '鐢宠' && !validatenull(this.selectRow[0].copyfromversion)) {
+          options.processUseText = '淇敼'
+          options.processUse = 'EDIT'
         }
-        let checkStatus = this.selectRow.every(item =>  options.allowStatus.indexOf(item.lcstatus)!=-1);
-        if(!checkStatus){
-          this.$message.warning('鍙湁鐘舵�佹槸銆�'+options.allowStatusText+'銆戠殑鏁版嵁鎵嶅彲浠ュ彂璧锋祦绋�');
-          return  false;
+        let checkStatus = this.selectRow.every(item => options.allowStatus.indexOf(item.lcstatus) != -1);
+        if (!checkStatus) {
+          this.$message.warning('鍙湁鐘舵�佹槸銆�' + options.allowStatusText + '銆戠殑鏁版嵁鎵嶅彲浠ュ彂璧锋祦绋�');
+          return false;
         }
         processTS({templateId: this.templateOid, buttonTypeKey: options.processUse}).then(res => {
           if (res.data.data.records && res.data.data.records.length != 0) {
-            this.parameter.ids=this.oids;
-            this.parameter.processName = this.result + '-'+options.processUseText+'[' + this.Treedata[0].name + '-' + this.selectRow[0].name + ']';
+            this.parameter.ids = this.oids;
+            this.parameter.processName = this.result + '-' + options.processUseText + '[' + this.Treedata[0].name + '-' + this.selectRow[0].name + ']';
             this.parameter.type = options.processUse;
             this.parameter.code = this.templateOid
-            this.parameter.btmtype=this.selectRow[0].btmname || this.selectRow[0].btmtype;
-            this.parameter.vars= {
+            this.parameter.btmtype = this.selectRow[0].btmname || this.selectRow[0].btmtype;
+            this.parameter.vars = {
               codeClassifyOid: this.codeClassifyOid,
               templateOid: this.templateOid
             };
-            this.title = this.selectRow.length>1?options.batchTitle:options.title;
+            this.title = this.selectRow.length > 1 ? options.batchTitle : options.title;
             this.visibleDeactivate = true;
           } else {
             this.$confirm('褰撳墠鍒嗙被娌℃湁娣诲姞娴佺▼妯℃澘锛屾槸鍚︿笉鐢ㄦ祦绋嬪鎵圭洿鎺ユ墽琛�?', '鎻愮ず', {
@@ -540,7 +540,11 @@
               cancelButtonText: '鍙栨秷',
               type: 'warning'
             }).then(() => {
-              changeStatus({oid: this.oids.join(','), btmname: this.selectRow[0].btmname, lcStatus: targetLcstatus}).then(res => {
+              changeStatus({
+                oid: this.oids.join(','),
+                btmname: this.selectRow[0].btmname,
+                lcStatus: targetLcstatus
+              }).then(res => {
                 if (res.data.code == 200) {
                   this.$message.success(options.processUseText + '鎴愬姛')
                   this.onLoad()
diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTreeform.vue b/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTreeform.vue
index dab81ed..332b207 100644
--- a/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTreeform.vue
+++ b/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTreeform.vue
@@ -496,6 +496,7 @@
         referType:'coderule',
         isMuti:'false',
         'conditionMap["lcstatus"]':'Released',
+        'limit':'-1',
         ...masterParameter
       }).then(res=>{
         this.masterData=res.data.records;
@@ -532,6 +533,7 @@
         referType:'codekeyattrrepeat',
         isMuti:'false',
         'conditionMap["lcstatus"]':'Enabled',
+        'limit':'-1',
         ...masterParameter
       }).then(res=>{
         this.KeyData=res.data.records;
@@ -582,6 +584,7 @@
         referType:'coderesemblerule',
         isMuti:'false',
         'conditionMap["lcstatus"]':'Enabled',
+        'limit':'-1',
         ...masterParameter
       }).then(res=>{
         this.simData=res.data.records;
@@ -621,7 +624,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
       })
     }
diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue b/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
index d5be3e9..afdf3a2 100644
--- a/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
+++ b/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
@@ -63,7 +63,8 @@
           </el-dialog>
           <!--        淇敼瀵硅瘽妗�-->
           <el-dialog :visible.sync="TreeEditFormVisible" append-to-body title="淇敼鍒嗙被">
-            <classifyTreeform ref="childForm" :Editclose=" ()=>{TreeEditFormVisible=false}" :TreeFlag="editTreeFLagCode" :flag="'edit'"
+            <classifyTreeform ref="childForm" :Editclose=" ()=>{TreeEditFormVisible=false}" :TreeFlag="editTreeFLagCode"
+                              :flag="'edit'"
                               :loneTreeNewForm="TreeList" :nodeClickList="nodeClickList"
                               :nodeList="nodeList" @MasterHandler="MasterHandler" @flushed="flushed"
                               @referTreeForm="referTreeForm"></classifyTreeform>
@@ -233,7 +234,8 @@
                        :rowIndex="this.selectRow"></templatePro>
         </span>
         <!--     缂栫爜瑙勫垯-->
-        <el-dialog :visible.sync="MasterdialogVisible" append-to-body title="涓恒�愮紪鐮佽鍒欍�戦�夊彇鍊�" :before-close="masterEscHandler">
+        <el-dialog :before-close="masterEscHandler" :visible.sync="MasterdialogVisible" append-to-body
+                   title="涓恒�愮紪鐮佽鍒欍�戦�夊彇鍊�">
           <template>
             <el-select v-model="SelectValue" placeholder="璇烽�夋嫨" style="width: 135px">
               <el-option
@@ -266,7 +268,7 @@
           </div>
         </el-dialog>
         <!--      鍏抽敭灞炴�ф煡璇㈣鍒�-->
-        <el-dialog :visible.sync="KeydialogVisible" append-to-body title="涓恒�愬叧閿睘鎬ф煡璇㈣鍒欍�戦�夊彇鍊�" :before-close="KeyEscHandler">
+        <el-dialog :before-close="KeyEscHandler" :visible.sync="KeydialogVisible" append-to-body title="涓恒�愬叧閿睘鎬ф煡璇㈣鍒欍�戦�夊彇鍊�">
           <template>
             <el-select v-model="SelectValue" placeholder="璇烽�夋嫨" style="width: 135px">
               <el-option
@@ -290,7 +292,9 @@
           <div style="height: 30px">
             <div
               style="display: inline-block;float: left;border: 1px solid #eeeeee;padding: 5px;margin-top: 5px;font-size: 14px ">
-              宸茶缃殑鍊间负:[{{ this.TreeAddform.codeKeyAttrRepeatOidName == '' ? '鏈缃��' : this.TreeAddform.codekeyattrrepeatoidName }}]
+              宸茶缃殑鍊间负:[{{
+                this.TreeAddform.codeKeyAttrRepeatOidName == '' ? '鏈缃��' : this.TreeAddform.codekeyattrrepeatoidName
+              }}]
             </div>
             <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden">
               <el-button size="small" type="primary" @click="KeyHandlerClick">纭畾</el-button>
@@ -299,7 +303,7 @@
           </div>
         </el-dialog>
         <!--      鐩镐技椤规煡璇㈣鍒�-->
-        <el-dialog :visible.sync="SimidialogVisible" append-to-body title="涓恒�愮浉浼奸」鏌ヨ瑙勫垯銆戦�夊彇鍊�" :before-close="simEscHandler">
+        <el-dialog :before-close="simEscHandler" :visible.sync="SimidialogVisible" append-to-body title="涓恒�愮浉浼奸」鏌ヨ瑙勫垯銆戦�夊彇鍊�">
           <template>
             <el-select v-model="SelectValue" placeholder="璇烽�夋嫨" style="width: 135px">
               <el-option
@@ -323,7 +327,9 @@
           <div style="height: 30px">
             <div
               style="display: inline-block;float: left;border: 1px solid #eee;padding: 5px;margin-top: 5px;font-size: 14px ">
-              宸茶缃殑鍊间负:[{{ this.TreeAddform.codeResembleRuleOidName == '' ? '鏈缃��' : this.TreeAddform.codeResembleRuleOidName }}]
+              宸茶缃殑鍊间负:[{{
+                this.TreeAddform.codeResembleRuleOidName == '' ? '鏈缃��' : this.TreeAddform.codeResembleRuleOidName
+              }}]
             </div>
             <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden">
               <el-button size="small" type="primary" @click="simHandlerClick">纭畾</el-button>
@@ -332,7 +338,7 @@
           </div>
         </el-dialog>
         <!--        涓氬姟绫诲瀷-->
-        <el-dialog :visible.sync="BtmdialogVisible" append-to-body title="涓恒�愪笟鍔$被鍨嬭鍒欍�戦�夊彇鍊�" :before-close="BtmEscHandler">
+        <el-dialog :before-close="BtmEscHandler" :visible.sync="BtmdialogVisible" append-to-body title="涓恒�愪笟鍔$被鍨嬭鍒欍�戦�夊彇鍊�">
           <template>
             <el-select v-model="SelectValue" placeholder="璇烽�夋嫨" style="width: 135px !important;">
               <el-option
@@ -466,7 +472,7 @@
           }
         ]
       },
-      Option:{
+      Option: {
         addBtn: false,
         index: true,
         border: true,
@@ -503,7 +509,7 @@
           label: '鑻辨枃鍚嶇О'
         }
       ],
-      masterSelectOption:[
+      masterSelectOption: [
         {
           value: 'id',
           label: '涓氬姟绫诲瀷缂栧彿'
@@ -831,32 +837,32 @@
   },
   methods: {
     //瀛樺偍鐨勪笟鍔$被鍨嬪叧闂�
-    BtmEscHandler(){
-      this.SelectFInd='';
-      this.SelectValue='id';
-      this.masterRow=null;
-      this.BtmdialogVisible=false;
+    BtmEscHandler() {
+      this.SelectFInd = '';
+      this.SelectValue = 'id';
+      this.masterRow = null;
+      this.BtmdialogVisible = false;
     },
     //鐩镐技椤瑰叧闂�
-    simEscHandler(){
-      this.SelectFInd='';
-      this.SelectValue='id';
-      this.masterRow=null;
-      this.SimidialogVisible=false;
+    simEscHandler() {
+      this.SelectFInd = '';
+      this.SelectValue = 'id';
+      this.masterRow = null;
+      this.SimidialogVisible = false;
     },
     //鍏抽敭灞炴�у叧闂�
-    KeyEscHandler(){
-      this.SelectFInd='';
-      this.SelectValue='id';
-      this.masterRow=null;
-      this.KeydialogVisible=false;
+    KeyEscHandler() {
+      this.SelectFInd = '';
+      this.SelectValue = 'id';
+      this.masterRow = null;
+      this.KeydialogVisible = false;
     },
     //缂栫爜瑙勫垯鍏抽棴
-    masterEscHandler(){
-      this.SelectFInd='';
-      this.SelectValue='id';
-      this.masterRow=null;
-      this.MasterdialogVisible=false;
+    masterEscHandler() {
+      this.SelectFInd = '';
+      this.SelectValue = 'id';
+      this.masterRow = null;
+      this.MasterdialogVisible = false;
     },
     // 鍏抽棴寮圭獥
     /** 瀵煎叆 */
@@ -912,6 +918,7 @@
         referType: 'coderule',
         isMuti: 'false',
         'conditionMap["lcstatus"]': 'Released',
+        'limit':'-1',
         ...masterParameter
       }).then(res => {
         this.masterData = res.data.records;
@@ -946,6 +953,7 @@
         referType: 'codekeyattrrepeat',
         isMuti: 'false',
         'conditionMap["lcstatus"]': 'Enabled',
+        'limit':'-1',
         ...masterParameter
       }).then(res => {
         this.KeyData = res.data.records;
@@ -996,6 +1004,7 @@
         referType: 'coderesemblerule',
         isMuti: 'false',
         'conditionMap["lcstatus"]': 'Enabled',
+        'limit':'-1',
         ...masterParameter
       }).then(res => {
         this.simData = res.data.records;
@@ -1025,7 +1034,7 @@
     BtmSelectFindeHandler() {
       const masterParameter = {};
       masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`;
-        this.btmdefaultRend(masterParameter);
+      this.btmdefaultRend(masterParameter);
     },
     //涓氬姟绫诲瀷澶氶��
     btmSelect(row) {
@@ -1036,7 +1045,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
       })
     },
@@ -1119,7 +1128,6 @@
         this.$message.warning('璇疯緭鍏ュ唴瀹癸紒');
       } else {
         const data = this.TreeAddform;
-        // data.btmtypename= this.TreeList.btmtypename
         this.$set(data, "parentCodeClassifyOid", this.nodeClickList.oid);
         TreeSave(data)
           .then(() => {
@@ -1286,7 +1294,6 @@
           });
         }
       }
-
     },
     //鏍戠偣鍑讳簨浠�
     async nodeClick(data) {

--
Gitblit v1.9.3