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() { - - + + + + + + + + + + + - - - - - - - - - - + + + +