Compare commits

..

No commits in common. "8f82cfb26293b9a457c1b09246378093ffc58861" and "bce56d87e27723f0e3092b482540a8542b18e68a" have entirely different histories.

8 changed files with 13753 additions and 1795 deletions

12154
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -64,7 +64,7 @@
"unplugin-auto-import": "^0.12.1", "unplugin-auto-import": "^0.12.1",
"unplugin-vue-components": "^0.22.12", "unplugin-vue-components": "^0.22.12",
"v-clipboard3": "^0.1.4", "v-clipboard3": "^0.1.4",
"vite-plugin-monaco-editor": "1.1.0", "vite-plugin-monaco-editor": "^1.1.0",
"vue": "3.3.4", "vue": "3.3.4",
"vue-cropper": "^1.0.9", "vue-cropper": "^1.0.9",
"vue-i18n": "^9.13.1", "vue-i18n": "^9.13.1",

File diff suppressed because one or more lines are too long

View File

@ -61,21 +61,7 @@ const processedColumns = computed(() => {
* 提交 * 提交
*/ */
const searchSubmit = (data: any) => { const searchSubmit = (data: any) => {
if(data){ console.log("搜索--------",data)
processedColumns.value.forEach((column: any) => {
if (column.search?.type === 'rangePicker') {
data = data.flatMap(item => {
if (item.column === column.key) {
return [
{ ...item, termType: "gte", value: item.value[0] },
{ ...item, termType: "lte", value: item.value[1] }
];
}
return item;
});
}
});
}
data = { data = {
terms:[{ terms:[{
terms:data terms:data

View File

@ -1,6 +1,6 @@
@import "./style/variable"; @import "./style/variable";
@DarkMenuItemColor: #eee !important; @DarkMenuItemColor: #808491 !important;
@font-face { @font-face {
font-family: AliRegular; font-family: AliRegular;
@ -63,7 +63,7 @@ body {
.ant-menu-item { .ant-menu-item {
span{ span{
color: #eee !important; color: rgba(255, 255, 255, 0.55) !important;
} }
&:hover { &:hover {
background-color: transparent !important; background-color: transparent !important;

View File

@ -85,8 +85,7 @@ const columns = [
scopedSlots: true, scopedSlots: true,
ellipsis: true, ellipsis: true,
search: { search: {
type: 'rangePicker', type: 'date',
defaultTermType:'in',
}, },
}, },
{ {

View File

@ -34,7 +34,8 @@ const change = (e: string) => {
} }
watch(() => props.value, () => { watch(() => props.value, () => {
console.log(props.value);
myValue.value = props.value?.valueType?.type myValue.value = props.value?.valueType?.type
}, { immediate: true, deep: true}) }, { immediate: true, deep: true})

3364
yarn.lock

File diff suppressed because it is too large Load Diff