项目内选择人员列表

This commit is contained in:
lpq
2023-02-23 21:26:39 +08:00
parent 0ddd27a33a
commit 501a498692
5 changed files with 10 additions and 3 deletions

View File

@@ -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) => {

View File

@@ -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;

View File

@@ -2105,6 +2105,7 @@ export default {
pid: state.routerId,
type: 2,
};
debugger
getStuPage(stuobj)
.then((res) => {
console.log("获取学员列表", res.data.data.total);

View File

@@ -3546,7 +3546,7 @@ export default {
//获取学员总数
let obj = {
pageNo: 0,
pageSize: 0,
pageSize: 10,
pid: state.projectId,
type: 1,
};

View File

@@ -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": "",