XMLWAN пре 4 година
родитељ
комит
d2af214f1f

+ 46 - 0
src/api/doctorSchedule.js Прегледај датотеку

@@ -0,0 +1,46 @@
1
+import request from '@/utils/request'
2
+import { data } from 'autoprefixer'
3
+
4
+export function saveDoctorSchedules(params) {
5
+  return request({
6
+    url: '/api/schedules/savedoctorschedules',
7
+    methods: 'get',
8
+    params: params
9
+  })
10
+}
11
+
12
+export function getDoctorScheduleList(params) {
13
+  return request({
14
+    url: '/api/schedules/getdoctorschedulelist',
15
+    methods: 'get',
16
+    params: params
17
+  })
18
+}
19
+
20
+export function getScheduleDetail(id, params) {
21
+  return request({
22
+    url: '/api/schedules/getscheduledetail?id=' + id,
23
+    methods: 'get',
24
+    params: params
25
+  })
26
+}
27
+
28
+export function UpdateSchedule(params) {
29
+  return request({
30
+    url: '/api/schedules/updateschedule',
31
+    methods: 'get',
32
+    params: params
33
+  })
34
+}
35
+
36
+export function deleteScheduleById(id, orgid) {
37
+  const params = {
38
+    id: id,
39
+    orgid: orgid
40
+  }
41
+  return request({
42
+    url: '/api/schedule/deleteschedule',
43
+    methods: 'get',
44
+    params: params
45
+  })
46
+}

+ 396 - 62
src/xt_pages/medicalScheduling/class.vue Прегледај датотеку

@@ -8,38 +8,71 @@
8 8
         </div>
9 9
         <div class="app-container">
10 10
             <el-table :data="tableData" border style="width: 100%" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}" :row-style="{ color: '#303133' }">
11
-                <el-table-column prop="name" label="序号" width="80" align="center"></el-table-column>
12
-                <el-table-column prop="name" label="班种名称" width="100" align="center"></el-table-column>
13
-                <el-table-column prop="name" label="班种属性" width="100" align="center"></el-table-column>
14
-                <el-table-column prop="name" label="班种时间" width="200" align="center"></el-table-column>
15
-                <el-table-column prop="name" label="时长" width="80" align="center"></el-table-column>
16
-                <el-table-column prop="name" label="状态" width="80" align="center"></el-table-column>
17
-                <el-table-column prop="name" label="备注" align="center"></el-table-column>
11
+                <el-table-column prop="name" label="序号" width="80" align="center" type="index"></el-table-column>
12
+                <el-table-column prop="name" label="班种名称" width="100" align="center">
13
+                    <template slot-scope="scope">
14
+                        {{scope.row.class_name}}
15
+                    </template>
16
+                </el-table-column>
17
+                <el-table-column prop="name" label="班种属性" width="100" align="center">
18
+                    <template slot-scope="scope">
19
+                        {{scope.row.class_attributes}}
20
+                    </template> 
21
+                </el-table-column>
22
+                <el-table-column prop="name" label="班种时间" width="270" align="center">
23
+                   <template slot-scope="scope">
24
+                     <span>{{scope.row.timeone_start}} - {{scope.row.timeone_type}}{{scope.row.timeone_end}}</span>
25
+                     <span>&nbsp;&nbsp;</span>
26
+                     <span v-if="scope.row.timetwo_start!=''">{{scope.row.timetwo_start}} - {{scope.row.timetwo_type}}{{scope.row.timetwo_end}}</span> 
27
+                    </template> 
28
+                </el-table-column>
29
+                <el-table-column prop="name" label="时长" width="80" align="center">
30
+                    <template slot-scope="scope">
31
+                        {{scope.row.work_time}}
32
+                    </template> 
33
+                </el-table-column>
34
+                <el-table-column prop="name" label="备注" align="center">
35
+                     <template slot-scope="scope">
36
+                        {{scope.row.remarks}}
37
+                    </template> 
38
+                </el-table-column>
18 39
                 <el-table-column prop="name" label="操作" width="200" align="center">
19 40
                     <template slot-scope="scope">
20 41
                         <el-button
21 42
                         size="mini"
22 43
                         type="primary"
23
-                        @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
44
+                        @click="handleEdit(scope.row.id)">编辑</el-button>
24 45
                         <el-button
25 46
                         size="mini"
26 47
                         type="danger"
