提交 98557603 编写于 作者: zhujiamin's avatar zhujiamin

feat: 更新插件

上级 1de9c522
......@@ -2,8 +2,8 @@ var Q = Object.defineProperty;
var X = (t, n, s) => n in t ? Q(t, n, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[n] = s;
var b = (t, n, s) => (X(t, typeof n != "symbol" ? n + "" : n, s), s);
import { PluginStaticResource as Z, ViewMode as ee } from "@ibiz-template/runtime";
import { ref as C, watch as _, defineComponent as S, getCurrentInstance as z, computed as N, onMounted as K, h as a, toRefs as te, reactive as se, nextTick as R, toRef as ae } from "vue";
import { useRouter as F, useRoute as B, useIndexViewController as ne, useNamespace as q, useControlController as oe, usePropsWatch as re, useListController as ie, useListExpViewController as le, useRouteKey as ce, getUploadProps as de, getEditorEmits as ue, useMPickupViewController as he, useTreeController as pe } from "@ibiz-template/vue-util";
import { ref as C, watch as _, defineComponent as S, getCurrentInstance as z, computed as N, onMounted as K, h as a, toRefs as te, reactive as se, nextTick as F, toRef as ae } from "vue";
import { useRouter as B, useRoute as R, useIndexViewController as ne, useNamespace as q, useControlController as oe, usePropsWatch as re, useListController as ie, useListExpViewController as le, useRouteKey as ce, getUploadProps as de, getEditorEmits as ue, useMPickupViewController as he, useTreeController as pe } from "@ibiz-template/vue-util";
import { createUUID as me } from "qx-util";
import { IndexViewModel as fe, PortletPartModel as ge, ViewPortletModel as ve, ListModel as U, TreeModel as ye } from "@ibiz-template/model";
import O from "dayjs";
......@@ -31,7 +31,7 @@ const Ee = (t) => {
return `/${s}/${n}/${ibiz.env.routePlaceholder}`;
};
function Ie(t, n) {
const s = F(t), e = C(""), r = C(""), o = C([]), u = C([]), y = (l) => {
const s = B(t), e = C(""), r = C(""), o = C([]), u = C([]), y = (l) => {
l.forEach((h) => {
const w = o.value.indexOf(h);
w !== -1 && o.value.splice(w, 1);
......@@ -43,7 +43,7 @@ function Ie(t, n) {
() => t.$route.path,
(l, h) => {
if (l !== h) {
const w = B(t);
const w = R(t);
e.value = Ee(w), r.value = Te(w);
const k = u.value.find(
(v) => v.key === e.value
......@@ -89,7 +89,7 @@ function Ie(t, n) {
const h = u.value[l];
h && s.push(h.fullPath);
}, g = () => {
const h = B(t).fullPath;
const h = R(t).fullPath;
let w = h.indexOf("/");
for (let v = 0; v < 2; v++)
w = h.indexOf("/", w + 1);
......@@ -423,7 +423,7 @@ const Ne = S({
srffirstlogin: f
} = ((v = ibiz.appData) == null ? void 0 : v.context) || {}, {
proxy: g
} = z(), d = F(g), c = async () => {
} = z(), d = B(g), c = async () => {
(await ibiz.auth.v7logout()).ok ? (ibiz.message.success("\u767B\u51FA\u6210\u529F"), d.push(`/login?ru=${encodeURIComponent(window.location.hash.replace("#/", "/"))}`)) : ibiz.message.error("\u767B\u51FA\u5931\u8D25");
}, m = C(!0), x = () => {
m.value = !m.value;
......@@ -505,7 +505,7 @@ const Ne = S({
}
}, [a("i", {
class: "ivu-icon ivu-icon-ios-log-out"
}), "\u9000\u51FA\u767B\u9646"])])
}), "\u9000\u51FA\u767B\u5F55"])])
}
}), a("div", {
class: [this.ns.be("option", "bottom")]
......@@ -661,7 +661,7 @@ const $e = S({
})]);
}
});
class Re {
class Fe {
constructor() {
b(this, "component", $e);
}
......@@ -760,13 +760,13 @@ class W extends Ce {
);
}
}
const Be = ["#FF0700", "#FFF400", "#73A0FA"], Fe = {
const Re = ["#FF0700", "#FFF400", "#73A0FA"], Be = {
strMapCode: !0,
visualMap: {
text: ["\u9AD8", "\u4F4E"],
min: 0,
max: 100,
rangeColor: Be
rangeColor: Re
},
pointSymbol: "pin"
}, Ue = "/assets/json/map/jiangsu/{id}.json";
......@@ -860,7 +860,7 @@ const We = S({
setup(t, {
emit: n
}) {
const s = q("map-chart"), e = N(() => De(Fe, t.options)), {
const s = q("map-chart"), e = N(() => De(Be, t.options)), {
chartRef: r,
historyNames: o,
changeMap: u,
......@@ -1315,7 +1315,7 @@ const j = S({
}
}, ["\u5168\u90E8"]) : null;
};
return R(() => {
return F(() => {
u && (f({
deptid: e.params.n_orgid_eq,
orgid: e.params.n_orgid_eq,
......@@ -1324,7 +1324,7 @@ const j = S({
sysdepartment: void 0
}), e.selectedData.length = 0);
}), _(() => e.items, () => {
R(() => {
F(() => {
u = !0, Object.assign(e.context, {
n_orgid_eq: e.params.n_orgid_eq
}), f({
......@@ -1836,7 +1836,7 @@ const ht = S({
new ot()
), E.loadStyle(["/style.css"]), ibiz.register.portletPart.register(
"PORTLET_CUSTOM_JskqWebPortalSearchHeader",
new Re()
new Fe()
), ibiz.register.portletPart.register(
"PORTLET_CUSTOM_jskqWebPortalMapArea",
new Qe()
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册