| | |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-view" |
| | | @click="handleDetail(scope.row.id)" |
| | | @click="handleDetail(scope.row)" |
| | | >详细 |
| | | </el-button> |
| | | </div> |
| | |
| | | this.date = year + '-' + month; |
| | | this.queryParams.date = this.date; |
| | | let examineTag = this.$route.query.examineTag; |
| | | if (examineTag === '2') { |
| | | examineTag = '0' |
| | | } |
| | | if (examineTag === '3') { |
| | | if (examineTag === '2' || examineTag === '3') { |
| | | examineTag = '1' |
| | | } |
| | | if (examineTag === '4' || examineTag === '5') { |
| | | examineTag = '2' |
| | | } |
| | | this.queryParams.examineTag = examineTag; |
| | | this.queryParamsList.examineTag = examineTag; |
| | |
| | | handleCurrentChange(val) { |
| | | console.log(`当前页: ${val}`); |
| | | }, |
| | | handleDetail(id) { |
| | | handleDetail(row) { |
| | | this.$router.push({ |
| | | path: '/check/detail/detail', |
| | | query: { |
| | | id: id, |
| | | id: row.id, |
| | | examineTag: this.activeIndex, |
| | | examineCategory: row.examineCategory, |
| | | deptId: this.queryParamsList.deptId |
| | | } |
| | | }) |
| | |
| | | |
| | | dateChange() { |
| | | this.queryParams.date = this.date; |
| | | console.log(this.queryParams); |
| | | this.getChart(this.queryParams.deptId); |
| | | } |
| | | |