【update】-批量审核报名信息

This commit is contained in:
fengchenchen
2024-07-02 14:45:27 +08:00
parent 93d3bf1abf
commit e98ff8ddae
2 changed files with 54 additions and 4 deletions
@@ -51,6 +51,10 @@
</a-row>
</a-form>
</div>
<!-- 操作按钮区域-->
<div class="table-operator">
<a-button type="primary" @click="checkAll()">全选</a-button>
</div>
<a-table
ref="table"
size="middle"
@@ -92,7 +96,8 @@ import {
draftGroupPublishRemind
} from '@api/incomePaymentsApi'
import EmailErrorMsgModal from '@views/projectManagement/modules/EmailErrorMsgModal'
import { judgeEmailStatus } from "../../../api/incomePaymentsApi";
import { judgeEmailStatus } from '../../../api/incomePaymentsApi'
import { getAction } from "../../../api/manage";
export default {
@@ -403,8 +408,31 @@ export default {
this.needMail = (res.result || {}).templateType.indexOf(2) > -1
}
})
}
},
checkAll() {
this.getAllData()
},
getAllData() {
var params = this.getQueryParams()//查询条件
params.pageNo = 1
params.pageSize = -1
this.loading = true
getAction(this.url.list, params).then((res) => {
if (res.success) {
//update-begin---author:zhangyafei Date:20201118 for:适配不分页的数据列表------------
let dataSource = res.result.records || res.result
this.selectedRowKeys = dataSource.map(tt => tt.id)
this.selectionRows = dataSource
//update-end---author:zhangyafei Date:20201118 for:适配不分页的数据列表------------
}
if (res.code === 510) {
this.$message.warning(res.message)
}
this.loading = false
}).finally(() => {
this.loading = false
})
},
}
}
</script>