408249787 vor 2 Jahren
Ursprung
Commit
fdc3d91228
1 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen
  1. 4 3
      src/views/fill/task/modules/BaseForm.vue

+ 4 - 3
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" v-if="editor">操作</th>
+              <th rowspan="2" width="150px" >操作</th>
             </tr>
             <tr v-if="ListForm.length>0">
               <th v-for="item in ListForm[0].content" :key="item.name">{{ item.name }}</th>
@@ -109,14 +109,15 @@
               <td>
                 <a-icon v-show="item.status === 1" type="check" style="color:#87d068;font-size: 26px;" />
               </td>
-              <td v-if="editor">
-                <a-button type="link" @click="handleRepair(item)">
+              <td>
+                <a-button v-if="editor" type="link" @click="handleRepair(item)">
                   报修
                 </a-button>
                 <a-button type="link" @click="uploadImg(item,i)">{{ item.images&&item.images.length?'查看图片':'上传图片' }}</a-button>
 
                 <a-modal v-model="uploadVisible" title="上传图片" :footer="null" @cancel="uploadVisible = false">
                   <a-upload
+                    :disabled="!editor"
                     :action="uploadUrl"
                     list-type="picture-card"
                     :file-list="defaultApplicationFileList"