Browse Source

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

csx 4 years ago
parent
commit
42e8b0b472

+ 15 - 0
src/store/modules/globalConfig.js View File

617
         zongliang_unit: 'iu',
617
         zongliang_unit: 'iu',
618
         gaimingcheng_unit: '',
618
         gaimingcheng_unit: '',
619
         gaijiliang_unit: ''
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
     anticoagulants_set: {
637
     anticoagulants_set: {

+ 1 - 0
src/xt_pages/dialysis/bloodPresssWatch.vue View File

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

+ 6 - 0
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

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

+ 6 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyOne.vue View File

573
                     <td width="40">mg</td>
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
                     </td>
580
                     </td>
579
                     <td width="60">
581
                     <td width="60">
580
                       <div class="under-line">
582
                       <div class="under-line">
581
                         &nbsp;
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
                       </div>
585
                       </div>
584
                     </td>
586
                     </td>
585
                     <td width="20">iu</td>
587
                     <td width="20">iu</td>
961
       <table class="print-table" border="1">
963
       <table class="print-table" border="1">
962
         <tr>
964
         <tr>
963
           <td>时间</td>
965
           <td>时间</td>
964
-          <td width='430'>临时医嘱</td>
966
+          <td width='470'>临时医嘱</td>
965
           <td>医生签名</td>
967
           <td>医生签名</td>
966
           <td>执行护士</td>
968
           <td>执行护士</td>
967
           <td>执行时间</td>
969
           <td>执行时间</td>

+ 1 - 1
src/xt_pages/home/index.vue View File

6
     <section class="app-container app-main-bg">
6
     <section class="app-container app-main-bg">
7
       <div class="home-page">
7
       <div class="home-page">
8
         <div class="search clearfix">
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
           <button class="search-button" @click="clickSearch">搜索</button>
10
           <button class="search-button" @click="clickSearch">搜索</button>
11
         </div>
11
         </div>
12
         <div class="ui-step clearfix">
12
         <div class="ui-step clearfix">

+ 1 - 0
src/xt_pages/management/index.vue View File

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

+ 1 - 1
src/xt_pages/sign/index.vue View File

9
             <el-col :span="8">
9
             <el-col :span="8">
10
                 <div class="dataTitle">患者列表</div>
10
                 <div class="dataTitle">患者列表</div>
11
                 <div style="margin-bottom: 10px;">
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
                     <el-button type="primary" @change="changeSearch" icon="el-icon-search">搜索</el-button>&nbsp;&nbsp;&nbsp;&nbsp;
13
                     <el-button type="primary" @change="changeSearch" icon="el-icon-search">搜索</el-button>&nbsp;&nbsp;&nbsp;&nbsp;
14
                     <el-select v-model="queryParams.schedule_type" style="width: 100px;" @change="changeSearch">
14
                     <el-select v-model="queryParams.schedule_type" style="width: 100px;" @change="changeSearch">
15
                     <el-option v-for="item in shiftOptions" :label="item.label" :value="item.value" :key="item.value"></el-option>
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 View File

1396
           if (this.isEdit) {
1396
           if (this.isEdit) {
1397
             this.form.age = parseInt(this.form.age);
1397
             this.form.age = parseInt(this.form.age);
1398
             this.form.user_sys_before_count = this.form.user_sys_before_count.toString();
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
             editPatient(this.patientID, this.form)
1405
             editPatient(this.patientID, this.form)
1406
+
1401
               .then(response => {
1407
               .then(response => {
1402
                 if (response.data.state == 0) {
1408
                 if (response.data.state == 0) {
1403
                   this.$message.error(response.data.msg);
1409
                   this.$message.error(response.data.msg);
1472
     },
1478
     },
1473
     handleAvatarSuccess(res, file) {
1479
     handleAvatarSuccess(res, file) {
1474
       // this.imageUrl = URL.createObjectURL(file.raw);
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
       this.avatarFlag = true;
1483
       this.avatarFlag = true;
1477
       this.loading.close();
1484
       this.loading.close();
1478
     },
1485
     },

+ 1 - 0
src/xt_pages/user/patients.vue View File

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

+ 1 - 0
src/xt_pages/workforce/components/tableData.vue View File

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