From 40bd04c1299a0edf63771b90b5f9e78bfb943474 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期日, 28 十二月 2025 17:27:57 +0800
Subject: [PATCH] 办公及业务页面推送
---
src/main.js | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/src/main.js b/src/main.js
index d800d22..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'
@@ -26,6 +26,7 @@
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";
@@ -47,6 +48,17 @@
// 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;
@@ -54,6 +66,7 @@
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
@@ -64,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