浏览代码

Merge branch 'superman' of http://git.shengws.com:3000/zhangbj/xt_vue into superman

zhengchengwu 6 年前
父节点
当前提交
b647e03b2b

+ 2 - 2
src/xt_pages/data/druguse.vue 查看文件

155
                       clearable
155
                       clearable
156
                       allow-create
156
                       allow-create
157
                       placeholder="请选择(输入可搜索)"
157
                       placeholder="请选择(输入可搜索)"
158
-                      style="width:90%"
158
+                      style="width:100%"
159
                     >
159
                     >
160
                       <el-option
160
                       <el-option
161
                         v-for="item in drugways"
161
                         v-for="item in drugways"
176
                       allow-create
176
                       allow-create
177
                       filterable
177
                       filterable
178
                       placeholder="请选择(输入可搜索)"
178
                       placeholder="请选择(输入可搜索)"
179
-                      style="width:90%"
179
+                      style="width:100%"
180
                     >
180
                     >
181
                       <el-option
181
                       <el-option
182
                         v-for="item in executionFrequencyOptions"
182
                         v-for="item in executionFrequencyOptions"

+ 6 - 7
src/xt_pages/data/druguseTemplate.vue 查看文件

173
               </el-form>
173
               </el-form>
174
               <div class="txsj" style="text-align: center;margin-bottom: 30px">
174
               <div class="txsj" style="text-align: center;margin-bottom: 30px">
175
                 <el-button round @click="newRecordAction">新增医嘱内容</el-button>
175
                 <el-button round @click="newRecordAction">新增医嘱内容</el-button>
176
-                <el-button round @click="deleteRecordAction">删除医嘱内容</el-button>
177
                 <el-button round @click="modifyRecordAction">修改医嘱内容</el-button>
176
                 <el-button round @click="modifyRecordAction">修改医嘱内容</el-button>
177
+                <el-button round @click="deleteRecordAction">删除医嘱内容</el-button>
178
               </div>
178
               </div>
179
               <el-table
179
               <el-table
180
                 ref="table" :data="adviceTableData"
180
                 ref="table" :data="adviceTableData"
242
                   </el-form-item>
242
                   </el-form-item>
243
                 </el-col>
243
                 </el-col>
244
                 <el-col :span="12">
244
                 <el-col :span="12">
245
-                  <el-form-item label="规格 :" required prop="advice_desc">
245
+                  <el-form-item label="规格 :" >
246
                     <el-input v-model="templateForm.advice_desc"></el-input>
246
                     <el-input v-model="templateForm.advice_desc"></el-input>
247
                   </el-form-item>
247
                   </el-form-item>
248
 
248
 
378
 
378
 
379
                 </el-col>
379
                 </el-col>
380
                 <el-col :span="12">
380
                 <el-col :span="12">
381
-                  <el-form-item label="规格" prop="advice_desc">
381
+                  <el-form-item label="规格" >
382
                     <el-input v-model="templateFormEdit.advice_desc"></el-input>
382
                     <el-input v-model="templateFormEdit.advice_desc"></el-input>
383
                   </el-form-item>
383
                   </el-form-item>
384
                   <!-- <el-form-item label="药品规格 :" prop="drug_spec">
384
                   <!-- <el-form-item label="药品规格 :" prop="drug_spec">
460
                       clearable
460
                       clearable
461
                       allow-create
461
                       allow-create
462
                       placeholder="请选择(输入可搜索)"
462
                       placeholder="请选择(输入可搜索)"
463
-                      style="width:90%"
463
+                      style="width:100%"
464
                     >
464
                     >
465
                       <el-option
465
                       <el-option
466
                         v-for="item in drugways"
466
                         v-for="item in drugways"
480
                       allow-create
480
                       allow-create
481
                       filterable
481
                       filterable
482
                       placeholder="请选择(输入可搜索)"
482
                       placeholder="请选择(输入可搜索)"
483
-                      style="width:90%"
483
+                      style="width:100%"
484
                     >
484
                     >
485
                       <el-option
485
                       <el-option
486
                         v-for="item in executionFrequencyOptions"
486
                         v-for="item in executionFrequencyOptions"
573
                   </el-form-item>
573
                   </el-form-item>
574
                 </el-col>
574
                 </el-col>
575
                 <el-col :span="12">
575
                 <el-col :span="12">
576
-                  <el-form-item label="规格 :" required prop="advice_desc">
576
+                  <el-form-item label="规格 :" >
577
                     <el-input v-model="templateForm.advice_desc"></el-input>
