--fix 排序

This commit is contained in:
yuping
2023-02-17 16:23:14 +08:00
parent 15ec385b5a
commit b1dde8f3a7
2 changed files with 5 additions and 3 deletions

View File

@@ -563,7 +563,9 @@ const selectAll = computed(() => {
watch(() => projectInfo.value.stageList, () => {
projectInfo.value.stageList.forEach((t, i) => {
t.sort = i;
t.taskDraftDtoList?.forEach((s, j) => {s.sort = j})
t.taskDraftDtoList?.forEach((s, j) => {
s.sort = j
})
})
}, {deep: true})
@@ -723,7 +725,7 @@ const temporaryStorage = async () => {
//确定
const submitStorage = async () => {
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("阶段和任务数据已保存")
confirmLoading.value = false
};