Bläddra i källkod

修复

master
huxinglu 4 år sedan
förälder
incheckning
3755ed7fc9
6 ändrade filer med 51 tillägg och 24 borttagningar
  1. +46
    -19
      src/views/water/spectrum/index.vue
  2. +1
    -1
      src/views/water/standard/index.vue
  3. +1
    -1
      src/views/water/trend/index.vue
  4. +1
    -1
      src/views/water/warn/index.vue
  5. +1
    -1
      src/views/water/waterAlarm/index.vue
  6. +1
    -1
      src/views/water/waterData/index.vue

+ 46
- 19
src/views/water/spectrum/index.vue Visa fil

@@ -82,12 +82,36 @@
label="巡检日期"
align="center"
/>
<el-table-column show-overflow-tooltip prop="tpName" label="总磷" align="center" min-width="80"/>
<el-table-column show-overflow-tooltip prop="tnName" label="总氮" align="center" min-width="80"/>
<el-table-column show-overflow-tooltip prop="nh3nName" label="氨氮" align="center" min-width="80"/>
<el-table-column show-overflow-tooltip prop="doName" label="溶解氧" align="center" min-width="80"/>
<el-table-column show-overflow-tooltip prop="codName" label="化学需氧量" align="center" min-width="110"/>
<el-table-column show-overflow-tooltip prop="tubName" label="浊度" align="center" min-width="80"/>
<el-table-column show-overflow-tooltip prop="tpName" label="总磷" align="center" min-width="80">
<template slot-scope="{row}">
<a href="javascript:void(0);" @click="downloadImg(row.tpPic)">{{row.tpName}}</a>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="tnName" label="总氮" align="center" min-width="80">
<template slot-scope="{row}">
<a href="javascript:void(0);" @click="downloadImg(row.tnPic)">{{row.tnName}}</a>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="nh3nName" label="氨氮" align="center" min-width="80">
<template slot-scope="{row}">
<a href="javascript:void(0);" @click="downloadImg(row.nh3nPic)">{{row.nh3nName}}</a>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="doName" label="溶解氧" align="center" min-width="80">
<template slot-scope="{row}">
<a href="javascript:void(0);" @click="downloadImg(row.doPic)">{{row.doName}}</a>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="codName" label="化学需氧量" align="center" min-width="110">
<template slot-scope="{row}">
<a href="javascript:void(0);" @click="downloadImg(row.codPic)">{{row.codName}}</a>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="tubName" label="浊度" align="center" min-width="80">
<template slot-scope="{row}">
<a href="javascript:void(0);" @click="downloadImg(row.tubPic)">{{row.tubName}}</a>
</template>
</el-table-column>

<el-table-column label="操作" align="left" width="150">
<template slot-scope="{row}">
@@ -148,7 +172,7 @@
dataList: [],
currentPage: 1,
count: 0,
pageSize: parseInt((document.body.clientHeight - 250 - 43) / 47),
pageSize: parseInt((document.body.clientHeight - 250 - 43) / 45),
tableHeight: document.body.clientHeight - 250,
tableLoading: false,
searchParam: {
@@ -170,6 +194,9 @@
this.getAllList();
},
methods: {
downloadImg(url){
location.href=url
},
uploadItem(row) {
this.dataChild = row;
this.visible = true;
@@ -186,22 +213,22 @@
this.tableLoading = true;
let param = {
id: row.id,
codPic:'',
nh3nPic:'',
tpPic:'',
tnPic:'',
doPic:'',
tubPic:'',
codPic: '',
nh3nPic: '',
tpPic: '',
tnPic: '',
doPic: '',
tubPic: '',
leftLatitude: "",
leftLongitude: "",
rightLatitude: "",
rightLongitude: "",
codName:'',
nh3nName:'',
tpName:'',
tnName:'',
doName:'',
tubName:'',
codName: '',
nh3nName: '',
tpName: '',
tnName: '',
doName: '',
tubName: '',
};
api
.edit(param)

+ 1
- 1
src/views/water/standard/index.vue Visa fil

@@ -78,7 +78,7 @@
dataList: [],
currentPage: 1,
count: 0,
pageSize: parseInt((document.body.clientHeight - 250 - 43) / 44.5),
pageSize: parseInt((document.body.clientHeight - 250 - 43) / 45),
tableHeight: document.body.clientHeight - 250,
tableLoading: false,
}

+ 1
- 1
src/views/water/trend/index.vue Visa fil

@@ -176,7 +176,7 @@
dataList: [],
currentPage: 1,
count: 0,
pageSize: parseInt((document.body.clientHeight - 300 - 43) / 47),
pageSize: parseInt((document.body.clientHeight - 300 - 43) / 45),
tableHeight: document.body.clientHeight - 300,
tableLoading: false,
searchParam: {

+ 1
- 1
src/views/water/warn/index.vue Visa fil

@@ -165,7 +165,7 @@
dataList: [],
currentPage: 1,
count: 0,
pageSize: parseInt((document.body.clientHeight - 300 - 43) / 47),
pageSize: parseInt((document.body.clientHeight - 300 - 43) / 45),
tableHeight: document.body.clientHeight - 300,
tableLoading: false,
searchParam: {

+ 1
- 1
src/views/water/waterAlarm/index.vue Visa fil

@@ -168,7 +168,7 @@
dataList: [],
currentPage: 1,
count: 0,
pageSize: parseInt((document.body.clientHeight - 300 - 43) / 47),
pageSize: parseInt((document.body.clientHeight - 300 - 43) / 45),
tableHeight: document.body.clientHeight - 300,
tableLoading: false,
searchParam: {

+ 1
- 1
src/views/water/waterData/index.vue Visa fil

@@ -160,7 +160,7 @@
dataList: [],
currentPage: 1,
count: 0,
pageSize: parseInt((document.body.clientHeight - 300 - 43) / 47),
pageSize: parseInt((document.body.clientHeight - 300 - 43) / 45),
tableHeight: document.body.clientHeight - 300,
tableLoading: false,
searchParam: {

Laddar…
Avbryt
Spara