|
@@ -104,8 +104,8 @@
|
104
|
104
|
<template slot-scope="scope">
|
105
|
105
|
<el-button size="mini" type="primary" v-if="scope.row.record_date < startUnix" :disabled="true">已过号</el-button>
|
106
|
106
|
<el-button size="mini" type="primary" v-if="scope.row.is_return == 1 && scope.row.record_date >= startUnix" @click ="toReturnPatient(scope.row.id)">退号</el-button>
|
107
|
|
- <el-button size="mini" type="primary" v-if="scope.row.is_return == 2" :disabled="true">已退号</el-button>
|
108
|
|
- <el-button size="mini" type="primary" v-if="scope.row.is_return == 3" >已就诊</el-button>
|
|
107
|
+ <el-button size="mini" type="primary" v-if="scope.row.record_date == startUnix && scope.row.is_return == 2" :disabled="true">已退号</el-button>
|
|
108
|
+ <el-button size="mini" type="primary" v-if="scope.row.record_date == startUnix && scope.row.is_return == 3" :disabled="true">已就诊</el-button>
|
109
|
109
|
<el-button size="mini" type="primary" @click="open(scope.row)">详情</el-button>
|
110
|
110
|
</template>
|
111
|
111
|
</el-table-column>
|
|
@@ -250,7 +250,7 @@ export default {
|
250
|
250
|
],
|
251
|
251
|
start_time:moment().format("YYYY-MM-DD"),
|
252
|
252
|
end_time:moment().format("YYYY-MM-DD"),
|
253
|
|
- limit:20,
|
|
253
|
+ limit:10,
|
254
|
254
|
page:1,
|
255
|
255
|
total:0,
|
256
|
256
|
departMent:[],
|
|
@@ -352,7 +352,8 @@ export default {
|
352
|
352
|
startUnix:'',
|
353
|
353
|
|
354
|
354
|
dialogVisible:false,
|
355
|
|
- form:{}
|
|
355
|
+ form:{},
|
|
356
|
+ is_Name:false
|
356
|
357
|
}
|
357
|
358
|
},
|
358
|
359
|
created(){
|
|
@@ -410,11 +411,11 @@ export default {
|
410
|
411
|
},
|
411
|
412
|
handleSizeChange(val) {
|
412
|
413
|
this.limit = val
|
413
|
|
- this.getList()
|
|
414
|
+ this.getlist()
|
414
|
415
|
},
|
415
|
416
|
handleCurrentChange(val) {
|
416
|
417
|
this.page = val
|
417
|
|
- this.getList()
|
|
418
|
+ this.getlist()
|
418
|
419
|
},
|
419
|
420
|
getlist(){
|
420
|
421
|
var params = {
|