csx vor 4 Jahren
Ursprung
Commit
c71533a8bb

+ 1 - 1
build/cdn.json Datei anzeigen

@@ -1,3 +1,3 @@
1 1
 {
2
-  "version": "1.1.2"
2
+  "version": "1.1.52"
3 3
 }

+ 9 - 4
src/pages/home/login.vue Datei anzeigen

@@ -1,5 +1,6 @@
1 1
 <template>
2 2
   <div class="container">
3
+
3 4
     <div class="newLogin">
4 5
       <div class="login">
5 6
         <div class="logo">
@@ -53,12 +54,16 @@
53 54
               <!--&lt;!&ndash; </router-link> &ndash;&gt;-->
54 55
             <!--</el-checkbox>-->
55 56
             <!--&lt;!&ndash; <router-link to="/privacyPolicy"> &ndash;&gt;-->
56
-            <!--<span class="agreeText" @click="agree">《隐私服务协议》</span>-->
57 57
             <!--&lt;!&ndash; </router-link> &ndash;&gt;-->
58 58
           <!--</div>-->
59
+          <router-link to="/privacy">
60
+            <span class="agreeText">《隐私服务协议》</span>
61
+          </router-link>
62
+
59 63
         </div>
60 64
       </div>
61 65
     </div>
66
+
62 67
   </div>
63 68
 </template>
64 69
 
@@ -216,9 +221,9 @@ export default {
216 221
     clearCookie: function() {
217 222
       this.setCookie("", "", -1); //修改2值都为空,天数为负1天就好了
218 223
     },
219
-    agree() {
220
-      this.$router.push({ path: "/privacyPolicy" });
221
-    }
224
+    // agree() {
225
+    //   this.$router.push({ path: "/privacy" });
226
+    // }
222 227
   }
223 228
 };
224 229
 </script>

+ 0 - 6
src/pages/main/add_urgent_schedule.vue Datei anzeigen

@@ -239,7 +239,6 @@
239 239
 
240 240
       var today = new Date();
241 241
       this.date = parseTime(today, "{y}-{m}-{d}");
242
-
243 242
       var hour = today.getHours();
244 243
       if (hour > 3 && hour < 11) {
245 244
         this.schedule_type = 1;
@@ -248,11 +247,6 @@
248 247
       } else {
249 248
         this.schedule_type = 3;
250 249
       }
251
-
252
-
253
-
254
-
255
-
256 250
     },
