Zimo 8 часов назад
Родитель
Сommit
ca9617f756
1 измененных файлов с 2 добавлено и 6 удалено
  1. 2 6
      src/views/pms/iotprojecttask/IotProjectTaskForm.vue

+ 2 - 6
src/views/pms/iotprojecttask/IotProjectTaskForm.vue

@@ -509,11 +509,7 @@
         name="files"
         class="w-50%"
       >
-        <el-button
-          :disabled="!(tableData[0].rigStatus === 'wg' && tableData[0].repairStatus === 'wg')"
-          type="primary"
-          >上传完井报告</el-button
-        >
+        <el-button :disabled="tableData[0].status !== 'wg'" type="primary">上传完井报告</el-button>
         <template #tip>
           <div class="el-upload__tip">文件大小不能超过50MB </div>
         </template>
@@ -2048,7 +2044,7 @@ const open = async () => {
             uid: item.createTime
           }))
         geologicalFiles.value = attachments
-          .filter((item) => item.type === 'GEOLIGICAL_DESIGN')
+          .filter((item) => item.type === 'GEOLOGICAL_DESIGN')
           .map((item) => ({
             name: item.filename,
             percentage: 100,