|
|
|
@ -319,8 +319,30 @@ export default { |
|
|
|
flowFlagOptions: [{ 'label': '是', 'value': 1 }, { 'label': '否', 'value': 0 }], // 是否流动党员 |
|
|
|
studyNotNeedOptions: [{ 'label': '是', 'value': 1 }, { 'label': '否', 'value': 0 }], // 免学习 |
|
|
|
retiredFlagOptions: [{ 'label': '是', 'value': 1 }, { 'label': '否', 'value': 0 }], // 退休 |
|
|
|
dataFormClear: null, |
|
|
|
dataForm: { |
|
|
|
dataForm: this.initForm(), |
|
|
|
|
|
|
|
partyOrgTreeCascadarProps: { |
|
|
|
lazy: true, |
|
|
|
lazyLoad: ((node, resolve) => { |
|
|
|
this.handleNextOrgTreeClick(node, resolve) |
|
|
|
}), |
|
|
|
value: 'id', |
|
|
|
label: 'partyOrgName', |
|
|
|
checkStrictly: true, |
|
|
|
multiple: false |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted () { |
|
|
|
this.epmetResultResolver = new EpmetResultResolver(this); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
|
|
|
|
/** |
|
|
|
* 初始化表单 |
|
|
|
*/ |
|
|
|
initForm() { |
|
|
|
return { |
|
|
|
partyOrgId: null, |
|
|
|
name: null, |
|
|
|
mobile: null, |
|
|
|
@ -344,27 +366,8 @@ export default { |
|
|
|
joinBranchName: null, |
|
|
|
joinCommunityTime: null, |
|
|
|
remark: null, |
|
|
|
}, |
|
|
|
|
|
|
|
partyOrgTreeCascadarProps: { |
|
|
|
lazy: true, |
|
|
|
lazyLoad: ((node, resolve) => { |
|
|
|
this.handleNextOrgTreeClick(node, resolve) |
|
|
|
}), |
|
|
|
value: 'id', |
|
|
|
label: 'partyOrgName', |
|
|
|
checkStrictly: true, |
|
|
|
multiple: false |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted () { |
|
|
|
this.epmetResultResolver = new EpmetResultResolver(this); |
|
|
|
// 备份一下dataForm |
|
|
|
// this.dataFormClear = Object.create(this.dataForm); |
|
|
|
this.dataFormClear = JSON.parse(JSON.stringify(this.dataForm)); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
}, |
|
|
|
|
|
|
|
/** ● ====================事件列表====================== **/ |
|
|
|
|
|
|
|
@ -443,7 +446,7 @@ export default { |
|
|
|
* @returns {Promise<void>} |
|
|
|
*/ |
|
|
|
resetForm() { |
|
|
|
this.dataForm = this.dataFormClear; |
|
|
|
this.dataForm = this.initForm(); |
|
|
|
}, |
|
|
|
|
|
|
|
/** ● ==================方法列表===================== **/ |
|
|
|
|