zhengchengwu 5 years ago
parent
commit
a897e81eae
3 changed files with 5 additions and 154 deletions
  1. 1 1
      config/prod.env.js
  2. BIN
      src/assets/login/logo.png
  3. 4 153
      src/pages/main/Print.vue

+ 1 - 1
config/prod.env.js View File

@@ -1,6 +1,6 @@
1 1
 'use strict'
2 2
 module.exports = {
3 3
   NODE_ENV: '"production"',
4
-  BASE_API: '"http://api.xt.kuyicloud.com"'
4
+  BASE_API: '"http://api.xt.test.sgjyun.com"'
5 5
   // '"http://api.xt.kuyicloud.com"', //'"http://api.xt.kuyicloud.com"','"http://api.xt.test.sgjyun.com"'
6 6
 }

BIN
src/assets/login/logo.png View File


+ 4 - 153
src/pages/main/Print.vue View File

@@ -643,7 +643,7 @@
643 643
                         <label for="PredialysisEvaluation_catheter_bend_6" class="radio-lebel-box">
644 644
                                                         <span class="radio-inner">
645 645
                                                             <span class="radio-fang"
646
-                                                                  :class="{'is-checked-radio':predialysis.catheter_bend == 2?true:false}"></span>
646
+                                                                  :class="{'is-checked-radio':predialysis.catheter_bend!=1?true:false}"></span>
647 647
                                                             <input vt-model="predialysis.catheter_bend"
648 648
                                                                    id="PredialysisEvaluation_catheter_bend_6"
649 649
                                                                    name="catheter_bend" type="radio" class="radio-no"
@@ -997,26 +997,14 @@
997 997
                              alt="" srcset="" v-else>
998 998
 
999 999
 
1000
-<<<<<<< .mine
1001
-                    <!--<span v-if="setAdminUserES(advices[0][0].advice_doctor) == ''">{{getAdminUser(advices[0][0].advice_doctor)}}</span>-->
1002
-                    <!--<img class="es-img" :src="setAdminUserES(advices[0][0].advice_doctor)"-->
1003
-                    <!--alt="" srcset="" v-else>-->
1004
-=======
1005 1000
                         <!--<span v-if="setAdminUserES(advices[0][0].advice_doctor) == ''">{{getAdminUser(advices[0][0].advice_doctor)}}</span>-->
1006 1001
                         <!--<img class="es-img" :src="setAdminUserES(advices[0][0].advice_doctor)"-->
1007 1002
                         <!--alt="" srcset="" v-else>-->
1008
->>>>>>> .theirs
1009 1003
 
1010 1004
 
1011
-<<<<<<< .mine
1012
-                    <!--<span v-if="setAdminUserES(advice[0].advice_doctor) == ''">{{getAdminUser(advice[0].advice_doctor)}}</span>-->
1013
-                    <!--<img class="es-img" :src="setAdminUserES(advice[0].advice_doctor)"-->
1014
-                    <!--alt="" srcset="" v-else>-->
1015
-=======
1016 1005
                         <!--<span v-if="setAdminUserES(advice[0].advice_doctor) == ''">{{getAdminUser(advice[0].advice_doctor)}}</span>-->
1017 1006
                         <!--<img class="es-img" :src="setAdminUserES(advice[0].advice_doctor)"-->
1018 1007
                         <!--alt="" srcset="" v-else>-->
1019
->>>>>>> .theirs
1020 1008
 
1021 1009
 
1022 1010
                         <!-- {{getXuserName(prescription.prescription_doctor)}} -->
@@ -1184,7 +1172,7 @@
1184 1172
                       <label for="afterdialysis_puncture_point_oozing_blood_2" class="radio-lebel-box">
1185 1173
                                                     <span class="radio-inner">
1186 1174
                                                         <span class="radio-fang"
