邓洁 : 注释log
This commit is contained in:
@@ -31,7 +31,8 @@
|
||||
</u-form-item>
|
||||
<u-form-item label="行业" label-position="top" border-bottom="true" class="picker" label-width="auto"
|
||||
prop="business">
|
||||
<text @click="show2 = true" class="checkedtext" v-if="form.business">{{form.business}}-{{form.commercial}}</text>
|
||||
<text @click="show2 = true" class="checkedtext"
|
||||
v-if="form.business">{{form.business}}-{{form.commercial}}</text>
|
||||
<text @click="show2 = true" class="checktext" v-else>请选择店铺行业与业态</text>
|
||||
<view class="arrow-icon">
|
||||
<u-icon name="arrow-right" size="30px" @click="show2 = true"></u-icon>
|
||||
@@ -167,7 +168,7 @@
|
||||
this[`fileList${event.name}`].splice(event.index, 1)
|
||||
},
|
||||
preview(e) {
|
||||
console.log('预览', e);
|
||||
// console.log('预览', e);
|
||||
},
|
||||
// 新增图片
|
||||
async afterRead(event) {
|
||||
@@ -182,9 +183,9 @@
|
||||
})
|
||||
})
|
||||
for (let i = 0; i < lists.length; i++) {
|
||||
console.log('lists[i].url', lists[i].url);
|
||||
// console.log('lists[i].url', lists[i].url);
|
||||
const result = await this.uploadFilePromise(lists[i].url)
|
||||
console.log('result', result);
|
||||
// console.log('result', result);
|
||||
let item = this[`fileList${event.name}`][fileListLen]
|
||||
this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
|
||||
status: 'success',
|
||||
@@ -238,9 +239,9 @@
|
||||
region: this.form.region.split('-')[0],
|
||||
images: temp.join(',')
|
||||
}
|
||||
console.log("项目招商:", data)
|
||||
// console.log("项目招商:", data)
|
||||
this.$api.publishInvestment(data).then(res => {
|
||||
console.log(res);
|
||||
// console.log(res);
|
||||
if (res.data.code == 1) {
|
||||
uni.$u.toast(res.data.msg)
|
||||
uni.reLaunch({
|
||||
@@ -251,7 +252,7 @@
|
||||
}
|
||||
})
|
||||
}).catch(errors => {
|
||||
console.log("失败信息:" + JSON.stringify(errors))
|
||||
// console.log("失败信息:" + JSON.stringify(errors))
|
||||
// uni.$u.toast('校验失败')
|
||||
})
|
||||
},
|
||||
@@ -309,12 +310,12 @@
|
||||
that1.$refs.regionPicker.setColumnValues(1, that1.regionSecondColumns)
|
||||
},
|
||||
fail(err) {
|
||||
console.log('请求区域失败:', err);
|
||||
// console.log('请求区域失败:', err);
|
||||
}
|
||||
})
|
||||
},
|
||||
fail(err) {
|
||||
console.log('请求区域失败:', err);
|
||||
// console.log('请求区域失败:', err);
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -345,16 +346,16 @@
|
||||
},
|
||||
karmaConfirm(e) {
|
||||
this.show3 = false
|
||||
|
||||
|
||||
},
|
||||
regionConfirm(e) {
|
||||
this.show1 = false
|
||||
this.form.region = e.value[0] + '-' + e.value[1]
|
||||
},
|
||||
getDetail(type, id) {
|
||||
console.log('type, id', type, id);
|
||||
// console.log('type, id', type, id);
|
||||
this.$api.getShopDetail(type, id).then(res => {
|
||||
console.log(',re', res);
|
||||
// console.log(',re', res);
|
||||
const data = res.data.data
|
||||
if (res.data.code == 1) {
|
||||
this.form = {
|
||||
@@ -411,13 +412,13 @@
|
||||
})
|
||||
this.pid = res.data.data.map((item) => {
|
||||
return item = item.id
|
||||
|
||||
|
||||
})
|
||||
this.$api.getClassList(9).then(res => {
|
||||
this.Karmacolumns = res.data.data.map((item) => {
|
||||
return item = item.name
|
||||
})
|
||||
this.$refs.uPicker.setColumnValues(1,this.Karmacolumns)
|
||||
})
|
||||
this.$refs.uPicker.setColumnValues(1, this.Karmacolumns)
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user