mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
-- fix bug
This commit is contained in:
@@ -325,7 +325,9 @@
|
||||
<a-button class="btn btn1" @click="cancelStorage" :loading="cancleLoading">取消</a-button>
|
||||
</div>
|
||||
</div>
|
||||
<div><div style="height:80px;width:100%;" /></div>
|
||||
<div>
|
||||
<div style="height:80px;width:100%;"/>
|
||||
</div>
|
||||
<!-- 移动任务到阶段 -->
|
||||
<a-modal style="padding: 0" v-model:visible="visiblene" :footer="null" :centered="true"
|
||||
wrapClassName="moveModal">
|
||||
@@ -533,8 +535,20 @@ const temporaryStorage = async () => {
|
||||
};
|
||||
|
||||
const submitStorage = async () => {
|
||||
if (routerInfo.value.routerInfo.status === 1) {
|
||||
dialog({
|
||||
content: '该路径图已经发布,修改后如未点击暂存当前操作未保存数据将丢失,确认保存?',
|
||||
ok: async () => {
|
||||
confirmLoading.value = true
|
||||
await releaseRouter(routerId)
|
||||
message.success("关卡和任务数据已保存");
|
||||
confirmLoading.value = false
|
||||
},
|
||||
})
|
||||
return
|
||||
}
|
||||
confirmLoading.value = true
|
||||
routerInfo.value.routerInfo.status === 1 ? await releaseRouter(routerId) : await request(ROUTER_DETAIL_MODIFY, routerInfo.value)
|
||||
await request(ROUTER_DETAIL_MODIFY, routerInfo.value)
|
||||
message.success("关卡和任务数据已保存")
|
||||
confirmLoading.value = false
|
||||
};
|
||||
@@ -1028,9 +1042,10 @@ const cancelStorage = async () => {
|
||||
// width: 86%;
|
||||
margin-top: 20px;
|
||||
position: sticky;
|
||||
top:0;
|
||||
top: 0;
|
||||
height: 80vh;
|
||||
overflow-y: auto;
|
||||
|
||||
.tit {
|
||||
font-size: 18px;
|
||||
color: #363636;
|
||||
@@ -1295,8 +1310,9 @@ const cancelStorage = async () => {
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
position: sticky;
|
||||
top:0;
|
||||
top: 0;
|
||||
z-index: 999;
|
||||
|
||||
.item {
|
||||
height: 115px;
|
||||
// width: 7.7%;
|
||||
@@ -2136,6 +2152,7 @@ const cancelStorage = async () => {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footBox {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
|
||||
@@ -584,8 +584,20 @@ const temporaryStorage = async () => {
|
||||
};
|
||||
//确定
|
||||
const submitStorage = async () => {
|
||||
if (projectInfo.value.projectInfo.status === 3) {
|
||||
dialog({
|
||||
content: '该项目已经发布,修改后如未点击暂存当前操作未保存数据将丢失,确认保存?',
|
||||
ok: async () => {
|
||||
confirmLoading.value = true
|
||||
await request(PROJECT_RELEASE, {projectId: route.query.projectId})
|
||||
message.success("保存成功");
|
||||
confirmLoading.value = false
|
||||
},
|
||||
})
|
||||
return
|
||||
}
|
||||
confirmLoading.value = true
|
||||
projectInfo.value.projectInfo.status === 3 ? await request(PROJECT_RELEASE, {projectId: route.query.projectId}) : await request(PROJECT_DETAIL_MODIFY, projectInfo.value)
|
||||
await request(PROJECT_DETAIL_MODIFY, projectInfo.value)
|
||||
message.success("阶段和任务数据已保存")
|
||||
confirmLoading.value = false
|
||||
};
|
||||
@@ -949,9 +961,10 @@ const cancelStorage = async () => {
|
||||
.leftmain {
|
||||
margin-top: 20px;
|
||||
position: sticky;
|
||||
top:0;
|
||||
top: 0;
|
||||
height: 80vh;
|
||||
overflow-y: auto;
|
||||
|
||||
.tit {
|
||||
margin-left: 20px;
|
||||
font-size: 18px;
|
||||
@@ -1285,7 +1298,6 @@ const cancelStorage = async () => {
|
||||
flex-wrap: wrap;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 99999;
|
||||
|
||||
.item {
|
||||
height: 115px;
|
||||
|
||||
Reference in New Issue
Block a user