yahee-components 0.0.34 → 0.0.37
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/es/_virtual/dayjs.min.js +1 -1
- package/es/_virtual/lodash.js +1 -1
- package/es/annex-upload/annex-upload.vue.js +3 -3
- package/es/annex-upload/annex-upload.vue2.js +3 -3
- package/es/api/server.js +7 -6
- package/es/complex-search/complex-search.vue.js +1 -1
- package/es/complex-search/complex-search.vue2.js +14 -14
- package/es/copy/copy.vue.js +2 -2
- package/es/copy/copy.vue2.js +3 -3
- package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +16 -16
- package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +5 -5
- package/es/drop-down-condition/drop-down-condition.vue.js +1 -1
- package/es/drop-down-condition/drop-down-condition.vue2.js +5 -5
- package/es/image-upload/image-upload.vue.js +4 -4
- package/es/image-upload/image-upload.vue2.js +8 -8
- package/es/input/input.vue.js +2 -2
- package/es/left-condition/left-condition-sub.vue.js +7 -7
- package/es/left-condition/left-condition-sub.vue2.js +3 -3
- package/es/left-condition/left-condition.vue.js +5 -5
- package/es/left-condition-enum/left-condition-enum.vue.js +2 -2
- package/es/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/defaults/index.js +12 -12
- package/es/operation-log/operation-log-content.vue.js +9 -9
- package/es/operation-log/operation-log-content.vue2.js +3 -3
- package/es/operation-log/operation-log-dialog.vue.js +2 -2
- package/es/operation-log/operation-log-dialog.vue2.js +3 -3
- package/es/operation-log/operation-log-form.vue.js +1 -1
- package/es/operation-log/operation-log-form.vue2.js +24 -20
- package/es/operation-log/operation-log.vue.js +11 -11
- package/es/operation-log/operation-log.vue2.js +8 -8
- package/es/operation-log/style/index.css +19 -6
- package/es/packages/components/api/log-server.js +10 -9
- package/es/packages/components/api/server.js +5 -4
- package/es/packages/components/api/upload-server.js +6 -5
- package/es/packages/components/hooks/useImg.js +1 -1
- package/es/{node_modules/.pnpm/dayjs@1.11.13 → packages/components}/node_modules/dayjs/dayjs.min.js +1 -1
- package/es/{node_modules/.pnpm/lodash@4.17.21 → packages/components}/node_modules/lodash/lodash.js +625 -625
- package/es/{node_modules/.pnpm/v3-infinite-loading@1.3.2 → packages/components}/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js +15 -15
- package/es/style.css +234 -0
- package/es/utils/translate.js +9 -8
- package/lib/operation-log/style/index.css +19 -6
- package/lib/style.css +234 -0
- package/package.json +1 -1
- package/types/src/operation-log/operation-log-form.vue.d.ts +9 -0
- /package/es/{node_modules/.pnpm/element-plus@2.9.1_vue@3.5.13_typescript@5.7.2_ → packages/components}/node_modules/element-plus/es/locale/lang/zh-cn.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C, ref as v, toRefs as $, watch as H, onMounted as N, onUnmounted as M, openBlock as
|
|
1
|
+
import { defineComponent as C, ref as v, toRefs as $, createElementBlock as h, watch as H, onMounted as N, onUnmounted as M, openBlock as x, withDirectives as O, renderSlot as d, createCommentVNode as g, createElementVNode as r, createVNode as R, vShow as T, toDisplayString as y, nextTick as E, pushScopeId as V, popScopeId as q } from "vue";
|
|
2
2
|
function D(t, o = null) {
|
|
3
3
|
if (!t)
|
|
4
4
|
return !1;
|
|
@@ -34,7 +34,7 @@ const b = (t, o) => {
|
|
|
34
34
|
F
|
|
35
35
|
];
|
|
36
36
|
function J(t, o) {
|
|
37
|
-
return
|
|
37
|
+
return x(), h("div", A, G);
|
|
38
38
|
}
|
|
39
39
|
const K = /* @__PURE__ */ b(j, [["render", J], ["__scopeId", "data-v-d3e37633"]]), P = { class: "state-error" }, Q = /* @__PURE__ */ C({
|
|
40
40
|
__name: "InfiniteLoading",
|
|
@@ -50,8 +50,8 @@ const K = /* @__PURE__ */ b(j, [["render", J], ["__scopeId", "data-v-d3e37633"]]
|
|
|
50
50
|
setup(t, { emit: o }) {
|
|
51
51
|
const e = t;
|
|
52
52
|
let n = null, a = 0;
|
|
53
|
-
const
|
|
54
|
-
infiniteLoading:
|
|
53
|
+
const u = v(null), l = v(""), { top: k, firstload: I, distance: _ } = e, { identifier: L, target: S } = $(e), i = {
|
|
54
|
+
infiniteLoading: u,
|
|
55
55
|
top: k,
|
|
56
56
|
firstload: I,
|
|
57
57
|
distance: _,
|
|
@@ -64,7 +64,7 @@ const K = /* @__PURE__ */ b(j, [["render", J], ["__scopeId", "data-v-d3e37633"]]
|
|
|
64
64
|
l.value = "loading";
|
|
65
65
|
},
|
|
66
66
|
async loaded() {
|
|
67
|
-
l.value = "loaded", await w(i, a), D(
|
|
67
|
+
l.value = "loaded", await w(i, a), D(u.value, i.parentEl) && i.emit();
|
|
68
68
|
},
|
|
69
69
|
async complete() {
|
|
70
70
|
l.value = "complete", await w(i, a), n == null || n.disconnect();
|
|
@@ -78,40 +78,40 @@ const K = /* @__PURE__ */ b(j, [["render", J], ["__scopeId", "data-v-d3e37633"]]
|
|
|
78
78
|
}
|
|
79
79
|
return H(L, f), N(async () => {
|
|
80
80
|
i.parentEl = await U(S), f();
|
|
81
|
-
}), M(() => n == null ? void 0 : n.disconnect()), (s, m) => (
|
|
81
|
+
}), M(() => n == null ? void 0 : n.disconnect()), (s, m) => (x(), h("div", {
|
|
82
82
|
ref_key: "infiniteLoading",
|
|
83
|
-
ref:
|
|
83
|
+
ref: u,
|
|
84
84
|
class: "v3-infinite-loading"
|
|
85
85
|
}, [
|
|
86
86
|
O(r("div", null, [
|
|
87
|
-
|
|
87
|
+
d(s.$slots, "spinner", {}, () => [
|
|
88
88
|
R(K)
|
|
89
89
|
], !0)
|
|
90
90
|
], 512), [
|
|
91
91
|
[T, l.value == "loading"]
|
|
92
92
|
]),
|
|
93
|
-
l.value == "complete" ?
|
|
93
|
+
l.value == "complete" ? d(s.$slots, "complete", { key: 0 }, () => {
|
|
94
94
|
var c;
|
|
95
95
|
return [
|
|
96
|
-
r("span", null,
|
|
96
|
+
r("span", null, y(((c = s.slots) == null ? void 0 : c.complete) || "No more results!"), 1)
|
|
97
97
|
];
|
|
98
|
-
}, !0) :
|
|
99
|
-
l.value == "error" ?
|
|
98
|
+
}, !0) : g("", !0),
|
|
99
|
+
l.value == "error" ? d(s.$slots, "error", {
|
|
100
100
|
key: 1,
|
|
101
101
|
retry: i.emit
|
|
102
102
|
}, () => {
|
|
103
103
|
var c;
|
|
104
104
|
return [
|
|
105
105
|
r("span", P, [
|
|
106
|
-
r("span", null,
|
|
106
|
+
r("span", null, y(((c = s.slots) == null ? void 0 : c.error) || "Oops something went wrong!"), 1),
|
|
107
107
|
r("button", {
|
|
108
108
|
class: "retry",
|
|
109
109
|
onClick: m[0] || (m[0] = //@ts-ignore
|
|
110
|
-
(...B) => i.emit(...B))
|
|
110
|
+
(...B) => i.emit && i.emit(...B))
|
|
111
111
|
}, "retry")
|
|
112
112
|
])
|
|
113
113
|
];
|
|
114
|
-
}, !0) :
|
|
114
|
+
}, !0) : g("", !0)
|
|
115
115
|
], 512));
|
|
116
116
|
}
|
|
117
117
|
}), X = /* @__PURE__ */ b(Q, [["__scopeId", "data-v-4bdee133"]]);
|
package/es/style.css
CHANGED
|
@@ -221,6 +221,240 @@
|
|
|
221
221
|
width: 100%;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
+
.yahee-operation-log {
|
|
225
|
+
min-width: 350px;
|
|
226
|
+
}
|
|
227
|
+
.yahee-operation-log .yahee-annex-upload {
|
|
228
|
+
width: 100%;
|
|
229
|
+
}
|
|
230
|
+
.yahee-operation-log .d-flex {
|
|
231
|
+
display: flex;
|
|
232
|
+
}
|
|
233
|
+
.yahee-operation-log .text-right {
|
|
234
|
+
text-align: right;
|
|
235
|
+
}
|
|
236
|
+
.yahee-operation-log .marginL6 {
|
|
237
|
+
margin-left: 6px;
|
|
238
|
+
}
|
|
239
|
+
.yahee-operation-log .infinite-list-wrapper {
|
|
240
|
+
overflow: hidden;
|
|
241
|
+
padding: 10px 4px;
|
|
242
|
+
}
|
|
243
|
+
.yahee-operation-log .infinite-list-wrapper .list-item-left {
|
|
244
|
+
display: flex;
|
|
245
|
+
justify-content: flex-start;
|
|
246
|
+
gap: 10px;
|
|
247
|
+
margin-bottom: 18px;
|
|
248
|
+
}
|
|
249
|
+
.yahee-operation-log .infinite-list-wrapper .list-item-left .date {
|
|
250
|
+
margin-top: 6px;
|
|
251
|
+
margin-left: 8px;
|
|
252
|
+
}
|
|
253
|
+
.yahee-operation-log .infinite-list-wrapper .list-item-left .name {
|
|
254
|
+
flex: none;
|
|
255
|
+
height: -moz-fit-content;
|
|
256
|
+
height: fit-content;
|
|
257
|
+
padding: 5px 8px;
|
|
258
|
+
text-align: center;
|
|
259
|
+
border-radius: 2px;
|
|
260
|
+
background: #e8ffe8;
|
|
261
|
+
}
|
|
262
|
+
.yahee-operation-log .infinite-list-wrapper .list-item-left .content {
|
|
263
|
+
border: 1px solid #ccc;
|
|
264
|
+
border-radius: 4px;
|
|
265
|
+
padding: 10px;
|
|
266
|
+
margin-left: -8px;
|
|
267
|
+
background: #f7fff7;
|
|
268
|
+
}
|
|
269
|
+
.yahee-operation-log .infinite-list-wrapper .list-item-right {
|
|
270
|
+
display: flex;
|
|
271
|
+
justify-content: flex-end;
|
|
272
|
+
gap: 10px;
|
|
273
|
+
margin-bottom: 18px;
|
|
274
|
+
}
|
|
275
|
+
.yahee-operation-log .infinite-list-wrapper .list-item-right .date {
|
|
276
|
+
margin-top: 6px;
|
|
277
|
+
margin-right: 8px;
|
|
278
|
+
}
|
|
279
|
+
.yahee-operation-log .infinite-list-wrapper .list-item-right .name {
|
|
280
|
+
flex: none;
|
|
281
|
+
height: -moz-fit-content;
|
|
282
|
+
height: fit-content;
|
|
283
|
+
padding: 5px 8px;
|
|
284
|
+
text-align: center;
|
|
285
|
+
border-radius: 2px;
|
|
286
|
+
background: #f1f1f1;
|
|
287
|
+
}
|
|
288
|
+
.yahee-operation-log .infinite-list-wrapper .list-item-right .content {
|
|
289
|
+
text-align: right;
|
|
290
|
+
padding: 10px;
|
|
291
|
+
margin-right: -8px;
|
|
292
|
+
border: 1px solid #f1f1f1;
|
|
293
|
+
border-radius: 4px;
|
|
294
|
+
background: #fafafa;
|
|
295
|
+
}
|
|
296
|
+
.yahee-operation-log .bg-link {
|
|
297
|
+
color: #3366cc;
|
|
298
|
+
cursor: pointer;
|
|
299
|
+
}
|
|
300
|
+
.yahee-operation-log .imgBox {
|
|
301
|
+
display: flex;
|
|
302
|
+
flex-wrap: wrap;
|
|
303
|
+
}
|
|
304
|
+
.yahee-operation-log .timeBox {
|
|
305
|
+
margin: 0 5px;
|
|
306
|
+
}
|
|
307
|
+
.yahee-operation-log .input-with-select {
|
|
308
|
+
width: 150px;
|
|
309
|
+
}
|
|
310
|
+
.yahee-operation-log .lt-created-time {
|
|
311
|
+
display: block;
|
|
312
|
+
}
|
|
313
|
+
.yahee-operation-log .rt-created-time {
|
|
314
|
+
display: inline-block;
|
|
315
|
+
}
|
|
316
|
+
.yahee-operation-log .content-div {
|
|
317
|
+
width: 100%;
|
|
318
|
+
height: 121px;
|
|
319
|
+
border: 1px solid #ccc;
|
|
320
|
+
padding: 10px;
|
|
321
|
+
box-sizing: border-box;
|
|
322
|
+
}
|
|
323
|
+
.yahee-operation-log .titleRemarks {
|
|
324
|
+
font-size: 14px;
|
|
325
|
+
font-weight: bold;
|
|
326
|
+
padding-left: 5px;
|
|
327
|
+
border-bottom: 1px solid #eee;
|
|
328
|
+
height: 30px;
|
|
329
|
+
line-height: 30px;
|
|
330
|
+
}
|
|
331
|
+
.yahee-operation-log .remarkContent {
|
|
332
|
+
position: relative;
|
|
333
|
+
margin-bottom: 20px;
|
|
334
|
+
border: 1px solid #eee;
|
|
335
|
+
}
|
|
336
|
+
.yahee-operation-log .remarkContent .buttonQuill {
|
|
337
|
+
position: absolute;
|
|
338
|
+
bottom: -35px;
|
|
339
|
+
right: 10px;
|
|
340
|
+
display: flex;
|
|
341
|
+
}
|
|
342
|
+
.yahee-operation-log .remarkContent .buttonQuill button {
|
|
343
|
+
margin-right: 10px;
|
|
344
|
+
}
|
|
345
|
+
.yahee-operation-log .content-main {
|
|
346
|
+
width: 100%;
|
|
347
|
+
}
|
|
348
|
+
.yahee-operation-log .span-backG {
|
|
349
|
+
position: relative;
|
|
350
|
+
display: flex;
|
|
351
|
+
min-height: 70px;
|
|
352
|
+
width: 100%;
|
|
353
|
+
margin-top: 10px;
|
|
354
|
+
}
|
|
355
|
+
.yahee-operation-log .bubble-tail {
|
|
356
|
+
position: absolute;
|
|
357
|
+
right: 85px;
|
|
358
|
+
top: 5px;
|
|
359
|
+
width: 0;
|
|
360
|
+
height: 0;
|
|
361
|
+
border-width: 6px;
|
|
362
|
+
border-style: solid;
|
|
363
|
+
border-color: transparent;
|
|
364
|
+
border-left-width: 9px;
|
|
365
|
+
border-left-color: currentColor;
|
|
366
|
+
color: #eee;
|
|
367
|
+
}
|
|
368
|
+
.yahee-operation-log .leftbubble-tail {
|
|
369
|
+
position: absolute;
|
|
370
|
+
left: 84px;
|
|
371
|
+
top: 5px;
|
|
372
|
+
width: 0;
|
|
373
|
+
height: 0;
|
|
374
|
+
border-width: 7px;
|
|
375
|
+
border-style: solid;
|
|
376
|
+
border-color: transparent;
|
|
377
|
+
margin-bottom: -39px;
|
|
378
|
+
border-right-width: 10px;
|
|
379
|
+
border-right-color: currentColor;
|
|
380
|
+
color: #eee;
|
|
381
|
+
}
|
|
382
|
+
.yahee-operation-log .r-text {
|
|
383
|
+
float: right;
|
|
384
|
+
margin-right: 100px;
|
|
385
|
+
max-width: 420px;
|
|
386
|
+
min-height: 52px;
|
|
387
|
+
}
|
|
388
|
+
.yahee-operation-log .r-text-main {
|
|
389
|
+
background: #fafafa;
|
|
390
|
+
border: 1px solid #ccc;
|
|
391
|
+
border-radius: 2px;
|
|
392
|
+
padding: 4px;
|
|
393
|
+
word-break: break-all;
|
|
394
|
+
text-align: right;
|
|
395
|
+
}
|
|
396
|
+
.yahee-operation-log .l-text {
|
|
397
|
+
margin-left: 100px;
|
|
398
|
+
max-width: 420px;
|
|
399
|
+
min-height: 52px;
|
|
400
|
+
}
|
|
401
|
+
.yahee-operation-log .l-text-main {
|
|
402
|
+
background: #f7fff7;
|
|
403
|
+
border: 1px solid #ccc;
|
|
404
|
+
border-radius: 2px;
|
|
405
|
+
padding: 4px;
|
|
406
|
+
display: inline-block;
|
|
407
|
+
min-width: 123px;
|
|
408
|
+
word-break: break-all;
|
|
409
|
+
}
|
|
410
|
+
.yahee-operation-log .r-name {
|
|
411
|
+
border: 1px solid #ccc;
|
|
412
|
+
position: absolute;
|
|
413
|
+
right: 10px;
|
|
414
|
+
width: 65px;
|
|
415
|
+
line-height: 17px;
|
|
416
|
+
padding: 3px 0 5px;
|
|
417
|
+
text-align: center;
|
|
418
|
+
border: 1px solid #ccc;
|
|
419
|
+
border-radius: 2px;
|
|
420
|
+
background: #f1f1f1;
|
|
421
|
+
word-break: break-all;
|
|
422
|
+
}
|
|
423
|
+
.yahee-operation-log .l-name {
|
|
424
|
+
border: 1px solid #ccc;
|
|
425
|
+
position: absolute;
|
|
426
|
+
left: 10px;
|
|
427
|
+
width: 65px;
|
|
428
|
+
line-height: 17px;
|
|
429
|
+
padding: 3px 0 5px;
|
|
430
|
+
text-align: center;
|
|
431
|
+
border: 1px solid #ccc;
|
|
432
|
+
border-radius: 2px;
|
|
433
|
+
background: #e8ffe8;
|
|
434
|
+
float: right;
|
|
435
|
+
word-break: break-all;
|
|
436
|
+
}
|
|
437
|
+
.yahee-operation-log .text-m {
|
|
438
|
+
word-break: break-all;
|
|
439
|
+
white-space: pre-line;
|
|
440
|
+
}
|
|
441
|
+
.yahee-operation-log .loading {
|
|
442
|
+
display: flex;
|
|
443
|
+
justify-content: center;
|
|
444
|
+
align-items: center;
|
|
445
|
+
margin-bottom: 36px;
|
|
446
|
+
}
|
|
447
|
+
.yahee-operation-log .no-more {
|
|
448
|
+
display: flex;
|
|
449
|
+
justify-content: center;
|
|
450
|
+
align-items: center;
|
|
451
|
+
margin-bottom: 36px;
|
|
452
|
+
}
|
|
453
|
+
.yahee-operation-log .el-form--inline .el-form-item {
|
|
454
|
+
margin-right: 10px !important;
|
|
455
|
+
margin-bottom: 6px !important;
|
|
456
|
+
}
|
|
457
|
+
|
|
224
458
|
:root {
|
|
225
459
|
--el-color-primary: #3366cc;
|
|
226
460
|
--el-text-color-regular: #000;
|
package/es/utils/translate.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { sessionStorageProxy as g, storage as l } from "./storage.js";
|
|
2
2
|
import m from "../_virtual/lodash.js";
|
|
3
|
-
import
|
|
3
|
+
import "../node_modules/.pnpm/axios@1.7.9/node_modules/axios/index.js";
|
|
4
4
|
import { i18nType as c } from "../static/CommonObject.js";
|
|
5
|
-
import { Get as
|
|
6
|
-
|
|
5
|
+
import { Get as h } from "../api/server.js";
|
|
6
|
+
import y from "../node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/axios.js";
|
|
7
|
+
const $ = (e) => {
|
|
7
8
|
var i;
|
|
8
9
|
const t = g.get("employee") || {}, o = d(e);
|
|
9
10
|
if (o === 0) return e;
|
|
@@ -22,7 +23,7 @@ const T = (e) => {
|
|
|
22
23
|
id: o,
|
|
23
24
|
cn: e
|
|
24
25
|
}, u = "http://api-tools-test.yahee.com.cn:81/api/translation/addTranslate";
|
|
25
|
-
return console.log(u, "url"),
|
|
26
|
+
return console.log(u, "url"), y.post(u, p, { withCredentials: !0 }).then((f) => {
|
|
26
27
|
f.data.code;
|
|
27
28
|
}), e;
|
|
28
29
|
}
|
|
@@ -36,7 +37,7 @@ function d(e) {
|
|
|
36
37
|
}
|
|
37
38
|
return t;
|
|
38
39
|
}
|
|
39
|
-
function
|
|
40
|
+
function j(e, t = "") {
|
|
40
41
|
const o = l.get("totalEmployees");
|
|
41
42
|
if (!e || m.isEmpty(o)) return t;
|
|
42
43
|
const n = g.get("employee");
|
|
@@ -49,9 +50,9 @@ function $(e, t = "") {
|
|
|
49
50
|
}
|
|
50
51
|
function E(e) {
|
|
51
52
|
const t = "/employee/all";
|
|
52
|
-
return
|
|
53
|
+
return h(e ? `${t}?idsStr=${e}` : t);
|
|
53
54
|
}
|
|
54
55
|
export {
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
$ as M2,
|
|
57
|
+
j as translateEmployeeName
|
|
57
58
|
};
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
.yahee-operation-log {
|
|
2
2
|
min-width: 350px;
|
|
3
3
|
}
|
|
4
|
+
.yahee-operation-log .yahee-annex-upload {
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
.yahee-operation-log .d-flex {
|
|
8
|
+
display: flex;
|
|
9
|
+
}
|
|
10
|
+
.yahee-operation-log .text-right {
|
|
11
|
+
text-align: right;
|
|
12
|
+
}
|
|
13
|
+
.yahee-operation-log .marginL6 {
|
|
14
|
+
margin-left: 6px;
|
|
15
|
+
}
|
|
4
16
|
.yahee-operation-log .infinite-list-wrapper {
|
|
5
17
|
overflow: hidden;
|
|
6
18
|
padding: 10px 4px;
|
|
@@ -22,14 +34,14 @@
|
|
|
22
34
|
padding: 5px 8px;
|
|
23
35
|
text-align: center;
|
|
24
36
|
border-radius: 2px;
|
|
25
|
-
background: #
|
|
37
|
+
background: #e8ffe8;
|
|
26
38
|
}
|
|
27
39
|
.yahee-operation-log .infinite-list-wrapper .list-item-left .content {
|
|
28
40
|
border: 1px solid #ccc;
|
|
29
41
|
border-radius: 4px;
|
|
30
42
|
padding: 10px;
|
|
31
43
|
margin-left: -8px;
|
|
32
|
-
background: #
|
|
44
|
+
background: #f7fff7;
|
|
33
45
|
}
|
|
34
46
|
.yahee-operation-log .infinite-list-wrapper .list-item-right {
|
|
35
47
|
display: flex;
|
|
@@ -56,7 +68,7 @@
|
|
|
56
68
|
margin-right: -8px;
|
|
57
69
|
border: 1px solid #f1f1f1;
|
|
58
70
|
border-radius: 4px;
|
|
59
|
-
background: #
|
|
71
|
+
background: #fafafa;
|
|
60
72
|
}
|
|
61
73
|
.yahee-operation-log .bg-link {
|
|
62
74
|
color: #3366cc;
|
|
@@ -83,6 +95,7 @@
|
|
|
83
95
|
height: 121px;
|
|
84
96
|
border: 1px solid #ccc;
|
|
85
97
|
padding: 10px;
|
|
98
|
+
box-sizing: border-box;
|
|
86
99
|
}
|
|
87
100
|
.yahee-operation-log .titleRemarks {
|
|
88
101
|
font-size: 14px;
|
|
@@ -150,7 +163,7 @@
|
|
|
150
163
|
min-height: 52px;
|
|
151
164
|
}
|
|
152
165
|
.yahee-operation-log .r-text-main {
|
|
153
|
-
background: #
|
|
166
|
+
background: #fafafa;
|
|
154
167
|
border: 1px solid #ccc;
|
|
155
168
|
border-radius: 2px;
|
|
156
169
|
padding: 4px;
|
|
@@ -163,7 +176,7 @@
|
|
|
163
176
|
min-height: 52px;
|
|
164
177
|
}
|
|
165
178
|
.yahee-operation-log .l-text-main {
|
|
166
|
-
background: #
|
|
179
|
+
background: #f7fff7;
|
|
167
180
|
border: 1px solid #ccc;
|
|
168
181
|
border-radius: 2px;
|
|
169
182
|
padding: 4px;
|
|
@@ -194,7 +207,7 @@
|
|
|
194
207
|
text-align: center;
|
|
195
208
|
border: 1px solid #ccc;
|
|
196
209
|
border-radius: 2px;
|
|
197
|
-
background: #
|
|
210
|
+
background: #e8ffe8;
|
|
198
211
|
float: right;
|
|
199
212
|
word-break: break-all;
|
|
200
213
|
}
|
package/lib/style.css
CHANGED
|
@@ -221,6 +221,240 @@
|
|
|
221
221
|
width: 100%;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
+
.yahee-operation-log {
|
|
225
|
+
min-width: 350px;
|
|
226
|
+
}
|
|
227
|
+
.yahee-operation-log .yahee-annex-upload {
|
|
228
|
+
width: 100%;
|
|
229
|
+
}
|
|
230
|
+
.yahee-operation-log .d-flex {
|
|
231
|
+
display: flex;
|
|
232
|
+
}
|
|
233
|
+
.yahee-operation-log .text-right {
|
|
234
|
+
text-align: right;
|
|
235
|
+
}
|
|
236
|
+
.yahee-operation-log .marginL6 {
|
|
237
|
+
margin-left: 6px;
|
|
238
|
+
}
|
|
239
|
+
.yahee-operation-log .infinite-list-wrapper {
|
|
240
|
+
overflow: hidden;
|
|
241
|
+
padding: 10px 4px;
|
|
242
|
+
}
|
|
243
|
+
.yahee-operation-log .infinite-list-wrapper .list-item-left {
|
|
244
|
+
display: flex;
|
|
245
|
+
justify-content: flex-start;
|
|
246
|
+
gap: 10px;
|
|
247
|
+
margin-bottom: 18px;
|
|
248
|
+
}
|
|
249
|
+
.yahee-operation-log .infinite-list-wrapper .list-item-left .date {
|
|
250
|
+
margin-top: 6px;
|
|
251
|
+
margin-left: 8px;
|
|
252
|
+
}
|
|
253
|
+
.yahee-operation-log .infinite-list-wrapper .list-item-left .name {
|
|
254
|
+
flex: none;
|
|
255
|
+
height: -moz-fit-content;
|
|
256
|
+
height: fit-content;
|
|
257
|
+
padding: 5px 8px;
|
|
258
|
+
text-align: center;
|
|
259
|
+
border-radius: 2px;
|
|
260
|
+
background: #e8ffe8;
|
|
261
|
+
}
|
|
262
|
+
.yahee-operation-log .infinite-list-wrapper .list-item-left .content {
|
|
263
|
+
border: 1px solid #ccc;
|
|
264
|
+
border-radius: 4px;
|
|
265
|
+
padding: 10px;
|
|
266
|
+
margin-left: -8px;
|
|
267
|
+
background: #f7fff7;
|
|
268
|
+
}
|
|
269
|
+
.yahee-operation-log .infinite-list-wrapper .list-item-right {
|
|
270
|
+
display: flex;
|
|
271
|
+
justify-content: flex-end;
|
|
272
|
+
gap: 10px;
|
|
273
|
+
margin-bottom: 18px;
|
|
274
|
+
}
|
|
275
|
+
.yahee-operation-log .infinite-list-wrapper .list-item-right .date {
|
|
276
|
+
margin-top: 6px;
|
|
277
|
+
margin-right: 8px;
|
|
278
|
+
}
|
|
279
|
+
.yahee-operation-log .infinite-list-wrapper .list-item-right .name {
|
|
280
|
+
flex: none;
|
|
281
|
+
height: -moz-fit-content;
|
|
282
|
+
height: fit-content;
|
|
283
|
+
padding: 5px 8px;
|
|
284
|
+
text-align: center;
|
|
285
|
+
border-radius: 2px;
|
|
286
|
+
background: #f1f1f1;
|
|
287
|
+
}
|
|
288
|
+
.yahee-operation-log .infinite-list-wrapper .list-item-right .content {
|
|
289
|
+
text-align: right;
|
|
290
|
+
padding: 10px;
|
|
291
|
+
margin-right: -8px;
|
|
292
|
+
border: 1px solid #f1f1f1;
|
|
293
|
+
border-radius: 4px;
|
|
294
|
+
background: #fafafa;
|
|
295
|
+
}
|
|
296
|
+
.yahee-operation-log .bg-link {
|
|
297
|
+
color: #3366cc;
|
|
298
|
+
cursor: pointer;
|
|
299
|
+
}
|
|
300
|
+
.yahee-operation-log .imgBox {
|
|
301
|
+
display: flex;
|
|
302
|
+
flex-wrap: wrap;
|
|
303
|
+
}
|
|
304
|
+
.yahee-operation-log .timeBox {
|
|
305
|
+
margin: 0 5px;
|
|
306
|
+
}
|
|
307
|
+
.yahee-operation-log .input-with-select {
|
|
308
|
+
width: 150px;
|
|
309
|
+
}
|
|
310
|
+
.yahee-operation-log .lt-created-time {
|
|
311
|
+
display: block;
|
|
312
|
+
}
|
|
313
|
+
.yahee-operation-log .rt-created-time {
|
|
314
|
+
display: inline-block;
|
|
315
|
+
}
|
|
316
|
+
.yahee-operation-log .content-div {
|
|
317
|
+
width: 100%;
|
|
318
|
+
height: 121px;
|
|
319
|
+
border: 1px solid #ccc;
|
|
320
|
+
padding: 10px;
|
|
321
|
+
box-sizing: border-box;
|
|
322
|
+
}
|
|
323
|
+
.yahee-operation-log .titleRemarks {
|
|
324
|
+
font-size: 14px;
|
|
325
|
+
font-weight: bold;
|
|
326
|
+
padding-left: 5px;
|
|
327
|
+
border-bottom: 1px solid #eee;
|
|
328
|
+
height: 30px;
|
|
329
|
+
line-height: 30px;
|
|
330
|
+
}
|
|
331
|
+
.yahee-operation-log .remarkContent {
|
|
332
|
+
position: relative;
|
|
333
|
+
margin-bottom: 20px;
|
|
334
|
+
border: 1px solid #eee;
|
|
335
|
+
}
|
|
336
|
+
.yahee-operation-log .remarkContent .buttonQuill {
|
|
337
|
+
position: absolute;
|
|
338
|
+
bottom: -35px;
|
|
339
|
+
right: 10px;
|
|
340
|
+
display: flex;
|
|
341
|
+
}
|
|
342
|
+
.yahee-operation-log .remarkContent .buttonQuill button {
|
|
343
|
+
margin-right: 10px;
|
|
344
|
+
}
|
|
345
|
+
.yahee-operation-log .content-main {
|
|
346
|
+
width: 100%;
|
|
347
|
+
}
|
|
348
|
+
.yahee-operation-log .span-backG {
|
|
349
|
+
position: relative;
|
|
350
|
+
display: flex;
|
|
351
|
+
min-height: 70px;
|
|
352
|
+
width: 100%;
|
|
353
|
+
margin-top: 10px;
|
|
354
|
+
}
|
|
355
|
+
.yahee-operation-log .bubble-tail {
|
|
356
|
+
position: absolute;
|
|
357
|
+
right: 85px;
|
|
358
|
+
top: 5px;
|
|
359
|
+
width: 0;
|
|
360
|
+
height: 0;
|
|
361
|
+
border-width: 6px;
|
|
362
|
+
border-style: solid;
|
|
363
|
+
border-color: transparent;
|
|
364
|
+
border-left-width: 9px;
|
|
365
|
+
border-left-color: currentColor;
|
|
366
|
+
color: #eee;
|
|
367
|
+
}
|
|
368
|
+
.yahee-operation-log .leftbubble-tail {
|
|
369
|
+
position: absolute;
|
|
370
|
+
left: 84px;
|
|
371
|
+
top: 5px;
|
|
372
|
+
width: 0;
|
|
373
|
+
height: 0;
|
|
374
|
+
border-width: 7px;
|
|
375
|
+
border-style: solid;
|
|
376
|
+
border-color: transparent;
|
|
377
|
+
margin-bottom: -39px;
|
|
378
|
+
border-right-width: 10px;
|
|
379
|
+
border-right-color: currentColor;
|
|
380
|
+
color: #eee;
|
|
381
|
+
}
|
|
382
|
+
.yahee-operation-log .r-text {
|
|
383
|
+
float: right;
|
|
384
|
+
margin-right: 100px;
|
|
385
|
+
max-width: 420px;
|
|
386
|
+
min-height: 52px;
|
|
387
|
+
}
|
|
388
|
+
.yahee-operation-log .r-text-main {
|
|
389
|
+
background: #fafafa;
|
|
390
|
+
border: 1px solid #ccc;
|
|
391
|
+
border-radius: 2px;
|
|
392
|
+
padding: 4px;
|
|
393
|
+
word-break: break-all;
|
|
394
|
+
text-align: right;
|
|
395
|
+
}
|
|
396
|
+
.yahee-operation-log .l-text {
|
|
397
|
+
margin-left: 100px;
|
|
398
|
+
max-width: 420px;
|
|
399
|
+
min-height: 52px;
|
|
400
|
+
}
|
|
401
|
+
.yahee-operation-log .l-text-main {
|
|
402
|
+
background: #f7fff7;
|
|
403
|
+
border: 1px solid #ccc;
|
|
404
|
+
border-radius: 2px;
|
|
405
|
+
padding: 4px;
|
|
406
|
+
display: inline-block;
|
|
407
|
+
min-width: 123px;
|
|
408
|
+
word-break: break-all;
|
|
409
|
+
}
|
|
410
|
+
.yahee-operation-log .r-name {
|
|
411
|
+
border: 1px solid #ccc;
|
|
412
|
+
position: absolute;
|
|
413
|
+
right: 10px;
|
|
414
|
+
width: 65px;
|
|
415
|
+
line-height: 17px;
|
|
416
|
+
padding: 3px 0 5px;
|
|
417
|
+
text-align: center;
|
|
418
|
+
border: 1px solid #ccc;
|
|
419
|
+
border-radius: 2px;
|
|
420
|
+
background: #f1f1f1;
|
|
421
|
+
word-break: break-all;
|
|
422
|
+
}
|
|
423
|
+
.yahee-operation-log .l-name {
|
|
424
|
+
border: 1px solid #ccc;
|
|
425
|
+
position: absolute;
|
|
426
|
+
left: 10px;
|
|
427
|
+
width: 65px;
|
|
428
|
+
line-height: 17px;
|
|
429
|
+
padding: 3px 0 5px;
|
|
430
|
+
text-align: center;
|
|
431
|
+
border: 1px solid #ccc;
|
|
432
|
+
border-radius: 2px;
|
|
433
|
+
background: #e8ffe8;
|
|
434
|
+
float: right;
|
|
435
|
+
word-break: break-all;
|
|
436
|
+
}
|
|
437
|
+
.yahee-operation-log .text-m {
|
|
438
|
+
word-break: break-all;
|
|
439
|
+
white-space: pre-line;
|
|
440
|
+
}
|
|
441
|
+
.yahee-operation-log .loading {
|
|
442
|
+
display: flex;
|
|
443
|
+
justify-content: center;
|
|
444
|
+
align-items: center;
|
|
445
|
+
margin-bottom: 36px;
|
|
446
|
+
}
|
|
447
|
+
.yahee-operation-log .no-more {
|
|
448
|
+
display: flex;
|
|
449
|
+
justify-content: center;
|
|
450
|
+
align-items: center;
|
|
451
|
+
margin-bottom: 36px;
|
|
452
|
+
}
|
|
453
|
+
.yahee-operation-log .el-form--inline .el-form-item {
|
|
454
|
+
margin-right: 10px !important;
|
|
455
|
+
margin-bottom: 6px !important;
|
|
456
|
+
}
|
|
457
|
+
|
|
224
458
|
:root {
|
|
225
459
|
--el-color-primary: #3366cc;
|
|
226
460
|
--el-text-color-regular: #000;
|