From b8efa56a30a6c6675777a7d1b284f1213abc1ae6 Mon Sep 17 00:00:00 2001 From: "1378012178@qq.com" <1378012178@qq.com> Date: Fri, 30 May 2025 16:50:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E9=97=A8=E7=AE=A1=E7=90=86=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E7=9C=81=E5=B8=82=E5=8C=BA=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jeecg/components/modal/NuSelectModal.vue | 2 +- src/views/biz/nuBaseInfo/NuBaseInfo.data.ts | 5 + .../nuBaseInfo/components/NuBaseInfoForm.vue | 275 +++++++++--------- src/views/system/category/category.api.ts | 2 +- src/views/system/category/category.data.ts | 6 + .../category/components/CategoryModal.vue | 6 +- src/views/system/category/index.vue | 3 + .../depart/components/DepartFormModal.vue | 219 ++++++++------ .../depart/components/DepartFormTab.vue | 259 ++++++++++------- src/views/system/depart/depart.data.ts | 32 +- 10 files changed, 477 insertions(+), 332 deletions(-) diff --git a/src/components/Form/src/jeecg/components/modal/NuSelectModal.vue b/src/components/Form/src/jeecg/components/modal/NuSelectModal.vue index 4ca1771..f9d8f55 100644 --- a/src/components/Form/src/jeecg/components/modal/NuSelectModal.vue +++ b/src/components/Form/src/jeecg/components/modal/NuSelectModal.vue @@ -122,7 +122,7 @@ //定义表格列 const columns = [ { - title: '护理单元ID', + title: '护理单元编码', dataIndex: 'nuId', width: 180, align: 'left', diff --git a/src/views/biz/nuBaseInfo/NuBaseInfo.data.ts b/src/views/biz/nuBaseInfo/NuBaseInfo.data.ts index 43f1605..a0cd64e 100644 --- a/src/views/biz/nuBaseInfo/NuBaseInfo.data.ts +++ b/src/views/biz/nuBaseInfo/NuBaseInfo.data.ts @@ -10,6 +10,11 @@ export const columns: BasicColumn[] = [ align: "center", dataIndex: 'nuName' }, + { + title: '护理单元编码', + align: "center", + dataIndex: 'code' + }, { title: '区域标签', align: "center", diff --git a/src/views/biz/nuBaseInfo/components/NuBaseInfoForm.vue b/src/views/biz/nuBaseInfo/components/NuBaseInfoForm.vue index ec896fb..c53b456 100644 --- a/src/views/biz/nuBaseInfo/components/NuBaseInfoForm.vue +++ b/src/views/biz/nuBaseInfo/components/NuBaseInfoForm.vue @@ -2,19 +2,27 @@ diff --git a/src/views/system/depart/components/DepartFormTab.vue b/src/views/system/depart/components/DepartFormTab.vue index 23cc921..1384c0d 100644 --- a/src/views/system/depart/components/DepartFormTab.vue +++ b/src/views/system/depart/components/DepartFormTab.vue @@ -1,6 +1,22 @@ +@prefix-cls: ~'@{namespace}-j-depart-form-content'; + +/*begin 兼容暗夜模式*/ +.@{prefix-cls} { + background: @component-background; + border-top: 1px solid @border-color-base; +} + +/*end 兼容暗夜模式*/ +// update-end-author:liusq date:20230625 for: [issues/563]暗色主题部分失效 diff --git a/src/views/system/depart/depart.data.ts b/src/views/system/depart/depart.data.ts index c9ec9cc..4ea2422 100644 --- a/src/views/system/depart/depart.data.ts +++ b/src/views/system/depart/depart.data.ts @@ -36,23 +36,35 @@ export function useBasicFormSchema() { component: 'RadioButtonGroup', componentProps: { options: [] }, }, - { - field: 'departOrder', - label: '排序', - component: 'InputNumber', - componentProps: {}, - }, { field: 'url', label: '协议域名', component: 'Input', dynamicDisabled: ({ values }) => { - return values.orgCategory != '1' + return values.orgCategory != '1'; }, componentProps: { placeholder: '请输入协议域名', }, }, + { + field: 'province', + label: '省份', + component: 'Input', + slot: 'province', + }, + { + field: 'city', + label: '城市', + component: 'Input', + slot: 'city', + }, + { + field: 'district', + label: '区县', + component: 'Input', + slot: 'district', + }, { field: 'mobile', label: '电话', @@ -85,6 +97,12 @@ export function useBasicFormSchema() { placeholder: '请输入备注', }, }, + { + field: 'departOrder', + label: '排序', + component: 'InputNumber', + componentProps: {}, + }, ]; return { basicFormSchema }; }