合并master分支

This commit is contained in:
caozehui
2025-02-27 14:45:22 +08:00
parent d9e3168484
commit d6ac63586b
4 changed files with 11 additions and 10 deletions

View File

@@ -193,6 +193,7 @@ const handleNodeClick = async (data: any) => {
currentDesc.value = data.sourceDesc
scriptType = data.scriptType ?? scriptType
console.log("点击左侧树节点触发事件handleNodeClick", checkIndex.value)
if (checkIndex.value) {
await updateTableData()
activeTab.value = 'resultTab'
@@ -244,7 +245,7 @@ watch(() => formContent.chnNum, async (newVal, oldVal) => {
watch(currentCheckItem, (newVal, oldVal) => {
console.log("当前检测项", newVal);
if (newVal) {
if (newVal!== '') {
doCurrentCheckItemUpdate(newVal)
} else {
activeTab.value = 'resultTab'
@@ -272,8 +273,8 @@ const defaultOperate = () => {
}
const updateTableData = async () => {
// console.log("左侧树被选中的叶子节点checkIndex", checkIndex.value);
if (checkIndex.value) {
console.log("左侧树被选中的叶子节点checkIndex", checkIndex.value);
if (checkIndex.value !== '') {
// console.log("更新表格数据");
// 发起请求,查询该测试项的检测结果
const {data} = await getTableData({