From b32150d1fd576fa3b89e85e2f99be2edc67b9293 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 17 九月 2024 16:26:15 +0800
Subject: [PATCH] 工单详情页优化

---
 src/main.js |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/main.js b/src/main.js
index 7baf4cc..6df0404 100644
--- a/src/main.js
+++ b/src/main.js
@@ -4,7 +4,8 @@
 import { getToken } from "@/utils/auth";
 import Element from 'element-ui'
 import './assets/styles/element-variables.scss'
-
+import * as echarts from 'echarts'
+import 'echarts-gl'
 import '@/assets/styles/index.scss' // global css
 import '@/assets/styles/ruoyi.scss' // ruoyi css
 import App from './App'
@@ -59,6 +60,8 @@
 Vue.prototype.handleTree = handleTree
 Vue.prototype.getToken = getToken
 Vue.prototype.$uploadUrl = process.env.VUE_APP_BASE_API + "/common/upload"
+Vue.prototype.$img = process.env.VUE_APP_BASE_API
+Vue.prototype.$echarts = echarts
 
 // 鍏ㄥ眬缁勪欢鎸傝浇
 Vue.component('DictTag', DictTag)
@@ -107,7 +110,7 @@
       duration: 1,
       ease: "power2.out",
       onUpdate: () => {
-        el.innerText = formatNumber(target.count.toFixed(0));
+        // el.innerText = formatNumber(target.count.toFixed(0));
       }
     })
 
@@ -122,7 +125,7 @@
       duration: 1,
       ease: "power2.out",
       onUpdate: () => {
-        el.innerText = formatNumber(target.count.toFixed(0));
+        // el.innerText = formatNumber(target.count.toFixed(0));
       }
     })
   }

--
Gitblit v1.8.0