审批中心

This commit is contained in:
gengxin
2025-02-18 21:35:53 +08:00
parent 217cf6057c
commit db7621691c
2 changed files with 33 additions and 2 deletions

View File

@@ -13,6 +13,22 @@
/>
</div>
</a-form-item>
<a-form-item class="select">
<div>
<!-- TODO GX03 -->
<a-select
style="width: 235px"
v-model:value="searchParam.isParent"
placeholder="请选择状态"
allowClear
v-on:keydown.enter="enterPressHadlerSearch"
>
<a-select-option :value="1">自由学习模式</a-select-option>
<a-select-option :value="2">闯关模式</a-select-option>
<a-select-option :value="3">闯关模式</a-select-option>
</a-select>
</div>
</a-form-item>
<a-form-item class="select">
<div>
<a-select
@@ -531,6 +547,8 @@ export default {
name: null,
isParent: null,
leaderName: null,
status: null,
approvalType: null,
pageNo: "1",
pageSize: "10",
},
@@ -724,7 +742,12 @@ export default {
// List接口数据
const getTableDate = (obj) => {
state.tableLoading = true;
let objA = { ...state.searchParam };
let objA = {
...state.searchParam ,
//TODO GX03
//审批未通过意外的数据
approvalType:1
};
queryTrainOrg(objA).then((res) => {
tableData.value = res.data.data.records;
state.tableDataTotal = Number(res.data.data.total);

View File

@@ -531,6 +531,8 @@ export default {
name: null,
isParent: null,
leaderName: null,
status: null,
approvalType: null,
pageNo: "1",
pageSize: "10",
},
@@ -724,13 +726,19 @@ export default {
// List接口数据
const getTableDate = (obj) => {
state.tableLoading = true;
let objA = { ...state.searchParam };
let objA = {
...state.searchParam ,
//TODO GX03 加审核结束标记
//审核通过数据
approvalType:0
};
queryTrainOrg(objA).then((res) => {
tableData.value = res.data.data.records;
state.tableDataTotal = Number(res.data.data.total);
state.tableLoading = false;
});
};
//初始化数据
getTableDate();
// 搜索
const searchSubmit = () => {