From 360602eaf8c90a5e023e9f92475a2c50901f607c Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Thu, 2 Jan 2025 10:56:40 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E9=80=89=E6=8B=A9=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Select/SelectDept.vue | 63 ++++++++ src/components/Select/SelectMerchant.vue | 1 - src/components/index.ts | 2 + src/views/canteen/merchantInfo/form.vue | 191 +++++++++++------------ src/views/canteen/merchantInfo/index.vue | 49 +++--- src/views/wallet/wallet-active/form.vue | 35 ++--- src/views/wallet/wallet-active/index.vue | 2 +- 7 files changed, 193 insertions(+), 150 deletions(-) create mode 100644 src/components/Select/SelectDept.vue diff --git a/src/components/Select/SelectDept.vue b/src/components/Select/SelectDept.vue new file mode 100644 index 0000000..21b898d --- /dev/null +++ b/src/components/Select/SelectDept.vue @@ -0,0 +1,63 @@ + + + \ No newline at end of file diff --git a/src/components/Select/SelectMerchant.vue b/src/components/Select/SelectMerchant.vue index 00403b1..830dc08 100644 --- a/src/components/Select/SelectMerchant.vue +++ b/src/components/Select/SelectMerchant.vue @@ -70,5 +70,4 @@ function clear() { state.selectId = null getOptions() } - \ No newline at end of file diff --git a/src/components/index.ts b/src/components/index.ts index 98eb687..5ee5408 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -17,6 +17,7 @@ import PreviewImage from "/@/components/PreviewImage/index.vue" import SelectUser from '/@/components/Select/SelectUser.vue' import SelectWalletType from '/@/components/Select/SelectWalletType.vue' import SelectMerchant from '/@/components/Select/SelectMerchant.vue' +import SelectDept from '/@/components/Select/SelectDept.vue' // 第三方组件 @@ -56,6 +57,7 @@ export default { app.component('SelectUser', SelectUser) app.component('SelectWalletType', SelectWalletType) app.component('SelectMerchant', SelectMerchant) + app.component('SelectDept', SelectDept) // 导入全部的elmenet-plus的图标 for (const [key, component] of Object.entries(ElementPlusIconsVue)) { diff --git a/src/views/canteen/merchantInfo/form.vue b/src/views/canteen/merchantInfo/form.vue index 36dd031..09f4476 100644 --- a/src/views/canteen/merchantInfo/form.vue +++ b/src/views/canteen/merchantInfo/form.vue @@ -1,83 +1,73 @@ diff --git a/src/views/canteen/merchantInfo/index.vue b/src/views/canteen/merchantInfo/index.vue index befebb6..44c85f5 100644 --- a/src/views/canteen/merchantInfo/index.vue +++ b/src/views/canteen/merchantInfo/index.vue @@ -7,39 +7,46 @@ v-auth="'canteen_merchantInfo_add'"> 新 增 - + 删除 - - - - - - - - - - - - + + + + + + + + + + + + @@ -84,7 +91,7 @@ const { sizeChangeHandle, sortChangeHandle, downBlobFile, - tableStyle + tableStyle } = useTable(state) // 清空搜索条件 diff --git a/src/views/wallet/wallet-active/form.vue b/src/views/wallet/wallet-active/form.vue index e56fa6d..17e8e34 100644 --- a/src/views/wallet/wallet-active/form.vue +++ b/src/views/wallet/wallet-active/form.vue @@ -1,29 +1,18 @@