123
This commit is contained in:
@@ -42,7 +42,9 @@ import problemSingleApi from "@/api/project/singleProblem"
|
|||||||
import { Message, Notification } from "@arco-design/web-vue"
|
import { Message, Notification } from "@arco-design/web-vue"
|
||||||
import { useRoute, useRouter } from "vue-router"
|
import { useRoute, useRouter } from "vue-router"
|
||||||
import CaseModal from "./CaseModal.vue"
|
import CaseModal from "./CaseModal.vue"
|
||||||
|
import useTreeStore from "@/store/project/treeData"
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
|
const treeStore = useTreeStore()
|
||||||
// 定义props
|
// 定义props
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
hasRelated: {
|
hasRelated: {
|
||||||
@@ -82,6 +84,8 @@ const handleRelatedChange = async (record) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
loading.value = false
|
loading.value = false
|
||||||
|
// 更新树状目录中,case显示“<”“@”“X”的更新
|
||||||
|
treeStore.updateCaseTreeData(res.data, route.query.id)
|
||||||
emits("relatedOrunrelated")
|
emits("relatedOrunrelated")
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -347,25 +351,25 @@ const columns = ref([
|
|||||||
hide: true,
|
hide: true,
|
||||||
search: true,
|
search: true,
|
||||||
dataIndex: "operation",
|
dataIndex: "operation",
|
||||||
formType: "editor",
|
formType: "editor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "问题影响",
|
title: "问题影响",
|
||||||
hide: true,
|
hide: true,
|
||||||
dataIndex: "result",
|
dataIndex: "result",
|
||||||
formType: "textarea",
|
formType: "textarea"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "原因分析",
|
title: "原因分析",
|
||||||
hide: true,
|
hide: true,
|
||||||
dataIndex: "analysis",
|
dataIndex: "analysis",
|
||||||
formType: "editor",
|
formType: "editor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "影响域分析",
|
title: "影响域分析",
|
||||||
hide: true,
|
hide: true,
|
||||||
dataIndex: "effect_scope",
|
dataIndex: "effect_scope",
|
||||||
formType: "textarea",
|
formType: "textarea"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "改正措施",
|
title: "改正措施",
|
||||||
|
|||||||
Reference in New Issue
Block a user