Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage
This commit is contained in:
@@ -296,6 +296,12 @@
|
|||||||
if (dataList[i].evaluationMethods && dataList[i].evaluationMethods instanceof Array) {
|
if (dataList[i].evaluationMethods && dataList[i].evaluationMethods instanceof Array) {
|
||||||
dataList[i].evaluationMethods = dataList[i].evaluationMethods.join(',')
|
dataList[i].evaluationMethods = dataList[i].evaluationMethods.join(',')
|
||||||
}
|
}
|
||||||
|
Object.keys(dataList[i]).forEach(res=>{
|
||||||
|
if (dataList[i][res] && typeof dataList[i][res] == 'string') {
|
||||||
|
dataList[i][res] = dataList[i][res].replace(/\"/g, '“')
|
||||||
|
dataList[i][res] = dataList[i][res].replace(/\'/g, '‘')
|
||||||
|
}
|
||||||
|
})
|
||||||
dataList[i].lawsTechnologyEvaluationId = this.$route.query.lawsTechnologyEvaluationId || this.getUUID
|
dataList[i].lawsTechnologyEvaluationId = this.$route.query.lawsTechnologyEvaluationId || this.getUUID
|
||||||
if (!dataList[i].evaluatorIds) {
|
if (!dataList[i].evaluatorIds) {
|
||||||
this.$message.warning(this.$t('pleaseCompleteTheEvaluationMethodorEvaluator'))
|
this.$message.warning(this.$t('pleaseCompleteTheEvaluationMethodorEvaluator'))
|
||||||
|
|||||||
+5
-1
@@ -244,14 +244,18 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
searchQuery() {
|
searchQuery() {
|
||||||
|
if (this.queryParam.info_id) {
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.replacePage()
|
this.replacePage()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
searchReset() {
|
searchReset() {
|
||||||
this.pageNo = 1
|
|
||||||
this.queryParam = {}
|
this.queryParam = {}
|
||||||
this.queryParam.info_id = this.sarFileSplitInfoList && this.sarFileSplitInfoList.length > 0 ? this.sarFileSplitInfoList[0].id : ''
|
this.queryParam.info_id = this.sarFileSplitInfoList && this.sarFileSplitInfoList.length > 0 ? this.sarFileSplitInfoList[0].id : ''
|
||||||
|
if (this.queryParam.info_id) {
|
||||||
|
this.pageNo = 1
|
||||||
this.replacePage()
|
this.replacePage()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onChange(page, pageSize) {
|
onChange(page, pageSize) {
|
||||||
this.pageNo = page
|
this.pageNo = page
|
||||||
|
|||||||
@@ -345,6 +345,12 @@
|
|||||||
this.$message.warning(this.$t('PleaseCompleteList'))
|
this.$message.warning(this.$t('PleaseCompleteList'))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Object.keys(this.dataSource[i]).forEach(res=>{
|
||||||
|
if (this.dataSource[i][res] && typeof this.dataSource[i][res] == 'string') {
|
||||||
|
this.dataSource[i][res] = this.dataSource[i][res].replace(/\"/g, '“')
|
||||||
|
this.dataSource[i][res] = this.dataSource[i][res].replace(/\'/g, '‘')
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
if (this.$route.query.taskDefinitionKey == 'pgrqr'){
|
if (this.$route.query.taskDefinitionKey == 'pgrqr'){
|
||||||
let feedbackTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
let feedbackTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||||
|
|||||||
@@ -348,6 +348,7 @@
|
|||||||
this.getNameList()
|
this.getNameList()
|
||||||
this.formInline.studioEngineerName = this.userInfo().username
|
this.formInline.studioEngineerName = this.userInfo().username
|
||||||
this.formInline.studioEngineer = this.userInfo().id
|
this.formInline.studioEngineer = this.userInfo().id
|
||||||
|
this.formInline = {...this.formInline}
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.ruleForm.clearValidate()
|
this.$refs.ruleForm.clearValidate()
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -296,8 +296,14 @@
|
|||||||
},
|
},
|
||||||
verifyTaskClick(val, num, isTrue) {
|
verifyTaskClick(val, num, isTrue) {
|
||||||
let query = {}
|
let query = {}
|
||||||
|
let isDisplay = false
|
||||||
switch (num) {
|
switch (num) {
|
||||||
case 1:
|
case 1:
|
||||||
|
if (val.designTaskStatus == 'NotDone'){
|
||||||
|
isDisplay = true
|
||||||
|
}else{
|
||||||
|
isDisplay = false
|
||||||
|
}
|
||||||
query = {
|
query = {
|
||||||
taskIds: val.designTaskId,
|
taskIds: val.designTaskId,
|
||||||
actiProcInstId: val.designPId,
|
actiProcInstId: val.designPId,
|
||||||
@@ -307,7 +313,7 @@
|
|||||||
studioEngineer: val.studioEngineer,
|
studioEngineer: val.studioEngineer,
|
||||||
serialNumber: val.serialNumber,
|
serialNumber: val.serialNumber,
|
||||||
TaskKey: val.designTaskDefinitionKey,
|
TaskKey: val.designTaskDefinitionKey,
|
||||||
isDisplay: isTrue,
|
isDisplay: isDisplay,
|
||||||
flowType: 2,
|
flowType: 2,
|
||||||
Sponsor: 'designInitiatorName',
|
Sponsor: 'designInitiatorName',
|
||||||
personLiable: 'designDutyName',
|
personLiable: 'designDutyName',
|
||||||
@@ -323,6 +329,11 @@
|
|||||||
}
|
}
|
||||||
break
|
break
|
||||||
case 2:
|
case 2:
|
||||||
|
if (val.prehomoTaskStatus == 'NotDone'){
|
||||||
|
isDisplay = true
|
||||||
|
}else{
|
||||||
|
isDisplay = false
|
||||||
|
}
|
||||||
query = {
|
query = {
|
||||||
taskIds: val.prehomoTaskId,
|
taskIds: val.prehomoTaskId,
|
||||||
actiProcInstId: val.prehomoPId,
|
actiProcInstId: val.prehomoPId,
|
||||||
@@ -348,6 +359,11 @@
|
|||||||
}
|
}
|
||||||
break
|
break
|
||||||
case 3:
|
case 3:
|
||||||
|
if (val.verifyTaskStatus == 'NotDone'){
|
||||||
|
isDisplay = true
|
||||||
|
}else{
|
||||||
|
isDisplay = false
|
||||||
|
}
|
||||||
query = {
|
query = {
|
||||||
taskIds: val.verifyTaskId,
|
taskIds: val.verifyTaskId,
|
||||||
actiProcInstId: val.verifyPId,
|
actiProcInstId: val.verifyPId,
|
||||||
|
|||||||
Reference in New Issue
Block a user