mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 07:46:46 +08:00
Merge branch 'develop' of ssh://gitlab.dongwu-inc.com:10022/BOE/fe-manage into develop
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<a-drawer
|
||||
:visible="visible"
|
||||
class="drawerStyle addrefDrawer"
|
||||
width="80%"
|
||||
width="800"
|
||||
placement="right"
|
||||
>
|
||||
<div class="drawerMain">
|
||||
|
||||
@@ -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 = () => {
|
||||
|
||||
@@ -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 = () => {
|
||||
|
||||
@@ -2172,5 +2172,6 @@ const cancelStorage = async () => {
|
||||
.footBox {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
z-index: 999;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
@@ -1679,6 +1679,6 @@ const cancelStorage = async () => {
|
||||
.footBox {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
z-index: 99999;
|
||||
z-index: 999;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user