fix(测试跟踪): 测试计划脑图修改标签,优先级显示错误

--bug=1014220 --user=陈建星 【测试跟踪】测试计划脑图中,修改执行结果,优先级会先显示的数字 https://www.tapd.cn/55049933/s/1185558
This commit is contained in:
chenjianxing 2022-06-17 16:45:24 +08:00 committed by jianxing
parent fce72104c1
commit 428ebc3503
2 changed files with 7 additions and 0 deletions

View File

@ -34,6 +34,8 @@
</template> </template>
<script> <script>
import {setPriorityView} from "vue-minder-editor-plus/src/script/tool/utils";
const {getCurrentWorkspaceId} = require("@/common/js/utils"); const {getCurrentWorkspaceId} = require("@/common/js/utils");
const {getIssuesListById} = require("@/network/Issue"); const {getIssuesListById} = require("@/network/Issue");
import MsModuleMinder from "@/business/components/common/components/MsModuleMinder"; import MsModuleMinder from "@/business/components/common/components/MsModuleMinder";
@ -122,6 +124,8 @@ name: "TestPlanMinder",
if (handleMinderIssueDelete(even.commandName, true)) return; // if (handleMinderIssueDelete(even.commandName, true)) return; //
if (even.commandName.toLocaleLowerCase() === 'resource') { if (even.commandName.toLocaleLowerCase() === 'resource') {
//
setTimeout(() => setPriorityView(true, 'P'), 100);
this.setIsChange(true); this.setIsChange(true);
} }
}); });

View File

@ -24,6 +24,7 @@ import {
tagBatch tagBatch
} from "@/business/components/track/common/minder/minderUtils"; } from "@/business/components/track/common/minder/minderUtils";
import {getReviewCasesForMinder} from "@/network/testCase"; import {getReviewCasesForMinder} from "@/network/testCase";
import {setPriorityView} from "vue-minder-editor-plus/src/script/tool/utils";
export default { export default {
name: "TestReviewMinder", name: "TestReviewMinder",
components: {MsModuleMinder}, components: {MsModuleMinder},
@ -87,6 +88,8 @@ name: "TestReviewMinder",
} }
if (even.commandName.toLocaleLowerCase() === 'resource') { if (even.commandName.toLocaleLowerCase() === 'resource') {
//
setTimeout(() => setPriorityView(true, 'P'), 100);
this.setIsChange(true); this.setIsChange(true);
} }
}); });