diff --git a/index.html b/index.html
index 0d32c06..0eb2d5c 100644
--- a/index.html
+++ b/index.html
@@ -1,13 +1,14 @@
-
+
+
药慧精灵智慧诊所
-
-
-
-
-
+
+
+
+
+
diff --git a/src/assets/iconfont/iconfont.css b/src/assets/iconfont/iconfont.css
new file mode 100644
index 0000000..6b5ed31
--- /dev/null
+++ b/src/assets/iconfont/iconfont.css
@@ -0,0 +1,22 @@
+@font-face {
+ font-family: "iconfont"; /* Project id 4921806 */
+ src: url('iconfont.woff?t=1747274949107') format('woff'),
+ url('iconfont.ttf?t=1747274949107') format('truetype');
+}
+
+.iconfont {
+ font-family: "iconfont", serif !important;
+ font-size: 16px;
+ font-style: normal;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+.icon-RectangleCopy:before {
+ content: "\e6a2";
+}
+
+.icon-RectangleCopy1:before {
+ content: "\e6a4";
+}
+
diff --git a/src/assets/iconfont/iconfont.ttf b/src/assets/iconfont/iconfont.ttf
new file mode 100644
index 0000000..dd739fc
Binary files /dev/null and b/src/assets/iconfont/iconfont.ttf differ
diff --git a/src/assets/iconfont/iconfont.woff b/src/assets/iconfont/iconfont.woff
new file mode 100644
index 0000000..357b10f
Binary files /dev/null and b/src/assets/iconfont/iconfont.woff differ
diff --git a/src/assets/scss/main.scss b/src/assets/scss/main.scss
index 546feef..b13a452 100644
--- a/src/assets/scss/main.scss
+++ b/src/assets/scss/main.scss
@@ -96,8 +96,8 @@ body {
padding: 0 !important;
//border: 1px solid #4D6DE4 !important;
}
-$btn-color: #4d99e4;
-$lighter-color: #6eaeed;
+$btn-color: #4D6DE4;
+$lighter-color: #7c91e3;
.default-btn{
cursor: pointer;
width: 120px;
@@ -106,7 +106,7 @@ $lighter-color: #6eaeed;
background: $btn-color;
border-radius: 6px;
color: #FFF;
- font-size: 15px;
+ font-size: 16px;
text-align: center;
&:hover{
background: $lighter-color;
diff --git a/src/main.ts b/src/main.ts
index 75904d9..285f36c 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -3,6 +3,7 @@ import './assets/scss/main.scss'
import {createApp} from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
+import '../src/assets/iconfont/iconfont.css'
import {createPinia} from 'pinia'
import App from './App.vue'
diff --git a/src/views/inventory/apply.vue b/src/views/inventory/apply.vue
index dfdd992..fda2632 100644
--- a/src/views/inventory/apply.vue
+++ b/src/views/inventory/apply.vue
@@ -12,16 +12,12 @@
-
-
-
-
+
+
重置
-
@@ -31,7 +27,7 @@
-
+
diff --git a/src/views/inventory/check.vue b/src/views/inventory/check.vue
index 2cec192..9a545e9 100644
--- a/src/views/inventory/check.vue
+++ b/src/views/inventory/check.vue
@@ -13,16 +13,12 @@
-
-
-
-
+
+
重置
-
@@ -33,7 +29,7 @@
-
+
diff --git a/src/views/inventory/goods.vue b/src/views/inventory/goods.vue
index 92ee08b..5c58e49 100644
--- a/src/views/inventory/goods.vue
+++ b/src/views/inventory/goods.vue
@@ -65,16 +65,12 @@
-
-
-
-
+
+
重置
-
diff --git a/src/views/inventory/inventory.vue b/src/views/inventory/inventory.vue
index 40194d5..1b92cc1 100644
--- a/src/views/inventory/inventory.vue
+++ b/src/views/inventory/inventory.vue
@@ -66,16 +66,12 @@
-
-
-
-
+
+
重置
-
@@ -86,7 +82,7 @@
-
diff --git a/src/views/inventory/supplier.vue b/src/views/inventory/supplier.vue
index 8cdc095..3231c9d 100644
--- a/src/views/inventory/supplier.vue
+++ b/src/views/inventory/supplier.vue
@@ -13,16 +13,12 @@
-
-
-
-
+
+
重置
-
diff --git a/src/views/social/directory.vue b/src/views/social/directory.vue
index 6a0a85e..a2499f3 100644
--- a/src/views/social/directory.vue
+++ b/src/views/social/directory.vue
@@ -13,12 +13,17 @@
-
+
-
+
-
@@ -55,7 +60,7 @@
-
+
开始更新
-
{{tip}}
+
{{ tip }}
@@ -77,9 +82,10 @@ import {ElNotification, type TabsPaneContext} from 'element-plus'
import {post} from '@/utils/request.ts'
import {Search} from '@element-plus/icons-vue'
import Mask from "@/components/common/Mask.vue";
-let isUpdate1312=ref(false)
-let isUpdate1318=ref(false)
-let isUpdate1319=ref(false)
+
+let isUpdate1312 = ref(false)
+let isUpdate1318 = ref(false)
+let isUpdate1319 = ref(false)
let updt_time = ref(new Date())
let current_page = ref(1);
let total_page = ref(0)
@@ -87,7 +93,7 @@ let current_tab = ref(1301);
let column_list = ref([]);
let search_keyword = ref("");
let isDownLoading = ref(false);
-let tip=ref("")
+let tip = ref("")
const tabs = [
{label: '中西成药', name: 1301},
{label: '中药饮片', name: 1302},
@@ -103,43 +109,43 @@ const tabs = [
];
let tableData: any = ref([])
let content: any = ref(null);
-let update1312 = (current_page:number) => {
- if(current_page==1){
- tip.value="开始更新第1页"
+let update1312 = (current_page: number) => {
+ if (current_page == 1) {
+ tip.value = "开始更新第1页"
}
post("social/directory_upinfo/get_page", {
updt_time: updt_time.value,
- page:current_page
+ page: current_page
}, {catch_error: true}).then((res: any) => {
let pages = res.pages;
let number = res.number;
- if (current_page < pages&&isUpdate1312.value) {
+ if (current_page < pages && isUpdate1312.value) {
current_page++
let percent = Math.floor((current_page / pages) * 100)
- tip.value= "开始更新第:" + current_page + "/" + pages;
+ tip.value = "开始更新第:" + current_page + "/" + pages;
update1312(current_page);
} else {
- tip.value= "所有更新已完成"
+ tip.value = "所有更新已完成"
isUpdate1312.value = false
}
}).catch((err: any) => {
isUpdate1312.value = false;
- current_page=1;
+ current_page = 1;
})
}
-const openUpdateBox = (type:number) => {
+const openUpdateBox = (type: number) => {
//获取30天前时间
let start_time = new Date();
start_time.setDate(start_time.getDate() - 30);
updt_time.value = start_time;
- if(type==1312){
+ if (type == 1312) {
isUpdate1312.value = true
}
- if(type==1318){
+ if (type == 1318) {
isUpdate1318.value = true
}
- if(type==1319){
+ if (type == 1319) {
isUpdate1319.value = true
}
@@ -194,7 +200,7 @@ let change_page = (val: number) => {
}
let change_tab = (tab: TabsPaneContext, event: Event) => {
search_keyword.value = "";
- nextTick(()=>{
+ nextTick(() => {
init()
})
}
@@ -247,12 +253,13 @@ let download = (ver: any, type: any) => {