Commit ade29c86 authored by Z's avatar Z

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

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