ocpview-plus 1.3.3 → 1.3.4
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 +93 -48
- package/dist/ocpviewplus.min.js +14 -14
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/masterplate/approval.vue +53 -1
- package/src/components/masterplate/contractappendix.vue +9 -3
- package/src/components/masterplate/listdetails.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.3";
|
|
457
457
|
const title = "ocpviewPlus";
|
|
458
458
|
const description = "A high quality Service UI components Library with Vue.js";
|
|
459
459
|
const homepage = "";
|
|
@@ -46576,28 +46576,34 @@ const _sfc_main$v = {
|
|
|
46576
46576
|
type: "ComboBox",
|
|
46577
46577
|
dictkey: "CUSTFILETYPE",
|
|
46578
46578
|
codeWithName: false,
|
|
46579
|
-
width: 300
|
|
46579
|
+
width: 300,
|
|
46580
|
+
readOnly: true
|
|
46580
46581
|
}, {
|
|
46581
46582
|
label: "\u9644\u4EF6\u7C7B\u578B",
|
|
46582
46583
|
name: "filemode",
|
|
46583
46584
|
type: "TextBox",
|
|
46584
46585
|
width: 300,
|
|
46585
|
-
visible: false
|
|
46586
|
+
visible: false,
|
|
46587
|
+
readOnly: true
|
|
46586
46588
|
}, {
|
|
46587
46589
|
label: "\u6587\u4EF6\u540D\u79F0",
|
|
46588
46590
|
name: "filename",
|
|
46589
|
-
type: "TextBox"
|
|
46591
|
+
type: "TextBox",
|
|
46592
|
+
width: 200,
|
|
46593
|
+
readOnly: true
|
|
46590
46594
|
}, {
|
|
46591
46595
|
label: "\u6587\u4EF6\u5927\u5C0F",
|
|
46592
46596
|
name: "filesize",
|
|
46593
46597
|
render: this.sizeActionRender,
|
|
46594
|
-
width: 120
|
|
46598
|
+
width: 120,
|
|
46599
|
+
readOnly: true
|
|
46595
46600
|
}, {
|
|
46596
46601
|
label: "\u4E0A\u4F20\u65E5\u671F",
|
|
46597
46602
|
name: "ph_timestamp",
|
|
46598
46603
|
type: "DateBox",
|
|
46599
46604
|
vtype: "datetime",
|
|
46600
|
-
width:
|
|
46605
|
+
width: 150,
|
|
46606
|
+
readOnly: true
|
|
46601
46607
|
}, {
|
|
46602
46608
|
label: "\u64CD\u4F5C",
|
|
46603
46609
|
key: "action",
|
|
@@ -48497,6 +48503,7 @@ const _sfc_main$t = {
|
|
|
48497
48503
|
if (data.procinfo && data.procinfo.proclist) {
|
|
48498
48504
|
let result = data.procinfo.proclist || [];
|
|
48499
48505
|
let copylist = [];
|
|
48506
|
+
let candidateUserList = [];
|
|
48500
48507
|
if (data.procinfo.cc && data.procinfo.cc.length > 0) {
|
|
48501
48508
|
data.procinfo.cc.forEach((item) => {
|
|
48502
48509
|
let tmp = {};
|
|
@@ -48506,13 +48513,24 @@ const _sfc_main$t = {
|
|
|
48506
48513
|
copylist.push(tmp);
|
|
48507
48514
|
});
|
|
48508
48515
|
}
|
|
48509
|
-
|
|
48516
|
+
if (data.procinfo && data.procinfo.flowerProgress) {
|
|
48517
|
+
if (data.procinfo.flowerProgress.length > 0) {
|
|
48518
|
+
let lastflowerProgress = data.procinfo.flowerProgress[data.procinfo.flowerProgress.length - 1];
|
|
48519
|
+
if (lastflowerProgress && lastflowerProgress.candidateUserList) {
|
|
48520
|
+
candidateUserList = lastflowerProgress.candidateUserList;
|
|
48521
|
+
}
|
|
48522
|
+
}
|
|
48523
|
+
}
|
|
48524
|
+
result.forEach((item, index) => {
|
|
48510
48525
|
item.active = false;
|
|
48511
48526
|
item.tasklist.forEach((list) => {
|
|
48512
48527
|
if (list.usernam) {
|
|
48513
48528
|
list.userName = list.username.substr(-2, 2);
|
|
48514
48529
|
}
|
|
48515
48530
|
});
|
|
48531
|
+
if (index === result.length - 1) {
|
|
48532
|
+
item.candidateUserList = candidateUserList;
|
|
48533
|
+
}
|
|
48516
48534
|
});
|
|
48517
48535
|
if (data.procinfo.btnlist) {
|
|
48518
48536
|
data.procinfo.btnlist.forEach((el2) => {
|
|
@@ -48549,6 +48567,9 @@ const _sfc_main$t = {
|
|
|
48549
48567
|
".billrepeal",
|
|
48550
48568
|
{ billno: this.value.billno },
|
|
48551
48569
|
(data) => {
|
|
48570
|
+
if (this.$parent && typeof this.$parent.approvalOk === "function") {
|
|
48571
|
+
this.$parent.approvalOk();
|
|
48572
|
+
}
|
|
48552
48573
|
this.alert(data.msg, null, 3);
|
|
48553
48574
|
this.showDrawer = false;
|
|
48554
48575
|
}
|
|
@@ -48566,6 +48587,9 @@ const _sfc_main$t = {
|
|
|
48566
48587
|
".billreject",
|
|
48567
48588
|
para,
|
|
48568
48589
|
(data) => {
|
|
48590
|
+
if (this.$parent && typeof this.$parent.approvalOk === "function") {
|
|
48591
|
+
this.$parent.approvalOk();
|
|
48592
|
+
}
|
|
48569
48593
|
this.showDrawer = false;
|
|
48570
48594
|
this.alert(data.msg, null, 3);
|
|
48571
48595
|
}
|
|
@@ -48589,6 +48613,9 @@ const _sfc_main$t = {
|
|
|
48589
48613
|
param.comment = this.idea;
|
|
48590
48614
|
}
|
|
48591
48615
|
this.doPost(".billsubmit", param, (data) => {
|
|
48616
|
+
if (this.$parent && typeof this.$parent.approvalOk === "function") {
|
|
48617
|
+
this.$parent.approvalOk();
|
|
48618
|
+
}
|
|
48592
48619
|
this.showDrawer = false;
|
|
48593
48620
|
this.$nextTick(() => {
|
|
48594
48621
|
setTimeout(() => {
|
|
@@ -48602,6 +48629,9 @@ const _sfc_main$t = {
|
|
|
48602
48629
|
".billapproval",
|
|
48603
48630
|
{ billno: this.value.billno, comment: this.idea },
|
|
48604
48631
|
(data) => {
|
|
48632
|
+
if (this.$parent && typeof this.$parent.approvalOk === "function") {
|
|
48633
|
+
this.$parent.approvalOk();
|
|
48634
|
+
}
|
|
48605
48635
|
this.showDrawer = false;
|
|
48606
48636
|
this.alert(data.msg, null, 3);
|
|
48607
48637
|
}
|
|
@@ -48809,6 +48839,12 @@ const _sfc_main$t = {
|
|
|
48809
48839
|
},
|
|
48810
48840
|
selectTypeChange() {
|
|
48811
48841
|
this.clearUser();
|
|
48842
|
+
},
|
|
48843
|
+
getCandidateUserText(candidateUserList) {
|
|
48844
|
+
if (!candidateUserList || candidateUserList.length === 0)
|
|
48845
|
+
return "";
|
|
48846
|
+
let approvers = candidateUserList.map((user) => user.userName).join("\u3001");
|
|
48847
|
+
return approvers;
|
|
48812
48848
|
}
|
|
48813
48849
|
},
|
|
48814
48850
|
mounted() {
|
|
@@ -48854,24 +48890,28 @@ const _hoisted_19 = { class: "right" };
|
|
|
48854
48890
|
const _hoisted_20 = { class: "top" };
|
|
48855
48891
|
const _hoisted_21 = { style: { "font-size": "16px" } };
|
|
48856
48892
|
const _hoisted_22 = { class: "status" };
|
|
48857
|
-
const _hoisted_23 = {
|
|
48858
|
-
|
|
48859
|
-
|
|
48893
|
+
const _hoisted_23 = {
|
|
48894
|
+
key: 0,
|
|
48895
|
+
class: "desc"
|
|
48896
|
+
};
|
|
48897
|
+
const _hoisted_24 = { class: "desc" };
|
|
48898
|
+
const _hoisted_25 = ["textContent"];
|
|
48899
|
+
const _hoisted_26 = {
|
|
48860
48900
|
key: 0,
|
|
48861
48901
|
class: "card"
|
|
48862
48902
|
};
|
|
48863
|
-
const
|
|
48864
|
-
const
|
|
48865
|
-
const
|
|
48866
|
-
const
|
|
48867
|
-
const
|
|
48868
|
-
const
|
|
48903
|
+
const _hoisted_27 = { class: "main" };
|
|
48904
|
+
const _hoisted_28 = { class: "user-list" };
|
|
48905
|
+
const _hoisted_29 = { class: "user" };
|
|
48906
|
+
const _hoisted_30 = { class: "icon-wrap" };
|
|
48907
|
+
const _hoisted_31 = { style: { "z-index": "99" } };
|
|
48908
|
+
const _hoisted_32 = {
|
|
48869
48909
|
ref: "foot",
|
|
48870
48910
|
class: "footer"
|
|
48871
48911
|
};
|
|
48872
|
-
const
|
|
48873
|
-
const
|
|
48874
|
-
const
|
|
48912
|
+
const _hoisted_33 = { style: { "color": "#AF292E" } };
|
|
48913
|
+
const _hoisted_34 = { style: { "color": "#AF292E", "cursor": "pointer" } };
|
|
48914
|
+
const _hoisted_35 = ["textContent"];
|
|
48875
48915
|
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
48876
48916
|
const _component_Col = resolveComponent("Col");
|
|
48877
48917
|
const _component_Button = resolveComponent("Button");
|
|
@@ -49219,7 +49259,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49219
49259
|
class: "log-list",
|
|
49220
49260
|
key: index
|
|
49221
49261
|
}, [
|
|
49222
|
-
_cache[
|
|
49262
|
+
_cache[24] || (_cache[24] = createElementVNode("div", { class: "line-wrap" }, null, -1)),
|
|
49223
49263
|
createElementVNode("div", _hoisted_16, [
|
|
49224
49264
|
item.mulflag === "N" ? (openBlock(), createElementBlock("span", _hoisted_17, toDisplayString(item.username), 1)) : (openBlock(), createBlock(_component_Icon, {
|
|
49225
49265
|
key: 1,
|
|
@@ -49253,16 +49293,20 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49253
49293
|
createElementVNode("span", _hoisted_22, toDisplayString(item.act_status_name), 1)
|
|
49254
49294
|
]),
|
|
49255
49295
|
createElementVNode("div", null, [
|
|
49296
|
+
index === $data.auditLog.length - 1 && item.candidateUserList && item.candidateUserList.length > 0 ? (openBlock(), createElementBlock("p", _hoisted_23, [
|
|
49297
|
+
_cache[20] || (_cache[20] = createTextVNode(" \u5F85\u5BA1\u6279\u4EBA\uFF1A")),
|
|
49298
|
+
createElementVNode("span", null, toDisplayString($options.getCandidateUserText(item.candidateUserList)), 1)
|
|
49299
|
+
])) : createCommentVNode("", true),
|
|
49256
49300
|
createElementVNode("span", null, toDisplayString(item.act_time_), 1),
|
|
49257
|
-
createElementVNode("p",
|
|
49258
|
-
_cache[
|
|
49301
|
+
createElementVNode("p", _hoisted_24, [
|
|
49302
|
+
_cache[21] || (_cache[21] = createTextVNode("\u610F\u89C1\uFF1A")),
|
|
49259
49303
|
createElementVNode("span", {
|
|
49260
49304
|
textContent: toDisplayString($options.getMessage(item.message))
|
|
49261
|
-
}, null, 8,
|
|
49305
|
+
}, null, 8, _hoisted_25)
|
|
49262
49306
|
])
|
|
49263
49307
|
]),
|
|
49264
|
-
item.tasklist.length > 1 ? (openBlock(), createElementBlock("div",
|
|
49265
|
-
createElementVNode("ul",
|
|
49308
|
+
item.tasklist.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_26, [
|
|
49309
|
+
createElementVNode("ul", _hoisted_27, [
|
|
49266
49310
|
createVNode(_component_Row, {
|
|
49267
49311
|
type: "flex",
|
|
49268
49312
|
justify: "start",
|
|
@@ -49274,10 +49318,10 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49274
49318
|
key: "task_" + index2
|
|
49275
49319
|
}, {
|
|
49276
49320
|
default: withCtx(() => [
|
|
49277
|
-
createElementVNode("li",
|
|
49278
|
-
createElementVNode("div",
|
|
49321
|
+
createElementVNode("li", _hoisted_28, [
|
|
49322
|
+
createElementVNode("div", _hoisted_29, [
|
|
49279
49323
|
createElementVNode("span", null, toDisplayString(tmp.username), 1),
|
|
49280
|
-
createElementVNode("div",
|
|
49324
|
+
createElementVNode("div", _hoisted_30, [
|
|
49281
49325
|
item.status === "Y" ? (openBlock(), createBlock(_component_Icon, {
|
|
49282
49326
|
key: 0,
|
|
49283
49327
|
custom: "iconfont icon-custom-wancheng",
|
|
@@ -49297,7 +49341,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49297
49341
|
}))
|
|
49298
49342
|
])
|
|
49299
49343
|
]),
|
|
49300
|
-
createElementVNode("p",
|
|
49344
|
+
createElementVNode("p", _hoisted_31, toDisplayString(tmp.username), 1)
|
|
49301
49345
|
])
|
|
49302
49346
|
]),
|
|
49303
49347
|
_: 2
|
|
@@ -49324,7 +49368,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49324
49368
|
type: "text",
|
|
49325
49369
|
onClick: ($event) => $options.showGroupUser(index)
|
|
49326
49370
|
}, {
|
|
49327
|
-
default: withCtx(() => _cache[
|
|
49371
|
+
default: withCtx(() => _cache[22] || (_cache[22] = [
|
|
49328
49372
|
createTextVNode("\u5C55\u5F00 ")
|
|
49329
49373
|
])),
|
|
49330
49374
|
_: 2
|
|
@@ -49335,7 +49379,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49335
49379
|
type: "text",
|
|
49336
49380
|
onClick: ($event) => $options.showGroupUser(index)
|
|
49337
49381
|
}, {
|
|
49338
|
-
default: withCtx(() => _cache[
|
|
49382
|
+
default: withCtx(() => _cache[23] || (_cache[23] = [
|
|
49339
49383
|
createTextVNode(" \u6536\u8D77")
|
|
49340
49384
|
])),
|
|
49341
49385
|
_: 2
|
|
@@ -49353,7 +49397,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49353
49397
|
])
|
|
49354
49398
|
], 4)
|
|
49355
49399
|
]),
|
|
49356
|
-
createElementVNode("div",
|
|
49400
|
+
createElementVNode("div", _hoisted_32, [
|
|
49357
49401
|
withDirectives(createVNode(_component_Form, { "label-width": 45 }, {
|
|
49358
49402
|
default: withCtx(() => [
|
|
49359
49403
|
createVNode(_component_FormItem, { label: "\u6284\u9001:" }, {
|
|
@@ -49366,9 +49410,9 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49366
49410
|
default: withCtx(() => [
|
|
49367
49411
|
createVNode(_component_Col, { span: "2" }, {
|
|
49368
49412
|
default: withCtx(() => [
|
|
49369
|
-
createElementVNode("span",
|
|
49370
|
-
_cache[
|
|
49371
|
-
_cache[
|
|
49413
|
+
createElementVNode("span", _hoisted_33, toDisplayString($data.copy.length), 1),
|
|
49414
|
+
_cache[25] || (_cache[25] = createTextVNode()),
|
|
49415
|
+
_cache[26] || (_cache[26] = createElementVNode("span", null, "\u4EBA", -1))
|
|
49372
49416
|
]),
|
|
49373
49417
|
_: 1
|
|
49374
49418
|
}),
|
|
@@ -49389,7 +49433,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49389
49433
|
size: "12",
|
|
49390
49434
|
color: "#AF292E"
|
|
49391
49435
|
}),
|
|
49392
|
-
_cache[
|
|
49436
|
+
_cache[27] || (_cache[27] = createElementVNode("span", { style: { "margin-left": "9px", "color": "#AF292E", "font-size": "14px" } }, " \u6DFB\u52A0\u6284\u9001\u4EBA ", -1))
|
|
49393
49437
|
])
|
|
49394
49438
|
]),
|
|
49395
49439
|
_: 1
|
|
@@ -49437,11 +49481,11 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49437
49481
|
default: withCtx(() => [
|
|
49438
49482
|
createVNode(_component_Col, { span: "2" }, {
|
|
49439
49483
|
default: withCtx(() => [
|
|
49440
|
-
createElementVNode("span",
|
|
49441
|
-
_cache[
|
|
49484
|
+
createElementVNode("span", _hoisted_34, toDisplayString($data.approvals.length), 1),
|
|
49485
|
+
_cache[28] || (_cache[28] = createTextVNode()),
|
|
49442
49486
|
createElementVNode("span", {
|
|
49443
49487
|
textContent: toDisplayString($options.info2)
|
|
49444
|
-
}, null, 8,
|
|
49488
|
+
}, null, 8, _hoisted_35)
|
|
49445
49489
|
]),
|
|
49446
49490
|
_: 1
|
|
49447
49491
|
}),
|
|
@@ -49462,7 +49506,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49462
49506
|
size: "12",
|
|
49463
49507
|
color: "#AF292E"
|
|
49464
49508
|
}),
|
|
49465
|
-
_cache[
|
|
49509
|
+
_cache[29] || (_cache[29] = createElementVNode("span", { style: { "margin-left": "9px", "color": "#AF292E", "font-size": "14px" } }, " \u6DFB\u52A0\u5BA1\u6279\u4EBA ", -1))
|
|
49466
49510
|
])
|
|
49467
49511
|
]),
|
|
49468
49512
|
_: 1
|
|
@@ -49530,7 +49574,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49530
49574
|
customIcon: "iconfont icon-custom-submit",
|
|
49531
49575
|
onClick: $options.onSubmit
|
|
49532
49576
|
}, {
|
|
49533
|
-
default: withCtx(() => _cache[
|
|
49577
|
+
default: withCtx(() => _cache[30] || (_cache[30] = [
|
|
49534
49578
|
createTextVNode("\u63D0\u4EA4")
|
|
49535
49579
|
])),
|
|
49536
49580
|
_: 1
|
|
@@ -49544,7 +49588,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49544
49588
|
customIcon: "iconfont icon-custom-recall",
|
|
49545
49589
|
onClick: $options.billBack
|
|
49546
49590
|
}, {
|
|
49547
|
-
default: withCtx(() => _cache[
|
|
49591
|
+
default: withCtx(() => _cache[31] || (_cache[31] = [
|
|
49548
49592
|
createTextVNode("\u64A4\u56DE")
|
|
49549
49593
|
])),
|
|
49550
49594
|
_: 1
|
|
@@ -49558,7 +49602,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49558
49602
|
customIcon: "iconfont icon-custom-jiaqian",
|
|
49559
49603
|
onClick: $options.billBack
|
|
49560
49604
|
}, {
|
|
49561
|
-
default: withCtx(() => _cache[
|
|
49605
|
+
default: withCtx(() => _cache[32] || (_cache[32] = [
|
|
49562
49606
|
createTextVNode("\u52A0\u7B7E")
|
|
49563
49607
|
])),
|
|
49564
49608
|
_: 1
|
|
@@ -49574,7 +49618,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49574
49618
|
customIcon: "iconfont icon-custom-reject",
|
|
49575
49619
|
onClick: $options.reject
|
|
49576
49620
|
}, {
|
|
49577
|
-
default: withCtx(() => _cache[
|
|
49621
|
+
default: withCtx(() => _cache[33] || (_cache[33] = [
|
|
49578
49622
|
createTextVNode("\u9A73\u56DE")
|
|
49579
49623
|
])),
|
|
49580
49624
|
_: 1
|
|
@@ -49588,7 +49632,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49588
49632
|
customIcon: "iconfont icon-custom-approve",
|
|
49589
49633
|
onClick: $options.submitApprove
|
|
49590
49634
|
}, {
|
|
49591
|
-
default: withCtx(() => _cache[
|
|
49635
|
+
default: withCtx(() => _cache[34] || (_cache[34] = [
|
|
49592
49636
|
createTextVNode("\u5BA1\u6279")
|
|
49593
49637
|
])),
|
|
49594
49638
|
_: 1
|
|
@@ -49605,7 +49649,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49605
49649
|
}, 8, ["modelValue"])
|
|
49606
49650
|
]);
|
|
49607
49651
|
}
|
|
49608
|
-
var ApprovalBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$q], ["__scopeId", "data-v-
|
|
49652
|
+
var ApprovalBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$q], ["__scopeId", "data-v-2555e92e"]]);
|
|
49609
49653
|
const _sfc_main$s = {
|
|
49610
49654
|
name: "moperlog",
|
|
49611
49655
|
data() {
|
|
@@ -50690,8 +50734,9 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50690
50734
|
]),
|
|
50691
50735
|
createVNode(_component_ApprovalBox, {
|
|
50692
50736
|
ref: "approval",
|
|
50693
|
-
config: $data.billApprovalConfig
|
|
50694
|
-
|
|
50737
|
+
config: $data.billApprovalConfig,
|
|
50738
|
+
onApprovalOk: $options.approvalOk
|
|
50739
|
+
}, null, 8, ["config", "onApprovalOk"]),
|
|
50695
50740
|
createVNode(_component_Modal, {
|
|
50696
50741
|
"class-name": "efuture-billapprovalmainframe",
|
|
50697
50742
|
modelValue: $data.showApproval,
|