m lines-num-old">
94
94
|
if (res.status === 200) {
|
95
|
95
|
this.companyTypesList = res.data.data
|
|
96
|
this.companyTypeId = 10086
|
|
97
|
this.getOrgId()
|
96
|
98
|
} else {
|
97
|
99
|
this.$Message.danger('公司类型列表数据获取失败!')
|
98
|
100
|
}
|
|
@ -123,6 +125,13 @@ export default {
|
123
|
125
|
})
|
124
|
126
|
// eslint-disable-next-line no-return-assign
|
125
|
127
|
this.departmentTypesList = data.filter(item => item.data = item.id)
|
|
128
|
this.$nextTick(() => {
|
|
129
|
if (this.firstCreated === true) {
|
|
130
|
this.departmentTypeId = '10087'
|
|
131
|
this.getDepId()
|
|
132
|
this.firstCreated = false
|
|
133
|
}
|
|
134
|
})
|
126
|
135
|
} else {
|
127
|
136
|
this.$Message.danger('部门类型列表数据获取失败!')
|
128
|
137
|
}
|
|
@ -118,6 +118,7 @@ export default {
|
118
|
118
|
this.form.resourceToolName = item.resourceToolName
|
119
|
119
|
this.form.resourceToolId = item.resourceToolId
|
120
|
120
|
this.form.pictureUrl = item.pictureUrl
|
|
121
|
this.form.videoUrl = item.videoUrl
|
121
|
122
|
},
|
122
|
123
|
handleSubmit () {
|
123
|
124
|
this.$emit('submit', this.form)
|
|
@ -115,7 +115,6 @@ export default {
|
115
|
115
|
companyName: '',
|
116
|
116
|
// 判断页面是否是第一次渲染
|
117
|
117
|
firstCreated: true
|
118
|
|
|
119
|
118
|
}
|
120
|
119
|
},
|
121
|
120
|
watch: {
|