408249787 2 jaren geleden
bovenliggende
commit
f1a4c688ff
2 gewijzigde bestanden met toevoegingen van 3 en 2 verwijderingen
  1. 2 2
      src/views/fill/task/modules/BaseForm.vue
  2. 1 0
      src/views/fill/task/modules/BaseFormRepair.vue

+ 2 - 2
src/views/fill/task/modules/BaseForm.vue

@@ -83,7 +83,7 @@
               <th rowspan="2" width="150px">填报时间</th>
               <th :colspan="ListForm.length>0?ListForm[0].content.length:1">项目内容项</th>
               <th rowspan="2" width="150px">是否填报</th>
-              <th rowspan="2" width="150px">操作</th>
+              <th rowspan="2" width="150px" v-if="editor">操作</th>
             </tr>
             <tr v-if="ListForm.length>0">
               <th v-for="item in ListForm[0].content" :key="item.name">{{ item.name }}</th>
@@ -109,7 +109,7 @@
               <td>
                 <a-icon v-show="item.status === 1" type="check" style="color:#87d068;font-size: 26px;" />
               </td>
-              <td>
+              <td v-if="editor">
                 <a-button type="link" @click="handleRepair(item)">
                   报修
                 </a-button>

+ 1 - 0
src/views/fill/task/modules/BaseFormRepair.vue

@@ -474,6 +474,7 @@ export default {
       this.applicationFileList = []
       this.defaultApplicationFileList = []
       this.form.resetFields()
+      this.content = ''
       if (this.BaseTool.Object.isNotBlank(values)) {
         this.$emit('ok', values)
       }