Pārlūkot izejas kodu

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

csx 4 gadus atpakaļ
vecāks
revīzija
42e8b0b472

+ 15 - 0
src/store/modules/globalConfig.js Parādīt failu

@@ -617,6 +617,21 @@ const global_config = {
617 617
         zongliang_unit: 'iu',
618 618
         gaimingcheng_unit: '',
619 619
         gaijiliang_unit: ''
620
+      },
621
+      9: {
622
+        id: 9,
623
+        name: '达肝素',
624
+        type: 1,
625
+        shouji: 1,
626
+        weichi: 1,
627
+        zongliang: 1,
628
+        gaimingcheng: -1,
629
+        gaijiliang: -1,
630
+        shouji_unit: 'iu',
631
+        weichi_unit: 'iu/h',
632
+        zongliang_unit: 'iu',
633
+        gaimingcheng_unit: '',
634
+        gaijiliang_unit: ''
620 635
       }
621 636
     },
622 637
     anticoagulants_set: {

+ 1 - 0
src/xt_pages/dialysis/bloodPresssWatch.vue Parādīt failu

@@ -231,6 +231,7 @@
231 231
           v-model="patient_search_keyword"
232 232
           style="width: 250px;"
233 233
           placeholder="病人名字、透析号"
234
+          @keyup.enter.native='searchPatientAction'
234 235
         >
235 236
           <el-button
236 237
             slot="append"

+ 6 - 0
src/xt_pages/dialysis/details/DialysisPrescription.vue Parādīt failu

@@ -52,6 +52,8 @@
52 52
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5">{{ anticoagulant_zongliang != "0" ? "ml" : "" }}</span>
53 53
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
54 54
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
55
+          <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
56
+          <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
55 57
         </li>
56 58
 
57 59
         <li v-if="isShow('透析器/灌流器')">
@@ -116,6 +118,8 @@
116 118
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
117 119
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span >
118 120
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
121
+          <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
122
+          <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
119 123
         </li>
120 124
 
121 125
         <li v-if="isShow('钙')">
@@ -204,6 +208,8 @@
204 208
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5">{{ anticoagulant_weichi != "0" ? "ml/h" : "" }}</span>
205 209
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
206 210
           <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
211
+          <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
212
+          <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
207 213
         </li>
208 214
 
209 215
         <li

+ 6 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyOne.vue Parādīt failu

@@ -573,13 +573,15 @@
573 573
                     <td width="40">mg</td>
574 574
 
575 575
 
576
-                    <td width='80'>
577
-                      <label-box :isChecked="prescription.anticoagulant == 6 ? true : prescription.anticoagulant == 7 ? true : false" showValue="低分子"></label-box>
576
+                    <td width='300'>
577
+                      <label-box :isChecked="prescription.anticoagulant == 6 ? true:false" showValue="低分子肝素钙"></label-box>
578
+                      <label-box :isChecked="prescription.anticoagulant == 8 ? true:false" showValue="依诺肝素"></label-box>
579
+                      <label-box :isChecked="prescription.anticoagulant == 9 ? true:false" showValue="达肝素"></label-box>
578 580
                     </td>
579 581
                     <td width="60">
580 582
                       <div class="under-line">
581 583
                         &nbsp;
582
-                        <span v-if="prescription.anticoagulant == 6 || prescription.anticoagulant == 7">{{ prescription.anticoagulant_zongliang }}</span>
584
+                        <span v-if="prescription.anticoagulant == 6 || prescription.anticoagulant == 8|| prescription.anticoagulant == 9">{{ prescription.anticoagulant_zongliang }}</span>
583 585
                       </div>
584 586
                     </td>
585 587
                     <td width="20">iu</td>
@@ -961,7 +963,7 @@
961 963
       <table class="print-table" border="1">
962 964
         <tr>
963 965
           <td>时间</td>
964
-          <td width='430'>临时医嘱</td>
966
+          <td width='470'>临时医嘱</td>
965 967
           <td>医生签名</td>
966 968
           <td>执行护士</td>
967 969
           <td>执行时间</td>

+ 1 - 1
src/xt_pages/home/index.vue Parādīt failu

@@ -6,7 +6,7 @@
6 6
     <section class="app-container app-main-bg">
7 7
       <div class="home-page">
8 8
         <div class="search clearfix">
9
-          <input type="text" class="search-input" placeholder="病人姓名/透析号" v-model="searchKey" />
9
+          <input type="text" class="search-input" placeholder="病人姓名/透析号" v-model="searchKey" @keyup.enter='clickSearch' />
10 10
           <button class="search-button" @click="clickSearch">搜索</button>
11 11
         </div>
12 12
         <div class="ui-step clearfix">

+ 1 - 0
src/xt_pages/management/index.vue Parādīt failu

@@ -20,6 +20,7 @@
20 20
           class="filter-item"
21 21
           placeholder="输入序列号/设备名/型号搜索"
22 22
           size="small"
23
+          @keyup.enter.native='seahcerMacherInfo'
23 24
         />
24 25
         <el-button
25 26
           class="filter-item"

+ 1 - 1
src/xt_pages/sign/index.vue Parādīt failu

@@ -9,7 +9,7 @@
9 9
             <el-col :span="8">
10 10
                 <div class="dataTitle">患者列表</div>
11 11
                 <div style="margin-bottom: 10px;">
12
-                    <el-input v-model.trim="queryParams.keywords" placeholder="姓名/透析号" style="width: 150px;" @change="changeSearch"></el-input>&nbsp;
12
+                    <el-input v-model.trim="queryParams.keywords" @keyup.enter.native='changeSearch' placeholder="姓名/透析号" style="width: 150px;" @change="changeSearch"></el-input>&nbsp;
13 13
                     <el-button type="primary" @change="changeSearch" icon="el-icon-search">搜索</el-button>&nbsp;&nbsp;&nbsp;&nbsp;
14 14
                     <el-select v-model="queryParams.schedule_type" style="width: 100px;" @change="changeSearch">
15 15
                     <el-option v-for="item in shiftOptions" :label="item.label" :value="item.value" :key="item.value"></el-option>

+ 9 - 2
src/xt_pages/user/components/PatientForm.vue Parādīt failu

@@ -1396,8 +1396,14 @@ export default {
1396 1396
           if (this.isEdit) {
1397 1397
             this.form.age = parseInt(this.form.age);
1398 1398
             this.form.user_sys_before_count = this.form.user_sys_before_count.toString();
1399
-
1399
+            if(this.form.avatar.indexOf('?imageView2/2/w/500/h/500/q/90')!=-1){
1400
+               this.form.avatar = this.form.avatar
1401
+            }else{
1402
+              this.form.avatar = this.form.avatar + "?imageView2/2/w/500/h/500/q/90"
1403
+            }
1404
+            console.log("form",this.form)
1400 1405
             editPatient(this.patientID, this.form)
1406
+
1401 1407
               .then(response => {
1402 1408
                 if (response.data.state == 0) {
1403 1409
                   this.$message.error(response.data.msg);
@@ -1472,7 +1478,8 @@ export default {
1472 1478
     },
1473 1479
     handleAvatarSuccess(res, file) {
1474 1480
       // this.imageUrl = URL.createObjectURL(file.raw);
1475
-      this.form.avatar = this.qiniuDomain + res.url;
1481
+      this.form.avatar = this.qiniuDomain + res.url +"?imageView2/2/w/500/h/500/q/90";
1482
+      console.log("上传成功地址",this.form.avatar)
1476 1483
       this.avatarFlag = true;
1477 1484
       this.loading.close();
1478 1485
     },

+ 1 - 0
src/xt_pages/user/patients.vue Parādīt failu

@@ -141,6 +141,7 @@
141 141
           class="filter-item"
142 142
           placeholder="病人姓名/透析号"
143 143
           size="small"
144
+          @keyup.enter.native='search'
144 145
         />
145 146
         <el-button
146 147
           class="filter-item"

+ 1 - 0
src/xt_pages/workforce/components/tableData.vue Parādīt failu

@@ -7,6 +7,7 @@
7 7
         class="filter-item"
8 8
         v-model.trim="keywords"
9 9
         placeholder="病人名称/透析号"
10
+        @keyup.enter.native='search'
10 11
       />
11 12
       <el-button
12 13
         size="small"