577
                     <el-input v-model="templateForm.advice_desc"></el-input>
578
                   </el-form-item>
578
                   </el-form-item>
579
                   <!-- <el-form-item label="药品规格 :" prop="drug_spec">
579
                   <!-- <el-form-item label="药品规格 :" prop="drug_spec">
1074
         },
1074
         },
1075
         templateRules: {
1075
         templateRules: {
1076
           advice_name: [{ required: true, message: '请填写医嘱内容' }],
1076
           advice_name: [{ required: true, message: '请填写医嘱内容' }],
1077
-          advice_desc: [{ required: true, message: '请填写规格' }]
1078
 
1077
 
1079
         },
1078
         },
1080
         templateEditRules: {
1079
         templateEditRules: {

+ 2 - 2
src/xt_pages/dialysis/Dialog/StatOrderDialog/index.vue 查看文件

41
                     <span>瓶</span>
41
                     <span>瓶</span>
42
                 </el-form-item> 
42
                 </el-form-item> 
43
                 <el-form-item label="给药途径 : " :label-width="formLabelWidth">
43
                 <el-form-item label="给药途径 : " :label-width="formLabelWidth">
44
-                  <el-select v-model="form.way" >
44
+                  <el-select v-model="form.way" style="width:100%;" >
45
                       <el-option v-for="(item, index) in wayList" :label="item.label" :value="item.value" :key="index"></el-option>                      
45
                       <el-option v-for="(item, index) in wayList" :label="item.label" :value="item.value" :key="index"></el-option>                      
46
                   </el-select>  
46
                   </el-select>  
47
                 </el-form-item>
47
                 </el-form-item>
48
                 <el-form-item label="执行频率 : " :label-width="formLabelWidth">
48
                 <el-form-item label="执行频率 : " :label-width="formLabelWidth">
49
-                  <el-select v-model="form.frequency" >
49
+                  <el-select v-model="form.frequency" style="width:100%;">
50
                       <el-option v-for="(item, index) in frequencyList" :label="item.label" :value="item.value" :key="index"></el-option>                                           
50
                       <el-option v-for="(item, index) in frequencyList" :label="item.label" :value="item.value" :key="index"></el-option>                                           
51
                   </el-select>  
51
                   </el-select>  
52
                 </el-form-item>
52
                 </el-form-item>

+ 0 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/EditGroupAdvice.vue 查看文件

11
             </el-form-item>
11
             </el-form-item>
12
           </el-col>
12
           </el-col>
13
           <el-col :span="12">
13
           <el-col :span="12">
14
-
15
             <el-form-item label="开始时间 :" required prop="start_time">
14
             <el-form-item label="开始时间 :" required prop="start_time">
16
               <el-date-picker
15
               <el-date-picker
17
                 type="datetime"
16
                 type="datetime"

+ 1 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

187
 
187
 
188
 
188
 
189
         <el-col :span="8">
189
         <el-col :span="8">
190
-          <el-form-item label="透析器/灌流器">
190
+          <el-form-item label="透析器/灌流器">
191
             <el-input  v-model="dialysisPrescription.dialyzer_perfusion_apparatus"></el-input>
191
             <el-input  v-model="dialysisPrescription.dialyzer_perfusion_apparatus"></el-input>
192
           </el-form-item>
192
           </el-form-item>
193
 
193
 

+ 2 - 2
src/xt_pages/dialysis/dialysisPage.vue 查看文件

150
                 <el-col :span="15">
150
                 <el-col :span="15">
151
                   <el-form-item label="给药途径 :" prop="delivery_way">
151
                   <el-form-item label="给药途径 :" prop="delivery_way">
152
                     <el-select v-model="adviceForm.delivery_way" :disabled="adviceForm.parent_id==0?false:true"
152
                     <el-select v-model="adviceForm.delivery_way" :disabled="adviceForm.parent_id==0?false:true"
153
-                               filterable placeholder="请选择(输入可搜索)" style="width:90%">
153
+                               filterable placeholder="请选择(输入可搜索)" style="width:100%">
154
                       <el-option
154
                       <el-option
155
                         v-for="item in deliveryWayOptions"
155
                         v-for="item in deliveryWayOptions"
156
                         :key="item.id"
156
                         :key="item.id"
163
                 <el-col :span="15">
163
                 <el-col :span="15">
164
                   <el-form-item label="执行频率 :" prop="execution_frequency">
164
                   <el-form-item label="执行频率 :" prop="execution_frequency">
165
                     <el-select v-model="adviceForm.execution_frequency" :disabled="adviceForm.parent_id==0?false:true"
165
                     <el-select v-model="adviceForm.execution_frequency" :disabled="adviceForm.parent_id==0?false:true"
166
-                               filterable placeholder="请选择(输入可搜索)" style="width:90%">
166
+                               filterable placeholder="请选择(输入可搜索)" style="width:100%">
167
                       <el-option
167
                       <el-option
168
                         v-for="item in executionFrequencyOptions"
168
                         v-for="item in executionFrequencyOptions"
169
                         :key="item.id"
169
                         :key="item.id"

+ 6 - 6
src/xt_pages/sign/index.vue 查看文件

59
                     </div>
59
                     </div>
60
                     <div style="margin-bottom:12px;color:rgb(96,96,96);font-size:14px">
60
                     <div style="margin-bottom:12px;color:rgb(96,96,96);font-size:14px">
61
                      体温(℃):&nbsp;<el-input v-model="weigh_list.temperature" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
61
                      体温(℃):&nbsp;<el-input v-model="weigh_list.temperature" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
62
-                     脉搏(次/分):&nbsp;<el-input v-model="weigh_list.pulse_frequency" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
63
-                     呼吸(次/分):&nbsp;<el-input v-model="weigh_list.breathing_rate" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
64
-                     血压(mmHg):&nbsp;<el-input v-model="weigh_list.systolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input><span> / </span> <el-input v-model="weigh_list.diastolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
62
+                     <!-- 呼吸(次/分):&nbsp;<el-input v-model="weigh_list.breathing_rate" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp; -->
63
+                     血压(mmHg):&nbsp;<el-input v-model="weigh_list.systolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input><span> / </span> <el-input v-model="weigh_list.diastolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>&nbsp;&nbsp;&nbsp;
64
+                     脉率(次/分):&nbsp;<el-input v-model="weigh_list.pulse_frequency" :disabled="disa" style="width:70px"></el-input>
65
                     </div>
65
                     </div>
66
                     <div class="border"></div>
66
                     <div class="border"></div>
67
                     <div style="margin-bottom:20px;color:rgb(96,96,96);font-size:14px">
67
                     <div style="margin-bottom:20px;color:rgb(96,96,96);font-size:14px">
70
                     </div>
70
                     </div>
71
                     <div style="margin-bottom:12px;color:rgb(96,96,96);font-size:14px">
71
                     <div style="margin-bottom:12px;color:rgb(96,96,96);font-size:14px">
72
                       体温(℃):&nbsp;<el-input v-model="weigh_infor.temperature" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
72
                       体温(℃):&nbsp;<el-input v-model="weigh_infor.temperature" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
73
-                      脉搏(次/分):&nbsp;<el-input v-model="weigh_infor.pulse_frequency" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
74
-                      呼吸(次/分):&nbsp;<el-input v-model="weigh_infor.breathing_rate" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
75
-                      血压(mmHg):&nbsp;<el-input v-model="weigh_infor.systolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input> <span> / </span><el-input v-model="weigh_infor.diastolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
73
+                      <!-- 呼吸(次/分):&nbsp;<el-input v-model="weigh_infor.breathing_rate" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp; -->
74
+                      血压(mmHg):&nbsp;<el-input v-model="weigh_infor.systolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input> <span> / </span><el-input v-model="weigh_infor.diastolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>&nbsp;&nbsp;&nbsp;
75
+                      脉率(次/分):&nbsp;<el-input v-model="weigh_infor.pulse_frequency" :disabled="disa" style="width:70px"></el-input>
76
                     </div>
76
                     </div>
77
 
77
 
78
                     <div class="border"></div>
78
                     <div class="border"></div>

+ 32 - 27
src/xt_pages/user/doctorAdvice.vue 查看文件

4
         <div class="patient-app-container advice-container app-container">
4
         <div class="patient-app-container advice-container app-container">
5
             <div class="cellButton" style="float:right;">
5
             <div class="cellButton" style="float:right;">
6
               <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" size="small"   @click="openNew" type="primary" icon="el-icon-circle-plus-outline" >新增</el-button>
6
               <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" size="small"   @click="openNew" type="primary" icon="el-icon-circle-plus-outline" >新增</el-button>
7
-                <el-button size="small"  @click="printThisInfo()" :type="adviceType==1 || adviceType == 3?'primary':'warning'" icon="el-icon-printer" >打印</el-button>            
7
+                <el-button size="small"  @click="printThisInfo()" :type="adviceType==1 || adviceType == 3?'primary':'warning'" icon="el-icon-printer" >打印</el-button>
8
             </div>
8
             </div>
9
             <div class="cell clearfix">
9
             <div class="cell clearfix">
10
                 <el-input   style="width: 400px;" v-model="listQuery.keywords" class="filter-item" size="small" />
10
                 <el-input   style="width: 400px;" v-model="listQuery.keywords" class="filter-item" size="small" />
32
                 <span class="cellLine"> - </span>
32
                 <span class="cellLine"> - </span>
33
                 <el-date-picker size="small" v-model="listQuery.end_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" :picker-options="pickerOptions"  format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>
33
                 <el-date-picker size="small" v-model="listQuery.end_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" :picker-options="pickerOptions"  format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>
34
             </div>
34
             </div>
35
-            <el-table @cell-click="clickuseradvicecell" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"  row-class-name="user-advice-table-row" :span-method="mergeSpan" ref="multipleTable" :data="adviceTableData" border fit highlight-current-row @select="selectAdvice" @selection-change="changeAdvice" style="width: 100%;margin-top: 10px;" :cell-class-name="adviceNameShow" >
35
+            <el-table id="oictable" @cell-click="clickuseradvicecell" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"  row-class-name="user-advice-table-row" :span-method="mergeSpan" ref="multipleTable" :data="adviceTableData" border fit highlight-current-row @select="selectAdvice" @selection-change="changeAdvice" style="width: 100%;margin-top: 10px;" :cell-class-name="adviceNameShow" >
36
 
36
 
37
                 <el-table-column align="center" label="全选" width="60px" type="selection" fixed></el-table-column>
37
                 <el-table-column align="center" label="全选" width="60px" type="selection" fixed></el-table-column>
38
                 <!--<el-table-column type="index" :index="indexMethod"  label="序号" width="60px" align="center"></el-table-column>-->
38
                 <!--<el-table-column type="index" :index="indexMethod"  label="序号" width="60px" align="center"></el-table-column>-->
252
                         <el-col :span="5">
252
                         <el-col :span="5">
253
                             <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" round @click="openDeleteGroupAdvice()">删除医嘱内容</el-button>
253
                             <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" round @click="openDeleteGroupAdvice()">删除医嘱内容</el-button>
254
                         </el-col>
254
                         </el-col>
255
-                        
255
+
256
                     </el-row>
256
                     </el-row>
257
                     <el-row>
257
                     <el-row>
258
                       <el-col :span="24">
258
                       <el-col :span="24">
357
                             >{{scope.row.single_dose}}{{scope.row.single_dose_unit}}</span>
357
                             >{{scope.row.single_dose}}{{scope.row.single_dose_unit}}</span>
358
                             </template>
358
                             </template>
359
                         </el-table-column>
359
                         </el-table-column>
360
-                        <el-table-column label="给药途径" min-width="80" property="delivery_way" align="center">
360
+                        <el-table-column label="
361
+                        
362
+                        " min-width="80" property="delivery_way" align="center">
361
                             <template slot-scope="scope">
363
                             <template slot-scope="scope">
362
                             <span v-if="scope.row.parent_row==0">{{scope.row.delivery_way}}</span>
364
                             <span v-if="scope.row.parent_row==0">{{scope.row.delivery_way}}</span>
363
                             </template>
365
                             </template>
471
                     </el-row>
473
                     </el-row>
472
                     <el-row>
474
                     <el-row>
473
                         <el-col :span="12">
475
                         <el-col :span="12">
474
-                            <el-form-item label="给药途径 :" prop="delivery_way">
476
+                            <el-form-item label="给药途径 :" prop="delivery_way" >
475
                                 <el-select v-model="nameForm.delivery_way"  filterable clearable allow-create  :disabled='isChild' placeholder="请选择(输入可搜索)" style="width:100%" >
477
                                 <el-select v-model="nameForm.delivery_way"  filterable clearable allow-create  :disabled='isChild' placeholder="请选择(输入可搜索)" style="width:100%" >
476
                                     <el-option
478
                                     <el-option
477
                                     v-for="item in deliveryWayOptions"
479
                                     v-for="item in deliveryWayOptions"
519
                                 <el-date-picker type="date" readonly format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择日期" v-model="adviceForm.advice_date"  style="width: 100%;"></el-date-picker>
521
                                 <el-date-picker type="date" readonly format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择日期" v-model="adviceForm.advice_date"  style="width: 100%;"></el-date-picker>
520
                             </el-form-item>
522
                             </el-form-item>
521
                         </el-col>
523
                         </el-col>
522
-                    </el-row>
523
-                    <el-form-item label="开始时间 :" required prop="start_time">
524
-                        <el-date-picker type="datetime" format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss"  placeholder="选择时间" v-model="adviceForm.start_time" style="width:50%" :disabled="adviceForm.parent_id==0?false:true" ></el-date-picker>
525
-                    </el-form-item>
526
-                    <el-row>
524
+                    <el-col :span="12">
525
+                      <el-form-item label="开始时间 :" required prop="start_time" style="width:280px;">
526
+                          <el-date-picker type="datetime" format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss"  placeholder="选择时间" v-model="adviceForm.start_time"  :disabled="adviceForm.parent_id==0?false:true" ></el-date-picker>
527
+                      </el-form-item>
528
+                    </el-col>
527
                         <el-col :span="12">
529
                         <el-col :span="12">
528
                           <el-form-item label="医嘱内容 :" required prop="advice_name">
530
                           <el-form-item label="医嘱内容 :" required prop="advice_name">
529
                             <el-input v-model="adviceForm.advice_name" ></el-input>
531
                             <el-input v-model="adviceForm.advice_name" ></el-input>
543
 
545
 
544
                         <el-col :span="12">
546
                         <el-col :span="12">
545
                             <el-form-item label="药品规格 :" prop="drug_spec" >
547
                             <el-form-item label="药品规格 :" prop="drug_spec" >
546
-                                <el-col :span="8">
548
+                                <el-col :span="9">
547
                                     <el-input v-model="adviceForm.drug_spec"></el-input>
549
                                     <el-input v-model="adviceForm.drug_spec"></el-input>
548
                                 </el-col>
550
                                 </el-col>
549
-                                 <el-col class="line" :span="2">&nbsp;</el-col>
551
+                                 <el-col class="line" :span="1">&nbsp;</el-col>
550
                                 <el-col :span="14">
552
                                 <el-col :span="14">
551
                                     <el-select v-model="adviceForm.drug_spec_unit"  filterable clearable allow-create  placeholder="选择" >
553
                                     <el-select v-model="adviceForm.drug_spec_unit"  filterable clearable allow-create  placeholder="选择" >
552
                                         <el-option v-for="item in unitsOption" :key="item.id" :label="item.name " :value="item.name">
554
                                         <el-option v-for="item in unitsOption" :key="item.id" :label="item.name " :value="item.name">
556
                                 </el-col>
558
                                 </el-col>
557
                             </el-form-item>
559
                             </el-form-item>
558
                         </el-col>
560
                         </el-col>
559
-                    </el-row>
560
-
561
-                    <el-row>
561
+                  
562
                         <el-col :span="12">
562
                         <el-col :span="12">
563
                             <el-form-item label="单次用量 :" prop="single_dose" >
563
                             <el-form-item label="单次用量 :" prop="single_dose" >
564
-                                <el-col :span="8">
564
+                                <el-col :span="9">
565
                                     <el-input v-model="adviceForm.single_dose"></el-input>
565
                                     <el-input v-model="adviceForm.single_dose"></el-input>
566
                                 </el-col>
566
                                 </el-col>
567
-                                 <el-col class="line" :span="2">&nbsp;</el-col>
567
+                                 <el-col class="line" :span="1">&nbsp;</el-col>
568
                                 <el-col :span="14">
568
                                 <el-col :span="14">
569
                                     <!-- <el-input v-model="adviceForm.single_dose_unit" ></el-input> -->
569
                                     <!-- <el-input v-model="adviceForm.single_dose_unit" ></el-input> -->
570
 
570
 
578
                         </el-col>
578
                         </el-col>
579
                         <el-col :span="12">
579
                         <el-col :span="12">
580
                             <el-form-item label="开药数量 :" prop="prescribing_number">
580
                             <el-form-item label="开药数量 :" prop="prescribing_number">
581
-                                <el-col :span="8">
581
+                                <el-col :span="9">
582
                                     <el-input v-model="adviceForm.prescribing_number"></el-input>
582
                                     <el-input v-model="adviceForm.prescribing_number"></el-input>
583
                                 </el-col>
583
                                 </el-col>
584
-                                 <el-col class="line" :span="2">&nbsp;</el-col>
584
+                                 <el-col class="line" :span="1">&nbsp;</el-col>
585
                                 <el-col :span="14">
585
                                 <el-col :span="14">
586
-                                    <el-select v-model="adviceForm.prescribing_number_unit"  filterable clearable allow-create  placeholder="选择" >
586
+                                    <el-select v-model="adviceForm.prescribing_number_unit"   filterable clearable allow-create  placeholder="选择" >
587
                                         <el-option v-for="item in unitsOption" :key="item.id" :label="item.name " :value="item.name">
587
                                         <el-option v-for="item in unitsOption" :key="item.id" :label="item.name " :value="item.name">
588
                                         </el-option>
588
                                         </el-option>
589
                                     </el-select>
589
                                     </el-select>
592
                                 </el-col>
592
                                 </el-col>
593
                             </el-form-item>
593
                             </el-form-item>
594
                         </el-col>
594
                         </el-col>
595
-                    </el-row>
596
-                    <el-row>
595
+                    
597
                         <el-col :span="12">
596
                         <el-col :span="12">
598
-                            <el-form-item label="给药途径 :" prop="delivery_way">
599
-                                <el-select v-model="adviceForm.delivery_way" :disabled="adviceForm.parent_id==0?false:true" filterable clearable allow-create  placeholder="请选择(输入可搜索)" style="width:90%" >
597
+                            <el-form-item label="给药途径 :" prop="delivery_way" >
598
+                                <el-select v-model="adviceForm.delivery_way" :disabled="adviceForm.parent_id==0?false:true" filterable clearable allow-create  placeholder="请选择(输入可搜索)" style="width:100%" >
600
                                     <el-option
599
                                     <el-option
601
                                     v-for="item in deliveryWayOptions"
600
                                     v-for="item in deliveryWayOptions"
602
                                     :key="item.id"
601
                                     :key="item.id"
607
                             </el-form-item>
606
                             </el-form-item>
608
                         </el-col>
607
                         </el-col>
609
                         <el-col :span="12">
608
                         <el-col :span="12">
610
-                            <el-form-item label="执行频率 :" prop="execution_frequency">
611
-                                 <el-select v-model="adviceForm.execution_frequency" :disabled="adviceForm.parent_id==0?false:true" filterable clearable allow-create  placeholder="请选择(输入可搜索)" style="width:90%" >
609
+                            <el-form-item label="执行频率 :" prop="execution_frequency" style="width:100%;">
610
+                                 <el-select v-model="adviceForm.execution_frequency" :disabled="adviceForm.parent_id==0?false:true" filterable clearable allow-create  placeholder="请选择(输入可搜索)" style="width:100%" >
612
                                     <el-option
611
                                     <el-option
613
                                     v-for="item in executionFrequencyOptions"
612
                                     v-for="item in executionFrequencyOptions"
614
                                     :key="item.id"
613
                                     :key="item.id"
626
                     <el-form-item label="开嘱医生 :" >
625
                     <el-form-item label="开嘱医生 :" >
627
                         <span>{{adminusername}} </span>
626
                         <span>{{adminusername}} </span>
628
                     </el-form-item>
627
                     </el-form-item>
628
+                    
629
                 </el-form>
629
                 </el-form>
630
                 <div slot="footer" class="dialog-footer">
630
                 <div slot="footer" class="dialog-footer">
631
                     <template v-if="isEdit">
631
                     <template v-if="isEdit">
648
 
648
 
649
                 </el-form>
649
                 </el-form>
650
                 <div slot="footer" class="dialog-footer">
650
                 <div slot="footer" class="dialog-footer">
651
+                    <el-button  @click="dialogStopFormVisible = false">取消</el-button>                    
651
                     <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="submitStopAdvice('stopForm')">保 存</el-button>
652
                     <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="submitStopAdvice('stopForm')">保 存</el-button>
652
-                    <el-button type="primary" @click="dialogStopFormVisible = false">取消</el-button>
653
                 </div>
653
                 </div>
654
             </el-dialog>
654
             </el-dialog>
655
 
655
 
3029
 };
3029
 };
