See999 3 years ago
parent
commit
513c3312f7

+ 5 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderEighteen.vue View File

@@ -95,8 +95,8 @@
95 95
             <td colspan="3" style="border-left:1px solid #000;padding-left:5px">
96 96
               治疗时间:
97 97
               <span>
98
-                &nbsp;{{ prescription.dialysis_duration_hour ? prescription.dialysis_duration_hour : "0" }}小时
99
-                {{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : "0" }}分钟
98
+                &nbsp;{{ afterdialysis.actual_treatment_hour ? afterdialysis.actual_treatment_hour : "0" }}小时
99
+                {{ afterdialysis.actual_treatment_minute ? afterdialysis.actual_treatment_minute : 0 }}分钟
100 100
               </span>
101 101
             </td>
102 102
           </tr>
@@ -167,10 +167,10 @@
167 167
             </td>
168 168
           </tr>
169 169
           <tr style="text-align:left">
170
-            <td colspan="2" style="padding-left:5px">
170
+            <!-- <td colspan="2" style="padding-left:5px">
171 171
               透析机:{{ predialysis.machine_type ? predialysis.machine_type : "" }}
172
-            </td>
173
-            <td colspan="2" style="padding-left:5px;border-left:1px solid #000;">
172
+            </td> -->
173
+            <td colspan="4" style="padding-left:5px;border-left:1px solid #000;">
174 174
               透析(滤)器:{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "" }}
175 175
             </td>
176 176
             <td colspan="7" style="padding-left:5px;border-left:1px solid #000;">

+ 126 - 103
src/xt_pages/upload/fast/FastProvince.vue View File

@@ -18,116 +18,132 @@
18 18
   </span>
19 19
     </el-dialog>
20 20
 
21
-    <div class="cell clearfix">
22
-      <el-form :model="form" ref="ruleForm" label-width="40px" class="demo-ruleForm" style="text-align: center">
23
-        <el-form-item label="地区">
24
-          <el-select v-model="form.province" clearable filterable placeholder="请选择" @change="changeProvince" style="width:150px;">
25
-            <el-option
26
-              v-for="item in provinces"
27
-              :key="item.id"
28
-              :label="item.name"
29
-              :value="item.id">
30
-            </el-option>
31
-          </el-select>
32
-        </el-form-item>
33
-      </el-form>
34
-    </div>
35
-    <div class="cell clearfix" style="margin-bottom:0px;">
36
-      <el-form :inline="true" :model="listQuery">
37
-        <el-form-item label>
38
-          <el-input v-model.trim="listQuery.search" placeholder="姓名/透析号" style="width:120px"></el-input>
39
-          <el-button type="primary" style="padding: 10px 6px;" @click="onSearch" icon="el-icon-search">搜索</el-button>
40
-        </el-form-item>
41
-      </el-form>
42
-      <div class="time" style="margin-left:40px;">
43
-        <ul class="newUl">
44
-          <li
45
-            :class="item.state == wayType ? 'active' : ''"
46
-            @click="chooseWay(item.state)"
47
-            v-for="item in way"
48
-            :key="item.value"
49
-          >{{ item.label }}</li>
50
-        </ul>
51
-      </div>
52
-    </div>
21
+    
22
+    
53 23
     
54 24
     <div style="flex:1">
55 25
       <div class="newContainer">
56 26
         <div style="width:270px">
57
-            <div class="tableTitle">患者列表</div>
58
-            <div class="cell clearfix" style="margin-bottom:10px;">
59
-            <el-date-picker v-model="selected_date" prefix-icon="el-icon-date" @change="handleScheduleDateChange" :editable="false" :clearable="false" style="width: 130px;margin-right:10px;" type="date" placeholder="选择日期时间" align="right" ></el-date-picker>
60
-            <el-input size="small" style="width:80px;" v-model.trim="search_input" class="filter-item"/>
61
-            <el-button size="small" class="filter-item" type="primary" @click="searchAction">搜索</el-button>
62
-          </div>
63
-          <div class="cell clearfix" style="margin-bottom:10px;">
64
-            <el-select v-model="patientStateVal" placeholder="全部患者状态" style="width:130px;margin-right:10px;" @change="handleStateChange">
65
-              <el-option
66
-                v-for="item in patient_state"
67
-                :key="item.value"
68
-                :label="item.label"
69
-                :value="item.value">
70
-              </el-option>
71
-            </el-select>
72
-            <el-select v-model="treatStateVal" placeholder="全部治疗状态" style="width:130px;margin-right:10px;" @change="handleTreatChange">
73
-              <el-option
74
-                v-for="item in treat_state"
75
-                :key="item.value"
76
-                :label="item.label"
77
-                :value="item.value">
78
-              </el-option>
79
-            </el-select>
27
+          <div class="cell clearfix">
28
+            <el-form :model="form" ref="ruleForm" class="demo-ruleForm" style="text-align: center">
29
+              <el-form-item>
30
+                <el-select v-model="form.province" clearable filterable placeholder="请选择省份" @change="changeProvince" style="width:270px;">
31
+                  <el-option
32
+                    v-for="item in provinces"
33
+                    :key="item.id"
34
+                    :label="item.name"
35
+                    :value="item.id">
36
+                  </el-option>
37
+                </el-select>
38
+              </el-form-item>
39
+            </el-form>
80 40
           </div>
