From 5a8861736eb17fe27a4ac49cc8ebaa6f3ade2e71 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 07 七月 2023 17:08:35 +0800
Subject: [PATCH] 前端代码提交

---
 Source/UBCS-WEB/src/components/Tree/classifyTreeform.vue |   59 ++++++++++++++++++++++++++++++++---------------------------
 1 files changed, 32 insertions(+), 27 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Tree/classifyTreeform.vue b/Source/UBCS-WEB/src/components/Tree/classifyTreeform.vue
index 236b88e..c64b81b 100644
--- a/Source/UBCS-WEB/src/components/Tree/classifyTreeform.vue
+++ b/Source/UBCS-WEB/src/components/Tree/classifyTreeform.vue
@@ -80,13 +80,13 @@
 <!--      瀛樺偍鐨勪笟鍔$被鍨�-->
       <el-dialog  :visible.sync="BtmdialogVisible"   title="涓恒�愮浉浼奸」鏌ヨ瑙勫垯銆戦�夊彇鍊�" append-to-body>
         <template>
-          <el-select v-model="SelectValue" placeholder="璇烽�夋嫨" style="width: 135px">
+          <el-select v-model="SelectValue" placeholder="璇烽�夋嫨" style="width: 135px !important;">
             <el-option
               v-for="item in SelectOption"
               :key="item.value"
               :label="item.label"
               :value="item.value"
-              style="width: 150px">
+              style="width: 130px">
             </el-option>
           </el-select>
           <el-input style="width: 260px;margin-left: 15px" placeholder="杈撳叆鍊煎悗杩涜妯$硦鏌ヨ" v-model="SelectFInd"></el-input>
@@ -198,9 +198,9 @@
         column: [
           {
             label: '涓婚搴�/鍒嗙被缂栧彿',
-            prop: 'btmtypeid',
+            prop: 'id',
             labelWidth:135,
-            readonly: true,
+            disabled: true,
             rules: [{
               required: true,
               message: "涓婚搴�/鍒嗙被缂栧彿",
@@ -210,7 +210,7 @@
           {
             label: '涓婚搴�/鍒嗙被鍚嶇О',
             prop: 'name',
-            readonly: true,
+            disabled: true,
             labelWidth:135,
             rules: [{
               required: true,
@@ -222,13 +222,13 @@
             label:"鎻忚堪",
             prop:"description",
             labelWidth:128,
-            readonly: true,
+            disabled: true,
           },
           {
             label: '瀛樺偍鐨勪笟鍔$被鍨�',
-            prop: 'btmtypename',
+            prop: 'btmTypeName',
             labelWidth:128,
-            readonly: true,
+            disabled: true,
             rules: [{
               required: true,
               message: "瀛樺偍鐨勪笟鍔$被鍨�",
@@ -237,21 +237,21 @@
           },
           {
             label:"缂栫爜瑙勫垯",
-            prop:"coderuleoidName",
+            prop:"coderuleOidName",
             labelWidth:128,
-            readonly: true,
+            disabled: true,
           },
           {
             label:"鍏抽敭灞炴�ф煡璇㈣鍒�",
-            prop:"codekeyattrrepeatoidName",
+            prop:"codeKeyAttrRepeatOidName",
             labelWidth:128,
-            readonly: true,
+            disabled: true,
           },
           {
             label:"鐩镐技鏌ヨ瑙勫垯",
             prop:"codeResembleRuleOidName",
             labelWidth:128,
-            readonly: true,
+            disabled: true,
           },
         ]
       },
@@ -259,7 +259,7 @@
         column: [
           {
             label: '涓婚搴�/鍒嗙被缂栧彿',
-            prop: 'btmtypeid',
+            prop: 'id',
             labelWidth:128,
             rules: [{
               required: true,
@@ -284,9 +284,10 @@
           },
           {
             label: '瀛樺偍鐨勪笟鍔$被鍨�',
-            prop: 'btmtypename',
+            prop: 'btmTypeName',
             labelWidth:128,
             focus:this.btmFoucus,
+            readonly: true,
             rules: [{
               required: true,
               message: "瀛樺偍鐨勪笟鍔$被鍨�",
@@ -295,21 +296,24 @@
           },
           {
             label:"缂栫爜瑙勫垯",
-            prop:"coderuleoidName",
+            prop:"coderuleOidName",
             labelWidth:128,
-            focus:this.CodeFoucus
+            focus:this.CodeFoucus,
+            readonly: true,
           },
           {
             label:"鍏抽敭灞炴�ф煡璇㈣鍒�",
-            prop:"codekeyattrrepeatoidName",
+            prop:"codeKeyAttrRepeatOidName",
             labelWidth:128,
-            focus:this.Keyfouce
+            focus:this.Keyfouce,
+            readonly: true,
           },
           {
             label:"鐩镐技鏌ヨ瑙勫垯",
             prop:"codeResembleRuleOidName",
             labelWidth:128,
-            focus: this.simFouce
+            focus: this.simFouce,
+            readonly: true,
           },
 
         ]
@@ -370,7 +374,7 @@
         this.$set(this.loneTreeNewForm,'coderuleoidName',this.masterName)
         this.$set(this.loneTreeNewForm,'coderuleOid',this.masterOid)
         this.$emit('MasterHandler',this.loneTreeNewForm)
-        console.log(this.loneTreeNewForm)
+        // console.log(this.loneTreeNewForm)
       }
     },
     //缂栫爜澶氶��
@@ -378,7 +382,7 @@
       this.masterSelectList=row;
       this.masterName=row[0].name;
       this.masterOid=row[0].oid;
-      console.log('oid',this.oid)
+      // console.log('oid',this.oid)
     },
     //缂栫爜鎺ュ彛
     MasterdefaultRend(masterParameter){
@@ -510,10 +514,10 @@
       }else if(this.btmSelectList.length<=0){
         this.$message.warning('璇烽�夋嫨涓�鏉℃暟鎹�')
       }else {
-        this.SimidialogVisible=false;
-        this.simSelectList=[]
-        this.$set(this.loneTreeNewForm,'btmtypename',this.btmName)
-        this.$set(this.loneTreeNewForm,'btmtypeoid',this.btmOid)
+        this.BtmdialogVisible=false;
+        this.btmSelectList=[]
+        this.$set(this.loneTreeNewForm,'btmTypeName',this.btmName)
+        this.$set(this.loneTreeNewForm,'btmTypeOid',this.btmOid)
         this.$emit('MasterHandler',this.loneTreeNewForm)
       }
     },
@@ -544,7 +548,8 @@
     //涓氬姟绫诲瀷鎺ュ彛
     btmdefaultRend(masterParameter){
       referDataGrid({valueField:'id',isMuti:'false',...masterParameter}).then(res=>{
-        console.log(res)
+        // console.log(res)
+        this.BtmData=res.data.data.records
       })
     }
   }

--
Gitblit v1.9.3