257 251
     mounted() {
258 252
 

+ 17 - 15
src/pages/main/dialog/ComputerDialog.vue Datei anzeigen

@@ -137,31 +137,33 @@
137 137
     }, mounted () {
138 138
 
139 139
       if (this.record.id == 0) {
140
+        let now = new Date()
141
+        let hour = now.getHours()
142
+
143
+        if (hour >= 6 && hour < 12){
144
+          this.schedual_type = 1
145
+
146
+        }else if(hour >= 12 && hour < 18){
147
+
148
+          this.schedual_type = 2
149
+
150
+
151
+        }else if(hour >= 18){
152
+          this.schedual_type = 3
153
+        }
140 154
         this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
141 155
       } else {
142 156
         if (this.record.start_time == 0) {
143 157
           this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
144
-
158
+          this.schedual_type = this.record.schedual_type
145 159
         } else {
146 160
           this.start_time_str = parseTime(this.record.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
161
+          this.schedual_type = this.record.schedual_type
162
+
147 163
         }
148 164
       }
149 165
     },
150 166
     created () {
151
-      let now = new Date()
152
-      let hour = now.getHours()
153
-
154
-      if (hour >= 6 && hour < 12){
155
-        this.schedual_type = 1
156
-
157
-      }else if(hour >= 12 && hour < 18){
158
-
159
-        this.schedual_type = 2
160
-
161
-
162
-      }else if(hour >= 18){
163
-        this.schedual_type = 3
164
-      }
165 167
 
166 168
 
167 169
       this.GetSchedualNumber()

+ 23 - 25
src/pages/main/dialog/TreatmentDialog.vue Datei anzeigen

@@ -241,42 +241,40 @@ export default {
241 241
     },
242 242
 
243 243
     dialysisSummarySelectChange: function(values) {
244
-      if (this.dialysisSummary.summaryContent == null) {
245
-        this.dialysisSummary.summaryContent == "";
244
+      if(this.dialysisSummary.summaryContent == null){
245
+        this.dialysisSummary.summaryContent == ""
246 246
       }
247
+
247 248
       if (this.dialysisSummary.summaryContent == "") {
248 249
         this.dialysisSummary.summaryContent = values;
249 250
       } else {
250
-        this.dialysisSummary.summaryContent =
251
-          this.dialysisSummary.summaryContent + values;
251
+        if (this.dialysisSummary.summaryContent.indexOf(values) == -1) {
252
+          if (this.dialysisSummary.summaryContent.charAt(this.dialysisSummary.summaryContent.length - 1).indexOf("。") == -1) {
253
+            this.dialysisSummary.summaryContent =
254
+              this.dialysisSummary.summaryContent + "," + values;
255
+          } else {
256
+            this.dialysisSummary.summaryContent =
257
+              this.dialysisSummary.summaryContent  + values;
258
+          }
259
+        }
252 260
       }
253 261
     },
254 262
     dialysisAfterTeachSelectChange: function(values) {
255
-      if (this.dialysisSummary.propagandaAndEducationContent == null) {
256
-        this.dialysisSummary.propagandaAndEducationContent == "";
263
+      if(this.dialysisSummary.propagandaAndEducationContent == null){
264
+        this.dialysisSummary.propagandaAndEducationContent == ""
257 265
       }
258 266
       if (this.dialysisSummary.propagandaAndEducationContent == "") {
259 267
         this.dialysisSummary.propagandaAndEducationContent = values;
260 268
       } else {
261
-        this.dialysisSummary.propagandaAndEducationContent =
262
-          this.dialysisSummary.propagandaAndEducationContent + values;
263
-        // if (
264
-        //   this.dialysisSummary.propagandaAndEducationContent.indexOf(values) ==
265
-        //   -1
266
-        // ) {
267
-        //   if (
268
-        //     this.dialysisSummary.propagandaAndEducationContent
269
-        //       .charAt(
270
-        //         this.dialysisSummary.propagandaAndEducationContent.length - 1
271
-        //       )
272
-        //       .indexOf("。") == -1
273
-        //   ) {
274
-        //     this.dialysisSummary.propagandaAndEducationContent =
275
-        //       this.dialysisSummary.propagandaAndEducationContent + "," + values;
276
-        //   } else {
277
-        //
278
-        //   }
279
-        // }
269
+        if (this.dialysisSummary.propagandaAndEducationContent.indexOf(values) == -1) {
270
+          if (this.dialysisSummary.propagandaAndEducationContent.charAt(this.dialysisSummary.propagandaAndEducationContent.length - 1).indexOf("。") == -1) {
271
+            this.dialysisSummary.propagandaAndEducationContent =
272
+              this.dialysisSummary.propagandaAndEducationContent + "," + values;
273
+          } else {
274
+            this.dialysisSummary.propagandaAndEducationContent =
275
+              this.dialysisSummary.propagandaAndEducationContent + values;
276
+          }
277
+        }
280 278
       }
281 279
     },
282 280
     commitInfo: function() {

+ 1 - 1
src/pages/privacy/index.vue Datei anzeigen

@@ -36,7 +36,7 @@
36 36
 
37 37
 <script>
38 38
     export default {
39
-        name: "privacyPolicy"
39
+        name: "privacy"
40 40
 
41 41
     }
42 42
 </script>

+ 1 - 1
src/router/index.js Datei anzeigen

@@ -77,7 +77,7 @@ export default new Router({
77 77
     },
78 78
     {
79 79
       path: "/privacy",
80
-      name: "privacyPolicy",
80
+      name: "privacy",
81 81
       component: () => import("@/pages/privacy/index")
82 82
     }
83 83
   ]