Sfoglia il codice sorgente

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

XMLWAN 4 anni fa
parent
commit
cc6a6fccfc

+ 2 - 2
config/index.js Vedi File

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

BIN
src/store/.DS_Store Vedi File


BIN
src/xt_pages/.DS_Store Vedi File


BIN
src/xt_pages/dialysis/.DS_Store Vedi File


+ 22 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_thirtyTwo.vue Vedi File

874
                     <td width="150"></td>
874
                     <td width="150"></td>
875
                     <td width="30">医生</td>
875
                     <td width="30">医生</td>
876
                     <td width="80">
876
                     <td width="80">
877
-                        <div class="under-line">
877
+                      <div class="under-line">
878
                         &nbsp;
878
                         &nbsp;
879
                         <span v-if="setAdminUserES(record.prescription, 'creater') == ''">{{getAdminUser(record.prescription, 'creater')}}</span>
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
                     </td>
882
                     </td>
883
                     <td width="50">穿刺护士</td>
883
                     <td width="50">穿刺护士</td>
884
                     <td width="80">
884
                     <td width="80">
1220
       })
1220
       })
1221
   },
1221
   },
1222
   methods: {
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
     dialysateFormulationName(id) {
1242
     dialysateFormulationName(id) {
1224
       if (id in this.dialysateFormulationOptions) {
1243
       if (id in this.dialysateFormulationOptions) {
1225
         return this.dialysateFormulationOptions[id].name
1244
         return this.dialysateFormulationOptions[id].name

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyTwo.vue Vedi File

946
           <td width="80">
946
           <td width="80">
947
             <div class="under-line">
947
             <div class="under-line">
948
               &nbsp;
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
               <img style="height:30px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else  />
950
               <img style="height:30px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else  />
951
             </div>
951
             </div>
952
           </td>
952
           </td>

+ 20 - 17
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Vedi File

29
           </el-radio-group>
29
           </el-radio-group>
30
         </div>
30
         </div>
31
         <div class="mainCell" style="margin-bottom:10px;">
31
         <div class="mainCell" style="margin-bottom:10px;">
32
-          <!--<el-input size="small" v-model="key" class="filter-item"/>-->
33
           <el-input size="small" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
32
           <el-input size="small" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
34
           <el-button size="small" style="margin-left:10px;" class="filter-item" type="primary" @click="searchAction">
33
           <el-button size="small" style="margin-left:10px;" class="filter-item" type="primary" @click="searchAction">
35
             搜索
34
             搜索
80
           </el-button>
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
           <el-button size="small" @click="open(5)" type="primary"
87
           <el-button size="small" @click="open(5)" type="primary"
89
                      v-if="this.hisPatientInfo.id > 0 && this.order.id > 0 &&  this.order.order_status == 2">退费
88
                      v-if="this.hisPatientInfo.id > 0 && this.order.id > 0 &&  this.order.order_status == 2">退费
90
           </el-button>
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
           <!--<el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(7)" type="primary"-->
96
           <!--<el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(7)" type="primary"-->
105
           >结算单
105
           >结算单
106
           </el-button>
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
           <!--<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"-->
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
         form['id'] = this.patientInfo.id
553
         form['id'] = this.patientInfo.id
554
         form['record_time'] = this.record_date
554
         form['record_time'] = this.record_date
555
         form['admin_user_id'] = this.$store.getters.xt_user.user.id
555
         form['admin_user_id'] = this.$store.getters.xt_user.user.id
556
+        form['order_id'] = this.order.id
557
+
556
 
558
 
557
         if (this.activeName == 'first') {
559
         if (this.activeName == 'first') {
558
           form['settle_accounts_type'] = 1
560
           form['settle_accounts_type'] = 1
1582
           this.loadingtwo = true
1584
           this.loadingtwo = true
1583
           if (this.$store.getters.xt_user.org_id == 9919) {
1585
           if (this.$store.getters.xt_user.org_id == 9919) {
1584
             var that = this
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
               params: form
1588
               params: form
1587
             })
1589
             })
1588
               .then(function(response) {
1590
               .then(function(response) {
1594
                 } else {
1596
                 } else {
1595
                   that.loadingtwo = false
1597
                   that.loadingtwo = false
1596
                   that.state = '预结算'
1598
                   that.state = '预结算'
1599
+
1597
                   that.$message({ message: '预结算成功', type: 'success' })
1600
                   that.$message({ message: '预结算成功', type: 'success' })
1598
                 }
1601
                 }
1599
               })
1602
               })

BIN
src/xt_pages/outpatientDoctorStation/.DS_Store Vedi File


BIN
src/xt_pages/stock/.DS_Store Vedi File