Bladeren bron

督办修改

daiqisheng 3 jaren geleden
bovenliggende
commit
50416af338
1 gewijzigde bestanden met toevoegingen van 4 en 6 verwijderingen
  1. 4 6
      src/pages/main/performance/components/sheet.vue

+ 4 - 6
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 19:34:34
+ * @LastEditTime: 2022-04-07 22:44:39
  * @FilePath     : \spfm-market-front\src\pages\main\performance\components\sheet.vue
 -->
 <template>
@@ -10,13 +10,13 @@
     <div class="flex-justify-align-end margin-bottom-20">
       <span
         class="margin-right-10 font-size-16"
-        v-if="!status || status === '2'|| status === '3'"
+        v-if="!status || status === '2'||(status === '0' && superviseFlag === '1')"
         ><span class="sheet-container-require">*</span>模板类型:</span
       >
       <el-input
         v-model="templateType"
         :disabled="type === 'view'"
-        v-if="!status || status === '2'|| status === '3'"
+        v-if="!status || status === '2'||(status === '0' && superviseFlag === '1')"
       ></el-input>
       <el-button
         type="primary"
@@ -28,7 +28,6 @@
       <el-button type="primary" @click="handleFullscreen()">全屏显示</el-button>
       <el-button
         type="primary"
-        v-if="!status || status === '2' || superviseFlag === '1'"
         @click="handleSupervise('confirm')"
         >督办</el-button
       >
@@ -50,7 +49,7 @@
           >暂存</el-button
         >
         <el-button
-          v-if="status === '2' || status === '3'"
+          v-if="status === '2' || status === '3'||(status === '0' && superviseFlag === '1')"
           type="primary"
           @click="handleResave"
           :disabled="handleForbid()"
@@ -1152,7 +1151,6 @@ export default {
     },
   },
   mounted() {
-    console.log(this.status,'adad');
     this.handleInit();
     this.handleChargeList();
   },