1187
-                                                              :class="{'is-checked-radio':afterdialysis.puncture_point_oozing_blood == 2?true:false}"></span>
1175
+                                                              :class="{'is-checked-radio':afterdialysis.puncture_point_oozing_blood!=1?true:false}"></span>
1188 1176
                                                         <input vt-model="afterdialysis.puncture_point_oozing_blood"
1189 1177
                                                                id="afterdialysis_puncture_point_oozing_blood_2"
1190 1178
                                                                name="afterdialysis_puncture_point_oozing_blood"
@@ -1211,7 +1199,7 @@
1211 1199
                       <label for="afterdialysis_puncture_point_haematoma_2" class="radio-lebel-box">
1212 1200
                                                     <span class="radio-inner">
1213 1201
                                                         <span class="radio-fang"
1214
-                                                              :class="{'is-checked-radio':afterdialysis.puncture_point_haematoma == 2?true:false}"></span>
1202
+                                                              :class="{'is-checked-radio':afterdialysis.puncture_point_haematoma!=1?true:false}"></span>
1215 1203
                                                         <input vt-model="afterdialysis.puncture_point_haematoma"
1216 1204
                                                                id="afterdialysis_puncture_point_haematoma_2"
1217 1205
                                                                name="afterdialysis_puncture_point_haematoma"
@@ -1943,78 +1931,6 @@
1943 1931
             } else {
1944 1932
               this.patientInfo.first_dialysis_date = "";
1945 1933
             }
1946
-        }
1947
-      },
1948
-      getTime (value, temp) {
1949
-        if (value != undefined) {
1950
-          return uParseTime(value, temp)
1951
-        }
1952
-        return ''
1953
-      },
1954
-      getXuserName (id) {
1955
-        if (id <= 0) {
1956
-          return ''
1957
-        }
1958
-        var name = ''
1959
-        if (this.users == null || typeof this.users.length == 'undefined') {
1960
-          return name
1961
-        }
1962
-        var leng = this.users.length
1963
-        if (leng == 0) {
1964
-          return name
1965
-        }
1966
-        for (let index = 0; index < leng; index++) {
1967
-          if (this.users[index].id == id) {
1968
-            name = this.users[index].name
1969
-            break
1970
-          }
1971
-        }
1972
-        return name
1973
-      },
1974
-      setAdminUserES (id) {
1975
-        if (id == 0) {
1976
-          return ''
1977
-        }
1978
-        if (id in this.operatorMaps) {
1979
-          return this.operatorMaps[id].url
1980
-        }
1981
-        return ''
1982
-      },
1983
-      modeName (mode_id) {
1984
-        return typeof this.modeOptions[mode_id] != 'undefined' &&
1985
-        typeof this.modeOptions[mode_id].name != 'undefined'
1986
-          ? this.modeOptions[mode_id].name
1987
-          : ''
1988
-      },
1989
-      getNumber () {
1990
-        if (this.dialysisOrder != null) {
1991
-          return (
1992
-            this.patientInfo.DialysisSchedule.device_zone.name +
1993
-            this.dialysisOrder.DeviceNumber.number
1994
-          )
1995
-        } else {
1996
-          return this.patientInfo.DialysisSchedule.device_zone.name
1997
-        }
1998
-      },
1999
-      getDialysisRecord () {
2000
-        getPrintDialysisRecord(this.queryParams).then(response => {
2001
-          if (response.data.state == 1) {
2002
-            this.adminUser = response.data.data.users
2003
-            this.users = response.data.data.users
2004
-            this.patientInfo = response.data.data.patientInfo
2005
-            this.patientInfo.birth = uParseTime(
2006
-              this.patientInfo.birthday,
2007
-              '{y}-{m}-{d}'
2008
-            )
2009
-            this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
2010
-            if (response.data.data.patientInfo.first_dialysis_date != 0) {
2011
-              this.patientInfo.first_dialysis_date = uParseTime(
2012
-                response.data.data.patientInfo.first_dialysis_date,
2013
-                '{y}-{m}-{d}'
2014
-              )
2015
-            } else {
2016
-              this.patientInfo.first_dialysis_date = ''
2017
-            }
2018 1934
 
2019 1935
             this.predialysis = response.data.data.PredialysisEvaluation;
2020 1936
             this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
@@ -2178,10 +2094,6 @@
2178 2094
             for (var i = 0; i < halfLen; i++) {
2179 2095
               leftAdvice.push(advices[i]);
2180 2096
               rightAdvice.push(advices[i + halfLen]);
2181
-
2182
-
2183
-
2184
-
2185 2097
             }
2186 2098
 
2187 2099
             if (halfLen < 5) {
@@ -2201,20 +2113,12 @@
2201 2113
               item.push(leftAdvice[i]);
2202 2114
               item.push(rightAdvice[i]);
2203 2115
               this.advices.push(item);
2204
-
2205
-
2206 2116
             }
2207 2117
           } else {
2208 2118
             this.$message.error("请求数据失败");
2209 2119
             return false;
2210 2120
           }
2211 2121
 
2212
-
2213
-
2214
-
2215
-
2216
-
2217
-
2218 2122
           this.jumpPrint()
2219 2123
         });
2220 2124
       },
