diff --git a/src/views/LayoutInventory.vue b/src/views/LayoutInventory.vue index 5347cd1..e6083ad 100644 --- a/src/views/LayoutInventory.vue +++ b/src/views/LayoutInventory.vue @@ -72,6 +72,7 @@ bottom: 0; // 调整下划线与文字的距离 left: 50%; transform: translateX(-50%); + border-radius: 2px; } } a.router-link-active.router-link-exact-active.child-item{ diff --git a/src/views/LayoutSetting.vue b/src/views/LayoutSetting.vue index 9bdecb8..54c4adc 100644 --- a/src/views/LayoutSetting.vue +++ b/src/views/LayoutSetting.vue @@ -1,56 +1,84 @@ diff --git a/src/views/member/index.vue b/src/views/member/index.vue index b89e4e8..6258f7f 100644 --- a/src/views/member/index.vue +++ b/src/views/member/index.vue @@ -73,12 +73,17 @@ formatListTime(listItem.lastVisitTime) || "-" }} - {{certTypeList.find((item:any)=>item.id==listItem.certType)?.name}}> + + {{ certTypeList.find((item: any) => item.id == listItem.certType)?.name }} + + > {{ listItem.certNo || "-" }} {{ listItem.integralBalance }} - {{ areaName}}{{areaName?'/'+listItem.address : listItem.address || "-" }} - {{ listItem.beforeMedicalHistory || "-" }} + + {{ areaName }}{{ areaName ? '/' + listItem.address : listItem.address || "-" }} + + {{ listItem.beforeMedicalHistory || "-" }} {{ listItem.allergyHistory || "-" }} {{ listItem.remark || "-" }} @@ -86,60 +91,63 @@ - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- - +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
-
- + +
@@ -274,7 +282,7 @@ const findAreaName = (code: string | null): string => { // 如果都没找到,返回原始 code return code; }; -const areaName=ref('') +const areaName = ref('') // 点击列表中的某一项 const btn = (item: any, i: number) => { index.value = i @@ -290,8 +298,8 @@ const btn = (item: any, i: number) => { } catch (error) { areaData = null; // 或默认值 } - if (areaData != null){ - areaName.value=findAreaName(areaData[areaData?.length-1]) + if (areaData != null) { + areaName.value = findAreaName(areaData[areaData?.length - 1]) } getChargeList(listItem.value.id) @@ -372,7 +380,7 @@ const handleCurrentChange = (val: number) => { }; const levelEditRef = ref(); const antysList = ref(Object.entries(antys).map(([id, name]) => ({id, name}))) -const certTypeList=ref(Object.entries(psnCertTypes).map(([id,name])=>({id,name}))) +const certTypeList = ref(Object.entries(psnCertTypes).map(([id, name]) => ({id, name})))