feat: There is no way the, bug #52330

This commit is contained in:
super_liu
2022-04-04 18:03:51 +08:00
parent e23ba6729e
commit 70584a9304
2 changed files with 9 additions and 4 deletions
@@ -1430,13 +1430,18 @@
}).then(res => {
this.verifySarStandard = this.$route.query.verifySarStandard
let mes = JSON.parse(res.mes)
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
console.log(mes)
this.form = mes.form
this.form.date = new Date(this.$moment(this.form.date).format('YYYY-MM-DD'))
let dateArr = []
if(mes.commentCycleStart && mes.commentCycleEnd){
dateArr[0] = mes.commentCycleStart
dateArr[1] = mes.commentCycleEnd
this.commentCycleDate = dateArr
}else if(mes.form.commentCycleStart && mes.form.commentCycleEnd){
dateArr[0] = mes.form.commentCycleStart
dateArr[1] = mes.form.commentCycleEnd
this.commentCycleDate = dateArr
}
this.form['lawsSyqy'] = this.filterObj(this.form['lawsSyqy'])
this.form['lawsSycx'] = this.filterObj(this.form['lawsSycx'])
@@ -817,9 +817,9 @@ export default {
}
})
break
// 标准入库、
// 政策入库、
case 'laws1':
if(mes !== null && mes.taskInfo !== null){
if(mes !== null && mes.taskInfo !== null && mes.taskInfo !== undefined) {
if (mes.taskInfo === '申请人发起') {
this.$router.push({
name: 'zcrkStep1',
@@ -843,7 +843,7 @@ export default {
}
}else {
this.$router.push({
name: 'zcrkStep3',
name: 'zcrkStep1',
query: {
type: '1',
processName: '申请人发起流程',