qk-pc-ui 4.7.2 → 4.7.3
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 +42 -29
- package/dist/qk-pc-ui.umd.js +33 -33
- package/package.json +1 -1
- package/dist/assets/index-DbKYxdZX.js +0 -1144
- package/dist/assets/index-DtgKpK5Q.css +0 -1
- package/dist/index.html +0 -29
package/dist/qk-pc-ui.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.tmain[data-v-99560092]{display:flex;justify-content:space-between}.havfilter[data-v-cfc38975]{color:#5af;fill:#5af}.myicon[data-v-cfc38975]{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-
|
|
1
|
+
.tmain[data-v-99560092]{display:flex;justify-content:space-between}.havfilter[data-v-cfc38975]{color:#5af;fill:#5af}.myicon[data-v-cfc38975]{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-775512a1],.myicon[data-v-89eaa50e]{width:21px;height:21px;padding-left:3px}.mt[data-v-9102a42d]{height:100%}.qktab[data-v-9102a42d]{height:100%;width:100%}.tabmain[data-v-9102a42d]{height:100%;width:100%;padding:5px;box-sizing:border-box}.example-showcase .el-dropdown-link[data-v-9102a42d]{cursor:pointer;color:var(--el-color-primary);display:flex;align-items:center}.havfilter[data-v-9102a42d]{color:#5af;fill:#5af}.filtercheck[data-v-9102a42d]{padding:10px 0}.qktab[data-v-9102a42d],[data-v-9102a42d] .el-table__body-wrapper{contain:layout style paint}[data-v-9102a42d] .el-table__row{contain:layout style paint;will-change:transform}[data-v-9102a42d] .el-table__cell{contain:layout style paint}[data-v-9102a42d] .el-table{transform:translateZ(0);backface-visibility:hidden}[data-v-9102a42d] .el-table__body tr{transform:translateZ(0)}.filtercheck .el-checkbox{height:18px}.mt[data-v-18049ba5]{height:100%}.qktab[data-v-18049ba5]{height:100%;width:100%}.tabmain[data-v-18049ba5]{height:100%;width:100%;padding:5px;box-sizing:border-box}.example-showcase .el-dropdown-link[data-v-18049ba5]{cursor:pointer;color:var(--el-color-primary);display:flex;align-items:center}.havfilter[data-v-18049ba5]{color:#5af;fill:#5af}.filtercheck[data-v-18049ba5]{padding:10px 0}[data-v-18049ba5] .el-table-v2__row{border-bottom:1px solid var(--el-border-color-lighter)}[data-v-18049ba5] .el-table-v2__row.even-row{background-color:var(--el-fill-color-lighter)}[data-v-18049ba5] .el-table-v2__row.odd-row{background-color:var(--el-bg-color)}[data-v-18049ba5] .el-table-v2__row:hover{background-color:var(--el-fill-color-light)}.column-display-dialog[data-v-dc7eaa83]{padding:10px 0}.dialog-header[data-v-dc7eaa83]{display:flex;gap:10px;margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid #ebeef5}.column-list[data-v-dc7eaa83]{max-height:400px;overflow-y:auto;padding:10px 0}.column-item[data-v-dc7eaa83]{display:flex;align-items:center;border-bottom:1px solid #f5f5f5}.column-item[data-v-dc7eaa83]:last-child{border-bottom:none}.column-main[data-v-dc7eaa83]{display:flex;align-items:center;min-width:200px}.column-options[data-v-dc7eaa83]{margin-left:20px;display:flex;gap:20px;border-radius:4px;padding-left:12px}.option-item[data-v-dc7eaa83]{display:flex;align-items:center}.required-mark[data-v-dc7eaa83]{color:#f56c6c;margin-left:5px}.dialog-footer[data-v-dc7eaa83]{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:10px;border-top:1px solid #ebeef5}.column-list[data-v-dc7eaa83]::-webkit-scrollbar{width:6px}.column-list[data-v-dc7eaa83]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.column-list[data-v-dc7eaa83]::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.column-list[data-v-dc7eaa83]::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.myform em{color:#a1a1a1;display:inline-block;margin-left:20px}.pagemain[data-v-81fcdb89]{height:100%;width:100%;padding:10px;box-sizing:border-box;display:flex;flex-direction:column}.filter[data-v-81fcdb89]{margin-bottom:10px}.tool[data-v-81fcdb89]{margin-top:17px;box-sizing:border-box}.dataList[data-v-81fcdb89]{flex-grow:1;overflow:hidden}.myform[data-v-81fcdb89]{max-height:78vh;overflow:auto}.myform .el-form-item__content em{color:#a1a1a1;display:inline-block;margin-left:20px}.pagemain[data-v-99481944]{height:100%;width:100%;padding:10px;box-sizing:border-box;display:flex;flex-direction:column}.filter[data-v-99481944]{height:35px}.tool[data-v-99481944]{margin-top:17px;height:37px}.dataList[data-v-99481944]{flex-grow:1;overflow:auto}.myform[data-v-99481944]{max-height:78vh;overflow:auto}.total[data-v-99481944]{padding:10px 0}.total-item[data-v-99481944]{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-4bf5af62]{height:100px;display:block}.avatar-uploader .avatar[data-v-ac4d5873]{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-b36aa023]{display:inline-block;background-color:#fff;width:95%;height:98%;overflow:hidden;border-radius:20px;border:1px solid #ccc}.qrWrap[data-v-b36aa023]{--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-b36aa023]{width:250px;height:250px;border-radius:10px;overflow:hidden;margin:0 auto}.instructionsbtn[data-v-b36aa023]{text-align:center;padding:20px 0}.instructionsWrap[data-v-b36aa023]{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-758dcbbe]{color:#f50;font-weight:700}.t[data-v-758dcbbe]{text-align:center}.myrow[data-v-876e45f8]{display:flex;font-size:1rem;padding-bottom:1rem}.tlab[data-v-876e45f8]{text-align:right;color:gray;width:170px}.tval[data-v-876e45f8]{color:#0094ff}td[data-v-876e45f8],textarea[data-v-876e45f8]{padding:10px 0;color:#0094ff}.desc[data-v-876e45f8]{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-44065cbc]{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
|
@@ -16047,12 +16047,12 @@ const _hoisted_1$m = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16047
16047
|
});
|
|
16048
16048
|
return (a, n) => (openBlock(), createElementBlock("img", { src: t.value }, null, 8, _hoisted_1$j));
|
|
16049
16049
|
}
|
|
16050
|
-
}, _hoisted_1$i = {
|
|
16050
|
+
}, _hoisted_1$i = {
|
|
16051
16051
|
key: 1,
|
|
16052
16052
|
class: "myicon",
|
|
16053
16053
|
"aria-hidden": "true",
|
|
16054
16054
|
style: { "font-size": "2em" }
|
|
16055
|
-
},
|
|
16055
|
+
}, _hoisted_2$a = ["xlink:href"], _hoisted_3$7 = { key: 4 }, _hoisted_4$7 = { key: 0 }, _sfc_main$r = {
|
|
16056
16056
|
__name: "DataColumnValue",
|
|
16057
16057
|
props: {
|
|
16058
16058
|
columnInfo: { type: Object, default: () => ({}) },
|
|
@@ -16064,25 +16064,41 @@ const _hoisted_1$m = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16064
16064
|
picUrl: ""
|
|
16065
16065
|
}), a = () => {
|
|
16066
16066
|
t.isShowPic = !0, t.picUrl = r.row[r.columnInfo.dataKey];
|
|
16067
|
-
}, n = (
|
|
16067
|
+
}, n = (o) => {
|
|
16068
16068
|
try {
|
|
16069
|
-
let
|
|
16070
|
-
return
|
|
16069
|
+
let s = /* @__PURE__ */ new Date(), f = o.ToDateTime();
|
|
16070
|
+
return s > f ? "red" : (s = s.AddDays(30), s > f ? "#f6d00c" : "inherit");
|
|
16071
16071
|
} catch {
|
|
16072
16072
|
}
|
|
16073
|
-
}, i = {
|
|
16073
|
+
}, i = computed(() => {
|
|
16074
|
+
const o = {
|
|
16075
|
+
display: "inline",
|
|
16076
|
+
width: "100%"
|
|
16077
|
+
};
|
|
16078
|
+
if (r.columnInfo.FnGetStyle && typeof r.columnInfo.FnGetStyle == "function")
|
|
16079
|
+
try {
|
|
16080
|
+
const s = r.row[r.columnInfo.dataKey], f = r.columnInfo.FnGetStyle(r.row, r.columnInfo, s);
|
|
16081
|
+
if (f && typeof f == "object")
|
|
16082
|
+
return { ...o, ...f };
|
|
16083
|
+
} catch (s) {
|
|
16084
|
+
console.warn("FnGetStyle 执行出错:", s);
|
|
16085
|
+
}
|
|
16086
|
+
return o;
|
|
16087
|
+
}), l = {
|
|
16074
16088
|
props: {
|
|
16075
16089
|
renderFn: Function
|
|
16076
16090
|
},
|
|
16077
|
-
setup(
|
|
16091
|
+
setup(o) {
|
|
16078
16092
|
return () => {
|
|
16079
|
-
const
|
|
16080
|
-
return
|
|
16093
|
+
const s = o.renderFn;
|
|
16094
|
+
return s ? s() : null;
|
|
16081
16095
|
};
|
|
16082
16096
|
}
|
|
16083
16097
|
};
|
|
16084
|
-
return (
|
|
16085
|
-
|
|
16098
|
+
return (o, s) => (openBlock(), createElementBlock("div", {
|
|
16099
|
+
style: normalizeStyle(i.value)
|
|
16100
|
+
}, [
|
|
16101
|
+
e.columnInfo.cellRenderer ? (openBlock(), createBlock(l, {
|
|
16086
16102
|
key: 0,
|
|
16087
16103
|
renderFn: () => e.columnInfo.cellRenderer(e.row)
|
|
16088
16104
|
}, null, 8, ["renderFn"])) : e.columnInfo.Type ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
@@ -16092,26 +16108,26 @@ const _hoisted_1$m = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16092
16108
|
type: "primary",
|
|
16093
16109
|
onClick: a
|
|
16094
16110
|
}, {
|
|
16095
|
-
default: withCtx(() => [...
|
|
16111
|
+
default: withCtx(() => [...s[2] || (s[2] = [
|
|
16096
16112
|
createTextVNode("查看", -1)
|
|
16097
16113
|
])]),
|
|
16098
16114
|
_: 1
|
|
16099
16115
|
})) : createCommentVNode("", !0)
|
|
16100
|
-
], 64)) : e.columnInfo.Type == "ICON" ? (openBlock(), createElementBlock("svg",
|
|
16116
|
+
], 64)) : e.columnInfo.Type == "ICON" ? (openBlock(), createElementBlock("svg", _hoisted_1$i, [
|
|
16101
16117
|
createElementVNode("use", {
|
|
16102
16118
|
"xlink:href": e.row[e.columnInfo.dataKey]
|
|
16103
|
-
}, null, 8,
|
|
16119
|
+
}, null, 8, _hoisted_2$a)
|
|
16104
16120
|
])) : e.columnInfo.Type == "COLOR" ? (openBlock(), createElementBlock("div", {
|
|
16105
16121
|
key: 2,
|
|
16106
16122
|
style: normalizeStyle("width: 100%;height: 100%;background-color:" + e.row[e.columnInfo.dataKey])
|
|
16107
16123
|
}, " ", 4)) : e.columnInfo.Type == "DATE" ? (openBlock(), createElementBlock("span", {
|
|
16108
16124
|
key: 3,
|
|
16109
16125
|
style: normalizeStyle("color:" + n(e.row[e.columnInfo.dataKey]))
|
|
16110
|
-
}, toDisplayString(e.row[e.columnInfo.dataKey]), 5)) : (openBlock(), createElementBlock("span",
|
|
16126
|
+
}, toDisplayString(e.row[e.columnInfo.dataKey]), 5)) : (openBlock(), createElementBlock("span", _hoisted_3$7, toDisplayString(e.row[e.columnInfo.dataKey]), 1))
|
|
16111
16127
|
], 64)) : e.columnInfo.OnClick || e.columnInfo.onClick ? (openBlock(), createBlock(unref(ElLink), {
|
|
16112
16128
|
key: 2,
|
|
16113
16129
|
type: "success",
|
|
16114
|
-
onClick:
|
|
16130
|
+
onClick: s[0] || (s[0] = (f) => (e.columnInfo.OnClick || e.columnInfo.onClick)(e.row))
|
|
16115
16131
|
}, {
|
|
16116
16132
|
default: withCtx(() => [
|
|
16117
16133
|
createTextVNode(toDisplayString(e.row[e.columnInfo.dataKey]), 1)
|
|
@@ -16121,11 +16137,11 @@ const _hoisted_1$m = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16121
16137
|
e.columnInfo.color || e.columnInfo.Color ? (openBlock(), createElementBlock("span", {
|
|
16122
16138
|
key: 1,
|
|
16123
16139
|
style: normalizeStyle("color:" + (e.columnInfo.color || e.columnInfo.Color))
|
|
16124
|
-
}, toDisplayString(e.row[e.columnInfo.dataKey]), 5)) : (openBlock(), createElementBlock("span",
|
|
16140
|
+
}, toDisplayString(e.row[e.columnInfo.dataKey]), 5)) : (openBlock(), createElementBlock("span", _hoisted_4$7, toDisplayString(e.row[e.columnInfo.dataKey]), 1))
|
|
16125
16141
|
], 64)),
|
|
16126
16142
|
createVNode(byDialog, {
|
|
16127
16143
|
modelValue: t.isShowPic,
|
|
16128
|
-
"onUpdate:modelValue":
|
|
16144
|
+
"onUpdate:modelValue": s[1] || (s[1] = (f) => t.isShowPic = f),
|
|
16129
16145
|
url: t.picUrl,
|
|
16130
16146
|
height: "auto",
|
|
16131
16147
|
width: "800px",
|
|
@@ -16139,12 +16155,9 @@ const _hoisted_1$m = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16139
16155
|
]),
|
|
16140
16156
|
_: 1
|
|
16141
16157
|
}, 8, ["modelValue", "url"])
|
|
16142
|
-
]));
|
|
16158
|
+
], 4));
|
|
16143
16159
|
}
|
|
16144
|
-
}, DataColumnValue = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
16145
|
-
key: 0,
|
|
16146
|
-
style: { color: "cornflowerblue" }
|
|
16147
|
-
}, _sfc_main$q = {
|
|
16160
|
+
}, DataColumnValue = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-775512a1"]]), _hoisted_1$h = { style: { display: "flex" } }, _sfc_main$q = {
|
|
16148
16161
|
__name: "DataColumn",
|
|
16149
16162
|
props: {
|
|
16150
16163
|
columnArray: { type: Array, default: () => [] },
|
|
@@ -16165,12 +16178,12 @@ const _hoisted_1$m = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16165
16178
|
"show-overflow-tooltip": ""
|
|
16166
16179
|
}, {
|
|
16167
16180
|
default: withCtx(({ row: f }) => [
|
|
16168
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(s, (c) => (openBlock(), createElementBlock("div",
|
|
16181
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(s, (c) => (openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
16169
16182
|
createTextVNode(toDisplayString(c.title) + ": ", 1),
|
|
16170
|
-
|
|
16171
|
-
|
|
16172
|
-
|
|
16173
|
-
},
|
|
16183
|
+
createVNode(DataColumnValue, {
|
|
16184
|
+
columnInfo: l.item,
|
|
16185
|
+
row: f
|
|
16186
|
+
}, null, 8, ["columnInfo", "row"])
|
|
16174
16187
|
]))), 256))
|
|
16175
16188
|
]),
|
|
16176
16189
|
_: 2
|
|
@@ -16200,7 +16213,7 @@ const _hoisted_1$m = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16200
16213
|
}, 1032, ["prop", "label", "min-width", "fixed"]))), 256))
|
|
16201
16214
|
], 64))), 256));
|
|
16202
16215
|
}
|
|
16203
|
-
}, DataColumn = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-
|
|
16216
|
+
}, DataColumn = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-89eaa50e"]]), _sfc_main$p = {
|
|
16204
16217
|
__name: "DataColumnToolLinkItem",
|
|
16205
16218
|
props: {
|
|
16206
16219
|
commandInfo: { type: [Object, String], default: () => ({}) },
|