Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
1cf12402
提交
1cf12402
编写于
10月 17, 2025
作者:
jlj05024111@163.com
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 更新插件包sy-web
上级
56fb387d
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
23 行增加
和
18 行删除
+23
-18
ibiz-template-plugin.es.js
...plate-plugin/sy-web@0.0.3/dist/ibiz-template-plugin.es.js
+22
-17
index.legacy.js
...s/@ibiz-template-plugin/sy-web@0.0.3/dist/index.legacy.js
+1
-1
未找到文件。
app_Web/public/plugins/@ibiz-template-plugin/sy-web@0.0.3/dist/ibiz-template-plugin.es.js
浏览文件 @
1cf12402
...
...
@@ -3,7 +3,7 @@ var he = (e, s, t) => s in e ? ue(e, s, { enumerable: !0, configurable: !0, writ
var
I
=
(
e
,
s
,
t
)
=>
(
he
(
e
,
typeof
s
!=
"symbol"
?
s
+
""
:
s
,
t
),
t
);
import
{
IndexViewModel
as
me
,
GridModel
as
pe
,
ViewType
as
fe
,
ModelUtil
as
ge
}
from
"@ibiz-template/model"
;
import
{
GridFieldColumnController
as
X
,
GridRowController
as
J
,
WFStepTraceViewController
as
ve
,
UploadEditorController
as
Q
,
GridController
as
we
,
GridNotifyState
as
be
,
WFDynaEditView3Controller
as
ye
}
from
"@ibiz-template/controller"
;
import
{
defineComponent
as
U
,
computed
as
$
,
h
as
c
,
getCurrentInstance
as
A
,
ref
as
v
,
watch
as
T
,
toRefs
as
z
,
onUnmounted
as
Ce
}
from
"vue"
;
import
{
defineComponent
as
U
,
computed
as
$
,
h
as
c
,
getCurrentInstance
as
G
,
ref
as
v
,
watch
as
T
,
toRefs
as
z
,
onUnmounted
as
Ce
}
from
"vue"
;
import
{
useNamespace
as
N
,
useViewController
as
K
,
usePropsWatch
as
B
,
getUploadProps
as
xe
,
getEditorEmits
as
Y
,
getGridUploadProps
as
_
,
getGridEditorEmits
as
j
,
useClickOutside
as
ke
,
useEventListener
as
Fe
,
getInputProps
as
Se
,
getGridInputProps
as
Le
,
useGridCellEditor
as
Ee
,
useControlController
as
Ue
,
useWFStepTraceViewController
as
Pe
,
useEditView3Controller
as
Ne
}
from
"@ibiz-template/vue-util"
;
import
{
colorBlend
as
Ie
,
HttpError
as
ee
,
isImage
as
Te
,
uploadFile
as
De
,
RuntimeError
as
Me
}
from
"@ibiz-template/core"
;
import
{
getCookie
as
$e
,
createUUID
as
V
}
from
"qx-util"
;
...
...
@@ -123,7 +123,7 @@ const Be = U({
setup
(
e
)
{
const
s
=
N
(
"preset-wf-chart-view"
),
{
proxy
:
t
}
=
A
(),
o
=
K
(
t
,
(
i
,
r
)
=>
new
ze
(
e
.
modelPath
,
i
,
r
));
}
=
G
(),
o
=
K
(
t
,
(
i
,
r
)
=>
new
ze
(
e
.
modelPath
,
i
,
r
));
return
B
(
t
,
"deName"
,
o
.
setDeName
.
bind
(
o
)),
{
c
:
o
,
ns
:
s
...
...
@@ -183,11 +183,11 @@ const _e = U({
}
}),
je
=
typeof
btoa
==
"function"
,
W
=
typeof
Buffer
==
"function"
;
typeof
TextDecoder
==
"function"
&&
new
TextDecoder
();
const
q
=
typeof
TextEncoder
==
"function"
?
new
TextEncoder
()
:
void
0
,
We
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
,
R
=
Array
.
prototype
.
slice
.
call
(
We
);
const
q
=
typeof
TextEncoder
==
"function"
?
new
TextEncoder
()
:
void
0
,
We
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
,
A
=
Array
.
prototype
.
slice
.
call
(
We
);
((
e
)
=>
{
let
s
=
{};
return
e
.
forEach
((
t
,
o
)
=>
s
[
t
]
=
o
),
s
;
})(
R
);
})(
A
);
const
M
=
String
.
fromCharCode
.
bind
(
String
);
typeof
Uint8Array
.
from
==
"function"
&&
Uint8Array
.
from
.
bind
(
Uint8Array
);
const
Ve
=
(
e
)
=>
e
.
replace
(
/=/g
,
""
).
replace
(
/
[
+
\/]
/g
,
(
s
)
=>
s
==
"+"
?
"-"
:
"_"
),
qe
=
(
e
)
=>
{
...
...
@@ -196,7 +196,7 @@ const Ve = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (s) => s == "+" ? "-" :
for
(
let
a
=
0
;
a
<
e
.
length
;
)
{
if
((
t
=
e
.
charCodeAt
(
a
++
))
>
255
||
(
o
=
e
.
charCodeAt
(
a
++
))
>
255
||
(
i
=
e
.
charCodeAt
(
a
++
))
>
255
)
throw
new
TypeError
(
"invalid character found"
);
s
=
t
<<
16
|
o
<<
8
|
i
,
r
+=
R
[
s
>>
18
&
63
]
+
R
[
s
>>
12
&
63
]
+
R
[
s
>>
6
&
63
]
+
R
[
s
&
63
];
s
=
t
<<
16
|
o
<<
8
|
i
,
r
+=
A
[
s
>>
18
&
63
]
+
A
[
s
>>
12
&
63
]
+
A
[
s
>>
6
&
63
]
+
A
[
s
&
63
];
}
return
n
?
r
.
slice
(
0
,
n
-
3
)
+
"==="
.
substring
(
n
)
:
r
;
},
oe
=
je
?
(
e
)
=>
btoa
(
e
)
:
W
?
(
e
)
=>
Buffer
.
from
(
e
,
"binary"
).
toString
(
"base64"
)
:
qe
,
He
=
W
?
(
e
)
=>
Buffer
.
from
(
e
).
toString
(
"base64"
)
:
(
e
)
=>
{
...
...
@@ -707,17 +707,22 @@ function re(e) {
}
);
const
p
=
(
m
,
w
)
=>
{
if
(
m
.
some
((
L
)
=>
L
.
size
>
n
.
value
.
defaultSize
*
1024
*
1024
?
(
ibiz
.
message
.
error
(
`
${
L
.
name
}
超出限制,请选择小于
${
n
.
value
.
defaultSize
}
MB的文件`
,
2.5
,
!
0
),
!
0
)
:
n
.
value
.
whiteList
&&
n
.
value
.
whiteList
.
length
>
0
&&
!
n
.
value
.
whiteList
.
includes
(
L
.
name
)
?
(
ibiz
.
message
.
error
(
`
${
L
.
name
}
文件格式不正确`
,
2.5
,
!
0
),
!
0
)
:
!
1
))
if
(
m
.
some
((
L
)
=>
{
if
(
L
.
size
>
n
.
value
.
defaultSize
*
1024
*
1024
)
return
ibiz
.
message
.
error
(
`
${
L
.
name
}
超出限制,请选择小于
${
n
.
value
.
defaultSize
}
MB的文件`
,
2.5
,
!
0
),
!
0
;
const
R
=
L
.
name
.
split
(
"."
).
pop
()
||
""
;
return
n
.
value
.
whiteList
&&
n
.
value
.
whiteList
.
length
>
0
&&
!
n
.
value
.
whiteList
.
includes
(
R
)
?
(
ibiz
.
message
.
error
(
`
${
L
.
name
}
文件格式不正确`
,
2.5
,
!
0
),
!
0
)
:
!
1
;
}))
return
!
1
;
const
F
=
[];
return
w
.
forEach
((
L
,
G
)
=>
{
return
w
.
forEach
((
L
,
R
)
=>
{
const
ce
=
L
.
name
.
trim
().
toLowerCase
();
if
(
h
.
some
((
de
)
=>
ce
.
endsWith
(
`.
${
de
}
`
)))
{
F
.
push
(
G
);
F
.
push
(
R
);
return
;
}
t
.
value
.
push
({
...
...
@@ -741,7 +746,7 @@ function re(e) {
},
b
=
(
m
,
w
)
=>
{
var
F
;
m
.
forEach
((
L
)
=>
{
t
.
value
.
find
((
G
)
=>
G
.
id
===
L
.
uid
?
(
G
.
status
=
L
.
status
,
!
0
)
:
!
1
);
t
.
value
.
find
((
R
)
=>
R
.
id
===
L
.
uid
?
(
R
.
status
=
L
.
status
,
!
0
)
:
!
1
);
});
const
P
=
new
ee
(
w
);
ibiz
.
notification
.
error
({
...
...
@@ -1519,7 +1524,7 @@ const dt = U({
setup
(
e
)
{
const
{
proxy
:
s
}
=
A
(),
t
=
N
(
"grid"
),
o
=
ct
(
s
,
e
.
modelData
,
e
.
context
,
e
.
params
),
[
i
]
=
nt
(
o
),
{
}
=
G
(),
t
=
N
(
"grid"
),
o
=
ct
(
s
,
e
.
modelData
,
e
.
context
,
e
.
params
),
[
i
]
=
nt
(
o
),
{
onRowClick
:
r
,
onDbRowClick
:
n
,
onSelectionChange
:
a
,
...
...
@@ -1694,7 +1699,7 @@ const le = U({
setup
(
e
)
{
const
{
proxy
:
s
}
=
A
(),
t
=
Pe
(
s
,
e
.
modelPath
);
}
=
G
(),
t
=
Pe
(
s
,
e
.
modelPath
);
B
(
s
,
"deName"
,
t
.
setDeName
.
bind
(
t
));
const
o
=
N
(
"wf-step-trace-grid"
),
i
=
v
([]),
r
=
(
a
,
l
,
h
=
!
1
)
=>
{
a
.
identitylinks
.
length
>
0
||
a
.
comments
.
length
>
0
&&
a
.
comments
.
forEach
((
p
)
=>
{
...
...
@@ -1825,7 +1830,7 @@ U({
setup
(
e
)
{
const
{
proxy
:
s
}
=
A
(),
t
=
K
(
s
,
(
n
,
a
)
=>
new
pt
(
e
.
modelPath
,
n
,
a
)),
o
=
N
(
`view-
${
fe
.
DE_WF_DYNA_EDIT_VIEW3
}
`
.
toLowerCase
()),
i
=
v
([
"mainForm"
]);
}
=
G
(),
t
=
K
(
s
,
(
n
,
a
)
=>
new
pt
(
e
.
modelPath
,
n
,
a
)),
o
=
N
(
`view-
${
fe
.
DE_WF_DYNA_EDIT_VIEW3
}
`
.
toLowerCase
()),
i
=
v
([
"mainForm"
]);
return
{
c
:
t
,
ns
:
o
,
...
...
@@ -1945,7 +1950,7 @@ U({
setup
(
e
)
{
const
{
proxy
:
s
}
=
A
(),
t
=
Ne
(
s
,
e
.
modelPath
),
o
=
N
(
"view-deeditview3"
),
i
=
v
([
"mainForm"
]);
}
=
G
(),
t
=
Ne
(
s
,
e
.
modelPath
),
o
=
N
(
"view-deeditview3"
),
i
=
v
([
"mainForm"
]);
return
{
c
:
t
,
ns
:
o
,
...
...
app_Web/public/plugins/@ibiz-template-plugin/sy-web@0.0.3/dist/index.legacy.js
浏览文件 @
1cf12402
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录