|
@@ -650,10 +650,15 @@ const setTableFormMenu = (info) => {
|
|
newArr.push({ label: '关联试验数据', key: 'test' })
|
|
newArr.push({ label: '关联试验数据', key: 'test' })
|
|
newArr.push({ label: '关联试验文件', key: 'file' })
|
|
newArr.push({ label: '关联试验文件', key: 'file' })
|
|
newArr.push({ label: '公式参数', key: 'formula' })
|
|
newArr.push({ label: '公式参数', key: 'formula' })
|
|
|
|
+
|
|
if (isStatus.value !== 3) {
|
|
if (isStatus.value !== 3) {
|
|
newArr.push({ label: '清除数据', key: 'clear' })
|
|
newArr.push({ label: '清除数据', key: 'clear' })
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ console.log(treenodeDataInfo.value, 'treenodeDataInfo')
|
|
|
|
+ const { isConcrete } = treenodeDataInfo.value
|
|
|
|
+ if (isConcrete === 1) {//等于1是混凝土节点,有含水率功能
|
|
|
|
+ newArr.push({ label: '清除数据', key: 'water' })
|
|
|
|
+ }
|
|
tableFormMenu.value = newArr
|
|
tableFormMenu.value = newArr
|
|
}
|
|
}
|
|
|
|
|
|
@@ -726,6 +731,8 @@ const handleMenuSelect = async ({ key }) => {
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
+ } else if (key === 'water') {
|
|
|
|
+ console.log('含水率')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|