@das-fed/ui 6.4.0-dev.89 → 6.4.0-dev.90
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/package.json +5 -5
- package/packages/business-components/app-container/index.js +66 -66
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/change-enterprises/index.js +1 -1
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/device-panel/index.js +4 -4
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +1 -1
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/i18n/index.d.ts +0 -5
- package/packages/business-components/process-log/index.js +22 -23
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/index.js +1 -1
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/index.js +2 -2
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/index.js +1 -1
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/components/calendar/index.js +98 -100
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/index.js +12 -12
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/color-picker/index.js +6 -6
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/date-picker/index.js +121 -115
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/image-upload/i18n/index.d.ts +5 -0
- package/packages/components/image-upload/index.js +81 -76
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +127 -127
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/index.js +11 -11
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-dialog-select/index.js +1 -1
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-number/index.js +161 -144
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/style.css +1 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/search/index.js +70 -79
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search/style.css +1 -1
- package/packages/components/search/style.css.gz +0 -0
- package/packages/components/search-form/index.js +718 -705
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/index.js +86 -86
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/table/index.js +2817 -2817
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tree/index.js +1 -1
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-select/index.js +344 -344
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-v2/index.js +1 -1
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/upload/index.js +47 -47
- package/packages/components/upload/index.js.gz +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/ui",
|
|
3
|
-
"version": "6.4.0-dev.
|
|
3
|
+
"version": "6.4.0-dev.90",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@antv/x6-plugin-snapline": "^2.1.7",
|
|
27
27
|
"@antv/x6-plugin-transform": "^2.1.8",
|
|
28
28
|
"@antv/x6-vue-shape": "^2.1.2",
|
|
29
|
-
"@das-fed/cli": "6.4.0-dev.
|
|
29
|
+
"@das-fed/cli": "6.4.0-dev.90",
|
|
30
30
|
"@element-plus/icons-vue": "^2.3.1",
|
|
31
31
|
"@types/lodash": "^4.14.194",
|
|
32
32
|
"@types/lodash-es": "^4.17.9",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"vue-tsc": "^2.0.29"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@das-fed/ui": "6.4.0-dev.
|
|
60
|
-
"@das-fed/utils": "6.4.0-dev.
|
|
61
|
-
"@das-fed/web": "6.4.0-dev.
|
|
59
|
+
"@das-fed/ui": "6.4.0-dev.90",
|
|
60
|
+
"@das-fed/utils": "6.4.0-dev.90",
|
|
61
|
+
"@das-fed/web": "6.4.0-dev.90",
|
|
62
62
|
"@wangeditor/editor": "^5.1.23",
|
|
63
63
|
"@wangeditor/editor-for-vue": "^5.1.12",
|
|
64
64
|
"@wangeditor/plugin-upload-attachment": "^1.1.0",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/app-container/style.css';
|
|
2
|
-
import { withInstall as
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
import { ElRow as
|
|
2
|
+
import { withInstall as B } from "@das-fed/utils/with-install/index";
|
|
3
|
+
import { defineComponent as L, computed as C, ref as U, watch as V, onMounted as $, openBlock as a, createBlock as d, unref as l, withCtx as f, createElementVNode as i, normalizeClass as M, normalizeStyle as k, createElementBlock as s, Fragment as u, renderList as h, toDisplayString as g, withDirectives as w, createTextVNode as z } from "vue";
|
|
4
|
+
import { ElRow as O, ElCol as P } from "element-plus";
|
|
5
5
|
import "element-plus/es/components/row/style/css";
|
|
6
6
|
import "element-plus/es/components/col/style/css";
|
|
7
|
-
import { DasEmpty as
|
|
8
|
-
import { vDasTooltip as
|
|
9
|
-
import { DasScrollbar as
|
|
10
|
-
import { pureImageSrc as
|
|
11
|
-
import { setThemeRule as
|
|
12
|
-
const
|
|
7
|
+
import { DasEmpty as G } from "@das-fed/ui/packages/components/empty/index";
|
|
8
|
+
import { vDasTooltip as x } from "@das-fed/ui/packages/components/text-tooltip/index";
|
|
9
|
+
import { DasScrollbar as H } from "@das-fed/ui/packages/components/scrollbar/index";
|
|
10
|
+
import { pureImageSrc as D } from "@das-fed/utils/pure-image-src";
|
|
11
|
+
import { setThemeRule as J } from "@das-fed/web/packages/theme/index";
|
|
12
|
+
const j = {
|
|
13
13
|
"--das-application-app-bg-color": {
|
|
14
14
|
kjl: "#2673DC",
|
|
15
15
|
cjb: "#343848",
|
|
@@ -20,101 +20,101 @@ const D = {
|
|
|
20
20
|
cjb: "#FFFFFF",
|
|
21
21
|
ssl: "#FFFFFF"
|
|
22
22
|
}
|
|
23
|
-
},
|
|
23
|
+
}, K = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "application-list"
|
|
26
|
-
},
|
|
26
|
+
}, Q = { class: "app-box" }, X = { class: "cell cell-title" }, Y = { class: "app-name" }, Z = { class: "cell app-list" }, b = ["onClick"], A = ["src"], tt = { class: "box-right" }, et = { class: "name" }, ot = { class: "describe" }, nt = /* @__PURE__ */ L({
|
|
27
27
|
__name: "index",
|
|
28
28
|
props: {
|
|
29
29
|
theme: { default: "default" },
|
|
30
30
|
appCategorys: { default: () => [] }
|
|
31
31
|
},
|
|
32
32
|
emits: ["open-app"],
|
|
33
|
-
setup(
|
|
34
|
-
const
|
|
33
|
+
setup(E, { emit: T }) {
|
|
34
|
+
const r = E, I = T, N = C(() => {
|
|
35
35
|
const t = {};
|
|
36
|
-
return
|
|
36
|
+
return r.theme === "default" || Object.keys(j).forEach((o) => {
|
|
37
37
|
var n;
|
|
38
|
-
t[
|
|
38
|
+
t[o] = (n = j[o]) == null ? void 0 : n[r.theme];
|
|
39
39
|
}), t;
|
|
40
|
-
}),
|
|
41
|
-
if (!
|
|
42
|
-
if (
|
|
43
|
-
const c = parseInt(window.getComputedStyle(
|
|
44
|
-
|
|
40
|
+
}), R = (t) => I("open-app", t), y = U("18px"), _ = (t, o) => {
|
|
41
|
+
if (!o) return;
|
|
42
|
+
if (o.offsetWidth > t) {
|
|
43
|
+
const c = parseInt(window.getComputedStyle(o).fontSize) - 1;
|
|
44
|
+
o.style.fontSize = c + "px", y.value = c + "px", _(t, o);
|
|
45
45
|
}
|
|
46
|
-
},
|
|
47
|
-
await
|
|
46
|
+
}, F = async () => {
|
|
47
|
+
await W();
|
|
48
48
|
const t = document.querySelectorAll(".application-content .cell-title .app-name")[0];
|
|
49
49
|
if (!t) return;
|
|
50
|
-
const
|
|
51
|
-
let
|
|
52
|
-
document.querySelectorAll(".application-content .cell-title .app-name > .text").forEach((
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
}),
|
|
56
|
-
},
|
|
57
|
-
const
|
|
50
|
+
const o = parseInt(getComputedStyle(t).paddingLeft) || 0, n = parseInt(getComputedStyle(t).paddingRight) || 0, p = t.clientWidth - o - n;
|
|
51
|
+
let c = 0, e = null;
|
|
52
|
+
document.querySelectorAll(".application-content .cell-title .app-name > .text").forEach((m) => {
|
|
53
|
+
const v = m.offsetWidth;
|
|
54
|
+
v > c && (c = v, e = m);
|
|
55
|
+
}), _(p, e);
|
|
56
|
+
}, W = () => new Promise((t) => {
|
|
57
|
+
const o = () => {
|
|
58
58
|
const n = document.querySelectorAll(".application-content .cell-title .app-name");
|
|
59
|
-
if ((n == null ? void 0 : n.length) ===
|
|
60
|
-
setTimeout(() =>
|
|
59
|
+
if ((n == null ? void 0 : n.length) === r.appCategorys.length) return t();
|
|
60
|
+
setTimeout(() => o(), 50);
|
|
61
61
|
};
|
|
62
|
-
|
|
63
|
-
}),
|
|
64
|
-
return V(() =>
|
|
65
|
-
default:
|
|
62
|
+
o();
|
|
63
|
+
}), q = C(() => r.appCategorys.map((t) => t.name));
|
|
64
|
+
return V(() => q.value, F, { deep: !0 }), $(F), (t, o) => (a(), d(l(H), null, {
|
|
65
|
+
default: f(() => [
|
|
66
66
|
i("div", {
|
|
67
|
-
class:
|
|
68
|
-
style:
|
|
67
|
+
class: M(["application-content", `theme-${t.theme}`]),
|
|
68
|
+
style: k(N.value)
|
|
69
69
|
}, [
|
|
70
|
-
t.appCategorys && t.appCategorys.length ? (a(), s("div",
|
|
71
|
-
(a(!0), s(u, null,
|
|
70
|
+
t.appCategorys && t.appCategorys.length ? (a(), s("div", K, [
|
|
71
|
+
(a(!0), s(u, null, h(t.appCategorys, (n, p) => (a(), s("div", Q, [
|
|
72
72
|
(a(), s("div", {
|
|
73
|
-
key:
|
|
73
|
+
key: p,
|
|
74
74
|
class: "row"
|
|
75
75
|
}, [
|
|
76
|
-
i("div",
|
|
77
|
-
i("div",
|
|
76
|
+
i("div", X, [
|
|
77
|
+
i("div", Y, [
|
|
78
78
|
i("span", {
|
|
79
79
|
class: "text",
|
|
80
|
-
style:
|
|
81
|
-
},
|
|
80
|
+
style: k({ fontSize: y.value })
|
|
81
|
+
}, g(n.name), 5)
|
|
82
82
|
])
|
|
83
83
|
]),
|
|
84
|
-
i("div",
|
|
85
|
-
(a(!0), s(u, null,
|
|
84
|
+
i("div", Z, [
|
|
85
|
+
(a(!0), s(u, null, h(n.apps, (c) => (a(), d(l(O), {
|
|
86
86
|
class: "app-row",
|
|
87
87
|
gutter: 20
|
|
88
88
|
}, {
|
|
89
|
-
default:
|
|
90
|
-
(a(!0), s(u, null,
|
|
89
|
+
default: f(() => [
|
|
90
|
+
(a(!0), s(u, null, h(c, (e, S) => (a(), d(l(P), {
|
|
91
91
|
class: "app-col",
|
|
92
|
-
key:
|
|
92
|
+
key: S,
|
|
93
93
|
span: 6
|
|
94
94
|
}, {
|
|
95
|
-
default:
|
|
95
|
+
default: f(() => [
|
|
96
96
|
i("div", {
|
|
97
97
|
class: "sub-app",
|
|
98
|
-
onClick: (
|
|
98
|
+
onClick: (m) => R(e)
|
|
99
99
|
}, [
|
|
100
100
|
i("img", {
|
|
101
101
|
class: "img",
|
|
102
|
-
src:
|
|
102
|
+
src: e != null && e.iconDomain ? e.iconDomain + l(D)(e == null ? void 0 : e.iconUrl) : l(D)(e == null ? void 0 : e.iconUrl),
|
|
103
103
|
alt: ""
|
|
104
|
-
}, null, 8,
|
|
105
|
-
i("div",
|
|
106
|
-
|
|
107
|
-
|
|
104
|
+
}, null, 8, A),
|
|
105
|
+
i("div", tt, [
|
|
106
|
+
w((a(), s("div", et, [
|
|
107
|
+
z(g(e.name), 1)
|
|
108
108
|
])), [
|
|
109
|
-
[l(
|
|
109
|
+
[l(x)]
|
|
110
110
|
]),
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
w((a(), s("div", ot, [
|
|
112
|
+
z(g(e.description), 1)
|
|
113
113
|
])), [
|
|
114
|
-
[l(
|
|
114
|
+
[l(x)]
|
|
115
115
|
])
|
|
116
116
|
])
|
|
117
|
-
], 8,
|
|
117
|
+
], 8, b)
|
|
118
118
|
]),
|
|
119
119
|
_: 2
|
|
120
120
|
}, 1024))), 128))
|
|
@@ -124,7 +124,7 @@ const D = {
|
|
|
124
124
|
])
|
|
125
125
|
]))
|
|
126
126
|
]))), 256))
|
|
127
|
-
])) : (a(),
|
|
127
|
+
])) : (a(), d(l(G), {
|
|
128
128
|
key: 1,
|
|
129
129
|
size: "large"
|
|
130
130
|
}))
|
|
@@ -133,15 +133,15 @@ const D = {
|
|
|
133
133
|
_: 1
|
|
134
134
|
}));
|
|
135
135
|
}
|
|
136
|
-
}),
|
|
136
|
+
}), at = {
|
|
137
137
|
"--das-application-app-bg-color": "#343848",
|
|
138
138
|
"--das-application-app-color": "#ffffff",
|
|
139
139
|
"--das-application-subapp-bg-color": "#ffffff",
|
|
140
140
|
"--das-application-subapp-name-color": "#212121",
|
|
141
141
|
"--das-application-subapp-describe-color": "#999999"
|
|
142
142
|
};
|
|
143
|
-
|
|
144
|
-
const ht =
|
|
143
|
+
J(at);
|
|
144
|
+
const ht = B(nt);
|
|
145
145
|
export {
|
|
146
146
|
ht as DasAppContainer
|
|
147
147
|
};
|
|
Binary file
|
|
@@ -152,7 +152,7 @@ const $ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAACoCAYAAAB0S6W0AAA
|
|
|
152
152
|
t[X] = u;
|
|
153
153
|
return t;
|
|
154
154
|
}, de = /* @__PURE__ */ ae(fe, [["__scopeId", "data-v-67b02e8d"]]), le = {
|
|
155
|
-
选择登录企业: { "zh-CN": "选择登录企业", en: "Select
|
|
155
|
+
选择登录企业: { "zh-CN": "选择登录企业", en: "Select login enterprise", _appCode: "framework" },
|
|
156
156
|
搜索企业名称: { "zh-CN": "搜索企业名称", en: "Search enterprise name", _appCode: "framework" },
|
|
157
157
|
进入: { "zh-CN": "进入", en: "Enter", _appCode: "framework" }
|
|
158
158
|
};
|
|
Binary file
|
|
@@ -48295,7 +48295,7 @@ ti.get("/emergency-event/event/group/member");
|
|
|
48295
48295
|
const Zte = ti.get("/emergency-event/engine/event");
|
|
48296
48296
|
ti.post("/emergency-event/event");
|
|
48297
48297
|
const qte = ti.get("/emergency-event/process-track"), Kte = {
|
|
48298
|
-
搜索姓名: { "zh-CN": "搜索姓名", en: "Search
|
|
48298
|
+
搜索姓名: { "zh-CN": "搜索姓名", en: "Search name", _appCode: "framework" },
|
|
48299
48299
|
账号: { "zh-CN": "账号", en: "Account", _appCode: "framework" },
|
|
48300
48300
|
姓名: { "zh-CN": "姓名", en: "Name", _appCode: "framework" },
|
|
48301
48301
|
手机号: { "zh-CN": "手机号", en: "Phone Number", _appCode: "framework" },
|
|
@@ -48306,7 +48306,7 @@ const qte = ti.get("/emergency-event/process-track"), Kte = {
|
|
|
48306
48306
|
事件类型: { "zh-CN": "事件类型", en: "Category", _appCode: "framework" },
|
|
48307
48307
|
事件等级: { "zh-CN": "事件等级", en: "Event Level", _appCode: "framework" },
|
|
48308
48308
|
应急负责人: { "zh-CN": "应急负责人", en: "Leader", _appCode: "framework" },
|
|
48309
|
-
请选择: { "zh-CN": "请选择", en: "Please
|
|
48309
|
+
请选择: { "zh-CN": "请选择", en: "Please select", _appCode: "framework" },
|
|
48310
48310
|
应急成员: { "zh-CN": "应急成员", en: "Members", _appCode: "framework" },
|
|
48311
48311
|
处置时限: { "zh-CN": "处置时限", en: "Time Limit", _appCode: "framework" },
|
|
48312
48312
|
事件定位: { "zh-CN": "事件定位", en: "Location", _appCode: "framework" },
|
|
@@ -51496,7 +51496,7 @@ const Qte = (r) => r === null || typeof r > "u" || r === "", PD = (r, t = "YYYY/
|
|
|
51496
51496
|
汉字: { "zh-CN": "汉字", en: "Chinese Characters", _appCode: "framework" },
|
|
51497
51497
|
个汉字: { "zh-CN": "个汉字", en: "Characters", _appCode: "framework" },
|
|
51498
51498
|
字符: { "zh-CN": "字符", en: "Chinese Characters", _appCode: "framework" },
|
|
51499
|
-
必选: { "zh-CN": "必选", en: "
|
|
51499
|
+
必选: { "zh-CN": "必选", en: "Required", _appCode: "framework" },
|
|
51500
51500
|
之间的正整数: { "zh-CN": "之间的正整数", en: "Positive Integer Between", _appCode: "framework" },
|
|
51501
51501
|
一级: { "zh-CN": "一级", en: "Level 1", _appCode: "framework" },
|
|
51502
51502
|
二级: { "zh-CN": "二级", en: "Level 2", _appCode: "framework" },
|
|
@@ -51580,7 +51580,7 @@ const Qte = (r) => r === null || typeof r > "u" || r === "", PD = (r, t = "YYYY/
|
|
|
51580
51580
|
结构图: { "zh-CN": "结构图", en: "Structural Diagram", _appCode: "framework" },
|
|
51581
51581
|
BIM图: { "zh-CN": "BIM图", en: "Bim Diagram", _appCode: "framework" },
|
|
51582
51582
|
图: { "zh-CN": "图", en: "Diagram", _appCode: "framework" },
|
|
51583
|
-
图纸: { "zh-CN": "图纸", en: "
|
|
51583
|
+
图纸: { "zh-CN": "图纸", en: "Drawing", _appCode: "framework" },
|
|
51584
51584
|
各业务绑定设备后: {
|
|
51585
51585
|
"zh-CN": "各业务绑定设备后",
|
|
51586
51586
|
en: "After binding devices to each business",
|
|
Binary file
|
|
@@ -2415,7 +2415,7 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2415
2415
|
},
|
|
2416
2416
|
"个人/公司": { "zh-CN": "个人/公司", en: "Individual/Company", _appCode: "framework" },
|
|
2417
2417
|
选择源单: { "zh-CN": "选择源单", en: "Select Source Document", _appCode: "framework" },
|
|
2418
|
-
请选择: { "zh-CN": "请选择", en: "Please
|
|
2418
|
+
请选择: { "zh-CN": "请选择", en: "Please select", _appCode: "framework" }
|
|
2419
2419
|
};
|
|
2420
2420
|
wt(Vn);
|
|
2421
2421
|
const xn = pt(Dn);
|
|
Binary file
|
|
@@ -5,10 +5,10 @@ import { setThemeRule as q } from "@das-fed/web/packages/theme/index";
|
|
|
5
5
|
import { defineComponent as m, openBlock as n, createElementBlock as d, createVNode as w, unref as l, withCtx as R, createElementVNode as f, createCommentVNode as c, ref as y, onMounted as F, watch as T, normalizeClass as v, Fragment as E, renderList as P, normalizeStyle as A, toDisplayString as p, createBlock as g, useCssVars as M, computed as G, createTextVNode as W, isRef as x, mergeProps as _ } from "vue";
|
|
6
6
|
import { TimelineItem as $ } from "ant-design-vue";
|
|
7
7
|
import { DasIconPhone as U } from "@das-fed/ui/packages/icons/phone/index";
|
|
8
|
-
import { DasTooltip as
|
|
8
|
+
import { DasTooltip as Q } from "@das-fed/ui/packages/components/tooltip/index";
|
|
9
9
|
import { getConfig as D } from "@das-fed/utils/config";
|
|
10
|
-
import { DasIconUnflod as
|
|
11
|
-
import { DasIconFold as
|
|
10
|
+
import { DasIconUnflod as Y } from "@das-fed/ui/packages/icons/unflod/index";
|
|
11
|
+
import { DasIconFold as z } from "@das-fed/ui/packages/icons/fold/index";
|
|
12
12
|
import { DasPreview as oo } from "@das-fed/ui/packages/components/preview/index";
|
|
13
13
|
import { DasIconLink as eo } from "@das-fed/ui/packages/icons/link/index";
|
|
14
14
|
import { isEmpty as k } from "@das-fed/utils/common-tools";
|
|
@@ -19,7 +19,6 @@ import ro from "dayjs";
|
|
|
19
19
|
import { DasTimeLine as lo } from "@das-fed/ui/packages/components/time-line/index";
|
|
20
20
|
import { DasProcessLogItem as ao } from "@das-fed/ui/packages/business-components/process-log/index";
|
|
21
21
|
const to = {
|
|
22
|
-
备注: { "zh-CN": "备注", en: "Notes", _appCode: "framework" },
|
|
23
22
|
非常差: { "zh-CN": "非常差", en: "Very Poor", _appCode: "framework" },
|
|
24
23
|
差: { "zh-CN": "差", en: "Poor", _appCode: "framework" },
|
|
25
24
|
一般: { "zh-CN": "一般", en: "Average", _appCode: "framework" },
|
|
@@ -51,7 +50,7 @@ const to = {
|
|
|
51
50
|
},
|
|
52
51
|
setup(C) {
|
|
53
52
|
return (s, r) => (n(), d("div", Ao, [
|
|
54
|
-
w(l(
|
|
53
|
+
w(l(Q), {
|
|
55
54
|
placement: "top",
|
|
56
55
|
content: s.userPhone,
|
|
57
56
|
disabled: !s.userPhone
|
|
@@ -110,7 +109,7 @@ const to = {
|
|
|
110
109
|
var O, t;
|
|
111
110
|
return n(), d("div", Io, [
|
|
112
111
|
f("div", Bo, [
|
|
113
|
-
w(l(
|
|
112
|
+
w(l(Q), {
|
|
114
113
|
placement: "top",
|
|
115
114
|
content: u == null ? void 0 : u.userPhone,
|
|
116
115
|
disabled: !(u != null && u.userPhone)
|
|
@@ -135,7 +134,7 @@ const to = {
|
|
|
135
134
|
class: "name-text",
|
|
136
135
|
style: A({ color: a.fontColor })
|
|
137
136
|
}, p(u == null ? void 0 : u.userName), 5)) : c("", !0),
|
|
138
|
-
u != null && u.userName && ((t = u == null ? void 0 : u.userName) == null ? void 0 : t.length) > 4 ? (n(), g(l(
|
|
137
|
+
u != null && u.userName && ((t = u == null ? void 0 : u.userName) == null ? void 0 : t.length) > 4 ? (n(), g(l(Q), {
|
|
139
138
|
key: 1,
|
|
140
139
|
placement: "top",
|
|
141
140
|
content: u == null ? void 0 : u.userName
|
|
@@ -160,12 +159,12 @@ const to = {
|
|
|
160
159
|
class: v(["text-collaspe", a.fontColor ? "op65" : ""]),
|
|
161
160
|
style: A({ color: a.fontColor })
|
|
162
161
|
}, p(s.value ? l(I)("展开") : l(I)("收起")), 7),
|
|
163
|
-
s.value ? (n(), g(l(
|
|
162
|
+
s.value ? (n(), g(l(z), {
|
|
164
163
|
key: 1,
|
|
165
164
|
size: "mini",
|
|
166
165
|
style: A({ opacity: a.fontColor ? 0.65 : "" }),
|
|
167
166
|
iconColor: a.fontColor ? a.fontColor : "#999"
|
|
168
|
-
}, null, 8, ["style", "iconColor"])) : (n(), g(l(
|
|
167
|
+
}, null, 8, ["style", "iconColor"])) : (n(), g(l(Y), {
|
|
169
168
|
key: 0,
|
|
170
169
|
size: "mini",
|
|
171
170
|
style: A({ opacity: a.fontColor ? 0.65 : "" }),
|
|
@@ -177,7 +176,7 @@ const to = {
|
|
|
177
176
|
}), Lo = /* @__PURE__ */ b(ko, [["__scopeId", "data-v-66acc098"]]), yo = { class: "file-content" }, mo = { class: "file-box" }, bo = ["onMouseenter", "onMouseleave"], Eo = { class: "file-item-content" }, Po = ["fontColor"], Ro = {
|
|
178
177
|
key: 0,
|
|
179
178
|
class: "pre-file"
|
|
180
|
-
}, Oo = ["onClick"],
|
|
179
|
+
}, Oo = ["onClick"], Qo = /* @__PURE__ */ m({
|
|
181
180
|
__name: "fileInfo",
|
|
182
181
|
props: {
|
|
183
182
|
fileList: { default: [] },
|
|
@@ -198,14 +197,14 @@ const to = {
|
|
|
198
197
|
}, h = (t) => t == null ? void 0 : t.substring(t == null ? void 0 : t.lastIndexOf(".")), a = (t) => t == null ? void 0 : t.substring(0, t == null ? void 0 : t.lastIndexOf(".")), L = (t) => {
|
|
199
198
|
}, u = () => {
|
|
200
199
|
var t;
|
|
201
|
-
return r != null && r.value ? s == null ? void 0 : s.fileList : (t = s == null ? void 0 : s.fileList) == null ? void 0 : t.filter((
|
|
200
|
+
return r != null && r.value ? s == null ? void 0 : s.fileList : (t = s == null ? void 0 : s.fileList) == null ? void 0 : t.filter((S, i) => i < 1);
|
|
202
201
|
}, N = () => {
|
|
203
202
|
r.value = !r.value;
|
|
204
203
|
}, O = (t) => {
|
|
205
|
-
const
|
|
206
|
-
i.href = `${D().baseURL}/oss/${t.url}`, i.download =
|
|
204
|
+
const S = t.name, i = document.createElement("a");
|
|
205
|
+
i.href = `${D().baseURL}/oss/${t.url}`, i.download = S, i.click(), document.body.removeChild(i);
|
|
207
206
|
};
|
|
208
|
-
return (t,
|
|
207
|
+
return (t, S) => (n(), d("div", yo, [
|
|
209
208
|
f("div", mo, [
|
|
210
209
|
(n(!0), d(E, null, P(u(), (i, X) => (n(), d("div", {
|
|
211
210
|
class: "file-item",
|
|
@@ -222,7 +221,7 @@ const to = {
|
|
|
222
221
|
size: "mini",
|
|
223
222
|
iconColor: "#666666"
|
|
224
223
|
}),
|
|
225
|
-
i != null && i.name ? (n(), g(l(
|
|
224
|
+
i != null && i.name ? (n(), g(l(Q), {
|
|
226
225
|
key: 0,
|
|
227
226
|
class: "file-text",
|
|
228
227
|
placement: "top",
|
|
@@ -262,12 +261,12 @@ const to = {
|
|
|
262
261
|
class: v(["text-collaspe", t.fontColor ? "op65" : ""]),
|
|
263
262
|
style: A({ color: t.fontColor })
|
|
264
263
|
}, p(r.value ? l(I)("收起") : l(I)("展开")), 7),
|
|
265
|
-
r.value ? (n(), g(l(
|
|
264
|
+
r.value ? (n(), g(l(Y), {
|
|
266
265
|
key: 0,
|
|
267
266
|
size: "mini",
|
|
268
267
|
style: A({ opacity: t.fontColor ? 0.65 : "" }),
|
|
269
268
|
iconColor: t.fontColor ? t.fontColor : "#999"
|
|
270
|
-
}, null, 8, ["style", "iconColor"])) : (n(), g(l(
|
|
269
|
+
}, null, 8, ["style", "iconColor"])) : (n(), g(l(z), {
|
|
271
270
|
key: 1,
|
|
272
271
|
size: "mini",
|
|
273
272
|
style: A({ opacity: t.fontColor ? 0.65 : "" }),
|
|
@@ -276,7 +275,7 @@ const to = {
|
|
|
276
275
|
])) : c("", !0)
|
|
277
276
|
]));
|
|
278
277
|
}
|
|
279
|
-
}),
|
|
278
|
+
}), So = /* @__PURE__ */ b(Qo, [["__scopeId", "data-v-b68b2060"]]), Yo = { class: "rate-box" }, zo = { class: "rata-star" }, No = { class: "customStart" }, Vo = { class: "customStart" }, Ho = /* @__PURE__ */ m({
|
|
280
279
|
__name: "rateInfo",
|
|
281
280
|
props: {
|
|
282
281
|
userRate: { default: 0 },
|
|
@@ -285,8 +284,8 @@ const to = {
|
|
|
285
284
|
},
|
|
286
285
|
setup(C) {
|
|
287
286
|
const s = (r) => Number(r);
|
|
288
|
-
return (r, o) => (n(), d("div",
|
|
289
|
-
f("div",
|
|
287
|
+
return (r, o) => (n(), d("div", Yo, [
|
|
288
|
+
f("div", zo, [
|
|
290
289
|
(n(!0), d(E, null, P(s(r.userRate), (e) => (n(), d("div", No, [
|
|
291
290
|
w(l(so), { size: "large" })
|
|
292
291
|
]))), 256)),
|
|
@@ -408,12 +407,12 @@ const to = {
|
|
|
408
407
|
class: v(["text-collaspe", a.fontColor ? "op65" : ""]),
|
|
409
408
|
style: A({ color: a.fontColor })
|
|
410
409
|
}, p(r.value ? l(I)("收起") : l(I)("展开")), 7),
|
|
411
|
-
r.value ? (n(), g(l(
|
|
410
|
+
r.value ? (n(), g(l(Y), {
|
|
412
411
|
key: 0,
|
|
413
412
|
size: "mini",
|
|
414
413
|
style: A({ opacity: a.fontColor ? 0.65 : "" }),
|
|
415
414
|
iconColor: a.fontColor ? a.fontColor : "#999"
|
|
416
|
-
}, null, 8, ["style", "iconColor"])) : (n(), g(l(
|
|
415
|
+
}, null, 8, ["style", "iconColor"])) : (n(), g(l(z), {
|
|
417
416
|
key: 1,
|
|
418
417
|
size: "mini",
|
|
419
418
|
style: A({ opacity: a.fontColor ? 0.65 : "" }),
|
|
@@ -512,7 +511,7 @@ const to = {
|
|
|
512
511
|
fontColor: e.fontColor
|
|
513
512
|
}, null, 8, ["user-list", "fontColor"])) : c("", !0)
|
|
514
513
|
]),
|
|
515
|
-
e.fileList && ((u = e.fileList) == null ? void 0 : u.length) > 0 ? (n(), g(
|
|
514
|
+
e.fileList && ((u = e.fileList) == null ? void 0 : u.length) > 0 ? (n(), g(So, {
|
|
516
515
|
key: 5,
|
|
517
516
|
"file-list": e.fileList,
|
|
518
517
|
fontColor: e.fontColor,
|
|
Binary file
|
|
@@ -892,7 +892,7 @@ const ho = (e, r) => {
|
|
|
892
892
|
请输入关键字: { "zh-CN": "请输入关键字", en: "Please enter keyword", _appCode: "framework" },
|
|
893
893
|
输入框: { "zh-CN": "输入框", en: "Input Box", _appCode: "framework" },
|
|
894
894
|
选择框: { "zh-CN": "选择框", en: "Select Box", _appCode: "framework" },
|
|
895
|
-
请选择: { "zh-CN": "请选择", en: "Please
|
|
895
|
+
请选择: { "zh-CN": "请选择", en: "Please select", _appCode: "framework" },
|
|
896
896
|
时间框: { "zh-CN": "时间框", en: "Time Box", _appCode: "framework" },
|
|
897
897
|
位置选择: { "zh-CN": "位置选择", en: "Location Selection", _appCode: "framework" },
|
|
898
898
|
单选: { "zh-CN": "单选", en: "Single Choice", _appCode: "framework" },
|
|
Binary file
|
|
@@ -149,7 +149,7 @@ const ea = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfgAAAEgCAYAAABYRWE9AA
|
|
|
149
149
|
A[t] = m;
|
|
150
150
|
return A;
|
|
151
151
|
}, At = /* @__PURE__ */ ce(Ua, [["__scopeId", "data-v-c4f14cf9"]]), La = "v1", Pa = `/api/emergency/manage/${La}`, ze = qe(`${Pa}`), Ea = xt.get("/permissionset/user-portal-menu"), Da = ze.get("/emergency-event/event/type"), Ra = ze.get("/emergency-event/event/level"), Ia = ze.get("/emergency-event/engine/plan-list"), Ct = ze.get("/emergency-event/engine/event-list"), xa = ze.get("/emergency-event/event/group/leader"), Ba = ze.get("/emergency-event/event/group/member"), Ma = ze.get("/emergency-event/engine/event"), Va = ze.post("/emergency-event/event"), Xa = ze.get("/emergency-event/process-track"), yt = {
|
|
152
|
-
搜索姓名: { "zh-CN": "搜索姓名", en: "Search
|
|
152
|
+
搜索姓名: { "zh-CN": "搜索姓名", en: "Search name", _appCode: "framework" },
|
|
153
153
|
账号: { "zh-CN": "账号", en: "Account", _appCode: "framework" },
|
|
154
154
|
姓名: { "zh-CN": "姓名", en: "Name", _appCode: "framework" },
|
|
155
155
|
手机号: { "zh-CN": "手机号", en: "Phone Number", _appCode: "framework" },
|
|
@@ -160,7 +160,7 @@ const ea = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfgAAAEgCAYAAABYRWE9AA
|
|
|
160
160
|
事件类型: { "zh-CN": "事件类型", en: "Category", _appCode: "framework" },
|
|
161
161
|
事件等级: { "zh-CN": "事件等级", en: "Event Level", _appCode: "framework" },
|
|
162
162
|
应急负责人: { "zh-CN": "应急负责人", en: "Leader", _appCode: "framework" },
|
|
163
|
-
请选择: { "zh-CN": "请选择", en: "Please
|
|
163
|
+
请选择: { "zh-CN": "请选择", en: "Please select", _appCode: "framework" },
|
|
164
164
|
应急成员: { "zh-CN": "应急成员", en: "Members", _appCode: "framework" },
|
|
165
165
|
处置时限: { "zh-CN": "处置时限", en: "Time Limit", _appCode: "framework" },
|
|
166
166
|
事件定位: { "zh-CN": "事件定位", en: "Location", _appCode: "framework" },
|
|
Binary file
|
|
@@ -651,7 +651,7 @@ const S = i([]), Ae = { class: "select-list-container" }, Be = { class: "check-t
|
|
|
651
651
|
]));
|
|
652
652
|
}
|
|
653
653
|
}), kt = /* @__PURE__ */ te(Ct, [["__scopeId", "data-v-139fae42"]]), zt = {
|
|
654
|
-
搜索姓名: { "zh-CN": "搜索姓名", en: "Search
|
|
654
|
+
搜索姓名: { "zh-CN": "搜索姓名", en: "Search name", _appCode: "framework" },
|
|
655
655
|
账号: { "zh-CN": "账号", en: "Account", _appCode: "framework" },
|
|
656
656
|
姓名: { "zh-CN": "姓名", en: "Name", _appCode: "framework" },
|
|
657
657
|
手机号: { "zh-CN": "手机号", en: "Phone Number", _appCode: "framework" },
|
|
Binary file
|