|
@@ -4,8 +4,8 @@
|
|
<el-col :span="24" class="main animate__animated animate__backInRight">
|
|
<el-col :span="24" class="main animate__animated animate__backInRight">
|
|
<el-col :span="24" class="two">
|
|
<el-col :span="24" class="two">
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
- <el-col :span="5">
|
|
|
|
- <el-card class="box-card">
|
|
|
|
|
|
+ <el-col :span="5" @click="toUrl('notPay')">
|
|
|
|
+ <el-card class="box-card" @click.native="toUrl('notPay')">
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
<i class="icon_1 el-icon-box"></i>
|
|
<i class="icon_1 el-icon-box"></i>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -19,7 +19,7 @@
|
|
</el-card>
|
|
</el-card>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="5">
|
|
<el-col :span="5">
|
|
- <el-card class="box-card">
|
|
|
|
|
|
+ <el-card class="box-card" @click.native="toUrl('notSend')">
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
<i class="icon_2 el-icon-truck"></i>
|
|
<i class="icon_2 el-icon-truck"></i>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -33,7 +33,7 @@
|
|
</el-card>
|
|
</el-card>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="5">
|
|
<el-col :span="5">
|
|
- <el-card class="box-card">
|
|
|
|
|
|
+ <el-card class="box-card" @click.native="toUrl('notDealAfterSale')">
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
<i class="icon_3 el-icon-sell"></i>
|
|
<i class="icon_3 el-icon-sell"></i>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -62,10 +62,10 @@
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="11">
|
|
<el-col :span="11">
|
|
- <el-card class="box-card"><card-1 :list="data.sMarkOrder"></card-1></el-card>
|
|
|
|
|
|
+ <el-card class="box-card" @click.native="toUrl('sMarkOrder')"><card-1 :list="data.sMarkOrder"></card-1></el-card>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="11">
|
|
<el-col :span="11">
|
|
- <el-card class="box-card"><card-2 :list="data.sAfterSale"></card-2></el-card>
|
|
|
|
|
|
+ <el-card class="box-card" @click.native="toUrl('sAfterSale')"><card-2 :list="data.sAfterSale"></card-2></el-card>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="11" style="display: none">
|
|
<el-col :span="11" style="display: none">
|
|
<el-card class="box-card"><card-3></card-3> </el-card>
|
|
<el-card class="box-card"><card-3></card-3> </el-card>
|
|
@@ -108,10 +108,22 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
...mapActions(['query', 'fetch', 'create', 'update', 'delete']),
|
|
...mapActions(['query', 'fetch', 'create', 'update', 'delete']),
|
|
async search({ skip = 0, limit = this.$limit, ...info } = {}) {
|
|
async search({ skip = 0, limit = this.$limit, ...info } = {}) {
|
|
- // info.shop = this.user.shop.id;
|
|
|
|
|
|
+ info.shop = this.user.shop.id;
|
|
let res = await this.query({ skip, limit, ...info });
|
|
let res = await this.query({ skip, limit, ...info });
|
|
if (this.$checkRes(res)) this.$set(this, 'data', res.data);
|
|
if (this.$checkRes(res)) this.$set(this, 'data', res.data);
|
|
},
|
|
},
|
|
|
|
+ toUrl(value) {
|
|
|
|
+ // 未付款
|
|
|
|
+ if (value == 'notPay') this.$router.push({ path: `/selfShop/order`, query: { activeName: '1' } });
|
|
|
|
+ // 未发货
|
|
|
|
+ else if (value == 'notSend') this.$router.push({ path: `/selfShop/order`, query: { activeName: '2' } });
|
|
|
|
+ // 未处理售后
|
|
|
|
+ else if (value == 'notDealAfterSale') this.$router.push({ path: `/selfShop/sales` });
|
|
|
|
+ // 下单数
|
|
|
|
+ else if (value == 'sMarkOrder') this.$router.push({ path: `/platfinance/statistics`, query: { activeName: '2' } });
|
|
|
|
+ // 售后数
|
|
|
|
+ else if (value == 'sAfterSale') this.$router.push({ path: `/platfinance/statistics`, query: { activeName: '4' } });
|
|
|
|
+ },
|
|
},
|
|
},
|
|
metaInfo() {
|
|
metaInfo() {
|
|
return { title: this.$route.meta.title };
|
|
return { title: this.$route.meta.title };
|