人员提交时,新增属性
parent
bac78be6e2
commit
5aa5305982
|
@ -79,6 +79,7 @@ export default {
|
|||
this.getOpenerEventChannel().emit("confirm", {
|
||||
DEPARTMENT_NAME: this.treeSelectData[0].DEPARTMENT_NAME,
|
||||
DEPARTMENT_ID: this.treeSelectData[0].DEPARTMENT_ID,
|
||||
CORP_ID: this.CORP_ID,
|
||||
TYPE: this.type
|
||||
});
|
||||
uni.navigateBack();
|
||||
|
|
|
@ -32,8 +32,9 @@ const processSelectedPersonnelData = (formData, list) => {
|
|||
for (let i = 0; i < list.length; i++) {
|
||||
const item = list[i]
|
||||
form.push({
|
||||
TYPE_NAME: item.desc,
|
||||
TYPE_NAME: item.value,
|
||||
TYPE: item.code,
|
||||
TYPE_DESCRIBE: item.desc,
|
||||
DEPARTMENT_ID: list[i].type === '1' ? formData[item.key_id] : '',
|
||||
DEPARTMENT_NAME: list[i].type === '1' ? formData[item.key_name] : '',
|
||||
USER_ID: list[i].type === '0' ? formData[item.key_id] : '',
|
||||
|
|
Loading…
Reference in New Issue