qk-pc-ui 4.3.2 → 4.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/qk-pc-ui.css +1 -1
- package/dist/qk-pc-ui.mjs +68 -64
- package/dist/qk-pc-ui.umd.js +28 -28
- package/package.json +1 -1
package/dist/qk-pc-ui.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.tmain[data-v-99560092]{display:flex;justify-content:space-between}.havfilter[data-v-d1493ac1]{color:#5af;fill:#5af}.myicon[data-v-d1493ac1]{width:21px;height:21px;padding-left:3px}.myiframe[data-v-b3676893]{width:100%;height:calc(100% - 10px);padding:0;margin:0;border:none}.myicon[data-v-cd543e91],.myicon[data-v-8cf23a9a]{width:21px;height:21px;padding-left:3px}.filtercheck .el-checkbox{height:18px}.mt[data-v-0837aa85]{height:100%}.qktab[data-v-0837aa85]{height:100%;width:100%}.tabmain[data-v-0837aa85]{height:100%;width:100%;padding:5px;box-sizing:border-box}.example-showcase .el-dropdown-link[data-v-0837aa85]{cursor:pointer;color:var(--el-color-primary);display:flex;align-items:center}.havfilter[data-v-0837aa85]{color:#5af;fill:#5af}.filtercheck[data-v-0837aa85]{padding:10px 0}.myform em{color:#a1a1a1;display:inline-block;margin-left:20px}.pagemain[data-v-935ee8f0]{height:100%;width:100%;padding:10px;box-sizing:border-box;display:flex;flex-direction:column}.tool[data-v-935ee8f0]{margin-top:17px;box-sizing:border-box}.dataList[data-v-935ee8f0]{flex-grow:1;overflow:hidden}.myform[data-v-935ee8f0]{max-height:78vh;overflow:auto}.myform .el-form-item__content em{color:#a1a1a1;display:inline-block;margin-left:20px}.pagemain[data-v-c70e6865]{height:100%;width:100%;padding:10px;box-sizing:border-box;display:flex;flex-direction:column}.filter[data-v-c70e6865]{height:35px}.tool[data-v-c70e6865]{margin-top:17px;height:37px}.dataList[data-v-c70e6865]{flex-grow:1;overflow:auto}.myform[data-v-c70e6865]{max-height:78vh;overflow:auto}.total[data-v-c70e6865]{padding:10px 0}.total-item[data-v-c70e6865]{display:inline-flex;padding:18px;min-width:200px;border:1px solid #e2e2e2;margin-right:10px;border-radius:5px;margin-bottom:5px;justify-content:center}.mytime .el-date-editor{top:3px}.mytime[data-v-a4141bcd]{display:inline-flex;position:relative}.w-e-toolbar,.w-e-text-container{z-index:auto!important}.w-e-text-container{flex-grow:1}.richText{height:100%;width:100%;display:flex;flex-direction:column}.avatar-uploader .avatar[data-v-
|
|
1
|
+
.tmain[data-v-99560092]{display:flex;justify-content:space-between}.havfilter[data-v-d1493ac1]{color:#5af;fill:#5af}.myicon[data-v-d1493ac1]{width:21px;height:21px;padding-left:3px}.myiframe[data-v-b3676893]{width:100%;height:calc(100% - 10px);padding:0;margin:0;border:none}.myicon[data-v-cd543e91],.myicon[data-v-8cf23a9a]{width:21px;height:21px;padding-left:3px}.filtercheck .el-checkbox{height:18px}.mt[data-v-0837aa85]{height:100%}.qktab[data-v-0837aa85]{height:100%;width:100%}.tabmain[data-v-0837aa85]{height:100%;width:100%;padding:5px;box-sizing:border-box}.example-showcase .el-dropdown-link[data-v-0837aa85]{cursor:pointer;color:var(--el-color-primary);display:flex;align-items:center}.havfilter[data-v-0837aa85]{color:#5af;fill:#5af}.filtercheck[data-v-0837aa85]{padding:10px 0}.myform em{color:#a1a1a1;display:inline-block;margin-left:20px}.pagemain[data-v-935ee8f0]{height:100%;width:100%;padding:10px;box-sizing:border-box;display:flex;flex-direction:column}.tool[data-v-935ee8f0]{margin-top:17px;box-sizing:border-box}.dataList[data-v-935ee8f0]{flex-grow:1;overflow:hidden}.myform[data-v-935ee8f0]{max-height:78vh;overflow:auto}.myform .el-form-item__content em{color:#a1a1a1;display:inline-block;margin-left:20px}.pagemain[data-v-c70e6865]{height:100%;width:100%;padding:10px;box-sizing:border-box;display:flex;flex-direction:column}.filter[data-v-c70e6865]{height:35px}.tool[data-v-c70e6865]{margin-top:17px;height:37px}.dataList[data-v-c70e6865]{flex-grow:1;overflow:auto}.myform[data-v-c70e6865]{max-height:78vh;overflow:auto}.total[data-v-c70e6865]{padding:10px 0}.total-item[data-v-c70e6865]{display:inline-flex;padding:18px;min-width:200px;border:1px solid #e2e2e2;margin-right:10px;border-radius:5px;margin-bottom:5px;justify-content:center}.mytime .el-date-editor{top:3px}.mytime[data-v-a4141bcd]{display:inline-flex;position:relative}.w-e-toolbar,.w-e-text-container{z-index:auto!important}.w-e-text-container{flex-grow:1}.richText{height:100%;width:100%;display:flex;flex-direction:column}.avatar-uploader .avatar[data-v-36783a12]{height:100px;display:block}.avatar-uploader .avatar[data-v-bdc179b4]{height:100px;display:block}.avatar-uploader .el-upload{border:1px dashed var(--el-border-color);border-radius:6px;cursor:pointer;position:relative;overflow:hidden;transition:var(--el-transition-duration-fast)}.avatar-uploader .el-upload:hover{border-color:var(--el-color-primary)}.el-icon.avatar-uploader-icon{font-size:28px;color:#8c939d;height:100px;width:100px;text-align:center}.qrCodeWrap[data-v-1fdfee7a]{display:inline-block;background-color:#fff;width:95%;height:98%;overflow:hidden;border-radius:20px;border:1px solid #ccc}.qrWrap[data-v-1fdfee7a]{--background-image: url(//proxy.ip239.com/saas/images/qrblack.jpg);background-repeat:no-repeat;background-size:100% 100%;color:#fff;padding:80px 0;text-align:center}.qrCode[data-v-1fdfee7a]{width:250px;height:250px;border-radius:10px;overflow:hidden;margin:0 auto}.instructionsbtn[data-v-1fdfee7a]{text-align:center;padding:20px 0}.instructionsWrap[data-v-1fdfee7a]{text-align:center;padding-top:50px;font:30px/40px 宋体}.wfbox[data-v-3045f4e5]{display:flex;justify-content:space-between;align-items:flex-end;width:50px;height:25px;box-sizing:border-box;border:1px solid #e2e2e2;padding:2px}.wf[data-v-3045f4e5]{background-color:#5af;width:5px;height:100%;box-sizing:border-box}.nwf[data-v-3045f4e5]{border:1px solid #e2e2e2;width:5px;height:100%;box-sizing:border-box;background-color:#e2e2e2}.wf1[data-v-3045f4e5]{height:50%}.wf2[data-v-3045f4e5]{height:60%}.wf3[data-v-3045f4e5]{height:70%}.wf4[data-v-3045f4e5]{height:80%}.wf5[data-v-3045f4e5]{height:90%}.wf6[data-v-3045f4e5]{height:100%}.status[data-v-3045f4e5]{font-weight:700;line-height:25px}.amount[data-v-eb7f1125]{color:#f50;font-weight:700}.t[data-v-eb7f1125]{text-align:center}.myrow[data-v-588d1ec5]{display:flex;font-size:1rem;padding-bottom:1rem}.tlab[data-v-588d1ec5]{text-align:right;color:gray;width:170px}.tval[data-v-588d1ec5]{color:#0094ff}td[data-v-588d1ec5],textarea[data-v-588d1ec5]{padding:10px 0;color:#0094ff}.desc[data-v-588d1ec5]{width:400px;border:none;outline:none;font-size:1em;font-weight:700;padding:0;margin:0}.el-message{z-index:2400}.icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.icon-list[data-v-5c41495a]{display:grid;grid-template-columns:repeat(auto-fill,100px);height:80vh;width:100%;overflow:auto}.icon-item[data-v-5c41495a]{width:100px;height:100px;text-align:center}i[data-v-5c41495a]{font-size:60px;line-height:normal}.mytag[data-v-1c303808]{margin:0 4px}.myradio .el-radio-button__inner{display:flex;align-items:center;height:37px}.demo-tabs[data-v-593b57e9]{height:100%;width:100%}.demo-tabs .el-tabs__content{height:calc(100% - 45px)}.el-tab-pane{height:100%}
|
package/dist/qk-pc-ui.mjs
CHANGED
|
@@ -1698,23 +1698,23 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1698
1698
|
}
|
|
1699
1699
|
return g;
|
|
1700
1700
|
}
|
|
1701
|
-
var
|
|
1701
|
+
var ye;
|
|
1702
1702
|
function I(x) {
|
|
1703
1703
|
try {
|
|
1704
1704
|
var v = x.InflateRaw, g = new v();
|
|
1705
|
-
if (g._processChunk(new Uint8Array([3, 0]), g._finishFlushFlag), g.bytesRead)
|
|
1705
|
+
if (g._processChunk(new Uint8Array([3, 0]), g._finishFlushFlag), g.bytesRead) ye = x;
|
|
1706
1706
|
else throw new Error("zlib does not expose bytesRead");
|
|
1707
1707
|
} catch (w) {
|
|
1708
1708
|
console.error("cannot use native zlib: " + (w.message || w));
|
|
1709
1709
|
}
|
|
1710
1710
|
}
|
|
1711
1711
|
function W(x, v) {
|
|
1712
|
-
if (!
|
|
1713
|
-
var g =
|
|
1712
|
+
if (!ye) return Ke(x, v);
|
|
1713
|
+
var g = ye.InflateRaw, w = new g(), y = w._processChunk(x.slice(x.l), w._finishFlushFlag);
|
|
1714
1714
|
return x.l += w.bytesRead, y;
|
|
1715
1715
|
}
|
|
1716
1716
|
function b(x) {
|
|
1717
|
-
return
|
|
1717
|
+
return ye ? ye.deflateRawSync(x) : We(x);
|
|
1718
1718
|
}
|
|
1719
1719
|
var B = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], K = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258], ae = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577];
|
|
1720
1720
|
function ne(x) {
|
|
@@ -1746,7 +1746,7 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1746
1746
|
var g = v & 7, w = v >>> 3;
|
|
1747
1747
|
return (x[w] | (g <= 1 ? 0 : x[w + 1] << 8)) >>> g & 127;
|
|
1748
1748
|
}
|
|
1749
|
-
function
|
|
1749
|
+
function Ee(x, v, g) {
|
|
1750
1750
|
var w = v & 7, y = v >>> 3, T = (1 << g) - 1, M = x[y] >>> w;
|
|
1751
1751
|
return g < 8 - w || (M |= x[y + 1] << 8 - w, g < 16 - w) || (M |= x[y + 2] << 16 - w, g < 24 - w) || (M |= x[y + 3] << 24 - w), M & T;
|
|
1752
1752
|
}
|
|
@@ -1786,7 +1786,7 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1786
1786
|
for (var v = new Array(x), g = 0; g < x; ++g) v[g] = 0;
|
|
1787
1787
|
return v;
|
|
1788
1788
|
}
|
|
1789
|
-
function
|
|
1789
|
+
function Le(x, v, g) {
|
|
1790
1790
|
var w = 1, y = 0, T = 0, M = 0, G = 0, O = x.length, V = re ? new Uint16Array(32) : Te(32);
|
|
1791
1791
|
for (T = 0; T < 32; ++T) V[T] = 0;
|
|
1792
1792
|
for (T = O; T < g; ++T) x[T] = 0;
|
|
@@ -1811,13 +1811,13 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1811
1811
|
}
|
|
1812
1812
|
(function() {
|
|
1813
1813
|
for (var x = [], v = 0; v < 32; v++) x.push(5);
|
|
1814
|
-
|
|
1814
|
+
Le(x, Me, 32);
|
|
1815
1815
|
var g = [];
|
|
1816
1816
|
for (v = 0; v <= 143; v++) g.push(8);
|
|
1817
1817
|
for (; v <= 255; v++) g.push(9);
|
|
1818
1818
|
for (; v <= 279; v++) g.push(7);
|
|
1819
1819
|
for (; v <= 287; v++) g.push(8);
|
|
1820
|
-
|
|
1820
|
+
Le(g, Re, 288);
|
|
1821
1821
|
})();
|
|
1822
1822
|
var qe = /* @__PURE__ */ function() {
|
|
1823
1823
|
for (var v = re ? new Uint8Array(32768) : [], g = 0, w = 0; g < ae.length - 1; ++g)
|
|
@@ -1913,7 +1913,7 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1913
1913
|
var he = se.slice(0, g), _e = se.slice(g);
|
|
1914
1914
|
for (q = g; q < 286; ++q) he[q] = 0;
|
|
1915
1915
|
for (q = w; q < 30; ++q) _e[q] = 0;
|
|
1916
|
-
return ze =
|
|
1916
|
+
return ze = Le(he, Xe, 286), je = Le(_e, He, 30), v;
|
|
1917
1917
|
}
|
|
1918
1918
|
function Qe(x, v) {
|
|
1919
1919
|
if (x[0] == 3 && !(x[1] & 3))
|
|
@@ -1931,7 +1931,7 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1931
1931
|
}
|
|
1932
1932
|
for (; ; ) {
|
|
1933
1933
|
!v && M < T + 32767 && (y = Oe(y, T + 32767), M = y.length);
|
|
1934
|
-
var U =
|
|
1934
|
+
var U = Ee(x, g, G), Y = w >>> 1 == 1 ? Re[U] : Xe[U];
|
|
1935
1935
|
if (g += Y & 15, Y >>>= 4, (Y >>> 8 & 255) === 0) y[T++] = Y;
|
|
1936
1936
|
else {
|
|
1937
1937
|
if (Y == 256) break;
|
|
@@ -1939,9 +1939,9 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
1939
1939
|
var q = Y < 8 ? 0 : Y - 4 >> 2;
|
|
1940
1940
|
q > 5 && (q = 0);
|
|
1941
1941
|
var ee = T + K[Y];
|
|
1942
|
-
q > 0 && (ee +=
|
|
1942
|
+
q > 0 && (ee += Ee(x, g, q), g += q), U = Ee(x, g, O), Y = w >>> 1 == 1 ? Me[U] : He[U], g += Y & 15, Y >>>= 4;
|
|
1943
1943
|
var J = Y < 4 ? 0 : Y - 2 >> 1, Q = ae[Y];
|
|
1944
|
-
for (J > 0 && (Q +=
|
|
1944
|
+
for (J > 0 && (Q += Ee(x, g, J), g += J), !v && M < ee && (y = Oe(y, ee + 100), M = y.length); T < ee; )
|
|
1945
1945
|
y[T] = y[T - Q], ++T;
|
|
1946
1946
|
}
|
|
1947
1947
|
}
|
|
@@ -2040,7 +2040,7 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2040
2040
|
}
|
|
2041
2041
|
return T = new_buf(22), T.write_shift(4, 101010256), T.write_shift(2, 0), T.write_shift(2, 0), T.write_shift(2, Y), T.write_shift(2, Y), T.write_shift(4, se), T.write_shift(4, U), T.write_shift(2, 0), bconcat([bconcat(w), bconcat(y), T]);
|
|
2042
2042
|
}
|
|
2043
|
-
var
|
|
2043
|
+
var Pe = {
|
|
2044
2044
|
htm: "text/html",
|
|
2045
2045
|
xml: "text/xml",
|
|
2046
2046
|
gif: "image/gif",
|
|
@@ -2053,7 +2053,7 @@ var CRC32 = /* @__PURE__ */ function() {
|
|
|
2053
2053
|
function rt(x, v) {
|
|
2054
2054
|
if (x.ctype) return x.ctype;
|
|
2055
2055
|
var g = x.name || "", w = g.match(/\.([^\.]+)$/);
|
|
2056
|
-
return w &&
|
|
2056
|
+
return w && Pe[w[1]] || v && (w = (g = v).match(/[\.\\]([^\.\\])+$/), w && Pe[w[1]]) ? Pe[w[1]] : "application/octet-stream";
|
|
2057
2057
|
}
|
|
2058
2058
|
function at(x) {
|
|
2059
2059
|
for (var v = Base64_encode(x), g = [], w = 0; w < v.length; w += 76) g.push(v.slice(w, w + 76));
|
|
@@ -4874,7 +4874,7 @@ var DBF = /* @__PURE__ */ function() {
|
|
|
4874
4874
|
j[1].charAt(0) == "P" && F.push(z.slice(3).replace(/;;/g, ";"));
|
|
4875
4875
|
break;
|
|
4876
4876
|
case "C":
|
|
4877
|
-
var me = !1, de = !1, xe = !1, ce = !1, we = -1,
|
|
4877
|
+
var me = !1, de = !1, xe = !1, ce = !1, we = -1, ye = -1;
|
|
4878
4878
|
for (N = 1; N < j.length; ++N) switch (j[N].charAt(0)) {
|
|
4879
4879
|
case "A":
|
|
4880
4880
|
break;
|
|
@@ -4903,16 +4903,16 @@ var DBF = /* @__PURE__ */ function() {
|
|
|
4903
4903
|
we = parseInt(j[N].slice(1)) - 1;
|
|
4904
4904
|
break;
|
|
4905
4905
|
case "C":
|
|
4906
|
-
|
|
4906
|
+
ye = parseInt(j[N].slice(1)) - 1;
|
|
4907
4907
|
break;
|
|
4908
4908
|
default:
|
|
4909
4909
|
if (u && u.WTF) throw new Error("SYLK bad record " + z);
|
|
4910
4910
|
}
|
|
4911
4911
|
if (me && (A[d][m] && A[d][m].length == 2 ? A[d][m][0] = ie : A[d][m] = ie, R = null), xe) {
|
|
4912
4912
|
if (ce) throw new Error("SYLK shared formula cannot have own formula");
|
|
4913
|
-
var W = we > -1 && A[we][
|
|
4913
|
+
var W = we > -1 && A[we][ye];
|
|
4914
4914
|
if (!W || !W[1]) throw new Error("SYLK shared formula cannot find base");
|
|
4915
|
-
A[d][m][1] = shift_formula_str(W[1], { r: d - we, c: m -
|
|
4915
|
+
A[d][m][1] = shift_formula_str(W[1], { r: d - we, c: m - ye });
|
|
4916
4916
|
}
|
|
4917
4917
|
break;
|
|
4918
4918
|
case "F":
|
|
@@ -5391,7 +5391,7 @@ var DBF = /* @__PURE__ */ function() {
|
|
|
5391
5391
|
if (I[2] == 0 && (I[3] == 8 || I[3] == 9) && I.length >= 16 && I[14] == 5 && I[15] === 108)
|
|
5392
5392
|
throw new Error("Unsupported Works 3 for Mac file");
|
|
5393
5393
|
if (I[2] == 2)
|
|
5394
|
-
b.Enum = we, e(I, function(te,
|
|
5394
|
+
b.Enum = we, e(I, function(te, Ee, Ce) {
|
|
5395
5395
|
switch (Ce) {
|
|
5396
5396
|
case 0:
|
|
5397
5397
|
b.vers = te, te >= 4096 && (b.qpro = !0);
|
|
@@ -5429,7 +5429,7 @@ var DBF = /* @__PURE__ */ function() {
|
|
|
5429
5429
|
}
|
|
5430
5430
|
}, b);
|
|
5431
5431
|
else if (I[2] == 26 || I[2] == 14)
|
|
5432
|
-
b.Enum =
|
|
5432
|
+
b.Enum = ye, I[2] == 14 && (b.qpro = !0, I.l = 0), e(I, function(te, Ee, Ce) {
|
|
5433
5433
|
switch (Ce) {
|
|
5434
5434
|
case 204:
|
|
5435
5435
|
K = te;
|
|
@@ -5497,12 +5497,12 @@ var DBF = /* @__PURE__ */ function() {
|
|
|
5497
5497
|
for (var Z = safe_decode_range(re["!ref"]), ue = Array.isArray(re), oe = [], ve = Math.min(Z.e.r, 8191), fe = Z.s.r; fe <= ve; ++fe)
|
|
5498
5498
|
for (var Se = encode_row(fe), pe = Z.s.c; pe <= Z.e.c; ++pe) {
|
|
5499
5499
|
fe === Z.s.r && (oe[pe] = encode_col(pe));
|
|
5500
|
-
var te = oe[pe] + Se,
|
|
5501
|
-
if (!(!
|
|
5502
|
-
if (
|
|
5503
|
-
write_biff_rec(B, 23, X(fe, pe, ne,
|
|
5500
|
+
var te = oe[pe] + Se, Ee = ue ? (re[fe] || [])[pe] : re[te];
|
|
5501
|
+
if (!(!Ee || Ee.t == "z"))
|
|
5502
|
+
if (Ee.t == "n")
|
|
5503
|
+
write_biff_rec(B, 23, X(fe, pe, ne, Ee.v));
|
|
5504
5504
|
else {
|
|
5505
|
-
var Ce = format_cell(
|
|
5505
|
+
var Ce = format_cell(Ee);
|
|
5506
5506
|
write_biff_rec(B, 22, S(fe, pe, ne, Ce.slice(0, 239)));
|
|
5507
5507
|
}
|
|
5508
5508
|
}
|
|
@@ -5944,7 +5944,7 @@ var DBF = /* @__PURE__ */ function() {
|
|
|
5944
5944
|
222: { n: "SHEETNAMELP", f: me },
|
|
5945
5945
|
/*::[*/
|
|
5946
5946
|
65535: { n: "" }
|
|
5947
|
-
},
|
|
5947
|
+
}, ye = {
|
|
5948
5948
|
/*::[*/
|
|
5949
5949
|
0: { n: "BOF" },
|
|
5950
5950
|
/*::[*/
|
|
@@ -15085,7 +15085,7 @@ function write_numbers_iwa(e, r) {
|
|
|
15085
15085
|
C[4][0].data = write_shallow(X);
|
|
15086
15086
|
}
|
|
15087
15087
|
u.messages[0].data = write_shallow(C);
|
|
15088
|
-
var
|
|
15088
|
+
var ye = write_iwa_file(h), I = compress_iwa_file(ye);
|
|
15089
15089
|
return _.content = I, _.size = _.content.length, f;
|
|
15090
15090
|
}
|
|
15091
15091
|
function fix_opts_func(e) {
|
|
@@ -17448,8 +17448,9 @@ const _hoisted_1$c = { style: { width: "100%", height: "100%", border: "1px soli
|
|
|
17448
17448
|
height: { type: String, default: "100px" },
|
|
17449
17449
|
isImage: { type: Boolean, default: !0 },
|
|
17450
17450
|
headPic: { type: Boolean, default: !1 },
|
|
17451
|
-
timeOut: { type: [Number, String], default: 3e4 }
|
|
17451
|
+
timeOut: { type: [Number, String], default: 3e4 },
|
|
17452
17452
|
// 30秒超时
|
|
17453
|
+
isNoZip: { type: Boolean, default: !1 }
|
|
17453
17454
|
}, {
|
|
17454
17455
|
modelValue: {},
|
|
17455
17456
|
modelModifiers: {}
|
|
@@ -17458,12 +17459,9 @@ const _hoisted_1$c = { style: { width: "100%", height: "100%", border: "1px soli
|
|
|
17458
17459
|
setup(e, { emit: r }) {
|
|
17459
17460
|
const t = e, a = useModel(e, "modelValue"), n = reactive({
|
|
17460
17461
|
isVisible: !1,
|
|
17461
|
-
picUrl: ""
|
|
17462
|
-
headers: {
|
|
17463
|
-
Token: sessionStorage.getItem("Token")
|
|
17464
|
-
}
|
|
17462
|
+
picUrl: ""
|
|
17465
17463
|
}), i = r, l = computed({
|
|
17466
|
-
get: () =>
|
|
17464
|
+
get: () => `http://npic.ip239.com/ApiHandler.ashx?Action=${t.headPic ? "UploadHeadPic" : "UploadFile"}&Token=${sessionStorage.getItem("Token")}&IsNoZip=${t.isNoZip ? "1" : "0"}`
|
|
17467
17465
|
}), s = (u) => new Promise((p) => {
|
|
17468
17466
|
const d = new Image();
|
|
17469
17467
|
d.onload = () => p(!0), d.onerror = () => p(!1), d.src = u;
|
|
@@ -17475,6 +17473,7 @@ const _hoisted_1$c = { style: { width: "100%", height: "100%", border: "1px soli
|
|
|
17475
17473
|
FileData: u,
|
|
17476
17474
|
FileName: "头像.jpg",
|
|
17477
17475
|
FileType: "jpg",
|
|
17476
|
+
IsNoZip: t.isNoZip ? "1" : "0",
|
|
17478
17477
|
Token: sessionStorage.getItem("Token")
|
|
17479
17478
|
},
|
|
17480
17479
|
t.timeOut * 1
|
|
@@ -17597,15 +17596,16 @@ ${p.message || p.resultcontent}\r
|
|
|
17597
17596
|
}, 8, ["modelValue"])
|
|
17598
17597
|
]));
|
|
17599
17598
|
}
|
|
17600
|
-
}, OnePicUpload = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
17599
|
+
}, OnePicUpload = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-36783a12"]]), _hoisted_1$a = ["src"], _sfc_main$e = {
|
|
17601
17600
|
__name: "MultipleUploadPic",
|
|
17602
17601
|
props: /* @__PURE__ */ mergeModels({
|
|
17603
17602
|
height: { type: String, default: "100px" },
|
|
17604
17603
|
isImage: { type: Boolean, default: !1 },
|
|
17605
17604
|
headPic: { type: Boolean, default: !1 },
|
|
17606
17605
|
splitSymbol: { type: String, default: "|" },
|
|
17607
|
-
timeOut: { type: Number, default: 1e4 }
|
|
17606
|
+
timeOut: { type: Number, default: 1e4 },
|
|
17608
17607
|
// 10秒超时
|
|
17608
|
+
isNoZip: { type: Boolean, default: !1 }
|
|
17609
17609
|
}, {
|
|
17610
17610
|
modelValue: {},
|
|
17611
17611
|
modelModifiers: {}
|
|
@@ -17614,43 +17614,44 @@ ${p.message || p.resultcontent}\r
|
|
|
17614
17614
|
setup(e, { emit: r }) {
|
|
17615
17615
|
const t = useModel(e, "modelValue"), a = e, n = reactive({
|
|
17616
17616
|
fileArray: [],
|
|
17617
|
-
uploadPic: "http://npic.ip239.com/ApiHandler.ashx?Action=UploadFile&Token=" + sessionStorage.getItem("Token"),
|
|
17618
17617
|
isVisible: !1,
|
|
17619
17618
|
picUrl: ""
|
|
17620
|
-
}), i =
|
|
17621
|
-
|
|
17619
|
+
}), i = computed({
|
|
17620
|
+
get: () => `http://npic.ip239.com/ApiHandler.ashx?Action=${a.headPic ? "UploadHeadPic" : "UploadFile"}&Token=${sessionStorage.getItem("Token")}&IsNoZip=${a.isNoZip ? "1" : "0"}`
|
|
17621
|
+
}), l = r, s = () => {
|
|
17622
|
+
t.value && (typeof t.value == "string" ? n.fileArray = t.value.split(a.splitSymbol).filter((_) => _).Select((_, h) => ({ name: `图${h}`, url: _ })) : (n.fileArray = [], t.value.forEach((_, h) => n.fileArray.push({ name: `图${h}`, url: _ }))));
|
|
17622
17623
|
};
|
|
17623
17624
|
watch(
|
|
17624
17625
|
() => t.value,
|
|
17625
|
-
(
|
|
17626
|
-
|
|
17626
|
+
(_) => {
|
|
17627
|
+
s();
|
|
17627
17628
|
}
|
|
17628
17629
|
), onMounted(() => {
|
|
17629
|
-
|
|
17630
|
+
s();
|
|
17630
17631
|
});
|
|
17631
|
-
const
|
|
17632
|
-
n.isVisible = !0, n.picUrl =
|
|
17633
|
-
},
|
|
17634
|
-
let
|
|
17635
|
-
typeof t.value == "string" ? t.value =
|
|
17636
|
-
},
|
|
17637
|
-
if (
|
|
17638
|
-
return ElMessage.error(L("文件上传失败") + ":" +
|
|
17639
|
-
if (n.fileArray.Exists((
|
|
17640
|
-
return n.fileArray = n.fileArray.Where((
|
|
17641
|
-
let
|
|
17642
|
-
|
|
17632
|
+
const o = (_) => {
|
|
17633
|
+
n.isVisible = !0, n.picUrl = _.url;
|
|
17634
|
+
}, f = (_, h) => {
|
|
17635
|
+
let u = _.url, p = n.fileArray.filter((d) => d.url != u);
|
|
17636
|
+
typeof t.value == "string" ? t.value = p.Select((d) => d.url).join(a.splitSymbol) : t.value = p.Select((d) => d.url), l("change");
|
|
17637
|
+
}, c = (_, h, u) => {
|
|
17638
|
+
if (_.resultcode != "200")
|
|
17639
|
+
return ElMessage.error(L("文件上传失败") + ":" + _.resultcontent);
|
|
17640
|
+
if (n.fileArray.Exists((d) => d.url == _.data))
|
|
17641
|
+
return n.fileArray = n.fileArray.Where((d) => !d.response), ElMessage.error(L("文件已存在"));
|
|
17642
|
+
let p = n.fileArray.Where((d) => !d.response).Select((d) => d.url);
|
|
17643
|
+
p.push(_.data), typeof t.value == "string" ? t.value = p.join(a.splitSymbol) : t.value = p, l("change");
|
|
17643
17644
|
};
|
|
17644
|
-
return (
|
|
17645
|
+
return (_, h) => (openBlock(), createElementBlock("div", null, [
|
|
17645
17646
|
createVNode(unref(ElUpload), {
|
|
17646
17647
|
"file-list": n.fileArray,
|
|
17647
|
-
"onUpdate:fileList":
|
|
17648
|
-
action:
|
|
17648
|
+
"onUpdate:fileList": h[0] || (h[0] = (u) => n.fileArray = u),
|
|
17649
|
+
action: i.value,
|
|
17649
17650
|
class: "avatar-uploader",
|
|
17650
17651
|
"list-type": "picture-card",
|
|
17651
|
-
"on-success":
|
|
17652
|
-
"on-remove":
|
|
17653
|
-
"on-preview":
|
|
17652
|
+
"on-success": c,
|
|
17653
|
+
"on-remove": f,
|
|
17654
|
+
"on-preview": o
|
|
17654
17655
|
}, {
|
|
17655
17656
|
default: withCtx(() => [
|
|
17656
17657
|
createVNode(unref(ElIcon), { class: "avatar-uploader-icon" }, {
|
|
@@ -17664,7 +17665,7 @@ ${p.message || p.resultcontent}\r
|
|
|
17664
17665
|
}, 8, ["file-list", "action"]),
|
|
17665
17666
|
createVNode(unref(ElDialog), {
|
|
17666
17667
|
modelValue: n.isVisible,
|
|
17667
|
-
"onUpdate:modelValue":
|
|
17668
|
+
"onUpdate:modelValue": h[1] || (h[1] = (u) => n.isVisible = u),
|
|
17668
17669
|
top: "1vh"
|
|
17669
17670
|
}, {
|
|
17670
17671
|
default: withCtx(() => [
|
|
@@ -17679,13 +17680,14 @@ ${p.message || p.resultcontent}\r
|
|
|
17679
17680
|
}, 8, ["modelValue"])
|
|
17680
17681
|
]));
|
|
17681
17682
|
}
|
|
17682
|
-
}, MultipleUploadPic = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
17683
|
+
}, MultipleUploadPic = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-bdc179b4"]]), _hoisted_1$9 = { style: { height: "150px" } }, _sfc_main$d = {
|
|
17683
17684
|
__name: "index",
|
|
17684
17685
|
props: /* @__PURE__ */ mergeModels({
|
|
17685
17686
|
multiple: { type: Boolean, default: !1 },
|
|
17686
17687
|
height: { type: String, default: "100px" },
|
|
17687
17688
|
isImage: { type: Boolean, default: !0 },
|
|
17688
17689
|
headPic: { type: Boolean, default: !1 },
|
|
17690
|
+
isNoZip: { type: Boolean, default: !1 },
|
|
17689
17691
|
timeOut: { type: [Number, String], default: 3e4 }
|
|
17690
17692
|
// 30秒超时
|
|
17691
17693
|
}, {
|
|
@@ -17702,21 +17704,23 @@ ${p.message || p.resultcontent}\r
|
|
|
17702
17704
|
key: 0,
|
|
17703
17705
|
modelValue: t.value,
|
|
17704
17706
|
"onUpdate:modelValue": s[0] || (s[0] = (o) => t.value = o),
|
|
17707
|
+
isNoZip: i.isNoZip,
|
|
17705
17708
|
height: i.height,
|
|
17706
17709
|
isImage: i.isImage,
|
|
17707
17710
|
headPic: i.headPic,
|
|
17708
17711
|
timeOut: i.timeOut,
|
|
17709
17712
|
onChange: n
|
|
17710
|
-
}, null, 8, ["modelValue", "height", "isImage", "headPic", "timeOut"])) : (openBlock(), createBlock(OnePicUpload, {
|
|
17713
|
+
}, null, 8, ["modelValue", "isNoZip", "height", "isImage", "headPic", "timeOut"])) : (openBlock(), createBlock(OnePicUpload, {
|
|
17711
17714
|
key: 1,
|
|
17712
17715
|
modelValue: t.value,
|
|
17713
17716
|
"onUpdate:modelValue": s[1] || (s[1] = (o) => t.value = o),
|
|
17717
|
+
isNoZip: i.isNoZip,
|
|
17714
17718
|
height: i.height,
|
|
17715
17719
|
isImage: i.isImage,
|
|
17716
17720
|
headPic: i.headPic,
|
|
17717
17721
|
timeOut: i.timeOut,
|
|
17718
17722
|
onChange: n
|
|
17719
|
-
}, null, 8, ["modelValue", "height", "isImage", "headPic", "timeOut"]))
|
|
17723
|
+
}, null, 8, ["modelValue", "isNoZip", "height", "isImage", "headPic", "timeOut"]))
|
|
17720
17724
|
]));
|
|
17721
17725
|
}
|
|
17722
17726
|
}, _hoisted_1$8 = { style: { height: "680px" } }, _hoisted_2$5 = { style: { "text-align": "center", padding: "20px 0", "font-size": "20px" } }, _hoisted_3$4 = { style: { "text-align": "center" } }, _hoisted_4$4 = {
|