27
-                        @click="handleDelete(scope.$index, scope.row)">删除</el-button>
48
+                        @click="handleDelete(scope.row.id,scope.row.user_org_id)">删除</el-button>
28 49
                     </template>
29 50
                 </el-table-column>
30 51
             </el-table>
52
+
53
+             <el-pagination
54
+                @size-change="handleSizeChange"
55
+                @current-change="handleCurrentChange"
56
+                :page-sizes="[10, 20, 50, 100]"
57
+                :page-size="10"
58
+                background
59
+                style="margin-top:20px;float: right"
60
+                layout="total, sizes, prev, pager, next, jumper"
61
+                :total="total"
62
+             ></el-pagination>
63
+
64
+
31 65
             <el-dialog
32 66
                 title="新建班种"
33
-                width="660px"
67
+                width="800px"
34 68
                 :visible.sync="newVisible"
35
-                :before-close="_close"
36 69
             >
37
-                <el-form :model="form" :rules="rules" ref="form" label-width="90px">
38
-                <el-form-item label="角色名称 : " prop="name">
39
-                    <el-input v-model="form.name" placeholder="" maxlength="30"></el-input>
70
+             <el-form :model="form" :rules="rules" ref="form" label-width="90px">
71
+                <el-form-item label="班种名称 : " required prop="class_name">
72
+                    <el-input v-model="form.class_name" placeholder="" ></el-input>
40 73
                 </el-form-item>
41
-                <el-form-item label="班种属性 : " prop="type">
42
-                    <el-select v-model="form.type" placeholder="请选择">
74
+                <el-form-item label="班种属性 : " required  prop="class_attributes">
75
+                    <el-select v-model="form.class_attributes" placeholder="请选择">
43 76
                         <el-option
44 77
                         v-for="item in typeOptions"
45 78
                         :key="item.value"
@@ -48,10 +81,45 @@
48 81
                         </el-option>
49 82
                     </el-select>
50 83
                 </el-form-item>
51
-                <el-form-item label="班种时间1 : " prop="type">
84
+                <el-form-item label="班种时间1 : " required prop="timeone_start" label-width="100px">
85
+                    <el-time-select
86
+                    style="width:140px;"
87
+                    v-model="form.timeone_start"
88
+                    :picker-options="{
89
+                    start: '08:00',
90
+                    step: '00:15',
91
+                    end: '18:00'
92
+                    }"
93
+                    placeholder="选择时间">
94
+                    </el-time-select>
95
+                     ~
96
+                    <el-select style="width:100px;" v-model="form.timeone_type" placeholder="请选择">
97
+                        <el-option
98
+                        v-for="item in dayOptions"
99
+                        :key="item.value"
100
+                        :label="item.label"
101
+                        :value="item.value">
102
+                        </el-option>
103
+                    </el-select>
104
+                    <el-time-select
105
+                    style="width:140px;"
106
+                    v-model="form.timeone_end"
107
+                    :picker-options="{
108
+                    start: '08:00',
109
+                    step: '00:15',
110
+                    end: '18:00'
111
+                    }"
112
+                    placeholder="选择时间">
113
+                    </el-time-select>
114
+                   <div class="el-form-item__error" v-show="showError">
115
+                      请选择班种时间1
116
+                   </div>
117
+                </el-form-item>
118
+              
119
+                <el-form-item label="班种时间2 : " prop="type">
52 120
                     <el-time-select
53 121
                     style="width:140px;"
54
-                    v-model="form.startTime1"
122
+                    v-model="form.timetwo_start"
55 123
                     :picker-options="{
56 124
                     start: '08:00',
57 125
                     step: '00:15',
@@ -59,7 +127,7 @@
59 127
                     }"
60 128
                     placeholder="选择时间">
61 129
                     </el-time-select> ~
62
-                    <el-select style="width:100px;" v-model="form.day1" placeholder="请选择">
130
+                    <el-select style="width:100px;" v-model="form.timetwo_type" placeholder="请选择">
63 131
                         <el-option
64 132
                         v-for="item in dayOptions"
65 133
                         :key="item.value"
@@ -69,7 +137,7 @@
69 137
                     </el-select>
70 138
                     <el-time-select
71 139
                     style="width:140px;"
72
-                    v-model="form.endTime1"
140
+                    v-model="form.timetwo_end"
73 141
                     :picker-options="{
74 142
                     start: '08:00',
75 143
                     step: '00:15',
