ocpview-plus 1.3.6 → 1.3.7
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/ocpviewplus.min.esm.js +21 -6
- package/dist/ocpviewplus.min.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/masterplate/RewriteListdetails/indexV3.vue +9 -2
- package/src/components/masterplate/approval.vue +39 -33
- package/src/components/masterplate/layouttemplate.vue +1 -1
|
@@ -453,7 +453,7 @@ common.initEview = function(ViewUI2) {
|
|
|
453
453
|
common.initAnchor(ViewUI2.Anchor);
|
|
454
454
|
};
|
|
455
455
|
const name = "ocpview-plus";
|
|
456
|
-
const version$2 = "1.3.
|
|
456
|
+
const version$2 = "1.3.6";
|
|
457
457
|
const title = "ocpviewPlus";
|
|
458
458
|
const description = "A high quality Service UI components Library with Vue.js";
|
|
459
459
|
const homepage = "";
|
|
@@ -42323,8 +42323,9 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42323
42323
|
dictData: _ctx.globalConfig.dictData,
|
|
42324
42324
|
moduleMethod: _ctx.globalConfig.userModuleMethod,
|
|
42325
42325
|
onHandleSuccessAfter: _ctx.handleSuccessAfter,
|
|
42326
|
+
onOnSubmitBefore: _ctx.onSubmitBefore,
|
|
42326
42327
|
onDoAction: _ctx.doAction
|
|
42327
|
-
}, null, 40, ["config", "dictData", "moduleMethod", "onHandleSuccessAfter", "onDoAction"])),
|
|
42328
|
+
}, null, 40, ["config", "dictData", "moduleMethod", "onHandleSuccessAfter", "onOnSubmitBefore", "onDoAction"])),
|
|
42328
42329
|
createVNode(_component_Modal, {
|
|
42329
42330
|
title: "\u9644\u4EF6",
|
|
42330
42331
|
modelValue: _ctx.showDetailAppendix,
|
|
@@ -48471,7 +48472,13 @@ const _sfc_main$t = {
|
|
|
48471
48472
|
},
|
|
48472
48473
|
methods: {
|
|
48473
48474
|
onSubmit() {
|
|
48474
|
-
|
|
48475
|
+
let flag = true;
|
|
48476
|
+
if (this.$parent.onSubmitBefore() !== void 0) {
|
|
48477
|
+
flag = this.$parent.onSubmitBefore();
|
|
48478
|
+
}
|
|
48479
|
+
if (flag) {
|
|
48480
|
+
this.billSubmit();
|
|
48481
|
+
}
|
|
48475
48482
|
},
|
|
48476
48483
|
setData(config2) {
|
|
48477
48484
|
this.clearData();
|
|
@@ -49676,7 +49683,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49676
49683
|
}, 8, ["modelValue"])
|
|
49677
49684
|
]);
|
|
49678
49685
|
}
|
|
49679
|
-
var ApprovalBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$q], ["__scopeId", "data-v-
|
|
49686
|
+
var ApprovalBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$q], ["__scopeId", "data-v-3e27e42b"]]);
|
|
49680
49687
|
const _sfc_main$s = {
|
|
49681
49688
|
name: "moperlog",
|
|
49682
49689
|
data() {
|
|
@@ -58176,6 +58183,13 @@ const _sfc_main$5 = {
|
|
|
58176
58183
|
},
|
|
58177
58184
|
handleSuccessAfter(response, file, fileList) {
|
|
58178
58185
|
this.$emit("handleSuccessAfter", response, file, fileList);
|
|
58186
|
+
},
|
|
58187
|
+
onSubmitBefore() {
|
|
58188
|
+
let flag = true;
|
|
58189
|
+
if (this.$parent.onSubmitBefore() !== void 0) {
|
|
58190
|
+
flag = this.$parent.onSubmitBefore();
|
|
58191
|
+
}
|
|
58192
|
+
return flag;
|
|
58179
58193
|
}
|
|
58180
58194
|
},
|
|
58181
58195
|
mounted() {
|
|
@@ -58242,8 +58256,9 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
58242
58256
|
]),
|
|
58243
58257
|
createVNode(_component_ApprovalBox, {
|
|
58244
58258
|
ref: "approval",
|
|
58245
|
-
config: _ctx.billApprovalConfig
|
|
58246
|
-
|
|
58259
|
+
config: _ctx.billApprovalConfig,
|
|
58260
|
+
onOnSubmitBefore: $options.onSubmitBefore
|
|
58261
|
+
}, null, 8, ["config", "onOnSubmitBefore"]),
|
|
58247
58262
|
createVNode(_component_Modal, {
|
|
58248
58263
|
"class-name": "efuture-billapprovalmainframe",
|
|
58249
58264
|
modelValue: _ctx.showApproval,
|