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 { /> + + + + + + + + + {{value.title}} + + + + + {{$t('等于')}} + {{$t('不等于')}} + {{$t('大于')}} + {{$t('大于等于')}} + {{$t('小于')}} + {{$t('小于等于')}} + {{$t('包含')}} + {{$t('不包含')}} + + + + + + + + {{$t('且')}} + {{$t('或')}} + + + + + + + + + + + + + + + + + + + + + + @@ -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 { - + - +