diff --git a/src/api/warning-analysis/engineering-in-use.js b/src/api/warning-analysis/engineering-in-use.js new file mode 100644 index 00000000..baa454ff --- /dev/null +++ b/src/api/warning-analysis/engineering-in-use.js @@ -0,0 +1,6 @@ +import request from '@/utils/request' + +// 工程检修在用预警 -- 列表接口 +export const getUseMaintenanceWarningApi = data => { + return request.get('/material/useMaintenanceWarning/list', { params: data }) +} diff --git a/src/views/business-examine/direct-rotation-apply/index.vue b/src/views/business-examine/direct-rotation-apply/index.vue index 8b4ac5f5..60906de2 100644 --- a/src/views/business-examine/direct-rotation-apply/index.vue +++ b/src/views/business-examine/direct-rotation-apply/index.vue @@ -216,7 +216,7 @@ export default { console.log('row.configValues', row.configValue) if (row.configValue) { - return row.flowStatus != 2 && row.configValue.includes(this.userId) + return (row.flowStatus == 1 || row.flowStatus == 0) && row.configValue.includes(this.userId) } } } diff --git a/src/views/business-examine/receive-apply/business-details.vue b/src/views/business-examine/receive-apply/business-details.vue index 487311ac..57caac1a 100644 --- a/src/views/business-examine/receive-apply/business-details.vue +++ b/src/views/business-examine/receive-apply/business-details.vue @@ -161,13 +161,12 @@ export default { // 通过 或 驳回 async onHandleAuditing(type) { // 组装参数 - - const currentAuditing = this.auditingList.filter(e => e.nodeId === this.currentNodeId) // 获取当前审核的节点 - const currentIndex = this.auditingList.findIndex(e => e.nodeId === this.currentNodeId) // 获取当前的索引 + const currentAuditing = this.auditingList.filter(e => e.configValues.includes(this.userId)) // 获取当前审核的节点 + const currentIndex = this.auditingList.findIndex(e => e.configValues.includes(this.userId)) // 获取当前的索引 const { recordId, id, typeId, isAccept } = currentAuditing[0] - // if (isAccept !== 0) { + // if (isAccept != 0) { // this.$modal.msgError('当前已审核,不可重复审核') // return // } @@ -182,6 +181,7 @@ export default { } const res = await submitAuditingApi(this.auditingParams) + console.log(res, '提交结果') if (res.code === 200) { this.$modal.msgSuccess('审核成功') @@ -190,6 +190,37 @@ export default { this.$tab.closeOpenPage(obj) }, 500) } + + // // 组装参数 + + // const currentAuditing = this.auditingList.filter(e => e.nodeId === this.currentNodeId) // 获取当前审核的节点 + // const currentIndex = this.auditingList.findIndex(e => e.nodeId === this.currentNodeId) // 获取当前的索引 + + // const { recordId, id, typeId, isAccept } = currentAuditing[0] + + // // if (isAccept !== 0) { + // // this.$modal.msgError('当前已审核,不可重复审核') + // // return + // // } + // Object.assign(this.auditingParams, { + // typeId, + // recordId, + // nodeId: id + // }) + // this.auditingParams.isAccept = type + // if (currentIndex !== this.auditingList.length - 1) { + // this.auditingParams.nextNodeId = this.auditingList[currentIndex + 1].id + // } + + // const res = await submitAuditingApi(this.auditingParams) + + // if (res.code === 200) { + // this.$modal.msgSuccess('审核成功') + // setTimeout(() => { + // const obj = { path: '/business-examine/receive-apply' } + // this.$tab.closeOpenPage(obj) + // }, 500) + // } }, // 获取数据详情 和 审核记录详情 diff --git a/src/views/business-examine/receive-apply/index.vue b/src/views/business-examine/receive-apply/index.vue index 5ede7c0f..ed59c6c2 100644 --- a/src/views/business-examine/receive-apply/index.vue +++ b/src/views/business-examine/receive-apply/index.vue @@ -190,7 +190,7 @@ export default { // 判断审核按钮显示隐藏 auditingShow(row) { if (row.configValue) { - return row.status != 1 && row.configValue.includes(this.userId) + return (row.taskStatus == 1 || row.taskStatus == 0) && row.configValue.includes(this.userId) } } } diff --git a/src/views/business-examine/reduction-apply/business-details.vue b/src/views/business-examine/reduction-apply/business-details.vue index 23482690..05d97b1c 100644 --- a/src/views/business-examine/reduction-apply/business-details.vue +++ b/src/views/business-examine/reduction-apply/business-details.vue @@ -1,111 +1,135 @@ - - - - - 减免申请详情 - + + + + + 减免申请详情 + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - 合计: - {{ totalAmount.toFixed(2) }} / 元 - - + + + + + + + + + + + + + + + 合计: + {{ totalAmount.toFixed(2) }} / 元 + + - - - - - - - - - - - - - 流程记录 - + + + + + + + + + + + + + 流程记录 + - - - - - - - 审核结果: - 待审批 - 已通过 - 已驳回 - + + + + + + + 审核结果: + 待审批 + 已通过 + 已驳回 + - - 审核时间: - {{ step.createTime }} - + + 审核时间: + {{ step.createTime }} + - - 审核意见: - {{ step.remark }} - - - - - + + 审核意见: + {{ step.remark }} + + + + + - - + + - - 通过 - 驳回 - - - - - - + + 通过 + 驳回 + + + + + + diff --git a/src/views/business-examine/reduction-apply/index.vue b/src/views/business-examine/reduction-apply/index.vue index bae8cb97..0cbfd18d 100644 --- a/src/views/business-examine/reduction-apply/index.vue +++ b/src/views/business-examine/reduction-apply/index.vue @@ -1,41 +1,48 @@ - - - - - - - - - - - - - - - - - - 搜索 - 重置 - - - - + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + - + - - - - {{ (queryParams.pageNum - 1) * 10 + scope.$index + 1 }} - - - - - - - - - - - - - - - - - - 待审核 - - 已通过 - - - - - + + + + 审核中 + 待审核 + 已完成 + 已驳回 + + + + + - - 审核 - - - 查看 - - - - - + + 审核 + + + 查看 + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - {{ file.name }} - - - - + + + + + + + + + + + + + + + {{ file.name }} + + + + + + + + + + + + + + + + + + + + + + + + + 当前减免时间符合的数据条数:{{ num1 }} - - + + + + + 当前减免时间不符合的数据条数:{{ num2 }} - - - - - - - - - - - + + + 一键去除 + + - - - - - 当前减免时间符合的数据条数:{{ num1 }} - - - - - - 当前减免时间不符合的数据条数:{{ num2 }} - - - - 一键去除 - - + + + + + 小计: + + + + + + + + + + + + + + + + + + + + + + + + + + {{ scope.row.reduceLeaseMoney.toFixed(2) }} + + + + + - - - - - 小计: - - - - - - - - - - - - - - - - - - - - - - - - - - {{ scope.row.reduceLeaseMoney.toFixed(2) }} - - - - - - - - - - - + + + + + diff --git a/src/views/material/lease/protocol/index.vue b/src/views/material/lease/protocol/index.vue index c8a7ba7b..ec8d1285 100644 --- a/src/views/material/lease/protocol/index.vue +++ b/src/views/material/lease/protocol/index.vue @@ -1,147 +1,129 @@ - - - - - + + + + + - - - + + + - - - 搜索 - 重置 - - + + 搜索 + 重置 + + - - - 新增 - - - - 导出 - - - - + + + 新增 + + + + 导出 + + + + + + + + {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }} + + + + + + + + + + + + + + + 内部单位 + 外部单位 + + - - - - {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }} - - - - - - - - - - - - - - 内部单位 - 外部单位 - - + + + + 查看 + + + + + + + 查看 + 编辑 + 删除 + + + + - - - - 查看 - - - - - - - - 查看 - - - 编辑 - - - 删除 - - - - - - - - - - - - - - - + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + - action="#" - :file-list="businessLicenseListTemp" - :show-file-list="true" - :auto-upload="false" - :key="uploadKey" - list-type="picture-card" - accept=".png, .jpg, .jpeg, .pdf" - :on-change="handleChangeBusinessList" - :class="{ disabled: uploadDisabled }" - :on-preview="picturePreview" - :on-remove="handleRemoveElectricianImgList" - :disabled="isEdits" - > + + + + + + + + - - - - - - {{ file.name }} - - - - - - - - - - - - + + + + + + + + + + {{ file.name }} + + + + + + + + + + + + + + + + + + + + + + + + + - - - + - - - - - - - - - {{ form.unitName }} - - - {{ form.authPerson }} - - - {{ form.projectName }} - - - {{ form.phone }} - - - {{ form.contractCode }} - - + + + + {{ form.unitName }} + + + {{ form.authPerson }} + + + {{ form.projectName }} + + + {{ form.phone }} + + + {{ form.contractCode }} + + - - {{ form.planStartTime }} - - - {{ form.remark }} - - - {{ form.protocol === '1' ? '内部单位' : '外部单位' }} - - + + {{ form.planStartTime }} + + + {{ form.remark }} + + + {{ form.protocol === '1' ? '内部单位' : '外部单位' }} + + - - - - - - - - - {{ file.name }} - - - - - - - - - - - - + + + + + + + + + {{ file.name }} + + + + + + + + + + + + + + + + + + + - - - - + - - - - - - - - - - - - - - - {{ file.name }} - - - - - - - - - + + + + + + + + + + + {{ file.name }} + + + + + + + + + + + + + + + - - - + - - - - - - - - - - + + + + + diff --git a/src/views/warning-analysis/engineering-in-use/index.vue b/src/views/warning-analysis/engineering-in-use/index.vue index 4ce3b40b..e38f63c6 100644 --- a/src/views/warning-analysis/engineering-in-use/index.vue +++ b/src/views/warning-analysis/engineering-in-use/index.vue @@ -4,25 +4,27 @@ - + @@ -42,7 +44,9 @@ - 通知 + + 通知 + @@ -86,6 +90,7 @@
{{ file.name }}