81
-          <div class="cell clearfix" style="margin-bottom:10px;">
82
-            <el-select v-model="scheduleStateVal" placeholder="班次" style="width:130px;margin-right:10px;" @change="handletimeType">
83
-              <el-option
84
-                v-for="item in schedule_options"
85
-                :key="item.value"
86
-                :label="item.label"
87
-                :value="item.value">
88
-              </el-option>
89
-            </el-select>
90
-            <el-select v-model="zoneVal" placeholder="分区" style="width:130px;margin-right:10px;" @change="handleZoneChange">
91
-              <el-option
92
-                v-for="item in zone_options"
93
-                :key="item.id"
94
-                :label="item.text"
95
-                :value="item.id">
96
-              </el-option>
97
-            </el-select>
98
-          </div>
99
-          <div style="padding-right:20px;">
100
-            <el-table
101
-              ref="tab"
102
-              @row-click="changePatient"
103
-              highlight-current-row
104
-              :data="tableData"
105
-              height="500"
106
-              border
107
-              style="width: 100%">
108
-              <el-table-column
109
-                label="患者"
110
-                >
111
-                <template slot-scope="scope">
112
-                  {{ scope.row.patient ? scope.row.patient.name : '' }}
113
-                </template>
114
-              </el-table-column>
115
-              <el-table-column
116
-                label="透析号"
117
-                >
118
-                <template slot-scope="scope">
119
-                  {{ scope.row.patient ? scope.row.patient.dialysis_no : '' }}
120
-                </template>
121
-              </el-table-column>
122
-            </el-table>
41
+          <div v-if="this.form.province == 13">
42
+            <div class="cell clearfix" style="margin-bottom:10px;" >
43
+              <el-date-picker v-model="selected_date" prefix-icon="el-icon-date" @change="handleScheduleDateChange" :editable="false" :clearable="false" style="width: 130px;margin-right:10px;" type="date" placeholder="选择日期时间" align="right" ></el-date-picker>
44
+              <el-input size="small" style="width:80px;" v-model.trim="search_input" class="filter-item"/>
45
+              <el-button size="small" class="filter-item" type="primary" @click="searchAction">搜索</el-button>
46
+            </div>
47
+            <div class="cell clearfix" style="margin-bottom:10px;">
48
+              <el-select v-model="patientStateVal" placeholder="全部患者状态" style="width:130px;margin-right:10px;" @change="handleStateChange">
49
+                <el-option
50
+                  v-for="item in patient_state"
51
+                  :key="item.value"
52
+                  :label="item.label"
53
+                  :value="item.value">
54
+                </el-option>
55
+              </el-select>
56
+              <el-select v-model="treatStateVal" placeholder="全部治疗状态" style="width:130px;" @change="handleTreatChange">
57
+                <el-option
58
+                  v-for="item in treat_state"
59
+                  :key="item.value"
60
+                  :label="item.label"
61
+                  :value="item.value">
62
+                </el-option>
63
+              </el-select>
64
+            </div>
65
+            <div class="cell clearfix" style="margin-bottom:10px;">
66
+              <el-select v-model="scheduleStateVal" placeholder="班次" style="width:130px;margin-right:10px;" @change="handletimeType">
67
+                <el-option
68
+                  v-for="item in schedule_options"
69
+                  :key="item.value"
70
+                  :label="item.label"
71
+                  :value="item.value">
72
+                </el-option>
73
+              </el-select>
74
+              <el-select v-model="zoneVal" placeholder="分区" style="width:130px;" @change="handleZoneChange">
75
+                <el-option
76
+                  v-for="item in zone_options"
77
+                  :key="item.id"
78
+                  :label="item.text"
79
+                  :value="item.id">
80
+                </el-option>
81
+              </el-select>
82
+            </div>
83
+            <div>
84
+              <el-table
85
+                ref="tab"
86
+                @row-click="changePatient"
87
+                highlight-current-row
88
+                :data="tableData"
89
+                height="500"
90
+                border
91
+                style="width: 100%"
92
+                :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}">
93
+                <el-table-column
94
+                  label="患者"
95
+                  >
96
+                  <template slot-scope="scope">
97
+                    {{ scope.row.patient ? scope.row.patient.name : '' }}
98
+                  </template>
99
+                </el-table-column>
100
+                <el-table-column
101
+                  label="透析号"
102
+                  >
103
+                  <template slot-scope="scope">
104
+                    {{ scope.row.patient ? scope.row.patient.dialysis_no : '' }}
105
+                  </template>
106
+                </el-table-column>
107
+              </el-table>
108
+            </div>
123 109
           </div>
