From cd8d5018368f739c6e63a5b16e5278033c766871 Mon Sep 17 00:00:00 2001
From: yangjun <1173114630@qq.com>
Date: Tue, 6 May 2025 08:58:55 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../ConfigMaterial/ConfigMaterialInfoList.vue | 67 +++++++++++++++----
1 file changed, 54 insertions(+), 13 deletions(-)
diff --git a/src/views/invoicing/ConfigMaterial/ConfigMaterialInfoList.vue b/src/views/invoicing/ConfigMaterial/ConfigMaterialInfoList.vue
index f1af149..ccffc6b 100644
--- a/src/views/invoicing/ConfigMaterial/ConfigMaterialInfoList.vue
+++ b/src/views/invoicing/ConfigMaterial/ConfigMaterialInfoList.vue
@@ -59,16 +59,40 @@
-
-
-
-
-
+
+
+
+
+
+
+ {{item.title}}
+
+
+
+
+
+
+
{{item2.title}}
+
+
+
+ · {{item3.title}}
+
+
+
+
+
{{item2.title}}
+
+
+
+
+
+
@@ -111,6 +135,7 @@
import type { TreeProps } from 'ant-design-vue';
import { DownOutlined } from '@ant-design/icons-vue';
import { defHttp } from '/@/utils/http/axios';
+import type { CollapseProps } from 'ant-design-vue';
const formRef = ref();
const queryParam = reactive({});
@@ -118,6 +143,11 @@ import { defHttp } from '/@/utils/http/axios';
const registerModal = ref();
const userStore = useUserStore();
let treeData = ref([]);
+ const activeKey = ref(0);
+ const activeKey2 = ref(0);
+ const rootSubmenuKeys= ['sub1']
+ const openKeys= []
+ const selectedKeys= []
//注册table数据
const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
tableProps: {
@@ -157,9 +187,20 @@ import { defHttp } from '/@/utils/http/axios';
sm: 20,
});
- function onSelect(ids, e) {
- let id = ids[0];
- queryParam.treeId =id;
+ function onOpenChange (openKeys: string[]){
+ const latestOpenKey = openKeys.find(key => openKeys.indexOf(key) === -1);
+ if (rootSubmenuKeys.indexOf(latestOpenKey!) === -1) {
+ openKeys = openKeys;
+ } else {
+ openKeys = latestOpenKey ? [latestOpenKey] : [];
+ }
+ };
+
+ function onSelect({ key, domEvent }) {
+ // console.log(ids);
+ // console.log(e);
+ // let id = ids[0];
+ queryParam.treeId =key;
reload();
}
/**
From 4dd33cd28a9caba9c0ac5a7398e1e19ed0d9263e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9B=B9=E7=A3=8A?= <45566618@qq.com>
Date: Tue, 6 May 2025 11:06:24 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E5=90=8C=E6=AD=A5tplink=E4=BB=A3=E7=A0=81?=
=?UTF-8?q?=E4=B8=8E=E8=BF=90=E7=BB=B4=E4=BB=A3=E7=A0=81=E4=B8=80=E8=87=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/iot/tplink/project/ProjectInfo.data.ts | 4 ++--
src/views/iot/tplink/region/RegionInfo.api.ts | 2 +-
src/views/iot/tplink/region/components/RegionForm.vue | 8 ++++----
.../iot/tplink/region/components/RegionInfoDrawer.vue | 8 ++++----
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/views/iot/tplink/project/ProjectInfo.data.ts b/src/views/iot/tplink/project/ProjectInfo.data.ts
index b4cb545..f837301 100644
--- a/src/views/iot/tplink/project/ProjectInfo.data.ts
+++ b/src/views/iot/tplink/project/ProjectInfo.data.ts
@@ -59,7 +59,7 @@ export const searchFormSchema: FormSchema[] = [
field: 'institutionId',
component: 'JDictSelectTag',
componentProps: {
- dictCode: 'nu_admin_institution_area,inst_name,id,org_category = 1 order by inst_name asc',
+ dictCode: 'sys_depart,depart_name,id,org_category = 1 order by depart_name asc',
placeholder: '请选择机构',
},
},
@@ -107,7 +107,7 @@ export const formSchema: FormSchema[] = [
field: 'institutionId',
component: 'JDictSelectTag',
componentProps: {
- dictCode: 'nu_admin_institution_area,inst_name,id,org_category = 1 order by inst_name asc',
+ dictCode: 'sys_depart,depart_name,id,org_category = 1 order by depart_name asc',
placeholder: '请选择机构',
},
},
diff --git a/src/views/iot/tplink/region/RegionInfo.api.ts b/src/views/iot/tplink/region/RegionInfo.api.ts
index 5c1eac3..dd74287 100644
--- a/src/views/iot/tplink/region/RegionInfo.api.ts
+++ b/src/views/iot/tplink/region/RegionInfo.api.ts
@@ -11,7 +11,7 @@ enum Api {
add = '/iot/regionInfo/add',
edit = '/iot/regionInfo/edit',
delete = '/iot/regionInfo/delete',
- queryChildrenByParentId = '/admin/institutionArea/queryChildrenByParentId',
+ queryChildrenByParentId = '/sys/sysDepart/queryChildrenByParentId',
}
diff --git a/src/views/iot/tplink/region/components/RegionForm.vue b/src/views/iot/tplink/region/components/RegionForm.vue
index c80be9c..a4c3c9a 100644
--- a/src/views/iot/tplink/region/components/RegionForm.vue
+++ b/src/views/iot/tplink/region/components/RegionForm.vue
@@ -5,8 +5,8 @@
handleChange(value,option,model)">
请选择…
-
- {{item.instName}}
+
+ {{item.departName}}
@@ -103,9 +103,9 @@
async function handleChange(value,option:Option,formData){
if(value == null){
- formData["regionName"] = model.value["regionName"];
+ formData["departName"] = model.value["departName"];
}else{
- formData["regionName"] = option.label;
+ formData["departName"] = option.label;
}
}
diff --git a/src/views/iot/tplink/region/components/RegionInfoDrawer.vue b/src/views/iot/tplink/region/components/RegionInfoDrawer.vue
index 78931b2..4e264fb 100644
--- a/src/views/iot/tplink/region/components/RegionInfoDrawer.vue
+++ b/src/views/iot/tplink/region/components/RegionInfoDrawer.vue
@@ -12,8 +12,8 @@
handleChange(value,option,model)">
-
- {{item.instName}}
+
+ {{item.departName}}
@@ -98,9 +98,9 @@ const fetchArea = async (institutionId) => {
async function handleChange(value,option:Option,formData){
if(value == null){
- formData["regionName"] = "";
+ formData["departName"] = "";
}else{
- formData["regionName"] = option.label;
+ formData["departName"] = option.label;
}
}
From e84ffc1fcca67b0b20ad97652b63517d3eac356b Mon Sep 17 00:00:00 2001
From: yangjun <1173114630@qq.com>
Date: Wed, 7 May 2025 14:04:02 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Table/src/BasicTable.vue | 6 +-
.../src/components/settings/ColumnSetting.vue | 2 +-
.../bizEmployeesInfo/BizEmployeesInfoList.vue | 84 +++++++++-
.../NuBizCustomerInfoList.vue | 157 ++++++++++--------
.../ConfigMaterial/ConfigMaterialInfoList.vue | 6 +-
.../directivePackage/DirectivePackageList.vue | 74 ++++++++-
.../services/serviceTag/ServiceTagList.vue | 80 +++++----
7 files changed, 286 insertions(+), 123 deletions(-)
diff --git a/src/components/Table/src/BasicTable.vue b/src/components/Table/src/BasicTable.vue
index 12380db..3c6c9af 100644
--- a/src/components/Table/src/BasicTable.vue
+++ b/src/components/Table/src/BasicTable.vue
@@ -501,10 +501,10 @@
padding: 10px;
.ant-form {
- padding: 12px 10px 6px 10px;
+ padding: 24px 10px 0px 10px;
margin-bottom: 8px;
background-color: @component-background;
- border-radius: 2px;
+ border-radius: 5px;
}
}
@@ -523,7 +523,7 @@
.ant-table-wrapper {
padding: 6px;
background-color: @component-background;
- border-radius: 2px;
+ border-radius: 5px;
.ant-table-title {
min-height: 40px;
diff --git a/src/components/Table/src/components/settings/ColumnSetting.vue b/src/components/Table/src/components/settings/ColumnSetting.vue
index 92dcd61..fa3f05e 100644
--- a/src/components/Table/src/components/settings/ColumnSetting.vue
+++ b/src/components/Table/src/components/settings/ColumnSetting.vue
@@ -1,5 +1,5 @@
-
+
{{ t('component.table.settingColumn') }}
diff --git a/src/views/biz/bizEmployeesInfo/BizEmployeesInfoList.vue b/src/views/biz/bizEmployeesInfo/BizEmployeesInfoList.vue
index 9006ae5..e8638c4 100644
--- a/src/views/biz/bizEmployeesInfo/BizEmployeesInfoList.vue
+++ b/src/views/biz/bizEmployeesInfo/BizEmployeesInfoList.vue
@@ -23,10 +23,49 @@
-
+
+
+
+
+
![]()
+
+
+
+
+
+ {{item.name}} /
+ {{item.sex_dictText?item.sex_dictText:'无'}}
+
+
+
+
入职日期: {{item.entryTime }}
+
身份证号: {{item.idCard }}
+
联系电话: {{item.tel }}
+
出生日期: {{item.dateOfBirth }}
+
+
+
{{ item.createBy_dictText }}
+
{{ item.createTime.substring(0,10) }}
+
+
+
+
+
+ 编辑
+ 服务标签
+ 分配账号
+
+
+
+
+
+
+
+
+
+
-
-
+ -->
+
+
@@ -103,7 +145,7 @@
const registerServiceTagModal = ref();
const dataList = ref([]);
const current = ref(1);
- const pageSize = ref(8);
+ const pageSize = ref(12);
const total = ref(0);
const labelCol = reactive({
@@ -276,4 +318,30 @@ function onPageChange(page,pageSize){
.buttonMargin{
margin: 3px;
}
+ .bjclass{
+ text-align: center;
+ margin-top: 16px;
+ border-radius: 50%;
+ width: 60px;
+ height: 60px;
+ background: linear-gradient(to bottom, #fff, #efe9e9);
+}
+.titleOne {
+ font-size: 16px;
+ font-weight: 600;
+ height: 40px;
+ line-height: 40px;
+ margin-bottom: 10px;
+}
+.ellipsis-two-lines {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2; /* 限制文本为2行 */
+ overflow: hidden;
+ text-overflow: ellipsis;
+ line-height:24px;color: #5a5a5a;
+}
+.center-lines {
+ line-height:24px;color: #5a5a5a;
+}
diff --git a/src/views/biz/nuBizCustomerInfo/NuBizCustomerInfoList.vue b/src/views/biz/nuBizCustomerInfo/NuBizCustomerInfoList.vue
index 60eb892..4a3f962 100644
--- a/src/views/biz/nuBizCustomerInfo/NuBizCustomerInfoList.vue
+++ b/src/views/biz/nuBizCustomerInfo/NuBizCustomerInfoList.vue
@@ -27,66 +27,61 @@
+
-
-
-
- {{item.customerName}} /
- {{item.customerSex_dictText?item.customerSex_dictText:'无'}} /
- {{item.currentState_dictText}}
- {{item.currentState_dictText}}
- {{item.currentState_dictText}}
- {{item.currentState_dictText}}
-
-
-
-
-
-
-
- 编辑
-
-
- 更换护理单元
-
-
- 外出
-
-
- 返回
-
-
- 退住
-
-
-
-
-
-
-
-
-
-
-
-
-
- 护理单元:{{item.nuId_dictText }}
- 报销类型:{{item.reimbType_dictText }}
- 医保类型:{{item.medicalType_dictText }}
- 联系电话:{{item.contactNumber }}
-
-
-
-
-
-
+
+
+
+
+
![]()
+
+
+
+
+
+ {{item.customerName}} /
+ {{item.customerSex_dictText?item.customerSex_dictText:'无'}} /
+ {{item.currentState_dictText}}
+ {{item.currentState_dictText}}
+ {{item.currentState_dictText}}
+ {{item.currentState_dictText}}
+
+
+
+
护理单元:{{item.nuId_dictText }}
+
报销类型:{{item.reimbType_dictText }}
+
医保类型:{{item.medicalType_dictText }}
+
联系电话:{{item.contactNumber }}
+
+
+
{{ item.createBy_dictText }}
+
{{ item.createTime.substring(0,10) }}
+
+
+
+
+
+ 编辑
+ 更换护理单元
+ 外出
+ 返回
+ 退住
+
+
+
+
+
+
+
+
+
@@ -114,7 +109,7 @@
const userStore = useUserStore();
const dataList = ref([]);
const current = ref(1);
- const pageSize = ref(8);
+ const pageSize = ref(12);
const total = ref(0);
const labelCol = reactive({
xs:24,
@@ -226,21 +221,6 @@
];
}
- /**
- * 下拉操作栏
- */
- function getDropDownAction(record) {
- return [ {
- label: '删除',
- popConfirm: {
- title: '是否确认删除',
- confirm: handleDelete.bind(null, record),
- placement: 'topLeft',
- },
- auth: 'nuBizCustomerInfo:nu_biz_customer_info:delete'
- }
- ]
- }
/**
* 查询
@@ -258,12 +238,17 @@
reload();
}
-
+ /**
+ * 分页
+ */
function onPageChange(page,pageSize){
console.log('onPageChange', page,pageSize);
current.value = page;
reload();
}
+ /**
+ * 加载数据
+ */
function reload(){
queryParam.pageSize = pageSize;
queryParam.pageNo = current;
@@ -320,4 +305,30 @@
.buttonMargin{
margin: 3px;
}
+ .bjclass{
+ text-align: center;
+ margin-top: 16px;
+ border-radius: 50%;
+ width: 60px;
+ height: 60px;
+ background: linear-gradient(to bottom, #fff, #efe9e9);
+}
+.titleOne {
+ font-size: 16px;
+ font-weight: 600;
+ height: 40px;
+ line-height: 40px;
+ margin-bottom: 10px;
+}
+.ellipsis-two-lines {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2; /* 限制文本为2行 */
+ overflow: hidden;
+ text-overflow: ellipsis;
+ line-height:24px;color: #5a5a5a;
+}
+.center-lines {
+ line-height:24px;color: #5a5a5a;
+}
diff --git a/src/views/invoicing/ConfigMaterial/ConfigMaterialInfoList.vue b/src/views/invoicing/ConfigMaterial/ConfigMaterialInfoList.vue
index ccffc6b..a7ef040 100644
--- a/src/views/invoicing/ConfigMaterial/ConfigMaterialInfoList.vue
+++ b/src/views/invoicing/ConfigMaterial/ConfigMaterialInfoList.vue
@@ -58,8 +58,8 @@
-
-
+
+
-
+
diff --git a/src/views/services/directivePackage/DirectivePackageList.vue b/src/views/services/directivePackage/DirectivePackageList.vue
index 848fcd6..8c9bd8f 100644
--- a/src/views/services/directivePackage/DirectivePackageList.vue
+++ b/src/views/services/directivePackage/DirectivePackageList.vue
@@ -25,9 +25,49 @@
+
+
+
+
+

+
+
+
+
+ {{ directive.packageName }}
+
+
+ {{ directive.description }}
+
+
+
{{ directive.createBy_dictText }}
+
{{ directive.createTime.substring(0,10) }}
+
+
+
+
+
+
+
+ 编辑
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
{{ directive.packageName }}
@@ -50,7 +90,6 @@
-
@@ -63,9 +102,9 @@
-
+ -->
+ style="text-align:right;right: 20px;bottom: 20px;z-index: 999;padding: 8px 16px;border-radius: 4px;display: flex;align-items: center;">
共 {{ tableData.total }} 条数据
@@ -96,7 +135,7 @@ const wrapperCol = reactive({
xl: 14,
xxl: 14
});
-const pageParams = ref({ pageNo: 1, pageSize: 8 })
+const pageParams = ref({ pageNo: 1, pageSize: 12 })
/**
* 搜索
@@ -156,7 +195,7 @@ function remove(data) {
}
onMounted(() => {
- queryList({ pageNo: 1, pageSize: 10 })
+ queryList({ pageNo: 1, pageSize: 12 })
})
@@ -190,4 +229,27 @@ onMounted(() => {
width: 100%;
}
}
+.bjclass{
+ text-align: center;
+ margin-top: 16px;
+ border-radius: 50%;
+ width: 60px;
+ height: 60px;
+ background: linear-gradient(to bottom, #fff, #efe9e9);
+}
+.titleOne {
+ font-size: 16px;
+ font-weight: 600;
+ height: 40px;
+ line-height: 40px;
+ margin-bottom: 10px;
+}
+.ellipsis-two-lines {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2; /* 限制文本为2行 */
+ overflow: hidden;
+ text-overflow: ellipsis;
+ line-height:24px;color: #5a5a5a;
+}
diff --git a/src/views/services/serviceTag/ServiceTagList.vue b/src/views/services/serviceTag/ServiceTagList.vue
index f701b2e..f9df74f 100644
--- a/src/views/services/serviceTag/ServiceTagList.vue
+++ b/src/views/services/serviceTag/ServiceTagList.vue
@@ -14,10 +14,8 @@
查询
- 重置
- 新增
+ 重置
+ 新增
@@ -25,14 +23,26 @@
-
-
-
-
-
-
{{ directive.tagName }}
-
-
+
+
+
+
+

+
+
+
+
+ {{ directive.tagName }}
+
+
+ {{ directive.description }}
+
+
+
{{ directive.createBy_dictText }}
+
{{ directive.createTime.substring(0,10) }}
+
+
+
@@ -47,25 +57,14 @@
+
-
-
-
-
-
- {{ directive.description }}
-
-
- {{ directive.createTime }} - {{ directive.createBy_dictText }}
-
-
-
+
+
-
+
+
共 {{ tableData.total }} 条数据
@@ -156,7 +155,7 @@ function remove(data) {
}
onMounted(() => {
- queryList({ pageNo: 1, pageSize: 10 })
+ queryList({ pageNo: 1, pageSize: 12 })
})
@@ -190,4 +189,27 @@ onMounted(() => {
width: 100%;
}
}
+.bjclass{
+ text-align: center;
+ margin-top: 16px;
+ border-radius: 50%;
+ width: 60px;
+ height: 60px;
+ background: linear-gradient(to bottom, #fff, #efe9e9);
+}
+.titleOne {
+ font-size: 16px;
+ font-weight: 600;
+ height: 40px;
+ line-height: 40px;
+ margin-bottom: 10px;
+}
+.ellipsis-two-lines {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2; /* 限制文本为2行 */
+ overflow: hidden;
+ text-overflow: ellipsis;
+ line-height:24px;color: #5a5a5a;
+}