mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 20:06:47 +08:00
Merge branch 'develop' of http://gitlab.dongwu-inc.com:10080/BOE/fe-manage into develop
This commit is contained in:
@@ -231,7 +231,13 @@
|
|||||||
type="link"
|
type="link"
|
||||||
>拒绝</a-button
|
>拒绝</a-button
|
||||||
>
|
>
|
||||||
<a-button v-if="checkPer(permissions)" @click="del(record.id)" type="link" danger>删除</a-button>
|
<a-button
|
||||||
|
v-if="checkPer(permissions)"
|
||||||
|
@click="del(record.id)"
|
||||||
|
type="link"
|
||||||
|
danger
|
||||||
|
>删除</a-button
|
||||||
|
>
|
||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
</a-table>
|
</a-table>
|
||||||
@@ -368,7 +374,7 @@ const props = defineProps({
|
|||||||
type: Number,
|
type: Number,
|
||||||
permissions: {
|
permissions: {
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: "",
|
||||||
},
|
},
|
||||||
id: String,
|
id: String,
|
||||||
columns: {
|
columns: {
|
||||||
@@ -533,8 +539,6 @@ const stuRowSelection = computed(() => ({
|
|||||||
preserveSelectedRowKeys: true,
|
preserveSelectedRowKeys: true,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//显示学员换组弹窗
|
//显示学员换组弹窗
|
||||||
function showChangeGroupModal() {
|
function showChangeGroupModal() {
|
||||||
// debugger
|
// debugger
|
||||||
@@ -547,12 +551,12 @@ function exportTaskStu() {
|
|||||||
window.open(
|
window.open(
|
||||||
`${
|
`${
|
||||||
process.env.VUE_APP_BASE_API
|
process.env.VUE_APP_BASE_API
|
||||||
}/admin/student/exportTaskStudent?type=${1}&pid=${props.targetId}`
|
}/admin/student/exportTaskStudent?type=${1}&pid=${props.id}`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function exportTaskStuRouter() {
|
function exportTaskStuRouter() {
|
||||||
console.log("props.datasource", props);
|
console.log("props.datasource", props, props.id);
|
||||||
window.open(
|
window.open(
|
||||||
`${
|
`${
|
||||||
process.env.VUE_APP_BASE_API
|
process.env.VUE_APP_BASE_API
|
||||||
@@ -619,7 +623,7 @@ function bathDel() {
|
|||||||
return message.warning("请先选中学员");
|
return message.warning("请先选中学员");
|
||||||
}
|
}
|
||||||
tableData.value.loading = true;
|
tableData.value.loading = true;
|
||||||
delStudentList({ids: stuSelectKeys.value,}).then(() => getStuList());
|
delStudentList({ ids: stuSelectKeys.value }).then(() => getStuList());
|
||||||
}
|
}
|
||||||
|
|
||||||
function del(id) {
|
function del(id) {
|
||||||
@@ -761,7 +765,6 @@ const exportStu = () => {
|
|||||||
}/admin/student/exportTaskStudent?type=${3}&pid=${props.id}&thirdType=2`
|
}/admin/student/exportTaskStudent?type=${3}&pid=${props.id}&thirdType=2`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//批量操作 结业、通过、拒绝等
|
//批量操作 结业、通过、拒绝等
|
||||||
@@ -803,11 +806,11 @@ const AddImpStuvisibleClose = (isget) => {
|
|||||||
if (isget) {
|
if (isget) {
|
||||||
getStuList();
|
getStuList();
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
function startLoading() {
|
function startLoading() {
|
||||||
tableData.value.loading = true;
|
tableData.value.loading = true;
|
||||||
}
|
}
|
||||||
defineExpose({getStuList,startLoading})
|
defineExpose({ getStuList, startLoading });
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.TableStudent {
|
.TableStudent {
|
||||||
|
|||||||
Reference in New Issue
Block a user