WXL (wul)
2026-05-08 f9902f7a3b79d22bde9f199263ac36de26816470
src/utils/ruoyi.js
@@ -3,6 +3,7 @@
 * Copyright (c) 2019 ruoyi
 */
import dayjs from "dayjs";
import store from "@/store";
// 日期格式化
export function parseTime(time, pattern) {
@@ -62,6 +63,16 @@
  // 返回天数,四舍五入到最接近的整数
  return Math.round(differenceInDays);
}
export function followupAuthority() {
  const depts = store.getters.belongDepts;
  const wards = store.getters.belongWards;
console.log(1);
  return (
    (Array.isArray(depts) && depts.length > 0) ||
    (Array.isArray(wards) && wards.length > 0)
  );
}
// 过滤器
export function formatTime(val) {
  if (val) {