From 574b449a39019a59dc90ecc19dda9f63d3aa9636 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期三, 18 十一月 2026 15:35:47 +0800
Subject: [PATCH] 测试完成

---
 src/main.js |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/main.js b/src/main.js
index 06edb6c..4ecbd5b 100644
--- a/src/main.js
+++ b/src/main.js
@@ -51,6 +51,7 @@
 import {
   parseTime,
   formatTime,
+  followupAuthority,
   resetForm,
   addDateRange,
   selectDictLabel,
@@ -111,6 +112,7 @@
 Vue.prototype.formatTime = formatTime;
 Vue.prototype.daysBetween = daysBetween;
 Vue.prototype.resetForm = resetForm;
+Vue.prototype.followupAuthority = followupAuthority;
 Vue.prototype.addDateRange = addDateRange;
 Vue.prototype.selectDictLabel = selectDictLabel;
 Vue.prototype.selectDictLabels = selectDictLabels;
@@ -150,6 +152,19 @@
 
 Vue.config.productionTip = false;
 
+// 鍏ㄥ眬娉ㄥ叆鏈烘瀯鍒ゆ柇锛堢渷绔嬪悓寰风郴鍒� / 绾渷绔嬪悓寰烽櫌鍖猴級銆�
+// 鎵�鏈夌粍浠舵棤闇�鍗曠嫭娉ㄥ唽 computed锛屾ā鏉夸笌 this 涓彲鐩存帴浣跨敤 isTongdeOrg / isTongdeCampus
+Vue.mixin({
+  computed: {
+    isTongdeOrg() {
+      return this.$store.getters.isTongdeOrg; // 鏄惁鐪佺珛鍚屽痉绯诲垪闄㈠尯锛堝惈鍗楀崕澶у闄勫睘绗竴鍖婚櫌锛�
+    },
+    isTongdeCampus() {
+      return this.$store.getters.isTongdeCampus;// 鏄惁绾渷绔嬪悓寰烽櫌鍖猴紙涓嶅惈鍗楀崕澶у闄勫睘绗竴鍖婚櫌锛�
+    },
+  },
+});
+
 new Vue({
   el: "#app",
   router,

--
Gitblit v1.9.3