@liuqiongqiong/vue-pages 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/pages/SettlementManagement/settlement/index.vue +30 -115
- package/src/pages/customerManagement/carePlan/index.vue +96 -342
- package/src/pages/nurse/personnel/index.vue +90 -275
- package/src/pages/nurseProjects/NursingProjects/index.vue +60 -241
|
@@ -3,56 +3,28 @@
|
|
|
3
3
|
<div class="filter-container">
|
|
4
4
|
<el-form ref="listQuery" :inline="true" :model="listQuery" class="demo-form-inline">
|
|
5
5
|
<el-form-item label="机构名称" prop="unitName">
|
|
6
|
-
<el-select
|
|
7
|
-
|
|
8
|
-
style="width: 100%"
|
|
9
|
-
clearable
|
|
10
|
-
filterable
|
|
11
|
-
size="small"
|
|
12
|
-
class="filter-item"
|
|
13
|
-
placeholder="请选择机构名称"
|
|
14
|
-
>
|
|
6
|
+
<el-select v-model="listQuery.unitName" style="width: 100%" clearable filterable size="small"
|
|
7
|
+
class="filter-item" placeholder="请选择机构名称">
|
|
15
8
|
<el-option v-for="(item, index) in institutionList" :key="index" :label="item.label" :value="item.label" />
|
|
16
9
|
</el-select>
|
|
17
10
|
<!-- <el-input size="small" clearable v-model="listQuery.unitName" placeholder="请输入机构名称"></el-input> -->
|
|
18
11
|
</el-form-item>
|
|
19
12
|
<el-form-item label="护理对象" prop="familyName">
|
|
20
|
-
<el-select
|
|
21
|
-
|
|
22
|
-
style="width: 100%"
|
|
23
|
-
clearable
|
|
24
|
-
filterable
|
|
25
|
-
size="small"
|
|
26
|
-
class="filter-item"
|
|
27
|
-
placeholder="请选择护理对象"
|
|
28
|
-
>
|
|
13
|
+
<el-select v-model="listQuery.familyName" style="width: 100%" clearable filterable size="small"
|
|
14
|
+
class="filter-item" placeholder="请选择护理对象">
|
|
29
15
|
<el-option v-for="(item, index) in customerData" :key="index" :label="item.label" :value="item.label" />
|
|
30
16
|
</el-select>
|
|
31
17
|
<!-- <el-input size="small" clearable v-model="listQuery.familyName" placeholder="请输入护理对象"></el-input> -->
|
|
32
18
|
</el-form-item>
|
|
33
19
|
<el-form-item label="护工姓名" prop="personName">
|
|
34
|
-
<el-select
|
|
35
|
-
|
|
36
|
-
style="width: 100%"
|
|
37
|
-
clearable
|
|
38
|
-
filterable
|
|
39
|
-
size="small"
|
|
40
|
-
class="filter-item"
|
|
41
|
-
placeholder="请选择姓名"
|
|
42
|
-
>
|
|
20
|
+
<el-select v-model="listQuery.personName" style="width: 100%" clearable filterable size="small"
|
|
21
|
+
class="filter-item" placeholder="请选择姓名">
|
|
43
22
|
<el-option v-for="(item, index) in renyuanxinxi" :key="index" :label="item.label" :value="item.value" />
|
|
44
23
|
</el-select>
|
|
45
24
|
</el-form-item>
|
|
46
25
|
<el-form-item label="计划时间" prop="playTime">
|
|
47
|
-
<el-date-picker
|
|
48
|
-
|
|
49
|
-
size="small"
|
|
50
|
-
value-format="yyyy-MM-dd"
|
|
51
|
-
type="daterange"
|
|
52
|
-
range-separator="至"
|
|
53
|
-
start-placeholder="开始日期"
|
|
54
|
-
end-placeholder="结束日期"
|
|
55
|
-
/>
|
|
26
|
+
<el-date-picker v-model="listQuery.playTime" size="small" value-format="yyyy-MM-dd" type="daterange"
|
|
27
|
+
range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
56
28
|
</el-form-item>
|
|
57
29
|
<el-form-item>
|
|
58
30
|
<el-button size="small" type="primary" @click="onSubmit">查询</el-button>
|
|
@@ -147,34 +119,16 @@
|
|
|
147
119
|
</template>
|
|
148
120
|
</el-table-column>
|
|
149
121
|
</el-table>
|
|
150
|
-
<pagination
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
:
|
|
154
|
-
:limit.sync="listQuery.size"
|
|
155
|
-
@pagination="getList"
|
|
156
|
-
/>
|
|
157
|
-
<el-dialog
|
|
158
|
-
:close-on-click-modal="false"
|
|
159
|
-
:close-on-press-escape="false"
|
|
160
|
-
:title="textMap[dialogStatus]"
|
|
161
|
-
:visible.sync="dialogFormVisible"
|
|
162
|
-
width="60%"
|
|
163
|
-
>
|
|
122
|
+
<pagination v-show="total > 0" :total="total" :page.sync="listQuery.pageNo" :limit.sync="listQuery.size"
|
|
123
|
+
@pagination="getList" />
|
|
124
|
+
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" :title="textMap[dialogStatus]"
|
|
125
|
+
:visible.sync="dialogFormVisible" width="60%">
|
|
164
126
|
<el-form ref="dataForm" :rules="rules" :model="temp" label-position="right" label-width="120px">
|
|
165
127
|
<el-row :gutter="20">
|
|
166
128
|
<el-col :span="12">
|
|
167
129
|
<el-form-item label="护理对象" prop="familyId">
|
|
168
|
-
<el-select
|
|
169
|
-
|
|
170
|
-
style="width: 100%"
|
|
171
|
-
clearable
|
|
172
|
-
filterable
|
|
173
|
-
size="small"
|
|
174
|
-
class="filter-item"
|
|
175
|
-
placeholder="选择护理对象"
|
|
176
|
-
@change="familyChange"
|
|
177
|
-
>
|
|
130
|
+
<el-select v-model="temp.familyId" style="width: 100%" clearable filterable size="small"
|
|
131
|
+
class="filter-item" placeholder="选择护理对象" @change="familyChange">
|
|
178
132
|
<el-option v-for="(item, index) in nurseObject" :key="index" :label="item.label" :value="item.value">
|
|
179
133
|
<span style="float: left">{{ item.label }}</span>
|
|
180
134
|
<span style="float: right; color: #8492a6; font-size: 13px">状态:{{ item.isDelete == "0" ? '正常' :
|
|
@@ -185,68 +139,31 @@
|
|
|
185
139
|
</el-col>
|
|
186
140
|
<el-col :span="12">
|
|
187
141
|
<el-form-item label="所属机构" prop="unitId">
|
|
188
|
-
<el-select
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
filterable
|
|
193
|
-
size="small"
|
|
194
|
-
class="filter-item"
|
|
195
|
-
placeholder="请选择所属机构"
|
|
196
|
-
>
|
|
197
|
-
<el-option
|
|
198
|
-
v-for="(item, index) in institutionArrData"
|
|
199
|
-
:key="index"
|
|
200
|
-
:label="item.label"
|
|
201
|
-
:value="item.value"
|
|
202
|
-
/>
|
|
142
|
+
<el-select v-model="temp.unitId" style="width: 100%" clearable filterable size="small" class="filter-item"
|
|
143
|
+
placeholder="请选择所属机构">
|
|
144
|
+
<el-option v-for="(item, index) in institutionArrData" :key="index" :label="item.label"
|
|
145
|
+
:value="item.value" />
|
|
203
146
|
</el-select>
|
|
204
147
|
</el-form-item>
|
|
205
148
|
</el-col>
|
|
206
149
|
<el-col :span="12">
|
|
207
150
|
<el-form-item label="计划开始日期" prop="startDate">
|
|
208
|
-
<el-date-picker
|
|
209
|
-
|
|
210
|
-
size="small"
|
|
211
|
-
format="yyyy 年 MM 月 dd 日"
|
|
212
|
-
value-format="yyyy-MM-dd"
|
|
213
|
-
style="width: 100%"
|
|
214
|
-
type="date"
|
|
215
|
-
placeholder="请选择计划开始日期"
|
|
216
|
-
/>
|
|
151
|
+
<el-date-picker v-model="temp.startDate" size="small" format="yyyy 年 MM 月 dd 日" value-format="yyyy-MM-dd"
|
|
152
|
+
style="width: 100%" type="date" placeholder="请选择计划开始日期" />
|
|
217
153
|
</el-form-item>
|
|
218
154
|
</el-col>
|
|
219
155
|
<el-col :span="12">
|
|
220
156
|
<el-form-item label="计划结束日期" prop="endDate">
|
|
221
|
-
<el-date-picker
|
|
222
|
-
|
|
223
|
-
size="small"
|
|
224
|
-
format="yyyy 年 MM 月 dd 日"
|
|
225
|
-
value-format="yyyy-MM-dd"
|
|
226
|
-
style="width: 100%"
|
|
227
|
-
type="date"
|
|
228
|
-
placeholder="请选择计划结束日期"
|
|
229
|
-
/>
|
|
157
|
+
<el-date-picker v-model="temp.endDate" size="small" format="yyyy 年 MM 月 dd 日" value-format="yyyy-MM-dd"
|
|
158
|
+
style="width: 100%" type="date" placeholder="请选择计划结束日期" />
|
|
230
159
|
</el-form-item>
|
|
231
160
|
</el-col>
|
|
232
161
|
<el-col :span="12">
|
|
233
162
|
<el-form-item label="护理内容" prop="projectPlanId">
|
|
234
|
-
<el-select
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
filterable
|
|
239
|
-
size="small"
|
|
240
|
-
class="filter-item"
|
|
241
|
-
placeholder="选择护理内容"
|
|
242
|
-
@change="NursingChange"
|
|
243
|
-
>
|
|
244
|
-
<el-option
|
|
245
|
-
v-for="(item, index) in NursingArrData"
|
|
246
|
-
:key="index"
|
|
247
|
-
:label="item.label"
|
|
248
|
-
:value="item.value"
|
|
249
|
-
/>
|
|
163
|
+
<el-select v-model="temp.projectPlanId" style="width: 100%" clearable filterable size="small"
|
|
164
|
+
class="filter-item" placeholder="选择护理内容" @change="NursingChange">
|
|
165
|
+
<el-option v-for="(item, index) in NursingArrData" :key="index" :label="item.label"
|
|
166
|
+
:value="item.value" />
|
|
250
167
|
</el-select>
|
|
251
168
|
</el-form-item>
|
|
252
169
|
</el-col>
|
|
@@ -257,15 +174,8 @@
|
|
|
257
174
|
</el-col>
|
|
258
175
|
<el-col :span="24">
|
|
259
176
|
<el-form-item label="协议文件" prop="pdfUrl">
|
|
260
|
-
<el-upload
|
|
261
|
-
|
|
262
|
-
:limit="1"
|
|
263
|
-
:data="FormData"
|
|
264
|
-
:before-upload="beforeAvatarUploada"
|
|
265
|
-
:http-request="handleFileUpload"
|
|
266
|
-
:file-list="fileList"
|
|
267
|
-
:on-preview="onPreview"
|
|
268
|
-
>
|
|
177
|
+
<el-upload action="#" :limit="1" :data="FormData" :before-upload="beforeAvatarUploada"
|
|
178
|
+
:http-request="handleFileUpload" :file-list="fileList" :on-preview="onPreview">
|
|
269
179
|
<el-button slot="trigger" size="small" type="primary">选取文件</el-button>
|
|
270
180
|
</el-upload>
|
|
271
181
|
</el-form-item>
|
|
@@ -276,18 +186,9 @@
|
|
|
276
186
|
</el-form-item>
|
|
277
187
|
</el-col>
|
|
278
188
|
<el-col :span="24">
|
|
279
|
-
<el-table
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
border
|
|
283
|
-
height="35vh"
|
|
284
|
-
:data="NursingData"
|
|
285
|
-
style="width: 100%"
|
|
286
|
-
:summary-method="getSummaries"
|
|
287
|
-
show-summary
|
|
288
|
-
row-key="projectId"
|
|
289
|
-
class="draggable-table"
|
|
290
|
-
>
|
|
189
|
+
<el-table ref="standTable" v-loading="NursingLoading" border height="35vh" :data="NursingData"
|
|
190
|
+
style="width: 100%" :summary-method="getSummaries" show-summary row-key="projectId"
|
|
191
|
+
class="draggable-table">
|
|
291
192
|
<el-table-column label="鼠标长按" width="100" align="center">
|
|
292
193
|
<el-button link type="text" size="small" :icon="'el-icon-s-operation'" class="handle">拖拽</el-button>
|
|
293
194
|
</el-table-column>
|
|
@@ -357,26 +258,15 @@
|
|
|
357
258
|
</el-button>
|
|
358
259
|
</div>
|
|
359
260
|
</el-dialog>
|
|
360
|
-
<el-dialog
|
|
361
|
-
:
|
|
362
|
-
:close-on-press-escape="false"
|
|
363
|
-
:title="'分配护工'"
|
|
364
|
-
:visible.sync="allocationDialogVisible"
|
|
365
|
-
width="45%"
|
|
366
|
-
>
|
|
261
|
+
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" :title="'分配护工'"
|
|
262
|
+
:visible.sync="allocationDialogVisible" width="45%">
|
|
367
263
|
<el-row :gutter="20">
|
|
368
264
|
<el-col :span="6" style="margin-bottom: 20px;">
|
|
369
265
|
<el-input v-model="searchContent" size="mini" placeholder="输入护工名称搜索" @input="selectTable" />
|
|
370
266
|
</el-col>
|
|
371
267
|
<el-col :span="24">
|
|
372
|
-
<el-table
|
|
373
|
-
|
|
374
|
-
border
|
|
375
|
-
height="50vh"
|
|
376
|
-
:data="checklist"
|
|
377
|
-
style="width: 100%"
|
|
378
|
-
@row-click="singleElection"
|
|
379
|
-
>
|
|
268
|
+
<el-table v-loading="allocationLoading" border height="50vh" :data="checklist" style="width: 100%"
|
|
269
|
+
@row-click="singleElection">
|
|
380
270
|
<el-table-column align="center" width="55" label="选择">
|
|
381
271
|
<template slot-scope="scope">
|
|
382
272
|
<!-- 可以手动的修改label的值,从而控制选择哪一项 -->
|
|
@@ -418,29 +308,15 @@
|
|
|
418
308
|
</div>
|
|
419
309
|
</el-dialog>
|
|
420
310
|
|
|
421
|
-
<el-dialog
|
|
422
|
-
:
|
|
423
|
-
:close-on-press-escape="false"
|
|
424
|
-
:title="title"
|
|
425
|
-
:visible.sync="SchedulingDialogVisible"
|
|
426
|
-
width="40%"
|
|
427
|
-
>
|
|
311
|
+
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" :title="title"
|
|
312
|
+
:visible.sync="SchedulingDialogVisible" width="40%">
|
|
428
313
|
<el-form ref="ruleForm" :model="ruleForm" label-position="right" label-width="100px">
|
|
429
314
|
<el-row :gutter="20">
|
|
430
315
|
<el-col :span="24">
|
|
431
316
|
<el-form-item label="排班时间">
|
|
432
|
-
<el-time-picker
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
size="small"
|
|
436
|
-
is-range
|
|
437
|
-
range-separator="至"
|
|
438
|
-
start-placeholder="开始时间"
|
|
439
|
-
format="HH:mm"
|
|
440
|
-
end-placeholder="结束时间"
|
|
441
|
-
placeholder="请选择服务时间"
|
|
442
|
-
value-format="HH:mm"
|
|
443
|
-
/>
|
|
317
|
+
<el-time-picker v-model="time" style="width: 80%" size="small" is-range range-separator="至"
|
|
318
|
+
start-placeholder="开始时间" format="HH:mm" end-placeholder="结束时间" placeholder="请选择服务时间"
|
|
319
|
+
value-format="HH:mm" />
|
|
444
320
|
</el-form-item>
|
|
445
321
|
</el-col>
|
|
446
322
|
<el-col :span="24">
|
|
@@ -499,99 +375,45 @@
|
|
|
499
375
|
</div>
|
|
500
376
|
</el-dialog>
|
|
501
377
|
|
|
502
|
-
<el-dialog
|
|
503
|
-
:
|
|
504
|
-
:close-on-press-escape="false"
|
|
505
|
-
:title="'详情'"
|
|
506
|
-
:visible.sync="detailsDialogVisible"
|
|
507
|
-
width="45%"
|
|
508
|
-
>
|
|
378
|
+
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" :title="'详情'"
|
|
379
|
+
:visible.sync="detailsDialogVisible" width="45%">
|
|
509
380
|
<el-form ref="dataForm" :rules="rules" :model="temp" label-position="right" label-width="120px">
|
|
510
381
|
<el-row :gutter="20">
|
|
511
382
|
<el-col :span="12">
|
|
512
383
|
<el-form-item label="护理对象" prop="familyId">
|
|
513
|
-
<el-select
|
|
514
|
-
|
|
515
|
-
style="width: 100%"
|
|
516
|
-
disabled
|
|
517
|
-
clearable
|
|
518
|
-
filterable
|
|
519
|
-
size="small"
|
|
520
|
-
class="filter-item"
|
|
521
|
-
placeholder="选择护理对象"
|
|
522
|
-
>
|
|
384
|
+
<el-select v-model="temp.familyId" style="width: 100%" disabled clearable filterable size="small"
|
|
385
|
+
class="filter-item" placeholder="选择护理对象">
|
|
523
386
|
<el-option v-for="(item, index) in nurseObject" :key="index" :label="item.label" :value="item.value" />
|
|
524
387
|
</el-select>
|
|
525
388
|
</el-form-item>
|
|
526
389
|
</el-col>
|
|
527
390
|
<el-col :span="12">
|
|
528
391
|
<el-form-item label="所属机构" prop="unitId">
|
|
529
|
-
<el-select
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
clearable
|
|
534
|
-
filterable
|
|
535
|
-
size="small"
|
|
536
|
-
class="filter-item"
|
|
537
|
-
placeholder="请选择所属机构"
|
|
538
|
-
>
|
|
539
|
-
<el-option
|
|
540
|
-
v-for="(item, index) in institutionArrData"
|
|
541
|
-
:key="index"
|
|
542
|
-
:label="item.label"
|
|
543
|
-
:value="item.value"
|
|
544
|
-
/>
|
|
392
|
+
<el-select v-model="temp.unitId" style="width: 100%" disabled clearable filterable size="small"
|
|
393
|
+
class="filter-item" placeholder="请选择所属机构">
|
|
394
|
+
<el-option v-for="(item, index) in institutionArrData" :key="index" :label="item.label"
|
|
395
|
+
:value="item.value" />
|
|
545
396
|
</el-select>
|
|
546
397
|
</el-form-item>
|
|
547
398
|
</el-col>
|
|
548
399
|
<el-col :span="12">
|
|
549
400
|
<el-form-item label="计划开始日期" prop="startDate">
|
|
550
|
-
<el-date-picker
|
|
551
|
-
|
|
552
|
-
size="small"
|
|
553
|
-
disabled
|
|
554
|
-
format="yyyy 年 MM 月 dd 日"
|
|
555
|
-
value-format="yyyy-MM-dd"
|
|
556
|
-
style="width: 100%"
|
|
557
|
-
type="date"
|
|
558
|
-
placeholder="请选择计划开始日期"
|
|
559
|
-
/>
|
|
401
|
+
<el-date-picker v-model="temp.startDate" size="small" disabled format="yyyy 年 MM 月 dd 日"
|
|
402
|
+
value-format="yyyy-MM-dd" style="width: 100%" type="date" placeholder="请选择计划开始日期" />
|
|
560
403
|
</el-form-item>
|
|
561
404
|
</el-col>
|
|
562
405
|
<el-col :span="12">
|
|
563
406
|
<el-form-item label="计划结束日期" prop="endDate">
|
|
564
|
-
<el-date-picker
|
|
565
|
-
|
|
566
|
-
size="small"
|
|
567
|
-
disabled
|
|
568
|
-
format="yyyy 年 MM 月 dd 日"
|
|
569
|
-
value-format="yyyy-MM-dd"
|
|
570
|
-
style="width: 100%"
|
|
571
|
-
type="date"
|
|
572
|
-
placeholder="请选择计划结束日期"
|
|
573
|
-
/>
|
|
407
|
+
<el-date-picker v-model="temp.endDate" size="small" disabled format="yyyy 年 MM 月 dd 日"
|
|
408
|
+
value-format="yyyy-MM-dd" style="width: 100%" type="date" placeholder="请选择计划结束日期" />
|
|
574
409
|
</el-form-item>
|
|
575
410
|
</el-col>
|
|
576
411
|
<el-col :span="12">
|
|
577
412
|
<el-form-item label="护理内容" prop="projectPlanId">
|
|
578
|
-
<el-select
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
clearable
|
|
583
|
-
filterable
|
|
584
|
-
size="small"
|
|
585
|
-
class="filter-item"
|
|
586
|
-
placeholder="选择护理内容"
|
|
587
|
-
@change="NursingChange"
|
|
588
|
-
>
|
|
589
|
-
<el-option
|
|
590
|
-
v-for="(item, index) in NursingArrData"
|
|
591
|
-
:key="index"
|
|
592
|
-
:label="item.label"
|
|
593
|
-
:value="item.value"
|
|
594
|
-
/>
|
|
413
|
+
<el-select v-model="temp.projectPlanId" style="width: 100%" disabled clearable filterable size="small"
|
|
414
|
+
class="filter-item" placeholder="选择护理内容" @change="NursingChange">
|
|
415
|
+
<el-option v-for="(item, index) in NursingArrData" :key="index" :label="item.label"
|
|
416
|
+
:value="item.value" />
|
|
595
417
|
</el-select>
|
|
596
418
|
</el-form-item>
|
|
597
419
|
</el-col>
|
|
@@ -607,16 +429,8 @@
|
|
|
607
429
|
</el-col>
|
|
608
430
|
<el-col :span="24">
|
|
609
431
|
<el-form-item label="协议文件" prop="pdfUrl">
|
|
610
|
-
<el-upload
|
|
611
|
-
|
|
612
|
-
disabled
|
|
613
|
-
:limit="1"
|
|
614
|
-
:data="FormData"
|
|
615
|
-
:before-upload="beforeAvatarUploada"
|
|
616
|
-
:http-request="handleFileUpload"
|
|
617
|
-
:file-list="fileList"
|
|
618
|
-
:on-preview="onPreview"
|
|
619
|
-
>
|
|
432
|
+
<el-upload action="#" disabled :limit="1" :data="FormData" :before-upload="beforeAvatarUploada"
|
|
433
|
+
:http-request="handleFileUpload" :file-list="fileList" :on-preview="onPreview">
|
|
620
434
|
<el-button slot="trigger" disabled size="small" type="primary">选取文件</el-button>
|
|
621
435
|
</el-upload>
|
|
622
436
|
</el-form-item>
|
|
@@ -627,29 +441,25 @@
|
|
|
627
441
|
<el-calendar v-model="calendarTime">
|
|
628
442
|
<template slot="dateCell" slot-scope="{ date, data }">
|
|
629
443
|
<div class="card-group">
|
|
630
|
-
<div
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
"
|
|
635
|
-
>
|
|
444
|
+
<div :class="data.isSelected
|
|
445
|
+
? 'card-calendar-text'
|
|
446
|
+
: 'card-calendar-text'
|
|
447
|
+
">
|
|
636
448
|
<span>{{ getTimeDate(data.day) }}</span>
|
|
637
449
|
<el-icon v-if="data.isSelected"><Select /></el-icon>
|
|
638
450
|
</div>
|
|
639
451
|
<span v-for="(item, index) in setData" :key="item.id" class="card">
|
|
640
452
|
<div v-if="item.clockDate === data.day" class="card-flag">
|
|
641
|
-
<div
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
"
|
|
652
|
-
>
|
|
453
|
+
<div :class="getDate < item.clockDate
|
|
454
|
+
? 'card-text5'
|
|
455
|
+
: compareDate(
|
|
456
|
+
item.timeSlot,
|
|
457
|
+
item.upCreateTime,
|
|
458
|
+
item.dnCreateTime
|
|
459
|
+
)
|
|
460
|
+
? ' card-text1'
|
|
461
|
+
: ' card-text2'
|
|
462
|
+
">
|
|
653
463
|
<span>{{ getTimeDate(data.day) }}</span>
|
|
654
464
|
<span v-if="item.timeSlot" style="font-weight: 500; font-size: 12px">排班:{{ item.timeSlot
|
|
655
465
|
}}</span>
|
|
@@ -696,22 +506,10 @@
|
|
|
696
506
|
</el-dialog>
|
|
697
507
|
<preview-file :file="file" />
|
|
698
508
|
|
|
699
|
-
<el-dialog
|
|
700
|
-
:close
|
|
701
|
-
:
|
|
702
|
-
|
|
703
|
-
:visible.sync="dialogVisibleExp"
|
|
704
|
-
width="30%"
|
|
705
|
-
:before-close="handleClose"
|
|
706
|
-
>
|
|
707
|
-
<el-form
|
|
708
|
-
ref="dataForm"
|
|
709
|
-
:model="exportTime"
|
|
710
|
-
:rules="rules"
|
|
711
|
-
class="demo-form-inline"
|
|
712
|
-
label-position="right"
|
|
713
|
-
label-width="90px"
|
|
714
|
-
>
|
|
509
|
+
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" title="导出" :visible.sync="dialogVisibleExp"
|
|
510
|
+
width="30%" :before-close="handleClose">
|
|
511
|
+
<el-form ref="dataForm" :model="exportTime" :rules="rules" class="demo-form-inline" label-position="right"
|
|
512
|
+
label-width="90px">
|
|
715
513
|
<el-row :gutter="20">
|
|
716
514
|
<el-col :span="24">
|
|
717
515
|
<el-form-item label="提示:">
|
|
@@ -720,29 +518,14 @@
|
|
|
720
518
|
</el-col>
|
|
721
519
|
<el-col :span="24">
|
|
722
520
|
<el-form-item label="时间">
|
|
723
|
-
<el-date-picker
|
|
724
|
-
|
|
725
|
-
style="width: 100%"
|
|
726
|
-
size="small"
|
|
727
|
-
type="daterange"
|
|
728
|
-
value-format="yyyy-MM-dd"
|
|
729
|
-
range-separator="至"
|
|
730
|
-
start-placeholder="开始日期"
|
|
731
|
-
end-placeholder="结束日期"
|
|
732
|
-
/>
|
|
521
|
+
<el-date-picker v-model="exportTime.startDate" style="width: 100%" size="small" type="daterange"
|
|
522
|
+
value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
733
523
|
</el-form-item>
|
|
734
524
|
</el-col>
|
|
735
525
|
<el-col v-if="this.expApiName == '护理计划信息'" :span="24">
|
|
736
526
|
<el-form-item label="护理对象">
|
|
737
|
-
<el-select
|
|
738
|
-
|
|
739
|
-
style="width: 100%"
|
|
740
|
-
clearable
|
|
741
|
-
filterable
|
|
742
|
-
size="small"
|
|
743
|
-
class="filter-item"
|
|
744
|
-
placeholder="选择护理对象"
|
|
745
|
-
>
|
|
527
|
+
<el-select v-model="exportTime.familyId" style="width: 100%" clearable filterable size="small"
|
|
528
|
+
class="filter-item" placeholder="选择护理对象">
|
|
746
529
|
<el-option v-for="(item, index) in nurseObject" :key="index" :label="item.label" :value="item.value" />
|
|
747
530
|
</el-select>
|
|
748
531
|
</el-form-item>
|
|
@@ -762,16 +545,8 @@
|
|
|
762
545
|
</span>
|
|
763
546
|
</el-dialog>
|
|
764
547
|
|
|
765
|
-
<el-dialog
|
|
766
|
-
|
|
767
|
-
:close-on-click-modal="false"
|
|
768
|
-
:close-on-press-escape="false"
|
|
769
|
-
title="打印"
|
|
770
|
-
:visible.sync="expObjVisible"
|
|
771
|
-
width="100%"
|
|
772
|
-
:before-close="handleClose"
|
|
773
|
-
top="3vh"
|
|
774
|
-
>
|
|
548
|
+
<el-dialog v-if="unitType == '机构护理'" :close-on-click-modal="false" :close-on-press-escape="false" title="打印"
|
|
549
|
+
:visible.sync="expObjVisible" width="100%" :before-close="handleClose" top="3vh">
|
|
775
550
|
<div id="printDom1" ref="printDom1" class="exptable" border="1">
|
|
776
551
|
<div class="thead">
|
|
777
552
|
{{ expObj.orderYearMonth }}
|
|
@@ -787,7 +562,7 @@
|
|
|
787
562
|
{{ expObj.personAge }}
|
|
788
563
|
</div>
|
|
789
564
|
<div class="title eight_label">参保类型</div>
|
|
790
|
-
<div class="eight_label"
|
|
565
|
+
<div class="eight_label">{{ expObj.medicalType }}</div>
|
|
791
566
|
|
|
792
567
|
<div class="title eight_label">制表人</div>
|
|
793
568
|
<div class="eight_label">{{ expObj.unitName }}</div>
|
|
@@ -850,16 +625,8 @@
|
|
|
850
625
|
</el-button>
|
|
851
626
|
</span>
|
|
852
627
|
</el-dialog>
|
|
853
|
-
<el-dialog
|
|
854
|
-
|
|
855
|
-
:close-on-click-modal="false"
|
|
856
|
-
:close-on-press-escape="false"
|
|
857
|
-
title="打印"
|
|
858
|
-
:visible.sync="expObjVisible"
|
|
859
|
-
width="100%"
|
|
860
|
-
:before-close="handleClose"
|
|
861
|
-
top="3vh"
|
|
862
|
-
>
|
|
628
|
+
<el-dialog v-if="unitType == '居家护理'" :close-on-click-modal="false" :close-on-press-escape="false" title="打印"
|
|
629
|
+
:visible.sync="expObjVisible" width="100%" :before-close="handleClose" top="3vh">
|
|
863
630
|
<div id="printDom1" ref="printDom1" class="exptable" border="1">
|
|
864
631
|
<div class="thead">
|
|
865
632
|
{{ expObj.orderYearMonth }}
|
|
@@ -875,7 +642,7 @@
|
|
|
875
642
|
{{ expObj.personAge }}
|
|
876
643
|
</div>
|
|
877
644
|
<div class="title eight_label">参保类型</div>
|
|
878
|
-
<div class="eight_label"
|
|
645
|
+
<div class="eight_label">{{ expObj.medicalType }}</div>
|
|
879
646
|
|
|
880
647
|
<div class="title eight_label">制表人</div>
|
|
881
648
|
<div class="eight_label">{{ expObj.unitName }}</div>
|
|
@@ -957,23 +724,10 @@
|
|
|
957
724
|
</span>
|
|
958
725
|
</el-dialog>
|
|
959
726
|
|
|
960
|
-
<el-dialog
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
:visible.sync="dialogVisible"
|
|
965
|
-
width="30%"
|
|
966
|
-
>
|
|
967
|
-
<el-select
|
|
968
|
-
v-model="projectList"
|
|
969
|
-
style="width: 100%"
|
|
970
|
-
clearable
|
|
971
|
-
filterable
|
|
972
|
-
size="small"
|
|
973
|
-
class="filter-item"
|
|
974
|
-
placeholder="请选择护理项组合"
|
|
975
|
-
multiple
|
|
976
|
-
>
|
|
727
|
+
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" title="新增护理项" :visible.sync="dialogVisible"
|
|
728
|
+
width="30%">
|
|
729
|
+
<el-select v-model="projectList" style="width: 100%" clearable filterable size="small" class="filter-item"
|
|
730
|
+
placeholder="请选择护理项组合" multiple>
|
|
977
731
|
<el-option v-for="(item, index) in institutionData" :key="index" :label="item.label" :value="item.value">
|
|
978
732
|
<span style="float: left">{{ item.label }}</span>
|
|
979
733
|
<span style="float: right; color: #8492a6; font-size: 13px">护理类型:{{ item.type == "01" ? "生活照料" : item.type ==
|
|
@@ -1199,7 +953,7 @@ export default {
|
|
|
1199
953
|
},
|
|
1200
954
|
computed: {
|
|
1201
955
|
ScheduleDate() {
|
|
1202
|
-
return function(item) {
|
|
956
|
+
return function (item) {
|
|
1203
957
|
let data
|
|
1204
958
|
if (item.clockDate && item.id) {
|
|
1205
959
|
data = item.clockDate < this.$moment().format('YYYY-MM-DD')
|
|
@@ -1210,19 +964,19 @@ export default {
|
|
|
1210
964
|
}
|
|
1211
965
|
},
|
|
1212
966
|
Summary() {
|
|
1213
|
-
return function(num, projectPrice3) {
|
|
967
|
+
return function (num, projectPrice3) {
|
|
1214
968
|
return (num * projectPrice3).toFixed(2)
|
|
1215
969
|
}
|
|
1216
970
|
},
|
|
1217
971
|
getTimeDate() {
|
|
1218
|
-
return function(day) {
|
|
972
|
+
return function (day) {
|
|
1219
973
|
if (day) {
|
|
1220
974
|
return this.$moment(day).format('MM月DD号')
|
|
1221
975
|
}
|
|
1222
976
|
}
|
|
1223
977
|
},
|
|
1224
978
|
setTimeDate() {
|
|
1225
|
-
return function(day) {
|
|
979
|
+
return function (day) {
|
|
1226
980
|
if (day) {
|
|
1227
981
|
return this.$moment(day).format('HH:mm:ss')
|
|
1228
982
|
}
|
|
@@ -1234,7 +988,7 @@ export default {
|
|
|
1234
988
|
},
|
|
1235
989
|
// 根据时间进行比较
|
|
1236
990
|
compareDate() {
|
|
1237
|
-
return function(d1, d2, d3) {
|
|
991
|
+
return function (d1, d2, d3) {
|
|
1238
992
|
if (d1) {
|
|
1239
993
|
var index = d1.lastIndexOf('-')
|
|
1240
994
|
var str1 = d1.substring(index + 1, d1.length) // 下班时间
|
|
@@ -1321,7 +1075,7 @@ export default {
|
|
|
1321
1075
|
// 数组去重
|
|
1322
1076
|
removeDataArr(arr) {
|
|
1323
1077
|
var obj = {}
|
|
1324
|
-
arr = arr.reduce(function(item, next) {
|
|
1078
|
+
arr = arr.reduce(function (item, next) {
|
|
1325
1079
|
obj[next.projectId]
|
|
1326
1080
|
? ''
|
|
1327
1081
|
: (obj[next.projectId] = true && item.push(next))
|