Ver Fonte

完善巡检

408249787 há 2 anos atrás
pai
commit
748fd72980
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      src/views/fill/task/modules/BaseForm.vue

+ 4 - 0
src/views/fill/task/modules/BaseForm.vue

@@ -6,17 +6,20 @@
           <a-button v-show="editor" :loading="confirmLoading" type="primary" @click="save()">保存</a-button>
           <a-button style="margin-left: 8px" type="default" @click="handleCancel()">返回</a-button>
           <a-button
+            v-show="!editor"
             style="margin-left: 8px"
             type="primary"
             @click="handleDispatch(model)"
           >转派</a-button>
           <a-button
+            v-show="!editor"
             style="margin-left: 8px"
             type="primary"
             @click="handleOvertime(model)"
           >延时</a-button>
 
           <a-button
+            v-show="!editor"
             v-if="model.status===5"
             style="margin-left: 8px"
             type="primary"
@@ -24,6 +27,7 @@
           >取消暂停</a-button>
           <a-button
             v-else
+            v-show="!editor"
             style="margin-left: 8px"
             type="primary"
             @click="handlePause(model)"