Browse Source

上下班优化

maotao 3 weeks ago
parent
commit
011348472f

+ 70 - 69
pages/mypage/mypage.vue

@@ -1,21 +1,31 @@
1
 <template>
1
 <template>
2
   <view class="mypage">
2
   <view class="mypage">
3
     <view class="myTop">
3
     <view class="myTop">
4
-      <view class="goWork" @click="GoWork()">
4
+			<view class="topText">
5
+			  <view class="topTextHeader">
6
+			    <view class="text">您好,{{ userData.name }}</view>
7
+			  <!--  <button v-show="!userData.online" class="changeHospital" size="mini" type="default" @click="changeHospital">
8
+			      切换院区
9
+			    </button> -->
10
+					<view class="goWork_btn_E">
11
+					  <view class="goWork_btn_W" v-show="userData.online"> 
12
+							<text class="left-icon newicon newicon-xiuxizhong"></text>
13
+							<text class="state">工作中</text> 
14
+						</view>
15
+					  <view class="goWork_btn_X" v-show="!userData.online"> 
16
+							<text class="left-icon newicon newicon-gongzuozhong"></text>
17
+							<text class="state">休息中</text> 
18
+						</view>
19
+					</view>
20
+			  </view>
21
+			  <!-- <view>当前积分 : {{ tabNum.score }}</view> -->
22
+			</view>
23
+  <!--    <view class="goWork" @click="GoWork()">
5
         <view class="goWork_btn_E">
24
         <view class="goWork_btn_E">
6
           <view class="goWork_btn_W" v-show="userData.online"> 下班 </view>
25
           <view class="goWork_btn_W" v-show="userData.online"> 下班 </view>
7
           <view class="goWork_btn_X" v-show="!userData.online"> 上班 </view>
26
           <view class="goWork_btn_X" v-show="!userData.online"> 上班 </view>
8
         </view>
27
         </view>
9
-      </view>
10
-      <view class="topText">
11
-        <view class="topTextHeader">
12
-          <text>您好,{{ userData.name }}</text>
13
-          <button v-show="!userData.online" class="changeHospital" size="mini" type="default" @click="changeHospital">
14
-            切换院区
15
-          </button>
16
-        </view>
17
-        <view>当前积分 : {{ tabNum.score }}</view>
18
-      </view>
28
+      </view> -->
19
     </view>
29
     </view>
20
     <view class="myCont">
30
     <view class="myCont">
21
       <view class="myCont_cont">
31
       <view class="myCont_cont">
@@ -73,6 +83,7 @@
73
         </view>
83
         </view>
74
       </view>
84
       </view>
75
     </view>
85
     </view>
86
+		<view class="page_item_btn" hover-class="seimin-btn-hover" @click="GoWork()">{{userData.online ? '我要下班':'我要上班'}}</view>
76
     <!-- 弹窗 -->
87
     <!-- 弹窗 -->
77
     <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
88
     <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
78
       @ok="ok" @cancel="cancel" :operate="models.operate"></showModel>
89
       @ok="ok" @cancel="cancel" :operate="models.operate"></showModel>
@@ -514,6 +525,8 @@
514
 </script>
525
 </script>
515
 <style lang="less">
526
 <style lang="less">
