Commit ec0fa03a by Kyle_Li

update: 查看门店

parent ff36bbbc
...@@ -124,6 +124,7 @@ export default { ...@@ -124,6 +124,7 @@ export default {
}; };
}, },
created() { created() {
this.form = this.$route.query;
this.init(); this.init();
}, },
mounted() { mounted() {
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<el-table-column label="操作"> <el-table-column label="操作">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button type="text" @click="$router.push({ path: '/target-store', query: { tab: activeName, year: row.performanceYm, applicationId } })">查看门店</el-button> <el-button type="text" @click="$router.push({ path: '/target-store', query: { tab: activeName, performanceYm: row.performanceYm, applicationId } })">查看门店</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -64,7 +64,7 @@ export default { ...@@ -64,7 +64,7 @@ export default {
return { return {
haoban: {}, haoban: {},
tableData: [], tableData: [],
activeName: '1', activeName: '1', // 1业绩,2新增
search: { search: {
date: new Date().getFullYear() date: new Date().getFullYear()
}, },
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
const para = { const para = {
...that.haoban, ...that.haoban,
enterpriseId: that.brandId, enterpriseId: that.brandId,
perfromanceType: that.activeName, performanceType: that.activeName,
performanceYear: that.search.date performanceYear: that.search.date
}; };
getTargetList(para, { headers: { sign: that.brandId } }) getTargetList(para, { headers: { sign: that.brandId } })
......
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