bug:因主管部门变多个,造成人员推送失败
parent
710b185f62
commit
9cfd5bd004
|
@ -32,8 +32,11 @@
|
||||||
:options="treeData"
|
:options="treeData"
|
||||||
:disabled="true"
|
:disabled="true"
|
||||||
:normalizer="normalizer"
|
:normalizer="normalizer"
|
||||||
|
:flat="true"
|
||||||
|
:default-expand-level="0"
|
||||||
v-model="dataForm.MAIN_DEPARTMENT"
|
v-model="dataForm.MAIN_DEPARTMENT"
|
||||||
placeholder="请选择部门"
|
placeholder="请选择部门"
|
||||||
|
multiple
|
||||||
no-options-text="暂无数据"
|
no-options-text="暂无数据"
|
||||||
no-children-text="暂无数据"
|
no-children-text="暂无数据"
|
||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
|
@ -351,7 +354,7 @@ export default {
|
||||||
return {
|
return {
|
||||||
COMPANY_AREA: '',
|
COMPANY_AREA: '',
|
||||||
dataForm: {
|
dataForm: {
|
||||||
MAIN_DEPARTMENT: '',
|
MAIN_DEPARTMENT: null,
|
||||||
businessLicenseDate: [],
|
businessLicenseDate: [],
|
||||||
SUPERVISE_CORPINFO_DEPT_NAME: '',
|
SUPERVISE_CORPINFO_DEPT_NAME: '',
|
||||||
COMPETENT_DEPT_NAME: '',
|
COMPETENT_DEPT_NAME: '',
|
||||||
|
@ -681,6 +684,13 @@ export default {
|
||||||
this.dataForm.businessLicenseDate.push(this.dataForm.LICENSE_START)
|
this.dataForm.businessLicenseDate.push(this.dataForm.LICENSE_START)
|
||||||
this.dataForm.businessLicenseDate.push(this.dataForm.LICENSE_END)
|
this.dataForm.businessLicenseDate.push(this.dataForm.LICENSE_END)
|
||||||
|
|
||||||
|
// 应对相关方主管部门多选
|
||||||
|
if (this.dataForm.MAIN_DEPARTMENT.indexOf(']') < 0) {
|
||||||
|
this.dataForm.MAIN_DEPARTMENT = [this.dataForm.MAIN_DEPARTMENT]
|
||||||
|
} else {
|
||||||
|
this.dataForm.MAIN_DEPARTMENT = JSON.parse(this.dataForm.MAIN_DEPARTMENT)
|
||||||
|
}
|
||||||
|
|
||||||
resolve()
|
resolve()
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
this.$message({
|
this.$message({
|
||||||
|
|
Loading…
Reference in New Issue