Merge branch 'develop' of ssh://gitlab.dongwu-inc.com:10022/BOE/fe-manage into develop

This commit is contained in:
peiqingliu
2023-02-27 23:13:51 +08:00
9 changed files with 13 additions and 13 deletions

View File

@@ -5,7 +5,7 @@
<a-drawer
:visible="visible"
class="drawerStyle addrefDrawer"
width="80%"
width="800"
placement="right"
>
<div class="drawerMain">

View File

@@ -156,6 +156,7 @@ export default {
score: item.score,
type: "完成任务",
from: item.source == "" ? "-" : item.source,
typeDesc: item.typeDesc
};
array.push(obj);
});

View File

@@ -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 = () => {

View File

@@ -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 = () => {

View File

@@ -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 = () => {

View File

@@ -286,7 +286,7 @@ export default {
align: "center",
ellipsis: true,
className: "h",
customRender: ({record:{finishStatus}}) => ({1:'进行中',0:'未开始',9:'已完成'}[finishStatus] || '未开始'),
customRender: ({record:{finishStatus}}) => ({1:'已完成',0:'未开始',9:'已完成'}[finishStatus] || '未开始'),
},
{
title: "操作",
@@ -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 = () => {

View File

@@ -2172,5 +2172,6 @@ const cancelStorage = async () => {
.footBox {
position: fixed;
bottom: 0;
z-index: 999;
}
</style>

View File

@@ -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) => {

View File

@@ -1679,6 +1679,6 @@ const cancelStorage = async () => {
.footBox {
position: fixed;
bottom: 0;
z-index: 99999;
z-index: 999;
}
</style>