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,
|
||||
type: "完成任务",
|
||||
from: item.source == "" ? "-" : item.source,
|
||||
typeDesc: item.typeDesc
|
||||
};
|
||||
array.push(obj);
|
||||
});
|
||||
|
||||
@@ -377,11 +377,10 @@ export default {
|
||||
};
|
||||
batchSendMessage(obj).then(res => {
|
||||
console.log(res)
|
||||
message.success("成功");
|
||||
message.success("催促" + props.title + "成功");
|
||||
}).catch(err => {
|
||||
console.log(err)
|
||||
})
|
||||
message.success("催促" + props.title + "成功");
|
||||
};
|
||||
//导入成绩
|
||||
const showEScoreModal = () => {
|
||||
|
||||
@@ -371,12 +371,11 @@
|
||||
'chapterId': props.datasource.chapterId,//阶段或关卡Id
|
||||
};
|
||||
batchSendMessage(obj).then(res => {
|
||||
message.success("催促" + props.title + "成功");
|
||||
console.log(res)
|
||||
message.success("成功");
|
||||
}).catch(err => {
|
||||
console.log(err)
|
||||
})
|
||||
message.success("催促" + props.title + "成功");
|
||||
};
|
||||
//导入成绩
|
||||
const showEScoreModal = () => {
|
||||
|
||||
@@ -376,11 +376,10 @@
|
||||
};
|
||||
batchSendMessage(obj).then(res => {
|
||||
console.log(res)
|
||||
message.success("成功");
|
||||
message.success("催促" + props.title + "成功");
|
||||
}).catch(err => {
|
||||
console.log(err)
|
||||
})
|
||||
message.success("催促" + props.title + "成功");
|
||||
};
|
||||
//导入成绩
|
||||
const showEScoreModal = () => {
|
||||
|
||||
@@ -378,11 +378,10 @@ export default {
|
||||
};
|
||||
batchSendMessage(obj).then(res => {
|
||||
console.log(res)
|
||||
message.success("成功");
|
||||
message.success("催促" + props.title + "成功");
|
||||
}).catch(err => {
|
||||
console.log(err)
|
||||
})
|
||||
message.success("催促" + props.title + "成功");
|
||||
};
|
||||
//导入成绩
|
||||
const showEScoreModal = () => {
|
||||
|
||||
@@ -1148,7 +1148,7 @@ export default defineComponent({
|
||||
projectTaskId: 0,
|
||||
projectTemplateId: localStorage.getItem("projectTemplateId"),
|
||||
stageId: 0,
|
||||
type: 0,
|
||||
type: 0
|
||||
};
|
||||
api
|
||||
.editTask(obj)
|
||||
@@ -1292,13 +1292,15 @@ export default defineComponent({
|
||||
// 设置上传图片开关
|
||||
const checkedClose = (data, a) => {
|
||||
console.log(data, a);
|
||||
console.log("模板id:" + projectTemplateId);
|
||||
console.log("开关数据:" + JSON.stringify(data) + "====" + JSON.stringify(a))
|
||||
state.attachSwitch = data;
|
||||
|
||||
// 更新开关状态
|
||||
api
|
||||
.templateEdit({
|
||||
sourceBelongId: state.projectInfo.sourceBelongId,
|
||||
projectTemplateId: localStorage.getItem("projectTemplateId"),
|
||||
projectTemplateId: projectTemplateId,
|
||||
attachSwitch: state.attachSwitch ? 1 : -1,
|
||||
})
|
||||
.then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user