mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 19:36:46 +08:00
审批中心
This commit is contained in:
@@ -13,6 +13,22 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</a-form-item>
|
</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">
|
<a-form-item class="select">
|
||||||
<div>
|
<div>
|
||||||
<a-select
|
<a-select
|
||||||
@@ -531,6 +547,8 @@ export default {
|
|||||||
name: null,
|
name: null,
|
||||||
isParent: null,
|
isParent: null,
|
||||||
leaderName: null,
|
leaderName: null,
|
||||||
|
status: null,
|
||||||
|
approvalType: null,
|
||||||
pageNo: "1",
|
pageNo: "1",
|
||||||
pageSize: "10",
|
pageSize: "10",
|
||||||
},
|
},
|
||||||
@@ -724,7 +742,12 @@ export default {
|
|||||||
// List接口数据
|
// List接口数据
|
||||||
const getTableDate = (obj) => {
|
const getTableDate = (obj) => {
|
||||||
state.tableLoading = true;
|
state.tableLoading = true;
|
||||||
let objA = { ...state.searchParam };
|
let objA = {
|
||||||
|
...state.searchParam ,
|
||||||
|
//TODO GX03
|
||||||
|
//审批未通过意外的数据
|
||||||
|
approvalType:1
|
||||||
|
};
|
||||||
queryTrainOrg(objA).then((res) => {
|
queryTrainOrg(objA).then((res) => {
|
||||||
tableData.value = res.data.data.records;
|
tableData.value = res.data.data.records;
|
||||||
state.tableDataTotal = Number(res.data.data.total);
|
state.tableDataTotal = Number(res.data.data.total);
|
||||||
|
|||||||
@@ -531,6 +531,8 @@ export default {
|
|||||||
name: null,
|
name: null,
|
||||||
isParent: null,
|
isParent: null,
|
||||||
leaderName: null,
|
leaderName: null,
|
||||||
|
status: null,
|
||||||
|
approvalType: null,
|
||||||
pageNo: "1",
|
pageNo: "1",
|
||||||
pageSize: "10",
|
pageSize: "10",
|
||||||
},
|
},
|
||||||
@@ -724,13 +726,19 @@ export default {
|
|||||||
// List接口数据
|
// List接口数据
|
||||||
const getTableDate = (obj) => {
|
const getTableDate = (obj) => {
|
||||||
state.tableLoading = true;
|
state.tableLoading = true;
|
||||||
let objA = { ...state.searchParam };
|
let objA = {
|
||||||
|
...state.searchParam ,
|
||||||
|
//TODO GX03 加审核结束标记
|
||||||
|
//审核通过数据
|
||||||
|
approvalType:0
|
||||||
|
};
|
||||||
queryTrainOrg(objA).then((res) => {
|
queryTrainOrg(objA).then((res) => {
|
||||||
tableData.value = res.data.data.records;
|
tableData.value = res.data.data.records;
|
||||||
state.tableDataTotal = Number(res.data.data.total);
|
state.tableDataTotal = Number(res.data.data.total);
|
||||||
state.tableLoading = false;
|
state.tableLoading = false;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
//初始化数据
|
||||||
getTableDate();
|
getTableDate();
|
||||||
// 搜索
|
// 搜索
|
||||||
const searchSubmit = () => {
|
const searchSubmit = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user