| | |
| | | <p class="name" v-text="item.storeName || ''">门店名称</p> |
| | | <p class="c-text-666-g font-12-g" v-text="item.priMblNo || ''">13586695442</p> |
| | | </div> |
| | | <van-button :style="{background:$store.state.backColor}" class="opr-btn" @click.stop="goStoreOprs(item.storeId)" v-if="orgType != 2">店员管理</van-button> |
| | | </div> |
| | | </van-list> |
| | | </div> |
| | |
| | | list:[], |
| | | loading:false, |
| | | finished:false, |
| | | storeId:'' |
| | | storeId:'', |
| | | merId:'', |
| | | } |
| | | }, |
| | | |
| | | |
| | | created(){ |
| | | this.merId = this.$route.query.merId; |
| | | this.init(); |
| | | }, |
| | | methods: { |
| | | init(){ |
| | | console.log("merId:"+this.merId); |
| | | this.loading = true |
| | | this.$api.storeStoreList({ |
| | | searchKey:this.value, |
| | | storeId:this.storeId, |
| | | merId:this.merId, |
| | | }).then((res) => { |
| | | if(res.body.storeList.length < 10){ |
| | | this.list = [...this.list,...res.body.storeList] |
| | |
| | | }) |
| | | }, |
| | | |
| | | //跳转到模板详情 |
| | | goStoreOprs(merId){ |
| | | this.$router.push({ |
| | | path:'/mine/storesOprs', |
| | | query:{ |
| | | storeId:this.storeId |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | go(id) { |
| | | this.$router.push({path:'/mine/stores-detail',query:{storeId:id}}); |
| | |
| | | this.loading = true |
| | | this.$api.storeStoreList({ |
| | | searchKey:this.value, |
| | | merId:this.merId, |
| | | }).then(res=>{ |
| | | if(res.body.storeList.length < 10){ |
| | | this.list = [...this.list,...res.body.storeList] |
| | |
| | | .name { |
| | | margin-bottom: 5px; |
| | | font-weight: bold; |
| | | width:200px; |
| | | } |
| | | |
| | | .opr-btn { |
| | | .lh(25px); |
| | | margin-right: 0px; |
| | | padding: 0 12px; |
| | | background: @c-bg-default; |
| | | border-radius: 13px; |
| | | color: @c-text-fff; |
| | | } |
| | | } |
| | | |