From bfedaf0182cac8fb947f1b0a3dee3d07c3c24f1e Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期五, 21 七月 2023 19:33:29 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS-WEB/src/components/Tree/attrCrud.vue |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Tree/attrCrud.vue b/Source/UBCS-WEB/src/components/Tree/attrCrud.vue
index d5f83d3..eb773e3 100644
--- a/Source/UBCS-WEB/src/components/Tree/attrCrud.vue
+++ b/Source/UBCS-WEB/src/components/Tree/attrCrud.vue
@@ -1,6 +1,6 @@
 <template>
   <div>
-    <div style="display: flex;flex-wrap: wrap;" v-if="this.crudArrayFlag">
+    <div style="display: flex;flex-wrap: wrap;" v-if="this.crudArrayFlag"class="app">
 
       <!--鏂板-->
       <el-button v-if="attrEditVisible == false && attrFlagChiledren==false && crudLCStatus=='Editing'" size="small" type="primary" icon="el-icon-plus" @click="busineHandle">娣诲姞 {{ msg }}</el-button>
@@ -1477,7 +1477,8 @@
             sortAttrFlag: 'false',
             queryAttrFlag: 'true',
             seniorQueryAttrFlag: 'true',
-            attrTableWidth: 120
+            attrTableWidth: 120,
+            ts:""
           })
           this.ProData.push(JSON.parse(JSON.stringify(this.busineAddList)))
         }
@@ -1487,7 +1488,8 @@
     },
     //涓氬姟绫诲瀷閫夋嫨
     businessSelect(selection, row) {
-      this.busineSelectList = selection
+      this.busineSelectList = selection;
+      console.log(selection)
     },
     // 浠庝笟鍔$被鍨嬩腑閫夋嫨鏁版嵁寮圭獥
     busineHandle() {
@@ -1817,9 +1819,9 @@
     //缁勫悎瑙勫垯纭畾
     updataFormlaContent(val) {
       if(this.CurrentCell){
-        this.$set(this.CurrentCell, 'componentRule', JSON.stringify(val))
+        this.$set(this.CurrentCell, 'componentRule', val.replace(/"/g, ''))
       }else {
-        this.$set(this.attrRow, 'componentRule', JSON.stringify(val))
+        this.$set(this.attrRow, 'componentRule', val.replace(/"/g, ''))
       }
 
     },
@@ -1851,7 +1853,9 @@
 </script>
 
 <style scoped lang="scss" >
-/deep/ .el-button {
-  margin: 0 10px 10px 0;
+.app {
+   /deep/ .el-button {
+   margin: 0 10px 10px 0;
+   }
 }
 </style>

--
Gitblit v1.9.3