From 3b7fcf5ea471f6cb388f86d0732b8ece47a3cefc Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期一, 29 十二月 2025 21:05:58 +0800
Subject: [PATCH] 页面更新
---
src/main.js | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/src/main.js b/src/main.js
index 91d7ef6..74bada1 100644
--- a/src/main.js
+++ b/src/main.js
@@ -3,7 +3,7 @@
* @Date: 2022-04-25 08:04:47
* @LastEditors: your Name
* @LastEditTime: 2022-04-25 16:33:00
- * @Description:
+ * @Description:
*/
import Vue from 'vue'
import yearPicker from 'vue-year-picker'
@@ -20,11 +20,13 @@
import directive from './directive' //directive
import plugins from './plugins' // plugins
+
import './assets/icons' // icon
import './permission' // permission control
import { getDicts } from "@/api/system/dict/data";
import { getConfigKey } from "@/api/system/config";
import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, handleTree } from "@/utils/ruoyi";
+import { formatTime } from "@/utils/index";
import dataV from '@jiaminghi/data-view';//dataV
// 鍒嗛〉缁勪欢
import Pagination from "@/components/Pagination";
@@ -45,12 +47,26 @@
//鐪佸競鍖洪�夋嫨缁勪欢
// import li_area_select from '@components/Address'
import moment from "moment"
+import '@/utils/drag.js';
+import DingTalkPC from 'dingtalk-jsapi';
+
+Vue.prototype.$dingtalk = DingTalkPC;
+DingTalkPC.config({
+ agentId: 'your_agentId',
+ corpId: 'your_corpId',
+ timeStamp: new Date().getTime(),
+ nonceStr: 'your_nonceStr',
+ signature: 'your_signature',
+ jsApiList: ['runtime.permission.requestAuthCode']
+});
+
Vue.prototype.$moment = moment;
// 鍏ㄥ眬鏂规硶鎸傝浇
Vue.prototype.getDicts = getDicts
Vue.prototype.getConfigKey = getConfigKey
Vue.prototype.parseTime = parseTime
+Vue.prototype.formatTime = formatTime
Vue.prototype.resetForm = resetForm
Vue.prototype.addDateRange = addDateRange
Vue.prototype.selectDictLabel = selectDictLabel
@@ -61,6 +77,7 @@
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
+
// 鍏ㄥ眬缁勪欢鎸傝浇
// Vue.component('li_area_select',li_area_select)
Vue.component('DictTag', DictTag)
--
Gitblit v1.9.3