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