From 75d03da033bb63ad434d87ca25e428792f654b4d Mon Sep 17 00:00:00 2001
From: wanggang <76527413@qq.com>
Date: Mon, 3 Jul 2023 17:44:22 +0800
Subject: [PATCH] update
---
.../src/WTA/wwwroot/components/list/index.js | 73 +++++++++++++++++++
docs/demo/src/WTA/wwwroot/layouts/index.js | 12 +--
2 files changed, 75 insertions(+), 10 deletions(-)
diff --git a/docs/demo/src/WTA/wwwroot/components/list/index.js b/docs/demo/src/WTA/wwwroot/components/list/index.js
index b5ee3988..9e08462e 100644
--- a/docs/demo/src/WTA/wwwroot/components/list/index.js
+++ b/docs/demo/src/WTA/wwwroot/components/list/index.js
@@ -44,6 +44,10 @@ export default {
{{item.meta.title}}
+
+
+ {{$t('高级筛选')}}
+
@@ -143,6 +147,62 @@ export default {
/>
+
+ {{$t('高级筛选')}}
+
+
+
+
+
+
+ {{value.title}}
+
+
+
+
+ {{$t('等于')}}
+ {{$t('不等于')}}
+ {{$t('大于')}}
+ {{$t('大于等于')}}
+ {{$t('小于')}}
+ {{$t('小于等于')}}
+ {{$t('包含')}}
+ {{$t('不包含')}}
+
+
+
+
+
+
+
+ {{$t('且')}}
+ {{$t('或')}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{$t('filter')}}
@@ -240,6 +300,8 @@ export default {
const sortColumns = ref(new Map());
const schema = ref(props.schema);
const queryFromSchema = ref(null);
+ const queryList = ref([]);
+ const queryDialog = ref(false);
const tableSchema = ref({});
const tableData = ref([]);
const editFormRef = ref(null);
@@ -418,6 +480,14 @@ export default {
subDrawer.value = true;
}
};
+ const pushQueryList = () => {
+ queryList.value.push({
+ property: "",
+ operator: "等于",
+ value: "",
+ logical: "且",
+ });
+ };
onMounted(async () => {
const vm = (await get(indexUrl)).data;
schema.value = vm.schema;
@@ -442,6 +512,8 @@ export default {
dialogVisible,
selectedRows,
queryFromSchema,
+ queryDialog,
+ queryList,
tableSchema,
buttons,
data,
@@ -463,6 +535,7 @@ export default {
submit,
showList,
subListQuery,
+ pushQueryList,
};
},
};
diff --git a/docs/demo/src/WTA/wwwroot/layouts/index.js b/docs/demo/src/WTA/wwwroot/layouts/index.js
index 380813c3..aa823277 100644
--- a/docs/demo/src/WTA/wwwroot/layouts/index.js
+++ b/docs/demo/src/WTA/wwwroot/layouts/index.js
@@ -20,17 +20,9 @@ export default {
-
+
-
+