相关方端主管部门可以显示无
parent
bb8923778f
commit
80886742e5
|
@ -45,7 +45,11 @@
|
||||||
:options="treeData"
|
:options="treeData"
|
||||||
:disabled="true"
|
:disabled="true"
|
||||||
:normalizer="normalizer"
|
:normalizer="normalizer"
|
||||||
|
:flat="true"
|
||||||
|
:default-expand-level="0"
|
||||||
|
:props="defaultProps"
|
||||||
v-model="dataForm.MAIN_DEPARTMENT"
|
v-model="dataForm.MAIN_DEPARTMENT"
|
||||||
|
multiple
|
||||||
placeholder="请选择部门"
|
placeholder="请选择部门"
|
||||||
no-options-text="暂无数据"
|
no-options-text="暂无数据"
|
||||||
no-children-text="暂无数据"
|
no-children-text="暂无数据"
|
||||||
|
@ -496,7 +500,7 @@ export default {
|
||||||
corpName: '',
|
corpName: '',
|
||||||
AUDIT_STATE: '',
|
AUDIT_STATE: '',
|
||||||
dataForm: {
|
dataForm: {
|
||||||
MAIN_DEPARTMENT: '',
|
MAIN_DEPARTMENT: null,
|
||||||
businessLicenseDate: [],
|
businessLicenseDate: [],
|
||||||
STATE: '',
|
STATE: '',
|
||||||
SUPERVISE_CORPINFO_DEPT_NAME: '',
|
SUPERVISE_CORPINFO_DEPT_NAME: '',
|
||||||
|
@ -844,6 +848,11 @@ export default {
|
||||||
{}
|
{}
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
this.treeData = JSON.parse(data.zTreeNodes)
|
this.treeData = JSON.parse(data.zTreeNodes)
|
||||||
|
this.treeData.push({
|
||||||
|
id: '0',
|
||||||
|
name: '无',
|
||||||
|
nodes: []
|
||||||
|
})
|
||||||
resolve()
|
resolve()
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
reject()
|
reject()
|
||||||
|
@ -897,6 +906,11 @@ export default {
|
||||||
if (data.pd.COUNTY != '') this.dataForm.POSSESSION.push(data.pd.COUNTY)
|
if (data.pd.COUNTY != '') this.dataForm.POSSESSION.push(data.pd.COUNTY)
|
||||||
if (data.pd.VILLAGE != '') this.dataForm.POSSESSION.push(data.pd.VILLAGE)
|
if (data.pd.VILLAGE != '') this.dataForm.POSSESSION.push(data.pd.VILLAGE)
|
||||||
this.AUDIT_STATE = this.dataForm.STATE
|
this.AUDIT_STATE = this.dataForm.STATE
|
||||||
|
if (this.dataForm.MAIN_DEPARTMENT.indexOf('[') > -1) {
|
||||||
|
this.dataForm.MAIN_DEPARTMENT = JSON.parse(this.dataForm.MAIN_DEPARTMENT)
|
||||||
|
} else {
|
||||||
|
this.dataForm.MAIN_DEPARTMENT = [this.dataForm.MAIN_DEPARTMENT]
|
||||||
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
resolve()
|
resolve()
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
|
|
Loading…
Reference in New Issue