@@ -78,10 +146,84 @@
78 146
                     placeholder="选择时间">
79 147
                     </el-time-select>
80 148
                 </el-form-item>
149
+                <el-form-item label="上班时长 : ">
150
+                    <el-input v-model="form.work_time" placeholder="" maxlength="30"></el-input>
151
+                </el-form-item>
152
+                <el-form-item label="备注 : ">
153
+                    <el-input
154
+                    type="textarea"
155
+                    v-model="form.remarks"
156
+                    placeholder=""
157
+                    resize="none"
158
+                    rows="2"
159
+                    ></el-input>
160
+                </el-form-item>
161
+                </el-form>
162
+                <div slot="footer" class="dialog-footer">
163
+                <el-button @click="newVisible=false">取 消</el-button>
164
+                <el-button type="primary" @click="submitAction('form')">保 存</el-button>
165
+                </div>
166
+            </el-dialog>
167
+
168
+
169
+             <el-dialog
170
+                title="编辑班种"
171
+                width="800px"
172
+                :visible.sync="EditNewVisible"
173
+            >
174
+             <el-form :model="form" :rules="rules" ref="form" label-width="90px">
175
+                <el-form-item label="班种名称 : " required prop="class_name">
176
+                    <el-input v-model="form.class_name" placeholder="" ></el-input>
177
+                </el-form-item>
178
+                <el-form-item label="班种属性 : " required  prop="class_attributes">
179
+                    <el-select v-model="form.class_attributes" placeholder="请选择">
180
+                        <el-option
181
+                        v-for="item in typeOptions"
182
+                        :key="item.value"
183
+                        :label="item.label"
184
+                        :value="item.value">
185
+                        </el-option>
186
+                    </el-select>
187
+                </el-form-item>
188
+                <el-form-item label="班种时间1 : " required prop="timeone_start" label-width="100px">
189
+                    <el-time-select
190
+                    style="width:140px;"
191
+                    v-model="form.timeone_start"
192
+                    :picker-options="{
193
+                    start: '08:00',
194
+                    step: '00:15',
195
+                    end: '18:00'
196
+                    }"
197
+                    placeholder="选择时间">
198
+                    </el-time-select>
199
+                     ~
200
+                    <el-select style="width:100px;" v-model="form.timeone_type" placeholder="请选择">
201
+                        <el-option
202
+                        v-for="item in dayOptions"
203
+                        :key="item.value"
204
+                        :label="item.label"
205
+                        :value="item.value">
206
+                        </el-option>
207
+                    </el-select>
208
+                    <el-time-select
209
+                    style="width:140px;"
210
+                    v-model="form.timeone_end"
211
+                    :picker-options="{
212
+                    start: '08:00',
213
+                    step: '00:15',
214
+                    end: '18:00'
215
+                    }"
216
+                    placeholder="选择时间">
217
+                    </el-time-select>
218
+                   <div class="el-form-item__error" v-show="showError">
219
+                      请选择班种时间1
220
+                   </div>
221
+                </el-form-item>
222
+              
81 223
                 <el-form-item label="班种时间2 : " prop="type">
82 224
                     <el-time-select
83 225
                     style="width:140px;"
84
-                    v-model="form.startTime2"
226
+                    v-model="form.timetwo_start"
85 227
                     :picker-options="{
86 228
                     start: '08:00',
87 229
                     step: '00:15',
@@ -89,7 +231,7 @@
89 231
                     }"
90 232
                     placeholder="选择时间">
91 233
                     </el-time-select> ~
92
-                    <el-select style="width:100px;" v-model="form.day2" placeholder="请选择">
234
+                    <el-select style="width:100px;" v-model="form.timetwo_type" placeholder="请选择">
93 235
                         <el-option
94 236
                         v-for="item in dayOptions"
95 237
                         :key="item.value"
@@ -99,7 +241,7 @@
99 241
                     </el-select>
100 242
                     <el-time-select
101 243
                     style="width:140px;"
102
-                    v-model="form.endTime2"
244
+                    v-model="form.timetwo_end"
103 245
                     :picker-options="{
104 246
                     start: '08:00',
105 247
                     step: '00:15',
@@ -108,13 +250,13 @@
108 250
                     placeholder="选择时间">
109 251
                     </el-time-select>
110 252
                 </el-form-item>
