11
This commit is contained in:
@@ -210,23 +210,23 @@
|
||||
uni.hideKeyboard()
|
||||
},
|
||||
async submit() {
|
||||
let params = {
|
||||
...this.formData,
|
||||
nature: Number(this.formData.nature),
|
||||
cityId: Number(this.formData.cityId),
|
||||
tradeId: Number(this.formData.tradeId),
|
||||
}
|
||||
let resData = await addInviteCompanyAuth(params)
|
||||
console.log(resData)
|
||||
if (resData.data.code === 200) {
|
||||
_this.$api.msg('已完成企业信息认证')
|
||||
}
|
||||
const _this = this
|
||||
this.$refs.formOne.validate().then(res => {
|
||||
_this.$api.msg('提交数据')
|
||||
}).catch(errors => {
|
||||
_this.$api.msg('请完善内容')
|
||||
})
|
||||
// let params = {
|
||||
// ...this.formData,
|
||||
// nature: Number(this.formData.nature),
|
||||
// cityId: Number(this.formData.cityId),
|
||||
// tradeId: Number(this.formData.tradeId),
|
||||
// }
|
||||
// let resData = await addInviteCompanyAuth(params)
|
||||
// console.log(resData)
|
||||
// if (resData.data.code === 200) {
|
||||
// _this.$api.msg('已完成企业信息认证')
|
||||
// }
|
||||
},
|
||||
reset() {
|
||||
const _this = this
|
||||
|
||||
Reference in New Issue
Block a user