Преглед на файлове

Merge branch 'update' of http://git.shengws.com/zhangbj/xt_pad into update

柳香萍 преди 5 години
родител
ревизия
76c98fb6ed
променени са 3 файла, в които са добавени 36 реда и са изтрити 83 реда
  1. 1 1
      config/prod.env.js
  2. BIN
      src/assets/login/logo.png
  3. 35 82
      src/pages/main/Print.vue

+ 1 - 1
config/prod.env.js Целия файл

@@ -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 Целия файл


+ 35 - 82
src/pages/main/Print.vue Целия файл

@@ -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"
@@ -1172,7 +1172,7 @@
1172 1172
                       <label for="afterdialysis_puncture_point_oozing_blood_2" class="radio-lebel-box">
1173 1173
                                                     <span class="radio-inner">
1174 1174
                                                         <span class="radio-fang"
1175
-                                                              :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>
1176 1176
                                                         <input vt-model="afterdialysis.puncture_point_oozing_blood"
1177 1177
                                                                id="afterdialysis_puncture_point_oozing_blood_2"
1178 1178
                                                                name="afterdialysis_puncture_point_oozing_blood"
@@ -1199,7 +1199,7 @@
1199 1199
                       <label for="afterdialysis_puncture_point_haematoma_2" class="radio-lebel-box">
1200 1200
                                                     <span class="radio-inner">
1201 1201
                                                         <span class="radio-fang"
1202
-                                                              :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>
1203 1203
                                                         <input vt-model="afterdialysis.puncture_point_haematoma"
1204 1204
                                                                id="afterdialysis_puncture_point_haematoma_2"
1205 1205
                                                                name="afterdialysis_puncture_point_haematoma"
@@ -1931,78 +1931,6 @@
1931 1931
             } else {
1932 1932
               this.patientInfo.first_dialysis_date = "";
1933 1933
             }
1934
-        }
1935
-      },
1936
-      getTime (value, temp) {
1937
-        if (value != undefined) {
1938
-          return uParseTime(value, temp)
1939
-        }
1940
-        return ''
1941
-      },
1942
-      getXuserName (id) {
1943
-        if (id <= 0) {
1944
-          return ''
1945
-        }
1946
-        var name = ''
1947
-        if (this.users == null || typeof this.users.length == 'undefined') {
1948
-          return name
1949
-        }
1950
-        var leng = this.users.length
1951
-        if (leng == 0) {
1952
-          return name
1953
-        }
1954
-        for (let index = 0; index < leng; index++) {
1955
-          if (this.users[index].id == id) {
1956
-            name = this.users[index].name
1957
-            break
1958
-          }
1959
-        }
1960
-        return name
1961
-      },
1962
-      setAdminUserES (id) {
1963
-        if (id == 0) {
1964
-          return ''
1965
-        }
1966
-        if (id in this.operatorMaps) {
1967
-          return this.operatorMaps[id].url
1968
-        }
1969
-        return ''
1970
-      },
1971
-      modeName (mode_id) {
1972
-        return typeof this.modeOptions[mode_id] != 'undefined' &&
1973
-        typeof this.modeOptions[mode_id].name != 'undefined'
1974
-          ? this.modeOptions[mode_id].name
1975
-          : ''
1976
-      },
1977
-      getNumber () {
1978
-        if (this.dialysisOrder != null) {
1979
-          return (
1980
-            this.patientInfo.DialysisSchedule.device_zone.name +
1981
-            this.dialysisOrder.DeviceNumber.number
1982
-          )
1983
-        } else {
1984
-          return this.patientInfo.DialysisSchedule.device_zone.name
1985
-        }
1986
-      },
1987
-      getDialysisRecord () {
1988
-        getPrintDialysisRecord(this.queryParams).then(response => {
1989
-          if (response.data.state == 1) {
1990
-            this.adminUser = response.data.data.users
1991
-            this.users = response.data.data.users
1992
-            this.patientInfo = response.data.data.patientInfo
1993
-            this.patientInfo.birth = uParseTime(
1994
-              this.patientInfo.birthday,
1995
-              '{y}-{m}-{d}'
1996
-            )
1997
-            this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
1998
-            if (response.data.data.patientInfo.first_dialysis_date != 0) {
1999
-              this.patientInfo.first_dialysis_date = uParseTime(
2000
-                response.data.data.patientInfo.first_dialysis_date,
2001
-                '{y}-{m}-{d}'
2002
-              )
2003
-            } else {
2004
-              this.patientInfo.first_dialysis_date = ''
2005
-            }
2006 1934
 
2007 1935
             this.predialysis = response.data.data.PredialysisEvaluation;
2008 1936
             this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
@@ -2190,6 +2118,11 @@
2190 2118
             this.$message.error("请求数据失败");
2191 2119
             return false;
2192 2120
           }
2121
+<<<<<<< .mine
2122
+
2123
+=======
2124
+
2125
+>>>>>>> .theirs
2193 2126
           this.jumpPrint()
2194 2127
         });
2195 2128
       },
