|
@@ -31,8 +31,7 @@
|
31
|
31
|
</div>
|
32
|
32
|
</template>
|
33
|
33
|
<script>
|
34
|
|
-import api from "@/api/audit.js";
|
35
|
|
-import dictionary from "@/util/dictionary";
|
|
34
|
+import api from "@/api/article_z";
|
36
|
35
|
|
37
|
36
|
export default {
|
38
|
37
|
components: {},
|
|
@@ -41,7 +40,7 @@ export default {
|
41
|
40
|
columns1: [
|
42
|
41
|
{
|
43
|
42
|
label: '订单编号',
|
44
|
|
- key: 'orderCode'
|
|
43
|
+ key: 'code'
|
45
|
44
|
},
|
46
|
45
|
{
|
47
|
46
|
label: '支付金额(元)',
|
|
@@ -57,11 +56,11 @@ export default {
|
57
|
56
|
},
|
58
|
57
|
{
|
59
|
58
|
label: '修改日期',
|
60
|
|
- key: 'modifiedTime'
|
|
59
|
+ key: 'updateTime'
|
61
|
60
|
},
|
62
|
61
|
{
|
63
|
62
|
label: '修改人',
|
64
|
|
- key: 'modifiedPerson'
|
|
63
|
+ key: 'updateUser'
|
65
|
64
|
},
|
66
|
65
|
],
|
67
|
66
|
tableData1: [],
|
|
@@ -74,7 +73,7 @@ export default {
|
74
|
73
|
}
|
75
|
74
|
},
|
76
|
75
|
mounted() {
|
77
|
|
- // this.getTableData1()
|
|
76
|
+ this.getTableData1()
|
78
|
77
|
},
|
79
|
78
|
watch: {},
|
80
|
79
|
methods: {
|
|
@@ -87,8 +86,8 @@ export default {
|
87
|
86
|
},
|
88
|
87
|
getTableData1() {
|
89
|
88
|
const {pageNum1, pageSize1} = this
|
90
|
|
- api.carListByPage({current: pageNum1, size: pageSize1, ...this.formInline1}).then(res => {
|
91
|
|
- this.tableData1 = (res.data.records || []).map(item => ({...item, carType: dictionary.typeMap[item.carType]}))
|
|
89
|
+ api.queryProductOrderSearchByPage({current: pageNum1, size: pageSize1, orderType:this.formInline1.orderStatus}).then(res => {
|
|
90
|
+ this.tableData1 = res.data.records || []
|
92
|
91
|
this.total1 = res.data.total
|
93
|
92
|
})
|
94
|
93
|
},
|