|
@@ -259,42 +259,41 @@
|
|
}
|
|
}
|
|
}).then(({data}) => {
|
|
}).then(({data}) => {
|
|
this.searchForm.unitName = data.unitName
|
|
this.searchForm.unitName = data.unitName
|
|
- })
|
|
|
|
- this.$http({
|
|
|
|
- url: `/deductiondetails/deductionDetails/getBigClass?id=0`,
|
|
|
|
- method: 'get'
|
|
|
|
- }).then(({data}) => {
|
|
|
|
- this.bigClass = data.bigClass
|
|
|
|
- console.log(data.bigClass)
|
|
|
|
- this.searchForm.classId = this.$route.query.classId
|
|
|
|
- this.veto = '0'
|
|
|
|
- this.loading = false
|
|
|
|
this.$http({
|
|
this.$http({
|
|
- url: `/deductiondetails/deductionDetails/getSubClass?id=${this.searchForm.classId}`,
|
|
|
|
|
|
+ url: `/deductiondetails/deductionDetails/getBigClass?id=0`,
|
|
method: 'get'
|
|
method: 'get'
|
|
}).then(({data}) => {
|
|
}).then(({data}) => {
|
|
- this.subClass = data.subClass
|
|
|
|
- this.searchForm.subClassId = this.$route.query.subClass
|
|
|
|
|
|
+ this.bigClass = data.bigClass
|
|
|
|
+ console.log(data.bigClass)
|
|
|
|
+ this.searchForm.classId = this.$route.query.classId
|
|
|
|
+ this.veto = '0'
|
|
this.loading = false
|
|
this.loading = false
|
|
|
|
+ this.$http({
|
|
|
|
+ url: `/deductiondetails/deductionDetails/getSubClass?id=${this.searchForm.classId}`,
|
|
|
|
+ method: 'get'
|
|
|
|
+ }).then(({data}) => {
|
|
|
|
+ this.subClass = data.subClass
|
|
|
|
+ this.searchForm.subClassId = this.$route.query.subClass
|
|
|
|
+ this.loading = false
|
|
|
|
+ this.$http({
|
|
|
|
+ url: '/deductionShowDetails/deductionShowDetails/list',
|
|
|
|
+ method: 'get',
|
|
|
|
+ params: {
|
|
|
|
+ 'pageNo': this.pageNo,
|
|
|
|
+ 'pageSize': this.pageSize,
|
|
|
|
+ 'orderBy': this.orderBy,
|
|
|
|
+ ...this.searchForm
|
|
|
|
+ }
|
|
|
|
+ }).then(({data}) => {
|
|
|
|
+ if (data && data.success) {
|
|
|
|
+ this.dataList = data.page.list
|
|
|
|
+ this.total = data.page.count
|
|
|
|
+ this.loading = false
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ })
|
|
})
|
|
})
|
|
})
|
|
})
|
|
-
|
|
|
|
- this.$http({
|
|
|
|
- url: '/deductionShowDetails/deductionShowDetails/list',
|
|
|
|
- method: 'get',
|
|
|
|
- params: {
|
|
|
|
- 'pageNo': this.pageNo,
|
|
|
|
- 'pageSize': this.pageSize,
|
|
|
|
- 'orderBy': this.orderBy,
|
|
|
|
- ...this.searchForm
|
|
|
|
- }
|
|
|
|
- }).then(({data}) => {
|
|
|
|
- if (data && data.success) {
|
|
|
|
- this.dataList = data.page.list
|
|
|
|
- this.total = data.page.count
|
|
|
|
- this.loading = false
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
},
|
|
},
|
|
// 每页数
|
|
// 每页数
|
|
sizeChangeHandle (val) {
|
|
sizeChangeHandle (val) {
|