Commit d141cf95 authored by 黄奎's avatar 黄奎

页面修改

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