3030
 </script>
3030
 </script>
3031
 
3031
 
3032
+<style>
3033
+  #oictable ::-webkit-scrollbar {
3034
+    height: 15px;
3035
+  }
3036
+</style>
3032
 
3037
 
3033
 <style rel="stylesheet/scss" lang="scss" scoped>
3038
 <style rel="stylesheet/scss" lang="scss" scoped>
3034
 
3039
 

+ 28 - 18
src/xt_pages/user/inspection.vue 查看文件

5
       <el-row :gutter="20">
5
       <el-row :gutter="20">
6
         <el-col :span="7">
6
         <el-col :span="7">
7
           <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" :data="projects" border style="width: 100%" highlight-current-row @current-change="handleCurrentChange" ref="singleTable" >
7
           <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" :data="projects" border style="width: 100%" highlight-current-row @current-change="handleCurrentChange" ref="singleTable" >
8
-            <el-table-column label="检验检查项目">
8
+            <el-table-column label="检验检查项目" align="center">
9
               <el-table-column
9
               <el-table-column
10
                 prop="project_name"
10
                 prop="project_name"
11
                 label="检验项目"
11
                 label="检验项目"
31
           </div>
31
           </div>
32
           <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
32
           <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
33
             :data="items" border style="width: 100%" id="user-inspection-order"  >
