diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 2b8dca5..bcbf3ee 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -182,3 +182,9 @@ aside { margin-bottom: 10px; } } + + +.flex-between { + display: flex; + justify-content: space-between; +} \ No newline at end of file diff --git a/src/components/RightToolbar/index.vue b/src/components/RightToolbar/index.vue index 5a53dd4..96f06b8 100644 --- a/src/components/RightToolbar/index.vue +++ b/src/components/RightToolbar/index.vue @@ -8,14 +8,16 @@ - - + + @@ -62,7 +59,7 @@ const props = defineProps({ }, }) -const emits = defineEmits(['update:showSearch', 'queryTable']); +const emits = defineEmits(['update:showSearch', 'queryTable', 'updateColumns']); // 显隐数据 const value = ref([]); @@ -114,6 +111,9 @@ if (props.showColumnsType == 'transfer') { // 勾选 function checkboxChange(event, label) { props.columns.filter(item => item.label == label)[0].visible = event; + + emits("updateColumns", toRaw(props.columns)); + } @@ -124,9 +124,11 @@ function checkboxChange(event, label) { display: block; margin-left: 0px; } + :deep(.el-transfer__button:first-child) { margin-bottom: 10px; } + :deep(.el-dropdown-menu__item) { line-height: 30px; padding: 0 17px; diff --git a/src/components/tableCom/index.vue b/src/components/tableCom/index.vue new file mode 100644 index 0000000..5b2ca6b --- /dev/null +++ b/src/components/tableCom/index.vue @@ -0,0 +1,291 @@ + + + + \ No newline at end of file diff --git a/src/env.d.ts b/src/env.d.ts new file mode 100644 index 0000000..61298b3 --- /dev/null +++ b/src/env.d.ts @@ -0,0 +1,5 @@ +declare module '*.vue' { + import type { DefineComponent } from 'vue' + const component: DefineComponent<{}, {}, any> + export default component +} \ No newline at end of file diff --git a/src/views/checkCode/index.vue b/src/views/checkCode/index.vue new file mode 100644 index 0000000..4253033 --- /dev/null +++ b/src/views/checkCode/index.vue @@ -0,0 +1,375 @@ + + + + + \ No newline at end of file diff --git a/src/views/checkCode/report/index.vue b/src/views/checkCode/report/index.vue new file mode 100644 index 0000000..340491d --- /dev/null +++ b/src/views/checkCode/report/index.vue @@ -0,0 +1,376 @@ + + + + + \ No newline at end of file diff --git a/src/views/liswork/dict/index.vue b/src/views/liswork/dict/index.vue index 1b21526..bc1aca9 100644 --- a/src/views/liswork/dict/index.vue +++ b/src/views/liswork/dict/index.vue @@ -1,7 +1,7 @@