|
@@ -84,7 +84,7 @@ export default {
|
|
tableData: [],
|
|
tableData: [],
|
|
// 分页数据
|
|
// 分页数据
|
|
paginationData: {
|
|
paginationData: {
|
|
- total: 10,
|
|
|
|
|
|
+ total: 0,
|
|
currentPage: 1,
|
|
currentPage: 1,
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
},
|
|
},
|
|
@@ -99,6 +99,27 @@ export default {
|
|
this.selectInfo();
|
|
this.selectInfo();
|
|
this.funQuery();
|
|
this.funQuery();
|
|
},
|
|
},
|
|
|
|
+ watch: {
|
|
|
|
+ $route(to, from) {
|
|
|
|
+ console.log(from.path, 'from', to.path,'to')
|
|
|
|
+ if (to.path === '/outpatientMedicalRecordDefectNumber' && from.path === '/outpatientControl') {
|
|
|
|
+ console.log(2222)
|
|
|
|
+ this.formData = {
|
|
|
|
+ dep_id: '',
|
|
|
|
+ startTime:'',
|
|
|
|
+ endTime:'',
|
|
|
|
+ sfzh: '',
|
|
|
|
+ doctor_id: ''
|
|
|
|
+ }
|
|
|
|
+ this.rule_id = this.$route.query.rule_id
|
|
|
|
+ this.formData.startTime = this.storageGet('start_time');
|
|
|
|
+ this.formData.endTime = this.storageGet('end_time');
|
|
|
|
+ this.paginationData.currentPage = 1
|
|
|
|
+ this.paginationData.pageSize = 10
|
|
|
|
+ this.funQuery();
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
// 导出
|
|
// 导出
|
|
onExport() {
|
|
onExport() {
|