Parcourir la source

Merge branch 'superman' of http://git.shengws.com/zhangbj/xt_vue into superman

csx il y a 4 ans
Parent
révision
f1d036ae11

BIN
src/assets/home/kuyi_wechat.jpg Voir le fichier


+ 1 - 1
src/xt_pages/upload/config/Province.vue Voir le fichier

@@ -6,7 +6,7 @@
6 6
           <!--<div>质控平台的上报对接,是为了解决手工录入的效率和易出错的问题,对接涉及各种技术,请勿随意配置,联系酷医云客服协助处理。</div>-->
7 7
           <div class="titleOne">
8 8
             质控平台的上报对接,是为了解决手工录入的效率和易出错的问题,对接涉及各种技术,请勿随意配置,联系酷医云客服协助处理。<br />&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;微信:kuyicloud
9
-            电话:18682074632
9
+            电话:18682078150
10 10
           </div>
11 11
         </el-col>
12 12
       </el-row>

+ 2 - 2
src/xt_pages/upload/fast/FastCity.vue Voir le fichier

@@ -7,9 +7,9 @@
7 7
       >
8 8
       <div style="text-align: center">
9 9
         <p>您选择的区域酷医云暂未对接,请联系酷医云客服,我们将免费为您实现对接</p>
10
-        <img style="width: 150px;height: 150px" src="../../../assets/home/wechat_qrcode.png"/>
10
+        <img style="width: 150px;height: 150px" src="../../../assets/home/kuyi_wechat.jpg"/>
11 11
         <p>服务热线</p>
12
-        <p style="font-size: 16px">18682074632</p>
12
+        <p style="font-size: 16px">18682078150</p>
13 13
       </div>
14 14
 
15 15
       <span slot="footer" class="dialog-footer">

+ 1 - 1
src/xt_pages/upload/fast/FastProvince.vue Voir le fichier

@@ -9,7 +9,7 @@
9 9
         <p>您选择的区域酷医云暂未对接,请联系酷医云客服,我们将免费为您实现对接</p>
10 10
         <img style="width: 150px;height: 150px" src="../../../assets/home/kuyi_wechat.jpg"/>
11 11
         <p>服务热线</p>
12
-        <p style="font-size: 16px">18682074632</p>
12
+        <p style="font-size: 16px">18682078150</p>
13 13
       </div>
14 14
 
15 15
 

Fichier diff supprimé car celui-ci est trop grand
+ 756 - 478
src/xt_pages/upload/fast/One.vue


+ 72 - 8
src/xt_pages/upload/fast/Two.vue Voir le fichier

@@ -603,13 +603,13 @@
603 603
         radio:'',
604 604
 
605 605
 
606
-        xcg_date:'',
607
-        gkwz_date:'',
608
-        tdx_date:'',
609
-        shjc_date:'',
610
-        yyyyz_date:'',
611
-        crbxzb_date:'',
612
-        jh_date:'',
606
+        xcg_date:[],
607
+        gkwz_date:[],
608
+        tdx_date:[],
609
+        shjc_date:[],
610
+        yyyyz_date:[],
611
+        crbxzb_date:[],
612
+        jh_date:[],
613 613
 
614 614
 
615 615
 
@@ -690,6 +690,16 @@
690 690
       }
691 691
     },
692 692
     created() {
693
+      var start_time = new Date(this.getQuarterStartDate().replace(/-/g, '/')).getTime()
694
+      var end_time = new Date(this.getQuarterEndDate().replace(/-/g, '/')).getTime()
695
+      this.xcg_date.push(start_time,end_time)
696
+      this.gkwz_date.push(start_time,end_time)
697
+      this.tdx_date.push(start_time,end_time)
698
+      this.shjc_date.push(start_time,end_time)
699
+      this.yyyyz_date.push(start_time,end_time)
700
+      this.crbxzb_date.push(start_time,end_time)
701
+      this.jh_date.push(start_time,end_time)
702
+
693 703
     },
694 704
     methods: {
695 705
       GetInitInspections(){
@@ -716,6 +726,7 @@
716 726
         return uParseTime(val, '{y}年{m}月{d}日')
717 727
       }, GetUploadInspections(id,start_time,end_time,type,project) {
718 728
         this.patient_id = id
729
+
719 730
         let params = {
720 731
           patient: id,
721 732
           project_id: project,
@@ -967,6 +978,59 @@
967 978
 
968 979
 
969 980
 
981
+      }, getQuarterStartDate: function() {
982
+        var now = new Date() //当前日期
983
+        var nowYear = now.getFullYear() //当前年
984
+        nowYear += (nowYear < 2000) ? 1900 : 0
985
+
986
+        var quarterStartDate = new Date(nowYear, this.getQuarterStartMonth(), 1)
987
+        return this.formatDate(quarterStartDate)
988
+      }, getQuarterEndDate: function() {
989
+        var now = new Date() //当前日期
990
+        var nowYear = now.getFullYear() //当前年
991
+        nowYear += (nowYear < 2000) ? 1900 : 0
992
+        var quarterEndMonth = this.getQuarterStartMonth() + 2
993
+        var quarterStartDate = new Date(nowYear, quarterEndMonth, this.getMonthDays(quarterEndMonth))
994
+        return this.formatDate(quarterStartDate)
995
+      }, formatDate: function(date) {
996
+        var myyear = date.getFullYear()
997
+        var mymonth = date.getMonth() + 1
998
+        var myweekday = date.getDate()
999
+
1000
+        if (mymonth < 10) {
1001
+          mymonth = '0' + mymonth
1002
+        }
1003
+        if (myweekday < 10) {
1004
+          myweekday = '0' + myweekday
1005
+        }
1006
+        return (myyear + '-' + mymonth + '-' + myweekday)
1007
+      }, getQuarterStartMonth: function() {
1008
+        var now = new Date() //当前日期
1009
+        var nowMonth = now.getMonth() //当前月
1010
+
1011
+        var quarterStartMonth = 0
1012
+        if (nowMonth < 3) {
1013
+          quarterStartMonth = 0
1014
+        }
1015
+        if (2 < nowMonth && nowMonth < 6) {
1016
+          quarterStartMonth = 3
1017
+        }
1018
+        if (5 < nowMonth && nowMonth < 9) {
1019
+          quarterStartMonth = 6
1020
+        }
1021
+        if (nowMonth > 8) {
1022
+          quarterStartMonth = 9
1023
+        }
1024
+        return quarterStartMonth
1025
+      },  //获得某月的天数
1026
+      getMonthDays(myMonth) {
1027
+        var now = new Date() //当前日期
1028
+        var nowYear = now.getYear() //当前年
1029
+        nowYear += (nowYear < 2000) ? 1900 : 0
1030
+        var monthStartDate = new Date(nowYear, myMonth, 1)
1031
+        var monthEndDate = new Date(nowYear, myMonth + 1, 1)
1032
+        var days = (monthEndDate - monthStartDate) / (1000 * 60 * 60 * 24)
1033
+        return days
970 1034
       }
971 1035
 
972 1036
     }
@@ -1153,7 +1217,7 @@
1153 1217
     }
1154 1218
     .copy {
1155 1219
       float: left;
1156
-      margin-left: 20px;
1220
+      margin-left: 20px !important;
1157 1221
       margin-top: 6px;
1158 1222
     }
1159 1223
     .copy1 {

Fichier diff supprimé car celui-ci est trop grand
+ 1132 - 953
src/xt_pages/user/components/PatientForm.vue