516
   .mypage {
527
   .mypage {
528
+		padding: 20rpx;
529
+		background: #F0F6ED;
517
     .charts {
530
     .charts {
518
       width: 625upx;
531
       width: 625upx;
519
       height: 500upx;
532
       height: 500upx;
@@ -530,67 +543,40 @@
530
     }
543
     }
531
 
544
 
532
     .myTop {
545
     .myTop {
533
-      height: 390rpx;
534
-      background-image: url(../../static/img/BG_xiaban.png);
535
-      background-repeat: no-repeat;
536
-      background-size: 100% 100%;
537
-
538
-      .goWork {
539
-        margin: 0 auto 20rpx auto;
540
-        padding-top: 30rpx;
541
-        width: 240rpx;
542
-        height: 240rpx;
543
-
544
-        .goWork_btn_E {
545
-          width: 100%;
546
-          height: 100%;
547
-          background: #bee1a7;
548
-          border-radius: 30%;
549
-          text-align: center;
550
-
551
-          .goWork_btn_W {
552
-            width: 75%;
553
-            height: 75%;
554
-            background-image: linear-gradient(to right, #72c172, #3bb197);
555
-            border-radius: 30%;
556
-            margin: 0 auto;
557
-            /*水平居中*/
558
-            position: relative;
559
-            /*脱离文档流*/
560
-            top: 12.5%;
561
-            /*偏移*/
562
-            line-height: 180rpx;
563
-            color: #fff;
564
-            font-size: 36rpx;
565
-          }
566
-
567
-          .goWork_btn_X {
568
-            width: 75%;
569
-            height: 75%;
570
-            background-image: linear-gradient(to left, #72c172, #3bb197);
571
-            border-radius: 30%;
572
-            margin: 0 auto;
573
-            /*水平居中*/
574
-            position: relative;
575
-            /*脱离文档流*/
576
-            top: 12.5%;
577
-            /*偏移*/
578
-            line-height: 180rpx;
579
-            color: #fff;
580
-            font-size: 36rpx;
581
-          }
546
+      height: 160rpx;
547
+			background: #fff;
548
+			border-radius: 8rpx;
549
+			padding: 40rpx;
550
+      .goWork_btn_E {
551
+        text-align: center;
552
+				margin-top: 70rpx;
553
+				font-weight: bold;
554
+				
555
+				.state{
556
+					margin-left: 8rpx;
557
+				}
558
+				
559
+				.newicon{
560
+					font-size: 42rpx !important;
561
+				}
562
+				
563
+        .goWork_btn_W {
564
+          color: #FFBA30;
565
+          font-size: 40rpx;
566
+        }
567
+      
568
+        .goWork_btn_X {
569
+          color: #64BD7B;
570
+          font-size: 40rpx;
582
         }
571
         }
583
       }
572
       }
584
 
573
 
585
       .topText {
574
       .topText {
586
-        font-size: 36rpx;
587
-        text-align: center;
588
-
589
         .topTextHeader {
575
         .topTextHeader {
590
-          display: flex;
591
-          justify-content: center;
592
-          align-items: center;
593
-
576
+					.text{
577
+						font-size: 30rpx;
578
+						font-weight: bold;
579
+					}
594
           .changeHospital {
580
           .changeHospital {
595
             margin-left: 16rpx;
581
             margin-left: 16rpx;
596
             margin-right: 0;
582
             margin-right: 0;
@@ -600,6 +586,9 @@
600
     }
586
     }
601
 
587
 
602
     .myCont {
588
     .myCont {
589
+			background: #fff;
590
+			margin-top: 20rpx;
591
+			border-radius: 8rpx;
603
       .myCont_top {
592
       .myCont_top {
604
         text-align: left;
593
         text-align: left;
605
         line-height: 90rpx;
594
         line-height: 90rpx;
@@ -669,7 +658,7 @@
669
         }
658
         }
670
 
659
 
671
         .TB1 {
660
         .TB1 {
672
-          height: 200rpx;
661
+          height: 180rpx;
673
 
662
 
674
           .title {
663
           .title {
675
             text-align: left;
664
             text-align: left;
@@ -695,7 +684,9 @@
695
         .TB_list {
684
         .TB_list {
696
           width: 100%;
685
           width: 100%;
697
           text-align: left;
686
           text-align: left;
698
-
687
+					height: calc(100vh - 700rpx);
688
+					overflow-y: auto;
689
+					margin-bottom: 20rpx;
699
           view {
690
           view {
700
             height: 84rpx;
691
             height: 84rpx;
701
             line-height: 84rpx;
692
             line-height: 84rpx;
@@ -718,5 +709,15 @@
718
         }
709
         }
719
       }
710
       }
720
     }
711
     }
712
+		.page_item_btn {
713
+		  height: 88rpx;
714
+		  background-image: linear-gradient(to right, #72c172, #3bb197);
715
+		  border-radius: 8rpx;
716
+		  line-height: 88rpx;
717
+		  color: #fff;
718
+		  font-size: 36rpx;
719
+		  font-weight: 700;
720
+		  text-align: center;
721
+		}
721
   }
722
   }
722
 </style>
723
 </style>

+ 8 - 0
pages/newDrug/detail.vue

@@ -10,11 +10,18 @@
10
 
10
 
11
     <view class="Scanning_cont">
11
     <view class="Scanning_cont">
12
       <view class="column head">
12
       <view class="column head">
13
+				<view class="value2" v-if="queryObj.showPatientInfo==1">患者信息</view>
13
         <view class="value1">药品名称+规格<text class="red">({{drugsList.length}})</text></view>
14
         <view class="value1">药品名称+规格<text class="red">({{drugsList.length}})</text></view>
14
         <view class="value2">数量</view>
15
         <view class="value2">数量</view>
15
       </view>
16
       </view>
16
       <scroll-view scroll-y class="scrollContent">
17
       <scroll-view scroll-y class="scrollContent">
17
         <view class="column" v-for="item in drugsList" :key="item.id">
18
         <view class="column" v-for="item in drugsList" :key="item.id">
19
+					<view class="value2" v-if="queryObj.showPatientInfo==1">
20
+					  <view>
21
+							{{item.patientName }}<text v-if="item.bedNum">({{item.bedNum}})</text>
22
+							<view>{{item.residenceNo ? item.residenceNo : ''}}</view>
23
+						</view>
24
+					</view>
18
           <view class="value1">{{item.drugsInfo}} {{item.model}}</view>
25
           <view class="value1">{{item.drugsInfo}} {{item.model}}</view>
19
           <view class="value2">{{item.drugsNum}}</view>
26
           <view class="value2">{{item.drugsNum}}</view>
20
         </view>
27
         </view>
@@ -177,6 +184,7 @@
177
           text-align: left;
184
           text-align: left;
178
           word-break: break-all;
185
           word-break: break-all;
179
           flex-shrink: 0;
186
           flex-shrink: 0;
187
+					text-align: center;
180
         }
188
         }
181
         .value2,.value3{
189
         .value2,.value3{
182
           flex: 1;
190
           flex: 1;

+ 7 - 3
pages/newDrug/list.vue

@@ -8,10 +8,14 @@
8
             <view class="value">{{item.drugsState ? item.drugsState.name : ''}}</view>
8
             <view class="value">{{item.drugsState ? item.drugsState.name : ''}}</view>
9
           </view>
9
           </view>
10
           <view class="body">
10
           <view class="body">
11
-            <view class="bodyColumn">
12
-              <view class="name">种类数:{{item.drugsTypeCount}}</view>
13
-              <view class="value">总数:{{item.drugsCount}}</view>
11
+            <view class="bodyColumn" v-if="queryObj.showPatientInfo==1">
12
+              <view class="name">姓名(床号):{{item.patientName ? item.patientName : ''}} <text v-if="item.bedNum">({{item.bedNum}})</text></view>
13
+              <view class="value">住院号:{{item.residenceNo ? item.residenceNo : ''}}</view>
14
             </view>
14
             </view>
15
+						<view class="bodyColumn">
16
+						  <view class="name">种类数:{{item.drugsTypeCount}}</view>
17
+						  <view class="value">总数:{{item.drugsCount}}</view>
18
+						</view>
15
             <view class="bodyColumn">
19
             <view class="bodyColumn">
16
               <view class="name">收取人:<template v-if="item.startLog">{{item.startLog.username}}</template></view>
20
               <view class="name">收取人:<template v-if="item.startLog">{{item.startLog.username}}</template></view>
17
               <view class="value">收取时间:<template v-if="item.startLog">{{item.startLog.operationTime | formatDate('yyyy-MM-dd hh:mm')}}</template></view>
21
               <view class="value">收取时间:<template v-if="item.startLog">{{item.startLog.operationTime | formatDate('yyyy-MM-dd hh:mm')}}</template></view>

+ 2 - 2
pages/receipt_infopage/receipt_infopage.vue

@@ -1140,11 +1140,11 @@
1140
               let config = list[0];
1140
               let config = list[0];
1141
               if(config.drugsModel === 1){
1141
               if(config.drugsModel === 1){
1142
                 uni.navigateTo({
1142
                 uni.navigateTo({
1143
-                  url: `/pages/newDrug/detail?drugsBagType=${type}&orderId=${workOrder.id}`,
1143
+                  url: `/pages/newDrug/detail?drugsBagType=${type}&orderId=${workOrder.id}&showPatientInfo=${config.showPatientInfo}`,
1144
                 });
1144
                 });
1145
               } else if(config.drugsModel === 2){
1145
               } else if(config.drugsModel === 2){
1146
                 uni.navigateTo({
1146
                 uni.navigateTo({
1147
-                  url: `/pages/newDrug/list?drugsBagType=${type}&orderId=${workOrder.id}`,
1147
+                  url: `/pages/newDrug/list?drugsBagType=${type}&orderId=${workOrder.id}&showPatientInfo=${config.showPatientInfo}`,
1148
                 });
1148
                 });
1149
               }
1149
               }
1150
             }else{
1150
             }else{

+ 36 - 10
pages/receiptpage/receiptpage.vue

@@ -38,19 +38,19 @@
38
                 <view class="page_item_cont_start emergency1" v-if="item.emergencyType.value == 1">
38
                 <view class="page_item_cont_start emergency1" v-if="item.emergencyType.value == 1">
39
                   <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
39
                   <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
40
                   </image>
40
                   </image>
41
-                  {{ item.emergencyType.name }}
41
+									{{ item.emergencyType.name }}</text>
42
                 </view>
42
                 </view>
43
                 <view class="page_item_cont_start emergency" v-if="item.emergencyType.value == 2">
43
                 <view class="page_item_cont_start emergency" v-if="item.emergencyType.value == 2">
44
                   <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
44
                   <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
45
                   </image>
45
                   </image>
46
-                  {{ item.emergencyType.name }}
46
+                  {{ item.emergencyType.name }}</text>
47
                 </view>
47
                 </view>
48
                 <view class="page_item_cont_start emergencys" v-if="item.emergencyType.value == 3">
48
                 <view class="page_item_cont_start emergencys" v-if="item.emergencyType.value == 3">
49
                   <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
49
                   <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
50
                   </image>
50
                   </image>
51
-                  {{ item.emergencyType.name }}
51
+                  {{ item.emergencyType.name }}</text>
52
                 </view>
52
                 </view>
53
-                <view class="page_item_top_R type" style="margin-left: 16rpx;">
53
+                <view class="page_item_top_R type" :style="{color: item.taskTypeConfig.renderColors?item.taskTypeConfig.renderColors:'#333'}" style="margin-left: 16rpx;">
54
                   {{ item.taskType.taskName }}<template v-if="item.goodsRemark">-{{item.goodsRemark}}</template>
54
                   {{ item.taskType.taskName }}<template v-if="item.goodsRemark">-{{item.goodsRemark}}</template>
55
                 </view>
55
                 </view>
56
                 <!-- <text class="L_time" v-if="item.overdueTime">{{ item.overdueTime }}前送达</text> -->
56
                 <!-- <text class="L_time" v-if="item.overdueTime">{{ item.overdueTime }}前送达</text> -->
@@ -82,17 +82,17 @@
82
                 <!-- <view class="page_item_cont_start emergency1" v-if="item.emergencyType.value == 1">
82
                 <!-- <view class="page_item_cont_start emergency1" v-if="item.emergencyType.value == 1">
83
                   <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
83
                   <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
84
                   </image>
84
                   </image>
85
-                  {{ item.emergencyType.name }}
85
+                  {{ item.emergencyType.name }}</text>
86
                 </view>
86
                 </view>
87
                 <view class="page_item_cont_start emergency" v-if="item.emergencyType.value == 2">
87
                 <view class="page_item_cont_start emergency" v-if="item.emergencyType.value == 2">
88
                   <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
88
                   <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
89
                   </image>
89
                   </image>
90
-                  {{ item.emergencyType.name }}
90
+                  {{ item.emergencyType.name }}</text>
91
                 </view>
91
                 </view>
92
                 <view class="page_item_cont_start emergencys" v-if="item.emergencyType.value == 3">
92
                 <view class="page_item_cont_start emergencys" v-if="item.emergencyType.value == 3">
93
                   <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
93
                   <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
94
                   </image>
94
                   </image>
95
-                  {{ item.emergencyType.name }}
95
+                  {{ item.emergencyType.name }}</text>
96
                 </view> -->
96
                 </view> -->
97
               </view>
97
               </view>
98
               <view class="page_item_conts" v-if="item.taskType.associationType.value == 'specimen'">
98
               <view class="page_item_conts" v-if="item.taskType.associationType.value == 'specimen'">
@@ -615,6 +615,7 @@
615
 				keyArr: [],
615
 				keyArr: [],
616
 				isApp:false,
616
 				isApp:false,
617
 				isUpdate:false,
617
 				isUpdate:false,
618
+				taskTypeList:[]
618
       };
619
       };
619
     },
620
     },
620
 		components: {
621
 		components: {
@@ -648,7 +649,7 @@
648
         } else {
649
         } else {
649
           return "-";
650
           return "-";
650
         }
651
         }
651
-      },
652
+      }
652
     },
653
     },
653
     components: {
654
     components: {
654
       uniFab,
655
       uniFab,
@@ -660,6 +661,24 @@
660
 			appUpdata
661
 			appUpdata
661
     },
662
     },
662
     methods: {
663
     methods: {
664
+			// 获取任务类型
665
+			getTaskType(){
666
+				let postData = {
667
+				  idx: 0,
668
+				  sum: 9999,
669
+					taskType:{
670
+						hosIds:this.hosId
671
+					}
672
+				};
673
+				
674
+				post("/configuration/fetchDataList/taskType",postData).then((res) => {
675
+				    if (res.status == 200) {
676
+							this.taskTypeList = res.list
677
+							console.log(444,this.taskTypeList)
678
+				    }
679
+						this.initList();
680
+				  });
681
+			},
663
 			confirmKey(data){
682
 			confirmKey(data){
664
 				this.padChange(data)
683
 				this.padChange(data)
665
 				this.showKey = false
684
 				this.showKey = false
@@ -2683,13 +2702,20 @@
2683
             this.totalNum = res.data.resultCount;
2702
             this.totalNum = res.data.resultCount;
2684
             res.data.data = res.data.data || [];
2703
             res.data.data = res.data.data || [];
2685
             res.data.data.forEach(v => {
2704
             res.data.data.forEach(v => {
2686
-              v.clinicalTaskIdsFlag = this.clinicalTaskIds.includes(v.taskType.id.toString());
2705
+							// for(let i of this.taskTypeList){
2706
+							// 	if(i.associationType.id == v.taskType.associationType.id){
2707
+							// 		v.colorStyle = i.renderColors
2708
+							// 	}
2709
+							// }
2710
+							v.taskTypeConfig = this.taskTypeList.find(i=>i.associationType.id == v.taskType.associationType.id)
2711
+							v.clinicalTaskIdsFlag = this.clinicalTaskIds.includes(v.taskType.id.toString());
2687
             })
2712
             })
2688
             if (idx === 0) {
2713
             if (idx === 0) {
2689
               this.zxzData = res.data.data;
2714
               this.zxzData = res.data.data;
2690
             } else {
2715
             } else {
2691
               this.zxzData.push(...res.data.data);
2716
               this.zxzData.push(...res.data.data);
2692
             }
2717
             }
2718
+						console.log(4444,res.data.data)
2693
             this.tabs[1].num = res.data.resultCount;
2719
             this.tabs[1].num = res.data.resultCount;
2694
           } else {
2720
           } else {
2695
             uni.showToast({
2721
             uni.showToast({
@@ -2931,7 +2957,7 @@
2931
       // });
2957
       // });
2932
       // #endif
2958
       // #endif
2933
       this.selectedLabelSlots = "执行中";
2959
       this.selectedLabelSlots = "执行中";
2934
-      this.initList();
2960
+			this.getTaskType();
2935
       this.getConfig();
2961
       this.getConfig();
2936
       // 科室二维码切换科室回显
2962
       // 科室二维码切换科室回显
2937
       if (options.showDepartmentQrcodeId && options.showDepartmentQrcodeDept) {
2963
       if (options.showDepartmentQrcodeId && options.showDepartmentQrcodeDept) {

+ 49 - 3
static/font/demo_index.html

@@ -55,6 +55,18 @@
55
           <ul class="icon_lists dib-box">
55
           <ul class="icon_lists dib-box">
56
           
56
           
57
             <li class="dib">
57
             <li class="dib">
58
+              <span class="icon newicon">&#xea89;</span>
59
+                <div class="name">休息中</div>
60
+                <div class="code-name">&amp;#xea89;</div>
61
+              </li>
62
+          
63
+            <li class="dib">
64
+              <span class="icon newicon">&#xe68d;</span>
65
+                <div class="name">工作中</div>
66
+                <div class="code-name">&amp;#xe68d;</div>
67
+              </li>
68
+          
69
+            <li class="dib">
58
               <span class="icon newicon">&#xe653;</span>
70
               <span class="icon newicon">&#xe653;</span>
59
                 <div class="name">密钥</div>
71
                 <div class="name">密钥</div>
60
                 <div class="code-name">&amp;#xe653;</div>
72
                 <div class="code-name">&amp;#xe653;</div>
@@ -720,9 +732,9 @@
720
 <pre><code class="language-css"
732
 <pre><code class="language-css"
721
 >@font-face {
733
 >@font-face {
722
   font-family: 'newicon';
734
   font-family: 'newicon';
723
-  src: url('iconfont.woff2?t=1731394849627') format('woff2'),
724
-       url('iconfont.woff?t=1731394849627') format('woff'),
725
-       url('iconfont.ttf?t=1731394849627') format('truetype');
735
+  src: url('iconfont.woff2?t=1744858396442') format('woff2'),
736
+       url('iconfont.woff?t=1744858396442') format('woff'),
737
+       url('iconfont.ttf?t=1744858396442') format('truetype');
726
 }
738
 }
727
 </code></pre>
739
 </code></pre>
728
           <h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
740
           <h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
@@ -749,6 +761,24 @@
749
         <ul class="icon_lists dib-box">
761
         <ul class="icon_lists dib-box">
750
           
762
           
751
           <li class="dib">
763
           <li class="dib">
764
+            <span class="icon newicon newicon-xiuxizhong"></span>
765
+            <div class="name">
766
+              休息中
767
+            </div>
768
+            <div class="code-name">.newicon-xiuxizhong
769
+            </div>
770
+          </li>
771
+          
772
+          <li class="dib">
773
+            <span class="icon newicon newicon-gongzuozhong"></span>
774
+            <div class="name">
775
+              工作中
776
+            </div>
777
+            <div class="code-name">.newicon-gongzuozhong
778
+            </div>
779
+          </li>
780
+          
781
+          <li class="dib">
752
             <span class="icon newicon newicon-miyue"></span>
782
             <span class="icon newicon newicon-miyue"></span>
753
             <div class="name">
783
             <div class="name">
754
               密钥
784
               密钥
@@ -1749,6 +1779,22 @@
1749
           
1779
           
1750
             <li class="dib">
1780
             <li class="dib">
1751
                 <svg class="icon svg-icon" aria-hidden="true">
1781
                 <svg class="icon svg-icon" aria-hidden="true">
1782
+                  <use xlink:href="#newicon-xiuxizhong"></use>
1783
+                </svg>
1784
+                <div class="name">休息中</div>
1785
+                <div class="code-name">#newicon-xiuxizhong</div>
1786
+            </li>
1787
+          
1788
+            <li class="dib">
1789
+                <svg class="icon svg-icon" aria-hidden="true">
1790
+                  <use xlink:href="#newicon-gongzuozhong"></use>
1791
+                </svg>
1792
+                <div class="name">工作中</div>
1793
+                <div class="code-name">#newicon-gongzuozhong</div>
1794
+            </li>
1795
+          
1796
+            <li class="dib">
1797
+                <svg class="icon svg-icon" aria-hidden="true">
1752
                   <use xlink:href="#newicon-miyue"></use>
1798
                   <use xlink:href="#newicon-miyue"></use>
1753
                 </svg>
1799
                 </svg>
1754
                 <div class="name">密钥</div>
1800
                 <div class="name">密钥</div>

+ 11 - 3
static/font/iconfont.css

@@ -1,8 +1,8 @@
1
 @font-face {
1
 @font-face {
2
   font-family: "newicon"; /* Project id 4304849 */
2
   font-family: "newicon"; /* Project id 4304849 */
3
-  src: url('~@/static/font/iconfont.woff2?t=1728893186075') format('woff2'),
4
-       url('~@/static/font/iconfont.woff?t=1728893186075') format('woff'),
5
-       url('~@/static/font/iconfont.ttf?t=1728893186075') format('truetype');
3
+  src: url('~@/static/font/iconfont.woff2?t=1744858396442') format('woff2'),
4
+       url('~@/static/font/iconfont.woff?t=1744858396442') format('woff'),
5
+       url('~@/static/font/iconfont.ttf?t=1744858396442') format('truetype');
6
 }
6
 }
7
 
7
 
8
 .newicon {
8
 .newicon {
@@ -13,6 +13,14 @@
13
   -moz-osx-font-smoothing: grayscale;
13
   -moz-osx-font-smoothing: grayscale;
14
 }
14
 }
15
 
15
 
16
+.newicon-xiuxizhong:before {
17
+  content: "\ea89";
18
+}
19
+
20
+.newicon-gongzuozhong:before {
21
+  content: "\e68d";
22
+}
23
+
16
 .newicon-miyue:before {
24
 .newicon-miyue:before {
17
   content: "\e653";
25
   content: "\e653";
18
 }
26
 }

File diff suppressed because it is too large
+ 1 - 1
static/font/iconfont.js


+ 14 - 0
static/font/iconfont.json

@@ -6,6 +6,20 @@
6
   "description": "",
6
   "description": "",
7
   "glyphs": [
7
   "glyphs": [
8
     {
8
     {
9
+      "icon_id": "8189388",
10
+      "name": "休息中",
11
+      "font_class": "xiuxizhong",
12
+      "unicode": "ea89",
13
+      "unicode_decimal": 60041
14
+    },
15
+    {
16
+      "icon_id": "10690611",
17
+      "name": "工作中",
18
+      "font_class": "gongzuozhong",
19
+      "unicode": "e68d",
20
+      "unicode_decimal": 59021
21
+    },
22
+    {
9
       "icon_id": "8655877",
23
       "icon_id": "8655877",
10
       "name": "密钥",
24
       "name": "密钥",
11
       "font_class": "miyue",
25
       "font_class": "miyue",

BIN
static/font/iconfont.ttf


BIN
static/font/iconfont.woff


BIN
static/font/iconfont.woff2