33
             :data="items" border style="width: 100%" id="user-inspection-order"  >
34
-         
34
+
35
             <el-table-column
35
             <el-table-column
36
               prop="item_name"
36
               prop="item_name"
37
               label="检验项目"
37
               label="检验项目"
38
+              align="center"
38
               min-width="180">
39
               min-width="180">
39
               <template slot-scope="scope">
40
               <template slot-scope="scope">
40
                 {{scope.row.item_name}} {{scope.row.item_name_addition}}
41
                 {{scope.row.item_name}} {{scope.row.item_name_addition}}
43
             <el-table-column
44
             <el-table-column
44
               prop="name"
45
               prop="name"
45
               label="结果"
46
               label="结果"
47
+              align="center"
46
               min-width="80">
48
               min-width="80">
47
               <template slot-scope="scope">
49
               <template slot-scope="scope">
48
                 <span>{{scope.row.value}}</span>
50
                 <span>{{scope.row.value}}</span>
52
             <el-table-column
54
             <el-table-column
53
               prop="address"
55
               prop="address"
54
               label="参考值"
56
               label="参考值"
57
+              align="center"
55
               min-width="120">
58
               min-width="120">
56
               <template slot-scope="scope">
59
               <template slot-scope="scope">
57
                 <span v-if="scope.row.range_type==1">{{scope.row.range_min}}~{{scope.row.range_max}}</span>