111
-                <el-form-item label="上班时长 : " prop="name">
112
-                    <el-input v-model="form.duration" placeholder="" maxlength="30"></el-input>
253
+                <el-form-item label="上班时长 : ">
254
+                    <el-input v-model="form.work_time" placeholder="" maxlength="30"></el-input>
113 255
                 </el-form-item>
114 256
                 <el-form-item label="备注 : ">
115 257
                     <el-input
116 258
                     type="textarea"
117
-                    v-model="form.intro"
259
+                    v-model="form.remarks"
118 260
                     placeholder=""
119 261
                     resize="none"
120 262
                     rows="2"
@@ -122,8 +264,8 @@
122 264
                 </el-form-item>
123 265
                 </el-form>
124 266
                 <div slot="footer" class="dialog-footer">
125
-                <el-button @click="hide">取 消</el-button>
126
-                <el-button type="primary" @click="submitAction()">保 存</el-button>
267
+                <el-button @click="EditNewVisible=false">取 消</el-button>
268
+                <el-button type="primary" @click="UpdateSubmitAction('form')">保 存</el-button>
127 269
                 </div>
128 270
             </el-dialog>
129 271
         </div>
@@ -132,6 +274,7 @@
132 274
 
133 275
 
134 276
 <script>
277
+import {saveDoctorSchedules,getDoctorScheduleList,getScheduleDetail,UpdateSchedule,deleteScheduleById } from '@/api/doctorSchedule'
135 278
 import BreadCrumb from '@/xt_pages/components/bread-crumb'
