|
@@ -10,12 +10,12 @@
|
10
|
10
|
:data="list"
|
11
|
11
|
border
|
12
|
12
|
style="width: 100%">
|
13
|
|
- <el-table-column prop="date" label="序号" width="50" align="center">
|
|
13
|
+ <el-table-column prop="date" label="序号" min-width="50" align="center">
|
14
|
14
|
<template slot-scope="scope" >
|
15
|
15
|
{{scope.$index + 1 }}
|
16
|
16
|
</template>
|
17
|
17
|
</el-table-column>
|
18
|
|
- <el-table-column prop="name" label="信息模块" width="100" align="center">
|
|
18
|
+ <el-table-column prop="name" label="信息模块" min-width="120" align="center">
|
19
|
19
|
<template slot-scope="scope" >
|
20
|
20
|
<span v-if="scope.row.module == 1">透析处方</span>
|
21
|
21
|
<span v-if="scope.row.module == 2">接诊评估</span>
|
|
@@ -27,53 +27,54 @@
|
27
|
27
|
<span v-if="scope.row.module == 8">透析下机</span>
|
28
|
28
|
<span v-if="scope.row.module == 9">透后评估</span>
|
29
|
29
|
<span v-if="scope.row.module == 10">治疗小结</span>
|
|
30
|
+ <span v-if="scope.row.module == 11">耗材出库</span>
|
30
|
31
|
</template>
|
31
|
32
|
</el-table-column>
|
32
|
|
- <el-table-column prop="address" label="患者姓名" width="100" align="center">
|
|
33
|
+ <el-table-column prop="address" label="患者姓名" min-width="100" align="center">
|
33
|
34
|
<template slot-scope="scope">
|
34
|
35
|
{{getPatientName(scope.row.patient_id) }}
|
35
|
36
|
</template>
|
36
|
37
|
</el-table-column>
|
37
|
|
- <el-table-column prop="date" label="治疗日期" width="100" align="center">
|
|
38
|
+ <el-table-column prop="date" label="治疗日期" min-width="100" align="center">
|
38
|
39
|
<template slot-scope="scope" >
|
39
|
40
|
{{getTimeOne(scope.row.record_date) }}
|
40
|
41
|
</template>
|
41
|
42
|
</el-table-column>
|
42
|
|
- <el-table-column prop="name" label="申请人" width="100" align="center">
|
|
43
|
+ <el-table-column prop="name" label="申请人" min-width="100" align="center">
|
43
|
44
|
<template slot-scope="scope">
|
44
|
45
|
{{getUserName(scope.row.creater) }}
|
45
|
46
|
</template>
|
46
|
47
|
</el-table-column>
|
47
|
|
- <el-table-column prop="address" label="申请时间" width="180" align="center">
|
|
48
|
+ <el-table-column prop="address" label="申请时间" min-width="150" align="center">
|
48
|
49
|
<template slot-scope="scope" >
|
49
|
|
- {{getTimeTwo(scope.row.record_date) }}
|
|
50
|
+ {{getTimeTwo(scope.row.application_date) }}
|
50
|
51
|
</template>
|
51
|
52
|
|
52
|
53
|
</el-table-column>
|
53
|
54
|
|
54
|
|
- <el-table-column prop="date" label="状态" width="100" align="center">
|
|
55
|
+ <el-table-column prop="date" label="状态" align="center" min-width="100">
|
55
|
56
|
<template slot-scope="scope" >
|
56
|
57
|
<span v-if="scope.row.application_status == 1">已审核</span>
|
57
|
58
|
<span v-if="scope.row.application_status == 2">未审核</span>
|
58
|
59
|
<span v-if="scope.row.application_status == 3">拒绝</span>
|
59
|
60
|
</template>
|
60
|
61
|
</el-table-column>
|
61
|
|
- <el-table-column prop="name" label="审批人" width="100" align="center">
|
|
62
|
+ <el-table-column prop="name" label="审批人" min-width="100" align="center">
|
62
|
63
|
<template slot-scope="scope" >
|
63
|
64
|
{{getUserName(scope.row.checker) }}
|
64
|
65
|
</template>
|
65
|
66
|
</el-table-column>
|
66
|
|
- <el-table-column prop="address" label="审批时间" width="180" align="center">
|
|
67
|
+ <el-table-column prop="address" label="审批时间" min-width="100" align="center">
|
67
|
68
|
<template slot-scope="scope">
|
68
|
69
|
{{getTimeOne(scope.row.check_time) }}
|
69
|
70
|
</template>
|
70
|
71
|
</el-table-column>
|
71
|
|
- <el-table-column prop="address" label="备注" width="180" align="center">
|
|
72
|
+ <el-table-column prop="address" label="备注" min-width="100" align="center">
|
72
|
73
|
<template slot-scope="scope">
|
73
|
74
|
{{scope.row.remark }}
|
74
|
75
|
</template>
|
75
|
76
|
</el-table-column>
|
76
|
|
- <el-table-column prop="address" label="操作" width="180" align="center">
|
|
77
|
+ <el-table-column prop="address" label="操作" min-width="150" align="center">
|
77
|
78
|
<template slot-scope="scope">
|
78
|
79
|
<el-tooltip
|
79
|
80
|
class="item"
|
|
@@ -111,7 +112,7 @@
|
111
|
112
|
<el-pagination
|
112
|
113
|
@size-change="handleSizeChange"
|
113
|
114
|
@current-change="handleCurrentChange"
|
114
|
|
- :page-size="5"
|
|
115
|
+ :page-size="10"
|
115
|
116
|
background
|
116
|
117
|
style="margin-top:20px;float: right"
|
117
|
118
|
:total="total"
|
|
@@ -123,12 +124,12 @@
|
123
|
124
|
:data="inforList"
|
124
|
125
|
border
|
125
|
126
|
style="width: 100%">
|
126
|
|
- <el-table-column prop="date" label="序号" width="50" align="center">
|
|
127
|
+ <el-table-column prop="date" label="序号" min-width="50" align="center">
|
127
|
128
|
<template slot-scope="scope" >
|
128
|
129
|
{{scope.$index + 1 }}
|
129
|
130
|
</template>
|
130
|
131
|
</el-table-column>
|
131
|
|
- <el-table-column prop="name" label="信息模块" width="100" align="center">
|
|
132
|
+ <el-table-column prop="name" label="信息模块" min-width="100" align="center">
|
132
|
133
|
<template slot-scope="scope" >
|
133
|
134
|
<span v-if="scope.row.module == 1">透析处方</span>
|
134
|
135
|
<span v-if="scope.row.module == 2">接诊评估</span>
|
|
@@ -140,48 +141,49 @@
|
140
|
141
|
<span v-if="scope.row.module == 8">透析下机</span>
|
141
|
142
|
<span v-if="scope.row.module == 9">透后评估</span>
|
142
|
143
|
<span v-if="scope.row.module == 10">治疗小结</span>
|
|
144
|
+ <span v-if="scope.row.module == 11">耗材出库</span>
|
143
|
145
|
</template>
|
144
|
146
|
</el-table-column>
|
145
|
|
- <el-table-column prop="address" label="患者姓名" width="100" align="center">
|
|
147
|
+ <el-table-column prop="address" label="患者姓名" min-width="100" align="center">
|
146
|
148
|
<template slot-scope="scope">
|
147
|
149
|
{{getPatientName(scope.row.patient_id) }}
|
148
|
150
|
</template>
|
149
|
151
|
</el-table-column>
|
150
|
|
- <el-table-column prop="date" label="治疗日期" width="100" align="center">
|
|
152
|
+ <el-table-column prop="date" label="治疗日期" min-width="100" align="center">
|
151
|
153
|
<template slot-scope="scope" >
|
152
|
154
|
{{getTimeOne(scope.row.record_date) }}
|
153
|
155
|
</template>
|
154
|
156
|
</el-table-column>
|
155
|
|
- <el-table-column prop="name" label="申请人" width="100" align="center">
|
|
157
|
+ <el-table-column prop="name" label="申请人" min-width="100" align="center">
|
156
|
158
|
<template slot-scope="scope">
|
157
|
159
|
{{getUserName(scope.row.creater) }}
|
158
|
160
|
</template>
|
159
|
161
|
</el-table-column>
|
160
|
|
- <el-table-column prop="address" label="申请时间" width="180" align="center">
|
|
162
|
+ <el-table-column prop="address" label="申请时间" min-width="180" align="center">
|
161
|
163
|
<template slot-scope="scope" >
|
162
|
|
- {{getTimeTwo(scope.row.record_date) }}
|
|
164
|
+ {{getTimeTwo(scope.row.application_date) }}
|
163
|
165
|
</template>
|
164
|
166
|
|
165
|
167
|
</el-table-column>
|
166
|
168
|
|
167
|
|
- <el-table-column prop="date" label="状态" width="100" align="center">
|
|
169
|
+ <el-table-column prop="date" label="状态" min-width="100" align="center">
|
168
|
170
|
<template slot-scope="scope" >
|
169
|
171
|
<span v-if="scope.row.application_status == 1">已审核</span>
|
170
|
172
|
<span v-if="scope.row.application_status == 2">未审核</span>
|
171
|
173
|
<span v-if="scope.row.application_status == 3">拒绝</span>
|
172
|
174
|
</template>
|
173
|
175
|
</el-table-column>
|
174
|
|
- <el-table-column prop="name" label="审批人" width="100" align="center">
|
|
176
|
+ <el-table-column prop="name" label="审批人" min-width="100" align="center">
|
175
|
177
|
<template slot-scope="scope" >
|
176
|
178
|
{{getUserName(scope.row.checker) }}
|
177
|
179
|
</template>
|
178
|
180
|
</el-table-column>
|
179
|
|
- <el-table-column prop="address" label="审批时间" width="180" align="center">
|
|
181
|
+ <el-table-column prop="address" label="审批时间" min-width="180" align="center">
|
180
|
182
|
<template slot-scope="scope">
|
181
|
183
|
{{getTimeOne(scope.row.check_time) }}
|
182
|
184
|
</template>
|
183
|
185
|
</el-table-column>
|
184
|
|
- <el-table-column prop="address" label="备注" width="260" align="center">
|
|
186
|
+ <el-table-column prop="address" label="备注" min-width="260" align="center">
|
185
|
187
|
<template slot-scope="scope">
|
186
|
188
|
{{scope.row.remark }}
|
187
|
189
|
</template>
|
|
@@ -190,12 +192,12 @@
|
190
|
192
|
|
191
|
193
|
</el-table>
|
192
|
194
|
<el-pagination
|
193
|
|
- @size-change="handleSizeChange"
|
194
|
|
- @current-change="handleCurrentChange"
|
195
|
|
- :page-size="5"
|
|
195
|
+ @size-change="handleSizeChangeOne"
|
|
196
|
+ @current-change="handleCurrentChangeOne"
|
|
197
|
+ :page-size="10"
|
196
|
198
|
background
|
197
|
199
|
style="margin-top:20px;float: right"
|
198
|
|
- :total="total"
|
|
200
|
+ :total="totalOne"
|
199
|
201
|
></el-pagination>
|
200
|
202
|
|
201
|
203
|
</el-tab-pane>
|
|
@@ -231,8 +233,7 @@
|
231
|
233
|
<el-dialog
|
232
|
234
|
title="信息归档设置"
|
233
|
235
|
:visible.sync="dialogVisible"
|
234
|
|
- width="30%"
|
235
|
|
- :before-close="handleClose">
|
|
236
|
+ width="30%">
|
236
|
237
|
<span>
|
237
|
238
|
<span>归档天数:</span> <el-input v-model="week_day" style="width:200px"></el-input>
|
238
|
239
|
</span>
|
|
@@ -270,7 +271,7 @@
|
270
|
271
|
},
|
271
|
272
|
methods: {
|
272
|
273
|
handleClick(val){
|
273
|
|
- console.log("val----------------",val)
|
|
274
|
+ this.getlist()
|
274
|
275
|
},
|
275
|
276
|
toSeeting(){
|
276
|
277
|
var params = {
|
|
@@ -296,7 +297,9 @@
|
296
|
297
|
SaveDialysisInformationSetting(params).then(response=>{
|
297
|
298
|
if(response.data.state == 1){
|
298
|
299
|
var informaitonSetting = response.data.data.informaitonSetting
|
|
300
|
+ this.$message.success("保存成功!")
|
299
|
301
|
this.dialogVisible = false
|
|
302
|
+ this.toSeeting()
|
300
|
303
|
}
|
301
|
304
|
})
|
302
|
305
|
},
|
|
@@ -305,6 +308,7 @@
|
305
|
308
|
limit:this.limit,
|
306
|
309
|
page:this.page
|
307
|
310
|
}
|
|
311
|
+ console.log("params23433232wo",params)
|
308
|
312
|
getDialysisInformationSetting(params).then(response=>{
|
309
|
313
|
if(response.data.state == 1){
|
310
|
314
|
var informaitonSetting = response.data.data.informaitonSetting
|
|
@@ -338,8 +342,7 @@
|
338
|
342
|
this.getlist()
|
339
|
343
|
},
|
340
|
344
|
getPatientName(patient_id){
|
341
|
|
- console.log("patinet_id---",patient_id)
|
342
|
|
- console.log("patients",this.patients)
|
|
345
|
+
|
343
|
346
|
var name = ""
|
344
|
347
|
for(let i=0;i<this.patients.length;i++){
|
345
|
348
|
if(patient_id == this.patients[i].id){
|
|
@@ -359,7 +362,7 @@
|
359
|
362
|
if(val == ""){
|
360
|
363
|
return ""
|
361
|
364
|
}else {
|
362
|
|
- return uParseTime(val, '{y}-{m}-{d} {h}:{i}:{s}')
|
|
365
|
+ return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
|
363
|
366
|
}
|
364
|
367
|
},
|
365
|
368
|
getUserName(admin_user_id){
|
|
@@ -423,12 +426,14 @@
|
423
|
426
|
}
|
424
|
427
|
});
|
425
|
428
|
}).catch(() => {});
|
426
|
|
- }
|
|
429
|
+ },
|
|
430
|
+
|
427
|
431
|
|
428
|
432
|
},
|
429
|
433
|
|
430
|
434
|
created(){
|
431
|
435
|
this.getlist()
|
|
436
|
+
|
432
|
437
|
}
|
433
|
438
|
};
|
434
|
439
|
</script>
|