微调
This commit is contained in:
@@ -244,7 +244,7 @@ watch(() => formContent.chnNum, async (newVal, oldVal) => {
|
|||||||
|
|
||||||
watch(currentCheckItem, (newVal, oldVal) => {
|
watch(currentCheckItem, (newVal, oldVal) => {
|
||||||
console.log("当前检测项", newVal);
|
console.log("当前检测项", newVal);
|
||||||
if (newVal) {
|
if (newVal!== '') {
|
||||||
doCurrentCheckItemUpdate(newVal)
|
doCurrentCheckItemUpdate(newVal)
|
||||||
} else {
|
} else {
|
||||||
activeTab.value = 'resultTab'
|
activeTab.value = 'resultTab'
|
||||||
@@ -273,7 +273,7 @@ const defaultOperate = () => {
|
|||||||
|
|
||||||
const updateTableData = async () => {
|
const updateTableData = async () => {
|
||||||
// console.log("左侧树被选中的叶子节点checkIndex", checkIndex.value);
|
// console.log("左侧树被选中的叶子节点checkIndex", checkIndex.value);
|
||||||
if (checkIndex.value) {
|
if (checkIndex.value!== '') {
|
||||||
// console.log("更新表格数据");
|
// console.log("更新表格数据");
|
||||||
// 发起请求,查询该测试项的检测结果
|
// 发起请求,查询该测试项的检测结果
|
||||||
const {data} = await getTableData({
|
const {data} = await getTableData({
|
||||||
|
|||||||
Reference in New Issue
Block a user