mooho-base-admin-plus 2.10.0 → 2.10.1
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.
|
@@ -28503,7 +28503,7 @@ const user = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$M]
|
|
|
28503
28503
|
// 初始化
|
|
28504
28504
|
async init() {
|
|
28505
28505
|
this.isCancelable = this.page.applicationType.isCancelable, this.isRecallable = this.page.applicationType.isRecallable, setTimeout(() => {
|
|
28506
|
-
this.allow("all") || (this.
|
|
28506
|
+
this.allow("all") || (this.filterData.createUserID = this.info.id), this.$refs.table.init(this.page.tableViewCode, () => {
|
|
28507
28507
|
this.$refs.table.tableView.autoLoadDisable || this.$refs.table.loadData();
|
|
28508
28508
|
}), (this.page.formViewCode || "").trim() && this.$refs.form.init(this.page.formViewCode), ((this.page.formViewCode || "").trim() || (this.page.showViewCode || "").trim()) && this.$refs.showForm.init((this.page.showViewCode || "").trim() ? this.page.showViewCode : this.page.formViewCode);
|
|
28509
28509
|
});
|
|
@@ -28588,16 +28588,40 @@ function _sfc_render$L(a, r, o, s, l, u) {
|
|
|
28588
28588
|
class: "ivu-mt"
|
|
28589
28589
|
}, {
|
|
28590
28590
|
default: withCtx(() => [
|
|
28591
|
+
createTextVNode(toDisplayString$2(a.allow("create")) + " ", 1),
|
|
28591
28592
|
l.page ? (openBlock(), createBlock(f, {
|
|
28592
28593
|
key: 0,
|
|
28593
28594
|
ref: "table",
|
|
28594
|
-
filter: l.filter,
|
|
28595
28595
|
"create-enable": a.allow("create"),
|
|
28596
28596
|
onCreate: u.create
|
|
28597
28597
|
}, {
|
|
28598
|
+
top: withCtx(() => [
|
|
28599
|
+
renderSlot(a.$slots, "top")
|
|
28600
|
+
]),
|
|
28598
28601
|
filter: withCtx(() => [
|
|
28599
28602
|
renderSlot(a.$slots, "filter")
|
|
28600
28603
|
]),
|
|
28604
|
+
customFilter: withCtx(() => [
|
|
28605
|
+
renderSlot(a.$slots, "customFilter")
|
|
28606
|
+
]),
|
|
28607
|
+
filterColumn: withCtx(({ column: E, code: D }) => [
|
|
28608
|
+
renderSlot(a.$slots, "filterColumn", {
|
|
28609
|
+
column: E,
|
|
28610
|
+
code: D
|
|
28611
|
+
})
|
|
28612
|
+
]),
|
|
28613
|
+
filterCommand: withCtx(() => [
|
|
28614
|
+
renderSlot(a.$slots, "filterCommand")
|
|
28615
|
+
]),
|
|
28616
|
+
middle: withCtx(() => [
|
|
28617
|
+
renderSlot(a.$slots, "middle")
|
|
28618
|
+
]),
|
|
28619
|
+
commandBefore: withCtx(({ row: E, index: D }) => [
|
|
28620
|
+
renderSlot(a.$slots, "commandBefore", {
|
|
28621
|
+
row: E,
|
|
28622
|
+
index: D
|
|
28623
|
+
})
|
|
28624
|
+
]),
|
|
28601
28625
|
command: withCtx(({ row: E, index: D }) => [
|
|
28602
28626
|
E.application.status != "Draft" && E.application.status != "Rejected" ? (openBlock(), createBlock(d, {
|
|
28603
28627
|
key: 0,
|
|
@@ -28621,7 +28645,7 @@ function _sfc_render$L(a, r, o, s, l, u) {
|
|
|
28621
28645
|
})
|
|
28622
28646
|
]),
|
|
28623
28647
|
_: 3
|
|
28624
|
-
}, 8, ["
|
|
28648
|
+
}, 8, ["create-enable", "onCreate"])) : createCommentVNode("", !0)
|
|
28625
28649
|
]),
|
|
28626
28650
|
_: 3
|
|
28627
28651
|
}),
|
|
@@ -28630,6 +28654,40 @@ function _sfc_render$L(a, r, o, s, l, u) {
|
|
|
28630
28654
|
ref: "form",
|
|
28631
28655
|
onOnAfterSave: r[1] || (r[1] = (E) => a.$refs.table.loadData())
|
|
28632
28656
|
}, {
|
|
28657
|
+
top: withCtx(() => [
|
|
28658
|
+
renderSlot(a.$slots, "formTop")
|
|
28659
|
+
]),
|
|
28660
|
+
tableColumn: withCtx(({ table: E, tableColumn: D, tableCode: A, row: $, index: P, column: N, code: O }) => [
|
|
28661
|
+
renderSlot(a.$slots, "formTableCommand", {
|
|
28662
|
+
table: E,
|
|
28663
|
+
tableColumn: D,
|
|
28664
|
+
tableCode: A,
|
|
28665
|
+
row: $,
|
|
28666
|
+
index: $,
|
|
28667
|
+
column: N,
|
|
28668
|
+
code: O
|
|
28669
|
+
})
|
|
28670
|
+
]),
|
|
28671
|
+
tableCommand: withCtx(({ table: E, tableColumn: D, tableCode: A, row: $, index: P }) => [
|
|
28672
|
+
renderSlot(a.$slots, "formTableCommand", {
|
|
28673
|
+
table: E,
|
|
28674
|
+
tableColumn: D,
|
|
28675
|
+
tableCode: A,
|
|
28676
|
+
row: $,
|
|
28677
|
+
index: $
|
|
28678
|
+
})
|
|
28679
|
+
]),
|
|
28680
|
+
column: withCtx(({ form: E, data: D, column: A, code: $ }) => [
|
|
28681
|
+
renderSlot(a.$slots, "formColumn", {
|
|
28682
|
+
form: E,
|
|
28683
|
+
data: D,
|
|
28684
|
+
column: A,
|
|
28685
|
+
code: $
|
|
28686
|
+
})
|
|
28687
|
+
]),
|
|
28688
|
+
bottom: withCtx(() => [
|
|
28689
|
+
renderSlot(a.$slots, "formBottom")
|
|
28690
|
+
]),
|
|
28633
28691
|
footer: withCtx(() => [
|
|
28634
28692
|
_hoisted_2$p,
|
|
28635
28693
|
createVNode$1(d, {
|
|
@@ -28675,7 +28733,7 @@ function _sfc_render$L(a, r, o, s, l, u) {
|
|
|
28675
28733
|
_: 1
|
|
28676
28734
|
})) : createCommentVNode("", !0)
|
|
28677
28735
|
]),
|
|
28678
|
-
_:
|
|
28736
|
+
_: 3
|
|
28679
28737
|
}, 512)) : createCommentVNode("", !0),
|
|
28680
28738
|
l.page ? (openBlock(), createBlock(v, {
|
|
28681
28739
|
key: 1,
|
|
@@ -28683,6 +28741,40 @@ function _sfc_render$L(a, r, o, s, l, u) {
|
|
|
28683
28741
|
readonly: l.page.showViewCode == null,
|
|
28684
28742
|
onOnAfterSave: r[4] || (r[4] = (E) => a.$refs.table.loadData())
|
|
28685
28743
|
}, {
|
|
28744
|
+
top: withCtx(() => [
|
|
28745
|
+
renderSlot(a.$slots, "showFormTop")
|
|
28746
|
+
]),
|
|
28747
|
+
tableColumn: withCtx(({ table: E, tableColumn: D, tableCode: A, row: $, index: P, column: N, code: O }) => [
|
|
28748
|
+
renderSlot(a.$slots, "showFormTableCommand", {
|
|
28749
|
+
table: E,
|
|
28750
|
+
tableColumn: D,
|
|
28751
|
+
tableCode: A,
|
|
28752
|
+
row: $,
|
|
28753
|
+
index: $,
|
|
28754
|
+
column: N,
|
|
28755
|
+
code: O
|
|
28756
|
+
})
|
|
28757
|
+
]),
|
|
28758
|
+
tableCommand: withCtx(({ table: E, tableColumn: D, tableCode: A, row: $, index: P }) => [
|
|
28759
|
+
renderSlot(a.$slots, "showFormTableCommand", {
|
|
28760
|
+
table: E,
|
|
28761
|
+
tableColumn: D,
|
|
28762
|
+
tableCode: A,
|
|
28763
|
+
row: $,
|
|
28764
|
+
index: $
|
|
28765
|
+
})
|
|
28766
|
+
]),
|
|
28767
|
+
column: withCtx(({ form: E, data: D, column: A, code: $ }) => [
|
|
28768
|
+
renderSlot(a.$slots, "showFormColumn", {
|
|
28769
|
+
form: E,
|
|
28770
|
+
data: D,
|
|
28771
|
+
column: A,
|
|
28772
|
+
code: $
|
|
28773
|
+
})
|
|
28774
|
+
]),
|
|
28775
|
+
bottom: withCtx(() => [
|
|
28776
|
+
renderSlot(a.$slots, "showFormBottom")
|
|
28777
|
+
]),
|
|
28686
28778
|
footer: withCtx(() => [
|
|
28687
28779
|
_hoisted_3$l,
|
|
28688
28780
|
l.isRecallable && a.$refs.showForm && a.$refs.showForm.data && a.$refs.showForm.data.application && a.$refs.showForm.data.applicationID && a.$refs.showForm.data.application.status == "Running" ? (openBlock(), createBlock(d, {
|
|
@@ -28719,7 +28811,7 @@ function _sfc_render$L(a, r, o, s, l, u) {
|
|
|
28719
28811
|
_: 1
|
|
28720
28812
|
})) : createCommentVNode("", !0)
|
|
28721
28813
|
]),
|
|
28722
|
-
_:
|
|
28814
|
+
_: 3
|
|
28723
28815
|
}, 8, ["readonly"])) : createCommentVNode("", !0),
|
|
28724
28816
|
createVNode$1(g, {
|
|
28725
28817
|
ref: "approvalHistoryTable",
|