修改能力统计分页查询问题
This commit is contained in:
parent
42b7ec1129
commit
c6313796bb
|
@ -812,6 +812,8 @@ export default {
|
||||||
handleChose (index) {
|
handleChose (index) {
|
||||||
this.checked = false
|
this.checked = false
|
||||||
this.departmentId = index
|
this.departmentId = index
|
||||||
|
this.currentPage=1
|
||||||
|
this.pageSize=10
|
||||||
if (index === 1) {
|
if (index === 1) {
|
||||||
if (this.choseId === 0) {
|
if (this.choseId === 0) {
|
||||||
if (!this.detailFlag) {
|
if (!this.detailFlag) {
|
||||||
|
@ -871,6 +873,8 @@ export default {
|
||||||
},
|
},
|
||||||
// 明细按钮函数//明细按钮函数//明细按钮函数//明细按钮函数//明细按钮函数//明细按钮函数
|
// 明细按钮函数//明细按钮函数//明细按钮函数//明细按钮函数//明细按钮函数//明细按钮函数
|
||||||
goToDetail () {
|
goToDetail () {
|
||||||
|
this.currentPage=1
|
||||||
|
this.pageSize=10
|
||||||
this.detailFlag = !this.detailFlag
|
this.detailFlag = !this.detailFlag
|
||||||
if (this.departmentId === 1) {
|
if (this.departmentId === 1) {
|
||||||
this.handleChose(3)
|
this.handleChose(3)
|
||||||
|
@ -884,6 +888,8 @@ export default {
|
||||||
// 返回按钮
|
// 返回按钮
|
||||||
goToBack () {
|
goToBack () {
|
||||||
this.checked = false
|
this.checked = false
|
||||||
|
this.currentPage=1,
|
||||||
|
this.pageSize=10,
|
||||||
// departmentId 1,3 2,4 两个值共同判断
|
// departmentId 1,3 2,4 两个值共同判断
|
||||||
this.detailFlag = !this.detailFlag
|
this.detailFlag = !this.detailFlag
|
||||||
if (this.departmentId === 3) {
|
if (this.departmentId === 3) {
|
||||||
|
|
Loading…
Reference in New Issue