diff --git a/src/views/xgf/flow/components/list.vue b/src/views/xgf/flow/components/list.vue index ebb3f19..248bb4a 100644 --- a/src/views/xgf/flow/components/list.vue +++ b/src/views/xgf/flow/components/list.vue @@ -42,8 +42,8 @@ diff --git a/src/views/xgf/insert/components/corpInfoAdd.vue b/src/views/xgf/insert/components/corpInfoAdd.vue index 32e05ed..cabfbd3 100644 --- a/src/views/xgf/insert/components/corpInfoAdd.vue +++ b/src/views/xgf/insert/components/corpInfoAdd.vue @@ -97,7 +97,7 @@ - + @@ -439,13 +439,13 @@ export default { this.form.COMPANY_AREA = this.$refs.POSSESSION.getCheckedNodes()[0].pathLabels ? this.$refs.POSSESSION.getCheckedNodes()[0].pathLabels.join(',') : '' } this.form.SELECT_FORM = this.form.SELECT_FORMS.join(',') - this.form.SELECT_FORM = this.form.SELECT_FORMS.join(',') if (this.form.COMPETENT_DEPT_ID) { this.form.COMPETENT_DEPT_ID = this.form.COMPETENT_DEPT_ID.join(',') } if (this.form.MANAGER_DEPARTMENT_ID) { this.form.MANAGER_DEPARTMENT_ID = this.form.MANAGER_DEPARTMENT_ID.join(',') } + this.form.CORP_TYPE = JSON.stringify(this.form.CORP_TYPE) requestFN( '/relevantunits/saveCorpInfo', this.form diff --git a/src/views/xgf/insert/components/corpInfoEdit.vue b/src/views/xgf/insert/components/corpInfoEdit.vue index 85186a1..55e982d 100644 --- a/src/views/xgf/insert/components/corpInfoEdit.vue +++ b/src/views/xgf/insert/components/corpInfoEdit.vue @@ -97,7 +97,7 @@ - + @@ -474,6 +474,7 @@ export default { } ).then((data) => { this.form = Object.assign(this.form, data.pd) + this.form.CORP_TYPE = JSON.parse(this.form.CORP_TYPE) var sz = this.form.SELECT_FORM var cdi = this.form.COMPETENT_DEPT_ID var mdi = this.form.MANAGER_DEPARTMENT_ID @@ -552,13 +553,7 @@ export default { if (this.form.MANAGER_DEPARTMENT_ID) { this.form.MANAGER_DEPARTMENT_ID = this.form.MANAGER_DEPARTMENT_ID.join(',') } - /* if (this.form.INDUSTRYALL && this.form.INDUSTRYALL.length > 0) { - this.form.CORP_TYPE = this.form.INDUSTRYALL[0] || '' - this.form.CORP_TYPE2 = this.form.INDUSTRYALL[1] || '' - this.form.CORP_TYPE3 = this.form.INDUSTRYALL[2] || '' - this.form.CORP_TYPE4 = this.form.INDUSTRYALL[3] || '' - this.form.CORP_TYPE_NAME = this.$refs.industryCascader.getCheckedNodes()[0].pathLabels ? this.$refs.industryCascader.getCheckedNodes()[0].pathLabels.join('/') : '' - } */ + this.form.CORP_TYPE = JSON.stringify(this.form.CORP_TYPE) requestFN( '/xgf/corp/editCorpInfo', this.form