fix type=hour_s 传参数 year month day

This commit is contained in:
zty 2024-08-09 13:27:17 +08:00
parent 442fc20ad6
commit 862782fe1f
16 changed files with 58 additions and 54 deletions

View File

@ -16,10 +16,10 @@ VUE_APP_PJ = 'gx'
# VUE_APP_API_BASEURL = http://127.0.0.1:2226/api # VUE_APP_API_BASEURL = http://127.0.0.1:2226/api
#测试环境 #测试环境
VUE_APP_API_BASEURL = http://49.232.14.174:2226/api # VUE_APP_API_BASEURL = http://49.232.14.174:2226/api
# VUE_APP_API_BASEURL = http://127.0.0.1:2226/api VUE_APP_API_BASEURL = http://127.0.0.1:2226/api
VUE_APP_BASEURL = http://49.232.14.174:2226 # VUE_APP_BASEURL = http://49.232.14.174:2226
# VUE_APP_BASEURL = http://127.0.0.1:2226 VUE_APP_BASEURL = http://127.0.0.1:2226
# #光子 # #光子
# VUE_APP_API_BASEURL = http://49.232.14.174:2250/api # VUE_APP_API_BASEURL = http://49.232.14.174:2250/api

View File

@ -16,8 +16,12 @@ VUE_APP_TITLE = ''
# VUE_APP_API_BASEURL = http://192.168.10.5:2250/api # VUE_APP_API_BASEURL = http://192.168.10.5:2250/api
# VUE_APP_BASEURL = http://192.168.10.5:2250 # VUE_APP_BASEURL = http://192.168.10.5:2250
#托克逊 #托克逊
VUE_APP_API_BASEURL = http://49.232.14.174:2226/api # VUE_APP_API_BASEURL = http://49.232.14.174:2226/api
VUE_APP_BASEURL = http://49.232.14.174:2226 # VUE_APP_BASEURL = http://49.232.14.174:2226
VUE_APP_API_BASEURL = http://127.0.0.1:2226/api
# VUE_APP_BASEURL = http://49.232.14.174:2226
VUE_APP_BASEURL = http://127.0.0.1:2226
# VUE_APP_API_BASEURL = http://1.203.161.103:2800/api # VUE_APP_API_BASEURL = http://1.203.161.103:2800/api
# VUE_APP_BASEURL = http://1.203.161.103:2800 # VUE_APP_BASEURL = http://1.203.161.103:2800

View File

