qk-pc-ui 4.2.4 → 4.2.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.
- package/dist/qk-pc-ui.css +1 -1
- package/dist/qk-pc-ui.mjs +43 -40
- 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-
|
|
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-ab824a22]{height:100%}.qktab[data-v-ab824a22]{height:100%;width:100%}.tabmain[data-v-ab824a22]{height:100%;width:100%;padding:5px;box-sizing:border-box}.example-showcase .el-dropdown-link[data-v-ab824a22]{cursor:pointer;color:var(--el-color-primary);display:flex;align-items:center}.havfilter[data-v-ab824a22]{color:#5af;fill:#5af}.filtercheck[data-v-ab824a22]{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-dc29a01f]{height:100px;display:block}.avatar-uploader .avatar[data-v-4fde86e7]{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-65e7aaed]{display:inline-block;background-color:#fff;width:95%;height:98%;overflow:hidden;border-radius:20px;border:1px solid #ccc}.qrWrap[data-v-65e7aaed]{--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-65e7aaed]{width:250px;height:250px;border-radius:10px;overflow:hidden;margin:0 auto}.instructionsbtn[data-v-65e7aaed]{text-align:center;padding:20px 0}.instructionsWrap[data-v-65e7aaed]{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-cb64755e]{display:flex;font-size:1rem;padding-bottom:1rem}.tlab[data-v-cb64755e]{text-align:right;color:gray;width:170px}.tval[data-v-cb64755e]{color:#0094ff}td[data-v-cb64755e],textarea[data-v-cb64755e]{padding:10px 0;color:#0094ff}.desc[data-v-cb64755e]{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-82a69bfa]{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
|
@@ -16029,19 +16029,25 @@ const _hoisted_1$l = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16029
16029
|
picUrl: ""
|
|
16030
16030
|
}), a = () => {
|
|
16031
16031
|
t.isShowPic = !0, t.picUrl = r.row[r.columnInfo.dataKey];
|
|
16032
|
-
}, n = {
|
|
16032
|
+
}, n = (l) => {
|
|
16033
|
+
try {
|
|
16034
|
+
let s = /* @__PURE__ */ new Date(), o = l.ToDateTime();
|
|
16035
|
+
return s > o ? "red" : (s = s.AddDays(30), s > o ? "#f6d00c" : "inherit");
|
|
16036
|
+
} catch {
|
|
16037
|
+
}
|
|
16038
|
+
}, i = {
|
|
16033
16039
|
props: {
|
|
16034
16040
|
renderFn: Function
|
|
16035
16041
|
},
|
|
16036
|
-
setup(
|
|
16042
|
+
setup(l) {
|
|
16037
16043
|
return () => {
|
|
16038
|
-
const
|
|
16039
|
-
return
|
|
16044
|
+
const s = l.renderFn;
|
|
16045
|
+
return s ? s() : null;
|
|
16040
16046
|
};
|
|
16041
16047
|
}
|
|
16042
16048
|
};
|
|
16043
|
-
return (
|
|
16044
|
-
e.columnInfo.cellRenderer ? (openBlock(), createBlock(
|
|
16049
|
+
return (l, s) => (openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
16050
|
+
e.columnInfo.cellRenderer ? (openBlock(), createBlock(i, {
|
|
16045
16051
|
key: 0,
|
|
16046
16052
|
renderFn: () => e.columnInfo.cellRenderer(e.row)
|
|
16047
16053
|
}, null, 8, ["renderFn"])) : e.columnInfo.Type ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
@@ -16051,7 +16057,7 @@ const _hoisted_1$l = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16051
16057
|
type: "primary",
|
|
16052
16058
|
onClick: a
|
|
16053
16059
|
}, {
|
|
16054
|
-
default: withCtx(() =>
|
|
16060
|
+
default: withCtx(() => s[2] || (s[2] = [
|
|
16055
16061
|
createTextVNode("查看")
|
|
16056
16062
|
])),
|
|
16057
16063
|
_: 1,
|
|
@@ -16066,12 +16072,12 @@ const _hoisted_1$l = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16066
16072
|
style: normalizeStyle("width: 100%;height: 100%;background-color:" + e.row[e.columnInfo.dataKey])
|
|
16067
16073
|
}, " ", 4)) : e.columnInfo.Type == "DATE" ? (openBlock(), createElementBlock("span", {
|
|
16068
16074
|
key: 3,
|
|
16069
|
-
style: normalizeStyle("color:" +
|
|
16075
|
+
style: normalizeStyle("color:" + n(e.row[e.columnInfo.dataKey]))
|
|
16070
16076
|
}, toDisplayString(e.row[e.columnInfo.dataKey]), 5)) : (openBlock(), createElementBlock("span", _hoisted_4$6, toDisplayString(e.row[e.columnInfo.dataKey]), 1))
|
|
16071
16077
|
], 64)) : e.columnInfo.OnClick || e.columnInfo.onClick ? (openBlock(), createBlock(unref(ElLink), {
|
|
16072
16078
|
key: 2,
|
|
16073
16079
|
type: "success",
|
|
16074
|
-
onClick:
|
|
16080
|
+
onClick: s[0] || (s[0] = (o) => (e.columnInfo.OnClick || e.columnInfo.onClick)(e.row))
|
|
16075
16081
|
}, {
|
|
16076
16082
|
default: withCtx(() => [
|
|
16077
16083
|
createTextVNode(toDisplayString(e.row[e.columnInfo.dataKey]), 1)
|
|
@@ -16085,7 +16091,7 @@ const _hoisted_1$l = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16085
16091
|
], 64)),
|
|
16086
16092
|
createVNode(byDialog, {
|
|
16087
16093
|
modelValue: t.isShowPic,
|
|
16088
|
-
"onUpdate:modelValue":
|
|
16094
|
+
"onUpdate:modelValue": s[1] || (s[1] = (o) => t.isShowPic = o),
|
|
16089
16095
|
url: t.picUrl,
|
|
16090
16096
|
height: "auto",
|
|
16091
16097
|
width: "800px",
|
|
@@ -16101,7 +16107,7 @@ const _hoisted_1$l = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16101
16107
|
}, 8, ["modelValue", "url"])
|
|
16102
16108
|
]));
|
|
16103
16109
|
}
|
|
16104
|
-
}, DataColumnValue = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-
|
|
16110
|
+
}, DataColumnValue = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-cd543e91"]]), _hoisted_1$h = {
|
|
16105
16111
|
key: 0,
|
|
16106
16112
|
style: { color: "cornflowerblue" }
|
|
16107
16113
|
}, _sfc_main$n = {
|
|
@@ -16168,41 +16174,33 @@ const _hoisted_1$l = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16168
16174
|
emits: ["click"],
|
|
16169
16175
|
setup(e, { emit: r }) {
|
|
16170
16176
|
const t = r, a = e, n = computed(() => typeof a.commandInfo == "string" ? a.commandInfo == "删除" ? "danger" : "primary" : a.commandInfo.Name == "删除" ? "danger" : "primary"), i = computed(() => {
|
|
16171
|
-
let
|
|
16172
|
-
return
|
|
16173
|
-
}), l =
|
|
16174
|
-
|
|
16175
|
-
return f || !1;
|
|
16176
|
-
}), s = computed(() => {
|
|
16177
|
-
let f = a.commandInfo.IsDisabled || a.commandInfo.isDisabled;
|
|
16178
|
-
return f || (() => !1);
|
|
16179
|
-
}), o = (f) => {
|
|
16180
|
-
t("click", f, a.row);
|
|
16177
|
+
let s = a.commandInfo.IsDisabled || a.commandInfo.isDisabled;
|
|
16178
|
+
return s || (() => !1);
|
|
16179
|
+
}), l = (s) => {
|
|
16180
|
+
t("click", s, a.row);
|
|
16181
16181
|
};
|
|
16182
|
-
return (
|
|
16182
|
+
return (s, o) => typeof e.commandInfo == "string" ? (openBlock(), createBlock(unref(ElLink), {
|
|
16183
16183
|
key: 0,
|
|
16184
16184
|
style: { "margin-right": "5px" },
|
|
16185
16185
|
type: n.value,
|
|
16186
|
-
onClick:
|
|
16186
|
+
onClick: o[0] || (o[0] = (f) => l(e.commandInfo))
|
|
16187
16187
|
}, {
|
|
16188
16188
|
default: withCtx(() => [
|
|
16189
16189
|
createTextVNode(toDisplayString(unref(L)(e.commandInfo)), 1)
|
|
16190
16190
|
]),
|
|
16191
16191
|
_: 1
|
|
16192
|
-
}, 8, ["type"])) :
|
|
16193
|
-
|
|
16194
|
-
|
|
16195
|
-
|
|
16196
|
-
|
|
16197
|
-
|
|
16198
|
-
|
|
16199
|
-
|
|
16200
|
-
|
|
16201
|
-
|
|
16202
|
-
|
|
16203
|
-
|
|
16204
|
-
}, 8, ["type", "disabled"])) : createCommentVNode("", !0)
|
|
16205
|
-
], 64)) : createCommentVNode("", !0);
|
|
16192
|
+
}, 8, ["type"])) : (openBlock(), createBlock(unref(ElLink), {
|
|
16193
|
+
key: 1,
|
|
16194
|
+
style: { "margin-right": "5px" },
|
|
16195
|
+
type: n.value,
|
|
16196
|
+
onClick: o[1] || (o[1] = (f) => l(e.commandInfo.Name)),
|
|
16197
|
+
disabled: i.value(e.row)
|
|
16198
|
+
}, {
|
|
16199
|
+
default: withCtx(() => [
|
|
16200
|
+
createTextVNode(toDisplayString(unref(L)(e.commandInfo.Name)), 1)
|
|
16201
|
+
]),
|
|
16202
|
+
_: 1
|
|
16203
|
+
}, 8, ["type", "disabled"]));
|
|
16206
16204
|
}
|
|
16207
16205
|
}, _hoisted_1$g = {
|
|
16208
16206
|
key: 0,
|
|
@@ -16218,7 +16216,12 @@ const _hoisted_1$l = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16218
16216
|
emits: ["command"],
|
|
16219
16217
|
setup(e, { emit: r }) {
|
|
16220
16218
|
const t = r, a = e, n = (l, s) => {
|
|
16221
|
-
let o = a.commandArray.Where((f) =>
|
|
16219
|
+
let o = a.commandArray.Where((f) => {
|
|
16220
|
+
let c = "";
|
|
16221
|
+
typeof f == "string" ? c = f : c = f.Name;
|
|
16222
|
+
let _ = f.IsShow ?? f.isShow;
|
|
16223
|
+
return !(_ && !_(l, a.powerArray) || (f.CheckPower ?? f.checkPower) && !a.powerArray.Exists((u) => u.Name == c));
|
|
16224
|
+
});
|
|
16222
16225
|
switch (s) {
|
|
16223
16226
|
case 1:
|
|
16224
16227
|
return o;
|
|
@@ -16255,7 +16258,7 @@ const _hoisted_1$l = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16255
16258
|
createTextVNode(toDisplayString(unref(L)(o)), 1)
|
|
16256
16259
|
]),
|
|
16257
16260
|
_: 2
|
|
16258
|
-
}, 1032, ["command"])) :
|
|
16261
|
+
}, 1032, ["command"])) : (openBlock(), createBlock(unref(ElDropdownItem), {
|
|
16259
16262
|
key: 1,
|
|
16260
16263
|
command: o.Name,
|
|
16261
16264
|
disabled: o.IsDisabled ? o.IsDisabled(e.row) : !1
|
|
@@ -16264,7 +16267,7 @@ const _hoisted_1$l = { style: { display: "inline-block", width: "100px" } }, _ho
|
|
|
16264
16267
|
createTextVNode(toDisplayString(unref(L)(o.Name)), 1)
|
|
16265
16268
|
]),
|
|
16266
16269
|
_: 2
|
|
16267
|
-
}, 1032, ["command", "disabled"]))
|
|
16270
|
+
}, 1032, ["command", "disabled"]))
|
|
16268
16271
|
], 64))), 256))
|
|
16269
16272
|
]),
|
|
16270
16273
|
_: 1
|