jiawuxian пре 2 година
родитељ
комит
5ee662a6e7

+ 1 - 1
src/views/resumption/protection/dialog.edit.vue

@@ -115,7 +115,7 @@ export default {
     },
     onOrgSelect(node) {
       this.formData.orgPath = node.path;
-      this.formData.orgName = node.name;
+      this.formData.orgName = node.shortName;
     },
   },
   created() {},

+ 5 - 2
src/views/resumption/protection/index.vue

@@ -21,7 +21,7 @@
           v-show="showSearch"
           label-width="120px"
         >
-          <el-form-item prop="key" label="关键字">
+          <el-form-item prop="key" label="关键字" class="search_key">
             <el-input
               v-model="queryParams.key"
               :maxlength="50"
@@ -359,6 +359,9 @@ export default {
 </script>
 
 <style lang="scss" scoped>
-.brand {
+.search_key{
+  ::v-deep .el-form-item__label{
+    width:60px !important;
+  }
 }
 </style>