commit
This commit is contained in:
@@ -838,7 +838,11 @@
|
|||||||
bpnId: this.$route.query.bpnId
|
bpnId: this.$route.query.bpnId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
let mes = JSON.parse(res.mes)
|
let mes = JSON.parse(res.mes)
|
||||||
|
if (mes.form.date) {
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
|
} else {
|
||||||
|
mes.form.date = ''
|
||||||
|
}
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.roleForm = mes.roleForm
|
this.roleForm = mes.roleForm
|
||||||
this.commentText1 = mes.commentText1 || ''
|
this.commentText1 = mes.commentText1 || ''
|
||||||
|
|||||||
@@ -659,7 +659,11 @@ export default {
|
|||||||
bpnId: this.$route.query.bpnId
|
bpnId: this.$route.query.bpnId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
let mes = JSON.parse(res.mes)
|
let mes = JSON.parse(res.mes)
|
||||||
|
if (mes.form.endTime) {
|
||||||
mes.form.endTime = new Date(this.$moment(mes.form.endTime).format('YYYY-MM-DD'))
|
mes.form.endTime = new Date(this.$moment(mes.form.endTime).format('YYYY-MM-DD'))
|
||||||
|
} else {
|
||||||
|
mes.form.endTime = ''
|
||||||
|
}
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.roleForm = mes.roleForm
|
this.roleForm = mes.roleForm
|
||||||
this.commentText1 = mes.commentText1 || ''
|
this.commentText1 = mes.commentText1 || ''
|
||||||
|
|||||||
Reference in New Issue
Block a user