11
This commit is contained in:
@@ -210,23 +210,23 @@
|
|||||||
uni.hideKeyboard()
|
uni.hideKeyboard()
|
||||||
},
|
},
|
||||||
async submit() {
|
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
|
const _this = this
|
||||||
this.$refs.formOne.validate().then(res => {
|
this.$refs.formOne.validate().then(res => {
|
||||||
_this.$api.msg('提交数据')
|
_this.$api.msg('提交数据')
|
||||||
}).catch(errors => {
|
}).catch(errors => {
|
||||||
_this.$api.msg('请完善内容')
|
_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() {
|
reset() {
|
||||||
const _this = this
|
const _this = this
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ module.exports = {
|
|||||||
port: 1887,
|
port: 1887,
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'http://10.165.0.173:8000',
|
target: 'http://localhost:8000',
|
||||||
ws: true,
|
ws: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
'^/api': '/'
|
'^/api': '/'
|
||||||
|
|||||||
Reference in New Issue
Block a user