huxinglu преди 4 години
родител
ревизия
3755ed7fc9
променени са 6 файла, в които са добавени 51 реда и са изтрити 24 реда
  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 Целия файл

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

+ 1
- 1
src/views/water/standard/index.vue Целия файл

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

+ 1
- 1
src/views/water/trend/index.vue Целия файл

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

+ 1
- 1
src/views/water/warn/index.vue Целия файл

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

+ 1
- 1
src/views/water/waterAlarm/index.vue Целия файл

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

+ 1
- 1
src/views/water/waterData/index.vue Целия файл

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

Loading…
Отказ
Запис