diff --git a/.env.development b/.env.development index 8d2e21c..e0df6a1 100644 --- a/.env.development +++ b/.env.development @@ -8,12 +8,12 @@ VITE_OPEN = true ENV = 'development' # ADMIN 服务地址 -#VITE_ADMIN_PROXY_PATH = http://123.156.230.15:8089/api/ -VITE_ADMIN_PROXY_PATH = http://127.0.0.1:9999 +# VITE_ADMIN_PROXY_PATH = http://123.156.230.15:8089/api/ +VITE_ADMIN_PROXY_PATH = http://localhost:9999 # 图片访问基础地址 -#VITE_IMAGE_BASE_PATH = http://123.156.230.15:8089/api - VITE_IMAGE_BASE_PATH = http://localhost:9999 +# VITE_IMAGE_BASE_PATH = http://123.156.230.15:8089/api +VITE_IMAGE_BASE_PATH = http://localhost:9999 # 代码生成服务地址 VITE_GEN_PROXY_PATH = http://192.168.110.156:5003 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 new file mode 100644 index 0000000..830dc08 --- /dev/null +++ b/src/components/Select/SelectMerchant.vue @@ -0,0 +1,73 @@ + + + \ No newline at end of file diff --git a/src/components/index.ts b/src/components/index.ts index 6e99cb0..5ee5408 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -16,6 +16,8 @@ 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' // 第三方组件 @@ -54,6 +56,8 @@ export default { app.component('PreviewImage', PreviewImage) 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 0fd9889..17e8e34 100644 --- a/src/views/wallet/wallet-active/form.vue +++ b/src/views/wallet/wallet-active/form.vue @@ -1,28 +1,18 @@