Przeglądaj źródła

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN 4 lat temu
rodzic
commit
cc6a6fccfc

+ 2 - 2
config/index.js Wyświetl plik

@@ -29,8 +29,8 @@ module.exports = {
29 29
 
30 30
      // host: 'xt.test.sgjyun.com',
31 31
     //  host: 'xt.kuyicloud.com',
32
-    host: 'xt.test.sgjyun.com',
33
-    // host: 'localhost',
32
+    // host: 'xt.test.sgjyun.com',
33
+    host: 'localhost',
34 34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
35 35
     autoOpenBrowser: true,
36 36
     errorOverlay: true,

BIN
src/store/.DS_Store Wyświetl plik


BIN
src/xt_pages/.DS_Store Wyświetl plik


BIN
src/xt_pages/dialysis/.DS_Store Wyświetl plik


+ 22 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_thirtyTwo.vue Wyświetl plik

@@ -874,11 +874,11 @@
874 874
                     <td width="150"></td>
875 875
                     <td width="30">医生</td>
876 876
                     <td width="80">
877
-                        <div class="under-line">
877
+                      <div class="under-line">
878 878
                         &nbsp;
879 879
                         <span v-if="setAdminUserES(record.prescription, 'creater') == ''">{{getAdminUser(record.prescription, 'creater')}}</span>
880
-                        <img class="es-img" :src="setAdminUserES(record.prescription, 'creater')" alt="" srcset="" v-else style="height: 30px;">
881
-                        </div>
880
+                        <img class="es-img" v-else style="height:30px;" :src="setAdminUserES(record.prescription, 'creater')" />
881
+                      </div>
882 882
                     </td>
883 883
                     <td width="50">穿刺护士</td>
884 884
                     <td width="80">
@@ -1220,6 +1220,25 @@ export default {
1220 1220
       })
1221 1221
   },
1222 1222
   methods: {
1223
+    getComplication(complication){
1224
+      if(complication.indexOf(',') == -1){
1225
+        let str = complication
1226
+        if(['无','头晕','头痛','呕吐','低血压','发热','抽搐','高血压','心律失常'].indexOf(str) == -1){
1227
+          return str
1228
+        }
1229
+      }else if(complication.indexOf(',') > -1){
1230
+        let str = complication
1231
+        if(['无','头晕','头痛','呕吐','低血压','发热','抽搐','高血压','心律失常'].indexOf(str) == -1){
1232
+          let newStr = ''
1233
+          str.split(',').map(item => {
1234
+            if(['无','头晕','头痛','呕吐','低血压','发热','抽搐','高血压','心律失常'].indexOf(item) == -1){
1235
+              newStr += item + ','
1236
+            }
1237
+          })
1238
+          return newStr.substring(0, newStr.length - 1)
1239
+        }
1240
+      }
1241
+    },
1223 1242
     dialysateFormulationName(id) {
1224 1243
       if (id in this.dialysateFormulationOptions) {
1225 1244
         return this.dialysateFormulationOptions[id].name

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyTwo.vue Wyświetl plik

@@ -946,7 +946,7 @@
946 946
           <td width="80">
947 947
             <div class="under-line">
948 948
               &nbsp;
949
-              <span v-if=" setAdminUserES(prescription.creater) == '' " >{{ getAdminUser(prescription.creater)}}</span >
949
+              <span v-if=" setAdminUserES(prescription.creater) == '' " >{{ getAdminUser(prescription.creater)}}</span>
950 950
               <img style="height:30px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else  />
951 951
             </div>
952 952
           </td>

+ 20 - 17
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Wyświetl plik

@@ -29,7 +29,6 @@
29 29
           </el-radio-group>
30 30
         </div>
31 31
         <div class="mainCell" style="margin-bottom:10px;">
32
-          <!--<el-input size="small" v-model="key" class="filter-item"/>-->
33 32
           <el-input size="small" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
34 33
           <el-button size="small" style="margin-left:10px;" class="filter-item" type="primary" @click="searchAction">
35 34
             搜索
@@ -80,17 +79,18 @@
80 79
           </el-button>
81 80
 
82 81
 
83
-          <!--<el-button v-loading="loadingtwo" v-if="this.hisPatientInfo.id > 0 && this.order.id == 0" size="small"-->
84
-                     <!--@click="open(4)"-->
85
-                     <!--type="primary">收费-->
86
-          <!--</el-button>-->
82
+          <el-button v-loading="loadingtwo" v-if="this.hisPatientInfo.id > 0 && this.order.id == 0" size="small"
83
+                     @click="open(4)"
84
+                     type="primary">收费
85
+          </el-button>
87 86
 
88 87
           <el-button size="small" @click="open(5)" type="primary"
89 88
                      v-if="this.hisPatientInfo.id > 0 && this.order.id > 0 &&  this.order.order_status == 2">退费
90 89
           </el-button>
91
-          <!-- <el-button size="small" @click="open(5)" type="primary"
92
-                    >退费
93
-          </el-button> -->
90
+
91
+          <!--<el-button size="small" @click="open(5)" type="primary"-->
92
+                    <!--&gt;退费-->
93
+          <!--</el-button>-->
94 94
 
95 95
 
96 96
           <!--<el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(7)" type="primary"-->
@@ -105,15 +105,15 @@
105 105
           >结算单
106 106
           </el-button>
107 107
 
108
-          <!--<el-button v-if="this.$store.getters.xt_user.org_id == 9919"-->
109
-          <!--size="small" @click="open(10)" type="primary"-->
110
-          <!--&gt;退号-->
111
-          <!--</el-button>-->
108
+          <el-button v-if="this.$store.getters.xt_user.org_id == 9919"
109
+          size="small" @click="open(10)" type="primary"
110
+          >退号
111
+          </el-button>
112 112
 
113
-          <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919"-->
114
-          <!--size="small" @click="open(11)" type="primary"-->
115
-          <!--&gt;撤销明细-->
116
-          <!--</el-button>-->
113
+          <el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919"
114
+          size="small" @click="open(11)" type="primary"
115
+          >撤销明细
116
+          </el-button>
117 117
 
118 118
 
119 119
           <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(12)" type="primary"-->
@@ -553,6 +553,8 @@
553 553
         form['id'] = this.patientInfo.id
554 554
         form['record_time'] = this.record_date
555 555
         form['admin_user_id'] = this.$store.getters.xt_user.user.id
556
+        form['order_id'] = this.order.id
557
+
556 558
 
557 559
         if (this.activeName == 'first') {
558 560
           form['settle_accounts_type'] = 1
@@ -1582,7 +1584,7 @@
1582 1584
           this.loadingtwo = true
1583 1585
           if (this.$store.getters.xt_user.org_id == 9919) {
1584 1586
             var that = this
1585
-            axios.get('http://127.0.0.1:9532/api/upload/get', {
1587
+            axios.get('http://127.0.0.1:9532/api/pre_upload/get', {
1586 1588
               params: form
1587 1589
             })
1588 1590
               .then(function(response) {
@@ -1594,6 +1596,7 @@
1594 1596
                 } else {
1595 1597
                   that.loadingtwo = false
1596 1598
                   that.state = '预结算'
1599
+
1597 1600
                   that.$message({ message: '预结算成功', type: 'success' })
1598 1601
                 }
1599 1602
               })

BIN
src/xt_pages/outpatientDoctorStation/.DS_Store Wyświetl plik


BIN
src/xt_pages/stock/.DS_Store Wyświetl plik