|
|
@@ -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) |