|
@@ -12,6 +12,14 @@
|
12
|
12
|
@click="searchAction">
|
13
|
13
|
搜索
|
14
|
14
|
</el-button>
|
|
15
|
+ <!--<el-select v-model="is_put_on_record" style="width:160px;" placeholder="请选择" @change="changeStatus">-->
|
|
16
|
+ <!--<el-option-->
|
|
17
|
+ <!--v-for="item,index in datas"-->
|
|
18
|
+ <!--:key="index"-->
|
|
19
|
+ <!--:label="item.name"-->
|
|
20
|
+ <!--:value="item.id">-->
|
|
21
|
+ <!--</el-option>-->
|
|
22
|
+ <!--</el-select>-->
|
15
|
23
|
</div>
|
16
|
24
|
<!--<el-button size="small" type="primary" @click="dialogFormVisible = t 。rue">医保对账</el-button>-->
|
17
|
25
|
</div>
|
|
@@ -109,9 +117,12 @@
|
109
|
117
|
|
110
|
118
|
<el-table-column prop="date" label="操作" width="80" align="center" fixed="right">
|
111
|
119
|
<template slot-scope="scope">
|
112
|
|
- <el-button type="primary" size="small" icon="el-icon-refresh-left">
|
113
|
|
- <span v-if="scope.row.record.is_cancel == 0 ||scope.row.record.is_cancel == 2" @click="putOnRecord(1,scope.row)">备案</span>
|
114
|
|
- <span v-if="scope.row.record.is_cancel == 1" @click="putOnRecord(2,scope.row)">撤消</span>
|
|
120
|
+ <el-button type="primary" size="small" icon="el-icon-tickets" v-if="scope.row.record.is_cancel == 0 ||scope.row.record.is_cancel == 2" >
|
|
121
|
+ <span @click="putOnRecord(1,scope.row)">备案</span>
|
|
122
|
+ </el-button>
|
|
123
|
+
|
|
124
|
+ <el-button type="danger" size="small" icon="el-icon-tickets" v-if="scope.row.record.is_cancel == 1" >
|
|
125
|
+ <span @click="putOnRecord(2,scope.row)">撤消</span>
|
115
|
126
|
</el-button>
|
116
|
127
|
</template>
|
117
|
128
|
</el-table-column>
|
|
@@ -166,6 +177,19 @@
|
166
|
177
|
},
|
167
|
178
|
data() {
|
168
|
179
|
return {
|
|
180
|
+ is_put_on_record:0,
|
|
181
|
+ datas: [
|
|
182
|
+ {
|
|
183
|
+ id: 0,
|
|
184
|
+ name: '全部'
|
|
185
|
+ }, {
|
|
186
|
+ id: 1,
|
|
187
|
+ name: '已备案'
|
|
188
|
+ }, {
|
|
189
|
+ id: 2,
|
|
190
|
+ name: '未备案'
|
|
191
|
+ }
|
|
192
|
+ ],
|
169
|
193
|
currentObject: null,
|
170
|
194
|
crumbs: [
|
171
|
195
|
{ path: false, name: '门诊收费' },
|
|
@@ -254,6 +278,10 @@
|
254
|
278
|
}
|
255
|
279
|
},
|
256
|
280
|
methods: {
|
|
281
|
+ changeStatus(id){
|
|
282
|
+ this.keywords = ""
|
|
283
|
+ this.getList()
|
|
284
|
+ },
|
257
|
285
|
getName(value){
|
258
|
286
|
console.log(value)
|
259
|
287
|
for(let i = 0; i < this.insutype_arr.length; i++){
|
|
@@ -380,6 +408,26 @@
|
380
|
408
|
|
381
|
409
|
},
|
382
|
410
|
confirm() {
|
|
411
|
+ if(this.currentObject.record.doctor_id == '' || this.currentObject.record.doctor_id == 0){
|
|
412
|
+ this.$message.error("请选择医生")
|
|
413
|
+ return
|
|
414
|
+ }
|
|
415
|
+
|
|
416
|
+ if(this.currentObject.record.department_id == '' || this.currentObject.record.department_id == 0){
|
|
417
|
+ this.$message.error("请选择科室")
|
|
418
|
+ return
|
|
419
|
+ }
|
|
420
|
+
|
|
421
|
+ if(this.currentObject.record.sick_type == '' || this.currentObject.record.sick_type == 0){
|
|
422
|
+ this.$message.error("请选择疾病类型")
|
|
423
|
+ return
|
|
424
|
+ }
|
|
425
|
+
|
|
426
|
+ if(this.currentObject.record.insutype_value == '' || this.currentObject.record.insutype_value == 0){
|
|
427
|
+ this.$message.error("请选择险种")
|
|
428
|
+ return
|
|
429
|
+ }
|
|
430
|
+
|
383
|
431
|
let params = {
|
384
|
432
|
record_type: 0,
|
385
|
433
|
patient_id: this.currentObject.id,
|
|
@@ -407,8 +455,8 @@
|
407
|
455
|
that.dialogFormVisible = false
|
408
|
456
|
for (let i = 0; i < that.tableData.length; i++) {
|
409
|
457
|
if (that.tableData[i].id == that.currentObject.id) {
|
410
|
|
- that.tableData[i].record.is_cancel == 1
|
411
|
|
- that.tableData[i].record.id == response.data.data.result.id
|
|
458
|
+ that.tableData[i].record.is_cancel =response.data.data.result.is_cancel
|
|
459
|
+ that.tableData[i].record.id = response.data.data.result.id
|
412
|
460
|
that.tableData[i].record.trt_dcla_detl_sn = response.data.data.result.trt_dcla_detl_sn
|
413
|
461
|
that.tableData[i].record.psn_no = response.data.data.result.psn_no
|
414
|
462
|
that.tableData[i].record.doctor_id = response.data.data.result.doctor_id
|
|
@@ -453,7 +501,8 @@
|
453
|
501
|
let params = {
|
454
|
502
|
'page': this.page,
|
455
|
503
|
'limit': this.limit,
|
456
|
|
- 'keywords': this.keywords
|
|
504
|
+ 'keywords': this.keywords,
|
|
505
|
+ 'is_put_on_record':this.is_put_on_record
|
457
|
506
|
}
|
458
|
507
|
this.tableData = []
|
459
|
508
|
this.patientLoading = true
|
|
@@ -478,6 +527,10 @@
|
478
|
527
|
this.tableData[i].record.department_id = ''
|
479
|
528
|
}
|
480
|
529
|
|
|
530
|
+ if (this.tableData[i].record.sick_type == 0) {
|
|
531
|
+ this.tableData[i].record.sick_type = ''
|
|
532
|
+ }
|
|
533
|
+
|
481
|
534
|
}
|
482
|
535
|
|
483
|
536
|
}
|