Commit 7fdd0ce9 authored by 黄奎's avatar 黄奎

页面修改

parent 5dafcb02
......@@ -66,7 +66,7 @@
position: absolute;
top: -10px;
right: -10px;
padding: 5px!important;
padding: 5px !important;
visibility: hidden;
z-index: 1;
}
......@@ -165,15 +165,15 @@
</div>
<div flex>
<div style="width: 40px;">ID:</div>
<div>{{item.Id}}</div>
<div>{{item.id}}</div>
</div>
<div flex>
<div style="width: 40px;">名称:</div>
<div>{{item.Name}}</div>
<div>{{item.name}}</div>
</div>
<div flex>
<div style="width: 40px;">电话:</div>
<div>{{item.Tel}}</div>
<div>{{item.mobile}}</div>
</div>
</div>
<el-button size="small" @click="storeDialogVisible = true">添加门店</el-button>
......@@ -233,9 +233,15 @@
deleteStore(index) {
this.data.list.splice(index, 1);
},
getStore(obj){
this.data.list.push(obj);
this.storeDialogVisible=false;
getStore(obj) {
var newObj = {
id: obj.Id,
name: obj.Name,
mobile: obj.Tel,
CoverImg:obj.CoverImg
};
this.data.list.push(newObj);
this.storeDialogVisible = false;
}
},
computed: {
......
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