|
|
@@ -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>
|