|
|
@@ -103,7 +103,7 @@
|
|
|
</vxe-column>
|
|
|
<vxe-column v-if="form?.conditions?.totalCheck == '1'" title="操作" width="250" align="center" fixed="right">
|
|
|
<template #default="{ row }">
|
|
|
- <el-button color="orange" size="small" v-if="row?.res !== '0'" @click="openDialog(row)" style="color: white" >重审</el-button>
|
|
|
+ <el-button color="orange" size="small" v-if="row?.res !== '0'" @click="openDialog(row)" style="color: white" >重审</el-button>
|
|
|
<el-button size="small" type="danger" @click="openDialog(row)" v-else>审核</el-button>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
@@ -164,7 +164,6 @@ const dialogVisible = ref(false);
|
|
|
const temporaryRegistration = ref();
|
|
|
const fromvalue = ref({
|
|
|
targetId: '',
|
|
|
- res: '',
|
|
|
msg: ''
|
|
|
})
|
|
|
const checkRegostrationInfo = (row) => {
|
|
|
@@ -173,7 +172,6 @@ const checkRegostrationInfo = (row) => {
|
|
|
};
|
|
|
const openDialog = (row) => {
|
|
|
fromvalue.value.targetId = row.id; // 保存当前行数据
|
|
|
- fromvalue.value.res = ''
|
|
|
fromvalue.value.msg = ''
|
|
|
dialogVisible.value = true;
|
|
|
};
|
|
|
@@ -183,7 +181,6 @@ const queryParams = ref<any>({
|
|
|
pageNum: 1,
|
|
|
pageSize: 10,
|
|
|
trainingId: query?.id || '',
|
|
|
- res:'0'
|
|
|
});
|
|
|
const loading = ref(false);
|
|
|
const total = ref(0);
|
|
|
@@ -201,6 +198,8 @@ const getList = async () => {
|
|
|
const res = await trainingMembers(queryParams.value);
|
|
|
if (!res || res.code !== 200) return;
|
|
|
list.value = res.rows;
|
|
|
+ console.log(list.value);
|
|
|
+
|
|
|
total.value = res.total;
|
|
|
loading.value = false;
|
|
|
};
|