136 279
 export default {
137 280
     components:{
@@ -143,48 +286,239 @@ export default {
143 286
                 { path: false, name: '医护排班' },
144 287
                 { path: '/medicalScheduling/index', name: '班种列表' }
145 288
             ],
146
-            tableData: [{
147
-                date: '2016-05-02',
148
-                name: '王小虎',
149
-                address: '上海市普陀区金沙江路 1518 弄'
150
-            }, {
151
-                date: '2016-05-04',
152
-                name: '王小虎',
153
-                address: '上海市普陀区金沙江路 1517 弄'
154
-            }, {
155
-                date: '2016-05-01',
156
-                name: '王小虎',
157
-                address: '上海市普陀区金沙江路 1519 弄'
158
-            }, {
159
-                date: '2016-05-03',
160
-                name: '王小虎',
161
-                address: '上海市普陀区金沙江路 1516 弄'
162
-            }],
289
+            tableData: [],
163 290
             newVisible:false,
291
+            EditNewVisible:false,
164 292
             form: {
165 293
                 id: 0,
166
-                name: "",
167
-                type:'',
168
-                startTime1:'',
169
-                day1:'',
170
-                endTime1:'',
171
-                startTime2:'',
172
-                day2:'',
173
-                endTime2:'',
174
-                duration:'',
175
-                intro: ""
294
+                class_name: "",
295
+                class_attributes:'',
296
+                timeone_start:'',
297
+                timeone_type:'',
298
+                timeone_end:'',
299
+                timetwo_start:'',
300
+                timetwo_type:'',
301
+                timetwo_end:'',
302
+                work_time:'',
303
+                remarks: "",
304
+                user_org_id:0,
176 305
             },
177 306
             rules: {
178
-                name: [
179
-                { required: true, message: "请输入角色名称", trigger: "blur" },
180
-                { max: 10, message: "10个字以内", trigger: "blur" }
181
-                ]
182
-                // intro: [{ required: true, message: '请输入角色说明', trigger: 'blur' }]
307
+              class_name: [{ required: true, message: "请输入班种名称", trigger: "blur" }],
308
+              class_attributes: [{ required: true, message: "请选择班种属性", trigger: "blur" }],  
309
+              timeone_start: [{ required: true, message: "请选择班种时间1", trigger: "blur" }], 
310
+              timeone_type: [{ required: true, message: "请选择班种时间1类型", trigger: "blur" }], 
311
+              timeone_end: [{ required: true, message: "请选择班种时间1结束时间", trigger: "blur" }], 
183 312
             },
184 313
             typeOptions:[{ value: 1, label: '出勤'},{ value: 2, label: '缺勤'}],
185
-            dayOptions:[{ value: 1, label: '当日'},{ value: 2, label: '次日'}]
186
-
314
+            dayOptions:[{ value: 1, label: '当日'},{ value: 2, label: '次日'}],
315
+            showError:false,
316
+            limit:10,
317
+            page:1,
318
+            total:0
187 319
         }
320
+    },
321
+    methods:{
322
+        submitAction(formName){
323
+           if(this.form.timeone_type ==""){
324
+              this.showError = true
325
+              return false
326
+           }
327
+           
328
+           if(this.form.timeone_end == ""){
329
+              this.showError = true
330
+              return false
331
+           }
332
+          const params = {
333
+             class_name:this.form.class_name,
334
+             class_attributes:this.form.class_attributes,
335
+             timeone_start:this.form.timeone_start,
336
+             timeone_type:this.form.timeone_type,
337
+             timeone_end:this.form.timeone_end,
338
+             timetwo_start:this.form.timetwo_start,
339
+             timetwo_type:this.form.timetwo_type,
340
+             timetwo_end:this.form.timetwo_end,
341
+             work_time:this.form.work_time,
342
+             remarks:this.form.remarks
343
+         }
344
+         this.$refs[formName].validate((valid=>{
345
+            if(valid){
346
+                saveDoctorSchedules(params).then(response=>{
347
+                  if(response.data.state == 1){
348
+                    var schedules = response.data.data.schedules
349
+                    this.newVisible = false
350
+                    this.$message.success("保存成功")
351
+                    this.getList()
352
+                    this.form.class_name = ""
353
+                    this.form.class_attributes = ""
354
+                    this.form.timeone_start = ""
355
+                    this.form.timeone_type =""
356
+                    this.form.timeone_end = ""
357
+                    this.form.timetwo_start = ""
358
+                    this.form.timetwo_type = ""
359
+                    this.form.timetwo_end=""
360
+                    this.form.work_time = ""
361
+                    this.form.remarks = ""
362
+                  }
363
+               })
364
+             }
365
+          }))
366
+        },
367
+        getList(){
368
+            const params = {
369
+              limit:this.limit,
370
+              page:this.page,         
371
+            }
372
+           getDoctorScheduleList(params).then(response=>{
373
+              if(response.data.state == 1){
374
+                 var schedules = response.data.data.schedules
375
+                  console.log("schedules",schedules)
376
+                 for(let i=0;i<schedules.length;i++){
377
+                    if(schedules[i].class_attributes == 1){
378
+                        schedules[i].class_attributes ="出勤"
379
+                    }
380
+                    if(schedules[i].class_attributes == 2){
381
+                        schedules[i].class_attributes ="缺勤"
382
+                    }
383
+
384
+                    if(schedules[i].timeone_type == 0){
385
+                       schedules[i].timeone_type = ""
386
+                    }
387
+                    if(schedules[i].timeone_type == 1){
388
+                       schedules[i].timeone_type = "当日"
389
+                    }
390
+                    if(schedules[i].timeone_type == 2){
391
+                       schedules[i].timeone_type = "次日"
392
+                    }
393
+                    if(schedules[i].timetwo_type == 0){
394
+                       schedules[i].timetwo_type = ""
395
+                    }
396
+                    if(schedules[i].timetwo_type == 1){
397
+                       schedules[i].timetwo_type = "当日"
398
+                    }
399
+                    if(schedules[i].timetwo_type == 2){
400
+                       schedules[i].timetwo_type = "次日"
401
+                    }
402
+                 }
403
+             
404
+                 this.tableData = schedules
405
+                 var total =  response.data.data.total
406
+                 this.total = total
407
+              }
408
+           })
409
+        },
410
+       handleSizeChange(limit) {
411
+        this.limit = limit;
412
+        this.getList();
413
+      },
414
+        handleCurrentChange(page) {
415
+         this.page = page;
416
+         this.getList();
417
+      },
418
+
419
+      handleEdit(id){
420
+        this.EditNewVisible = true
421
+        getScheduleDetail(id).then(response=>{
422
+           if(response.data.state == 1){
423
+             var scheduleDetail = response.data.data.scheduleDetail
424
+             console.log("scheduledetail",scheduleDetail)
425
+             this.form.id = scheduleDetail.id
426
+             this.form.class_name = scheduleDetail.class_name
427
+             this.form.class_attributes = scheduleDetail.class_attributes
428
+             this.form.timeone_start = scheduleDetail.timeone_start
429
+             this.form.timeone_end = scheduleDetail.timeone_end
430
+             if(scheduleDetail.timeone_type == 0){
431
+                this.form.timeone_type = ""
432
+             }else{
433
+                this.form.timeone_type = scheduleDetail.timeone_type
434
+             }       
435
+             this.form.timetwo_start =scheduleDetail.timetwo_start
436
+             this.form.timetwo_end = scheduleDetail.timetwo_end
437
+              if(scheduleDetail.timetwo_type == 0){
438
+                this.form.timetwo_type = ""
439
+             }else{
440
+                this.form.timetwo_type = scheduleDetail.timetwo_type
441
+             }
442
+             this.form.work_time = scheduleDetail.work_time
443
+             this.form.remarks = scheduleDetail.remarks
444
+             this.form.user_org_id = scheduleDetail.user_org_id
445
+             this.$forceUpdate()
446
+           }
447
+        })
448
+      },
449
+      UpdateSubmitAction(formName){
450
+           if(this.form.timeone_type ==""){
451
+              this.showError = true
452
+              return false
453
+           }
454
+           
455
+           if(this.form.timeone_end == ""){
456
+              this.showError = true
457
+              return false
458
+           }
459
+          const params = {
460
+              id:this.form.id,
461
+             class_name:this.form.class_name,
462
+             class_attributes:this.form.class_attributes,
463
+             timeone_start:this.form.timeone_start,
464
+             timeone_type:this.form.timeone_type,
465
+             timeone_end:this.form.timeone_end,
466
+             timetwo_start:this.form.timetwo_start,
467
+             timetwo_type:this.form.timetwo_type,
468
+             timetwo_end:this.form.timetwo_end,
469
+             work_time:this.form.work_time,
470
+             remarks:this.form.remarks,
471
+             user_org_id:this.form.user_org_id,
472
+         }
473
+        this.$refs[formName].validate(valid=>{
474
+          if(valid){
475
+            UpdateSchedule(params).then(response=>{
476
+             if(response.data.state == 1){
477
+                var schedules =  response.data.data.schedules
478
+                 this.$message.success("修改成功")
479
+                 this.EditNewVisible = false
480
+                 this.getList()
481
+                 
482
+               }
483
+             })
484
+          }
485
+        })
486
+      },
487
+      handleDelete(id,orgid){
488
+        this.$confirm(
489
+          '确认要删除所选记录吗? <br>删除后,信息将无法恢复',
490
+          '删除提示',
491
+          {
492
+            dangerouslyUseHTMLString: true,
493
+            confirmButtonText: '确定',
494
+            cancelButtonText: '取消',
495
+            type: 'warning'
496
+          }
497
+        ).then(()=>{
498
+           deleteScheduleById(id,orgid).then(response=>{
499
+              if(response.data.state == 1){
500
+                var msg = response.data.data.msg
501
+                this.$message.success("删除成功")
502
+                this.getList()
503
+              }
504
+           }) 
505
+        })
506
+      }
507
+    },
508
+    created(){
509
+        //获取班种列表
510
+        this.getList()
188 511
     }
