|
@@ -4,7 +4,7 @@
|
4
|
4
|
<div class="patient-app-container advice-container app-container">
|
5
|
5
|
<div class="cellButton" style="float:right;">
|
6
|
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
|
8
|
</div>
|
9
|
9
|
<div class="cell clearfix">
|
10
|
10
|
<el-input style="width: 400px;" v-model="listQuery.keywords" class="filter-item" size="small" />
|
|
@@ -32,7 +32,7 @@
|
32
|
32
|
<span class="cellLine"> - </span>
|
33
|
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
|
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
|
37
|
<el-table-column align="center" label="全选" width="60px" type="selection" fixed></el-table-column>
|
38
|
38
|
<!--<el-table-column type="index" :index="indexMethod" label="序号" width="60px" align="center"></el-table-column>-->
|
|
@@ -247,12 +247,12 @@
|
247
|
247
|
<el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" round @click="openGroupAdvice(0)">新增医嘱内容</el-button>
|
248
|
248
|
</el-col>
|
249
|
249
|
<el-col :span="5">
|
250
|
|
- <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" round @click="openDeleteGroupAdvice()">删除医嘱内容</el-button>
|
|
250
|
+ <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" round @click="openGroupAdvice(1)">修改医嘱内容</el-button>
|
251
|
251
|
</el-col>
|
252
|
252
|
<el-col :span="5">
|
253
|
|
- <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" round @click="openGroupAdvice(1)">修改医嘱内容</el-button>
|
|
253
|
+ <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" round @click="openDeleteGroupAdvice()">删除医嘱内容</el-button>
|
254
|
254
|
</el-col>
|
255
|
|
-
|
|
255
|
+
|
256
|
256
|
</el-row>
|
257
|
257
|
<el-row>
|
258
|
258
|
<el-col :span="24">
|
|
@@ -357,7 +357,9 @@
|
357
|
357
|
>{{scope.row.single_dose}}{{scope.row.single_dose_unit}}</span>
|
358
|
358
|
</template>
|
359
|
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
|
363
|
<template slot-scope="scope">
|
362
|
364
|
<span v-if="scope.row.parent_row==0">{{scope.row.delivery_way}}</span>
|
363
|
365
|
</template>
|
|
@@ -471,7 +473,7 @@
|
471
|
473
|
</el-row>
|
472
|
474
|
<el-row>
|
473
|
475
|
<el-col :span="12">
|
474
|
|
- <el-form-item label="给药途径 :" prop="delivery_way">
|
|
476
|
+ <el-form-item label="给药途径 :" prop="delivery_way" >
|
475
|
477
|
<el-select v-model="nameForm.delivery_way" filterable clearable allow-create :disabled='isChild' placeholder="请选择(输入可搜索)" style="width:100%" >
|
476
|
478
|
<el-option
|
477
|
479
|
v-for="item in deliveryWayOptions"
|
|
@@ -519,11 +521,11 @@
|
519
|
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
|
522
|
</el-form-item>
|
521
|
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
|
529
|
<el-col :span="12">
|
528
|
530
|
<el-form-item label="医嘱内容 :" required prop="advice_name">
|
529
|
531
|
<el-input v-model="adviceForm.advice_name" ></el-input>
|
|
@@ -543,10 +545,10 @@
|
543
|
545
|
|
544
|
546
|
<el-col :span="12">
|
545
|
547
|
<el-form-item label="药品规格 :" prop="drug_spec" >
|
546
|
|
- <el-col :span="8">
|
|
548
|
+ <el-col :span="9">
|
547
|
549
|
<el-input v-model="adviceForm.drug_spec"></el-input>
|
548
|
550
|
</el-col>
|
549
|
|
- <el-col class="line" :span="2"> </el-col>
|
|
551
|
+ <el-col class="line" :span="1"> </el-col>
|
550
|
552
|
<el-col :span="14">
|
551
|
553
|
<el-select v-model="adviceForm.drug_spec_unit" filterable clearable allow-create placeholder="选择" >
|
552
|
554
|
<el-option v-for="item in unitsOption" :key="item.id" :label="item.name " :value="item.name">
|
|
@@ -556,15 +558,13 @@
|
556
|
558
|
</el-col>
|
557
|
559
|
</el-form-item>
|
558
|
560
|
</el-col>
|
559
|
|
- </el-row>
|
560
|
|
-
|
561
|
|
- <el-row>
|
|
561
|
+
|
562
|
562
|
<el-col :span="12">
|
563
|
563
|
<el-form-item label="单次用量 :" prop="single_dose" >
|
564
|
|
- <el-col :span="8">
|
|
564
|
+ <el-col :span="9">
|
565
|
565
|
<el-input v-model="adviceForm.single_dose"></el-input>
|
566
|
566
|
</el-col>
|
567
|
|
- <el-col class="line" :span="2"> </el-col>
|
|
567
|
+ <el-col class="line" :span="1"> </el-col>
|
568
|
568
|
<el-col :span="14">
|
569
|
569
|
<!-- <el-input v-model="adviceForm.single_dose_unit" ></el-input> -->
|
570
|
570
|
|
|
@@ -578,12 +578,12 @@
|
578
|
578
|
</el-col>
|
579
|
579
|
<el-col :span="12">
|
580
|
580
|
<el-form-item label="开药数量 :" prop="prescribing_number">
|
581
|
|
- <el-col :span="8">
|
|
581
|
+ <el-col :span="9">
|
582
|
582
|
<el-input v-model="adviceForm.prescribing_number"></el-input>
|
583
|
583
|
</el-col>
|
584
|
|
- <el-col class="line" :span="2"> </el-col>
|
|
584
|
+ <el-col class="line" :span="1"> </el-col>
|
585
|
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
|
587
|
<el-option v-for="item in unitsOption" :key="item.id" :label="item.name " :value="item.name">
|
588
|
588
|
</el-option>
|
589
|
589
|
</el-select>
|
|
@@ -592,11 +592,10 @@
|
592
|
592
|
</el-col>
|
593
|
593
|
</el-form-item>
|
594
|
594
|
</el-col>
|
595
|
|
- </el-row>
|
596
|
|
- <el-row>
|
|
595
|
+
|
597
|
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
|
599
|
<el-option
|
601
|
600
|
v-for="item in deliveryWayOptions"
|
602
|
601
|
:key="item.id"
|
|
@@ -607,8 +606,8 @@
|
607
|
606
|
</el-form-item>
|
608
|
607
|
</el-col>
|
609
|
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
|
611
|
<el-option
|
613
|
612
|
v-for="item in executionFrequencyOptions"
|
614
|
613
|
:key="item.id"
|
|
@@ -626,6 +625,7 @@
|
626
|
625
|
<el-form-item label="开嘱医生 :" >
|
627
|
626
|
<span>{{adminusername}} </span>
|
628
|
627
|
</el-form-item>
|
|
628
|
+
|
629
|
629
|
</el-form>
|
630
|
630
|
<div slot="footer" class="dialog-footer">
|
631
|
631
|
<template v-if="isEdit">
|
|
@@ -648,8 +648,8 @@
|
648
|
648
|
|
649
|
649
|
</el-form>
|
650
|
650
|
<div slot="footer" class="dialog-footer">
|
|
651
|
+ <el-button @click="dialogStopFormVisible = false">取消</el-button>
|
651
|
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
|
653
|
</div>
|
654
|
654
|
</el-dialog>
|
655
|
655
|
|
|
@@ -3029,6 +3029,11 @@ export default {
|
3029
|
3029
|
};
|
3030
|
3030
|
</script>
|
3031
|
3031
|
|
|
3032
|
+<style>
|
|
3033
|
+ #oictable ::-webkit-scrollbar {
|
|
3034
|
+ height: 15px;
|
|
3035
|
+ }
|
|
3036
|
+</style>
|
3032
|
3037
|
|
3033
|
3038
|
<style rel="stylesheet/scss" lang="scss" scoped>
|
3034
|
3039
|
|