fix(测试跟踪): 用例评审脑图保存用例错误提示后一直转圈
--bug=1018748 --user=陈建星 【系统设置】测试跟踪只有查看权限,但进入用例评审详情后切换脑图修改内容可以保存 https://www.tapd.cn/55049933/s/1274832
This commit is contained in:
parent
1bd1a9ecf9
commit
c837d48fe9
|
@ -16,18 +16,25 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {handleExpandToLevel, listenBeforeExecCommand, listenNodeSelected, loadSelectNodes, tagBatch} from "@/business/common/minder/minderUtils";
|
import {
|
||||||
|
handleExpandToLevel,
|
||||||
|
listenBeforeExecCommand,
|
||||||
|
listenNodeSelected,
|
||||||
|
loadSelectNodes,
|
||||||
|
tagBatch
|
||||||
|
} from "@/business/common/minder/minderUtils";
|
||||||
import {getReviewCasesForMinder} from "@/api/testCase";
|
import {getReviewCasesForMinder} from "@/api/testCase";
|
||||||
import {setPriorityView} from "vue-minder-editor-plus/src/script/tool/utils";
|
import {setPriorityView} from "vue-minder-editor-plus/src/script/tool/utils";
|
||||||
import MsModuleMinder from "@/business/common/minder/MsModuleMinder";
|
import MsModuleMinder from "@/business/common/minder/MsModuleMinder";
|
||||||
import {useStore} from "@/store";
|
import {useStore} from "@/store";
|
||||||
import {mapState} from "pinia";
|
import {mapState} from "pinia";
|
||||||
import {testReviewCaseMinderEdit} from "@/api/remote/plan/test-review-case";
|
import {testReviewCaseMinderEdit} from "@/api/remote/plan/test-review-case";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "TestReviewMinder",
|
name: "TestReviewMinder",
|
||||||
components: {MsModuleMinder},
|
components: {MsModuleMinder},
|
||||||
data() {
|
data() {
|
||||||
return{
|
return {
|
||||||
dataMap: new Map(),
|
dataMap: new Map(),
|
||||||
tags: [this.$t('test_track.plan_view.pass'), this.$t('test_track.plan_view.not_pass')],
|
tags: [this.$t('test_track.plan_view.pass'), this.$t('test_track.plan_view.not_pass')],
|
||||||
result: {loading: false}
|
result: {loading: false}
|
||||||
|
@ -124,6 +131,9 @@ name: "TestReviewMinder",
|
||||||
this.result.loading = false;
|
this.result.loading = false;
|
||||||
this.$success(this.$t('commons.save_success'));
|
this.$success(this.$t('commons.save_success'));
|
||||||
this.setIsChange(false);
|
this.setIsChange(false);
|
||||||
|
})
|
||||||
|
.catch(() => {
|
||||||
|
this.result.loading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
buildSaveCase(root, saveCases) {
|
buildSaveCase(root, saveCases) {
|
||||||
|
|
Loading…
Reference in New Issue