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 @@ 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 @@ + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - -
- -
- -

{{ file.name }}

-
- - - + + + + + + + + + + +
+ +
+ +

{{ file.name }}

+
+ + + + + + + + + + + +
+ +
+
+
+
+ + + + + + + 当前减免时间符合的数据条数:{{ num1 }} - - + + + + + 当前减免时间不符合的数据条数:{{ num2 }} - - - -
-
- -
-
-
-
-
+ + + 一键去除 + + - - - - - 当前减免时间符合的数据条数:{{ num1 }} - - - - - - 当前减免时间不符合的数据条数:{{ num2 }} - - - - 一键去除 - - + + + + + + + + + + + + + + + + + + + + + + +
- - - - - - - - - - - - - - - - - - - - - - -
- - - - - - + + + + + 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 @@ 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 @@