mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-08 18:36:46 +08:00
项目内选择人员列表
This commit is contained in:
@@ -374,12 +374,15 @@ const projectRowSelection = computed(() => ({
|
||||
preserveSelectedRowKeys: true,
|
||||
}));
|
||||
const getStu = () => {
|
||||
debugger
|
||||
let obj = {
|
||||
studentName: proStudentName.value,
|
||||
pageNo: procurrentPage.value,
|
||||
pageSize: 10,
|
||||
projectId: props.id,
|
||||
pid: props.id,
|
||||
type: props.type
|
||||
};
|
||||
debugger
|
||||
projectListTotal.value = -1;
|
||||
console.log("获取项目学员", obj);
|
||||
getStuPage(obj).then((res) => {
|
||||
|
||||
@@ -601,6 +601,7 @@ const stuPagination = computed(() => ({
|
||||
}));
|
||||
|
||||
function changePagination(page) {
|
||||
debugger
|
||||
tableParam.value.pageNo = page;
|
||||
getStuList();
|
||||
}
|
||||
@@ -608,6 +609,7 @@ function changePagination(page) {
|
||||
function getStuList() {
|
||||
tableData.value.loading = true;
|
||||
console.log("tableParam.value", tableParam.value);
|
||||
debugger
|
||||
getStuPage(tableParam.value).then((res) => {
|
||||
console.log("学员管理-获取学员", res.data);
|
||||
tableData.value.total = res.data.data.total;
|
||||
|
||||
@@ -2105,6 +2105,7 @@ export default {
|
||||
pid: state.routerId,
|
||||
type: 2,
|
||||
};
|
||||
debugger
|
||||
getStuPage(stuobj)
|
||||
.then((res) => {
|
||||
console.log("获取学员列表", res.data.data.total);
|
||||
|
||||
@@ -3546,7 +3546,7 @@ export default {
|
||||
//获取学员总数
|
||||
let obj = {
|
||||
pageNo: 0,
|
||||
pageSize: 0,
|
||||
pageSize: 10,
|
||||
pid: state.projectId,
|
||||
type: 1,
|
||||
};
|
||||
|
||||
@@ -15,7 +15,8 @@ module.exports = defineConfig({
|
||||
port: 8070,
|
||||
proxy: {
|
||||
"/manageApi": {
|
||||
target: 'http:' + process.env.VUE_APP_PROXY_URL,
|
||||
// target: 'http:' + process.env.VUE_APP_PROXY_URL,
|
||||
target: 'http://localhost:30001',
|
||||
changeOrigin: true, //表示是否改变原域名
|
||||
pathRewrite: {
|
||||
"^/manageApi": "",
|
||||
|
||||
Reference in New Issue
Block a user