Forráskód Böngészése

Merge branch 'feature_20250116_提示类建店指标跳转页' into release

zhujindu 9 hónapja
szülő
commit
e30860ee22
1 módosított fájl, 20 hozzáadás és 0 törlés
  1. 20 0
      src/views/home/hintTabPage/unCreateStore.vue

+ 20 - 0
src/views/home/hintTabPage/unCreateStore.vue

@@ -271,6 +271,7 @@ import { getStoreInfos } from '@/api/home';
 import { mapState } from 'vuex';
 import store from '@/store';
 import { getMonthCommon } from '@/utils';
+import { ProductItemImge } from '@/api/index';
 export default {
   name: 'unCreateStore',
   computed: {
@@ -337,6 +338,25 @@ export default {
     onClickLeft() {
       this.$router.go(-1);
     },
+    linkList(val) {
+      this.$router.push({
+        path: '/pItem',
+        query: { id: val.storeCode, detilId: 'a' },
+      });
+    },
+    linkimg(val) {
+      ProductItemImge({ storeId: val.storeId }).then((response) => {
+        if (response.code == 200) {
+          if (response.data != undefined) {
+            window.open(response.data);
+          } else {
+            this.$toast(response.msg);
+          }
+        } else {
+          this.$toast(res.msg);
+        }
+      });
+    },
   },
 };
 </script>