mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 23:06:47 +08:00
外链任务状态
This commit is contained in:
@@ -348,8 +348,8 @@ export default {
|
|||||||
currentStageId: props.datasource.stageId,
|
currentStageId: props.datasource.stageId,
|
||||||
type: 1,
|
type: 1,
|
||||||
pid: props.datasource.projectId,
|
pid: props.datasource.projectId,
|
||||||
taskId: props.datasource.projectTaskId,
|
taskId: props.datasource.id,
|
||||||
taskType: props.datasource.type,
|
taskType: props.datasource.type,
|
||||||
status: state.projectName,
|
status: state.projectName,
|
||||||
studentName: state.name,
|
studentName: state.name,
|
||||||
});
|
});
|
||||||
@@ -360,8 +360,8 @@ export default {
|
|||||||
currentStageId: props.datasource.stageId,
|
currentStageId: props.datasource.stageId,
|
||||||
type: 1,
|
type: 1,
|
||||||
pid: props.datasource.projectId,
|
pid: props.datasource.projectId,
|
||||||
taskId: props.datasource.projectTaskId,
|
taskId: props.datasource.id,
|
||||||
taskType: props.datasource.type,
|
taskType: props.datasource.type,
|
||||||
status: state.projectName,
|
status: state.projectName,
|
||||||
studentName: state.name,
|
studentName: state.name,
|
||||||
})
|
})
|
||||||
@@ -409,9 +409,9 @@ export default {
|
|||||||
// 处理在线课字段和表格中字段保持一致
|
// 处理在线课字段和表格中字段保持一致
|
||||||
let obj = {
|
let obj = {
|
||||||
studentUserNo: res.data.data.studyDetailList[i].studentCode,
|
studentUserNo: res.data.data.studyDetailList[i].studentCode,
|
||||||
studentName: res.data.data.studyDetailList[i].studentName,
|
studentName: res.data.data.studyDetailList[i].studentName,
|
||||||
studentDepartName: res.data.data.studyDetailList[i].studentDepartName,
|
studentDepartName: res.data.data.studyDetailList[i].studentDepartName,
|
||||||
studentJobName: res.data.data.studyDetailList[i].studentJobName,
|
studentJobName: res.data.data.studyDetailList[i].studentJobName,
|
||||||
lastStudyTime: res.data.data.studyDetailList[i].finishedTime,
|
lastStudyTime: res.data.data.studyDetailList[i].finishedTime,
|
||||||
finishStatus: res.data.data.studyDetailList[i].status?res.data.data.studyDetailList[i].status:0
|
finishStatus: res.data.data.studyDetailList[i].status?res.data.data.studyDetailList[i].status:0
|
||||||
}
|
}
|
||||||
@@ -709,4 +709,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
@@ -897,7 +897,6 @@ const submitAuth = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
function handleStageOk() {
|
function handleStageOk() {
|
||||||
debugger
|
|
||||||
// 判断添加人数是否已超过限制人数 限制 = 本次添加的人 + 原有的人
|
// 判断添加人数是否已超过限制人数 限制 = 本次添加的人 + 原有的人
|
||||||
if (props.groupMemberCount < selectsData.value.studentList.length + props.groupMemberNumber) {
|
if (props.groupMemberCount < selectsData.value.studentList.length + props.groupMemberNumber) {
|
||||||
return message.warning("添加小组学员超过最大值");
|
return message.warning("添加小组学员超过最大值");
|
||||||
|
|||||||
@@ -193,6 +193,7 @@ const disabledRangeTime = () => ({
|
|||||||
|
|
||||||
|
|
||||||
async function confirm() {
|
async function confirm() {
|
||||||
|
debugger
|
||||||
await validate().catch(({errorFields}) => {
|
await validate().catch(({errorFields}) => {
|
||||||
message.warning(errorFields[0].errors.join());
|
message.warning(errorFields[0].errors.join());
|
||||||
throw Error("数据校验不通过")
|
throw Error("数据校验不通过")
|
||||||
|
|||||||
@@ -82,6 +82,7 @@ const emit = defineEmits({})
|
|||||||
const formData = ref({list: [{}]})
|
const formData = ref({list: [{}]})
|
||||||
const initData = ref({list: [{}]})
|
const initData = ref({list: [{}]})
|
||||||
|
|
||||||
|
debugger
|
||||||
console.log(prop.options.length);
|
console.log(prop.options.length);
|
||||||
|
|
||||||
const visible = ref(false)
|
const visible = ref(false)
|
||||||
@@ -118,6 +119,7 @@ const closeDrawer = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
async function confirm() {
|
async function confirm() {
|
||||||
|
debugger
|
||||||
console.log('confirm');
|
console.log('confirm');
|
||||||
initData.value = JSON.parse(JSON.stringify(formData.value));
|
initData.value = JSON.parse(JSON.stringify(formData.value));
|
||||||
emit('update:options', formData.value.list)
|
emit('update:options', formData.value.list)
|
||||||
@@ -126,6 +128,7 @@ async function confirm() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function handleAdd() {
|
function handleAdd() {
|
||||||
|
debugger
|
||||||
formData.value.list.push({})
|
formData.value.list.push({})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user