江苏规约

ds1.0
fanluyan 2 years ago
parent 5472b99a62
commit c3383e096b

@ -376,7 +376,10 @@ export default {
console.log(timearr);
}
////
if (this.allCheckNode[i].protocol == "65286") {
if (
this.allCheckNode[i].protocol == "65286" ||
this.allCheckNode[i].protocol == "65282"
) {
console.log("河南规约");
//
//this.getDayArr(startDay, endDay);

@ -58,7 +58,7 @@
>{{ val.substring(val.length - 5) }}</el-tag
>
<el-tag
v-if="timeProtocol == '65286'"
v-if="timeProtocol == '65286' || timeProtocol == '65282'"
class="mr10 mt10"
size="mini"
v-for="(val, index) in this.shedulenr"
@ -85,7 +85,7 @@
>{{ val.substring(val.length - 5) }}</el-tag
>
<el-tag
v-if="timeProtocol == '65286'"
v-if="timeProtocol == '65286' || timeProtocol == '65282'"
class="mr10 mt10"
size="mini"
v-for="(val, index) in this.newshedulenr"
@ -462,7 +462,10 @@ export default {
}
}
//
if (this.timeProtocol == "65286") {
if (
this.timeProtocol == "65286" ||
this.timeProtocol == "65282"
) {
console.log("河南规约");
var hnarr = [];
for (var i = 0; i < this.shedulenr.length; i++) {
@ -571,7 +574,7 @@ export default {
}
}
//
if (this.timeProtocol == "65286") {
if (this.timeProtocol == "65286" || this.timeProtocol == "65282") {
console.log("河南规约");
var hnarr = [];
for (var i = 0; i < this.shedulenr.length; i++) {
@ -704,7 +707,10 @@ export default {
}
}
//
if (this.timeProtocol == "65286") {
if (
this.timeProtocol == "65286" ||
this.timeProtocol == "65282"
) {
console.log("河南规约");
var hnarr = [];
for (var i = 0; i < this.newshedulenr.length; i++) {
@ -1036,7 +1042,10 @@ export default {
}
////
if (this.deviceListData.zzprotocol == "65286") {
if (
this.deviceListData.zzprotocol == "65286" ||
this.timeProtocol == "65282"
) {
console.log("河南规约");
//
//this.getDayArr(startDay, endDay);

@ -29,11 +29,11 @@ module.exports = defineConfig({
proxy: {
"/api": {
//表示拦截以/api开头的请求路径
target: "http://47.96.238.157:8093", //阿里云服务器环境
// target: "http://180.166.218.222:40080", //dell
//target: "http://47.96.238.157:8093", //阿里云服务器环境
target: "http://180.166.218.222:40080", //dell
changOrigin: true, //是否开启跨域
pathRewrite: {
"^/api": "", //重写api把api变成空字符因为我们真正请求的路径是没有api的
"^/api": "/api", //重写api把api变成空字符因为我们真正请求的路径是没有api的
},
},
},

Loading…
Cancel
Save