Commit 53c05b82 authored by xinzhedeai's avatar xinzhedeai

init:山西华远版本-from lcl

parent b88a0933
## 开发
```bash
......
......@@ -10,7 +10,7 @@ import { saveAs } from 'file-saver'
let downloadLoadingInstance;
// 是否显示重新登录
export let isRelogin = { show: false };
document.cookie=`Admin-Token=${new URLSearchParams(window.location.search).get('Admin')}`;
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
// 创建axios实例
......
......@@ -3,7 +3,6 @@
<div class="home-right">
<div class="home-right-top">
<p class="title">边坡介绍</p>
<!-- <p class="cont">边坡名称:威海晶合边坡结构系统</p> -->
<p class="cont">边坡名称:边坡结构系统</p>
<p class="cont">边坡工程安全等级:高级</p>
<p class="cont">边坡危害等级:低级</p>
......
......@@ -138,6 +138,8 @@ export default {
},
},
created() {
document.cookie=`Admin-Token=${new URLSearchParams(window.location.search).get('Admin')}`;
console.log(new URLSearchParams(window.location.search).get('Admin'))
this.getCode();
this.getCookie();
},
......
......@@ -13,7 +13,7 @@
<el-card class="box-card mt20">
<div class="lcl-title">检测点</div>
<div class="mt20">
<el-select v-model="queryParams.equipno" placeholder="请选择设备">
<el-select v-model="queryParams.equipno" placeholder="请选择设备" clearable>
<el-option
v-for="item in monDicList"
:key="item.monNumber"
......
......@@ -10,7 +10,7 @@ const CompressionPlugin = require('compression-webpack-plugin')
// const name = process.env.VUE_APP_TITLE || '边坡结构稳定性监测系统' // 网页标题
const name = '边坡结构稳定性监测系统' // 网页标题
const port = process.env.port || process.env.npm_config_port || 12100 // 端口
const port = process.env.port || process.env.npm_config_port || 80 // 端口
// vue.config.js 配置说明
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
......@@ -36,9 +36,10 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `http://192.168.3.180:8002`,
// target: `http://192.168.3.37:9090`,
target: `http://60.212.188.152:12000`,//服务器
// target: `http://192.168.3.226:9090`,
target: `http://192.168.2.16:9090`,
// target: `http://60.212.188.152:12000`,//服务器
// target: `http://182.92.170.89:10082`,//服务器
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment