st-comp 0.0.199 → 0.0.201
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/auto-imports.d.ts +3 -0
- package/es/CustomFunction.cjs +1 -1
- package/es/CustomFunction.js +267 -199
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +27 -25
- package/es/KlinePlus.cjs +3 -3
- package/es/KlinePlus.js +252 -249
- package/es/User.cjs +1 -1
- package/es/User.js +714 -624
- package/es/VarietySearch.cjs +6 -6
- package/es/VarietySearch.js +19 -17
- package/es/VarietyTextCopy.cjs +3 -3
- package/es/VarietyTextCopy.js +4 -4
- package/es/el-checkbox-group-0ea8fbf8.cjs +1 -0
- package/es/el-checkbox-group-4ed993c7.js +1 -0
- package/es/{el-form-item-eeb64520.js → el-form-item-c53c374d.js} +2 -2
- package/es/el-message-box-a93d2f6a.js +489 -0
- package/es/el-message-box-c10adb52.cjs +1 -0
- package/es/el-text-ac60d0f2.js +67 -0
- package/es/el-text-c20a9f48.cjs +1 -0
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +206 -206
- package/lib/{index-c9dddb13.js → index-c0ce50bc.js} +20375 -20219
- package/lib/{python-8de8f552.js → python-9dae326e.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/CustomFunction/index.vue +141 -30
- package/packages/KlinePlus/index.vue +17 -7
- package/packages/User/components/EditInfoDialog/Mobile.vue +110 -0
- package/packages/User/components/EditInfoDialog/index.vue +136 -0
- package/packages/User/components/SetPasswordDialog.vue +6 -3
- package/packages/User/index.vue +7 -22
- package/src/pages/KlinePlus/index.vue +6 -5
- package/es/el-message-box-48d71ee5.cjs +0 -1
- package/es/el-message-box-81ffd21e.js +0 -550
- package/packages/User/components/EditInfoDialog.vue +0 -144
package/es/CustomFunction.js
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import "./base-a5af3db3.js";
|
|
2
|
-
import { E as
|
|
2
|
+
import { E as ce } from "./el-divider-4e059794.js";
|
|
3
3
|
import "./el-scrollbar-323542e7.js";
|
|
4
|
-
import { E as
|
|
4
|
+
import { E as re } from "./el-dialog-41ab8417.js";
|
|
5
5
|
import "./el-overlay-09ad71cd.js";
|
|
6
|
-
import { E as
|
|
7
|
-
import { E as
|
|
6
|
+
import { E as j } from "./el-input-2f75c4ba.js";
|
|
7
|
+
import { E as ue } from "./el-button-c95adb85.js";
|
|
8
8
|
import "./el-tag-66cab138.js";
|
|
9
|
-
import { E as
|
|
9
|
+
import { E as de, a as me } from "./el-select-95627997.js";
|
|
10
10
|
import "./el-popper-b4f97157.js";
|
|
11
|
-
import { E as
|
|
11
|
+
import { E as fe } from "./el-popconfirm-81dcd202.js";
|
|
12
12
|
import "./el-popover-4ed993c7.js";
|
|
13
|
-
import { inject as
|
|
14
|
-
import { d as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { E as
|
|
13
|
+
import { inject as pe, ref as u, reactive as L, onMounted as _e, watch as ve, nextTick as P, resolveComponent as W, openBlock as T, createElementBlock as A, createVNode as l, normalizeStyle as ge, withCtx as s, Fragment as he, renderList as Ee, createBlock as ye, createElementVNode as i, toDisplayString as $, withModifiers as q, unref as C, createTextVNode as v, normalizeClass as M, pushScopeId as xe, popScopeId as Ce, h as S } from "vue";
|
|
14
|
+
import { d as we, e as Ve, a as ke, c as G, b as be, E as Se } from "./index-a871c3eb.js";
|
|
15
|
+
import { _ as Ne } from "./_plugin-vue_export-helper-dad06003.js";
|
|
16
|
+
import { E as p } from "./el-message-e544a8f5.js";
|
|
17
|
+
import { E as Fe, a as $e } from "./el-form-item-c53c374d.js";
|
|
18
|
+
import { E as ze } from "./el-message-box-a93d2f6a.js";
|
|
19
|
+
import { E as De } from "./index-844bdd85.js";
|
|
18
20
|
import "./use-form-common-props-815d48a6.js";
|
|
19
21
|
import "./index-960806da.js";
|
|
20
22
|
import "./index-d77a7336.js";
|
|
@@ -30,39 +32,41 @@ import "./index-57672682.js";
|
|
|
30
32
|
import "./castArray-7741a212.js";
|
|
31
33
|
import "./debounce-8d53f4dd.js";
|
|
32
34
|
import "./config-provider-b16efd62.js";
|
|
33
|
-
|
|
35
|
+
import "./_initCloneObject-eaef9418.js";
|
|
36
|
+
import "./validator-764a9db0.js";
|
|
37
|
+
const H = (d) => (xe("data-v-ff7c4544"), d = d(), Ce(), d), Ie = { class: "custom-function" }, Be = { class: "func-option" }, Oe = { class: "icons" }, Te = { class: "custom-header" }, qe = { class: "left" }, Me = ["id"], Ue = { class: "right" }, Re = { class: "func-name" }, je = { class: "left" }, Le = /* @__PURE__ */ H(() => /* @__PURE__ */ i("span", null, "函数名称:", -1)), Pe = { class: "right" }, We = /* @__PURE__ */ H(() => /* @__PURE__ */ i("div", { class: "tip-box" }, "Tip: 公式里可以使用变量, 变量名命名格式: ${变量名}, 后续可在应用函数时填写具体值, 系统会自动换算", -1)), Ae = { class: "dialog-footer" }, Ge = { class: "custom-header" }, He = { class: "left" }, Je = ["id"], Ke = { class: "right" }, Qe = { class: "content" }, Xe = { class: "dialog-footer" }, Ye = {
|
|
34
38
|
__name: "index",
|
|
35
39
|
props: {
|
|
36
40
|
size: { type: String, default: "small" },
|
|
37
41
|
selectWidth: { type: String, default: "200px" }
|
|
38
42
|
},
|
|
39
43
|
emits: ["insert"],
|
|
40
|
-
setup(
|
|
41
|
-
const { request:
|
|
44
|
+
setup(d, { emit: J }) {
|
|
45
|
+
const { request: N } = pe("stConfig"), g = u(null), z = u(null), K = J, F = u(null), h = u(""), w = u([]), E = u(!1), r = L({
|
|
42
46
|
id: null,
|
|
43
47
|
funcName: "",
|
|
44
48
|
funcExpression: ""
|
|
45
|
-
}),
|
|
49
|
+
}), D = u(!1), y = u(!1), I = u(!1), _ = L({
|
|
46
50
|
result: null,
|
|
47
51
|
detail: "",
|
|
48
52
|
code: ""
|
|
49
|
-
}),
|
|
50
|
-
const { body:
|
|
51
|
-
if (
|
|
52
|
-
|
|
53
|
+
}), B = async () => {
|
|
54
|
+
const { body: t } = await N.post("/common/qt/querySearchFunctions");
|
|
55
|
+
if (w.value = t ?? [], F.value === null)
|
|
56
|
+
h.value = "";
|
|
53
57
|
else {
|
|
54
|
-
const e =
|
|
55
|
-
|
|
58
|
+
const e = w.value.find(({ id: o }) => o === F.value);
|
|
59
|
+
h.value = e ? e.funcName : "";
|
|
56
60
|
}
|
|
57
|
-
},
|
|
61
|
+
}, Q = (t) => {
|
|
58
62
|
var e;
|
|
59
|
-
|
|
60
|
-
},
|
|
61
|
-
await
|
|
62
|
-
},
|
|
63
|
-
switch (!!
|
|
63
|
+
t ? F.value = (e = w.value.find((o) => o.funcName === t)) == null ? void 0 : e.id : F.value = null;
|
|
64
|
+
}, X = async (t) => {
|
|
65
|
+
await N.post("/common/qt/deleteSearchFunctionById", { id: t.id }), B();
|
|
66
|
+
}, O = (t, e) => {
|
|
67
|
+
switch (!!t) {
|
|
64
68
|
case !1: {
|
|
65
|
-
Object.assign(
|
|
69
|
+
Object.assign(r, {
|
|
66
70
|
id: null,
|
|
67
71
|
funcName: "",
|
|
68
72
|
funcExpression: ""
|
|
@@ -70,125 +74,189 @@ const R = (c) => (ge("data-v-0a65deeb"), c = c(), he(), c), Se = { class: "custo
|
|
|
70
74
|
break;
|
|
71
75
|
}
|
|
72
76
|
case !0: {
|
|
73
|
-
Object.assign(
|
|
74
|
-
id:
|
|
75
|
-
funcName:
|
|
76
|
-
funcExpression:
|
|
77
|
+
Object.assign(r, {
|
|
78
|
+
id: t.id,
|
|
79
|
+
funcName: t.funcName,
|
|
80
|
+
funcExpression: t.funcExpression
|
|
77
81
|
});
|
|
78
82
|
break;
|
|
79
83
|
}
|
|
80
84
|
}
|
|
81
|
-
e && (
|
|
82
|
-
},
|
|
85
|
+
e && (r.id = null, r.funcName = `${r.funcName}-复制`), E.value = !0;
|
|
86
|
+
}, Y = async () => {
|
|
83
87
|
try {
|
|
84
|
-
if (
|
|
85
|
-
return
|
|
86
|
-
if (
|
|
87
|
-
return
|
|
88
|
-
|
|
89
|
-
Object.assign(d, { result: e, detail: i, code: s.funcExpression }), e === 1 ? u.success("测试通过") : (u.error("测试未能通过"), g.value = !0);
|
|
88
|
+
if (D.value = !0, r.funcExpression = g.value.getValue(), !r.funcName)
|
|
89
|
+
return p.error("函数名称不可为空");
|
|
90
|
+
if (!r.funcExpression)
|
|
91
|
+
return p.error("函数内容不可为空");
|
|
92
|
+
await N.post("/common/qt/saveOrUpdateSearchFunction", r), p.success("操作成功"), E.value = !1, await B();
|
|
90
93
|
} finally {
|
|
91
|
-
|
|
94
|
+
D.value = !1;
|
|
92
95
|
}
|
|
93
|
-
},
|
|
94
|
-
if (
|
|
95
|
-
return
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
}, U = () => {
|
|
97
|
+
if (!h.value)
|
|
98
|
+
return p.error("请先选择自定义函数后, 再执行插入");
|
|
99
|
+
const { funcName: t, funcExpression: e } = w.value.find((o) => o.funcName === h.value);
|
|
100
|
+
K("insert", t, e);
|
|
101
|
+
}, Z = (t) => {
|
|
102
|
+
const e = /\$\{([^}]*)\}/g, o = [];
|
|
103
|
+
let c;
|
|
104
|
+
for (; (c = e.exec(t)) !== null; )
|
|
105
|
+
o.push(c[1]);
|
|
106
|
+
return [...new Set(o)];
|
|
107
|
+
}, ee = (t, e) => t.replace(/\$\{([^}]*)\}/g, (o, c) => e[c] !== void 0 ? e[c] : o), te = (t) => new Promise((e) => {
|
|
108
|
+
const o = u(
|
|
109
|
+
t.reduce((n, m) => (n[m] = "", n), {})
|
|
110
|
+
), c = u({}), V = () => {
|
|
111
|
+
let n = !0;
|
|
112
|
+
const m = {};
|
|
113
|
+
return t.forEach((f) => {
|
|
114
|
+
var b;
|
|
115
|
+
(b = o.value[f]) != null && b.trim() || (m[f] = `请输入${f}的值`, n = !1);
|
|
116
|
+
}), c.value = m, n;
|
|
117
|
+
};
|
|
118
|
+
ze({
|
|
119
|
+
title: "填写变量值用于接口测试",
|
|
120
|
+
message: S({
|
|
121
|
+
setup() {
|
|
122
|
+
return () => S("div", [
|
|
123
|
+
S(
|
|
124
|
+
Fe,
|
|
125
|
+
{
|
|
126
|
+
model: o.value
|
|
127
|
+
},
|
|
128
|
+
() => t.map(
|
|
129
|
+
(n) => S(
|
|
130
|
+
$e,
|
|
131
|
+
{
|
|
132
|
+
label: `${n}: `,
|
|
133
|
+
prop: n,
|
|
134
|
+
error: c.value[n],
|
|
135
|
+
"label-width": "90px"
|
|
136
|
+
},
|
|
137
|
+
() => S(j, {
|
|
138
|
+
modelValue: o.value[n],
|
|
139
|
+
"onUpdate:modelValue": (m) => {
|
|
140
|
+
o.value[n] = m, c.value[n] && delete c.value[n];
|
|
141
|
+
},
|
|
142
|
+
placeholder: `请输入 ${n} 的值`,
|
|
143
|
+
status: c.value[n] ? "error" : ""
|
|
144
|
+
})
|
|
145
|
+
)
|
|
146
|
+
)
|
|
147
|
+
)
|
|
148
|
+
]);
|
|
149
|
+
}
|
|
150
|
+
}),
|
|
151
|
+
showCancelButton: !0,
|
|
152
|
+
confirmButtonText: "确定",
|
|
153
|
+
cancelButtonText: "取消",
|
|
154
|
+
customClass: "variable-input-dialog",
|
|
155
|
+
beforeClose: async (n, m, f) => {
|
|
156
|
+
n !== "confirm" && (e(!1), f()), await P(), V() && (e({ ...o.value }), f());
|
|
157
|
+
}
|
|
158
|
+
}).catch(() => e(!1));
|
|
159
|
+
}), oe = async () => {
|
|
98
160
|
try {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
if (!
|
|
102
|
-
return
|
|
103
|
-
|
|
161
|
+
I.value = !0;
|
|
162
|
+
let t = g.value.getValue();
|
|
163
|
+
if (!t)
|
|
164
|
+
return p.error("函数内容不可为空");
|
|
165
|
+
if (/\$\{[^}]*\}/.test(t)) {
|
|
166
|
+
const V = Z(t), k = await te(V);
|
|
167
|
+
if (!k)
|
|
168
|
+
return;
|
|
169
|
+
t = ee(t, k);
|
|
170
|
+
}
|
|
171
|
+
const { body: e } = await N.post("/common/qt/testFactorSelect", { factorSelectExpr: t }), { result: o, detail: c } = e;
|
|
172
|
+
Object.assign(_, { result: o, detail: c, code: t }), o === 1 ? p.success("测试通过") : (p.error("测试未能通过"), y.value = !0);
|
|
104
173
|
} finally {
|
|
105
|
-
|
|
174
|
+
I.value = !1;
|
|
106
175
|
}
|
|
107
|
-
},
|
|
108
|
-
if (
|
|
109
|
-
return
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
C.value.open(p.value);
|
|
176
|
+
}, le = () => {
|
|
177
|
+
if (_.result === null)
|
|
178
|
+
return p.warning("请先进行测试, 等待测试完成后可查看日志");
|
|
179
|
+
y.value = !0;
|
|
180
|
+
}, ne = () => {
|
|
181
|
+
z.value.open(g.value);
|
|
114
182
|
};
|
|
115
|
-
return
|
|
116
|
-
|
|
117
|
-
}),
|
|
118
|
-
() =>
|
|
119
|
-
(
|
|
120
|
-
switch (
|
|
183
|
+
return _e(() => {
|
|
184
|
+
B();
|
|
185
|
+
}), ve(
|
|
186
|
+
() => E.value,
|
|
187
|
+
(t) => {
|
|
188
|
+
switch (t) {
|
|
121
189
|
case !0: {
|
|
122
|
-
|
|
123
|
-
var e,
|
|
124
|
-
(e =
|
|
125
|
-
}), Object.assign(
|
|
190
|
+
P(() => {
|
|
191
|
+
var e, o;
|
|
192
|
+
(e = g.value) == null || e.setValue(r.funcExpression), (o = g.value) == null || o.resize();
|
|
193
|
+
}), Object.assign(_, {
|
|
126
194
|
result: null,
|
|
127
195
|
detail: ""
|
|
128
196
|
});
|
|
129
197
|
break;
|
|
130
198
|
}
|
|
131
199
|
case !1: {
|
|
132
|
-
|
|
200
|
+
z.value.close();
|
|
133
201
|
break;
|
|
134
202
|
}
|
|
135
203
|
}
|
|
136
204
|
}
|
|
137
|
-
), (
|
|
138
|
-
const
|
|
139
|
-
return
|
|
140
|
-
|
|
141
|
-
modelValue:
|
|
142
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
143
|
-
size:
|
|
205
|
+
), (t, e) => {
|
|
206
|
+
const o = Se, c = fe, V = de, k = me, n = ue, m = j, f = W("st-monacoEditor"), b = re, R = De, se = ce, ae = W("st-varSelectDialog");
|
|
207
|
+
return T(), A("div", Ie, [
|
|
208
|
+
l(k, {
|
|
209
|
+
modelValue: h.value,
|
|
210
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => h.value = a),
|
|
211
|
+
size: d.size,
|
|
144
212
|
placeholder: "自定义函数",
|
|
145
213
|
"no-match-text": "无匹配选项",
|
|
146
214
|
"no-data-text": "无选项数据",
|
|
147
215
|
clearable: "",
|
|
148
216
|
filterable: "",
|
|
149
|
-
onChange:
|
|
150
|
-
style:
|
|
217
|
+
onChange: Q,
|
|
218
|
+
style: ge({ width: d.selectWidth })
|
|
151
219
|
}, {
|
|
152
|
-
default:
|
|
153
|
-
(
|
|
154
|
-
key:
|
|
155
|
-
label:
|
|
156
|
-
value:
|
|
157
|
-
onClick:
|
|
220
|
+
default: s(() => [
|
|
221
|
+
(T(!0), A(he, null, Ee(w.value, (a) => (T(), ye(V, {
|
|
222
|
+
key: a.id,
|
|
223
|
+
label: a.funcName,
|
|
224
|
+
value: a.funcName,
|
|
225
|
+
onClick: U
|
|
158
226
|
}, {
|
|
159
|
-
default:
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
onClick:
|
|
227
|
+
default: s(() => [
|
|
228
|
+
i("div", Be, [
|
|
229
|
+
i("span", null, $(a.funcName), 1),
|
|
230
|
+
i("div", Oe, [
|
|
231
|
+
l(o, {
|
|
232
|
+
onClick: q((x) => O(a, !0), ["stop"])
|
|
165
233
|
}, {
|
|
166
|
-
default:
|
|
167
|
-
|
|
234
|
+
default: s(() => [
|
|
235
|
+
l(C(we))
|
|
168
236
|
]),
|
|
169
237
|
_: 2
|
|
170
238
|
}, 1032, ["onClick"]),
|
|
171
|
-
|
|
172
|
-
onClick:
|
|
239
|
+
l(o, {
|
|
240
|
+
onClick: q((x) => O(a), ["stop"])
|
|
173
241
|
}, {
|
|
174
|
-
default:
|
|
175
|
-
|
|
242
|
+
default: s(() => [
|
|
243
|
+
l(C(Ve))
|
|
176
244
|
]),
|
|
177
245
|
_: 2
|
|
178
246
|
}, 1032, ["onClick"]),
|
|
179
|
-
|
|
247
|
+
l(c, {
|
|
180
248
|
title: "确认是否删除?",
|
|
181
249
|
"confirm-button-text": "确认",
|
|
182
250
|
"cancel-button-text": "取消",
|
|
183
|
-
onConfirm: (
|
|
251
|
+
onConfirm: (x) => X(a)
|
|
184
252
|
}, {
|
|
185
|
-
reference:
|
|
186
|
-
|
|
187
|
-
onClick:
|
|
253
|
+
reference: s(() => [
|
|
254
|
+
l(o, {
|
|
255
|
+
onClick: q(() => {
|
|
188
256
|
}, ["stop"])
|
|
189
257
|
}, {
|
|
190
|
-
default:
|
|
191
|
-
|
|
258
|
+
default: s(() => [
|
|
259
|
+
l(C(ke))
|
|
192
260
|
]),
|
|
193
261
|
_: 1
|
|
194
262
|
})
|
|
@@ -203,30 +271,30 @@ const R = (c) => (ge("data-v-0a65deeb"), c = c(), he(), c), Se = { class: "custo
|
|
|
203
271
|
]),
|
|
204
272
|
_: 1
|
|
205
273
|
}, 8, ["modelValue", "size", "style"]),
|
|
206
|
-
|
|
274
|
+
l(n, {
|
|
207
275
|
type: "primary",
|
|
208
|
-
size:
|
|
209
|
-
onClick:
|
|
276
|
+
size: d.size,
|
|
277
|
+
onClick: U
|
|
210
278
|
}, {
|
|
211
|
-
default:
|
|
212
|
-
|
|
279
|
+
default: s(() => [
|
|
280
|
+
v(" 插入 ")
|
|
213
281
|
]),
|
|
214
282
|
_: 1
|
|
215
283
|
}, 8, ["size"]),
|
|
216
|
-
|
|
284
|
+
l(n, {
|
|
217
285
|
type: "primary",
|
|
218
|
-
size:
|
|
219
|
-
onClick: e[1] || (e[1] = (
|
|
286
|
+
size: d.size,
|
|
287
|
+
onClick: e[1] || (e[1] = (a) => O())
|
|
220
288
|
}, {
|
|
221
|
-
default:
|
|
222
|
-
|
|
289
|
+
default: s(() => [
|
|
290
|
+
v(" 新建 ")
|
|
223
291
|
]),
|
|
224
292
|
_: 1
|
|
225
293
|
}, 8, ["size"]),
|
|
226
|
-
|
|
294
|
+
l(b, {
|
|
227
295
|
"modal-class": "add-or-edit-dialog",
|
|
228
|
-
modelValue:
|
|
229
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
296
|
+
modelValue: E.value,
|
|
297
|
+
"onUpdate:modelValue": e[4] || (e[4] = (a) => E.value = a),
|
|
230
298
|
width: "1000",
|
|
231
299
|
"align-center": "",
|
|
232
300
|
"append-to-body": "",
|
|
@@ -236,95 +304,95 @@ const R = (c) => (ge("data-v-0a65deeb"), c = c(), he(), c), Se = { class: "custo
|
|
|
236
304
|
"modal-penetrable": !0,
|
|
237
305
|
"show-close": !1
|
|
238
306
|
}, {
|
|
239
|
-
header:
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
id:
|
|
244
|
-
class:
|
|
245
|
-
},
|
|
307
|
+
header: s(({ titleId: a, titleClass: x }) => [
|
|
308
|
+
i("div", Te, [
|
|
309
|
+
i("div", qe, [
|
|
310
|
+
i("span", {
|
|
311
|
+
id: a,
|
|
312
|
+
class: M(x)
|
|
313
|
+
}, $(r.id ? "编辑自定义函数" : "新建自定义函数"), 11, Me)
|
|
246
314
|
]),
|
|
247
|
-
|
|
248
|
-
|
|
315
|
+
i("div", Ue, [
|
|
316
|
+
l(n, {
|
|
249
317
|
size: "small",
|
|
250
318
|
type: "primary",
|
|
251
|
-
onClick:
|
|
319
|
+
onClick: ne
|
|
252
320
|
}, {
|
|
253
|
-
default:
|
|
254
|
-
|
|
321
|
+
default: s(() => [
|
|
322
|
+
v(" 变量选择器 ")
|
|
255
323
|
]),
|
|
256
324
|
_: 1
|
|
257
325
|
}),
|
|
258
|
-
|
|
259
|
-
onClick: e[2] || (e[2] = (
|
|
326
|
+
l(o, {
|
|
327
|
+
onClick: e[2] || (e[2] = (ie) => E.value = !1)
|
|
260
328
|
}, {
|
|
261
|
-
default:
|
|
262
|
-
|
|
329
|
+
default: s(() => [
|
|
330
|
+
l(C(G))
|
|
263
331
|
]),
|
|
264
332
|
_: 1
|
|
265
333
|
})
|
|
266
334
|
])
|
|
267
335
|
])
|
|
268
336
|
]),
|
|
269
|
-
footer:
|
|
270
|
-
|
|
271
|
-
|
|
337
|
+
footer: s(() => [
|
|
338
|
+
i("div", Ae, [
|
|
339
|
+
l(n, {
|
|
272
340
|
type: "primary",
|
|
273
|
-
loading:
|
|
274
|
-
onClick:
|
|
341
|
+
loading: D.value,
|
|
342
|
+
onClick: Y
|
|
275
343
|
}, {
|
|
276
|
-
default:
|
|
277
|
-
|
|
344
|
+
default: s(() => [
|
|
345
|
+
v(" 确定 ")
|
|
278
346
|
]),
|
|
279
347
|
_: 1
|
|
280
348
|
}, 8, ["loading"])
|
|
281
349
|
])
|
|
282
350
|
]),
|
|
283
|
-
default:
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
modelValue:
|
|
289
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
351
|
+
default: s(() => [
|
|
352
|
+
i("div", Re, [
|
|
353
|
+
i("div", je, [
|
|
354
|
+
Le,
|
|
355
|
+
l(m, {
|
|
356
|
+
modelValue: r.funcName,
|
|
357
|
+
"onUpdate:modelValue": e[3] || (e[3] = (a) => r.funcName = a)
|
|
290
358
|
}, null, 8, ["modelValue"])
|
|
291
359
|
]),
|
|
292
|
-
|
|
293
|
-
|
|
360
|
+
i("div", Pe, [
|
|
361
|
+
l(n, {
|
|
294
362
|
type: "primary",
|
|
295
|
-
loading:
|
|
296
|
-
onClick:
|
|
363
|
+
loading: I.value,
|
|
364
|
+
onClick: oe
|
|
297
365
|
}, {
|
|
298
|
-
default:
|
|
299
|
-
|
|
366
|
+
default: s(() => [
|
|
367
|
+
v(" 测试 ")
|
|
300
368
|
]),
|
|
301
369
|
_: 1
|
|
302
370
|
}, 8, ["loading"]),
|
|
303
|
-
|
|
304
|
-
icon:
|
|
305
|
-
onClick:
|
|
371
|
+
l(n, {
|
|
372
|
+
icon: C(be),
|
|
373
|
+
onClick: le
|
|
306
374
|
}, {
|
|
307
|
-
default:
|
|
308
|
-
|
|
375
|
+
default: s(() => [
|
|
376
|
+
v(" 日志明细 ")
|
|
309
377
|
]),
|
|
310
378
|
_: 1
|
|
311
379
|
}, 8, ["icon"])
|
|
312
380
|
])
|
|
313
381
|
]),
|
|
314
|
-
|
|
315
|
-
|
|
382
|
+
We,
|
|
383
|
+
l(f, {
|
|
316
384
|
ref_key: "stMonacoEditorRef",
|
|
317
|
-
ref:
|
|
385
|
+
ref: g,
|
|
318
386
|
language: "lua",
|
|
319
387
|
style: { width: "968px", height: "400px" }
|
|
320
388
|
}, null, 512)
|
|
321
389
|
]),
|
|
322
390
|
_: 1
|
|
323
391
|
}, 8, ["modelValue"]),
|
|
324
|
-
|
|
392
|
+
l(b, {
|
|
325
393
|
"modal-class": "log-dialog",
|
|
326
|
-
modelValue:
|
|
327
|
-
"onUpdate:modelValue": e[7] || (e[7] = (
|
|
394
|
+
modelValue: y.value,
|
|
395
|
+
"onUpdate:modelValue": e[7] || (e[7] = (a) => y.value = a),
|
|
328
396
|
width: "830",
|
|
329
397
|
"align-center": "",
|
|
330
398
|
"append-to-body": "",
|
|
@@ -334,55 +402,55 @@ const R = (c) => (ge("data-v-0a65deeb"), c = c(), he(), c), Se = { class: "custo
|
|
|
334
402
|
"modal-penetrable": !0,
|
|
335
403
|
"show-close": !1
|
|
336
404
|
}, {
|
|
337
|
-
header:
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
id:
|
|
342
|
-
class:
|
|
343
|
-
}, " 日志明细 ", 10,
|
|
405
|
+
header: s(({ titleId: a, titleClass: x }) => [
|
|
406
|
+
i("div", Ge, [
|
|
407
|
+
i("div", He, [
|
|
408
|
+
i("span", {
|
|
409
|
+
id: a,
|
|
410
|
+
class: M(x)
|
|
411
|
+
}, " 日志明细 ", 10, Je)
|
|
344
412
|
]),
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
onClick: e[5] || (e[5] = (
|
|
413
|
+
i("div", Ke, [
|
|
414
|
+
l(o, {
|
|
415
|
+
onClick: e[5] || (e[5] = (ie) => y.value = !1)
|
|
348
416
|
}, {
|
|
349
|
-
default:
|
|
350
|
-
|
|
417
|
+
default: s(() => [
|
|
418
|
+
l(C(G))
|
|
351
419
|
]),
|
|
352
420
|
_: 1
|
|
353
421
|
})
|
|
354
422
|
])
|
|
355
423
|
])
|
|
356
424
|
]),
|
|
357
|
-
footer:
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
onClick: e[6] || (e[6] = (
|
|
425
|
+
footer: s(() => [
|
|
426
|
+
i("div", Xe, [
|
|
427
|
+
l(n, {
|
|
428
|
+
onClick: e[6] || (e[6] = (a) => y.value = !1)
|
|
361
429
|
}, {
|
|
362
|
-
default:
|
|
363
|
-
|
|
430
|
+
default: s(() => [
|
|
431
|
+
v(" 关闭 ")
|
|
364
432
|
]),
|
|
365
433
|
_: 1
|
|
366
434
|
})
|
|
367
435
|
])
|
|
368
436
|
]),
|
|
369
|
-
default:
|
|
370
|
-
|
|
371
|
-
|
|
437
|
+
default: s(() => [
|
|
438
|
+
i("div", Qe, [
|
|
439
|
+
l(R, {
|
|
372
440
|
class: "code",
|
|
373
441
|
height: "600px"
|
|
374
442
|
}, {
|
|
375
|
-
default:
|
|
376
|
-
|
|
443
|
+
default: s(() => [
|
|
444
|
+
i("pre", null, $(_.code), 1)
|
|
377
445
|
]),
|
|
378
446
|
_: 1
|
|
379
447
|
}),
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
default:
|
|
383
|
-
|
|
384
|
-
class:
|
|
385
|
-
},
|
|
448
|
+
l(se, { direction: "vertical" }),
|
|
449
|
+
l(R, { height: "600px" }, {
|
|
450
|
+
default: s(() => [
|
|
451
|
+
i("pre", {
|
|
452
|
+
class: M(_.result === 1 ? "success-log" : "error-log")
|
|
453
|
+
}, $(_.result === 1 ? "测试通过 √" : _.detail), 3)
|
|
386
454
|
]),
|
|
387
455
|
_: 1
|
|
388
456
|
})
|
|
@@ -390,18 +458,18 @@ const R = (c) => (ge("data-v-0a65deeb"), c = c(), he(), c), Se = { class: "custo
|
|
|
390
458
|
]),
|
|
391
459
|
_: 1
|
|
392
460
|
}, 8, ["modelValue"]),
|
|
393
|
-
|
|
461
|
+
l(ae, {
|
|
394
462
|
ref_key: "stVarSelectDialogRef",
|
|
395
|
-
ref:
|
|
463
|
+
ref: z
|
|
396
464
|
}, null, 512)
|
|
397
465
|
]);
|
|
398
466
|
};
|
|
399
467
|
}
|
|
400
|
-
},
|
|
401
|
-
install(
|
|
402
|
-
|
|
468
|
+
}, Ze = /* @__PURE__ */ Ne(Ye, [["__scopeId", "data-v-ff7c4544"]]), Tt = {
|
|
469
|
+
install(d) {
|
|
470
|
+
d.component("st-customFunction", Ze);
|
|
403
471
|
}
|
|
404
472
|
};
|
|
405
473
|
export {
|
|
406
|
-
|
|
474
|
+
Tt as default
|
|
407
475
|
};
|