Compare commits

..

No commits in common. 'master' and 'Lvtianfang' have entirely different histories.

@ -6,14 +6,18 @@
# @FilePath: \MuduAPP\.env.development
###
## 开发环境变量
VUE_APP_HOST = "/api/v1.0/"
VUE_APP_FILE_HOST = "https://www.jichuanglanhai.com:88/api/"
# VUE_APP_HOST = "http://mdapi.junln.net/api/v1.0/"
# VUE_APP_FILE_HOST = "http://mdapi.junln.net/api/"
VUE_APP_HOST = "http://221.229.220.83:8007/api/v1.0/"
VUE_APP_FILE_HOST = "http://221.229.220.83:8007/api/"
# 二期接口
VUE_APP_RUOYI ='https://www.jichuanglanhai.com:88'
# VUE_APP_RUOYI ='http://39.101.188.84:9028'
VUE_APP_RUOYI ='http://221.229.220.83:9028'
# 图片前缀正式服务器
VUE_APP_IMGURL ='http://221.229.220.83:9028'
# 图片前缀本地服务器
# VUE_APP_IMGURL ='http://192.168.0.123:9028'
VUE_APP_INTERFACE = ""
VUE_APP_VERSION = "3.2.7"
VUE_APP_VERSION2 = "3.2.7"

@ -1,13 +1,17 @@
## 生产环境变量
VUE_APP_HOST = "https://www.jichuanglanhai.com:88/api/v1.0/"
VUE_APP_FILE_HOST = "https://www.jichuanglanhai.com:88/api/"
# VUE_APP_HOST = "http://mdapi.junln.net/api/v1.0/"
# VUE_APP_FILE_HOST = "http://mdapi.junln.net/api/"
VUE_APP_HOST = "http://221.229.220.83:8007/api/v1.0/"
VUE_APP_FILE_HOST = "http://221.229.220.83:8007/api/"
# VUE_APP_INTERFACE = "https://mdz.keyush.cn:8030"
# 二期接口
VUE_APP_RUOYI ='https://www.jichuanglanhai.com:88'
VUE_APP_RUOYI ='http://221.229.220.83:9028'
# IOS和安卓访问
VUE_APP_INTERFACE = "http://39.101.188.84:89"
# 图片前缀正式服务器
VUE_APP_IMGURL ='http://221.229.220.83:9028'
VUE_APP_VERSION = "3.2.8"
VUE_APP_VERSION2 = "3.2.8"

587
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -40,8 +40,8 @@
"babel-eslint": "^10.0.1",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0",
"node-sass": "^4.13.0",
"sass-loader": "^8.0.0",
"node-sass": "^4.9.0",
"sass-loader": "^7.1.0",
"vue-template-compiler": "^2.6.10"
},
"eslintConfig": {

@ -33,7 +33,7 @@ export default {
var designWidth = 750 //
var baseFontsize = 120 // cssrempx
var realFontsize = (window.screen.width / designWidth) * baseFontsize //
// console.log(realFontsize, '')
console.log(realFontsize, '基准')
// console.log(realFontsize)
document.getElementsByTagName('html')[0].style.fontSize =
realFontsize + 'px'
@ -63,7 +63,9 @@ body {
width: 100%;
z-index: 2000;
}
::-webkit-scrollbar {
display: none; /*隐藏滚轮*/
}
//
input:-webkit-autofill,
textarea:-webkit-autofill,

@ -39,16 +39,6 @@ export function listManagement(query) {
params: query
})
}
//查询园区负责人列表
export function listEnterpriseBuildPark(query) {
return request({
url: '/mudu/enterprisebuildpark',
method: 'get',
params: query
})
}
// // 园区详情 enterprise/parkinfo/
// export function getParkinfo(id) {
// return request.get('enterprise/parkinfo/' + id)

@ -31,7 +31,7 @@ export function updateHistory(data) {
return request({
url: '/mudu/history',
method: 'put',
data,
data
})
}
@ -42,11 +42,3 @@ export function delHistory(id) {
method: 'delete',
})
}
export function loginMudu2(data) {
return request({
url: '/loginnocaptcha',
method: 'post',
data,
})
}

