Browse Source

样式修改

daiqisheng 3 years ago
parent
commit
b3dcbf456d

+ 8 - 3
src/pages/main/performance/components/sheet.vue

@@ -2,7 +2,7 @@
  * @Author       : yuanrunwei
  * @Date         : 2021-12-04 14:23:58
  * @LastEditors: daiqisheng
- * @LastEditTime: 2022-04-07 23:03:47
+ * @LastEditTime: 2022-04-08 14:20:42
  * @FilePath     : \spfm-market-front\src\pages\main\performance\components\sheet.vue
 -->
 <template>
@@ -11,7 +11,10 @@
       <span class="margin-right-10 font-size-16"
         ><span class="sheet-container-require">*</span>模板类型:</span
       >
-      <el-input v-model="templateType" :disabled="type === 'view'"></el-input>
+      <el-input
+        v-model="templateType"
+        :disabled="type === 'view' || (type === 'edit' && attribute === 'file')"
+      ></el-input>
       <el-button
         type="primary"
         @click="handleVisible"
@@ -707,7 +710,7 @@ export default {
         });
         reqdata.principalId = principalId.join(",");
         reqdata.principalName = principalName.join(",");
-        reqdata.principalMent = principalName.join(",");
+        reqdata.principalMent = principalMent.join(",");
       } else {
         const { charge } = this.form;
         //  特殊权限
@@ -1147,6 +1150,8 @@ export default {
     },
   },
   mounted() {
+    console.log(this.attribute, "attribute");
+    console.log(this.type, "type");
     this.handleInit();
     this.handleChargeList();
   },

+ 20 - 1
src/pages/main/performance/department.vue

@@ -1,7 +1,12 @@
 <template>
   <div>
     <div class="simple-container">
-      <simple-form :form="table_form" @search="handleSearch"> </simple-form>
+      <simple-form
+        :form="table_form"
+        @search="handleSearch"
+        class="department-form"
+      >
+      </simple-form>
       <simple-table
         :list="table_list"
         :config="table_config"
@@ -458,10 +463,19 @@ export default {
               label: "待审批",
               value: "2",
             },
+
             {
               label: "已完成",
               value: "3",
             },
+            {
+              label: "已提交",
+              value: "4",
+            },
+            {
+              label: "未提交",
+              value: "5",
+            },
           ],
         },
       ],
@@ -1124,4 +1138,9 @@ export default {
     display: none !important;
   }
 }
+.department-form {
+  .el-form-item .el-input {
+    width: 220px;
+  }
+}
 </style>