Browse Source

同城店铺新建流程重构

zhujindu 1 year ago
parent
commit
7a8aa96031

+ 1 - 1
src/views/storeManagement/index.vue

@@ -18,7 +18,7 @@
               center
               :title="item.text"
               v-for="item in statusOption"
-              @click="dropdownItemClick(item)">
+              @click.stop="dropdownItemClick(item)">
               <template #right-icon v-if="item.selectFlag">
                 <van-icon name="success" color="red" />
               </template>

+ 9 - 1
src/views/storeManagement/storeAdd.vue

@@ -1835,7 +1835,15 @@ export default {
               res.data.orderUrl != null &&
               (res.data.orderUrl != '') & (res.data.orderUrl != undefined)
             ) {
-              window.location.replace(res.data.orderUrl);
+              // window.location.replace(res.data.orderUrl);
+              that.$dialog
+                .confirm({
+                  title: '测试测试',
+                  message: '测试测试',
+                })
+                .then(() => {
+                  window.open(res.data.orderUrl);
+                });
             } else {
               that.$dialog
                 .confirm({

+ 2 - 9
src/views/storeManagement/storeDetail.vue

@@ -286,6 +286,7 @@
           bottom: 0;
           width: 100%;
           padding: 14px;
+          z-index: 10;
           background-color: white;
           border-top: 1px solid #eee;
         ">
@@ -1460,15 +1461,7 @@ export default {
               res.data.orderUrl != null &&
               (res.data.orderUrl != '') & (res.data.orderUrl != undefined)
             ) {
-              // window.location.replace(res.data.orderUrl);
-              that.$dialog
-                .confirm({
-                  title: '测试测试',
-                  message: '测试测试',
-                })
-                .then(() => {
-                  window.open(res.data.orderUrl);
-                });
+              window.location.replace(res.data.orderUrl);
             } else {
               checkVisit({ storeId: res.data.sfaStore.storeId }).then((response) => {
                 localStorage.setItem('startTime', new Date());