diff --git a/src/router/index.js b/src/router/index.js index 60ec764a..6ef869e4 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1607,6 +1607,13 @@ const routes2 = [ component: () => import("@/views/projectFront/specialWork/disconnectionWork.vue"), }, + // 应急处置 + { + path: "/project/emergencyDisposal/emergencyDisposal", + name: "应急处置", + component: () => + import("@/views/projectFront/emergencyDisposal/emergencyDisposal.vue"), + }, //卸料平台 { path: "/project/unload/basicInfo", //卸料平台 基本信息 diff --git a/src/views/projectFront/specialWork/blindPlugWork.vue b/src/views/projectFront/specialWork/blindPlugWork.vue index 5a914c8e..c88bdb4b 100644 --- a/src/views/projectFront/specialWork/blindPlugWork.vue +++ b/src/views/projectFront/specialWork/blindPlugWork.vue @@ -103,7 +103,7 @@ --> - + 删除 @@ -137,7 +137,7 @@ - - + @@ -416,6 +426,29 @@ export default { isUpdate: false } }, + computed:{ + pipelineUp() { + + // .map(item => `介质(${})、温度(${})、压力(${})`) + let newResult = []; + if(this.workDetail.pipelineParameter&& JSON.parse(this.workDetail.pipelineParameter) instanceof Array ){ + newResult = JSON.parse(this.workDetail.pipelineParameter); + } + + if(this.workDetail.blindPlateParameter&& JSON.parse(this.workDetail.blindPlateParameter) instanceof Array ){ + const blindPlateParameter = JSON.parse(this.workDetail.blindPlateParameter); + newResult = newResult.reduce((prev,item,index) => { + prev.push({ + ...item, + ...blindPlateParameter[index], + }) + return prev; + },[]); + } + + return newResult; + } + }, created() { this.projectSn = this.$store.state.projectSn this.styleType = this.$store.state.userInfo.styleType; @@ -500,7 +533,7 @@ export default { pageNo: this.pageNo, pageSize: this.pageSize, projectSn: this.projectSn, - assignmentPersonInCharge: this.$store.state.userInfo.accountType == 6 ? this.$store.state.userInfo.userId : '', + // assignmentPersonInCharge: this.$store.state.userInfo.accountType == 6 ? this.$store.state.userInfo.userId : '', } getPlatePlugSafePageApi(data).then((res) => { if (res.result) { @@ -848,6 +881,52 @@ export default {