189 512
 }
190 513
 </script>
514
+<style scoped>
515
+  .el-form-item__error{
516
+    color: #F56C6C;
517
+    font-size: 12px;
518
+    line-height: 1;
519
+    padding-top: 4px;
520
+    position: absolute;
521
+    top: 100%;
522
+    left: 0;
523
+  }
524
+</style>

+ 6 - 1
src/xt_pages/medicalScheduling/index.vue Прегледај датотеку

@@ -40,7 +40,9 @@
40 40
             <div style="display:flex;justify-content: space-between;">
41 41
                 <div style="width: 70%">
42 42
                     <el-table :data="tableData" border :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}" :row-style="{ color: '#303133' }">
43
-                        <el-table-column prop="name" label="医护姓名" style="width:16%" align="center"></el-table-column>
43
+                        <el-table-column prop="name" label="医护姓名" style="width:16%" align="center">
44
+
45
+                        </el-table-column>
44 46
                         <el-table-column prop="name" label="周一" style="width:14%" align="center"></el-table-column>
45 47
                         <el-table-column prop="name" label="周二" style="width:14%" align="center"></el-table-column>
46 48
                         <el-table-column prop="name" label="周三" style="width:14%" align="center"></el-table-column>
@@ -122,6 +124,9 @@ export default {
122 124
                 // query: { date: date }
123 125
             })
124 126
         }
127
+    },
128
+    created(){
129
+        
125 130
     }
126 131
 }
127 132
 </script>