Commit 0964fba6 authored by wuhao's avatar wuhao 🎯

asder

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