外链任务状态

This commit is contained in:
lpq
2023-02-22 23:49:53 +08:00
parent f1e85d27a5
commit a3618b8bd9
4 changed files with 12 additions and 9 deletions

View File

@@ -348,7 +348,7 @@ export default {
currentStageId: props.datasource.stageId,
type: 1,
pid: props.datasource.projectId,
taskId: props.datasource.projectTaskId,
taskId: props.datasource.id,
taskType: props.datasource.type,
status: state.projectName,
studentName: state.name,
@@ -360,7 +360,7 @@ export default {
currentStageId: props.datasource.stageId,
type: 1,
pid: props.datasource.projectId,
taskId: props.datasource.projectTaskId,
taskId: props.datasource.id,
taskType: props.datasource.type,
status: state.projectName,
studentName: state.name,

View File

@@ -897,7 +897,6 @@ const submitAuth = () => {
};
function handleStageOk() {
debugger
// 判断添加人数是否已超过限制人数 限制 = 本次添加的人 + 原有的人
if (props.groupMemberCount < selectsData.value.studentList.length + props.groupMemberNumber) {
return message.warning("添加小组学员超过最大值");

View File

@@ -193,6 +193,7 @@ const disabledRangeTime = () => ({
async function confirm() {
debugger
await validate().catch(({errorFields}) => {
message.warning(errorFields[0].errors.join());
throw Error("数据校验不通过")

View File

@@ -82,6 +82,7 @@ const emit = defineEmits({})
const formData = ref({list: [{}]})
const initData = ref({list: [{}]})
debugger
console.log(prop.options.length);
const visible = ref(false)
@@ -118,6 +119,7 @@ const closeDrawer = () => {
};
async function confirm() {
debugger
console.log('confirm');
initData.value = JSON.parse(JSON.stringify(formData.value));
emit('update:options', formData.value.list)
@@ -126,6 +128,7 @@ async function confirm() {
}
function handleAdd() {
debugger
formData.value.list.push({})
}