From 84e9cea1af98b0598cc775144875794ae93db728 Mon Sep 17 00:00:00 2001
From: qq787203167 <787203167@qq.com>
Date: Fri, 15 Jul 2022 11:05:25 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=B3=95=E8=A7=84=E6=8A=80?=
=?UTF-8?q?=E6=9C=AF=E8=AF=84=E4=BC=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/TermInformation.vue | 6 ++-
.../components/evaluationResultsClause.vue | 7 ++-
.../components/evaluationResultsWhole.vue | 7 ++-
.../components/initiatingProcess.vue | 47 +++++++++++++++++--
.../technologyAssessment/index.vue | 11 ++---
5 files changed, 65 insertions(+), 13 deletions(-)
diff --git a/jero-web/src/views/businessSupport/technologyAssessment/components/TermInformation.vue b/jero-web/src/views/businessSupport/technologyAssessment/components/TermInformation.vue
index 5c9aa7475..98f2bc425 100644
--- a/jero-web/src/views/businessSupport/technologyAssessment/components/TermInformation.vue
+++ b/jero-web/src/views/businessSupport/technologyAssessment/components/TermInformation.vue
@@ -165,8 +165,10 @@
submitData(callback) {
let dataList = JSON.parse(JSON.stringify(this.dataList))
for (let i = 0; i < dataList.length; i++) {
- dataList[i].evaluationMethods = dataList[i].evaluationMethods.join(',')
- dataList[i].lawsTechnologyEvaluationId = this.getUUID
+ if (dataList[i].evaluationMethods && dataList[i].evaluationMethods instanceof Array) {
+ dataList[i].evaluationMethods = dataList[i].evaluationMethods.join(',')
+ }
+ dataList[i].lawsTechnologyEvaluationId = this.$route.query.lawsTechnologyEvaluationId || this.getUUID
if (!dataList[i].evaluationMethods || !dataList[i].evaluatorIds) {
this.$message.warning(this.$t('pleaseCompleteTheEvaluationMethodorEvaluator'))
return
diff --git a/jero-web/src/views/businessSupport/technologyAssessment/components/evaluationResultsClause.vue b/jero-web/src/views/businessSupport/technologyAssessment/components/evaluationResultsClause.vue
index 0eb59c342..b9b258dad 100644
--- a/jero-web/src/views/businessSupport/technologyAssessment/components/evaluationResultsClause.vue
+++ b/jero-web/src/views/businessSupport/technologyAssessment/components/evaluationResultsClause.vue
@@ -226,13 +226,18 @@
}
},
mounted() {
+ document.title = this.$route.query.serialNumber + ' ' + this.$t('regulatoryTechnicalEvaluationResults')
this.getList()
},
methods: {
CurrentStandard() {
let query = {
firstInitiation: '2',
- whetherTobring: '1'
+ whetherTobring: '1',
+ processBackground: this.$route.query.processBackground || '',
+ remark: this.$route.query.remark || '',
+ standId: this.$route.query.standId,
+ lawsTechnologyEvaluationId:this.$route.query.lawsTechnologyEvaluationId
}
let newUrl = this.$router.resolve({
path: '/evaluationInitiationProcess',
diff --git a/jero-web/src/views/businessSupport/technologyAssessment/components/evaluationResultsWhole.vue b/jero-web/src/views/businessSupport/technologyAssessment/components/evaluationResultsWhole.vue
index 8d83206c5..7c54837f7 100644
--- a/jero-web/src/views/businessSupport/technologyAssessment/components/evaluationResultsWhole.vue
+++ b/jero-web/src/views/businessSupport/technologyAssessment/components/evaluationResultsWhole.vue
@@ -110,13 +110,18 @@
}
},
mounted() {
+ document.title = this.$route.query.serialNumber +' '+this.$t('regulatoryTechnicalEvaluationResults')
this.getList()
},
methods: {
CurrentStandard() {
let query = {
firstInitiation: '2',
- whetherTobring: '2'
+ whetherTobring: '2',
+ processBackground:this.$route.query.processBackground || '',
+ remark:this.$route.query.remark || '',
+ standId:this.$route.query.standId,
+ lawsTechnologyEvaluationId:this.$route.query.lawsTechnologyEvaluationId
}
let newUrl = this.$router.resolve({
path: '/evaluationInitiationProcess',
diff --git a/jero-web/src/views/businessSupport/technologyAssessment/components/initiatingProcess.vue b/jero-web/src/views/businessSupport/technologyAssessment/components/initiatingProcess.vue
index b89247abf..09874fbdd 100644
--- a/jero-web/src/views/businessSupport/technologyAssessment/components/initiatingProcess.vue
+++ b/jero-web/src/views/businessSupport/technologyAssessment/components/initiatingProcess.vue
@@ -99,6 +99,7 @@
@@ -113,6 +114,7 @@
@@ -290,7 +292,6 @@
},
mounted() {
document.title = this.$t('regulatoryEngineer') + this.$t('initiatingProcess')
- this.getList()
this.getEvaluationMethodTree()
if (this.$route.query.whetherTobring == '1') {
this.isTrue = true
@@ -299,8 +300,14 @@
}
if (this.$route.query.firstInitiation == '1') {
this.whetherDisplay = true
+ this.getList()
} else {
this.whetherDisplay = false
+ this.formInline.processBackground = this.$route.query.processBackground
+ this.formInline.lawsTechnologyEvaluationId = this.$route.query.lawsTechnologyEvaluationId
+ this.formInline.remark = this.$route.query.remark
+ this.formInline.standId = this.$route.query.standId
+ this.getListOne()
}
eventBUs.$on('searchQuery', search => {
Object.keys(search).forEach(res => {
@@ -333,6 +340,36 @@
this.pageSize = pageSize
this.getList()
},
+ getListOne() {
+ let query = {
+ pageNo: this.pageNo,
+ pageSize: this.pageSize,
+ id: this.formInline.standId
+ }
+ this.loading = true
+ let url = ''
+ if (this.isTrue) {
+ url = this.url.addModelListOne
+ } else {
+ url = this.url.addModelList
+ }
+ postAction(url, query).then((res) => {
+ if (res.success) {
+ let content = res.result.records || []
+ this.selectedRowKeysRecord.push({
+ standId: content[0].id,
+ serialNumber: content[0].serial_number,
+ title: content[0].title,
+ technologyTerritory: content[0].technology_territory_id
+ })
+ this.standardDecomposition = content
+ this.loading = false
+ } else {
+ this.dataSource = []
+ this.loading = false
+ }
+ })
+ },
getList() {
let query = {
pageNo: this.pageNo,
@@ -463,7 +500,7 @@
value.startTime = startTime
value.flowStatus = 'Underway'
value.taskAffirmDueDate = value.endTime
- if (!value.lawsTechnologyEvaluationId){
+ if (!value.lawsTechnologyEvaluationId) {
value.lawsTechnologyEvaluationId = this.getUUID()
}
value.regulationOwnerId = this.userInfo().id
@@ -532,7 +569,11 @@
}
}
-
+