applications/task-work-order/src/views/orderView/orderDataManage/appInnovation/index.vue
@@ -60,7 +60,7 @@ <el-table-column prop="resourceName" show-overflow-tooltip label="资源名称" /> <el-table-column prop="resourceCode" show-overflow-tooltip label="资源编码" /> <el-table-column prop="caseDesc" show-overflow-tooltip label="案例描述" /> <el-table-column label="操作" class-name="operation-btns" width="240"> <el-table-column label="操作" class-name="operation-btns" width="150"> <template v-slot="{ row }"> <el-link type="primary" @click="openForm('view', row)">查看</el-link> <!-- <el-link type="primary" @click="openForm('edit', row)">编辑</el-link>--> applications/task-work-order/src/views/orderView/orderDataManage/dataObjection/index.vue
@@ -69,7 +69,7 @@ <el-table-column prop="objectionBasis" show-overflow-tooltip label="异议依据" /> <el-table-column prop="attachName" show-overflow-tooltip label="附件名称" /> <el-table-column prop="reviewOpinion" show-overflow-tooltip label="审核意见" /> <el-table-column label="操作" class-name="operation-btns" width="240"> <el-table-column label="操作" class-name="operation-btns" width="150"> <template v-slot="{ row }"> <el-link type="primary" @click="openForm('view', row)">查看</el-link> <el-link type="primary" @click="openForm('edit', row)" v-if="!['1', '2'].includes(row.objectionStatus)">编辑</el-link> applications/task-work-order/src/views/orderView/orderDataManage/evaluate/index.vue
@@ -53,7 +53,7 @@ </template> </el-table-column> <el-table-column prop="evaluationContent" show-overflow-tooltip label="评价内容" /> <el-table-column label="操作" class-name="operation-btns" width="240"> <el-table-column label="操作" class-name="operation-btns" width="150"> <template v-slot="{ row }"> <el-link type="primary" @click="openForm('view', row)">查看</el-link> <el-link type="primary" @click="openForm('edit', row)">编辑</el-link> applications/task-work-order/src/views/orderView/orderDataManage/supplyAdd/ApplyViewDialog.vue
@@ -183,10 +183,21 @@ const tableData = ref([]) // 附件表格数据 // 文件移除 const handleFileRemove = (file, fileList) => { console.log('删除文件', fileList); uploadedFiles.value = fileList // 从已上传文件列表中移除对应文件 if (file.response && file.response.attachId) { uploadedFiles.value = uploadedFiles.value.filter(item => item.attachId !== file.response.attachId) } // if (file.response && file.response.attachId) { // // uploadedFiles.value = uploadedFiles.value.filter(item => item.attachId !== file.response.attachId) // // 找到 id=1 的对象的索引 // const index = uploadedFiles.value.findIndex(item => item.attachId !== file.response.attachId) // // 如果找到了,移除该对象 // if (index !== -1) { // uploadedFiles.value.splice(index, 1) // } // console.log('删除文件', uploadedFiles.value); // } // 清空响应数据 if (responseData.value && responseData.value.attachId === file.response?.attachId) { responseData.value = null @@ -410,7 +421,7 @@ const approvedByTheReview = () => { if (uploadedFiles.value.length === 0) { return ElMessage.warning('请上传数据') } } // 从 uploadedFiles.value 中提取所有 attachId const id = uploadedFiles.value.map(file => file.attachId) submitting.value = true @@ -492,4 +503,6 @@ :deep(.el-upload-list) { margin-top: 10px; } .el-upload-list__item.is-success:focus .el-upload-list__item-status-label, .el-upload-list__item.is-success:hover .el-upload-list__item-status-label{ display: none !important;} </style> applications/task-work-order/src/views/orderView/orderDataManage/supplyAdd/index.vue
@@ -76,7 +76,7 @@ <el-table-column prop="responsibleDeptName" show-overflow-tooltip label="责任部门" /> <el-table-column prop="dataSource" show-overflow-tooltip label="数据来源依据" /> <el-table-column prop="demandInfo" show-overflow-tooltip label="需求信息项" /> <el-table-column label="操作" class-name="operation-btns" width="240"> <el-table-column label="操作" class-name="operation-btns" width="150"> <template v-slot="{ row }"> <el-link type="primary" @click="openForm('view', row)">查看</el-link> <!-- 只对非审批状态显示编辑和删除按钮 --> applications/task-work-order/src/views/orderView/organizational/agenciesManagement/index.vue
@@ -68,7 +68,7 @@ {{ getDictLabel(row.status, dictObj.institutionStatus) }} </template> </el-table-column> <el-table-column label="操作" class-name="operation-btns" width="400"> <el-table-column label="操作" class-name="operation-btns" width="200"> <template v-slot="{ row }"> <el-link type="primary" @click="openForm('view', row)">查看</el-link> <el-link type="primary" @click="openForm('edit', row)">编辑</el-link> applications/task-work-order/src/views/orderView/organizational/zoningManagement/index.vue
@@ -65,7 +65,7 @@ {{ getDictLabel(row.status, dictObj.zoningStatus) }} </template> </el-table-column> <el-table-column label="操作" class-name="operation-btns" width="400"> <el-table-column label="操作" class-name="operation-btns" width="200"> <template v-slot="{ row }"> <el-link type="primary" @click="openForm('view', row)">查看</el-link> <el-link type="primary" @click="openForm('edit', row)">编辑</el-link>