Commit 0964fba6 authored by wuhao's avatar wuhao 🎯

asder

parent ddba1c75
......@@ -2,7 +2,7 @@
* @Author: wuhao930406 1148547900@qq.com
* @Date: 2023-08-08 09:18:08
* @LastEditors: wuhao930406 1148547900@qq.com
* @LastEditTime: 2023-08-16 13:43:53
* @LastEditTime: 2023-08-18 13:47:18
* @FilePath: /vue3portal/src/api/request.js
* @Description:
*
......@@ -20,13 +20,20 @@ const publicUrl = envMode == "development" ? "/vstp" : "/vstp";
* @returns:Promise {<pending>}
**/
export const http = (method, url, params = {}, loading) => {
const route = useRoute();
console.log(route.query);
return new Promise(function (resolve, reject) {
axios({
method: method,
url: publicUrl + url,
headers: {
...route.query,
"Content-Type": "application/json",
},
data: params,
})
......
......@@ -2,7 +2,7 @@
* @Author: wuhao930406 1148547900@qq.com
* @Date: 2023-08-08 09:18:08
* @LastEditors: wuhao930406 1148547900@qq.com
* @LastEditTime: 2023-08-16 11:25:04
* @LastEditTime: 2023-08-18 14:00:26
* @FilePath: /vue3portal/src/main.js
* @Description:
*
......
<!--
* @Author: wuhao930406 1148547900@qq.com
* @Date: 2023-08-08 09:18:08
* @LastEditors: wuhao930406 1148547900@qq.com
* @LastEditTime: 2023-08-18 13:32:26
* @FilePath: /vue3portal/src/viewsCN/dashboardC/dashboardC-index.vue
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
-->
<script setup>
import layout from "./layout.vue"
const state=reactive({
APConfig:{
height:930,
height:1080,
backgroundFillAll:true,
backgroundName:"A1",
chartCount:6
......
......@@ -2,7 +2,7 @@
* @Author: wuhao930406 1148547900@qq.com
* @Date: 2023-08-08 09:18:08
* @LastEditors: wuhao930406 1148547900@qq.com
* @LastEditTime: 2023-08-17 14:00:46
* @LastEditTime: 2023-08-18 13:51:35
* @FilePath: /vue3portal/src/viewsCN/dashboardC/portlet/echart-bar.vue
* @Description:
*
......@@ -31,8 +31,8 @@ const processData = (dataList) => {
type: 'bar',
barWidth: 10,
label: {
show: false,
position: 'insideRight'
show: true,
position: 'top', // 将 label 放在柱子顶部
},
itemStyle: {
color: colors[i],
......
......@@ -2,7 +2,7 @@
* @Author: wuhao930406 1148547900@qq.com
* @Date: 2023-08-08 09:18:08
* @LastEditors: wuhao930406 1148547900@qq.com
* @LastEditTime: 2023-08-17 14:01:02
* @LastEditTime: 2023-08-18 13:54:42
* @FilePath: /vue3portal/src/viewsCN/dashboardC/portlet/echart-gaugeTriple.vue
* @Description:
*
......@@ -30,8 +30,10 @@ const processData = (dataList) => {
name: legend[i],
type: 'line',
label: {
show: false,
position: 'insideRight'
show: true,
position: 'top', // 将 label 放在柱子顶部
color: $c.aql4,
textShadow: 'none', // 去除文字阴影
},
itemStyle: {
color: colors[i],
......
......@@ -2,7 +2,7 @@
* @Author: wuhao930406 1148547900@qq.com
* @Date: 2023-08-08 09:18:08
* @LastEditors: wuhao930406 1148547900@qq.com
* @LastEditTime: 2023-08-17 14:01:18
* @LastEditTime: 2023-08-18 14:01:18
* @FilePath: /vue3portal/src/viewsCN/dashboardC/portlet/echart-sunburst.vue
* @Description:
*
......@@ -53,7 +53,7 @@ const processOption = (datas) => {
},
grid: {
left: '16px',
right: '16px',
right: '12%',
bottom: 20,
containLabel: true,
},
......
......@@ -2,7 +2,7 @@
* @Author: wuhao930406 1148547900@qq.com
* @Date: 2023-08-08 09:18:08
* @LastEditors: wuhao930406 1148547900@qq.com
* @LastEditTime: 2023-08-17 17:10:48
* @LastEditTime: 2023-08-18 13:55:07
* @FilePath: /vue3portal/src/viewsCN/dashboardC/portlet/echarts-hill-group/echart-hill.vue
* @Description:
*
......@@ -31,8 +31,10 @@ const processData = (dataList) => {
type: 'line',
barWidth: 10,
label: {
show: false,
position: 'insideRight'
show: true,
position: 'top', // 将 label 放在柱子顶部
color: $c.bll4,
textShadow: 'none', // 去除文字阴影
},
itemStyle: {
color: colors[i],
......
......@@ -2,7 +2,7 @@
* @Author: wuhao930406 1148547900@qq.com
* @Date: 2023-08-08 09:18:08
* @LastEditors: wuhao930406 1148547900@qq.com
* @LastEditTime: 2023-08-17 17:11:38
* @LastEditTime: 2023-08-18 13:49:47
* @FilePath: /vue3portal/vite.config.js
* @Description:
*
......@@ -16,7 +16,7 @@ export default defineConfig({
host: "192.168.40.100",
proxy: {
"/vstp/": {
target: "http://192.168.40.117:8044/vstp",
target: "http://192.168.40.36:8022",
changeOrigin: true,
rewrite: (path) => path.replace(/^\/vstp/, ""),
},
......
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