Commit d141cf95 authored by 黄奎's avatar 黄奎

页面修改

parent cce8f7fe
......@@ -10,11 +10,13 @@
<div style="display: flex;flex-direction: row;align-items: center">
<el-select class="w100" @change="querychange" style="margin-right: 10px;" v-model="msg.PlatformType"
size="small" placeholder="请选择">
<el-option label="全部平台" :value="0"></el-option>
<el-option v-for="(item,index) in options" :key="index" :label="item.Name" :value="item.Id">
</el-option>
</el-select>
<el-select class="w100" @change="querychange" style="margin-right: 10px;" size="small" v-model="msg.OrderType"
placeholder="请选择">
<el-option label="全部订单" :value="0"></el-option>
<el-option v-for="(item,index) in options2" :key="index" :label="item.Name" :value="item.Id">
</el-option>
</el-select>
......@@ -200,28 +202,28 @@
},
Listloading: false,
tabsList: [{
'Name': '全部',
"ID": '0'
Name: "全部",
ID: "0"
},
{
'Name': '未完成订单',
"ID": '1'
Name: "未完成订单",
ID: "1"
},
{
'Name': '已完成订单',
"ID": '2'
Name: "已完成订单",
ID: "2"
},
{
'Name': '已取消订单',
"ID": '3'
Name: "已取消订单",
ID: "3"
},
{
'Name': '售后中订单',
"ID": '4'
Name: "售后中订单",
ID: "4"
},
{
'Name': '已完成售后订单',
"ID": '5'
Name: "已完成售后订单",
ID: "5"
},
],
options: [],
......@@ -249,19 +251,13 @@
}
},
created() {
this.getplat();
this.getOrderTypeEnumEnumList()
this.querychange()
},
methods: {
getplat() {
this.apipost("/api/User/GetMemberUserSourceEnumList", {}, res => {
if (res.data.resultCode == 1) {
this.options = res.data.data;
this.options.unshift({
Name: "全部平台",
Id: 0
})
}
})
},
......@@ -269,10 +265,6 @@
this.apipost("/api/Order/GetOrderTypeEnumEnumList", {}, res => {
if (res.data.resultCode == 1) {
this.options2 = res.data.data;
this.options2.unshift({
Name: "全部订单",
Id: 0
})
}
})
},
......@@ -409,7 +401,9 @@
},
},
mounted() {
this.getplat();
this.getOrderTypeEnumEnumList()
this.querychange()
}
}
......
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