This commit is contained in:
jiangyinzhi
2024-08-05 19:21:29 +08:00
parent ec2f27d196
commit ee500763de
11 changed files with 263 additions and 199 deletions
+13 -17
View File
@@ -440,20 +440,20 @@ export default {
},
methods: {
// 获取当前位置
getLocation() {
if (process.env.NODE_ENV === 'development') {
this.address = '江苏省南京市江宁区'
}
// // 获取当前位置
// getLocation() {
// if (process.env.NODE_ENV === 'development') {
// this.address = '江苏省南京市江宁区'
// }
getLocationMessage(data=> {
if(data) {
this.address = data
} else {
Notify({ type: 'warning', message: '未获取到定位信息' });
}
})
},
// getLocationMessage(data=> {
// if(data) {
// this.address = data
// } else {
// Notify({ type: 'warning', message: '未获取到定位信息' });
// }
// })
// },
base64ToFile(data, fileName) {
const dataArr = data.split(",");
const byteString = window.atob(dataArr[1]);
@@ -797,10 +797,6 @@ export default {
this.$toast('请上传企业外观照片')
return
}
if (!this.address&&this.$store.getters.cityIsNx) {
this.$toast('请获取位置信息')
return
}
if (this.isfaly1 == false) {
let id = this.gzList.map(v => {
return v.id