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

feat: 更新插件

上级 d5c1be8c
......@@ -2,7 +2,7 @@ var Z = Object.defineProperty;
var ee = (t, a, s) => a in t ? Z(t, a, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[a] = s;
var w = (t, a, s) => (ee(t, typeof a != "symbol" ? a + "" : a, s), s);
import { PluginStaticResource as te, ViewMode as se, AppFuncCommand as ae } from "@ibiz-template/runtime";
import { ref as C, watch as _, defineComponent as D, getCurrentInstance as j, computed as R, onMounted as L, h as i, toRefs as ie, reactive as re, nextTick as F, toRef as ne, onActivated as oe } from "vue";
import { ref as C, watch as _, defineComponent as D, getCurrentInstance as j, computed as R, onMounted as L, h as i, toRefs as ie, reactive as re, nextTick as K, toRef as ne, onActivated as oe } from "vue";
import { useRouter as G, useRoute as B, useIndexViewController as le, useNamespace as S, useControlController as ce, usePropsWatch as de, useListController as ue, useListExpViewController as he, useRouteKey as pe, getUploadProps as me, getEditorEmits as fe, useMPickupViewController as ge, useTreeController as ve, useViewController as ye } from "@ibiz-template/vue-util";
import { createUUID as we, notNilEmpty as be } from "qx-util";
import { IndexViewModel as Ce, PortletPartModel as xe, ViewPortletModel as ke, ListModel as H, TreeModel as Pe, getControl as $, GridModel as U } from "@ibiz-template/model";
......@@ -31,7 +31,7 @@ const Re = (t) => {
const { view1: a, appContext: s } = t.params;
return `/${s}/${a}/${ibiz.env.routePlaceholder}`;
};
function Ke(t, a) {
function Fe(t, a) {
const s = G(t), e = C(""), r = C(""), n = C([]), d = C([]), f = (l) => {
l.forEach((h) => {
const b = n.value.indexOf(h);
......@@ -135,7 +135,7 @@ function Ke(t, a) {
}
};
}
const Fe = /* @__PURE__ */ D({
const Ke = /* @__PURE__ */ D({
__name: "index-view",
props: {
context: null,
......@@ -159,7 +159,7 @@ const Fe = /* @__PURE__ */ D({
handleTabDelete: V,
handleCloseAll: T,
handleCloseOther: J
} = Ke(s, e);
} = Fe(s, e);
m = k, x = y, l = q, o = O, p = I, g = V, v = T, u = J, n = (E) => {
const N = m.value;
E.evt.on("closeView", () => {
......@@ -219,7 +219,7 @@ var $e = function() {
var a = this, s = a._self._c, e = a._self._setupProxy;
return s("UserAppLayout", { attrs: { "is-complete": e.c.complete, model: e.c.model, "is-show-tab-page-exp": e.isShowTabPageExp }, on: { onCollapseChange: e.collapseChange } }, [e.c.complete ? [e.c.complete ? s("app-menu", { attrs: { slot: "menu", "current-path": e.currentPath, "model-data": e.c.model.appMenu, context: e.c.context, "collapse-change": e.c.collapseChange }, on: { menuRouteChange: e.onMenuRouteChange }, slot: "menu" }) : a._e(), e.isShowTabPageExp ? s("user-tab-page-exp", { attrs: { slot: "tabPageExp", "route-msgs": e.routeMsgs, "current-key": e.currentKey }, on: { "tab-click": e.handleTabClick, "tab-delete": e.handleTabDelete, "close-all": e.handleCloseAll, "close-other": e.handleCloseOther }, slot: "tabPageExp" }) : a._e(), e.isShowTabPageExp ? s("AppKeepAlive", { attrs: { "key-list": e.keyHistory } }, [s("router-view", { key: e.currentKey, on: { neuronInit: e.onCreated, viewFound: e.onViewFound } })], 1) : s("AppKeepAlive", { key: e.appKeepAliveKey, attrs: { "key-list": e.keyHistory } }, [s("router-view", { key: e.currentKey, on: { neuronInit: e.onCreated, viewFound: e.onViewFound } })], 1)] : a._e()], 2);
}, Ue = [], Ge = /* @__PURE__ */ Be(
Fe,
Ke,
$e,
Ue,
!1,
......@@ -1229,7 +1229,7 @@ function ht(t) {
t.handleDblClick(e);
} };
}
const K = D({
const F = D({
name: "ListExpControl",
props: {
modelData: {
......@@ -1330,7 +1330,7 @@ const K = D({
}
}, ["\u5168\u90E8"]) : null;
};
return F(() => {
return K(() => {
d && (g({
deptid: e.params.n_orgid_eq,
orgid: e.params.n_orgid_eq,
......@@ -1339,7 +1339,7 @@ const K = D({
sysdepartment: void 0
}), e.selectedData.length = 0);
}), _(() => e.items, () => {
F(() => {
K(() => {
d = !0, Object.assign(e.context, {
n_orgid_eq: e.params.n_orgid_eq
}), g({
......@@ -1376,7 +1376,7 @@ const pt = D({
name: "ListExpSelectTreeView",
components: {
Treeselect: Ae,
ListExpControl: K
ListExpControl: F
},
props: {
context: Object,
......@@ -1448,7 +1448,7 @@ const pt = D({
expBarModel: this.c.model.listExpBar
},
scopedSlots: {
default: () => i(K, {
default: () => i(F, {
attrs: {
modelData: s,
context: this.c.context,
......@@ -2081,8 +2081,8 @@ const Dt = D({
class St extends ae {
custom(a, s, e) {
if (a.id === "performanceappraisal") {
const r = { userid: s == null ? void 0 : s.srfjxuserid }, n = JSON.stringify(r), d = window.btoa(n), f = `${a.htmlPageUrl}param=${d}`;
window.open(f, "_blank");
const r = { userid: s == null ? void 0 : s.srfjxuserid }, n = window.Environment, d = JSON.stringify(r), f = window.btoa(d), o = `${n.jxkhUrl}param=${f}`;
window.open(o, "_blank");
} else
throw ibiz.log.warn("custom", a, s, e), new Error("\u672A\u5B9E\u73B0");
}
......@@ -2090,7 +2090,7 @@ class St extends ae {
const Lt = {
mateUrl: import.meta.url,
install(t) {
new St(), t.component("UserTabPageExp", Ct), t.component("UserIndexView", He), t.component("UserAppLayout", Qe), t.component("ListExpSelectTreeView", pt), t.component("ListExpControl", K), t.component("ChangePassword", Y), t.component(
new St(), t.component("UserTabPageExp", Ct), t.component("UserIndexView", He), t.component("UserAppLayout", Qe), t.component("ListExpSelectTreeView", pt), t.component("ListExpControl", F), t.component("ChangePassword", Y), t.component(
"BYQKEditView",
() => import("./byqk-edit-view.fea98c06.js")
), t.component(
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册