ocpview-pro 0.1.18 → 0.1.20
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 +334 -240
- package/dist/ocpviewplus.min.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/masterplate/approval.vue +5 -2
- package/src/components/masterplate/simpleviewgrid.vue +11 -11
- package/src/components/textbox/textbox.vue +80 -10
|
@@ -10740,13 +10740,43 @@ const _sfc_main$1J = {
|
|
|
10740
10740
|
return this.isMaskMode ? "text" : this.myConfig.vtype;
|
|
10741
10741
|
}
|
|
10742
10742
|
},
|
|
10743
|
+
mounted() {
|
|
10744
|
+
if (this.isMaskMode) {
|
|
10745
|
+
this.$nextTick(() => {
|
|
10746
|
+
this.hardenMaskInput();
|
|
10747
|
+
});
|
|
10748
|
+
}
|
|
10749
|
+
},
|
|
10750
|
+
updated() {
|
|
10751
|
+
if (this.isMaskMode) {
|
|
10752
|
+
this.$nextTick(() => {
|
|
10753
|
+
this.hardenMaskInput();
|
|
10754
|
+
});
|
|
10755
|
+
}
|
|
10756
|
+
},
|
|
10743
10757
|
methods: {
|
|
10758
|
+
hardenMaskInput() {
|
|
10759
|
+
const comp = this.$refs.myControl;
|
|
10760
|
+
if (!comp || !comp.$el)
|
|
10761
|
+
return;
|
|
10762
|
+
const inputEl = comp.$el.querySelector ? comp.$el.querySelector("input") : null;
|
|
10763
|
+
if (!inputEl)
|
|
10764
|
+
return;
|
|
10765
|
+
if (inputEl.type !== "text") {
|
|
10766
|
+
inputEl.setAttribute("type", "text");
|
|
10767
|
+
}
|
|
10768
|
+
inputEl.setAttribute("autocomplete", "off");
|
|
10769
|
+
inputEl.setAttribute("name", "mask-field");
|
|
10770
|
+
inputEl.setAttribute("data-lpignore", "true");
|
|
10771
|
+
inputEl.setAttribute("data-1p-ignore", "true");
|
|
10772
|
+
inputEl.setAttribute("data-form-type", "other");
|
|
10773
|
+
},
|
|
10744
10774
|
toggleMask() {
|
|
10745
10775
|
this.maskVisible = !this.maskVisible;
|
|
10746
10776
|
},
|
|
10747
10777
|
keyUp(e11) {
|
|
10748
10778
|
if (this.myConfig.notSpecial) {
|
|
10749
|
-
e11.target.value = e11.target.value.replace(/[`~!@$%^&*()_
|
|
10779
|
+
e11.target.value = e11.target.value.replace(/[`~!@$%^&*()_+=<>?:"{}|,\/;'\\[\]·~!@¥%……&*()+={}|《》?:“”【】、;‘’,。、-]/g, "");
|
|
10750
10780
|
}
|
|
10751
10781
|
},
|
|
10752
10782
|
customInit() {
|
|
@@ -10797,14 +10827,91 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10797
10827
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
10798
10828
|
class: normalizeClass(["textbox-wrapper", { "textbox-mask": $options.isMaskMode, "textbox-mask-visible": $options.isMaskMode && $data.maskVisible }])
|
|
10799
10829
|
}, [
|
|
10800
|
-
|
|
10830
|
+
$options.isMaskMode ? (openBlock(), createElementBlock("form", {
|
|
10831
|
+
key: 0,
|
|
10832
|
+
autocomplete: "off",
|
|
10833
|
+
onSubmit: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
10834
|
+
}, ["prevent"])),
|
|
10835
|
+
style: { "margin": "0", "padding": "0" }
|
|
10836
|
+
}, [
|
|
10837
|
+
_cache[3] || (_cache[3] = createElementVNode("input", {
|
|
10838
|
+
type: "text",
|
|
10839
|
+
name: "username",
|
|
10840
|
+
autocomplete: "off",
|
|
10841
|
+
tabindex: "-1",
|
|
10842
|
+
"aria-hidden": "true",
|
|
10843
|
+
style: { "position": "absolute", "left": "-9999px", "width": "1px", "height": "1px", "opacity": "0" }
|
|
10844
|
+
}, null, -1)),
|
|
10845
|
+
_cache[4] || (_cache[4] = createElementVNode("input", {
|
|
10846
|
+
type: "password",
|
|
10847
|
+
name: "password",
|
|
10848
|
+
autocomplete: "off",
|
|
10849
|
+
tabindex: "-1",
|
|
10850
|
+
"aria-hidden": "true",
|
|
10851
|
+
style: { "position": "absolute", "left": "-9999px", "width": "1px", "height": "1px", "opacity": "0" }
|
|
10852
|
+
}, null, -1)),
|
|
10853
|
+
createVNode(_component_Input, {
|
|
10854
|
+
ref: "myControl",
|
|
10855
|
+
modelValue: _ctx.value,
|
|
10856
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.value = $event),
|
|
10857
|
+
size: $data.myConfig.size,
|
|
10858
|
+
type: $options.inputType,
|
|
10859
|
+
password: $data.passwordFlag,
|
|
10860
|
+
autocomplete: "off",
|
|
10861
|
+
name: "mask-field",
|
|
10862
|
+
"data-lpignore": "true",
|
|
10863
|
+
"data-1p-ignore": "true",
|
|
10864
|
+
"data-form-type": "other",
|
|
10865
|
+
role: "textbox",
|
|
10866
|
+
rows: $data.myConfig.rows,
|
|
10867
|
+
placeholder: $data.myConfig.placeholder,
|
|
10868
|
+
maxlength: $data.myConfig.maxLength,
|
|
10869
|
+
disabled: $data.myConfig.readOnly,
|
|
10870
|
+
clearable: $data.myConfig.clearable,
|
|
10871
|
+
readonly: !$data.myConfig.allowInput,
|
|
10872
|
+
onKeydown: withKeys(withModifiers($options._enterSetFatherValue, ["stop"]), ["enter"]),
|
|
10873
|
+
onKeyup: $options.keyUp,
|
|
10874
|
+
onOnBlur: _ctx.setFatherValue,
|
|
10875
|
+
search: $data.myConfig.search,
|
|
10876
|
+
onOnSearch: $options.search
|
|
10877
|
+
}, createSlots({ _: 2 }, [
|
|
10878
|
+
$data.myConfig.maskToggle ? {
|
|
10879
|
+
name: "suffix",
|
|
10880
|
+
fn: withCtx(() => [
|
|
10881
|
+
createVNode(_component_Icon, {
|
|
10882
|
+
type: $data.maskVisible ? "md-eye-off" : "md-eye",
|
|
10883
|
+
onClick: withModifiers($options.toggleMask, ["stop"]),
|
|
10884
|
+
style: { "cursor": "pointer", "font-size": "16px" }
|
|
10885
|
+
}, null, 8, ["type", "onClick"])
|
|
10886
|
+
]),
|
|
10887
|
+
key: "0"
|
|
10888
|
+
} : void 0,
|
|
10889
|
+
$data.myConfig.showAppend ? {
|
|
10890
|
+
name: "append",
|
|
10891
|
+
fn: withCtx(() => [
|
|
10892
|
+
createVNode(_component_Button, {
|
|
10893
|
+
size: $data.myConfig.size,
|
|
10894
|
+
type: "primary",
|
|
10895
|
+
disabled: $data.myConfig.readOnly,
|
|
10896
|
+
onClick: $options.appendClick
|
|
10897
|
+
}, {
|
|
10898
|
+
default: withCtx(() => [
|
|
10899
|
+
createTextVNode(toDisplayString$1($data.myConfig.appendText), 1)
|
|
10900
|
+
]),
|
|
10901
|
+
_: 1
|
|
10902
|
+
}, 8, ["size", "disabled", "onClick"])
|
|
10903
|
+
]),
|
|
10904
|
+
key: "1"
|
|
10905
|
+
} : void 0
|
|
10906
|
+
]), 1032, ["modelValue", "size", "type", "password", "rows", "placeholder", "maxlength", "disabled", "clearable", "readonly", "onKeydown", "onKeyup", "onOnBlur", "search", "onOnSearch"])
|
|
10907
|
+
], 32)) : (openBlock(), createBlock(_component_Input, {
|
|
10908
|
+
key: 1,
|
|
10801
10909
|
ref: "myControl",
|
|
10802
10910
|
modelValue: _ctx.value,
|
|
10803
|
-
"onUpdate:modelValue": _cache[
|
|
10911
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.value = $event),
|
|
10804
10912
|
size: $data.myConfig.size,
|
|
10805
10913
|
type: $options.inputType,
|
|
10806
10914
|
password: $data.passwordFlag,
|
|
10807
|
-
autocomplete: $options.isMaskMode ? "new-password" : void 0,
|
|
10808
10915
|
rows: $data.myConfig.rows,
|
|
10809
10916
|
placeholder: $data.myConfig.placeholder,
|
|
10810
10917
|
maxlength: $data.myConfig.maxLength,
|
|
@@ -10817,17 +10924,6 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10817
10924
|
search: $data.myConfig.search,
|
|
10818
10925
|
onOnSearch: $options.search
|
|
10819
10926
|
}, createSlots({ _: 2 }, [
|
|
10820
|
-
$options.isMaskMode && $data.myConfig.maskToggle ? {
|
|
10821
|
-
name: "suffix",
|
|
10822
|
-
fn: withCtx(() => [
|
|
10823
|
-
createVNode(_component_Icon, {
|
|
10824
|
-
type: $data.maskVisible ? "md-eye-off" : "md-eye",
|
|
10825
|
-
onClick: withModifiers($options.toggleMask, ["stop"]),
|
|
10826
|
-
style: { "cursor": "pointer", "font-size": "16px" }
|
|
10827
|
-
}, null, 8, ["type", "onClick"])
|
|
10828
|
-
]),
|
|
10829
|
-
key: "0"
|
|
10830
|
-
} : void 0,
|
|
10831
10927
|
$data.myConfig.showAppend ? {
|
|
10832
10928
|
name: "append",
|
|
10833
10929
|
fn: withCtx(() => [
|
|
@@ -10843,14 +10939,14 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10843
10939
|
_: 1
|
|
10844
10940
|
}, 8, ["size", "disabled", "onClick"])
|
|
10845
10941
|
]),
|
|
10846
|
-
key: "
|
|
10942
|
+
key: "0"
|
|
10847
10943
|
} : void 0
|
|
10848
|
-
]), 1032, ["modelValue", "size", "type", "password", "
|
|
10944
|
+
]), 1032, ["modelValue", "size", "type", "password", "rows", "placeholder", "maxlength", "disabled", "clearable", "readonly", "onKeydown", "onKeyup", "onOnBlur", "search", "onOnSearch"]))
|
|
10849
10945
|
], 2)), [
|
|
10850
10946
|
[vShow, $data.myConfig.visible]
|
|
10851
10947
|
]);
|
|
10852
10948
|
}
|
|
10853
|
-
var TextBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1J, [["render", _sfc_render$1w], ["__scopeId", "data-v-
|
|
10949
|
+
var TextBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1J, [["render", _sfc_render$1w], ["__scopeId", "data-v-4d5dad98"]]);
|
|
10854
10950
|
const _sfc_main$1I = {
|
|
10855
10951
|
name: "uploadbox",
|
|
10856
10952
|
data() {
|
|
@@ -38288,16 +38384,15 @@ const _hoisted_3$j = {
|
|
|
38288
38384
|
style: { "padding-top": "10px" }
|
|
38289
38385
|
};
|
|
38290
38386
|
const _hoisted_4$f = ["textContent"];
|
|
38291
|
-
const _hoisted_5$e =
|
|
38387
|
+
const _hoisted_5$e = ["textContent"];
|
|
38388
|
+
const _hoisted_6$a = {
|
|
38292
38389
|
ref: "page",
|
|
38293
38390
|
name: "page"
|
|
38294
38391
|
};
|
|
38295
|
-
const
|
|
38392
|
+
const _hoisted_7$5 = {
|
|
38296
38393
|
key: 0,
|
|
38297
|
-
ref: "page",
|
|
38298
38394
|
style: { "padding-top": "10px" }
|
|
38299
38395
|
};
|
|
38300
|
-
const _hoisted_7$5 = ["textContent"];
|
|
38301
38396
|
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
38302
38397
|
const _component_ConditionBox = resolveComponent("ConditionBox");
|
|
38303
38398
|
const _component_Col = resolveComponent("Col");
|
|
@@ -38415,215 +38510,214 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38415
38510
|
})
|
|
38416
38511
|
])) : createCommentVNode("", true)
|
|
38417
38512
|
], 512)
|
|
38418
|
-
], 64)) : (openBlock(),
|
|
38419
|
-
|
|
38420
|
-
|
|
38421
|
-
|
|
38422
|
-
|
|
38423
|
-
|
|
38424
|
-
|
|
38425
|
-
|
|
38426
|
-
|
|
38427
|
-
|
|
38428
|
-
|
|
38429
|
-
|
|
38430
|
-
|
|
38431
|
-
|
|
38432
|
-
|
|
38433
|
-
|
|
38434
|
-
|
|
38435
|
-
|
|
38436
|
-
|
|
38437
|
-
|
|
38438
|
-
|
|
38439
|
-
|
|
38440
|
-
|
|
38441
|
-
|
|
38442
|
-
|
|
38443
|
-
|
|
38444
|
-
|
|
38445
|
-
|
|
38446
|
-
|
|
38447
|
-
|
|
38448
|
-
|
|
38449
|
-
|
|
38450
|
-
|
|
38451
|
-
|
|
38452
|
-
|
|
38453
|
-
|
|
38454
|
-
|
|
38455
|
-
|
|
38456
|
-
|
|
38457
|
-
|
|
38458
|
-
|
|
38459
|
-
|
|
38460
|
-
|
|
38461
|
-
|
|
38462
|
-
|
|
38463
|
-
|
|
38464
|
-
|
|
38465
|
-
|
|
38466
|
-
|
|
38467
|
-
|
|
38468
|
-
|
|
38469
|
-
|
|
38470
|
-
|
|
38471
|
-
|
|
38472
|
-
|
|
38473
|
-
|
|
38474
|
-
|
|
38475
|
-
|
|
38476
|
-
]), 1032, ["row-class-name", "show-summary", "summary-method", "loading", "size", "stripe", "border", "height", "max-height", "show-header", "columns", "data", "onOnSortChange", "onOnCurrentChange", "highlight-row", "onOnRowDblclick", "onOnSelect", "onOnSelectCancel", "onOnSelectionChange", "onOnRowClick", "onOnColumnWidthResize"])
|
|
38477
|
-
]),
|
|
38478
|
-
_: 1
|
|
38479
|
-
}),
|
|
38480
|
-
createElementVNode("div", _hoisted_5$e, [
|
|
38481
|
-
_ctx.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
|
|
38482
|
-
createVNode(_component_Card, {
|
|
38483
|
-
bordered: false,
|
|
38484
|
-
padding: 0,
|
|
38485
|
-
"dis-hover": true,
|
|
38486
|
-
style: { "border-radius": "0px" }
|
|
38487
|
-
}, {
|
|
38488
|
-
default: withCtx(() => [
|
|
38489
|
-
createVNode(_component_Row, {
|
|
38490
|
-
type: "flex",
|
|
38491
|
-
justify: "end",
|
|
38492
|
-
style: { "padding-right": "10px" },
|
|
38493
|
-
gutter: 0
|
|
38494
|
-
}, {
|
|
38495
|
-
default: withCtx(() => [
|
|
38496
|
-
createVNode(_component_PageCustom, {
|
|
38497
|
-
modelValue: _ctx.culPage,
|
|
38498
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.culPage = $event),
|
|
38499
|
-
total: _ctx.myConfig.pageConfig.total_results,
|
|
38500
|
-
size: _ctx.myConfig.pageSize,
|
|
38501
|
-
current: _ctx.myConfig.pageConfig.page_no,
|
|
38502
|
-
"page-size": _ctx.myConfig.pageConfig.page_size,
|
|
38503
|
-
"page-size-opts": _ctx.myConfig.pageConfig.pageSizeList,
|
|
38504
|
-
onOnPageSizeChange: _ctx.changePageSize,
|
|
38505
|
-
onOnChange: _ctx.changePage,
|
|
38506
|
-
"show-total": _ctx.myConfig.pageShowTotal,
|
|
38507
|
-
"show-elevator": _ctx.myConfig.pageShowElevator,
|
|
38508
|
-
"show-sizer": _ctx.myConfig.pageShowSizer
|
|
38509
|
-
}, null, 8, ["modelValue", "total", "size", "current", "page-size", "page-size-opts", "onOnPageSizeChange", "onOnChange", "show-total", "show-elevator", "show-sizer"])
|
|
38510
|
-
]),
|
|
38511
|
-
_: 1
|
|
38513
|
+
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
38514
|
+
createVNode(_component_Row, {
|
|
38515
|
+
type: "flex",
|
|
38516
|
+
justify: "center",
|
|
38517
|
+
align: "middle",
|
|
38518
|
+
style: { "width": "100%" }
|
|
38519
|
+
}, {
|
|
38520
|
+
default: withCtx(() => [
|
|
38521
|
+
createVNode(_component_Col, { span: _ctx.gridCol }, {
|
|
38522
|
+
default: withCtx(() => [
|
|
38523
|
+
createVNode(_component_Card, {
|
|
38524
|
+
padding: 0,
|
|
38525
|
+
bordered: "",
|
|
38526
|
+
"dis-hover": ""
|
|
38527
|
+
}, {
|
|
38528
|
+
title: withCtx(() => [
|
|
38529
|
+
createElementVNode("span", {
|
|
38530
|
+
textContent: toDisplayString$1(_ctx.myConfig.gridTitle)
|
|
38531
|
+
}, null, 8, _hoisted_4$f)
|
|
38532
|
+
]),
|
|
38533
|
+
default: withCtx(() => [
|
|
38534
|
+
createVNode(_component_Table, {
|
|
38535
|
+
ref: "table",
|
|
38536
|
+
"row-class-name": _ctx.myConfig.rowClassName,
|
|
38537
|
+
"show-summary": _ctx.myConfig.showSummary,
|
|
38538
|
+
"summary-method": _ctx.handleSummary,
|
|
38539
|
+
loading: _ctx.loading,
|
|
38540
|
+
size: _ctx.myConfig.tableSize,
|
|
38541
|
+
stripe: _ctx.myConfig.showStripe,
|
|
38542
|
+
border: _ctx.myConfig.showBorder,
|
|
38543
|
+
height: _ctx.tableHeight,
|
|
38544
|
+
"max-height": _ctx.tableMaxHeight,
|
|
38545
|
+
"show-header": _ctx.myConfig.showHeader,
|
|
38546
|
+
columns: _ctx.tableColumns,
|
|
38547
|
+
data: _ctx.tempData,
|
|
38548
|
+
onOnSortChange: _ctx.sortChagne,
|
|
38549
|
+
onOnCurrentChange: _ctx.onCurrentChange,
|
|
38550
|
+
"highlight-row": _ctx.myConfig.highLightRow,
|
|
38551
|
+
onOnRowDblclick: _ctx.dbclick,
|
|
38552
|
+
onOnSelect: _ctx.onSelect,
|
|
38553
|
+
onOnSelectCancel: _ctx.onSelectCancel,
|
|
38554
|
+
onOnSelectionChange: _ctx.OnSelectionChange,
|
|
38555
|
+
onOnRowClick: _ctx.click,
|
|
38556
|
+
onOnColumnWidthResize: _ctx.onColumnWidthResize
|
|
38557
|
+
}, createSlots({ _: 2 }, [
|
|
38558
|
+
renderList(_ctx.soltTableColumns, (config2) => {
|
|
38559
|
+
return {
|
|
38560
|
+
name: config2.key,
|
|
38561
|
+
fn: withCtx(({ row, index }) => [
|
|
38562
|
+
createVNode(_component_ShowText, {
|
|
38563
|
+
label: _ctx.formatValue(index, config2, row),
|
|
38564
|
+
contentAlign: config2.contentAlign,
|
|
38565
|
+
class: normalizeClass(config2.cellClassName),
|
|
38566
|
+
config: config2,
|
|
38567
|
+
rowIndex: index
|
|
38568
|
+
}, null, 8, ["label", "contentAlign", "class", "config", "rowIndex"])
|
|
38569
|
+
])
|
|
38570
|
+
};
|
|
38512
38571
|
})
|
|
38513
|
-
]),
|
|
38514
|
-
|
|
38515
|
-
|
|
38516
|
-
|
|
38517
|
-
],
|
|
38518
|
-
|
|
38519
|
-
|
|
38520
|
-
|
|
38521
|
-
|
|
38522
|
-
|
|
38523
|
-
|
|
38524
|
-
|
|
38525
|
-
|
|
38526
|
-
|
|
38527
|
-
|
|
38528
|
-
|
|
38529
|
-
|
|
38530
|
-
|
|
38531
|
-
|
|
38532
|
-
|
|
38533
|
-
|
|
38534
|
-
|
|
38535
|
-
|
|
38536
|
-
|
|
38537
|
-
|
|
38538
|
-
|
|
38539
|
-
|
|
38540
|
-
onClick
|
|
38541
|
-
|
|
38542
|
-
|
|
38543
|
-
|
|
38544
|
-
|
|
38545
|
-
|
|
38546
|
-
|
|
38547
|
-
|
|
38548
|
-
|
|
38549
|
-
|
|
38550
|
-
|
|
38551
|
-
|
|
38552
|
-
|
|
38553
|
-
|
|
38554
|
-
|
|
38555
|
-
|
|
38556
|
-
|
|
38557
|
-
|
|
38558
|
-
|
|
38559
|
-
|
|
38560
|
-
|
|
38561
|
-
|
|
38562
|
-
|
|
38563
|
-
|
|
38564
|
-
|
|
38565
|
-
onClick
|
|
38566
|
-
|
|
38567
|
-
|
|
38568
|
-
|
|
38569
|
-
|
|
38570
|
-
|
|
38571
|
-
|
|
38572
|
-
|
|
38573
|
-
|
|
38574
|
-
|
|
38575
|
-
|
|
38576
|
-
|
|
38577
|
-
|
|
38578
|
-
|
|
38579
|
-
|
|
38580
|
-
|
|
38581
|
-
|
|
38582
|
-
|
|
38583
|
-
|
|
38584
|
-
|
|
38585
|
-
|
|
38586
|
-
|
|
38587
|
-
|
|
38588
|
-
|
|
38589
|
-
|
|
38590
|
-
|
|
38591
|
-
|
|
38592
|
-
|
|
38593
|
-
|
|
38594
|
-
|
|
38595
|
-
|
|
38596
|
-
|
|
38597
|
-
|
|
38598
|
-
|
|
38599
|
-
|
|
38600
|
-
|
|
38601
|
-
|
|
38602
|
-
|
|
38603
|
-
|
|
38604
|
-
|
|
38605
|
-
|
|
38606
|
-
|
|
38607
|
-
|
|
38608
|
-
|
|
38609
|
-
|
|
38610
|
-
|
|
38611
|
-
|
|
38612
|
-
|
|
38613
|
-
|
|
38614
|
-
|
|
38615
|
-
|
|
38616
|
-
|
|
38617
|
-
|
|
38618
|
-
|
|
38619
|
-
|
|
38620
|
-
|
|
38621
|
-
|
|
38622
|
-
|
|
38623
|
-
|
|
38624
|
-
|
|
38625
|
-
|
|
38626
|
-
|
|
38572
|
+
]), 1032, ["row-class-name", "show-summary", "summary-method", "loading", "size", "stripe", "border", "height", "max-height", "show-header", "columns", "data", "onOnSortChange", "onOnCurrentChange", "highlight-row", "onOnRowDblclick", "onOnSelect", "onOnSelectCancel", "onOnSelectionChange", "onOnRowClick", "onOnColumnWidthResize"])
|
|
38573
|
+
]),
|
|
38574
|
+
_: 1
|
|
38575
|
+
})
|
|
38576
|
+
]),
|
|
38577
|
+
_: 1
|
|
38578
|
+
}, 8, ["span"]),
|
|
38579
|
+
createVNode(_component_Col, { span: "2" }, {
|
|
38580
|
+
default: withCtx(() => [
|
|
38581
|
+
createVNode(_component_Row, {
|
|
38582
|
+
type: "flex",
|
|
38583
|
+
justify: "center",
|
|
38584
|
+
align: "middle",
|
|
38585
|
+
style: { "padding": "5px" }
|
|
38586
|
+
}, {
|
|
38587
|
+
default: withCtx(() => [
|
|
38588
|
+
createVNode(_component_Tooltip, {
|
|
38589
|
+
content: _ctx.$t("\u6DFB\u52A0"),
|
|
38590
|
+
placement: "right"
|
|
38591
|
+
}, {
|
|
38592
|
+
default: withCtx(() => [
|
|
38593
|
+
createVNode(_component_Button, {
|
|
38594
|
+
type: "primary",
|
|
38595
|
+
size: "small",
|
|
38596
|
+
icon: "ios-arrow-forward",
|
|
38597
|
+
disabled: !_ctx.leftActive,
|
|
38598
|
+
onClick: _ctx.moveToRight
|
|
38599
|
+
}, null, 8, ["disabled", "onClick"])
|
|
38600
|
+
]),
|
|
38601
|
+
_: 1
|
|
38602
|
+
}, 8, ["content"])
|
|
38603
|
+
]),
|
|
38604
|
+
_: 1
|
|
38605
|
+
}),
|
|
38606
|
+
createVNode(_component_Row, {
|
|
38607
|
+
type: "flex",
|
|
38608
|
+
justify: "center",
|
|
38609
|
+
align: "middle",
|
|
38610
|
+
style: { "padding": "5px" }
|
|
38611
|
+
}, {
|
|
38612
|
+
default: withCtx(() => [
|
|
38613
|
+
createVNode(_component_Tooltip, {
|
|
38614
|
+
content: _ctx.$t("\u5220\u9664"),
|
|
38615
|
+
placement: "left"
|
|
38616
|
+
}, {
|
|
38617
|
+
default: withCtx(() => [
|
|
38618
|
+
createVNode(_component_Button, {
|
|
38619
|
+
type: "primary",
|
|
38620
|
+
size: "small",
|
|
38621
|
+
icon: "ios-arrow-back",
|
|
38622
|
+
disabled: !_ctx.rightActive,
|
|
38623
|
+
onClick: _ctx.moveToLeft
|
|
38624
|
+
}, null, 8, ["disabled", "onClick"])
|
|
38625
|
+
]),
|
|
38626
|
+
_: 1
|
|
38627
|
+
}, 8, ["content"])
|
|
38628
|
+
]),
|
|
38629
|
+
_: 1
|
|
38630
|
+
})
|
|
38631
|
+
]),
|
|
38632
|
+
_: 1
|
|
38633
|
+
}),
|
|
38634
|
+
createVNode(_component_Col, { span: _ctx.multiGridCol }, {
|
|
38635
|
+
default: withCtx(() => [
|
|
38636
|
+
createVNode(_component_Card, {
|
|
38637
|
+
padding: 0,
|
|
38638
|
+
bordered: "",
|
|
38639
|
+
"dis-hover": ""
|
|
38640
|
+
}, {
|
|
38641
|
+
title: withCtx(() => [
|
|
38642
|
+
createElementVNode("span", {
|
|
38643
|
+
textContent: toDisplayString$1(_ctx.myConfig.multiGridTitle)
|
|
38644
|
+
}, null, 8, _hoisted_5$e)
|
|
38645
|
+
]),
|
|
38646
|
+
default: withCtx(() => [
|
|
38647
|
+
createVNode(_component_Table, {
|
|
38648
|
+
ref: "multiSelectTable",
|
|
38649
|
+
"row-class-name": _ctx.myConfig.rowClassName,
|
|
38650
|
+
size: _ctx.myConfig.tableSize,
|
|
38651
|
+
stripe: _ctx.myConfig.showStripe,
|
|
38652
|
+
border: _ctx.myConfig.showBorder,
|
|
38653
|
+
height: _ctx.tableHeight,
|
|
38654
|
+
"max-height": _ctx.tableMaxHeight,
|
|
38655
|
+
"show-header": _ctx.myConfig.showHeader,
|
|
38656
|
+
columns: _ctx.multiTableColumns,
|
|
38657
|
+
data: _ctx.tempMultiSelectData,
|
|
38658
|
+
"highlight-row": _ctx.myConfig.highLightRow,
|
|
38659
|
+
onOnSelectionChange: _ctx.OnMultiSelectionChange
|
|
38660
|
+
}, createSlots({ _: 2 }, [
|
|
38661
|
+
renderList(_ctx.multiSoltTableColumns, (config2) => {
|
|
38662
|
+
return {
|
|
38663
|
+
name: config2.key,
|
|
38664
|
+
fn: withCtx(({ row, index }) => [
|
|
38665
|
+
createVNode(_component_ShowText, {
|
|
38666
|
+
label: _ctx.formatMulValue(index, config2, row),
|
|
38667
|
+
contentAlign: config2.contentAlign
|
|
38668
|
+
}, null, 8, ["label", "contentAlign"])
|
|
38669
|
+
])
|
|
38670
|
+
};
|
|
38671
|
+
})
|
|
38672
|
+
]), 1032, ["row-class-name", "size", "stripe", "border", "height", "max-height", "show-header", "columns", "data", "highlight-row", "onOnSelectionChange"])
|
|
38673
|
+
]),
|
|
38674
|
+
_: 1
|
|
38675
|
+
})
|
|
38676
|
+
]),
|
|
38677
|
+
_: 1
|
|
38678
|
+
}, 8, ["span"])
|
|
38679
|
+
]),
|
|
38680
|
+
_: 1
|
|
38681
|
+
}),
|
|
38682
|
+
createElementVNode("div", _hoisted_6$a, [
|
|
38683
|
+
_ctx.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
|
|
38684
|
+
createVNode(_component_Card, {
|
|
38685
|
+
bordered: false,
|
|
38686
|
+
padding: 0,
|
|
38687
|
+
"dis-hover": true,
|
|
38688
|
+
style: { "border-radius": "0px" }
|
|
38689
|
+
}, {
|
|
38690
|
+
default: withCtx(() => [
|
|
38691
|
+
createVNode(_component_Row, {
|
|
38692
|
+
type: "flex",
|
|
38693
|
+
justify: "end",
|
|
38694
|
+
style: { "padding-right": "10px" },
|
|
38695
|
+
gutter: 0
|
|
38696
|
+
}, {
|
|
38697
|
+
default: withCtx(() => [
|
|
38698
|
+
createVNode(_component_PageCustom, {
|
|
38699
|
+
modelValue: _ctx.culPage,
|
|
38700
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.culPage = $event),
|
|
38701
|
+
total: _ctx.myConfig.pageConfig.total_results,
|
|
38702
|
+
size: _ctx.myConfig.pageSize,
|
|
38703
|
+
current: _ctx.myConfig.pageConfig.page_no,
|
|
38704
|
+
"page-size": _ctx.myConfig.pageConfig.page_size,
|
|
38705
|
+
"page-size-opts": _ctx.myConfig.pageConfig.pageSizeList,
|
|
38706
|
+
onOnPageSizeChange: _ctx.changePageSize,
|
|
38707
|
+
onOnChange: _ctx.changePage,
|
|
38708
|
+
"show-total": _ctx.myConfig.pageShowTotal,
|
|
38709
|
+
"show-elevator": _ctx.myConfig.pageShowElevator,
|
|
38710
|
+
"show-sizer": _ctx.myConfig.pageShowSizer
|
|
38711
|
+
}, null, 8, ["modelValue", "total", "size", "current", "page-size", "page-size-opts", "onOnPageSizeChange", "onOnChange", "show-total", "show-elevator", "show-sizer"])
|
|
38712
|
+
]),
|
|
38713
|
+
_: 1
|
|
38714
|
+
})
|
|
38715
|
+
]),
|
|
38716
|
+
_: 1
|
|
38717
|
+
})
|
|
38718
|
+
])) : createCommentVNode("", true)
|
|
38719
|
+
], 512)
|
|
38720
|
+
], 64))
|
|
38627
38721
|
]);
|
|
38628
38722
|
}
|
|
38629
38723
|
var SimpleViewGrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$L]]);
|
|
@@ -49252,7 +49346,7 @@ const _sfc_main$t = {
|
|
|
49252
49346
|
},
|
|
49253
49347
|
reject() {
|
|
49254
49348
|
if (!this.idea) {
|
|
49255
|
-
this.alert(this.$t("\u610F\u89C1\u4E0D\u80FD\u4E3A\u7A7A")
|
|
49349
|
+
this.alert(this.$t("\u610F\u89C1\u4E0D\u80FD\u4E3A\u7A7A"));
|
|
49256
49350
|
return;
|
|
49257
49351
|
}
|
|
49258
49352
|
let para = {};
|
|
@@ -49687,7 +49781,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49687
49781
|
createElementVNode("span", {
|
|
49688
49782
|
textContent: toDisplayString$1($options.info)
|
|
49689
49783
|
}, null, 8, _hoisted_3$a),
|
|
49690
|
-
_cache[
|
|
49784
|
+
_cache[13] || (_cache[13] = createTextVNode(" :", -1)),
|
|
49691
49785
|
createElementVNode("span", _hoisted_4$8, toDisplayString$1($data.selectuserdata.length), 1),
|
|
49692
49786
|
createElementVNode("span", {
|
|
49693
49787
|
textContent: toDisplayString$1($options.info)
|
|
@@ -49897,7 +49991,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49897
49991
|
"class-name": "efutureapproval",
|
|
49898
49992
|
title: _ctx.$t("\u5DE5\u4F5C\u6D41"),
|
|
49899
49993
|
modelValue: $data.showDrawer,
|
|
49900
|
-
"onUpdate:modelValue": _cache[
|
|
49994
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => $data.showDrawer = $event),
|
|
49901
49995
|
width: 534
|
|
49902
49996
|
}, {
|
|
49903
49997
|
default: withCtx(() => [
|
|
@@ -49938,7 +50032,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
49938
50032
|
class: "log-list",
|
|
49939
50033
|
key: index
|
|
49940
50034
|
}, [
|
|
49941
|
-
_cache[
|
|
50035
|
+
_cache[14] || (_cache[14] = createElementVNode("div", { class: "line-wrap" }, null, -1)),
|
|
49942
50036
|
createElementVNode("div", _hoisted_18, [
|
|
49943
50037
|
item.mulflag === "N" ? (openBlock(), createElementBlock("span", _hoisted_19, toDisplayString$1(item.username), 1)) : (openBlock(), createBlock(_component_Icon, {
|
|
49944
50038
|
key: 1,
|
|
@@ -50092,7 +50186,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50092
50186
|
createVNode(_component_Col, { span: "2" }, {
|
|
50093
50187
|
default: withCtx(() => [
|
|
50094
50188
|
createElementVNode("span", _hoisted_35, toDisplayString$1($data.copy.length), 1),
|
|
50095
|
-
_cache[
|
|
50189
|
+
_cache[15] || (_cache[15] = createTextVNode()),
|
|
50096
50190
|
createElementVNode("span", null, toDisplayString$1(_ctx.$t("\u4EBA")), 1)
|
|
50097
50191
|
]),
|
|
50098
50192
|
_: 1
|
|
@@ -50165,7 +50259,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50165
50259
|
createVNode(_component_Col, { span: "2" }, {
|
|
50166
50260
|
default: withCtx(() => [
|
|
50167
50261
|
createElementVNode("span", _hoisted_37, toDisplayString$1($data.approvals.length), 1),
|
|
50168
|
-
_cache[
|
|
50262
|
+
_cache[16] || (_cache[16] = createTextVNode()),
|
|
50169
50263
|
createElementVNode("span", {
|
|
50170
50264
|
textContent: toDisplayString$1($options.info2)
|
|
50171
50265
|
}, null, 8, _hoisted_38)
|
|
@@ -50301,13 +50395,13 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50301
50395
|
default: withCtx(() => [
|
|
50302
50396
|
createVNode(_component_Button, {
|
|
50303
50397
|
customIcon: "iconfont icon-custom-reject",
|
|
50304
|
-
onClick:
|
|
50398
|
+
onClick: $options.reject
|
|
50305
50399
|
}, {
|
|
50306
50400
|
default: withCtx(() => [
|
|
50307
50401
|
createTextVNode(toDisplayString$1(_ctx.$t("\u9A73\u56DE")), 1)
|
|
50308
50402
|
]),
|
|
50309
50403
|
_: 1
|
|
50310
|
-
})
|
|
50404
|
+
}, 8, ["onClick"])
|
|
50311
50405
|
]),
|
|
50312
50406
|
_: 1
|
|
50313
50407
|
})) : createCommentVNode("", true),
|
|
@@ -50315,7 +50409,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50315
50409
|
default: withCtx(() => [
|
|
50316
50410
|
createVNode(_component_Button, {
|
|
50317
50411
|
customIcon: "iconfont icon-custom-approve",
|
|
50318
|
-
onClick: _cache[
|
|
50412
|
+
onClick: _cache[11] || (_cache[11] = ($event) => $options.comMethod($options.submitApprove, _ctx.$t("\u5BA1\u6279")))
|
|
50319
50413
|
}, {
|
|
50320
50414
|
default: withCtx(() => [
|
|
50321
50415
|
createTextVNode(toDisplayString$1(_ctx.$t("\u5BA1\u6279")), 1)
|
|
@@ -50334,7 +50428,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50334
50428
|
}, 8, ["title", "modelValue"])
|
|
50335
50429
|
]);
|
|
50336
50430
|
}
|
|
50337
|
-
var ApprovalBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$q], ["__scopeId", "data-v-
|
|
50431
|
+
var ApprovalBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$q], ["__scopeId", "data-v-014115fa"]]);
|
|
50338
50432
|
const _sfc_main$s = {
|
|
50339
50433
|
name: "moperlog",
|
|
50340
50434
|
data() {
|