duy 1 tahun lalu
induk
melakukan
3eec093bcb
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 4 4
      src/views/patrol/add.vue

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

@@ -143,7 +143,7 @@
                         </el-form-item>
                     </el-col>
                 </el-row>
-                <div style="position: relative; margin-top: 20px;border:1px solid red">
+                <div style="position: relative; margin-top: 20px;">
                     <HcTable :column="tableColumn" :datas="processDataList">
                         <template #inspectProject="{ row }">
                             <hc-table-input v-model="row.inspectProject" type="textarea" :disabled="type === 'changeRow' || type === 'review' || type === 'view'" />
@@ -158,7 +158,7 @@
                             <hc-table-input v-model="row.rectifyFeedback" type="textarea" :disabled="type === 'review' || type === 'view'" />
                         </template>
                         <template #rectifyAttachment="{ row, index }">
-                            <el-link v-if="row?.rectifyAttachmentName" type="primary" :disabled="type === 'review' || type === 'view'" @click="openAttachment(row)">{{ row.rectifyAttachmentName }}</el-link>
+                            <el-link v-if="row?.rectifyAttachmentName" type="primary" :disabled="type === 'review' || type === 'view'" @click="clickAttachment(row)">{{ row.rectifyAttachmentName }}</el-link>
                             <el-link v-else type="primary" @click="clickAttachment(row, index)">上传</el-link>
                         </template>
                         <template #inspectUserName="{ row }">
@@ -167,12 +167,12 @@
                         <template #inspectPdfUrl="{ row, index }">
                             <el-link v-if="row?.isShowImage == 0" type="primary" :disabled="type === 'review' || type === 'view'" @click="clickUploadInspect(row, index)">上传</el-link>
                        
-                            <el-image v-else style="width: 100px; height: 100px" :src="row?.inspectPdfUrl" />
+                            <el-image v-else style="width: 100px; height: 100px;cursor: pointer;" :src="row?.inspectPdfUrl" @click="clickUploadInspect(row, index)" />
                         </template>
                         <template #rectifyPdfUrl="{ row, index }">
                             <el-link v-if="!row.rectifyPdfUrl" type="primary" :disabled="type === 'review' || type === 'view'" @click="clickRectifyPdfUrl(row, index)">上传</el-link>
                        
-                            <el-image v-else style="width: 100px; height: 100px" :src="row.rectifyPdfUrl" />
+                            <el-image v-else style="width: 100px; height: 100px;cursor: pointer;" :src="row.rectifyPdfUrl" @click="clickRectifyPdfUrl(row, index)" />
                         </template>
                         <template #action="{ row, index }">
                             <el-link type="danger" :disabled="type === 'view' || type === 'changeRow'" @click="deleProcess(row, index)">删除</el-link>