60
                 <span v-if="scope.row.range_type==1">{{scope.row.range_min}}~{{scope.row.range_max}}</span>
61
             <el-table-column
64
             <el-table-column
62
               prop="unit"
65
               prop="unit"
63
               label="单位"
66
               label="单位"
67
+              align="center"
64
               min-width="80">
68
               min-width="80">
65
             </el-table-column>
69
             </el-table-column>
66
           </el-table>
70
           </el-table>
100
 
104
 
101
           <template v-for="(item, index) in form.formItem" >
105
           <template v-for="(item, index) in form.formItem" >
102
             <el-col :span="7" :key="index">
106
             <el-col :span="7" :key="index">
103
-              <el-form-item :label="item.item_name" v-if="item.range_type==1"  :key="item.item_id" :prop="'formItem.' + index + '.value'" 
107
+              <el-form-item :label="item.item_name" v-if="item.range_type==1"  :key="item.item_id" :prop="'formItem.' + index + '.value'"
104
              >
108
              >
105
                 <el-input placeholder="请填入" v-model="item.value" style="width:95%" type="number">
109
                 <el-input placeholder="请填入" v-model="item.value" style="width:95%" type="number">
106
                   <template slot="append">{{item.unit}}</template>
110
                   <template slot="append">{{item.unit}}</template>
