|
@@ -19,7 +19,7 @@
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
<el-button type="primary" size="mini" @click="totime(time, 1)">查询</el-button>
|
|
<el-button type="primary" size="mini" @click="totime(time, 1)">查询</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
- <div id="card_one" style="width: 70vw; height: 30vw; margin: 40px 0 0 0"></div>
|
|
|
|
|
|
+ <div id="card_fou" style="width: 70vw; height: 30vw; margin: 40px 0 0 0"></div>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</div>
|
|
</div>
|
|
@@ -50,7 +50,7 @@ export default {
|
|
async created() {},
|
|
async created() {},
|
|
methods: {
|
|
methods: {
|
|
...mapActions(['query', 'fetch', 'create', 'update', 'delete']),
|
|
...mapActions(['query', 'fetch', 'create', 'update', 'delete']),
|
|
- async search({ skip = 0, limit = 10 } = {}) {
|
|
|
|
|
|
+ async search({ skip = 0, limit = 10, ...info } = {}) {
|
|
let res = await this.query({ skip, limit, status: '2', type: info.time, start: info.start, end: info.end });
|
|
let res = await this.query({ skip, limit, status: '2', type: info.time, start: info.start, end: info.end });
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
let list = res.data.sAfterSale;
|
|
let list = res.data.sAfterSale;
|