@ -18,12 +18,12 @@ import { refreshToken, isRefreshRequest } from '@/util/refresh.js'
// 实例化axios
const request = axios.create({
baseURL: process.env.VUE_APP_HOST,
timeout: 50000
timeout: 50000,
})
// request--请求 拦截器
request.interceptors.request.use(
config => {
(config) => {
if (config.url !== 'secret/token') {
let token = localStorage.getItem('mudu_token')
let authToken = 'Bearer ' + token
@ -36,7 +36,7 @@ request.interceptors.request.use(
let params = config.data
// debugger
const formData = new FormData()
Object.keys(params).forEach(key => {
Object.keys(params).forEach((key) => {
//参数为null或者'null'时候不传入后台
if (params[key] && params[key] !== 'null')
formData.append(key, params[key])
@ -46,19 +46,19 @@ request.interceptors.request.use(
}
return config
},
error => {
(error) => {
Promise.reject(error)
}
)
// response--响应 拦截器
request.interceptors.response.use(
async response => {
async (response) => {
// 系统返回状态判断
if (response.data.code === 500) {
Toast({
message: response.data.message,
position: 'bottom'
position: 'bottom',
})
// router.replace('/')
return Promise.reject(response.data)
@ -70,7 +70,7 @@ request.interceptors.response.use(
if (message.length === 0) message = '暂无数据'
Toast({
message: message,
position: 'bottom'
position: 'bottom',
})
}
return Promise.reject(response.data)
@ -80,9 +80,8 @@ request.interceptors.response.use(
return response.data
}
},
async error => {
async (error) => {
let errorData = error.response
if (errorData.status === 401 && !isRefreshRequest(errorData.config)) {
const isSucceed = await refreshToken()
if (isSucceed) {
@ -95,13 +94,13 @@ request.interceptors.response.use(
} else {
Toast({
message: '刷新令牌失败',
position: 'bottom'
position: 'bottom',
})
}
} else {
Toast({
message: '网络异常,请检查网络情况',
position: 'bottom'
position: 'bottom',
})
}
return Promise.reject(error)

@ -9,12 +9,10 @@
// import Vue from 'vue';
import router from '../router'
import CryptoJS from 'crypto-js'
import axios from 'axios'
import { Toast } from 'vant'
import { refreshToken, isRefreshRequest } from '@/util/refresh2.js'
// 实例化axios
const request = axios.create({
baseURL: process.env.VUE_APP_RUOYI,
@ -25,7 +23,7 @@ const request = axios.create({
request.interceptors.request.use(
(config) => {
if (config.url !== 'secret/token') {
let token = localStorage.getItem('mudu2_token')
let token = localStorage.getItem('mudu_token')
let authToken = 'Bearer ' + token
config.headers['Authorization'] = authToken
}
@ -53,25 +51,7 @@ request.interceptors.request.use(
// response--响应 拦截器
request.interceptors.response.use(
async (response) => {
let errorData = response
if (errorData.data.code === 401 && !isRefreshRequest(errorData.config)) {
const isSucceed = await refreshToken()
if (isSucceed) {
//重新请求
// console.log('重新刷新')
errorData.config.headers.Authorization =
'Bearer ' + localStorage.getItem('mudu2_token') //替换token
let result = await request.request(errorData.config) //重新请求
return result
} else {
Toast({
message: '刷新令牌失败',
position: 'bottom',
})
}
}
(response) => {
// 系统返回状态判断
if (response.data.code === 500) {
Toast({
@ -98,7 +78,7 @@ request.interceptors.response.use(
}
},
(error) => {
// console.log(error.response)
console.log(error.response)
if (error.response && error.response.status === 401) {
Toast({
message: '登录过期,请重新登录',

@ -1,7 +1,3 @@
/* div{
font-family: 'PingFang-SC-Medium';
} */
/* 上有标题栏、下有菜单栏的内容 */
.main-center {
width: 100%;
@ -222,7 +218,7 @@
}
.cell-map-point {
position: absolute;
width: 0.28rem;
width: 0.3rem;
height: 0.3rem;
/* border-radius: 0.3rem;
background-color: #2487ff; */
@ -274,52 +270,3 @@
.text-13 .land-name3 {
font-size: 16px;
}
.layerItem {
font-size: 0.17rem;
color: #FEFFFF;
text-align: center;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
/* transform: rotate(-20deg); */
}
.map-icon-box{
}
.park-icon{
width: 100%;
position: relative;
}
.park-icon .icon{
position: absolute;
top: -0.5rem;
left: 50%;
transform: translateX(-50%);
width: 0.4rem;
height: 0.48rem;
background: url(../image/vxEwm/map-marker.png);
background-size: 100% 100%;
}
.park-icon .icon-name{
font-weight: 800;
font-size: 0.24rem;
color: #044274;
text-align: center;
text-shadow: -1px -1px 0 white,
1px -1px 0 white,
-1px 1px 0 white,
1px 1px 0 white;
}
.check-icon{
position: relative;
div{
position: absolute;
top: -0.33rem;
left: 0;
width: 0.4rem;
height: 0.44rem;
background: url(../image/vxEwm/location.png);
background-size: 100% 100%;
}
}

@ -1,9 +1,49 @@
/* @font-face {
font-family: 'Source Han Sans CN-Normal';
src: url('../css/font/siyuan-Normal.otf');
} */
/* @font-face {
font-family: 'Source Han Sans CN-Regular';
src: url('../css/font/siyuan-Regular.otf');
} */
/* @font-face {
font-family: 'Source Han Sans CN-Bold';
src: url('../css/font/siyuan-Bold.otf');
} */
/* @font-face {
font-family: 'Source Han Sans CN-Medium';
src: url('../css/font/siyuan-Medium.otf');
} */
@font-face {
font-family: 'DIN-BlackItalic';
src: url('../css/font/DIN-BlackItalic.otf');
}
@font-face {
font-family: 'D-DIN-Bold';
src: url('../css/font/D-DIN-Bold.otf');
}
@font-face {
font-family: 'Digital';
src: url('../css/font/DS-Digital.TTF');
}
@font-face {
font-family: 'YouSheBiaoTiHei-Bold';
src: url('../css/font/YouSheBiaoTiHei.ttf');
}
@font-face {
font-family: 'AlibabaPuHuiTi-Medium';
src: url('../css/font/siyuan-Medium.otf');
}
@font-face {
font-family: 'AlibabaPuHuiTi-Regular';
src: url('../css/font/siyuan-Regular.otf');
}
@font-face {
font-family: 'DIN-BlackItali';
src: url('../css/font/DIN-BlackItalic.otf');
}
@font-face {
font-family: 'PingFang-SC-Bold';
src: url('../css/font/DIN CONDENSED BOLD.TTF');
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 771 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 833 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 789 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save