diff --git a/src/views/EquipmentEntryApply/equipmentInput/add.vue b/src/views/EquipmentEntryApply/equipmentInput/add.vue index a68bd89b..6aafef45 100644 --- a/src/views/EquipmentEntryApply/equipmentInput/add.vue +++ b/src/views/EquipmentEntryApply/equipmentInput/add.vue @@ -79,7 +79,7 @@ - + - + - {{ formatDate(scope.row.expirationTime) }} ({{ scope.row.expirationYears }}年) + + {{ scope.row.expirationYears }}年 - + {{ scope.row.daysDiff }}天 ({{ scope.row.yearsDiff }}年) - + {{ scope.row.remainingDays }}天 ({{ scope.row.remainingYears }}年) diff --git a/src/views/EquipmentRetireApply/audit.vue b/src/views/EquipmentRetireApply/audit.vue index 92af991b..66c1bb81 100644 --- a/src/views/EquipmentRetireApply/audit.vue +++ b/src/views/EquipmentRetireApply/audit.vue @@ -55,7 +55,7 @@ - + {{ getStatusLabel(scope.row.reviewStatus) }} @@ -80,16 +80,20 @@ + + diff --git a/src/views/business/audit/auditList.vue b/src/views/business/audit/auditList.vue index a49e27b0..caf803cd 100644 --- a/src/views/business/audit/auditList.vue +++ b/src/views/business/audit/auditList.vue @@ -95,10 +95,10 @@ - 待审批 - 审批中 - 已审批 - 审批驳回 + 待审批 + 审批中 + 已审批 + 审批驳回 @@ -120,6 +120,8 @@ @pagination="getList" /> + + @@ -128,8 +130,13 @@ import { getListApi, } from '@/api/business' import { getUseProjectListAPI, } from '@/api/EquipmentLedger/equ-out' +import ApproveDialog from '@/views/business/components/ApproveDialog' + export default { name: 'AuditList', + components: { + ApproveDialog, + }, data() { return { isLoading: false, @@ -211,6 +218,9 @@ export default { handleEdit(row) { this.$router.push({ path: '/business/addAudit', query: { id: row.id, isEdit: true } }) }, + openDialog(row) { + this.$refs.approveDialog.openDialog(row.id, 'EQUIPMENT_OUT') + } }, } diff --git a/src/views/business/components/ApproveDialog.vue b/src/views/business/components/ApproveDialog.vue new file mode 100644 index 00000000..913dd31e --- /dev/null +++ b/src/views/business/components/ApproveDialog.vue @@ -0,0 +1,110 @@ + + + + + 审批进度 + + + + {{ node.nodeName }} + {{ getNodeStatusLabel(node) }} + + 审批人:{{ getNodeRecord(node).approverName }} + 审批意见:{{ getNodeRecord(node).approveOpinion }} + + + + + + + + + + diff --git a/src/views/business/warehouse/auditList.vue b/src/views/business/warehouse/auditList.vue index c4b9c034..4496a1bf 100644 --- a/src/views/business/warehouse/auditList.vue +++ b/src/views/business/warehouse/auditList.vue @@ -112,10 +112,10 @@ - 待审批 - 审批中 - 已审批 - 审批驳回 + 待审批 + 审批中 + 已审批 + 审批驳回 @@ -139,6 +139,8 @@ @pagination="getList" /> + + @@ -148,9 +150,13 @@ import { getUseProjectListAPI } from '@/api/EquipmentLedger/equ-out' import { deptTreeSelect } from '@/api/system/user' +import ApproveDialog from '@/views/business/components/ApproveDialog' export default { name: 'AuditList', + components: { + ApproveDialog + }, data() { return { propertyUnitList: [], @@ -249,6 +255,9 @@ export default { // 审核 handleEdit(row) { this.$router.push({ path: '/business/warehouse/auditDetails', query: { id: row.id, isEdit: true } }) + }, + openDialog(row) { + this.$refs.approveDialog.openDialog(row.id, 'EQUIPMENT_RETURN') } } } diff --git a/src/views/business/warehouse/details.vue b/src/views/business/warehouse/details.vue index cc33a891..f88d96f6 100644 --- a/src/views/business/warehouse/details.vue +++ b/src/views/business/warehouse/details.vue @@ -54,19 +54,18 @@ - - - - - - - - - - - - - + + + + @@ -530,6 +529,7 @@ export default { }, useTimeChange(val) { + console.log('🚀 ~ val:', val) this.tableList.forEach(item => { item.useTime = val }) diff --git a/src/views/business/warehouse/index.vue b/src/views/business/warehouse/index.vue index 632a29cb..ce6b6e3b 100644 --- a/src/views/business/warehouse/index.vue +++ b/src/views/business/warehouse/index.vue @@ -117,10 +117,10 @@ - 待审批 - 审批中 - 已审批 - 审批驳回 + 待审批 + 审批中 + 已审批 + 审批驳回 @@ -149,6 +149,8 @@ @pagination="getList" /> + + @@ -159,9 +161,13 @@ import { } from '@/api/EquipmentLedger/equ-out' import { deptTreeSelect } from '@/api/system/user' import { deleteApplyApi } from '@/api/business' +import ApproveDialog from '@/views/business/components/ApproveDialog' export default { name: 'ApplyList', + components: { + ApproveDialog + }, data() { return { propertyUnitList: [], @@ -285,6 +291,9 @@ export default { this.isLoading = false } }) + }, + openDialog(row) { + this.$refs.approveDialog.openDialog(row.id, 'EQUIPMENT_RETURN') } } } diff --git a/src/views/equipmentRepair/repairApply/repairList.vue b/src/views/equipmentRepair/repairApply/repairList.vue index e2ca3e5c..6a244b88 100644 --- a/src/views/equipmentRepair/repairApply/repairList.vue +++ b/src/views/equipmentRepair/repairApply/repairList.vue @@ -83,10 +83,10 @@ - 待审批 - 审批中 - 已审批 - 审批驳回 + 待审批 + 审批中 + 已审批 + 审批驳回 @@ -110,15 +110,21 @@ @pagination="getList" /> + + diff --git a/src/views/equipmentRepair/repairAudit/repairAuditList.vue b/src/views/equipmentRepair/repairAudit/repairAuditList.vue index 0e457ed7..299f570c 100644 --- a/src/views/equipmentRepair/repairAudit/repairAuditList.vue +++ b/src/views/equipmentRepair/repairAudit/repairAuditList.vue @@ -80,10 +80,10 @@ - 待审批 - 审批中 - 已审批 - 审批驳回 + 待审批 + 审批中 + 已审批 + 审批驳回 @@ -103,15 +103,21 @@ @pagination="getList" /> + +
+ {{ node.nodeName }} + {{ getNodeStatusLabel(node) }} +
审批人:{{ getNodeRecord(node).approverName }}
审批意见:{{ getNodeRecord(node).approveOpinion }}