|
@@ -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>
|