Compare commits

..

No commits in common. "7ad6449812df891361ec4e859d880675d8a87f2e" and "d1c7d2741ad46cb2c93bbe6e17320fd527e02824" have entirely different histories.

16 changed files with 18 additions and 52 deletions

View File

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title></title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel="stylesheet" href="https://lcny.sk797.cn/h5/static/index.97465e7b.css"></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div><script src="https://lcny.sk797.cn/h5/static/js/chunk-vendors.959091ef.js"></script><script src="https://lcny.sk797.cn/h5/static/js/index.b5bd8dbe.js"></script></body></html>
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel="stylesheet" href="https://lcny.sk797.cn/h5/static/index.97465e7b.css"></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div><script src="https://lcny.sk797.cn/h5/static/js/chunk-vendors.959091ef.js"></script><script src="https://lcny.sk797.cn/h5/static/js/index.eabbf6b4.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -523,7 +523,7 @@
this.queryDataList(true);
}
uni.showToast({ title: '修改成功', icon: 'none' });
uni.showToast({ title: data.message, icon: 'none' });
})
.catch(({data}) => {
hideLoading()
@ -536,7 +536,7 @@
if(data.code==200){
this.queryDataList(true);
this.editShow = false;
uni.showToast({ title: '保存成功', icon: 'none' });
uni.showToast({ title: data.message, icon: 'none' });
}else{
uni.showToast({ title: data.message, icon: 'none' });
}

View File

@ -9,7 +9,6 @@
<view class="h-80vh flex-center">
<view class="w-full">
<qiun-data-charts
:loadingType="loadingType"
type="column"
:opts="opts"
:chartData="chartData"
@ -30,7 +29,6 @@ export default {
},
data() {
return {
loadingType: 1,
filterParmas: {},
searchFormSchema: [
{
@ -220,7 +218,6 @@ export default {
async getData() {
if (!this.filterParmas.device_id) {
this.$u.toast('没有关联基地')
this.loadingType = 0
return (this.chartData = { series: [] })
}
try {

View File

@ -17,7 +17,7 @@
<div class="p-20rpx text-32rpx">
{{ item.lable }}
</div>
<qiun-data-charts :loadingType="loadingType" type="area" :opts="opts" :chartData="item.chatOpt" />
<qiun-data-charts type="area" :opts="opts" :chartData="item.chatOpt" />
</view>
</view>
</view>
@ -67,7 +67,6 @@ export default {
},
data() {
return {
loadingType:1,
filterParmas: {},
searchFormSchema: [
{
@ -192,7 +191,6 @@ export default {
async getData() {
this.chatList = []
if (!this.filterParmas.device_id){
this.loadingType = 0
return this.$u.toast('没有关联基地')
}
const { data } = await http.get('/api/monitoring-data', {

View File

@ -43,7 +43,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="optsc"
:chartData="chart_air_temperature"
@ -58,7 +57,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="opts"
:chartData="chart_air_humidity"
@ -73,7 +71,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="mix"
:opts="opts2"
:chartData="chart_illumination"
@ -88,7 +85,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="mix"
:opts="opts2"
:chartData="chart_rainfall"
@ -103,7 +99,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="opts3"
:chartData="chart_wind_speed"
@ -118,7 +113,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="mix"
:opts="opts4"
:chartData="chart_wind_direction"
@ -133,7 +127,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="opts3"
:chartData="chart_noise"
@ -148,7 +141,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="opts3"
:chartData="chart_pm10"
@ -163,7 +155,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="opts3"
:chartData="chart_pm25"
@ -178,7 +169,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="opts3"
:chartData="chart_co2"
@ -197,7 +187,6 @@
components: { QiunDataCharts },
data() {
return {
loadingType:1,
optsc:{},
opts: {
dataLabel:false,//
@ -414,7 +403,6 @@
if(data.code==200){
let _data = data.data;
if(_data.length==0){
this.loadingType = 0
return this.$u.toast('没有关联基地');
}
for(let item of _data){

View File

@ -83,7 +83,6 @@
<view class="cart_box">
<qiun-data-charts
type="area"
:loadingType="loadingType"
:opts="opts"
:chartData="chart_conductivity"
/>
@ -100,7 +99,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="opts"
:chartData="chart_humidity"
@ -118,7 +116,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="optsc"
:chartData="chart_temperature"
@ -136,7 +133,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="opts"
:chartData="chart_k"
@ -154,7 +150,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="opts"
:chartData="chart_n"
@ -172,7 +167,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="opts"
:chartData="chart_p"
@ -229,7 +223,6 @@
components: { QiunDataCharts },
data() {
return {
loadingType:1,
optsc:{},
opts: {
dataLabel:false,//
@ -334,6 +327,7 @@
},
//
change(val){
console.log(val);
let narray = this.deviceAddressList.filter(item=>{
return item.value==val;
})
@ -435,10 +429,8 @@
if(data.code==200){
let _data = data.data;
if(_data.length==0){
this.loadingType = 0
return this.$u.toast('没有关联基地');
}
for(let item of _data){
item['label'] = item.name;
item['value'] = item.id;
@ -466,7 +458,6 @@
if(_data.length==0){
// return this.$u.toast('');
}
let options = [];
for(let k in _data){
let item = {};

View File

@ -80,7 +80,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="opts"
:chartData="chart_chlorine"
@ -98,7 +97,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="opts"
:chartData="chart_conductivity"
@ -117,7 +115,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="opts"
:chartData="chart_oxygen"
@ -135,7 +132,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="opts"
:chartData="chart_ph"
@ -153,7 +149,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="optsc"
:chartData="chart_temperature"
@ -171,7 +166,6 @@
</view>
<view class="cart_box">
<qiun-data-charts
:loadingType="loadingType"
type="area"
:opts="opts"
:chartData="chart_turbidity"
@ -228,7 +222,6 @@
components: { QiunDataCharts },
data() {
return {
loadingType:1,
optsc:{},
opts: {
dataLabel:false,//
@ -436,7 +429,6 @@
if(data.code==200){
let _data = data.data;
if(_data.length==0){
this.loadingType = 0
return this.$u.toast('没有关联基地');
}
for(let item of _data){