
@@ -176,6 +177,7 @@ export default {
},
setup(props, ctx) {
const state = reactive({
+ loading:false,
userName: null, //用户名
deptName: null, //部门
jobName: null, //岗位
@@ -302,11 +304,13 @@ export default {
state.stageList = array;
};
const check = () => {
+ state.loading = true
let obj = {
projectId: props.projectId,
studentId: props.checkStuId,
};
studentProcess(obj).then((res) => {
+ state.loading = false
console.log("查看了学员", res.data.data);
let result = res.data.data;
state.userName = result.userInfoBo.userName;