|
@@ -268,7 +268,6 @@ const onUpdateParamterConfig = async () => {
|
|
|
}
|
|
|
|
|
|
const data = await postLatestRecord({ ...params, handleContent: JSON.stringify(params.handleContent) });
|
|
|
- console.log("data - SUCCESS", data);
|
|
|
|
|
|
}
|
|
|
|
|
@@ -276,8 +275,9 @@ const onUpdateParamterConfig = async () => {
|
|
|
}
|
|
|
|
|
|
onMounted(async () => {
|
|
|
- getTytjParams().then(({ data }) => {
|
|
|
- settingFormData.value = data;
|
|
|
+ getTytjParams().then(({ data:d }) => {
|
|
|
+ const data = d || {};
|
|
|
+ settingFormData.value = data || {};
|
|
|
|
|
|
settingFormData1.value = {
|
|
|
kzmbplbjz: data.kzmbplbjz,
|
|
@@ -314,7 +314,7 @@ onMounted(async () => {
|
|
|
adjustmentFormData.value = JSON.parse(originContent || "{}");
|
|
|
})
|
|
|
await getHomeValues().then(({ data }) => {
|
|
|
- settingFormData3.value = {...data}
|
|
|
+ settingFormData3.value = {...settingFormData3.value, ...data}
|
|
|
})
|
|
|
})
|
|
|
</script>
|
|
@@ -354,16 +354,16 @@ onMounted(async () => {
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="12">
|
|
|
<el-input-number v-model="settingFormData1.jylpybjz" style="width: 200px;">
|
|
|
- <template #suffix><span>L/h</span></template>
|
|
|
+ <template #suffix><span>m³/h</span></template>
|
|
|
</el-input-number>
|
|
|
<p class="tips">大于设定值触发报警</p>
|
|
|
</el-col>
|
|
|
- <el-col :span="12">
|
|
|
+ <!-- <el-col :span="12">
|
|
|
<el-input-number v-model="settingFormData1.timeVal" style="width: 200px;">
|
|
|
<template #suffix><span>分</span></template>
|
|
|
</el-input-number>
|
|
|
<p class="tips">偏移量统计时间,建议填写5的倍数值</p>
|
|
|
- </el-col>
|
|
|
+ </el-col> -->
|
|
|
</el-row>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -430,7 +430,7 @@ onMounted(async () => {
|
|
|
<el-form :model="settingFormData3" label-width="auto">
|
|
|
<el-form-item label="后反馈设定:">
|
|
|
<div>
|
|
|
- <el-input-number v-model="settingFormData3.calculateVal" style="width: 200px;" disabled>
|
|
|
+ <el-input-number v-model="settingFormData3.htfksd" style="width: 200px;" disabled>
|
|
|
<template #suffix><span>mg/L</span></template>
|
|
|
</el-input-number>
|
|
|
<p class="tips">智能调控</p>
|
|
@@ -839,11 +839,12 @@ onMounted(async () => {
|
|
|
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
- </el-card>
|
|
|
-
|
|
|
- <div class="flex items-center justify-center pt-[30px]">
|
|
|
+ <div class="flex items-center justify-center pt-[30px]">
|
|
|
<el-button type="primary" @click="onUpdateParamterConfig">更新配置</el-button>
|
|
|
</div>
|
|
|
+ </el-card>
|
|
|
+
|
|
|
+
|
|
|
</template>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
@@ -855,6 +856,7 @@ onMounted(async () => {
|
|
|
}
|
|
|
|
|
|
.tips {
|
|
|
+ word-break: keep-all;
|
|
|
font-size: 12px;
|
|
|
color: #999;
|
|
|
}
|