mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 23:06:47 +08:00
--fix 排序
This commit is contained in:
@@ -627,7 +627,7 @@ const temporaryStorage = async () => {
|
|||||||
|
|
||||||
const submitStorage = async () => {
|
const submitStorage = async () => {
|
||||||
confirmLoading.value = true
|
confirmLoading.value = true
|
||||||
await releaseRouter(routerId)
|
routerInfo.value.routerInfo.status === 1 ? await releaseRouter(routerId) : await request(ROUTER_DETAIL_MODIFY, routerInfo.value)
|
||||||
message.success("关卡和任务数据已保存")
|
message.success("关卡和任务数据已保存")
|
||||||
confirmLoading.value = false
|
confirmLoading.value = false
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -563,7 +563,9 @@ const selectAll = computed(() => {
|
|||||||
watch(() => projectInfo.value.stageList, () => {
|
watch(() => projectInfo.value.stageList, () => {
|
||||||
projectInfo.value.stageList.forEach((t, i) => {
|
projectInfo.value.stageList.forEach((t, i) => {
|
||||||
t.sort = i;
|
t.sort = i;
|
||||||
t.taskDraftDtoList?.forEach((s, j) => {s.sort = j})
|
t.taskDraftDtoList?.forEach((s, j) => {
|
||||||
|
s.sort = j
|
||||||
|
})
|
||||||
})
|
})
|
||||||
}, {deep: true})
|
}, {deep: true})
|
||||||
|
|
||||||
@@ -723,7 +725,7 @@ const temporaryStorage = async () => {
|
|||||||
//确定
|
//确定
|
||||||
const submitStorage = async () => {
|
const submitStorage = async () => {
|
||||||
confirmLoading.value = true
|
confirmLoading.value = true
|
||||||
await request(PROJECT_RELEASE, {projectId: route.query.projectId})
|
projectInfo.value.projectInfo.status === 3 ? await request(PROJECT_RELEASE, {projectId: route.query.projectId}) : await request(PROJECT_DETAIL_MODIFY, projectInfo.value)
|
||||||
message.success("阶段和任务数据已保存")
|
message.success("阶段和任务数据已保存")
|
||||||
confirmLoading.value = false
|
confirmLoading.value = false
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user