|
|
@@ -278,7 +278,7 @@ import { phoneCheck, streetQuery, getById } from '@/api/index';
|
|
|
import { getPosition, getTicketFun, getGeocoder } from '@/utils/TXApiFun';
|
|
|
import { jsonp } from 'vue-jsonp';
|
|
|
import { getstreetInfoList } from '@/api/addDesigner';
|
|
|
-import { qzStoreCategory, getChildDeptList, addQzStore } from '@/api/store';
|
|
|
+import { qzStoreCategory, getChildDeptList, addQzStore, updateQzStore } from '@/api/store';
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -344,7 +344,7 @@ export default {
|
|
|
districtNameOld: '',
|
|
|
};
|
|
|
this.showmap = false;
|
|
|
- // this.toastLoading(0, '加载中...', true);
|
|
|
+ this.toastLoading(0, '加载中...', true);
|
|
|
// 授权
|
|
|
getTicketFun(['getLocation', 'chooseImage', 'uploadImage']).then(() => {
|
|
|
this.$nextTick(() => {
|
|
|
@@ -472,7 +472,7 @@ export default {
|
|
|
onSubmit(value) {
|
|
|
this.toastLoading(0, '提交中...', true);
|
|
|
console.log(this.fromData);
|
|
|
- addQzStore(this.fromData).then((res) => {
|
|
|
+ updateQzStore(this.fromData).then((res) => {
|
|
|
this.toastLoading().clear();
|
|
|
if (res.code == 200) {
|
|
|
this.$dialog
|