ocpview-plus 1.3.4 → 1.3.6
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.
|
@@ -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.5";
|
|
457
457
|
const title = "ocpviewPlus";
|
|
458
458
|
const description = "A high quality Service UI components Library with Vue.js";
|
|
459
459
|
const homepage = "";
|
|
@@ -46569,7 +46569,8 @@ const _sfc_main$v = {
|
|
|
46569
46569
|
{ code: "D", name: "\u5220\u9664" }
|
|
46570
46570
|
],
|
|
46571
46571
|
visible: false,
|
|
46572
|
-
width: 100
|
|
46572
|
+
width: 100,
|
|
46573
|
+
readOnly: true
|
|
46573
46574
|
}, {
|
|
46574
46575
|
label: "\u9644\u4EF6\u7C7B\u578B",
|
|
46575
46576
|
name: "filememo",
|
|
@@ -46577,19 +46578,19 @@ const _sfc_main$v = {
|
|
|
46577
46578
|
dictkey: "CUSTFILETYPE",
|
|
46578
46579
|
codeWithName: false,
|
|
46579
46580
|
width: 300,
|
|
46581
|
+
visible: false,
|
|
46580
46582
|
readOnly: true
|
|
46581
46583
|
}, {
|
|
46582
46584
|
label: "\u9644\u4EF6\u7C7B\u578B",
|
|
46583
46585
|
name: "filemode",
|
|
46584
46586
|
type: "TextBox",
|
|
46585
46587
|
width: 300,
|
|
46586
|
-
visible: false,
|
|
46587
46588
|
readOnly: true
|
|
46588
46589
|
}, {
|
|
46589
46590
|
label: "\u6587\u4EF6\u540D\u79F0",
|
|
46590
46591
|
name: "filename",
|
|
46591
46592
|
type: "TextBox",
|
|
46592
|
-
|
|
46593
|
+
minWidth: 200,
|
|
46593
46594
|
readOnly: true
|
|
46594
46595
|
}, {
|
|
46595
46596
|
label: "\u6587\u4EF6\u5927\u5C0F",
|
|
@@ -46609,7 +46610,7 @@ const _sfc_main$v = {
|
|
|
46609
46610
|
key: "action",
|
|
46610
46611
|
align: "center",
|
|
46611
46612
|
render: this.actionRender,
|
|
46612
|
-
|
|
46613
|
+
width: 350
|
|
46613
46614
|
}]
|
|
46614
46615
|
},
|
|
46615
46616
|
loadFlag: false,
|
|
@@ -46652,6 +46653,11 @@ const _sfc_main$v = {
|
|
|
46652
46653
|
icon: "custom-filerecall",
|
|
46653
46654
|
name: "recall",
|
|
46654
46655
|
text: "\u64A4\u56DE"
|
|
46656
|
+
},
|
|
46657
|
+
{
|
|
46658
|
+
icon: "custom-fileupload",
|
|
46659
|
+
name: "reupFile",
|
|
46660
|
+
text: "\u53D8\u66F4"
|
|
46655
46661
|
}
|
|
46656
46662
|
]
|
|
46657
46663
|
};
|
|
@@ -46763,7 +46769,7 @@ const _sfc_main$v = {
|
|
|
46763
46769
|
if (this.myConfig.readOnly) {
|
|
46764
46770
|
del.readOnly = true;
|
|
46765
46771
|
}
|
|
46766
|
-
if (params.row.scenetype !== "0") {
|
|
46772
|
+
if (params.row.scenetype !== "0" && params.row.modflag !== "M") {
|
|
46767
46773
|
btnConfig.items.push(del);
|
|
46768
46774
|
}
|
|
46769
46775
|
} else {
|
|
@@ -46785,6 +46791,9 @@ const _sfc_main$v = {
|
|
|
46785
46791
|
if (params.row.modflag === "N") {
|
|
46786
46792
|
btnConfig.items.push(recall);
|
|
46787
46793
|
}
|
|
46794
|
+
if ((!params.row.filekey || params.row.filekey !== "") && params.row.modflag === "N") {
|
|
46795
|
+
btnConfig.items.push(this.$Method.copy(this.rowBtnData[5]));
|
|
46796
|
+
}
|
|
46788
46797
|
}
|
|
46789
46798
|
return h10("div", [
|
|
46790
46799
|
h10(resolveComponent("RowBtnToolbar"), {
|
|
@@ -46805,6 +46814,9 @@ const _sfc_main$v = {
|
|
|
46805
46814
|
if (val2.name === "recall") {
|
|
46806
46815
|
this.recall(params);
|
|
46807
46816
|
}
|
|
46817
|
+
if (val2.name === "reupFile") {
|
|
46818
|
+
this.reupFile(params);
|
|
46819
|
+
}
|
|
46808
46820
|
}
|
|
46809
46821
|
})
|
|
46810
46822
|
]);
|
|
@@ -46861,7 +46873,7 @@ const _sfc_main$v = {
|
|
|
46861
46873
|
return;
|
|
46862
46874
|
}
|
|
46863
46875
|
if (params.row.modflag === "I") {
|
|
46864
|
-
this.delCommon(params.row.filekey, "
|
|
46876
|
+
this.delCommon(params.row.filekey, "N");
|
|
46865
46877
|
this.$refs.grid.delRow(params.index);
|
|
46866
46878
|
}
|
|
46867
46879
|
if (params.row.modflag === "N") {
|
|
@@ -47080,6 +47092,28 @@ const _sfc_main$v = {
|
|
|
47080
47092
|
return check;
|
|
47081
47093
|
},
|
|
47082
47094
|
editGrid(params) {
|
|
47095
|
+
if (this.myConfig.beforeUpload) {
|
|
47096
|
+
this.myConfig.beforeUpload();
|
|
47097
|
+
}
|
|
47098
|
+
if (!this.billno) {
|
|
47099
|
+
this.alert("\u5355\u636E\u4E3B\u5065\u4FE1\u606F\u4E3A\u7A7A,\u4E0D\u5141\u8BB8\u4E0A\u4F20");
|
|
47100
|
+
return;
|
|
47101
|
+
}
|
|
47102
|
+
if (this.checkIsEdit()) {
|
|
47103
|
+
this.$nextTick(() => {
|
|
47104
|
+
this.$refs.billupload.clearFiles();
|
|
47105
|
+
});
|
|
47106
|
+
if (this.myConfig.readOnly) {
|
|
47107
|
+
this.setReadOnly(false);
|
|
47108
|
+
}
|
|
47109
|
+
this.filememo = params.row.filememo;
|
|
47110
|
+
document.querySelector("#billiviewUp input").click();
|
|
47111
|
+
}
|
|
47112
|
+
},
|
|
47113
|
+
reupFile(params) {
|
|
47114
|
+
if (this.myConfig.beforeUpload) {
|
|
47115
|
+
this.myConfig.beforeUpload();
|
|
47116
|
+
}
|
|
47083
47117
|
if (!this.billno) {
|
|
47084
47118
|
this.alert("\u5355\u636E\u4E3B\u5065\u4FE1\u606F\u4E3A\u7A7A,\u4E0D\u5141\u8BB8\u4E0A\u4F20");
|
|
47085
47119
|
return;
|
|
@@ -47448,13 +47482,6 @@ const _sfc_main$u = {
|
|
|
47448
47482
|
let billmoduleid = data.billmoduleid;
|
|
47449
47483
|
this.$refs.detail_appenndix[0].setData(billno, billmoduleid);
|
|
47450
47484
|
}
|
|
47451
|
-
} else if (this.billAppendixConfig.showAppendix2) {
|
|
47452
|
-
if (this.$refs.detail_appenndix2 && this.$refs.detail_appenndix2[0]) {
|
|
47453
|
-
let data = this.getData();
|
|
47454
|
-
let billno = data[this.billAppendixConfig.appendixKey];
|
|
47455
|
-
let billmoduleid = data.billmoduleid;
|
|
47456
|
-
this.$refs.detail_appenndix2[0].setData(billno, billmoduleid);
|
|
47457
|
-
}
|
|
47458
47485
|
}
|
|
47459
47486
|
},
|
|
47460
47487
|
doAction(obj) {
|