124 110
         </div>
125
-        <div style="flex:1;width:0;">
126
-          <basic-info v-if="wayType == 0" :patient='patient'></basic-info>
127
-          <treat-info v-if="wayType == 1" :patient='patient' :prescription='prescription' :predialysis_evaluation='predialysis_evaluation' :assessment_after_dislysis='assessment_after_dislysis' :monitor_records='monitor_records' :admin_users='admin_users' :dialysis_order="dialysis_order" :double_check="double_check" :selected_date='selected_date'></treat-info>
128
-          <dialysis-params v-if="wayType == 2" :prescription='prescription' :doctor_advices='doctor_advices' :monitor_records='monitor_records' :patient='patient'></dialysis-params>
129
-          <dialysis-summary v-if="wayType == 3" :treatment_summary='treatment_summary' :patient='patient'></dialysis-summary>
130
-          <rescue-record v-if="wayType == 4" :doctor_advices='doctor_advices' :patient='patient' :prescription='prescription'></rescue-record>
111
+        <div style="flex:1;width:0;margin-left:20px;" v-if="this.form.province == 13">
112
+          <!-- <div class="cell clearfix" style="margin-bottom:0px;">
113
+            <el-form :inline="true" :model="listQuery">
114
+              <el-form-item label>
115
+                <el-input v-model.trim="listQuery.search" placeholder="姓名/透析号" style="width:120px"></el-input>
116
+                <el-button type="primary" style="padding: 10px 6px;" @click="onSearch" icon="el-icon-search">搜索</el-button>
117
+              </el-form-item>
118
+            </el-form>
119
+            <div class="time" style="margin-left:40px;">
120
+              <ul class="newUl">
121
+                <li
122
+                  :class="item.state == wayType ? 'active' : ''"
123
+                  @click="chooseWay(item.state)"
124
+                  v-for="item in way"
125
+                  :key="item.value"
126
+                >{{ item.label }}</li>
127
+              </ul>
128
+            </div>
129
+          </div> -->
130
+          <el-tabs type="border-card">
131
+            <el-tab-pane label="基本信息">
132
+              <basic-info :patient='patient'></basic-info>
133
+            </el-tab-pane>
134
+            <el-tab-pane label="治疗信息">
135
+              <treat-info :patient='patient' :prescription='prescription' :predialysis_evaluation='predialysis_evaluation' :assessment_after_dislysis='assessment_after_dislysis' :monitor_records='monitor_records' :admin_users='admin_users' :dialysis_order="dialysis_order" :double_check="double_check" :selected_date='selected_date'></treat-info>
136
+            </el-tab-pane>
137
+            <el-tab-pane label="透析参数">
138
+              <dialysis-params :prescription='prescription' :doctor_advices='doctor_advices' :monitor_records='monitor_records' :patient='patient'></dialysis-params>
139
+            </el-tab-pane>
140
+            <el-tab-pane label="治疗小结">
141
+              <dialysis-summary :treatment_summary='treatment_summary' :patient='patient'></dialysis-summary>
142
+            </el-tab-pane>
143
+            <el-tab-pane label="抢救记录">
144
+              <rescue-record :doctor_advices='doctor_advices' :patient='patient' :prescription='prescription'></rescue-record>
145
+            </el-tab-pane>
146
+          </el-tabs>
131 147
         </div>