107
                 </el-input>
111
                 </el-input>
108
-              </el-form-item> 
109
-              <el-form-item :label="item.item_name" v-else :key="item.item_id" :prop="'formItem.' + index + '.value'"  
112
+              </el-form-item>
113
+              <el-form-item :label="item.item_name" v-else :key="item.item_id" :prop="'formItem.' + index + '.value'"
110
               >
114
               >
111
                 <el-select  v-model="item.value" placeholder="请选择" style="width:95%">
115
                 <el-select  v-model="item.value" placeholder="请选择" style="width:95%">
112
                   <el-option
116
                   <el-option
116
                     :value="optionItem">
120
                     :value="optionItem">
117
                   </el-option>
121
                   </el-option>
118
                 </el-select>
122
                 </el-select>
119
-              </el-form-item> 
123
+              </el-form-item>
120
             </el-col>
124
             </el-col>
121
             <el-col :span="1" :key="'form-col'+index">&nbsp;</el-col>
125
             <el-col :span="1" :key="'form-col'+index">&nbsp;</el-col>
122
           </template>
126
           </template>
123
-          
127
+
124
         </el-row>
128
         </el-row>
125
-        
126
-        
129
+
130
+
127
       </el-form>
131
       </el-form>
128
       <div slot="footer" class="dialog-footer">
