created() {
let q = this.$route.query
if (this.$user.ORG_CODE == 830) {
this.is830 = true
}
//查询操作
if (q.act == 'query') {
this.isDisabled = true
this.btnType = 1
}
if (q.guid) {
this.isNameDisabled = true
this.guid = q.guid
//加载详情数据
this.loadPageData(q.guid)
} else {
}
},
//详情
loadPageData(guid) {
Post(api.findOne, {
funcName: 'ZHRFM_PA_JXHT_CURD',
input: {
IV_GUID: guid,
IV_ACTION: 'DIS', //详情
IV_ZSTEPID: 'ZDP01' //绩效登记
}
}).then(res => {
console.log('绩效res', res)
this.infoForm = res.data
})
},