lyflowchart 1.0.170 → 1.0.175
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ActionsConfig-Bx0tgz1e.js → ActionsConfig-qT6Bc-4m.js} +1 -1
- package/dist/{ApprovalEditorModal-CiaYzraw.js → ApprovalEditorModal-ya6wSz_K.js} +1 -1
- package/dist/CancelModal--ylIIPjo.js +80 -0
- package/dist/{Cell_click_approve-Cn5f0ofI.js → Cell_click_approve-CkTzNo0c.js} +3 -3
- package/dist/{approval-TIlcTs-h.js → approval-BaIlEt6M.js} +2 -2
- package/dist/{approval-DEJzLlL0.js → approval-DwIVRNQk.js} +1 -1
- package/dist/{approvalHistory-BYTbTSXf.js → approvalHistory-BjMzTPTH.js} +1 -1
- package/dist/{approvalPageConfig-Yn3tPl7r.js → approvalPageConfig-BdW2hpxX.js} +5 -5
- package/dist/{columnTables-Drq0OCcY.js → columnTables-Bcjih5vD.js} +1 -1
- package/dist/components/approval/components/CancelModal.vue.d.ts +3 -3
- package/dist/components/approval/useApprovalRecordActions.d.ts +1 -1
- package/dist/{core-JkhxFOXr.js → core-R1eodqEI.js} +206 -231
- package/dist/{default-BNQ2XYku.js → default-CNBMPyix.js} +7 -0
- package/dist/index.js +4 -4
- package/dist/{leftColumn-Bn1KoLRy.js → leftColumn-GyLhpACC.js} +2 -2
- package/dist/lyflowchart.css +1 -1
- package/dist/{middleColumn-Cdx9-JfV.js → middleColumn-PrdbogUl.js} +2 -2
- package/dist/{tableConfig-B6bfpf7X.js → tableConfig-DL2-129W.js} +2 -2
- package/dist/{tableModal-DJ4BgjcA.js → tableModal-DL-BbNkn.js} +2 -2
- package/dist/{useApprovalRecordActions-BiFAYrYg.js → useApprovalRecordActions-gkFffZvz.js} +1 -1
- package/dist/{utils-DRldFEoM.js → utils-DwIGp2_v.js} +1 -5
- package/package.json +1 -1
- package/dist/CancelModal-CgQeC543.js +0 -61
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as e, c as t } from "./init-plugin-CpYzRii0.js";
|
|
2
|
-
import { v as n } from "./utils-
|
|
3
|
-
import { t as r } from "./ActionsConfig-
|
|
2
|
+
import { v as n } from "./utils-DwIGp2_v.js";
|
|
3
|
+
import { t as r } from "./ActionsConfig-qT6Bc-4m.js";
|
|
4
4
|
import { createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, onMounted as l, onUnmounted as u, openBlock as d, reactive as f, ref as p, resolveComponent as m, withCtx as h } from "vue";
|
|
5
5
|
import { debounce as g } from "lodash";
|
|
6
6
|
import _ from "mitt";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { On as e } from "./viewer-BDGXjryM.js";
|
|
2
2
|
import { b as t, h as n, l as r, m as i, o as a, p as o, r as s, s as c, u as l, y as u } from "./init-plugin-CpYzRii0.js";
|
|
3
|
-
import { A as d, D as f, E as p, a as m, f as h, i as g, m as _, n as v, r as y, s as b, t as x, v as S } from "./utils-
|
|
3
|
+
import { A as d, D as f, E as p, a as m, f as h, i as g, m as _, n as v, r as y, s as b, t as x, v as S } from "./utils-DwIGp2_v.js";
|
|
4
4
|
import { a as C, i as w, n as T, o as E, t as D } from "./dbViewAdapter-ByVGSDgn.js";
|
|
5
5
|
import { r as ee } from "./settingsState-Bz7q-7ZJ.js";
|
|
6
6
|
import { t as te } from "./JsonTags-BQZ9jIF_.js";
|
|
7
|
-
import { n as O, t as k } from "./ActionsConfig-
|
|
7
|
+
import { n as O, t as k } from "./ActionsConfig-qT6Bc-4m.js";
|
|
8
8
|
import { Fragment as A, computed as j, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createTextVNode as I, createVNode as L, defineComponent as R, nextTick as z, normalizeClass as B, normalizeStyle as V, onMounted as H, onUnmounted as ne, openBlock as U, reactive as W, ref as G, renderList as K, resolveComponent as q, toDisplayString as J, watch as Y, withCtx as X, withKeys as re, withModifiers as ie } from "vue";
|
|
9
9
|
import { CheckOutlined as ae, CloseCircleOutlined as oe, CloseOutlined as se, EditOutlined as Z, LeftSquareOutlined as Q, LeftSquareTwoTone as ce, PlusOutlined as le, RightSquareOutlined as ue, RightSquareTwoTone as de } from "@ant-design/icons-vue";
|
|
10
10
|
import { message as $ } from "ant-design-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as e } from "./utils-
|
|
2
|
-
import { p as t, t as n } from "./columnTables-
|
|
1
|
+
import { T as e } from "./utils-DwIGp2_v.js";
|
|
2
|
+
import { p as t, t as n } from "./columnTables-Bcjih5vD.js";
|
|
3
3
|
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, mergeModels as d, openBlock as f, ref as p, resolveComponent as m, toDisplayString as h, useModel as g, watch as _, withCtx as v } from "vue";
|
|
4
4
|
import { message as y } from "ant-design-vue";
|
|
5
5
|
//#region src/components/approval/components/tableModal.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -804,7 +804,7 @@ var T = { class: "form-container" }, E = { class: "header-container" }, ee = { c
|
|
|
804
804
|
w.error("代码未返回ids");
|
|
805
805
|
return;
|
|
806
806
|
}
|
|
807
|
-
p.value = e
|
|
807
|
+
p.value = e, f.value = !0;
|
|
808
808
|
}
|
|
809
809
|
}, C = (e) => !!l.value[e], T = s(() => ({
|
|
810
810
|
modelType: h.value,
|
|
@@ -83,16 +83,12 @@ var u = () => n(), d = [
|
|
|
83
83
|
label: "将处于待提交状态的审批提交(commit_approve)",
|
|
84
84
|
value: "commit_approve"
|
|
85
85
|
},
|
|
86
|
-
{
|
|
87
|
-
label: "删除处于待提交状态的审批(delete_approve)",
|
|
88
|
-
value: "delete_approve"
|
|
89
|
-
},
|
|
90
86
|
{
|
|
91
87
|
label: "撤销审批(cancel_approve)",
|
|
92
88
|
value: "cancel_approve"
|
|
93
89
|
},
|
|
94
90
|
{
|
|
95
|
-
label: "
|
|
91
|
+
label: "删除已经通过的审批(cancel_agree_approve)",
|
|
96
92
|
value: "cancel_agree_approve"
|
|
97
93
|
},
|
|
98
94
|
{
|
package/package.json
CHANGED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { o as e } from "./init-plugin-CpYzRii0.js";
|
|
2
|
-
import { createBlock as t, createVNode as n, defineComponent as r, mergeModels as i, openBlock as a, reactive as o, ref as s, resolveComponent as c, useModel as l, withCtx as u } from "vue";
|
|
3
|
-
import { message as d } from "ant-design-vue";
|
|
4
|
-
//#endregion
|
|
5
|
-
//#region src/components/approval/components/CancelModal.vue
|
|
6
|
-
var f = /* @__PURE__ */ r({
|
|
7
|
-
name: "ApprovalCancelModal",
|
|
8
|
-
__name: "CancelModal",
|
|
9
|
-
props: /* @__PURE__ */ i({
|
|
10
|
-
id: { default: null },
|
|
11
|
-
eventBus: { default: null }
|
|
12
|
-
}, {
|
|
13
|
-
cancelModalShow: {},
|
|
14
|
-
cancelModalShowModifiers: {}
|
|
15
|
-
}),
|
|
16
|
-
emits: /* @__PURE__ */ i(["done"], ["update:cancelModalShow"]),
|
|
17
|
-
setup(r, { emit: i }) {
|
|
18
|
-
let f = r, p = i, m = l(r, "cancelModalShow"), h = o({ bz: "" }), g = s(null), _ = async () => {
|
|
19
|
-
if (!f.id) {
|
|
20
|
-
d.error("未获取到要作废的审批记录");
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
await g.value.validate(), await e({
|
|
24
|
-
approve_record_id: f.id,
|
|
25
|
-
bz: h.bz
|
|
26
|
-
}, "/approve/cancel_agree_approve_record"), f.eventBus?.emit("reload_table"), p("done"), d.success("作废成功"), m.value = !1;
|
|
27
|
-
};
|
|
28
|
-
return (e, r) => {
|
|
29
|
-
let i = c("a-textarea"), o = c("a-form-item"), s = c("a-form"), l = c("a-modal");
|
|
30
|
-
return a(), t(l, {
|
|
31
|
-
open: m.value,
|
|
32
|
-
"onUpdate:open": r[1] ||= (e) => m.value = e,
|
|
33
|
-
title: "审批作废",
|
|
34
|
-
onOk: _
|
|
35
|
-
}, {
|
|
36
|
-
default: u(() => [n(s, {
|
|
37
|
-
model: h,
|
|
38
|
-
ref_key: "formRef",
|
|
39
|
-
ref: g
|
|
40
|
-
}, {
|
|
41
|
-
default: u(() => [n(o, {
|
|
42
|
-
name: "bz",
|
|
43
|
-
rules: [{ required: !0 }],
|
|
44
|
-
label: "作废原因"
|
|
45
|
-
}, {
|
|
46
|
-
default: u(() => [n(i, {
|
|
47
|
-
placeholder: "请输入作废原因",
|
|
48
|
-
value: h.bz,
|
|
49
|
-
"onUpdate:value": r[0] ||= (e) => h.bz = e
|
|
50
|
-
}, null, 8, ["value"])]),
|
|
51
|
-
_: 1
|
|
52
|
-
})]),
|
|
53
|
-
_: 1
|
|
54
|
-
}, 8, ["model"])]),
|
|
55
|
-
_: 1
|
|
56
|
-
}, 8, ["open"]);
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
//#endregion
|
|
61
|
-
export { f as t };
|