diff --git a/.env.development b/.env.development
index 4a5dc26..d895fee 100644
--- a/.env.development
+++ b/.env.development
@@ -8,19 +8,19 @@ VITE_OPEN = true
ENV = 'development'
# ADMIN 服务地址
-VITE_ADMIN_PROXY_PATH = http://123.157.250.162:8089/api/ # 测试线上
+# VITE_ADMIN_PROXY_PATH = http://123.157.250.162:8089/api/ # 测试线上
# VITE_ADMIN_PROXY_PATH = http://123.156.230.15:8089/api/ # 测试线上-过期
# VITE_ADMIN_PROXY_PATH = http://pjcloud.center.takin.cc/
# VITE_ADMIN_PROXY_PATH = http://localhost:9999/
-# VITE_ADMIN_PROXY_PATH = http://192.168.101.139:9999/ # 邓-本地
+VITE_ADMIN_PROXY_PATH = http://192.168.101.139:9999/ # 邓-本地
# VITE_ADMIN_PROXY_PATH = http://59.202.170.152:81/api # 正式环境线上
# 图片访问基础地址
-VITE_IMAGE_BASE_PATH = http://123.157.250.162:8089/api/ # 测试线上
+# VITE_IMAGE_BASE_PATH = http://123.157.250.162:8089/api/ # 测试线上
# VITE_IMAGE_BASE_PATH = http://123.156.230.15:8089/api/ # 测试线上-过期
# VITE_IMAGE_BASE_PATH = http://pjcloud.center.takin.cc
# VITE_IMAGE_BASE_PATH = http://localhost:9999
-# VITE_IMAGE_BASE_PATH = http://192.168.101.139:9999 # 邓-本地
+VITE_IMAGE_BASE_PATH = http://192.168.101.139:9999 # 邓-本地
# VITE_IMAGE_BASE_PATH = http://59.202.170.152:81/api/ # 正式环境线上
# 代码生成服务地址
diff --git a/src/components/DictSelect/index.vue b/src/components/DictSelect/index.vue
index 260e222..6433532 100644
--- a/src/components/DictSelect/index.vue
+++ b/src/components/DictSelect/index.vue
@@ -1,12 +1,7 @@
- e && getDictOptions()"
- >
-
+ e && getDictOptions()">
+
@@ -20,6 +15,7 @@ const selectId = defineModel()
export type Props = {
dictCode: string
placeholder?: string
+ hideIds?: string | Array
}
const props = withDefaults(defineProps(), {
placeholder: "请选择",
@@ -40,6 +36,21 @@ watch(
{ immediate: true },
)
+const filterDictList = computed(() => {
+ const hideKeys = props.hideIds
+ // 排序
+ const list = state.dictList?.sort((pren: any, next: any) => {
+ return pren.sortOrder - next.sortOrder
+ })
+ if (!hideKeys) return list
+ if (typeof hideKeys == "string") {
+ return list.filter((p: any) => p.value != hideKeys)
+ }
+ if (Array.isArray(hideKeys)) {
+ return list.filter((p: any) => !hideKeys.includes(p.value))
+ }
+})
+
async function getDictOptions() {
if (!props.dictCode) return []
const dicts = dict().getDict(props.dictCode)
@@ -60,7 +71,7 @@ async function getDictOptions() {
diff --git a/src/views/wallet/wallet-recharge-apply/form.vue b/src/views/wallet/wallet-recharge-apply/form.vue
index 8addf21..1af26cc 100644
--- a/src/views/wallet/wallet-recharge-apply/form.vue
+++ b/src/views/wallet/wallet-recharge-apply/form.vue
@@ -1,16 +1,19 @@
-
+
-
+
-
+
@@ -18,14 +21,26 @@
-
+
+
+
+
+
+ {{ v.label }}
+
+
+
+
+
-
+
@@ -40,11 +55,16 @@