ocpview-pro 0.1.0 → 0.1.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.
- package/dist/index.js +49 -38
- package/dist/ocpviewplus.min.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/masterplate/approval.vue +15 -5
package/dist/index.js
CHANGED
|
@@ -37948,6 +37948,17 @@ const _sfc_main$t = {
|
|
|
37948
37948
|
}
|
|
37949
37949
|
},
|
|
37950
37950
|
methods: {
|
|
37951
|
+
comMethod(callback, msg) {
|
|
37952
|
+
this.$Modal.confirm({
|
|
37953
|
+
title: "\u786E\u8BA4",
|
|
37954
|
+
content: `\u786E\u5B9A\u662F\u5426${msg}\u6570\u636E\uFF1F`,
|
|
37955
|
+
onOk: () => {
|
|
37956
|
+
callback();
|
|
37957
|
+
},
|
|
37958
|
+
onCancel: () => {
|
|
37959
|
+
}
|
|
37960
|
+
});
|
|
37961
|
+
},
|
|
37951
37962
|
onSubmit() {
|
|
37952
37963
|
let flag = true;
|
|
37953
37964
|
if (this.$parent && typeof this.$parent.onSubmitBefore === "function") {
|
|
@@ -38461,7 +38472,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38461
38472
|
style: { "width": "66px" },
|
|
38462
38473
|
onClick: $options.userCancel
|
|
38463
38474
|
}, {
|
|
38464
|
-
default: withCtx(() => [..._cache[
|
|
38475
|
+
default: withCtx(() => [..._cache[21] || (_cache[21] = [
|
|
38465
38476
|
createTextVNode("\u53D6\u6D88", -1)
|
|
38466
38477
|
])]),
|
|
38467
38478
|
_: 1
|
|
@@ -38476,7 +38487,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38476
38487
|
type: "info",
|
|
38477
38488
|
onClick: $options.userOk
|
|
38478
38489
|
}, {
|
|
38479
|
-
default: withCtx(() => [..._cache[
|
|
38490
|
+
default: withCtx(() => [..._cache[22] || (_cache[22] = [
|
|
38480
38491
|
createTextVNode("\u786E\u8BA4", -1)
|
|
38481
38492
|
])]),
|
|
38482
38493
|
_: 1
|
|
@@ -38502,7 +38513,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38502
38513
|
span: "6"
|
|
38503
38514
|
}, {
|
|
38504
38515
|
default: withCtx(() => [
|
|
38505
|
-
_cache[
|
|
38516
|
+
_cache[14] || (_cache[14] = createTextVNode(" \u5DF2\u9009\u6284\u9001\u4EBA:", -1)),
|
|
38506
38517
|
createElementVNode("span", _hoisted_1$p, toDisplayString($data.selectuserdata.length), 1),
|
|
38507
38518
|
createElementVNode("span", {
|
|
38508
38519
|
textContent: toDisplayString($options.info)
|
|
@@ -38515,11 +38526,11 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38515
38526
|
span: "6"
|
|
38516
38527
|
}, {
|
|
38517
38528
|
default: withCtx(() => [
|
|
38518
|
-
_cache[
|
|
38529
|
+
_cache[15] || (_cache[15] = createTextVNode(" \u5DF2\u9009\u5BA1\u6279", -1)),
|
|
38519
38530
|
createElementVNode("span", {
|
|
38520
38531
|
textContent: toDisplayString($options.info)
|
|
38521
38532
|
}, null, 8, _hoisted_3$a),
|
|
38522
|
-
_cache[
|
|
38533
|
+
_cache[16] || (_cache[16] = createTextVNode(" :", -1)),
|
|
38523
38534
|
createElementVNode("span", _hoisted_4$8, toDisplayString($data.selectuserdata.length), 1),
|
|
38524
38535
|
createElementVNode("span", {
|
|
38525
38536
|
textContent: toDisplayString($options.info)
|
|
@@ -38540,7 +38551,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38540
38551
|
"custom-icon": "iconfont icon-custom-quanshan",
|
|
38541
38552
|
onClick: $options.delAll
|
|
38542
38553
|
}, {
|
|
38543
|
-
default: withCtx(() => [..._cache[
|
|
38554
|
+
default: withCtx(() => [..._cache[17] || (_cache[17] = [
|
|
38544
38555
|
createTextVNode("\u5168\u90E8\u5220\u9664", -1)
|
|
38545
38556
|
])]),
|
|
38546
38557
|
_: 1
|
|
@@ -38592,7 +38603,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38592
38603
|
default: withCtx(() => [
|
|
38593
38604
|
createVNode(_component_Col, { span: "4" }, {
|
|
38594
38605
|
default: withCtx(() => [
|
|
38595
|
-
_cache[
|
|
38606
|
+
_cache[18] || (_cache[18] = createTextVNode(" \u5DF2\u52FE\u9009:", -1)),
|
|
38596
38607
|
createElementVNode("span", _hoisted_6$4, toDisplayString($data.select.length), 1),
|
|
38597
38608
|
createElementVNode("span", {
|
|
38598
38609
|
textContent: toDisplayString($options.info)
|
|
@@ -38641,13 +38652,13 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38641
38652
|
}, {
|
|
38642
38653
|
default: withCtx(() => [
|
|
38643
38654
|
createVNode(_component_Radio, { label: "USER" }, {
|
|
38644
|
-
default: withCtx(() => [..._cache[
|
|
38655
|
+
default: withCtx(() => [..._cache[19] || (_cache[19] = [
|
|
38645
38656
|
createElementVNode("span", null, "\u5BA1\u6279\u4EBA", -1)
|
|
38646
38657
|
])]),
|
|
38647
38658
|
_: 1
|
|
38648
38659
|
}),
|
|
38649
38660
|
createVNode(_component_Radio, { label: "USERGROUP" }, {
|
|
38650
|
-
default: withCtx(() => [..._cache[
|
|
38661
|
+
default: withCtx(() => [..._cache[20] || (_cache[20] = [
|
|
38651
38662
|
createElementVNode("span", null, "\u5C97\u4F4D", -1)
|
|
38652
38663
|
])]),
|
|
38653
38664
|
_: 1
|
|
@@ -38729,7 +38740,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38729
38740
|
"class-name": "efutureapproval",
|
|
38730
38741
|
title: "\u5DE5\u4F5C\u6D41",
|
|
38731
38742
|
modelValue: $data.showDrawer,
|
|
38732
|
-
"onUpdate:modelValue": _cache[
|
|
38743
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => $data.showDrawer = $event),
|
|
38733
38744
|
width: 534
|
|
38734
38745
|
}, {
|
|
38735
38746
|
default: withCtx(() => [
|
|
@@ -38741,7 +38752,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38741
38752
|
]),
|
|
38742
38753
|
$data.copyuser.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_14, [
|
|
38743
38754
|
createElementVNode("span", null, [
|
|
38744
|
-
_cache[
|
|
38755
|
+
_cache[23] || (_cache[23] = createTextVNode("\u5DF2\u6284\u9001\uFF1A", -1)),
|
|
38745
38756
|
createElementVNode("span", null, [
|
|
38746
38757
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.copyuser, (item, index) => {
|
|
38747
38758
|
return openBlock(), createBlock(_component_Tag, {
|
|
@@ -38757,7 +38768,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38757
38768
|
])
|
|
38758
38769
|
])
|
|
38759
38770
|
])) : createCommentVNode("", true),
|
|
38760
|
-
_cache[
|
|
38771
|
+
_cache[24] || (_cache[24] = createElementVNode("p", { class: "title" }, [
|
|
38761
38772
|
createElementVNode("span", { class: "text" }, "\u5BA1\u6279\u65E5\u5FD7")
|
|
38762
38773
|
], -1))
|
|
38763
38774
|
], 512),
|
|
@@ -38770,7 +38781,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38770
38781
|
class: "log-list",
|
|
38771
38782
|
key: index
|
|
38772
38783
|
}, [
|
|
38773
|
-
_cache[
|
|
38784
|
+
_cache[29] || (_cache[29] = createElementVNode("div", { class: "line-wrap" }, null, -1)),
|
|
38774
38785
|
createElementVNode("div", _hoisted_16, [
|
|
38775
38786
|
item.mulflag === "N" ? (openBlock(), createElementBlock("span", _hoisted_17, toDisplayString(item.username), 1)) : (openBlock(), createBlock(_component_Icon, {
|
|
38776
38787
|
key: 1,
|
|
@@ -38805,12 +38816,12 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38805
38816
|
]),
|
|
38806
38817
|
createElementVNode("div", null, [
|
|
38807
38818
|
index === $data.auditLog.length - 1 && item.candidateUserList && item.candidateUserList.length > 0 ? (openBlock(), createElementBlock("p", _hoisted_23, [
|
|
38808
|
-
_cache[
|
|
38819
|
+
_cache[25] || (_cache[25] = createTextVNode(" \u5F85\u5BA1\u6279\u4EBA\uFF1A", -1)),
|
|
38809
38820
|
createElementVNode("span", null, toDisplayString($options.getCandidateUserText(item.candidateUserList)), 1)
|
|
38810
38821
|
])) : createCommentVNode("", true),
|
|
38811
38822
|
createElementVNode("span", null, toDisplayString(item.act_time_), 1),
|
|
38812
38823
|
createElementVNode("p", _hoisted_24, [
|
|
38813
|
-
_cache[
|
|
38824
|
+
_cache[26] || (_cache[26] = createTextVNode("\u610F\u89C1\uFF1A", -1)),
|
|
38814
38825
|
createElementVNode("span", {
|
|
38815
38826
|
textContent: toDisplayString($options.getMessage(item.message))
|
|
38816
38827
|
}, null, 8, _hoisted_25)
|
|
@@ -38879,7 +38890,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38879
38890
|
type: "text",
|
|
38880
38891
|
onClick: ($event) => $options.showGroupUser(index)
|
|
38881
38892
|
}, {
|
|
38882
|
-
default: withCtx(() => [..._cache[
|
|
38893
|
+
default: withCtx(() => [..._cache[27] || (_cache[27] = [
|
|
38883
38894
|
createTextVNode("\u5C55\u5F00 ", -1)
|
|
38884
38895
|
])]),
|
|
38885
38896
|
_: 1
|
|
@@ -38890,7 +38901,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38890
38901
|
type: "text",
|
|
38891
38902
|
onClick: ($event) => $options.showGroupUser(index)
|
|
38892
38903
|
}, {
|
|
38893
|
-
default: withCtx(() => [..._cache[
|
|
38904
|
+
default: withCtx(() => [..._cache[28] || (_cache[28] = [
|
|
38894
38905
|
createTextVNode(" \u6536\u8D77", -1)
|
|
38895
38906
|
])]),
|
|
38896
38907
|
_: 1
|
|
@@ -38922,8 +38933,8 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38922
38933
|
createVNode(_component_Col, { span: "2" }, {
|
|
38923
38934
|
default: withCtx(() => [
|
|
38924
38935
|
createElementVNode("span", _hoisted_33, toDisplayString($data.copy.length), 1),
|
|
38925
|
-
_cache[
|
|
38926
|
-
_cache[
|
|
38936
|
+
_cache[30] || (_cache[30] = createTextVNode()),
|
|
38937
|
+
_cache[31] || (_cache[31] = createElementVNode("span", null, "\u4EBA", -1))
|
|
38927
38938
|
]),
|
|
38928
38939
|
_: 1
|
|
38929
38940
|
}),
|
|
@@ -38944,7 +38955,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38944
38955
|
size: "12",
|
|
38945
38956
|
color: "#AF292E"
|
|
38946
38957
|
}),
|
|
38947
|
-
_cache[
|
|
38958
|
+
_cache[32] || (_cache[32] = createElementVNode("span", { style: { "margin-left": "9px", "color": "#AF292E", "font-size": "14px" } }, " \u6DFB\u52A0\u6284\u9001\u4EBA ", -1))
|
|
38948
38959
|
])
|
|
38949
38960
|
]),
|
|
38950
38961
|
_: 1
|
|
@@ -38993,7 +39004,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38993
39004
|
createVNode(_component_Col, { span: "2" }, {
|
|
38994
39005
|
default: withCtx(() => [
|
|
38995
39006
|
createElementVNode("span", _hoisted_34, toDisplayString($data.approvals.length), 1),
|
|
38996
|
-
_cache[
|
|
39007
|
+
_cache[33] || (_cache[33] = createTextVNode()),
|
|
38997
39008
|
createElementVNode("span", {
|
|
38998
39009
|
textContent: toDisplayString($options.info2)
|
|
38999
39010
|
}, null, 8, _hoisted_35)
|
|
@@ -39017,7 +39028,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39017
39028
|
size: "12",
|
|
39018
39029
|
color: "#AF292E"
|
|
39019
39030
|
}),
|
|
39020
|
-
_cache[
|
|
39031
|
+
_cache[34] || (_cache[34] = createElementVNode("span", { style: { "margin-left": "9px", "color": "#AF292E", "font-size": "14px" } }, " \u6DFB\u52A0\u5BA1\u6279\u4EBA ", -1))
|
|
39021
39032
|
])
|
|
39022
39033
|
]),
|
|
39023
39034
|
_: 1
|
|
@@ -39083,13 +39094,13 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39083
39094
|
default: withCtx(() => [
|
|
39084
39095
|
createVNode(_component_Button, {
|
|
39085
39096
|
customIcon: "iconfont icon-custom-submit",
|
|
39086
|
-
onClick: $options.onSubmit
|
|
39097
|
+
onClick: _cache[8] || (_cache[8] = ($event) => $options.comMethod($options.onSubmit, "\u63D0\u4EA4"))
|
|
39087
39098
|
}, {
|
|
39088
|
-
default: withCtx(() => [..._cache[
|
|
39099
|
+
default: withCtx(() => [..._cache[35] || (_cache[35] = [
|
|
39089
39100
|
createTextVNode("\u63D0\u4EA4", -1)
|
|
39090
39101
|
])]),
|
|
39091
39102
|
_: 1
|
|
39092
|
-
}
|
|
39103
|
+
})
|
|
39093
39104
|
]),
|
|
39094
39105
|
_: 1
|
|
39095
39106
|
})) : createCommentVNode("", true),
|
|
@@ -39097,13 +39108,13 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39097
39108
|
default: withCtx(() => [
|
|
39098
39109
|
createVNode(_component_Button, {
|
|
39099
39110
|
customIcon: "iconfont icon-custom-recall",
|
|
39100
|
-
onClick: $options.billBack
|
|
39111
|
+
onClick: _cache[9] || (_cache[9] = ($event) => $options.comMethod($options.billBack, "\u64A4\u56DE"))
|
|
39101
39112
|
}, {
|
|
39102
|
-
default: withCtx(() => [..._cache[
|
|
39113
|
+
default: withCtx(() => [..._cache[36] || (_cache[36] = [
|
|
39103
39114
|
createTextVNode("\u64A4\u56DE", -1)
|
|
39104
39115
|
])]),
|
|
39105
39116
|
_: 1
|
|
39106
|
-
}
|
|
39117
|
+
})
|
|
39107
39118
|
]),
|
|
39108
39119
|
_: 1
|
|
39109
39120
|
})) : createCommentVNode("", true),
|
|
@@ -39111,13 +39122,13 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39111
39122
|
default: withCtx(() => [
|
|
39112
39123
|
createVNode(_component_Button, {
|
|
39113
39124
|
customIcon: "iconfont icon-custom-jiaqian",
|
|
39114
|
-
onClick: $options.billBack
|
|
39125
|
+
onClick: _cache[10] || (_cache[10] = ($event) => $options.comMethod($options.billBack, "\u52A0\u7B7E"))
|
|
39115
39126
|
}, {
|
|
39116
|
-
default: withCtx(() => [..._cache[
|
|
39127
|
+
default: withCtx(() => [..._cache[37] || (_cache[37] = [
|
|
39117
39128
|
createTextVNode("\u52A0\u7B7E", -1)
|
|
39118
39129
|
])]),
|
|
39119
39130
|
_: 1
|
|
39120
|
-
}
|
|
39131
|
+
})
|
|
39121
39132
|
]),
|
|
39122
39133
|
_: 1
|
|
39123
39134
|
}, 512), [
|
|
@@ -39127,13 +39138,13 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39127
39138
|
default: withCtx(() => [
|
|
39128
39139
|
createVNode(_component_Button, {
|
|
39129
39140
|
customIcon: "iconfont icon-custom-reject",
|
|
39130
|
-
onClick: $options.reject
|
|
39141
|
+
onClick: _cache[11] || (_cache[11] = ($event) => $options.comMethod($options.reject, "\u9A73\u56DE"))
|
|
39131
39142
|
}, {
|
|
39132
|
-
default: withCtx(() => [..._cache[
|
|
39143
|
+
default: withCtx(() => [..._cache[38] || (_cache[38] = [
|
|
39133
39144
|
createTextVNode("\u9A73\u56DE", -1)
|
|
39134
39145
|
])]),
|
|
39135
39146
|
_: 1
|
|
39136
|
-
}
|
|
39147
|
+
})
|
|
39137
39148
|
]),
|
|
39138
39149
|
_: 1
|
|
39139
39150
|
})) : createCommentVNode("", true),
|
|
@@ -39141,13 +39152,13 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39141
39152
|
default: withCtx(() => [
|
|
39142
39153
|
createVNode(_component_Button, {
|
|
39143
39154
|
customIcon: "iconfont icon-custom-approve",
|
|
39144
|
-
onClick: $options.submitApprove
|
|
39155
|
+
onClick: _cache[12] || (_cache[12] = ($event) => $options.comMethod($options.submitApprove, "\u5BA1\u6279"))
|
|
39145
39156
|
}, {
|
|
39146
|
-
default: withCtx(() => [..._cache[
|
|
39157
|
+
default: withCtx(() => [..._cache[39] || (_cache[39] = [
|
|
39147
39158
|
createTextVNode("\u5BA1\u6279", -1)
|
|
39148
39159
|
])]),
|
|
39149
39160
|
_: 1
|
|
39150
|
-
}
|
|
39161
|
+
})
|
|
39151
39162
|
]),
|
|
39152
39163
|
_: 1
|
|
39153
39164
|
})) : createCommentVNode("", true)
|
|
@@ -39160,7 +39171,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39160
39171
|
}, 8, ["modelValue"])
|
|
39161
39172
|
]);
|
|
39162
39173
|
}
|
|
39163
|
-
var ApprovalBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$q], ["__scopeId", "data-v-
|
|
39174
|
+
var ApprovalBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$q], ["__scopeId", "data-v-75cde814"]]);
|
|
39164
39175
|
const _sfc_main$s = {
|
|
39165
39176
|
name: "moperlog",
|
|
39166
39177
|
data() {
|