企业管理
This commit is contained in:
@@ -121,6 +121,18 @@ export default {
|
||||
default: () => {
|
||||
return {}
|
||||
}
|
||||
},
|
||||
// 数据来源,用于给后端接口传值,1--管理端,2--报名
|
||||
dataForm: {
|
||||
type: Number,
|
||||
required: false,
|
||||
default: 1
|
||||
},
|
||||
// 是否报名新增,用于给后端接口传值,1--是,2--否
|
||||
applyAdd: {
|
||||
type: Number,
|
||||
required: false,
|
||||
default: 0
|
||||
}
|
||||
},
|
||||
data() {
|
||||
@@ -219,6 +231,8 @@ export default {
|
||||
values.companyName = values.company.companyName
|
||||
values.companyId = values.company.id
|
||||
values.gender = Number(values.gender)
|
||||
values.dataSource = this.dataForm
|
||||
values.signingUp = this.applyAdd
|
||||
let httpurl = ''
|
||||
let method = 'post'
|
||||
if (!this.model.id) {
|
||||
|
||||
Reference in New Issue
Block a user