132
       <div slot="footer" class="dialog-footer">
129
         <el-button @click="dialogFormVisible = false">取 消</el-button>
133
         <el-button @click="dialogFormVisible = false">取 消</el-button>
180
   },
184
   },
181
   methods:{
185
   methods:{
182
     deleteInspection(){
186
     deleteInspection(){
183
-      
187
+
184
       if(this.project == null || this.itemDate == "") {
188
       if(this.project == null || this.itemDate == "") {
185
         this.$message.error("请先选择删除删除的记录");
189
         this.$message.error("请先选择删除删除的记录");
186
         return false;
190
         return false;
187
       }
191
       }
188
-      
192
+
189
       this.$confirm('确认删除此记录?', '删除', {
193
       this.$confirm('确认删除此记录?', '删除', {
190
           confirmButtonText: '确定',
194
           confirmButtonText: '确定',
191
           cancelButtonText: '取消',
195
           cancelButtonText: '取消',
203
                     type: "success",
207
                     type: "success",
204
                     duration: 2000
208
                     duration: 2000
205
                 });
209
                 });
206
-                
210
+
207
                 for( var index in this.projects) {
211
                 for( var index in this.projects) {
208
                   if (this.projects[index].project_id == params.project_id) {
212
                   if (this.projects[index].project_id == params.project_id) {
209
                     this.projects[index].count --;
213
                     this.projects[index].count --;
226
         this.$message.error("请先选择项目");
230
         this.$message.error("请先选择项目");
227
         return false;
231
         return false;
228
       }
232
       }
229
-      
233
+
230
       this.form.method = "edit";
234
       this.form.method = "edit";
231
       this.formTitle = "修改" + this.project.project_name;
235
       this.formTitle = "修改" + this.project.project_name;
232
       this.form.project_id = this.project.project_id;
236
       this.form.project_id = this.project.project_id;
268
         // formItem["value"] = '';
272
         // formItem["value"] = '';
269
         // if (formItem.range_type==2) {
273
         // if (formItem.range_type==2) {
270
         //   formItem["select_options"] = formItem.range_options.split(",");
274
         //   formItem["select_options"] = formItem.range_options.split(",");
271
-        // } 
275
+        // }
272
         this.form.formItem.push({
276
         this.form.formItem.push({
273
           id:    0,
277
           id:    0,
274
           project_id: this.project.inspection_reference[index].project_id,
278
           project_id: this.project.inspection_reference[index].project_id,
340
                   this.items.push(item);
344
                   this.items.push(item);
341
                 }
345
                 }
342
               }
346
               }
343
-              
347
+
344
               this.resetForm(formName);
348
               this.resetForm(formName);
345
               this.dialogFormVisible = false;
349
               this.dialogFormVisible = false;
346
 
350
 
421
                   this.items.push(item);
425
                   this.items.push(item);
422
                 }
426
                 }
423
               }
427
               }
424
-              
428
+
425
               this.resetForm(formName);
429
               this.resetForm(formName);
426
               this.dialogFormVisible = false;
430
               this.dialogFormVisible = false;
427
 
431
 
439
           return false;
443
           return false;
440
         }
444
         }
441
       });
445
       });
442
-      
446
+
443
     },
447
     },
444
     fetchInspectionReference(){
448
     fetchInspectionReference(){
445
       fetchInspectionReference(this.patientID).then(response=>{
449
       fetchInspectionReference(this.patientID).then(response=>{
480
         this.fetchPatientInspections(this.queryParams);
484
         this.fetchPatientInspections(this.queryParams);
481
       }
485
       }
482
     },
486
     },
483
-    
487
+
484
     handleCurrentChangePage(val) {
488
     handleCurrentChangePage(val) {
485
         this.itemLoading = true;
489
         this.itemLoading = true;
486
       this.queryParams.page = val;
490
       this.queryParams.page = val;
549
 };
553
 };
550
 </script>
554
 </script>
551
 
555
 
556
+<style>
557
+  #oictable ::-webkit-scrollbar {
558
+    height: 15px;
559
+  }
560
+</style>
561
+
552
 <style >
562
 <style >
553
 #user-inspection-order td {
563
 #user-inspection-order td {
554
     border-bottom:0px !important;
564
     border-bottom:0px !important;