Commit ade29c86 authored by Z's avatar Z

Z: Dot: 后台门店管理接口字段更改,修复相关接口字段对接。

parent 2b81d85b
......@@ -51,7 +51,7 @@
stripe
class="list"
ref="multipleTable"
:data="list.mainV"
:data="list.main"
tooltip-effect="dark"
style="width: 100%"
@selection-change="listPick"
......@@ -67,8 +67,8 @@
<el-table-column label="操作" align="center" fixed="right" width="200">
<template slot-scope="scope">
<el-button type="text" class="btn" @click="storeGetStoreDetail(scope.row.id)">详情</el-button>
<el-button type="text" class="btn" @click="testButtonClick(scope.row)">编辑</el-button>
<el-button type="text" @click="storeGetStoreDetail(scope.row.id)" class="btn">详情</el-button>
<el-button type="text" @click="testButtonClick(scope.row)" class="btn" >编辑</el-button>
<el-button type="text" @click="storeDelStore(scope.row.id)" class="listButtonRed">删除</el-button>
</template>
</el-table-column>
......@@ -113,7 +113,7 @@ export default {
total: 100
},
list: {
main: [
testMain: [
{
id: "1001",
taskName: "2019年男装销售任务",
......@@ -171,7 +171,7 @@ export default {
sendDate: "2019/02/08"
}
],
mainV: [],
main: [],
search: {
bar: [
{
......@@ -222,8 +222,13 @@ export default {
methods: {
storeGetMainList() {
// zlog("--->In Get API!");
ApiStoreGetMainList().then(res => {
this.list.mainV = res.data.adminStalls;
let postData = {
pageNum: 1
}
ApiStoreGetMainList(postData).then(res => {
// this.list.mainV = res.data.adminStalls;
this.list.main = res.data.pageInfo_adminStalls.list[0];
});
},
storeGetStoreDetail(inData) {
......
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