[update] 主动上报流程修改
This commit is contained in:
+12
-1
@@ -786,6 +786,14 @@ export default {
|
|||||||
this.visible = true
|
this.visible = true
|
||||||
this.model = Object.assign({}, record)
|
this.model = Object.assign({}, record)
|
||||||
this.formInline = Object.assign({}, record)
|
this.formInline = Object.assign({}, record)
|
||||||
|
if (this.formInline.workGroup) {
|
||||||
|
this.formInline.workGroup = { value: this.formInline.workGroup, label: this.formInline.workGroup_dictText }
|
||||||
|
}
|
||||||
|
if (this.formInline.enStandardSystem && this.formInline.enStandardSystem.length > 0) {
|
||||||
|
this.formInline.enStandardSystem = this.formInline.enStandardSystem ? this.formInline.enStandardSystem.split(',').map(item => {
|
||||||
|
return { value: item }
|
||||||
|
}) : []
|
||||||
|
}
|
||||||
this.disabled = true
|
this.disabled = true
|
||||||
},
|
},
|
||||||
// watch监视年代号会滞后
|
// watch监视年代号会滞后
|
||||||
@@ -937,7 +945,10 @@ export default {
|
|||||||
// 设置创建人
|
// 设置创建人
|
||||||
const currentUser = Vue.ls.get(USER_INFO)
|
const currentUser = Vue.ls.get(USER_INFO)
|
||||||
formInline.contactUser_dictText = currentUser.realname + '(' + currentUser.username + ')'
|
formInline.contactUser_dictText = currentUser.realname + '(' + currentUser.username + ')'
|
||||||
// 主起草单位的回显需要在登录信息中有当前登录人部门的翻译 ??
|
// 主起草单位如果没有翻译字段,说明就是当前登录人没有重新选
|
||||||
|
if (!formInline.mainDraftingUnit_dictText) {
|
||||||
|
formInline.mainDraftingUnit_dictText = currentUser.departIds_dicText
|
||||||
|
}
|
||||||
console.log(formInline)
|
console.log(formInline)
|
||||||
this.$emit('ok', formInline)
|
this.$emit('ok', formInline)
|
||||||
this.close()
|
this.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user