mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-23 01:36:47 +08:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -156,6 +156,7 @@ export default {
|
|||||||
score: item.score,
|
score: item.score,
|
||||||
type: "完成任务",
|
type: "完成任务",
|
||||||
from: item.source == "" ? "-" : item.source,
|
from: item.source == "" ? "-" : item.source,
|
||||||
|
typeDesc: item.typeDesc
|
||||||
};
|
};
|
||||||
array.push(obj);
|
array.push(obj);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -377,11 +377,10 @@ export default {
|
|||||||
};
|
};
|
||||||
batchSendMessage(obj).then(res => {
|
batchSendMessage(obj).then(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
message.success("成功");
|
message.success("催促" + props.title + "成功");
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
})
|
})
|
||||||
message.success("催促" + props.title + "成功");
|
|
||||||
};
|
};
|
||||||
//导入成绩
|
//导入成绩
|
||||||
const showEScoreModal = () => {
|
const showEScoreModal = () => {
|
||||||
|
|||||||
@@ -371,12 +371,11 @@
|
|||||||
'chapterId': props.datasource.chapterId,//阶段或关卡Id
|
'chapterId': props.datasource.chapterId,//阶段或关卡Id
|
||||||
};
|
};
|
||||||
batchSendMessage(obj).then(res => {
|
batchSendMessage(obj).then(res => {
|
||||||
|
message.success("催促" + props.title + "成功");
|
||||||
console.log(res)
|
console.log(res)
|
||||||
message.success("成功");
|
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
})
|
})
|
||||||
message.success("催促" + props.title + "成功");
|
|
||||||
};
|
};
|
||||||
//导入成绩
|
//导入成绩
|
||||||
const showEScoreModal = () => {
|
const showEScoreModal = () => {
|
||||||
|
|||||||
@@ -376,11 +376,10 @@
|
|||||||
};
|
};
|
||||||
batchSendMessage(obj).then(res => {
|
batchSendMessage(obj).then(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
message.success("成功");
|
message.success("催促" + props.title + "成功");
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
})
|
})
|
||||||
message.success("催促" + props.title + "成功");
|
|
||||||
};
|
};
|
||||||
//导入成绩
|
//导入成绩
|
||||||
const showEScoreModal = () => {
|
const showEScoreModal = () => {
|
||||||
|
|||||||
@@ -378,11 +378,10 @@ export default {
|
|||||||
};
|
};
|
||||||
batchSendMessage(obj).then(res => {
|
batchSendMessage(obj).then(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
message.success("成功");
|
message.success("催促" + props.title + "成功");
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
})
|
})
|
||||||
message.success("催促" + props.title + "成功");
|
|
||||||
};
|
};
|
||||||
//导入成绩
|
//导入成绩
|
||||||
const showEScoreModal = () => {
|
const showEScoreModal = () => {
|
||||||
|
|||||||
@@ -1148,7 +1148,7 @@ export default defineComponent({
|
|||||||
projectTaskId: 0,
|
projectTaskId: 0,
|
||||||
projectTemplateId: localStorage.getItem("projectTemplateId"),
|
projectTemplateId: localStorage.getItem("projectTemplateId"),
|
||||||
stageId: 0,
|
stageId: 0,
|
||||||
type: 0,
|
type: 0
|
||||||
};
|
};
|
||||||
api
|
api
|
||||||
.editTask(obj)
|
.editTask(obj)
|
||||||
@@ -1292,13 +1292,15 @@ export default defineComponent({
|
|||||||
// 设置上传图片开关
|
// 设置上传图片开关
|
||||||
const checkedClose = (data, a) => {
|
const checkedClose = (data, a) => {
|
||||||
console.log(data, a);
|
console.log(data, a);
|
||||||
|
console.log("模板id:" + projectTemplateId);
|
||||||
|
console.log("开关数据:" + JSON.stringify(data) + "====" + JSON.stringify(a))
|
||||||
state.attachSwitch = data;
|
state.attachSwitch = data;
|
||||||
|
|
||||||
// 更新开关状态
|
// 更新开关状态
|
||||||
api
|
api
|
||||||
.templateEdit({
|
.templateEdit({
|
||||||
sourceBelongId: state.projectInfo.sourceBelongId,
|
sourceBelongId: state.projectInfo.sourceBelongId,
|
||||||
projectTemplateId: localStorage.getItem("projectTemplateId"),
|
projectTemplateId: projectTemplateId,
|
||||||
attachSwitch: state.attachSwitch ? 1 : -1,
|
attachSwitch: state.attachSwitch ? 1 : -1,
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user