From 67069b58a971b5c440cf8467ab607689431c648a Mon Sep 17 00:00:00 2001 From: "SGK\\17962" <1796293269@qq.com> Date: Mon, 25 Aug 2025 08:41:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=95=E5=85=A5=E7=BD=91=E4=B8=8A=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=BC=80=E9=80=9A=E6=B8=A0=E9=81=93=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C=E4=B8=9A=E5=8A=A1=E7=B1=BB=E5=9E=8B=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E7=AE=80=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/locales/langs/zh-cn.ts | 2 +- .../src/typings/api/mps.market.api.d.ts | 2 +- cds-fontend-2025.V1/src/typings/app.d.ts | 15 +++++ .../src/views/business/category/index.vue | 3 +- .../category/modules/subcategory-search.vue | 32 +++++---- .../src/views/mps/market/index.vue | 6 +- .../market/modules/market-operate-drawer.vue | 51 ++++++--------- .../impl/BusinessSubcategoryServiceImpl.java | 1 + .../org/dromara/mps/domain/MpsMarket.java | 8 +++ .../dromara/mps/domain/bo/MpsMarketBo.java | 6 +- .../dromara/mps/domain/vo/MpsMarketVo.java | 4 -- .../mps/service/convert/StringToList.java | 18 +++++ .../service/impl/MpsMarketServiceImpl.java | 65 +++++++++---------- 13 files changed, 123 insertions(+), 90 deletions(-) create mode 100644 cds-platform-2025.V1/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/mps/service/convert/StringToList.java diff --git a/cds-fontend-2025.V1/src/locales/langs/zh-cn.ts b/cds-fontend-2025.V1/src/locales/langs/zh-cn.ts index 6d47878..32a6428 100644 --- a/cds-fontend-2025.V1/src/locales/langs/zh-cn.ts +++ b/cds-fontend-2025.V1/src/locales/langs/zh-cn.ts @@ -1,7 +1,6 @@ const local: App.I18n.Schema = { mps: { common: '模板', - zytgr: '智E通个人', zytqy: '智E通企业', zyf: '智e付', @@ -446,6 +445,7 @@ const local: App.I18n.Schema = { }, status: { required: '请选择状态', + invalid: '状态不能为空' } } } diff --git a/cds-fontend-2025.V1/src/typings/api/mps.market.api.d.ts b/cds-fontend-2025.V1/src/typings/api/mps.market.api.d.ts index 429ead6..48503c5 100644 --- a/cds-fontend-2025.V1/src/typings/api/mps.market.api.d.ts +++ b/cds-fontend-2025.V1/src/typings/api/mps.market.api.d.ts @@ -51,7 +51,7 @@ declare namespace Api { /** 综合收单商户号 */ acquiringId: CommonType.IdType; /** 网上支付开通渠道 */ - internetChannel: string; + internetChannel: string[]; /** 交警处罚决定书 */ trafficId: CommonType.IdType; trafficList: { trafficNo: string; trafficAmt: number }[]; diff --git a/cds-fontend-2025.V1/src/typings/app.d.ts b/cds-fontend-2025.V1/src/typings/app.d.ts index dcc36ac..9235081 100644 --- a/cds-fontend-2025.V1/src/typings/app.d.ts +++ b/cds-fontend-2025.V1/src/typings/app.d.ts @@ -485,6 +485,21 @@ declare namespace App { remark: FormMsg; }; }; + business: { + category: { + title: string; + categoryName: string; + parentCategoryName: string; + status: string; + add: string; + refresh: string; + form: { + categoryName: FormMsg; + parentCategoryName: FormMsg; + status: FormMsg; + }; + }; + }; login: { common: { loginOrRegister: string; diff --git a/cds-fontend-2025.V1/src/views/business/category/index.vue b/cds-fontend-2025.V1/src/views/business/category/index.vue index a92d539..3d53866 100644 --- a/cds-fontend-2025.V1/src/views/business/category/index.vue +++ b/cds-fontend-2025.V1/src/views/business/category/index.vue @@ -57,6 +57,7 @@ const { pageSize: 10, categoryId: null, name: null, + status: null, pricingRule: null, params: {} }, @@ -107,7 +108,7 @@ const { }, { key: 'status', - title: $t('page.system.user.status'), + title: $t('page.business.category.status'), align: 'center', minWidth: 80, resizable: true, diff --git a/cds-fontend-2025.V1/src/views/business/category/modules/subcategory-search.vue b/cds-fontend-2025.V1/src/views/business/category/modules/subcategory-search.vue index fe25e16..a83d1aa 100644 --- a/cds-fontend-2025.V1/src/views/business/category/modules/subcategory-search.vue +++ b/cds-fontend-2025.V1/src/views/business/category/modules/subcategory-search.vue @@ -2,6 +2,7 @@ import { ref } from 'vue'; import { useNaiveForm } from '@/hooks/common/form'; import { $t } from '@/locales'; +import {useDict} from "@/hooks/business/dict"; defineOptions({ name: 'SubcategorySearch' @@ -15,12 +16,14 @@ interface Emits { const emit = defineEmits(); const { formRef, validate, restoreValidation } = useNaiveForm(); - +const {options: statusOptions} = useDict('sys_normal_disable'); const model = defineModel('model', { required: true }); async function reset() { + debugger; + // Object.assign(model.value.params!, {}); Object.assign(model.value.params!, {}); await restoreValidation(); emit('reset'); @@ -38,19 +41,22 @@ async function search() { - - + + + + + + + + + + + - - - - - - - - - - + + + +