@@ -2246,10 +2179,6 @@
2246 2179
           this.patientInfo_gender_2 = false;
2247 2180
           this.patientInfo_gender_1 = false;
2248 2181
         }
2249
-      },
2250
-        })
2251
-        this.loading = false
2252
-        this.jumpPrint()
2253 2182
       },
2254 2183
       "patientInfo.source": function() {
2255 2184
         if (this.patientInfo.source == 1) {
@@ -2315,8 +2244,6 @@
2315 2244
       SideBar
2316 2245
     }
2317 2246
   };
2318
-
2319
-
2320 2247
 </script>
2321 2248
 
2322 2249
 <style style="stylesheet/scss" lang="scss" scoped>
@@ -2325,16 +2252,23 @@
2325 2252
   margin: 0 auto;
2326 2253
   .order-yy-name {
2327 2254
     margin: 10px auto 0 auto;
2328
-
2329 2255
     text-align: center;
2330 2256
     font-size: 20px;
2331 2257
   }
2332 2258
   .order-title {
2259
+<<<<<<< .mine
2333 2260
     margin: auto;
2334 2261
     font-weight: 600;
2335 2262
     text-align: center;
2336 2263
     font-size: 22px;
2337 2264
     padding: 10px 20px 20px 20px;
2265
+=======
2266
+  margin: auto;
2267
+  font-weight: 600;
2268
+  text-align: center;
2269
+  font-size: 22px;
2270
+  padding: 10px 20px 20px 20px;
2271
+>>>>>>> .theirs
2338 2272
   }
2339 2273
   .table-box {
2340 2274
     width: 100%;
@@ -2366,7 +2300,11 @@
2366 2300
   }
2367 2301
 }
2368 2302
 
2303
+<<<<<<< .mine
2369 2304
 .dialysis-print-order .radio-lebel-box {
2305
+=======
2306
+  .dialysis-print-order .radio-lebel-box {
2307
+>>>>>>> .theirs
2370 2308
   font-weight: 400;
2371 2309
   cursor: pointer;
2372 2310
 }
@@ -2531,9 +2469,24 @@ body {
2531 2469
       margin-left: 0.1rem;
2532 2470
     }
2533 2471
   }
2472
+<<<<<<< .mine
2534 2473
 }
2535 2474
 
2475
+=======
2476
+  }
2477
+  }
2478
+>>>>>>> .theirs
2479
+
2480
+<<<<<<< .mine
2536 2481
 .mainContent {
2482
+=======
2483
+  .mainContent {
2484
+>>>>>>> .theirs
2537 2485
   margin: 0 0 0 1.58rem;
2486
+<<<<<<< .mine
2538 2487
 }
2539 2488
 </style>
2489
+=======
2490
+  }
2491
+</style>
2492
+>>>>>>> .theirs