|
|
@@ -30,28 +30,28 @@
|
|
|
import { getServiceProviderArchives } from '@/api/index';
|
|
|
export default {
|
|
|
props: {
|
|
|
- storeCode: {
|
|
|
- type: [String, Number],
|
|
|
+ storeArchives: {
|
|
|
+ type: Object,
|
|
|
},
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- storeArchives: {},
|
|
|
+ // storeArchives: {},
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- this.getDetail();
|
|
|
+ // this.getDetail();
|
|
|
},
|
|
|
methods: {
|
|
|
- getDetail() {
|
|
|
- getServiceProviderArchives({ storeCode: this.storeCode }).then((res) => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.storeArchives = res.data;
|
|
|
- } else {
|
|
|
- this.$toast.fail(res.msg);
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
+ // getDetail() {
|
|
|
+ // getServiceProviderArchives({ storeCode: this.storeCode }).then((res) => {
|
|
|
+ // if (res.code == 200) {
|
|
|
+ // this.storeArchives = res.data;
|
|
|
+ // } else {
|
|
|
+ // this.$toast.fail(res.msg);
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // },
|
|
|
},
|
|
|
};
|
|
|
</script>
|