Explorar el Código

问题修复

master
huxinglu hace 4 años
padre
commit
a6c162f65b
Se han modificado 2 ficheros con 34 adiciones y 10 borrados
  1. +4
    -4
      src/views/water/spectrum/photoForm.vue
  2. +30
    -6
      src/views/water/waterData/index.vue

+ 4
- 4
src/views/water/spectrum/photoForm.vue Ver fichero

@@ -75,17 +75,17 @@
<span>{{ruleForm.tubName}}</span>
</el-form-item>
<el-form-item label="左下经度" prop="leftLongitude">
<el-input clearable v-model="ruleForm.leftLongitude" size="small" placeholder="请输入河湖名称"/>
<el-input clearable v-model="ruleForm.leftLongitude" size="small" placeholder=""/>
</el-form-item>

<el-form-item label="左下纬度" prop="leftLatitude">
<el-input clearable v-model="ruleForm.leftLatitude" size="small" placeholder="请输入河湖名称"/>
<el-input clearable v-model="ruleForm.leftLatitude" size="small" placeholder=""/>
</el-form-item>
<el-form-item label="右上经度" prop="rightLongitude">
<el-input clearable v-model="ruleForm.rightLongitude" size="small" placeholder="请输入河湖名称"/>
<el-input clearable v-model="ruleForm.rightLongitude" size="small" placeholder=""/>
</el-form-item>
<el-form-item label="右上纬度" prop="rightLatitude">
<el-input clearable v-model="ruleForm.rightLatitude" size="small" placeholder="请输入河湖名称"/>
<el-input clearable v-model="ruleForm.rightLatitude" size="small" placeholder=""/>
</el-form-item>
</el-form>
<div style="text-align: center">

+ 30
- 6
src/views/water/waterData/index.vue Ver fichero

@@ -92,12 +92,36 @@
label="巡检日期"
align="center"
/>
<el-table-column show-overflow-tooltip prop="waterCod" label="化学需氧量" align="center" min-width="110"/>
<el-table-column show-overflow-tooltip prop="waterNh3n" label="氨氮" align="center" min-width="90"/>
<el-table-column show-overflow-tooltip prop="waterTp" label="总磷" align="center" min-width="90"/>
<el-table-column show-overflow-tooltip prop="waterTn" label="总氮" align="center" min-width="90"/>
<el-table-column show-overflow-tooltip prop="waterDo" label="溶解氧" align="center" min-width="90"/>
<el-table-column show-overflow-tooltip prop="waterTub" label="浊度" align="center" min-width="90"/>
<el-table-column show-overflow-tooltip prop="waterCod" label="化学需氧量" align="center" min-width="110">
<template slot-scope="{row}">
<span v-if="row.waterCod">{{parseFloat(row.waterCod)}}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="waterNh3n" label="氨氮" align="center" min-width="90">
<template slot-scope="{row}">
<span v-if="row.waterNh3n">{{parseFloat(row.waterNh3n)}}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="waterTp" label="总磷" align="center" min-width="90">
<template slot-scope="{row}">
<span v-if="row.waterTp">{{parseFloat(row.waterTp)}}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="waterTn" label="总氮" align="center" min-width="90">
<template slot-scope="{row}">
<span v-if="row.waterTn">{{parseFloat(row.waterTn)}}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="waterDo" label="溶解氧" align="center" min-width="90">
<template slot-scope="{row}">
<span v-if="row.waterDo">{{parseFloat(row.waterDo)}}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="waterTub" label="浊度" align="center" min-width="90">
<template slot-scope="{row}">
<span v-if="row.waterTub">{{parseFloat(row.waterTub)}}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="left" width="100">
<template slot-scope="{row}">
<el-button

Cargando…
Cancelar
Guardar