Browse Source

修复页面报错

master
李磊 3 years ago
parent
commit
329da2e76e
  1. 5
      src/views/ysjl/5000/dj/lygg-cl/index.vue

5
src/views/ysjl/5000/dj/lygg-cl/index.vue

@ -462,7 +462,6 @@ export default {
this.getMaxBh() this.getMaxBh()
} else { } else {
this.getYsjl(this.$route.query.id) this.getYsjl(this.$route.query.id)
} }
this.getDepartment() this.getDepartment()
}, },
@ -536,7 +535,6 @@ export default {
} }
}).then(data => { }).then(data => {
this.ysjl = data.ysjl this.ysjl = data.ysjl
this.getJyxm(1)
this.param = (data.param !== null && data.param !== undefined) ? data.param : {} this.param = (data.param !== null && data.param !== undefined) ? data.param : {}
this.ysjl.jianyanjieshuriqi = this.formatter.dateFormat('YYYY-MM-dd') this.ysjl.jianyanjieshuriqi = this.formatter.dateFormat('YYYY-MM-dd')
this.getXcjyrq() this.getXcjyrq()
@ -550,6 +548,7 @@ export default {
// //
this.ysjl.zhizaoriqi = this.common.checkDateFormat(this.ysjl.zhizaoriqi) this.ysjl.zhizaoriqi = this.common.checkDateFormat(this.ysjl.zhizaoriqi)
this.ysjl.gaizaoriqi = this.common.checkDateFormat(this.ysjl.gaizaoriqi) this.ysjl.gaizaoriqi = this.common.checkDateFormat(this.ysjl.gaizaoriqi)
this.getJyxm(1)
}) })
}, },
getYsjl(id) { getYsjl(id) {
@ -561,7 +560,6 @@ export default {
} }
}).then(data => { }).then(data => {
this.ysjl = data this.ysjl = data
this.getJyxm(1)
this.departmentId = this.ysjl.departmentId this.departmentId = this.ysjl.departmentId
if (this.ysjl.jianyanrenyuan !== null && this.ysjl.jianyanrenyuan.length > 0) { if (this.ysjl.jianyanrenyuan !== null && this.ysjl.jianyanrenyuan.length > 0) {
this.jianyanrenyuan = this.common.convertCnName(this.ysjl.jianyanrenyuan) this.jianyanrenyuan = this.common.convertCnName(this.ysjl.jianyanrenyuan)
@ -571,6 +569,7 @@ export default {
this.getMaxBh() this.getMaxBh()
} }
this.getParam(this.ysjl.id, this.ysjl.shebeizhongleidaima) this.getParam(this.ysjl.id, this.ysjl.shebeizhongleidaima)
this.getJyxm(1)
}) })
}, },
handleChange(v) { handleChange(v) {

Loading…
Cancel
Save