新疆加警示

This commit is contained in:
jiangyinzhi
2025-04-17 10:44:14 +08:00
parent 561624a90c
commit af0c479609
4 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ const LoadingInstance = {
function myAxios(axiosConfig, customOptions) { function myAxios(axiosConfig, customOptions) {
const service = axios.create({ const service = axios.create({
baseURL: axiosConfig.type ? '' : baseURLs, // 设置统一的请求前缀 baseURL: axiosConfig.type ? '' : baseURLs, // 设置统一的请求前缀
timeout: 10000, // 设置统一的超时时长 timeout: 20000, // 设置统一的超时时长
}); });
// 自定义配置 // 自定义配置
+1 -1
View File
@@ -2,7 +2,7 @@
import myAxios from "./axios"; import myAxios from "./axios";
import myAxios2 from "./axios2"; import myAxios2 from "./axios2";
const sx = process.env.VUE_APP_CITY_TYPE == 'sx'?'/ferry_service/ferryController/conveyor':'' const sx = process.env.VUE_APP_CITY_TYPE == 'sx'?'/ferry_service/ferryController/conveyor':''
const sxAdmin = process.env.VUE_APP_CITY_TYPE == 'sx'?'/admin/grsg2':'/thirdpart/grsg' const sxAdmin = (process.env.VUE_APP_CITY_TYPE == 'sx'||process.env.VUE_APP_CITY_TYPE == 'cq')?'/admin/grsg2':'/thirdpart/grsg'
/** /**
* 查询系统码表 * 查询系统码表
Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

+5 -1
View File
@@ -1,6 +1,8 @@
<template> <template>
<div class="energyindex"> <div class="energyindex">
<!-- <Header :title="title" @onClickLeft="onClickLeft" /> --> <!-- <Header :title="title" @onClickLeft="onClickLeft" /> -->
<img v-if="warningShow" src="@/assets/warning.jpg" alt="" />
<!-- 原本的回退存放地 --> <!-- 原本的回退存放地 -->
<van-nav-bar class="energyindex-header" /> <van-nav-bar class="energyindex-header" />
<div class="all"> <div class="all">
@@ -241,7 +243,8 @@ export default {
searchValue: '', //搜索的内容 searchValue: '', //搜索的内容
searchRespon: {}, //搜索结果 searchRespon: {}, //搜索结果
searchFaly: false, //展示搜索结果 searchFaly: false, //展示搜索结果
type: '' //01公共建筑02工业企业 type: '', //01公共建筑02工业企业
warningShow: false,
} }
}, },
computed: { computed: {
@@ -273,6 +276,7 @@ export default {
this.getStatistic() this.getStatistic()
this.getCustomerType() this.getCustomerType()
// this.init() // this.init()
this.warningShow= process.env.VUE_APP_CITY_TYPE=='xj'
}, },
mounted() { mounted() {
// this.getAi() // this.getAi()