Commit ae7e0c81 authored by Z's avatar Z

Z: Dot: store: see: except manlist.

parent 7b7f38ab
......@@ -170,28 +170,28 @@ export default {
},
data() {
return {
zcache:{
status:{
seeDialog: false,
zcache: {
status: {
seeDialog: false
}
},
zdata:{
zdata: {
see: {
storeName: 'storeAlice',
storeType: '普通',
storeFromBar: '柜组',
storeBossName: 'manAlice',
storeDoorId: '0101',
storeAddress: 'BeijingAlice',
storeName: "storeName",
storeType: "storeType",
storeFromBar: "storeFromBar",
storeBossName: "storeBossName",
storeDoorId: "storeDoorId",
storeAddress: "storeAddress",
storeManList: [
{
id: '0001',
name: 'Alice',
id: "0001",
name: "Alice"
},
{
id: '0002',
name: 'Bob',
},
id: "0002",
name: "Bob"
}
]
}
},
......@@ -354,7 +354,23 @@ export default {
});
},
storeGetStoreDetail(inData) {
this.zcache.status.seeDialog = true
let postData = {
isDetail: true,
stallId: inData,
}
ApiStoreGetStoreDetail(postData)
.then(res => {
this.zdata.see.storeName = res.data.adminStall.name
this.zdata.see.storeType = res.data.adminStall.type
this.zdata.see.storeFromBar = res.data.adminStall.shopId
this.zdata.see.storeBossName = res.data.principal.userName
this.zdata.see.storeDoorId = res.data.adminStall.signNum
this.zdata.see.storeAddress = res.data.adminStall.location
})
.catch(err => {});
this.zcache.status.seeDialog = true;
// let postData = {
// isDetail: true,
......@@ -365,9 +381,6 @@ export default {
// this.detailDialog = true;
// this.$refs.storeDetail.detailDialog = true;
// ApiStoreGetStoreDetail(postData).then(res => {
// });
},
......@@ -421,9 +434,9 @@ export default {
console.log(`当前页: ${val}`);
},
dialogSeeClose(){
this.zcache.status.seeDialog = false
},
dialogSeeClose() {
this.zcache.status.seeDialog = false;
}
}
};
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment