daiqisheng 3 年之前
父節點
當前提交
5b18d56cd5
共有 1 個文件被更改,包括 9 次插入13 次删除
  1. 9 13
      src/pages/main/performance/components/sheet.vue

+ 9 - 13
src/pages/main/performance/components/sheet.vue

@@ -2,22 +2,16 @@
  * @Author       : yuanrunwei
  * @Date         : 2021-12-04 14:23:58
  * @LastEditors: daiqisheng
- * @LastEditTime: 2022-04-07 22:44:39
+ * @LastEditTime: 2022-04-07 23:03:47
  * @FilePath     : \spfm-market-front\src\pages\main\performance\components\sheet.vue
 -->
 <template>
   <div class="sheet-container">
     <div class="flex-justify-align-end margin-bottom-20">
-      <span
-        class="margin-right-10 font-size-16"
-        v-if="!status || status === '2'||(status === '0' && superviseFlag === '1')"
+      <span class="margin-right-10 font-size-16"
         ><span class="sheet-container-require">*</span>模板类型:</span
       >
-      <el-input
-        v-model="templateType"
-        :disabled="type === 'view'"
-        v-if="!status || status === '2'||(status === '0' && superviseFlag === '1')"
-      ></el-input>
+      <el-input v-model="templateType" :disabled="type === 'view'"></el-input>
       <el-button
         type="primary"
         @click="handleVisible"
@@ -26,9 +20,7 @@
       >
       <el-button type="primary" @click="handleDownload">导出</el-button>
       <el-button type="primary" @click="handleFullscreen()">全屏显示</el-button>
-      <el-button
-        type="primary"
-        @click="handleSupervise('confirm')"
+      <el-button type="primary" @click="handleSupervise('confirm')"
         >督办</el-button
       >
       <template v-if="['edit'].includes(type)">
@@ -49,7 +41,11 @@
           >暂存</el-button
         >
         <el-button
-          v-if="status === '2' || status === '3'||(status === '0' && superviseFlag === '1')"
+          v-if="
+            status === '2' ||
+            status === '3' ||
+            (status === '0' && superviseFlag === '1')
+          "
           type="primary"
           @click="handleResave"
           :disabled="handleForbid()"