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,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,
|
||||
|
||||
@@ -897,7 +897,6 @@ const submitAuth = () => {
|
||||
};
|
||||
|
||||
function handleStageOk() {
|
||||
debugger
|
||||
// 判断添加人数是否已超过限制人数 限制 = 本次添加的人 + 原有的人
|
||||
if (props.groupMemberCount < selectsData.value.studentList.length + props.groupMemberNumber) {
|
||||
return message.warning("添加小组学员超过最大值");
|
||||
|
||||
@@ -193,6 +193,7 @@ const disabledRangeTime = () => ({
|
||||
|
||||
|
||||
async function confirm() {
|
||||
debugger
|
||||
await validate().catch(({errorFields}) => {
|
||||
message.warning(errorFields[0].errors.join());
|
||||
throw Error("数据校验不通过")
|
||||
|
||||
@@ -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({})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user