代码提交
This commit is contained in:
parent
a0ffdc0fd3
commit
711811ac2e
BIN
dist12_8.rar
BIN
dist12_8.rar
Binary file not shown.
|
@ -1,8 +1,8 @@
|
|||
import axios from "axios";
|
||||
axios.defaults.baseURL = "http://inspur.dev.umayle.com/";
|
||||
//axios.defaults.baseURL = "http://inspur.dev.umayle.com/";
|
||||
// axios.defaults.baseURL = "http://172.16.1.254:10014/";
|
||||
// axios.defaults.baseURL = "http://192.168.4.202:8085"
|
||||
//
|
||||
axios.defaults.baseURL = "http://10.10.74.235:10014/";
|
||||
export const SaveUserAnswer = (data) => {
|
||||
return axios.post(
|
||||
`/Handler/Config.ashx?action=updatecache&mark=${data.mark}&user_id=${data.user_id}&mark_value=${data.mark_value}&step=${data.step}`
|
||||
|
|
|
@ -146,13 +146,19 @@ export default {
|
|||
// 有线串口 - 负载电流;
|
||||
// 无线串口 - 额定电流;
|
||||
// 这两个只要设备连线和设备配置信息对就展示数据;
|
||||
|
||||
this.user_id = decodeURIComponent(window.location.href)
|
||||
.split("?")[1]
|
||||
.split("|")[0];
|
||||
// this.user_id = "USER202311150117464304";
|
||||
this.toObj(
|
||||
decodeURIComponent(window.location.href).split("?")[1].split("|")[1]
|
||||
);
|
||||
if (
|
||||
decodeURIComponent(window.location.href).split("?")[1].split("|")[1] !=
|
||||
undefined
|
||||
) {
|
||||
this.toObj(
|
||||
decodeURIComponent(window.location.href).split("?")[1].split("|")[1]
|
||||
);
|
||||
}
|
||||
},
|
||||
// http://localhost:8080/#/cockpit?USER202311150117464304%7CYXDBWG,True%3BYXCHWG,True%3BWXDBWG,True%3BWXCHWG,True%3BSerialServerYX,True%3BSerialServerWX,True%3B
|
||||
methods: {
|
||||
|
@ -197,7 +203,6 @@ export default {
|
|||
var myChart = echarts.init(document.getElementById(dom), null, {
|
||||
devicePixelRatio: 10, // 设置为2或更高的值
|
||||
});
|
||||
console.log(option, "option");
|
||||
option.xAxis.axisLabel.textStyle.fontSize = this.fontSize(10);
|
||||
option.yAxis.axisLabel.textStyle.fontSize = this.fontSize(10);
|
||||
myChart.setOption(option);
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div id="app">
|
||||
<!-- 所有路由跳转链接 -->
|
||||
|
||||
<div class="db_lite" style="background-color: aqua; height: 100px">
|
||||
<!-- <div class="db_lite" style="background-color: aqua; height: 100px">
|
||||
<router-link to="/cockpit">驾驶舱</router-link>
|
||||
<router-link to="/wiredgatewayip">db网关-ip配置-有线网关</router-link>
|
||||
<router-link to="/dbcollectiongate">db有线网关-数据采集配置-有线网关配置</router-link>
|
||||
|
@ -10,7 +10,6 @@
|
|||
<router-link to="/dbcollectdevice">db有线网关-数据采集配置-网口设备配置</router-link>
|
||||
<router-link to="/dbcollect">db有线网关-数据采集配置-网口采集点配置</router-link>
|
||||
<router-link to="/mqttconfig">db有线网关-MQTT上云-网口MQTT1配置</router-link>
|
||||
<!--db无线网关配置 -->
|
||||
<router-link to="/wirelessgatewayip">db网关-ip配置-无线网关</router-link>
|
||||
<router-link to="/dbcollectionwifi">db无线网关-数据采集配置-网关配置配置</router-link>
|
||||
<router-link to="/dbcollectserial">db无线网关-数据采集配置-串口通道配置</router-link>
|
||||
|
@ -43,7 +42,7 @@
|
|||
<router-link to="/addstrategy">工业网闸配置-策略管理-添加策略</router-link>
|
||||
<router-link to="/ntconfig">网络优化-网关配置</router-link>
|
||||
<router-link to="/ntmaintenance">网络优化-网关维护</router-link>
|
||||
</div>
|
||||
</div> -->
|
||||
<!-- <ceshi></ceshi> -->
|
||||
<!-- <CeCe></CeCe> -->
|
||||
</div>
|
||||
|
|
|
@ -6,7 +6,7 @@ module.exports = defineConfig({
|
|||
devServer: {
|
||||
proxy: {
|
||||
"/Handler": {
|
||||
target: "http://111.229.30.246:10013",
|
||||
target: "http://172.16.1.254:10014",
|
||||
pathRewrite: { "^/Handler": "" },
|
||||
secure: false,
|
||||
changeOrigin: true,
|
||||
|
|
Loading…
Reference in New Issue