Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage
This commit is contained in:
@@ -332,7 +332,12 @@
|
||||
if (res.success) {
|
||||
this.confirmLoading = false
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
eventBUs.$emit('searchReset')
|
||||
if (this.formInline.id) {
|
||||
eventBUs.$emit('searchGetData')
|
||||
} else {
|
||||
eventBUs.$emit('searchReset')
|
||||
}
|
||||
|
||||
this.$emit('addFormClick')
|
||||
} else {
|
||||
this.confirmLoading = false
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
this.visible = false
|
||||
this.visibleTree = false
|
||||
this.$emit('clearSelected')
|
||||
eventBUs.$emit('searchReset')
|
||||
eventBUs.$emit('searchGetData')
|
||||
} else {
|
||||
this.$message.warning(this.$t('operationFailed'))
|
||||
}
|
||||
@@ -188,7 +188,7 @@
|
||||
.drawer-bootom-button {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
z-index:100;
|
||||
z-index: 100;
|
||||
width: 100%;
|
||||
border-top: 1px solid #e8e8e8;
|
||||
padding: 10px 16px;
|
||||
|
||||
+2
-2
@@ -333,7 +333,7 @@
|
||||
value.id = this.getUUID()
|
||||
value.currentUserName = this.userInfo().username
|
||||
Object.keys(value).forEach(res => {
|
||||
if (value[res] && value[res] instanceof String) {
|
||||
if (value[res] && typeof value[res] == 'string') {
|
||||
value[res] = value[res].replace(/\"/g, '“')
|
||||
value[res] = value[res].replace(/\'/g, '‘')
|
||||
}
|
||||
@@ -364,7 +364,7 @@
|
||||
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||
value.handlingTime = handlingTime
|
||||
Object.keys(value).forEach(res => {
|
||||
if (value[res] && value[res] instanceof String) {
|
||||
if (value[res] && typeof value[res] == 'string') {
|
||||
value[res] = value[res].replace(/\"/g, '“')
|
||||
value[res] = value[res].replace(/\'/g, '‘')
|
||||
}
|
||||
|
||||
+1
-1
@@ -217,7 +217,7 @@
|
||||
},
|
||||
{
|
||||
title: this.$t('feedbackTime'),
|
||||
dataIndex: 'updateTime',
|
||||
dataIndex: 'feedbackTime',
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
width: 160
|
||||
|
||||
+2
-2
@@ -537,7 +537,7 @@
|
||||
if (value[res] && value[res] instanceof Array) {
|
||||
value[res] = value[res].join(',')
|
||||
}
|
||||
if (value[res] && value[res] instanceof String) {
|
||||
if (value[res] && typeof value[res] == 'string') {
|
||||
value[res] = value[res].replace(/\"/g, '“')
|
||||
value[res] = value[res].replace(/\'/g, '‘')
|
||||
}
|
||||
@@ -579,7 +579,7 @@
|
||||
},
|
||||
completeTask(value, taskId) {
|
||||
Object.keys(value).forEach(res => {
|
||||
if (value[res] && value[res] instanceof String) {
|
||||
if (value[res] && typeof value[res] == 'string') {
|
||||
value[res] = value[res].replace(/\"/g, '“')
|
||||
value[res] = value[res].replace(/\'/g, '‘')
|
||||
}
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
if (res.success) {
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
_this.idList = []
|
||||
eventBUs.$emit('searchReset')
|
||||
eventBUs.$emit('searchGetData')
|
||||
} else {
|
||||
_this.$message.warning(_this.$t('operationFailed'))
|
||||
}
|
||||
@@ -233,7 +233,7 @@
|
||||
getAction(_this.url.deleteBatch, { ids: val.id }).then((res) => {
|
||||
if (res.success) {
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
eventBUs.$emit('searchReset')
|
||||
eventBUs.$emit('searchGetData')
|
||||
} else {
|
||||
_this.$message.warning(_this.$t('operationFailed'))
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
</template>
|
||||
<span style="cursor: pointer"
|
||||
class="text-header-text"
|
||||
v-if="item.serial_number && !item.module_type_flag"
|
||||
v-if="item.serial_number && item.module_type_flag == 'WDK'"
|
||||
v-html="item.serial_number"></span>
|
||||
<template slot="title">
|
||||
<span v-html="item.title"></span>
|
||||
@@ -30,7 +30,7 @@
|
||||
<template slot="title">
|
||||
<span v-html="item.file_name"></span>
|
||||
</template>
|
||||
<span class="text-header-text" v-if="item.file_name && !item.module_type_flag" style="cursor: pointer"
|
||||
<span class="text-header-text" v-if="item.file_name && item.module_type_flag == 'WDK'" style="cursor: pointer"
|
||||
v-html="item.file_name"></span>
|
||||
</a-tooltip>
|
||||
<!-- <a-tooltip placement="topLeft" :mouseEnterDelay="0.5">-->
|
||||
|
||||
@@ -98,6 +98,7 @@
|
||||
import { getAction, postAction } from '@/api/manage'
|
||||
import uploadFile from '@/components/uploadFile/file'
|
||||
import viewFileModel from '@/components/viewFileModel/index'
|
||||
import moment from 'moment'
|
||||
|
||||
export default {
|
||||
name: 'evaluatorFeedback',
|
||||
@@ -345,9 +346,21 @@
|
||||
return
|
||||
}
|
||||
}
|
||||
if (this.$route.query.taskDefinitionKey == 'pgrqr'){
|
||||
let feedbackTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||
for (let i = 0; i < this.dataSource.length; i++) {
|
||||
this.dataSource[i].feedbackTime = feedbackTime
|
||||
}
|
||||
}
|
||||
callBack && callBack(this.dataSource)
|
||||
},
|
||||
preservationData(callBack) {
|
||||
if (this.$route.query.taskDefinitionKey == 'pgrqr'){
|
||||
let feedbackTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||
for (let i = 0; i < this.dataSource.length; i++) {
|
||||
this.dataSource[i].feedbackTime = feedbackTime
|
||||
}
|
||||
}
|
||||
callBack && callBack(this.dataSource)
|
||||
},
|
||||
accessoryFileClick(item) {
|
||||
|
||||
@@ -313,7 +313,7 @@
|
||||
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||
value.handlingTime = handlingTime
|
||||
Object.keys(value).forEach(res => {
|
||||
if (value[res] && value[res] instanceof String) {
|
||||
if (value[res] && typeof value[res] == 'string') {
|
||||
value[res] = value[res].replace(/\"/g, '“')
|
||||
value[res] = value[res].replace(/\'/g, '‘')
|
||||
}
|
||||
|
||||
@@ -267,7 +267,7 @@
|
||||
let operatorTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||
value.operatorTime = operatorTime
|
||||
Object.keys(value).forEach(res => {
|
||||
if (value[res] && value[res] instanceof String) {
|
||||
if (value[res] && typeof value[res] == 'string') {
|
||||
value[res] = value[res].replace(/\"/g, '“')
|
||||
value[res] = value[res].replace(/\'/g, '‘')
|
||||
}
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||
value.handlingTime = handlingTime
|
||||
Object.keys(value).forEach(res => {
|
||||
if (value[res] && value[res] instanceof String) {
|
||||
if (value[res] && typeof value[res] == 'string') {
|
||||
value[res] = value[res].replace(/\"/g, '“')
|
||||
value[res] = value[res].replace(/\'/g, '‘')
|
||||
}
|
||||
|
||||
@@ -346,7 +346,7 @@
|
||||
let json = Object.assign(this.queryBy, value)
|
||||
let data = JSON.stringify(json).replace(/\"/g, '\'')
|
||||
Object.keys(value).forEach(res => {
|
||||
if (value[res] && value[res] instanceof String) {
|
||||
if (value[res] && typeof value[res] == 'string') {
|
||||
value[res] = value[res].replace(/\"/g, '“')
|
||||
value[res] = value[res].replace(/\'/g, '‘')
|
||||
}
|
||||
|
||||
@@ -1787,7 +1787,7 @@
|
||||
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||
value.handlingTime = handlingTime
|
||||
Object.keys(value).forEach(res => {
|
||||
if (value[res] && value[res] instanceof String) {
|
||||
if (value[res] && typeof value[res] == 'string') {
|
||||
value[res] = value[res].replace(/\"/g, '“')
|
||||
value[res] = value[res].replace(/\'/g, '‘')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user