Browse Source

巡检修改

duy 1 year ago
parent
commit
f5d0ab9d93
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/patrol/add.vue

+ 2 - 2
src/views/patrol/add.vue

@@ -143,7 +143,7 @@
                         </el-form-item>
                     </el-col>
                 </el-row>
-                <div style="position: relative; height: 400px;margin-top: 20px;">
+                <div style="position: relative; margin-top: 20px;border:1px solid red">
                     <HcTable :column="tableColumn" :datas="processDataList">
                         <template #inspectProject="{ row }">
                             <hc-table-input v-model="row.inspectProject" type="textarea" :disabled="type === 'changeRow' || type === 'review' || type === 'view'" />
@@ -175,7 +175,7 @@
                             <el-image v-else style="width: 100px; height: 100px" :src="row.rectifyPdfUrl" />
                         </template>
                         <template #action="{ row, index }">
-                            <el-link type="danger" :disabled="type !== 'confirmChange'" @click="deleProcess(row, index)">删除</el-link>
+                            <el-link type="danger" :disabled="type === 'view' || type === 'changeRow'" @click="deleProcess(row, index)">删除</el-link>
                         </template>
                     </HcTable>
                 </div>