|
@@ -38,45 +38,50 @@
|
38
|
38
|
</div>
|
39
|
39
|
<el-table :data="tableData" border style="width: 100%;" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
|
40
|
40
|
<el-table-column align="center" type="index" label="序号" width="60">
|
|
41
|
+ <template slot-scope="scope">
|
|
42
|
+ {{scope.$index+1}}
|
|
43
|
+ </template>
|
41
|
44
|
</el-table-column>
|
42
|
45
|
<el-table-column align="center" prop="name" label="时间" width="100">
|
43
|
|
- <template slot-scope="scope">{{ scope.row.create_time }}</template>
|
|
46
|
+ <template slot-scope="scope">{{ scope.row.record_date }}</template>
|
44
|
47
|
</el-table-column>
|
45
|
48
|
<el-table-column align="center" prop="dialysis_no" label="姓名" width="80">
|
46
|
49
|
<template slot-scope="scope">{{scope.row.name }}</template>
|
47
|
50
|
</el-table-column>
|
48
|
51
|
<el-table-column align="center" prop="name" label="科室" width="80">
|
49
|
|
- <template slot-scope="scope">{{ scope.row.department }}</template>
|
|
52
|
+ <template slot-scope="scope">{{ scope.row.departments }}</template>
|
50
|
53
|
</el-table-column>
|
51
|
54
|
<el-table-column align="center" prop="name" label="挂号类型" width="90">
|
52
|
55
|
<template slot-scope="scope">
|
53
|
|
- <span v-if="scope.row.register == 1">普通</span>
|
54
|
|
- <span v-if="scope.row.register == 2">主治</span>
|
55
|
|
- <span v-if="scope.row.register == 3">主任</span>
|
56
|
|
- <span v-if="scope.row.register == 4">免收诊金</span>
|
57
|
|
- <span v-if="scope.row.register == 5">专家</span>
|
|
56
|
+ <span v-if="scope.row.register_type == 1">普通</span>
|
|
57
|
+ <span v-if="scope.row.register_type == 2">主治</span>
|
|
58
|
+ <span v-if="scope.row.register_type == 3">主任</span>
|
|
59
|
+ <span v-if="scope.row.register_type == 4">免收诊金</span>
|
|
60
|
+ <span v-if="scope.row.register_type == 5">专家</span>
|
58
|
61
|
</template>
|
59
|
62
|
</el-table-column>
|
60
|
63
|
<el-table-column align="center" prop="name" label="就诊号" width="80">
|
61
|
|
- <template slot-scope="scope"></template>
|
|
64
|
+ <template slot-scope="scope">
|
|
65
|
+ {{scope.row.number}}
|
|
66
|
+ </template>
|
62
|
67
|
</el-table-column>
|
63
|
68
|
<el-table-column align="center" prop="name" label="证件号">
|
64
|
|
- <template slot-scope="scope">{{ scope.row.idCard }}</template>
|
|
69
|
+ <template slot-scope="scope">{{ scope.row.id_card_no }}</template>
|
65
|
70
|
</el-table-column>
|
66
|
71
|
<el-table-column align="center" label="患者保险类型" width="80">
|
67
|
|
- <!-- <template slot-scope="scope">{{ scope.row.name }}</template> -->
|
|
72
|
+ <template slot-scope="scope">{{ scope.row.id_type }}</template>
|
68
|
73
|
</el-table-column>
|
69
|
74
|
<el-table-column align="center" prop="name" label="医生" width="80">
|
70
|
|
- <template slot-scope="scope">{{ scope.row.doctor }}</template>
|
|
75
|
+ <template slot-scope="scope">{{ scope.row.admin_user_id }}</template>
|
71
|
76
|
</el-table-column>
|
72
|
77
|
<el-table-column align="center" prop="name" label="挂号费" width="70">
|
73
|
|
- <template slot-scope="scope">{{ scope.row.registrationFee }}</template>
|
|
78
|
+ <template slot-scope="scope">{{ scope.row.register_cost }}</template>
|
74
|
79
|
</el-table-column>
|
75
|
80
|
<el-table-column align="center" prop="name" label="诊疗费" width="70">
|
76
|
|
- <template slot-scope="scope">{{ scope.row.medicalExpenses }}</template>
|
|
81
|
+ <template slot-scope="scope">{{ scope.row.treatment_cost }}</template>
|
77
|
82
|
</el-table-column>
|
78
|
83
|
<el-table-column align="center" prop="name" label="工本费" width="70">
|
79
|
|
- <template slot-scope="scope">{{ scope.row.cost }}</template>
|
|
84
|
+ <template slot-scope="scope">{{ scope.row.cost_of_production }}</template>
|
80
|
85
|
</el-table-column>
|
81
|
86
|
<el-table-column align="center" prop="name" label="操作人" width="70">
|
82
|
87
|
<template slot-scope="scope">{{ $store.getters.xt_user.org.org_name }}</template>
|
|
@@ -187,7 +192,7 @@ export default {
|
187
|
192
|
|
188
|
193
|
},
|
189
|
194
|
getlist(){
|
190
|
|
- var params = {
|
|
195
|
+ var params = {
|
191
|
196
|
keyword:this.search_input,
|
192
|
197
|
start_time:this.start_time,
|
193
|
198
|
end_time:this.end_time,
|
|
@@ -200,8 +205,12 @@ export default {
|
200
|
205
|
if(response.data.state == 1){
|
201
|
206
|
var history = response.data.data.history
|
202
|
207
|
console.log("history",history)
|
|
208
|
+ this.tableData = history
|
203
|
209
|
var total = response.data.data.total
|
204
|
210
|
console.log("total",total)
|
|
211
|
+ var department = response.data.data.department
|
|
212
|
+ console.log("department",department)
|
|
213
|
+
|
205
|
214
|
}
|
206
|
215
|
})
|
207
|
216
|
|