zhaoxiaoqiang
2021-07-28 4db3870e37497d555305650c1dbb0ceb9d66cbf8
src/views/mine/stores/stores.vue
@@ -43,6 +43,7 @@
</template>
<script>
import { mapState } from 'vuex';
  export default {
    name: "stores",
    data() {
@@ -55,14 +56,15 @@
        merId:'',
      }
    },
    computed:{
      ...mapState(['userinfo'])
    },
    created(){
      this.merId = this.$route.query.merId;
      this.merId = this.$route.query.merId?this.$route.query.merId:this.userinfo.orgId;
      this.init();
    },
    methods: {
      init(){
          console.log("merId:"+this.merId);
        this.loading = true
        this.$api.storeStoreList({
          searchKey:this.value,