This commit is contained in:
yziiy
2025-12-20 17:28:33 +08:00
parent 92b4a5ca87
commit cbef9c7826

View File

@@ -51,7 +51,9 @@ export function useData() {
user_code: '',
search: "",
is_sys_tester: "",
is_real: ""
is_real: "",
order_type: "",
order_type_val: ""
});
const searchLabel = ref([
{ label: "会员ID", prop: "user_code", type: "input" },
@@ -61,7 +63,6 @@ export function useData() {
prop: "is_sys_tester",
type: "select",
optionList: [
{ label: "全部", value: "" },
{ label: "是", value: 1 },
{ label: "否", value: 0 }
]
@@ -71,10 +72,27 @@ export function useData() {
prop: "is_real",
type: "select",
optionList: [
{ label: "全部", value: "" },
{ label: "是", value: 1 },
{ label: "否", value: 0 }
]
},
{
label: "排序",
prop: "order_type",
type: "select",
optionList: [
{ label: "金币", value: 'coin' },
{ label: "钻石", value: 'earnings' }
]
},
{
label: "排序方式",
prop: "order_type_val",
type: "select",
optionList: [
{ label: "降序", value: 1 },
{ label: "升序", value: 2 }
]
}
]);
const indexMethod = (index: number) => {