@ -514,9 +514,9 @@ export default {
let that = this; let that = this;
let obj = {}; let obj = {};
obj.type = "hour_s"; obj.type = "hour_s";
obj.year_s = year; obj.year = year;
obj.month_s = month; obj.month = month;
obj.day_s = days; obj.day = days;
obj.mgroup__name = "煤磨"; obj.mgroup__name = "煤磨";
obj.mpoint__material__code__in = "elec,elec_0"; obj.mpoint__material__code__in = "elec,elec_0";
obj.mpoint__ep_monitored__isnull = 0; obj.mpoint__ep_monitored__isnull = 0;

View File

@ -668,9 +668,9 @@ export default {
let that = this; let that = this;
let query = {}; let query = {};
query.page = 0; query.page = 0;
query.year_s = year; query.year = year;
query.month_s = month; query.month = month;
query.day_s = days; query.day = days;
query.type = "hour_s"; query.type = "hour_s";
query.mgroup = that.query.mgroup; query.mgroup = that.query.mgroup;
this.$API.enm.enstat.req(query).then((response) => { this.$API.enm.enstat.req(query).then((response) => {

View File

@ -466,9 +466,9 @@ export default {
let that = this; let that = this;
let obj = {}; let obj = {};
obj.type = "hour_s"; obj.type = "hour_s";
obj.year_s = year; obj.year = year;
obj.month_s = month; obj.month = month;
obj.day_s = days; obj.day = days;
obj.mgroup__name = "煤磨"; obj.mgroup__name = "煤磨";
obj.mpoint__material__code__in = "elec,elec_0"; obj.mpoint__material__code__in = "elec,elec_0";
obj.mpoint__ep_monitored__isnull = 0; obj.mpoint__ep_monitored__isnull = 0;

View File

@ -523,9 +523,9 @@ export default {
// //
let params4 = {}; let params4 = {};
params4.page = 0; params4.page = 0;
params4.year_s = year_h; params4.year = year_h;
params4.month_s = month_h; params4.month = month_h;
params4.day_s = days_h; params4.day = days_h;
params4.hour = hours_h; params4.hour = hours_h;
params4.type = "hour_s"; params4.type = "hour_s";
params4.mgroup = that.query.mgroup; params4.mgroup = that.query.mgroup;
@ -691,9 +691,9 @@ export default {
let that = this; let that = this;
let query = {}; let query = {};
query.page = 0; query.page = 0;
query.year_s = year; query.year = year;
query.month_s = month; query.month = month;
query.day_s = days; query.day = days;
query.type = "hour_s"; query.type = "hour_s";
query.mgroup = that.query.mgroup; query.mgroup = that.query.mgroup;
this.$API.enm.enstat.req(query).then((response) => { this.$API.enm.enstat.req(query).then((response) => {

View File

@ -631,9 +631,9 @@ export default {
let that = this; let that = this;
let obj = {}; let obj = {};
obj.type = "hour_s"; obj.type = "hour_s";
obj.year_s = year; obj.year = year;
obj.month_s = month; obj.month = month;
obj.day_s = days; obj.day = days;
obj.mgroup__name = "回转窑"; obj.mgroup__name = "回转窑";
obj.mpoint__material__code__in = "elec,elec_0"; obj.mpoint__material__code__in = "elec,elec_0";
obj.mpoint__ep_monitored__isnull = 0; obj.mpoint__ep_monitored__isnull = 0;

View File

@ -932,9 +932,9 @@ export default {
let that = this; let that = this;
let query = {}; let query = {};
query.page = 0; query.page = 0;
query.year_s = year; query.year = year;
query.month_s = month; query.month = month;
query.day_s = days; query.day = days;
query.type = "hour_s"; query.type = "hour_s";
query.mgroup = that.query.mgroup; query.mgroup = that.query.mgroup;
this.$API.enm.enstat.req(query).then((response) => { this.$API.enm.enstat.req(query).then((response) => {

View File

@ -464,9 +464,9 @@ export default {
let that = this; let that = this;
let obj = {}; let obj = {};
obj.type = "hour_s"; obj.type = "hour_s";
obj.year_s = year; obj.year = year;
obj.month_s = month; obj.month = month;
obj.day_s = days; obj.day = days;
obj.mgroup__name = "回转窑"; obj.mgroup__name = "回转窑";
obj.mpoint__material__code__in = "elec,elec_0"; obj.mpoint__material__code__in = "elec,elec_0";
obj.mpoint__ep_monitored__isnull = 0; obj.mpoint__ep_monitored__isnull = 0;

View File

@ -683,9 +683,9 @@ export default {
// //
let params4 = {}; let params4 = {};
params4.page = 0; params4.page = 0;
params4.year_s = year_h; params4.year = year_h;
params4.month_s = month_h; params4.month = month_h;
params4.day_s = days_h; params4.day = days_h;
params4.hour = hours_h; params4.hour = hours_h;
params4.type = "hour_s"; params4.type = "hour_s";
params4.mgroup = that.query.mgroup; params4.mgroup = that.query.mgroup;
@ -903,9 +903,9 @@ export default {
let that = this; let that = this;
let query = {}; let query = {};
query.page = 0; query.page = 0;
query.year_s = year; query.year = year;
query.month_s = month; query.month = month;
query.day_s = days; query.day = days;
query.type = "hour_s"; query.type = "hour_s";
query.mgroup = that.query.mgroup; query.mgroup = that.query.mgroup;
this.$API.enm.enstat.req(query).then((response) => { this.$API.enm.enstat.req(query).then((response) => {

View File

@ -586,9 +586,9 @@ export default {
let that = this; let that = this;
let obj = {}; let obj = {};
obj.type = "hour_s"; obj.type = "hour_s";
obj.year_s = year; obj.year = year;
obj.month_s = month; obj.month = month;
obj.day_s = days; obj.day = days;
obj.mgroup__name = "水泥磨"; obj.mgroup__name = "水泥磨";
obj.mpoint__material__code__in = "elec,elec_0"; obj.mpoint__material__code__in = "elec,elec_0";
obj.mpoint__ep_monitored__isnull = 0; obj.mpoint__ep_monitored__isnull = 0;

View File

@ -843,9 +843,9 @@ export default {
let that = this; let that = this;
let query = {}; let query = {};
query.page = 0; query.page = 0;
query.year_s = year; query.year = year;
query.month_s = month; query.month = month;
query.day_s = days; query.day = days;
query.type = "hour_s"; query.type = "hour_s";
query.mgroup = that.query.mgroup; query.mgroup = that.query.mgroup;
this.$API.enm.enstat.req(query).then((response) => { this.$API.enm.enstat.req(query).then((response) => {

View File

@ -565,9 +565,9 @@ export default {
let that = this; let that = this;
let obj = {}; let obj = {};
obj.type = "hour_s"; obj.type = "hour_s";
obj.year_s = year; obj.year = year;
obj.month_s = month; obj.month = month;
obj.day_s = days; obj.day = days;
obj.mgroup__name = "原料磨"; obj.mgroup__name = "原料磨";
obj.mpoint__material__code__in = "elec,elec_0"; obj.mpoint__material__code__in = "elec,elec_0";
obj.mpoint__ep_monitored__isnull = 0; obj.mpoint__ep_monitored__isnull = 0;

View File

@ -1040,9 +1040,9 @@ export default {
let that = this; let that = this;
let query = {}; let query = {};
query.page = 0; query.page = 0;
query.year_s = year; query.year = year;
query.month_s = month; query.month = month;
query.day_s = days; query.day = days;
query.type = "hour_s"; query.type = "hour_s";
query.mgroup = that.query.mgroup; query.mgroup = that.query.mgroup;
this.$API.enm.enstat.req(query).then((response) => { this.$API.enm.enstat.req(query).then((response) => {

View File

@ -454,9 +454,9 @@ export default {
let that = this; let that = this;
let obj = {}; let obj = {};
obj.type = "hour_s"; obj.type = "hour_s";
obj.year_s = year; obj.year = year;
obj.month_s = month; obj.month = month;
obj.day_s = days; obj.day = days;
obj.mgroup__name = "原料磨"; obj.mgroup__name = "原料磨";
obj.mpoint__material__code__in = "elec,elec_0"; obj.mpoint__material__code__in = "elec,elec_0";
obj.mpoint__ep_monitored__isnull = 0; obj.mpoint__ep_monitored__isnull = 0;

View File

@ -643,9 +643,9 @@ export default {
// //
let params4 = {}; let params4 = {};
params4.page = 0; params4.page = 0;
params4.year_s = year_h; params4.year = year_h;
params4.month_s = month_h; params4.month = month_h;
params4.day_s = days_h; params4.day = days_h;
params4.hour = hours_h; params4.hour = hours_h;
params4.type = "hour_s"; params4.type = "hour_s";
params4.mgroup = this.query.mgroup; params4.mgroup = this.query.mgroup;