flat: 修复

This commit is contained in:
Apcallover
2024-04-18 10:30:16 +08:00
parent 90983e1f9c
commit 6252068315
7 changed files with 4903 additions and 4870 deletions

View File

@@ -211,22 +211,25 @@
},
async submit() {
const _this = this
this.$refs.formOne.validate().then(res => {
_this.$api.msg('提交数据')
this.$refs.formOne.validate().then(async (res) => {
let params = {
..._this.formData,
nature: Number(_this.formData.nature),
cityId: Number(_this.formData.cityId),
tradeId: Number(_this.formData.tradeId),
manager: _this.authInfo.realName,
idNumber: _this.authInfo.idNumber
}
let resData = await addInviteCompanyAuth(params)
if (resData.data.code === 200) {
_this.$api.msg('已完成企业信息认证')
uni.navigateBack()
}
}).catch(errors => {
console.log(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