@@ -2272,10 +2176,6 @@
2272 2176
           this.patientInfo_gender_1 = false;
2273 2177
         }
2274 2178
       },
2275
-        })
2276
-        this.loading = false
2277
-        this.jumpPrint()
2278
-      },
2279 2179
 
2280 2180
       "patientInfo.source": function() {
2281 2181
         if (this.patientInfo.source == 1) {
@@ -2284,39 +2184,11 @@
2284 2184
         } else if (this.patientInfo.source == 2) {
2285 2185
           this.patientInfo_source_2 = true;
2286 2186
           this.patientInfo_source_1 = false;
2287
-
2288
-
2289
-
2290
-
2291
-
2292
-
2293
-
2294
-
2295
-
2296
-
2297
-
2298
-
2299
-
2300
-
2301
-
2302
-
2303 2187
         } else {
2304 2188
           this.patientInfo_source_2 = false;
2305 2189
           this.patientInfo_source_1 = false;
2306 2190
         }
2307 2191
       }
2308
-
2309
-
2310
-
2311
-
2312
-
2313
-
2314
-
2315
-
2316
-
2317
-
2318
-
2319
-
2320 2192
     },
2321 2193
     created() {
2322 2194
       var xtuser = this.$store.getters.user;
@@ -2371,8 +2243,6 @@
2371 2243
 
2372 2244
 
2373 2245
   };
2374
-
2375
-
2376 2246
 </script>
2377 2247
 
2378 2248
 <style style="stylesheet/scss" lang="scss" scoped>
@@ -2381,12 +2251,10 @@
2381 2251
   margin: 0 auto;
2382 2252
   .order-yy-name {
2383 2253
   margin:10px auto 0 auto;
2384
-
2385 2254
   text-align: center;
2386 2255
   font-size: 20px;
2387 2256
   }
2388 2257
   .order-title {
2389
-
2390 2258
   margin: auto;
2391 2259
   font-weight: 600;
2392 2260
   text-align: center;
@@ -2424,14 +2292,6 @@
2424 2292
   }
2425 2293
 
2426 2294
   .dialysis-print-order .radio-lebel-box {
2427
-
2428
-
2429
-
2430
-
2431
-
2432
-
2433
-
2434
-
2435 2295
   font-weight: 400;
2436 2296
   cursor: pointer;
2437 2297
   }
@@ -2595,19 +2455,10 @@
2595 2455
   .iconfont {
2596 2456
   margin-left: 0.1rem;
2597 2457
   }
2598
-<<<<<<< .mine
2599
-  }
2600
-  }
2601
-
2602
-
2603
-
2604
-
2605
-=======
2606 2458
   }
2607 2459
   }
2608 2460
 
2609 2461
   .mainContent {
2610 2462
   margin: 0 0 0 1.58rem;
2611 2463
   }
2612
->>>>>>> .theirs
2613
-</style>
2464
+</style>