Compare commits

..

33 Commits

Author SHA1 Message Date
许宏杰 ca4fdf029f 修复返回按钮不显示问题
6 months ago
许宏杰 40fa838cf0 +1
6 months ago
许宏杰 4d57a869e9 修复返回按钮
6 months ago
许宏杰 8cdc0f8b17 一期登录接口加密
6 months ago
许宏杰 328fb913ff “亩”单位
7 months ago
许宏杰 af9089450b 企业数
7 months ago
许宏杰 b5e2366fb5 企业数回显
7 months ago
许宏杰 870f27a790 修复二期接口工业园id未识别到原因
7 months ago
许宏杰 db6ed97a40 二期接口加上无感token
10 months ago
许宏杰 85f6bfa41b 修改了下载方式
10 months ago
许宏杰 9098930415 修改错误单位
11 months ago
laozt 955c644cf3 工业园楼栋扫码
1 year ago
laozt ab49fcf5e1 暂存
1 year ago
laozt d861aabe8c 字体
1 year ago
许宏杰 2cea9e335c 提交
1 year ago
许宏杰 52c44d6673 添加处罚记录
1 year ago
许宏杰 976d9a689c 样式+1
1 year ago
许宏杰 007f7ffdaf 单位底部对齐
1 year ago
许宏杰 0e3b216134 法人联系方式,巡查定位图标
1 year ago
许宏杰 cc70b810df +1
1 year ago
许宏杰 83155b1f79 样式修复
1 year ago
许宏杰 1b7b68e2a3 修复按钮
1 year ago
许宏杰 7627c015b7 不记录路由
1 year ago
许宏杰 ac1c3d060c 去除冗余
1 year ago
许宏杰 67775f05f5 去除冗余
1 year ago
许宏杰 c3cb20e09a 修复
1 year ago
许宏杰 7ccfc6138f 样式
1 year ago
许宏杰 1c417b2294 企业端修复完成
1 year ago
许宏杰 8003df1491 +1
1 year ago
许宏杰 1fc84929c9 接口代理
1 year ago
许宏杰 5ee28cccce 修复+1
1 year ago
许宏杰 97ba3541e3 +1
1 year ago
许宏杰 963b118fcc +1
1 year ago

@ -6,18 +6,14 @@
# @FilePath: \MuduAPP\.env.development # @FilePath: \MuduAPP\.env.development
### ###
## 开发环境变量 ## 开发环境变量
# VUE_APP_HOST = "http://mdapi.junln.net/api/v1.0/" VUE_APP_HOST = "/api/v1.0/"
# VUE_APP_FILE_HOST = "http://mdapi.junln.net/api/" VUE_APP_FILE_HOST = "https://www.jichuanglanhai.com:88/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 ='http://221.229.220.83:9028' VUE_APP_RUOYI ='https://www.jichuanglanhai.com:88'
# 图片前缀正式服务器 # VUE_APP_RUOYI ='http://39.101.188.84: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_VERSION = "3.2.7"
VUE_APP_VERSION2 = "3.2.7" VUE_APP_VERSION2 = "3.2.7"

@ -1,17 +1,13 @@
## 生产环境变量 ## 生产环境变量
# VUE_APP_HOST = "http://mdapi.junln.net/api/v1.0/" VUE_APP_HOST = "https://www.jichuanglanhai.com:88/api/v1.0/"
# VUE_APP_FILE_HOST = "http://mdapi.junln.net/api/" VUE_APP_FILE_HOST = "https://www.jichuanglanhai.com:88/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 ='http://221.229.220.83:9028' VUE_APP_RUOYI ='https://www.jichuanglanhai.com:88'
# 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_VERSION = "3.2.8"
VUE_APP_VERSION2 = "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", "babel-eslint": "^10.0.1",
"eslint": "^5.16.0", "eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0", "eslint-plugin-vue": "^5.0.0",
"node-sass": "^4.9.0", "node-sass": "^4.13.0",
"sass-loader": "^7.1.0", "sass-loader": "^8.0.0",
"vue-template-compiler": "^2.6.10" "vue-template-compiler": "^2.6.10"
}, },
"eslintConfig": { "eslintConfig": {

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

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

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

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

@ -1,3 +1,7 @@
/* div{
font-family: 'PingFang-SC-Medium';
} */
/* 上有标题栏、下有菜单栏的内容 */ /* 上有标题栏、下有菜单栏的内容 */
.main-center { .main-center {
width: 100%; width: 100%;
@ -218,7 +222,7 @@
} }
.cell-map-point { .cell-map-point {
position: absolute; position: absolute;
width: 0.3rem; width: 0.28rem;
height: 0.3rem; height: 0.3rem;
/* border-radius: 0.3rem; /* border-radius: 0.3rem;
background-color: #2487ff; */ background-color: #2487ff; */
@ -270,3 +274,52 @@
.text-13 .land-name3 { .text-13 .land-name3 {
font-size: 16px; 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,49 +1,9 @@
/* @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-face {
font-family: 'PingFang-SC-Bold'; font-family: 'PingFang-SC-Bold';
src: url('../css/font/DIN CONDENSED BOLD.TTF'); src: url('../css/font/DIN CONDENSED BOLD.TTF');
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 428 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 562 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 771 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 833 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 789 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 313 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 375 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 367 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 400 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

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