132 148
       </div>
133 149
     </div>
@@ -300,6 +316,7 @@ import { parseTime } from "@/utils";
300 316
       } else {
301 317
         this.form.province = parseInt(province)
302 318
       }
319
+
303 320
       
304 321
 
305 322
       this.getInitData()
@@ -803,5 +820,11 @@ import { parseTime } from "@/utils";
803 820
     .el-table td, .el-table th{
804 821
       text-align: center;
805 822
     }
823
+    .el-tabs--border-card{
824
+      box-shadow:none;
825
+    }
826
+}
827
+.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{
828
+  font-weight: bold;
806 829
 }
807 830
 </style>

+ 12 - 4
src/xt_pages/upload/fast/basicInfo.vue View File

@@ -16,7 +16,7 @@
16 16
             </div>
17 17
             <div class="basicOne">
18 18
                 <p class="basicLable">证件号码:</p>
19
-                <el-input style="width:190px;" placeholder="请输入内容" v-model="form.id_card_no" :disabled="true"></el-input>
19
+                <el-input style="width:170px;" placeholder="请输入内容" v-model="form.id_card_no" :disabled="true"></el-input>
20 20
                 <el-button type="primary" v-clipboard:copy="form.id_card_no" v-clipboard:success="onCopy" v-clipboard:error="onError">复制</el-button>
21 21
             </div>
22 22
             <div class="basicOne">
