Commit ae7e0c81 authored by Z's avatar Z

Z: Dot: store: see: except manlist.

parent 7b7f38ab
...@@ -170,28 +170,28 @@ export default { ...@@ -170,28 +170,28 @@ export default {
}, },
data() { data() {
return { return {
zcache:{ zcache: {
status:{ status: {
seeDialog: false, seeDialog: false
} }
}, },
zdata:{ zdata: {
see: { see: {
storeName: 'storeAlice', storeName: "storeName",
storeType: '普通', storeType: "storeType",
storeFromBar: '柜组', storeFromBar: "storeFromBar",
storeBossName: 'manAlice', storeBossName: "storeBossName",
storeDoorId: '0101', storeDoorId: "storeDoorId",
storeAddress: 'BeijingAlice', storeAddress: "storeAddress",
storeManList: [ storeManList: [
{ {
id: '0001', id: "0001",
name: 'Alice', name: "Alice"
}, },
{ {
id: '0002', id: "0002",
name: 'Bob', name: "Bob"
}, }
] ]
} }
}, },
...@@ -354,7 +354,23 @@ export default { ...@@ -354,7 +354,23 @@ export default {
}); });
}, },
storeGetStoreDetail(inData) { 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 = { // let postData = {
// isDetail: true, // isDetail: true,
...@@ -365,9 +381,6 @@ export default { ...@@ -365,9 +381,6 @@ export default {
// this.detailDialog = true; // this.detailDialog = true;
// this.$refs.storeDetail.detailDialog = true; // this.$refs.storeDetail.detailDialog = true;
// ApiStoreGetStoreDetail(postData).then(res => { // ApiStoreGetStoreDetail(postData).then(res => {
// }); // });
}, },
...@@ -421,9 +434,9 @@ export default { ...@@ -421,9 +434,9 @@ export default {
console.log(`当前页: ${val}`); console.log(`当前页: ${val}`);
}, },
dialogSeeClose(){ dialogSeeClose() {
this.zcache.status.seeDialog = false this.zcache.status.seeDialog = false;
}, }
} }
}; };
</script> </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