mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 00:06:47 +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
|
<a-drawer
|
||||||
:visible="visible"
|
:visible="visible"
|
||||||
class="drawerStyle addrefDrawer"
|
class="drawerStyle addrefDrawer"
|
||||||
width="80%"
|
width="800"
|
||||||
placement="right"
|
placement="right"
|
||||||
>
|
>
|
||||||
<div class="drawerMain">
|
<div class="drawerMain">
|
||||||
|
|||||||
@@ -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 = () => {
|
||||||
|
|||||||
@@ -286,7 +286,7 @@ export default {
|
|||||||
align: "center",
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
className: "h",
|
className: "h",
|
||||||
customRender: ({record:{finishStatus}}) => ({1:'进行中',0:'未开始',9:'已完成'}[finishStatus] || '未开始'),
|
customRender: ({record:{finishStatus}}) => ({1:'已完成',0:'未开始',9:'已完成'}[finishStatus] || '未开始'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "操作",
|
title: "操作",
|
||||||
@@ -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 = () => {
|
||||||
|
|||||||
@@ -2172,5 +2172,6 @@ const cancelStorage = async () => {
|
|||||||
.footBox {
|
.footBox {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
z-index: 999;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -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) => {
|
||||||
|
|||||||
@@ -1679,6 +1679,6 @@ const cancelStorage = async () => {
|
|||||||
.footBox {
|
.footBox {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
z-index: 99999;
|
z-index: 999;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user