@@ -217,15 +217,17 @@ export default {
217 217
 .page_basicInfo{
218 218
     width: 100%;
219 219
     padding-right: 20px;
220
-    margin-top: 40px;
220
+    margin-top: 10px;
221 221
     display: flex;
222 222
     flex-wrap: wrap;
223 223
     .basicOne{
224 224
         width: 380px;
225
-        margin-right: 20px;
226
-        margin-bottom: 20px;
225
+        margin-right: 10px;
226
+        margin-bottom: 10px;
227 227
         display: flex;
228 228
         align-items: center;
229
+        font-size: 14px;
230
+        color:rgb(48, 49, 51);
229 231
         .basicLable{
230 232
             width: 120px;
231 233
             text-align: right;
@@ -242,4 +244,10 @@ export default {
242 244
         margin-right: 10px;
243 245
     }
244 246
 }
247
+.el-input.is-disabled .el-input__inner{
248
+    color:#909399;
249
+}
250
+.el-textarea.is-disabled .el-textarea__inner{
251
+    color:#909399;
252
+}
245 253
 </style>

+ 3 - 3
src/xt_pages/upload/fast/dialysisParams.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
     <div class="page_dialysisParams">
3
-        <div class="cell clearfix" style="margin-top:40px;margin-left:70px;">
3
+        <div class="cell clearfix" style="margin-top:10px;">
4 4
             <!-- <label class="title">
5 5
                 <span class="name">治疗日期</span> :
6 6
             </label>
@@ -33,8 +33,8 @@
33 33
                 <span>姓名:{{ patient.name }}</span>&nbsp;|&nbsp;<span>透析编号:{{ patient.dialysis_no }}</span>
34 34
             </div>
35 35
         </div>
36
-        <div style="margin-left:70px;">
37
-            <el-table :data="monitor_records" style="width: 100%" border :span-method='objectSpanMethod'>
36
+        <div>
37
+            <el-table :data="monitor_records" style="width: 100%" border :span-method='objectSpanMethod' :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}">
38 38
                 <el-table-column fixed prop="date" label="时间" width="140">
39 39
                     <template slot-scope="scope">
40 40
                         <p>{{ scope.row.created_time ? uParseTime(scope.row.operate_time, '{y}-{m}-{d} {h}:{i}') : '' }}</p>

+ 2 - 2
src/xt_pages/upload/fast/dialysisSummary.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
     <div class="page_summary">
3
-        <div class="cell clearfix" style="margin-top:40px;margin-left:70px;">
3
+        <div class="cell clearfix" style="margin-top:10px;">
4 4
             <!-- <label class="title">
5 5
                 <span class="name">治疗日期</span> :
6 6
             </label>
@@ -33,7 +33,7 @@
33 33
                 <span>姓名:{{ patient.name }}</span>&nbsp;|&nbsp;<span>透析编号:{{ patient.dialysis_no }}</span>
34 34
             </div>
35 35
         </div>
36
-        <div style="margin-left:70px;">
36
+        <div>
37 37
             <el-input type="textarea" :disabled="true" :rows="4" placeholder="请输入内容" v-model="dialysis_summary"></el-input>
38 38
             <el-button type="primary" v-clipboard:copy="dialysis_summary" v-clipboard:success="onCopy" v-clipboard:error="onError" style="margin-top:10px;float:right;">复制</el-button>
39 39
         </div>

+ 2 - 2
src/xt_pages/upload/fast/rescueRecord.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
         <div class="page_rescueRecord">
3
-            <div class="cell clearfix" style="margin-top:40px;margin-left:70px;">
3
+            <div class="cell clearfix" style="margin-top:10px;">
4 4
                 <!-- <label class="title">
5 5
                     <span class="name">治疗日期</span> :
6 6
                 </label>
@@ -33,7 +33,7 @@
33 33
                     <span>姓名:{{ patient.name }}</span>&nbsp;|&nbsp;<span>透析编号:{{ patient.dialysis_no }}</span>
34 34
                 </div>
35 35
             </div>
36
-            <div style="margin-left:70px;">
36
+            <div>
37 37
                 <el-input type="textarea" :disabled="true" :rows="4" placeholder="请输入内容" v-model="textarea"></el-input>
38 38
                 <el-button type="primary" v-clipboard:copy="textarea" v-clipboard:success="onCopy" v-clipboard:error="onError" style="margin-top:10px;float:right;">复制</el-button>
39 39
             </div>

+ 12 - 7
src/xt_pages/upload/fast/treatInfo.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
     <div class="page_treatInfo">
3
-        <div class="cell clearfix" style="margin-top:40px;margin-left:70px;">
3
+        <div class="cell clearfix" style="margin-top:10px;margin-left:70px;">
4 4
             <!-- <label class="title">
5 5
                 <span class="name">治疗日期</span> :
6 6
             </label>
@@ -33,7 +33,7 @@
33 33
                 <span>姓名:{{ patient.name }}</span>&nbsp;|&nbsp;<span>透析编号:{{ patient.dialysis_no }}</span>
34 34
             </div>
35 35
         </div>
36
-        <div class="cell clearfix" style="margin-left:70px;">
36
+        <div class="cell clearfix" style="margin-left:80px;">
37 37
             <div class="commonTitle">透析方案</div>
38 38
         </div>
39 39
         <div class="treatInfoMain">
@@ -97,7 +97,7 @@
97 97
             </div>
98 98
             
99 99
         </div>
100
-        <div class="cell clearfix" style="margin-left:70px;">
100
+        <div class="cell clearfix" style="margin-left:11px;">
101 101
             <div class="commonTitle">透析记录与透后评估</div>
102 102
         </div>
103 103
         <div class="treatInfoMain">
@@ -172,7 +172,7 @@
172 172
             </div>
173 173
             
174 174
         </div>
175
-        <div class="cell clearfix" style="margin-left:70px;">
175
+        <div class="cell clearfix" style="margin-left:79px;">
176 176
             <div class="commonTitle">责任签名</div>
177 177
         </div>
178 178
         <div class="treatInfoMain">
@@ -416,8 +416,9 @@ export default {
416 416
         align-items: center;
417 417
     }
418 418
     .commonTitle{
419
-        color:#000;
419
+        color:#409EFF;
420 420
         font-weight: bold;
421
+        font-size: 14px;
421 422
     }
422 423
     .treatInfoMain{
423 424
         display: flex;
@@ -426,9 +427,11 @@ export default {
426 427
         .basicOne{
427 428
             width: 380px;
428 429
             margin-right: 20px;
429
-            margin-bottom: 20px;
430
+            margin-bottom: 10px;
430 431
             display: flex;
431 432
             align-items: center;
433
+            font-size: 14px;
434
+            color:rgb(48, 49, 51);
432 435
             .basicLable{
433 436
                 width: 120px;
434 437
                 text-align: right;
@@ -438,8 +441,10 @@ export default {
438 441
         .basicTwo{
439 442
             width: 680px;
440 443
             margin-right: 20px;
441
-            margin-bottom: 20px;
444
+            margin-bottom: 10px;
442 445
             display: flex; 
446
+            font-size: 14px;
447
+            color:rgb(48, 49, 51);
443 448
             .basicTwoLable{
444 449
                 width: 120px;
445 450
                 text-align: right;