feat:合并

This commit is contained in:
lixg
2022-12-02 10:01:48 +08:00
parent 8ae00ef4ce
commit c1842cd0e1
6 changed files with 262 additions and 248 deletions

View File

@@ -640,7 +640,16 @@
</div>
</div>
</div>
<div style="width: 120px; text-align: center">
<div
style="
width: 120px;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
"
:title="element.creater"
>
{{ element.creater }}
</div>
<div style="width: 120px; text-align: center">
@@ -1415,9 +1424,11 @@ export default {
item["value"] = item.chapterId;
item["label"] = item.name;
});
console.log("路径图详情", res);
if (state.level.length > 0) {
let chapter = localStorage.getItem("chapterId");
if (chapter !== "null") {
// console.log("chapter", chapter, chapter !== "null");
if (chapter) {
dataAssignment(chapter); //用哪个的任务表
state.isactive = chapter; //哪个亮
} else {
@@ -1593,6 +1604,7 @@ export default {
document.getElementsByTagName("main")[0].style.background = "#ffffff";
document.getElementsByTagName("main")[0].style.boxShadow =
"0px 1px 35px 0px rgba(118, 136, 166, 0.07)";
localStorage.removeItem("chapterId");
});
const changebgc = (chapterId) => {
state.isactive = chapterId;
@@ -1729,6 +1741,7 @@ export default {
chapterId: state.removeStageId,
routerTaskIdList: state.selectRow,
};
console.log("移动关卡obj", obj);
api
.moveTask(obj)
.then((res) => {