diff --git a/src/plugins/element-plus/index.ts b/src/plugins/element-plus/index.ts index 599945939..ac2b24352 100644 --- a/src/plugins/element-plus/index.ts +++ b/src/plugins/element-plus/index.ts @@ -57,6 +57,8 @@ import { ElTree, ElTreeV2, ElPopconfirm, + ElCheckbox, + ElCheckboxGroup, // 指令 ElLoading, ElInfiniteScroll @@ -112,6 +114,8 @@ const components = [ ElTree, ElTreeV2, ElPopconfirm, + ElCheckbox, + ElCheckboxGroup, ElTable, ElTableColumn, ElLink, diff --git a/src/views/system/job/index.vue b/src/views/system/job/index.vue index d84797ea0..5dcfa1cc0 100644 --- a/src/views/system/job/index.vue +++ b/src/views/system/job/index.vue @@ -6,9 +6,11 @@ export default { @@ -75,13 +111,13 @@ onMounted(async () => { :model="form" class="bg-white w-99/100 pl-8 pt-4" > - + - + - + @@ -91,13 +127,23 @@ onMounted(async () => { 重置 - 搜索 + 搜索 - + 岗位列表 @@ -108,59 +154,108 @@ onMounted(async () => { 导出 --> - - - + - - - - 松散 - - - 默认 - - - 紧凑 - - - - + - + + + + + + + 松散 + + + 默认 + + + 紧凑 + + + + + + + + + (buttonRef = e.currentTarget)" + @mouseenter="visible = true" + @mouseleave="visible = false" + /> + + + + + + + + + + @@ -169,12 +264,13 @@ onMounted(async () => { onChange(checked, scope.row)" + @change="checked => onChange(checked, scope)" /> diff --git a/src/views/system/job/load.ts b/src/views/system/job/load.ts new file mode 100644 index 000000000..bd5a7c431 --- /dev/null +++ b/src/views/system/job/load.ts @@ -0,0 +1,10 @@ +export const loadingSvg = ` + + `;
岗位列表