|
@@ -67,11 +67,6 @@ const northColumnData = ref([
|
|
|
{ label: '碳氮比', key: 'tdbTwo', value: null }
|
|
|
]);
|
|
|
|
|
|
-const tabKeyEnum = {
|
|
|
- 0: 'south',
|
|
|
- 1: 'north'
|
|
|
-}
|
|
|
-
|
|
|
// water实时数据
|
|
|
const waterConfigParams = ref({});
|
|
|
|
|
@@ -87,9 +82,6 @@ const baseSourceParams = ref({
|
|
|
type: 0
|
|
|
})
|
|
|
|
|
|
-// 当前Tab选中的key
|
|
|
-const tabActiveKey = computed(() => tabKeyEnum[baseSourceParams.value.type]);
|
|
|
-
|
|
|
// 计算碳氮比
|
|
|
const tdbNum = computed(() => {
|
|
|
const type = dataSourceParams.value.type;
|
|
@@ -243,7 +235,7 @@ const handleMedicateAmount = () => {
|
|
|
const tdb = tdbNum.value;
|
|
|
|
|
|
const [r1, r2] = getTotalNum();
|
|
|
-
|
|
|
+
|
|
|
if ( type == 0 ) {
|
|
|
if ( !dataSourceParams.value.typeOne && dataSourceParams.value.medicineAmountOne != updateNum1) {
|
|
|
resultNumberSet.value.updateNum1 = dataSourceParams.value.medicineAmountOne;
|
|
@@ -314,8 +306,8 @@ onMounted(async () => {
|
|
|
jsLlTypeTwo, jsLlTwo, jsCodTypeTwo, jsCodTwo, hycXsyTypeTwo, hycXsyTwo, qycYxyTypeTwo, qycYxyTwo, qycAdTypeTwo, qycAdTwo, jsTnTypeTwo, jsTnTwo,
|
|
|
htfksdTwo, jzxsTwo, xzxsTwo, kzxsTwo, slfpxsTwo, tydlTwo, zhxsTwo, sxpsTwo, yymdTwo, zxqdllTwo, tdbTwo,
|
|
|
|
|
|
- medicineAmountOne,
|
|
|
- medicineAmountTwo
|
|
|
+ medicineAmountOne: typeOne === 0 ? 0 : medicineAmountOne,
|
|
|
+ medicineAmountTwo: typeTwo === 0 ? 0 : medicineAmountTwo,
|
|
|
};
|
|
|
})
|
|
|
|