Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
125d0c16
提交
125d0c16
编写于
9月 09, 2025
作者:
Cano1997
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update: 更新插件代码
上级
9fdf4344
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
596 行增加
和
560 行删除
+596
-560
ibiz-template-plugin.es.js
...mplate-plugin/sy-ty@0.0.3/dist/ibiz-template-plugin.es.js
+239
-226
index.legacy.js
...ns/@ibiz-template-plugin/sy-ty@0.0.3/dist/index.legacy.js
+1
-1
ibiz-template-plugin.es.js
...plate-plugin/sy-web@0.0.3/dist/ibiz-template-plugin.es.js
+355
-332
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-ty@0.0.3/dist/ibiz-template-plugin.es.js
浏览文件 @
125d0c16
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
app_Web/public/plugins/@ibiz-template-plugin/sy-ty@0.0.3/dist/index.legacy.js
浏览文件 @
125d0c16
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
app_Web/public/plugins/@ibiz-template-plugin/sy-web@0.0.3/dist/ibiz-template-plugin.es.js
浏览文件 @
125d0c16
var
ce
=
Object
.
defineProperty
;
var
ce
=
Object
.
defineProperty
;
var
de
=
(
e
,
t
,
s
)
=>
t
in
e
?
ce
(
e
,
t
,
{
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
,
value
:
s
})
:
e
[
t
]
=
s
;
var
de
=
(
e
,
t
,
s
)
=>
t
in
e
?
ce
(
e
,
t
,
{
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
,
value
:
s
})
:
e
[
t
]
=
s
;
var
E
=
(
e
,
t
,
s
)
=>
(
de
(
e
,
typeof
t
!=
"symbol"
?
t
+
""
:
t
,
s
),
s
);
var
U
=
(
e
,
t
,
s
)
=>
(
de
(
e
,
typeof
t
!=
"symbol"
?
t
+
""
:
t
,
s
),
s
);
import
{
IndexViewModel
as
ue
,
GridModel
as
he
,
ViewType
as
me
,
ModelUtil
as
pe
}
from
"@ibiz-template/model"
;
import
{
IndexViewModel
as
ue
,
GridModel
as
he
,
ViewType
as
me
,
ModelUtil
as
pe
}
from
"@ibiz-template/model"
;
import
{
GridFieldColumnController
as
Z
,
GridRowController
as
X
,
WFStepTraceViewController
as
fe
,
UploadEditorController
as
J
,
GridController
as
ge
,
GridNotifyState
as
ve
,
WFDynaEditView3Controller
as
w
e
}
from
"@ibiz-template/controller"
;
import
{
GridFieldColumnController
as
Z
,
GridRowController
as
X
,
WFStepTraceViewController
as
fe
,
UploadEditorController
as
J
,
GridController
as
ge
,
GridNotifyState
as
we
,
WFDynaEditView3Controller
as
v
e
}
from
"@ibiz-template/controller"
;
import
{
defineComponent
as
k
,
computed
as
T
,
h
as
c
,
getCurrentInstance
as
R
,
ref
as
g
,
watch
as
N
,
toRefs
as
B
,
onUnmounted
as
be
}
from
"vue"
;
import
{
defineComponent
as
L
,
computed
as
D
,
h
as
c
,
getCurrentInstance
as
A
,
ref
as
g
,
watch
as
P
,
toRefs
as
$
,
onUnmounted
as
be
}
from
"vue"
;
import
{
useNamespace
as
U
,
useViewController
as
Q
,
usePropsWatch
as
z
,
getUploadProps
as
ye
,
getEditorEmits
as
K
,
getGridUploadProps
as
_
,
getGridEditorEmits
as
$
,
useClickOutside
as
Ce
,
useEventListener
as
Fe
,
getInputProps
as
xe
,
getGridInputProps
as
Se
,
useGridCellEditor
as
ke
,
useControlController
as
Le
,
useWFStepTraceViewController
as
Ue
,
useEditView3Controller
as
E
e
}
from
"@ibiz-template/vue-util"
;
import
{
useNamespace
as
E
,
useViewController
as
Q
,
usePropsWatch
as
B
,
getUploadProps
as
ye
,
getEditorEmits
as
K
,
getGridUploadProps
as
z
,
getGridEditorEmits
as
_
,
useClickOutside
as
Ce
,
useEventListener
as
xe
,
getInputProps
as
ke
,
getGridInputProps
as
Fe
,
useGridCellEditor
as
Se
,
useControlController
as
Le
,
useWFStepTraceViewController
as
Ee
,
useEditView3Controller
as
U
e
}
from
"@ibiz-template/vue-util"
;
import
{
colorBlend
as
Ne
,
HttpError
as
Y
,
isImage
as
P
e
,
uploadFile
as
Ie
,
RuntimeError
as
Te
}
from
"@ibiz-template/core"
;
import
{
colorBlend
as
Pe
,
HttpError
as
Y
,
isImage
as
N
e
,
uploadFile
as
Ie
,
RuntimeError
as
Te
}
from
"@ibiz-template/core"
;
import
{
getCookie
as
De
,
createUUID
as
W
}
from
"qx-util"
;
import
{
getCookie
as
De
,
createUUID
as
W
}
from
"qx-util"
;
import
{
debounce
as
R
e
}
from
"lodash-es"
;
import
{
debounce
as
M
e
}
from
"lodash-es"
;
import
{
ViewMode
as
ee
,
UIActionHandler
as
te
,
PluginStaticResource
as
A
e
}
from
"@ibiz-template/runtime"
;
import
{
ViewMode
as
ee
,
UIActionHandler
as
te
,
PluginStaticResource
as
R
e
}
from
"@ibiz-template/runtime"
;
const
Me
=
k
({
const
Ae
=
L
({
name
:
"CodeListGridColumn"
,
name
:
"CodeListGridColumn"
,
props
:
{
props
:
{
controller
:
{
controller
:
{
...
@@ -22,28 +22,28 @@ const Me = k({
...
@@ -22,28 +22,28 @@ const Me = k({
}
}
},
},
setup
(
e
)
{
setup
(
e
)
{
const
t
=
U
(
"grid-field-column"
),
s
=
T
(()
=>
{
const
t
=
E
(
"grid-field-column"
),
s
=
D
(()
=>
{
var
r
;
var
r
;
if
(
e
.
controller
.
model
.
source
.
cLConvertMode
!==
"FRONT"
)
if
(
e
.
controller
.
model
.
source
.
cLConvertMode
!==
"FRONT"
)
return
[];
return
[];
const
n
=
e
.
row
.
data
[
e
.
controller
.
model
.
codeName
];
const
n
=
e
.
row
.
data
[
e
.
controller
.
model
.
codeName
];
return
(
r
=
e
.
controller
.
codeListItems
)
!=
null
&&
r
.
length
&&
n
?
n
.
split
(
","
).
map
((
h
)
=>
{
return
(
r
=
e
.
controller
.
codeListItems
)
!=
null
&&
r
.
length
&&
n
?
n
.
split
(
","
).
map
((
m
)
=>
{
const
m
=
e
.
controller
.
codeListItems
.
find
((
f
)
=>
f
.
value
===
h
);
const
p
=
e
.
controller
.
codeListItems
.
find
((
f
)
=>
f
.
value
===
m
);
if
(
m
)
{
if
(
p
)
{
const
f
=
m
.
color
||
"#515a6e"
;
const
f
=
p
.
color
||
"#515a6e"
;
return
{
return
{
text
:
m
.
text
,
text
:
p
.
text
,
colorStyle
:
t
.
cssVarBlock
({
colorStyle
:
t
.
cssVarBlock
({
color
:
f
,
color
:
f
,
"border-color"
:
f
,
"border-color"
:
f
,
"bg-color"
:
N
e
(
f
,
"#fff"
)
"bg-color"
:
P
e
(
f
,
"#fff"
)
})
})
};
};
}
}
}).
filter
(
Boolean
)
:
[];
}).
filter
(
Boolean
)
:
[];
}),
o
=
(
n
)
=>
{
}),
o
=
(
n
)
=>
{
e
.
controller
.
isLinkColumn
&&
e
.
controller
.
openLinkView
(
e
.
row
,
n
);
e
.
controller
.
isLinkColumn
&&
e
.
controller
.
openLinkView
(
e
.
row
,
n
);
},
i
=
T
(()
=>
{
},
i
=
D
(()
=>
{
let
n
=
""
;
let
n
=
""
;
switch
(
e
.
controller
.
model
.
align
)
{
switch
(
e
.
controller
.
model
.
align
)
{
case
"LEFT"
:
case
"LEFT"
:
...
@@ -92,7 +92,7 @@ class Ge extends fe {
...
@@ -92,7 +92,7 @@ class Ge extends fe {
* @type {string}
* @type {string}
* @memberof PresetWFChartViewController
* @memberof PresetWFChartViewController
*/
*/
E
(
this
,
"imgSrc"
);
U
(
this
,
"imgSrc"
);
}
}
async
getUIData
()
{
async
getUIData
()
{
const
s
=
Object
.
assign
(
this
.
context
.
clone
(),
this
.
params
),
o
=
await
this
.
entityService
.
wf
.
getWFProcessDiagram
(
s
),
i
=
new
Blob
([
o
.
data
],
{
const
s
=
Object
.
assign
(
this
.
context
.
clone
(),
this
.
params
),
o
=
await
this
.
entityService
.
wf
.
getWFProcessDiagram
(
s
),
i
=
new
Blob
([
o
.
data
],
{
...
@@ -101,7 +101,7 @@ class Ge extends fe {
...
@@ -101,7 +101,7 @@ class Ge extends fe {
this
.
imgSrc
=
URL
.
createObjectURL
(
i
);
this
.
imgSrc
=
URL
.
createObjectURL
(
i
);
}
}
}
}
const
Oe
=
k
({
const
Oe
=
L
({
name
:
"PresetWFChartView"
,
name
:
"PresetWFChartView"
,
props
:
{
props
:
{
context
:
Object
,
context
:
Object
,
...
@@ -121,10 +121,10 @@ const Oe = k({
...
@@ -121,10 +121,10 @@ const Oe = k({
}
}
},
},
setup
(
e
)
{
setup
(
e
)
{
const
t
=
U
(
"preset-wf-chart-view"
),
{
const
t
=
E
(
"preset-wf-chart-view"
),
{
proxy
:
s
proxy
:
s
}
=
R
(),
o
=
Q
(
s
,
(
i
,
n
)
=>
new
Ge
(
e
.
modelPath
,
i
,
n
));
}
=
A
(),
o
=
Q
(
s
,
(
i
,
n
)
=>
new
Ge
(
e
.
modelPath
,
i
,
n
));
return
z
(
s
,
"deName"
,
o
.
setDeName
.
bind
(
o
)),
{
return
B
(
s
,
"deName"
,
o
.
setDeName
.
bind
(
o
)),
{
c
:
o
,
c
:
o
,
ns
:
t
ns
:
t
};
};
...
@@ -139,7 +139,7 @@ const Oe = k({
...
@@ -139,7 +139,7 @@ const Oe = k({
})]);
})]);
}
}
});
});
const
Be
=
k
({
const
$e
=
L
({
name
:
"WFToolbar"
,
name
:
"WFToolbar"
,
props
:
{
props
:
{
wfLinks
:
{
wfLinks
:
{
...
@@ -150,7 +150,7 @@ const Be = k({
...
@@ -150,7 +150,7 @@ const Be = k({
setup
(
e
,
{
setup
(
e
,
{
emit
:
t
emit
:
t
})
{
})
{
const
s
=
U
(
"wf-toolbar"
),
o
=
async
(
n
,
r
)
=>
{
const
s
=
E
(
"wf-toolbar"
),
o
=
async
(
n
,
r
)
=>
{
t
(
"wf-link-click"
,
n
,
r
);
t
(
"wf-link-click"
,
n
,
r
);
};
};
return
{
return
{
...
@@ -181,161 +181,166 @@ const Be = k({
...
@@ -181,161 +181,166 @@ const Be = k({
},
[
t
.
sequenceFlowName
||
""
])]);
},
[
t
.
sequenceFlowName
||
""
])]);
})]);
})]);
}
}
}),
z
e
=
typeof
btoa
==
"function"
,
j
=
typeof
Buffer
==
"function"
;
}),
B
e
=
typeof
btoa
==
"function"
,
j
=
typeof
Buffer
==
"function"
;
typeof
TextDecoder
==
"function"
&&
new
TextDecoder
();
typeof
TextDecoder
==
"function"
&&
new
TextDecoder
();
const
V
=
typeof
TextEncoder
==
"function"
?
new
TextEncoder
()
:
void
0
,
_e
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
,
D
=
Array
.
prototype
.
slice
.
call
(
_
e
);
const
V
=
typeof
TextEncoder
==
"function"
?
new
TextEncoder
()
:
void
0
,
ze
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
,
R
=
Array
.
prototype
.
slice
.
call
(
z
e
);
((
e
)
=>
{
((
e
)
=>
{
let
t
=
{};
let
t
=
{};
return
e
.
forEach
((
s
,
o
)
=>
t
[
s
]
=
o
),
t
;
return
e
.
forEach
((
s
,
o
)
=>
t
[
s
]
=
o
),
t
;
})(
D
);
})(
R
);
const
P
=
String
.
fromCharCode
.
bind
(
String
);
const
T
=
String
.
fromCharCode
.
bind
(
String
);
typeof
Uint8Array
.
from
==
"function"
&&
Uint8Array
.
from
.
bind
(
Uint8Array
);
typeof
Uint8Array
.
from
==
"function"
&&
Uint8Array
.
from
.
bind
(
Uint8Array
);
const
$
e
=
(
e
)
=>
e
.
replace
(
/=/g
,
""
).
replace
(
/
[
+
\/]
/g
,
(
t
)
=>
t
==
"+"
?
"-"
:
"_"
),
je
=
(
e
)
=>
{
const
_
e
=
(
e
)
=>
e
.
replace
(
/=/g
,
""
).
replace
(
/
[
+
\/]
/g
,
(
t
)
=>
t
==
"+"
?
"-"
:
"_"
),
je
=
(
e
)
=>
{
let
t
,
s
,
o
,
i
,
n
=
""
;
let
t
,
s
,
o
,
i
,
n
=
""
;
const
r
=
e
.
length
%
3
;
const
r
=
e
.
length
%
3
;
for
(
let
a
=
0
;
a
<
e
.
length
;
)
{
for
(
let
a
=
0
;
a
<
e
.
length
;
)
{
if
((
s
=
e
.
charCodeAt
(
a
++
))
>
255
||
(
o
=
e
.
charCodeAt
(
a
++
))
>
255
||
(
i
=
e
.
charCodeAt
(
a
++
))
>
255
)
if
((
s
=
e
.
charCodeAt
(
a
++
))
>
255
||
(
o
=
e
.
charCodeAt
(
a
++
))
>
255
||
(
i
=
e
.
charCodeAt
(
a
++
))
>
255
)
throw
new
TypeError
(
"invalid character found"
);
throw
new
TypeError
(
"invalid character found"
);
t
=
s
<<
16
|
o
<<
8
|
i
,
n
+=
D
[
t
>>
18
&
63
]
+
D
[
t
>>
12
&
63
]
+
D
[
t
>>
6
&
63
]
+
D
[
t
&
63
];
t
=
s
<<
16
|
o
<<
8
|
i
,
n
+=
R
[
t
>>
18
&
63
]
+
R
[
t
>>
12
&
63
]
+
R
[
t
>>
6
&
63
]
+
R
[
t
&
63
];
}
}
return
r
?
n
.
slice
(
0
,
r
-
3
)
+
"==="
.
substring
(
r
)
:
n
;
return
r
?
n
.
slice
(
0
,
r
-
3
)
+
"==="
.
substring
(
r
)
:
n
;
},
se
=
z
e
?
(
e
)
=>
btoa
(
e
)
:
j
?
(
e
)
=>
Buffer
.
from
(
e
,
"binary"
).
toString
(
"base64"
)
:
je
,
We
=
j
?
(
e
)
=>
Buffer
.
from
(
e
).
toString
(
"base64"
)
:
(
e
)
=>
{
},
se
=
B
e
?
(
e
)
=>
btoa
(
e
)
:
j
?
(
e
)
=>
Buffer
.
from
(
e
,
"binary"
).
toString
(
"base64"
)
:
je
,
We
=
j
?
(
e
)
=>
Buffer
.
from
(
e
).
toString
(
"base64"
)
:
(
e
)
=>
{
let
s
=
[];
let
s
=
[];
for
(
let
o
=
0
,
i
=
e
.
length
;
o
<
i
;
o
+=
4096
)
for
(
let
o
=
0
,
i
=
e
.
length
;
o
<
i
;
o
+=
4096
)
s
.
push
(
P
.
apply
(
null
,
e
.
subarray
(
o
,
o
+
4096
)));
s
.
push
(
T
.
apply
(
null
,
e
.
subarray
(
o
,
o
+
4096
)));
return
se
(
s
.
join
(
""
));
return
se
(
s
.
join
(
""
));
},
Ve
=
(
e
)
=>
{
},
Ve
=
(
e
)
=>
{
if
(
e
.
length
<
2
)
{
if
(
e
.
length
<
2
)
{
var
t
=
e
.
charCodeAt
(
0
);
var
t
=
e
.
charCodeAt
(
0
);
return
t
<
128
?
e
:
t
<
2048
?
P
(
192
|
t
>>>
6
)
+
P
(
128
|
t
&
63
)
:
P
(
224
|
t
>>>
12
&
15
)
+
P
(
128
|
t
>>>
6
&
63
)
+
P
(
128
|
t
&
63
);
return
t
<
128
?
e
:
t
<
2048
?
T
(
192
|
t
>>>
6
)
+
T
(
128
|
t
&
63
)
:
T
(
224
|
t
>>>
12
&
15
)
+
T
(
128
|
t
>>>
6
&
63
)
+
T
(
128
|
t
&
63
);
}
else
{
}
else
{
var
t
=
65536
+
(
e
.
charCodeAt
(
0
)
-
55296
)
*
1024
+
(
e
.
charCodeAt
(
1
)
-
56320
);
var
t
=
65536
+
(
e
.
charCodeAt
(
0
)
-
55296
)
*
1024
+
(
e
.
charCodeAt
(
1
)
-
56320
);
return
P
(
240
|
t
>>>
18
&
7
)
+
P
(
128
|
t
>>>
12
&
63
)
+
P
(
128
|
t
>>>
6
&
63
)
+
P
(
128
|
t
&
63
);
return
T
(
240
|
t
>>>
18
&
7
)
+
T
(
128
|
t
>>>
12
&
63
)
+
T
(
128
|
t
>>>
6
&
63
)
+
T
(
128
|
t
&
63
);
}
}
},
qe
=
/
[\u
D800-
\u
DBFF
][\u
DC00-
\u
DFFFF
]
|
[^\x
00-
\x
7F
]
/g
,
He
=
(
e
)
=>
e
.
replace
(
qe
,
Ve
),
q
=
j
?
(
e
)
=>
Buffer
.
from
(
e
,
"utf8"
).
toString
(
"base64"
)
:
V
?
(
e
)
=>
We
(
V
.
encode
(
e
))
:
(
e
)
=>
se
(
He
(
e
)),
oe
=
(
e
,
t
=
!
1
)
=>
t
?
$
e
(
q
(
e
))
:
q
(
e
);
},
qe
=
/
[\u
D800-
\u
DBFF
][\u
DC00-
\u
DFFFF
]
|
[^\x
00-
\x
7F
]
/g
,
He
=
(
e
)
=>
e
.
replace
(
qe
,
Ve
),
q
=
j
?
(
e
)
=>
Buffer
.
from
(
e
,
"utf8"
).
toString
(
"base64"
)
:
V
?
(
e
)
=>
We
(
V
.
encode
(
e
))
:
(
e
)
=>
se
(
He
(
e
)),
oe
=
(
e
,
t
=
!
1
)
=>
t
?
_
e
(
q
(
e
))
:
q
(
e
);
function
Ze
(
e
,
t
,
s
)
{
function
Ze
(
e
,
t
,
s
)
{
var
S
;
var
k
;
const
o
=
g
([]),
i
=
g
({
const
o
=
g
([]),
i
=
g
({
Authorization
:
`Bearer
${
De
(
"access_token"
)}
`
Authorization
:
`Bearer
${
De
(
"access_token"
)}
`
}),
n
=
g
(
""
),
r
=
g
(
""
),
a
=
{
}),
n
=
g
(
""
),
r
=
g
(
""
),
a
=
{
count
:
0
,
count
:
0
,
cacheFiles
:
[]
cacheFiles
:
[]
// iview上传过程中不能改default-file-list,所以需要缓存
// iview上传过程中不能改default-file-list,所以需要缓存
},
d
=
(
S
=
s
.
editorParams
)
==
null
?
void
0
:
S
.
blackList
;
},
d
=
(
k
=
s
.
editorParams
)
==
null
?
void
0
:
k
.
blackList
;
let
h
=
[];
let
m
=
[];
d
&&
typeof
d
==
"string"
&&
(
h
=
d
.
split
(
","
)),
N
(
d
&&
typeof
d
==
"string"
&&
(
m
=
d
.
split
(
","
)),
P
(
()
=>
e
.
value
,
()
=>
e
.
value
,
(
l
)
=>
{
(
l
)
=>
{
o
.
value
=
l
?
JSON
.
parse
(
l
)
:
[];
o
.
value
=
l
?
JSON
.
parse
(
l
)
:
[];
},
},
{
immediate
:
!
0
}
{
immediate
:
!
0
}
),
N
(
),
P
(
()
=>
e
.
data
,
()
=>
e
.
data
,
(
l
)
=>
{
(
l
)
=>
{
if
(
l
)
{
if
(
l
)
{
const
u
=
s
.
calcBaseUrl
(
l
);
const
h
=
s
.
calcBaseUrl
(
l
);
n
.
value
=
u
.
uploadUrl
,
r
.
value
=
u
.
downloadUrl
;
n
.
value
=
h
.
uploadUrl
,
r
.
value
=
h
.
downloadUrl
;
}
}
},
},
{
immediate
:
!
0
,
deep
:
!
0
}
{
immediate
:
!
0
,
deep
:
!
0
}
),
N
(
),
P
(
o
,
o
,
(
l
)
=>
{
(
l
)
=>
{
l
!=
null
&&
l
.
length
&&
r
.
value
&&
l
.
forEach
((
u
)
=>
{
l
!=
null
&&
l
.
length
&&
r
.
value
&&
l
.
forEach
((
h
)
=>
{
u
.
url
=
u
.
url
||
r
.
value
.
replace
(
"%fileId%"
,
u
.
id
);
h
.
url
=
h
.
url
||
r
.
value
.
replace
(
"%fileId%"
,
h
.
id
);
});
});
},
},
{
immediate
:
!
0
}
{
immediate
:
!
0
}
),
N
(
),
P
(
r
,
r
,
(
l
)
=>
{
(
l
)
=>
{
l
&&
o
.
value
.
length
&&
o
.
value
.
forEach
((
u
)
=>
{
l
&&
o
.
value
.
length
&&
o
.
value
.
forEach
((
h
)
=>
{
u
.
url
=
r
.
value
.
replace
(
"%fileId%"
,
u
.
id
);
h
.
url
=
r
.
value
.
replace
(
"%fileId%"
,
h
.
id
);
});
});
},
},
{
immediate
:
!
0
}
{
immediate
:
!
0
}
);
);
const
m
=
()
=>
{
const
p
=
()
=>
{
const
l
=
[...
o
.
value
,
...
a
.
cacheFiles
],
u
=
l
.
length
>
0
?
JSON
.
stringify
(
l
.
map
((
w
)
=>
({
name
:
w
.
name
,
id
:
w
.
id
})))
:
null
;
const
l
=
[...
o
.
value
,
...
a
.
cacheFiles
],
h
=
l
.
length
>
0
?
JSON
.
stringify
(
l
.
map
((
b
)
=>
({
name
:
b
.
name
,
id
:
b
.
id
})))
:
null
;
a
.
cacheFiles
=
[],
t
(
u
);
a
.
cacheFiles
=
[],
t
(
h
);
},
f
=
(
l
)
=>
{
},
f
=
(
l
)
=>
{
const
u
=
l
.
name
.
trim
().
toLowerCase
();
const
h
=
l
.
name
.
trim
().
toLowerCase
();
if
(
h
.
some
((
x
)
=>
u
.
endsWith
(
`.
${
x
}
`
)))
if
(
m
.
some
((
C
)
=>
h
.
endsWith
(
`.
${
C
}
`
)))
return
ibiz
.
message
.
error
(
`不可上传
${
h
.
join
(
"、"
)}
类型的文件!`
),
!
1
;
return
ibiz
.
message
.
error
(
`不可上传
${
m
.
join
(
"、"
)}
类型的文件!`
),
!
1
;
a
.
count
+=
1
;
a
.
count
+=
1
;
},
C
=
(
l
)
=>
{
},
F
=
(
l
)
=>
{
l
&&
(
a
.
cacheFiles
.
push
({
l
&&
(
a
.
cacheFiles
.
push
({
name
:
l
.
filename
,
name
:
l
.
filename
,
id
:
l
.
fileid
id
:
l
.
fileid
}),
a
.
count
-=
1
,
a
.
count
===
0
&&
m
());
}),
a
.
count
-=
1
,
a
.
count
===
0
&&
p
());
},
b
=
(
l
,
u
)
=>
{
},
y
=
(
l
,
h
)
=>
{
throw
a
.
count
-=
1
,
new
Y
({
throw
a
.
count
-=
1
,
new
Y
({
response
:
{
data
:
u
,
status
:
l
.
status
}
response
:
{
data
:
h
,
status
:
l
.
status
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
// eslint-disable-next-line @typescript-eslint/no-explicit-any
});
});
},
F
=
(
l
)
=>
{
},
x
=
(
l
)
=>
{
if
(
e
.
disabled
)
if
(
e
.
disabled
)
return
;
return
;
const
u
=
o
.
value
.
findIndex
((
w
)
=>
w
.
id
===
l
.
id
);
const
h
=
o
.
value
.
findIndex
((
b
)
=>
b
.
id
===
l
.
id
);
u
!==
-
1
&&
o
.
value
.
splice
(
u
,
1
),
m
();
h
!==
-
1
&&
o
.
value
.
splice
(
h
,
1
),
p
();
},
v
=
(
l
)
=>
{
},
w
=
(
l
)
=>
{
const
u
=
l
.
url
||
r
.
value
.
replace
(
"%fileId%"
,
l
.
id
);
const
b
=
(
s
.
parent
.
form
||
s
.
parent
.
grid
).
model
.
appEntity
.
deName
,
C
=
`
${
l
.
id
}
|
${
b
}
|
${
e
.
data
.
srfkey
}
|
${
s
.
context
.
srfpersonid
||
s
.
context
.
srfuserid
}
`
,
M
=
l
.
url
||
r
.
value
.
replace
(
"%fileId%"
,
l
.
id
);
s
.
fileDownload
({
url
:
u
,
name
:
l
.
name
});
s
.
fileDownload
({
},
p
=
g
(
!
1
),
y
=
g
(
""
),
I
=
g
(
""
);
url
:
`
${
M
}
?key=
${
window
.
btoa
(
C
)}${
Math
.
floor
(
1
e3
+
Math
.
random
()
*
9
e3
)}
`
,
name
:
l
.
name
});
},
u
=
g
(
!
1
),
v
=
g
(
""
),
N
=
g
(
""
);
return
{
return
{
uploadUrl
:
n
,
uploadUrl
:
n
,
downloadUrl
:
r
,
downloadUrl
:
r
,
headers
:
i
,
headers
:
i
,
files
:
o
,
files
:
o
,
onDownload
:
v
,
onDownload
:
w
,
onError
:
b
,
onError
:
y
,
onRemove
:
F
,
onRemove
:
x
,
onSuccess
:
C
,
onSuccess
:
F
,
beforeUpload
:
f
,
beforeUpload
:
f
,
showModal
:
p
,
showModal
:
u
,
modalTitle
:
y
,
modalTitle
:
v
,
iframeUrl
:
I
,
iframeUrl
:
N
,
onModalCancel
:
()
=>
{
onModalCancel
:
()
=>
{
p
.
value
=
!
1
,
y
.
value
=
""
,
I
.
value
=
""
;
u
.
value
=
!
1
,
v
.
value
=
""
,
N
.
value
=
""
;
},
},
previewFile
:
(
l
)
=>
{
previewFile
:
(
l
)
=>
{
p
.
value
=
!
0
,
y
.
value
=
l
.
name
;
u
.
value
=
!
0
,
v
.
value
=
l
.
name
;
const
u
=
window
.
Environment
.
previewFileUrl
;
const
h
=
window
.
Environment
.
previewFileUrl
;
if
(
u
)
{
if
(
h
)
{
const
w
=
encodeURIComponent
(
const
b
=
encodeURIComponent
(
oe
(
oe
(
`
${
window
.
location
.
origin
}${
l
.
url
}
?fullfilename=
${
l
.
name
}
`
`
${
window
.
location
.
origin
}${
l
.
url
}
?fullfilename=
${
l
.
name
}
`
)
)
);
);
I
.
value
=
`
${
u
}
/onlinePreview?url=
${
w
}
`
;
N
.
value
=
`
${
h
}
/onlinePreview?url=
${
b
}
`
;
}
}
}
}
};
};
}
}
const
Xe
=
k
({
const
Xe
=
L
({
name
:
"SyFileUpload"
,
name
:
"SyFileUpload"
,
props
:
ye
(),
props
:
ye
(),
emits
:
K
(),
emits
:
K
(),
setup
(
e
,
{
setup
(
e
,
{
emit
:
t
emit
:
t
})
{
})
{
const
s
=
U
(
"sy-file-upload"
),
o
=
e
.
controller
,
{
const
s
=
E
(
"sy-file-upload"
),
o
=
e
.
controller
,
{
uploadUrl
:
i
,
uploadUrl
:
i
,
headers
:
n
,
headers
:
n
,
files
:
r
,
files
:
r
,
onDownload
:
a
,
onDownload
:
a
,
onError
:
d
,
onError
:
d
,
onRemove
:
h
,
onRemove
:
m
,
onSuccess
:
m
,
onSuccess
:
p
,
beforeUpload
:
f
,
beforeUpload
:
f
,
showModal
:
C
,
showModal
:
F
,
modalTitle
:
b
,
modalTitle
:
y
,
iframeUrl
:
F
,
iframeUrl
:
x
,
onModalCancel
:
v
,
onModalCancel
:
w
,
previewFile
:
p
previewFile
:
u
}
=
Ze
(
e
,
(
y
)
=>
{
}
=
Ze
(
e
,
(
I
)
=>
{
t
(
"change"
,
y
);
t
(
"change"
,
I
);
},
o
);
},
o
)
,
v
=
D
(()
=>
o
.
editorParams
.
showPreview
?
o
.
editorParams
.
showPreview
===
"true"
:
window
.
Environment
.
kkviewon
)
;
return
{
return
{
ns
:
s
,
ns
:
s
,
c
:
o
,
c
:
o
,
...
@@ -344,14 +349,17 @@ const Xe = k({
...
@@ -344,14 +349,17 @@ const Xe = k({
files
:
r
,
files
:
r
,
onDownload
:
a
,
onDownload
:
a
,
onError
:
d
,
onError
:
d
,
onRemove
:
h
,
onRemove
:
m
,
onSuccess
:
m
,
onSuccess
:
p
,
beforeUpload
:
f
,
beforeUpload
:
f
,
showModal
:
C
,
showModal
:
F
,
modalTitle
:
b
,
modalTitle
:
y
,
iframeUrl
:
F
,
iframeUrl
:
x
,
onModalCancel
:
v
,
onModalCancel
:
w
,
previewFile
:
p
onPreview
:
(
I
)
=>
{
v
.
value
&&
u
(
I
);
},
showPreview
:
v
};
};
},
},
render
(
e
)
{
render
(
e
)
{
...
@@ -441,13 +449,13 @@ const Xe = k({
...
@@ -441,13 +449,13 @@ const Xe = k({
attrs
:
{
attrs
:
{
d
:
"M8,6.25590375 C9.72432306,6.25590375 11.1277921,7.62964308 11.175675,9.34238963 L11.1769379,9.43284162 L11.1769379,12.7456325 C11.1769379,14.5002069 9.75457434,15.9225704 8,15.9225704 C6.27567694,15.9225704 4.8722079,14.5488311 4.824325,12.8360845 L4.82306213,12.7456325 L4.82306213,10.7559037 C4.82306213,10.4797614 5.04691975,10.2559037 5.32306213,10.2559037 C5.58296083,10.2559037 5.79654502,10.4541998 5.82077327,10.7077504 L5.82306213,10.7559037 L5.82306213,12.7456325 C5.82306213,13.9479221 6.79771041,14.9225704 8,14.9225704 C9.17615286,14.9225704 10.1344543,13.9898375 10.1755637,12.8237123 L10.1769379,12.7456325 L10.1769379,9.43284162 C10.1769379,8.23055203 9.20228959,7.25590375 8,7.25590375 C7.72385763,7.25590375 7.5,7.03204612 7.5,6.75590375 C7.5,6.47976137 7.72385763,6.25590375 8,6.25590375 Z M8,0.0774295852 C9.72432306,0.0774295852 11.1277921,1.45116892 11.175675,3.16391546 L11.1769379,3.25436746 L11.1769379,5.24409625 C11.1769379,5.52023863 10.9530802,5.74409625 10.6769379,5.74409625 C10.4170392,5.74409625 10.203455,5.54580022 10.1792267,5.29224959 L10.1769379,5.24409625 L10.1769379,3.25436746 C10.1769379,2.05207787 9.20228959,1.07742959 8,1.07742959 C6.82384714,1.07742959 5.86554572,2.01016247 5.82443628,3.17628769 L5.82306213,3.25436746 L5.82306213,6.56715838 C5.82306213,7.76944797 6.79771041,8.74409625 8,8.74409625 C8.27614237,8.74409625 8.5,8.96795388 8.5,9.24409625 C8.5,9.52023863 8.27614237,9.74409625 8,9.74409625 C6.27567694,9.74409625 4.8722079,8.37035692 4.824325,6.65761037 L4.82306213,6.56715838 L4.82306213,3.25436746 C4.82306213,1.49979312 6.24542566,0.0774295852 8,0.0774295852 Z"
,
d
:
"M8,6.25590375 C9.72432306,6.25590375 11.1277921,7.62964308 11.175675,9.34238963 L11.1769379,9.43284162 L11.1769379,12.7456325 C11.1769379,14.5002069 9.75457434,15.9225704 8,15.9225704 C6.27567694,15.9225704 4.8722079,14.5488311 4.824325,12.8360845 L4.82306213,12.7456325 L4.82306213,10.7559037 C4.82306213,10.4797614 5.04691975,10.2559037 5.32306213,10.2559037 C5.58296083,10.2559037 5.79654502,10.4541998 5.82077327,10.7077504 L5.82306213,10.7559037 L5.82306213,12.7456325 C5.82306213,13.9479221 6.79771041,14.9225704 8,14.9225704 C9.17615286,14.9225704 10.1344543,13.9898375 10.1755637,12.8237123 L10.1769379,12.7456325 L10.1769379,9.43284162 C10.1769379,8.23055203 9.20228959,7.25590375 8,7.25590375 C7.72385763,7.25590375 7.5,7.03204612 7.5,6.75590375 C7.5,6.47976137 7.72385763,6.25590375 8,6.25590375 Z M8,0.0774295852 C9.72432306,0.0774295852 11.1277921,1.45116892 11.175675,3.16391546 L11.1769379,3.25436746 L11.1769379,5.24409625 C11.1769379,5.52023863 10.9530802,5.74409625 10.6769379,5.74409625 C10.4170392,5.74409625 10.203455,5.54580022 10.1792267,5.29224959 L10.1769379,5.24409625 L10.1769379,3.25436746 C10.1769379,2.05207787 9.20228959,1.07742959 8,1.07742959 C6.82384714,1.07742959 5.86554572,2.01016247 5.82443628,3.17628769 L5.82306213,3.25436746 L5.82306213,6.56715838 C5.82306213,7.76944797 6.79771041,8.74409625 8,8.74409625 C8.27614237,8.74409625 8.5,8.96795388 8.5,9.24409625 C8.5,9.52023863 8.27614237,9.74409625 8,9.74409625 C6.27567694,9.74409625 4.8722079,8.37035692 4.824325,6.65761037 L4.82306213,6.56715838 L4.82306213,3.25436746 C4.82306213,1.49979312 6.24542566,0.0774295852 8,0.0774295852 Z"
,
id
:
"形状结合"
,
id
:
"形状结合"
,
fill
:
"
#000000
"
,
fill
:
"
currentColor
"
,
transform
:
"translate(8.000000, 8.000000) rotate(-315.000000) translate(-8.000000, -8.000000) "
transform
:
"translate(8.000000, 8.000000) rotate(-315.000000) translate(-8.000000, -8.000000) "
}
}
})])])])])]),
e
(
"div"
,
{
})])])])])]),
e
(
"div"
,
{
class
:
this
.
ns
.
b
(
"file-item-right-title"
),
class
:
this
.
ns
.
b
(
"file-item-right-title"
),
on
:
{
on
:
{
click
:
()
=>
this
.
previewFile
(
t
)
click
:
()
=>
this
.
onPreview
(
t
)
}
}
},
[
t
.
name
]),
e
(
"div"
,
{
},
[
t
.
name
]),
e
(
"div"
,
{
class
:
this
.
ns
.
b
(
"file-item-right-action"
)
class
:
this
.
ns
.
b
(
"file-item-right-action"
)
...
@@ -493,10 +501,10 @@ const Xe = k({
...
@@ -493,10 +501,10 @@ const Xe = k({
width
:
"16"
,
width
:
"16"
,
height
:
"16"
height
:
"16"
}
}
})])])])]),
e
(
"span"
,
{
})])])])]),
this
.
showPreview
?
e
(
"span"
,
{
class
:
this
.
ns
.
e
(
"icon-preview"
),
class
:
this
.
ns
.
e
(
"icon-preview"
),
on
:
{
on
:
{
click
:
()
=>
this
.
previewFile
(
t
)
click
:
()
=>
this
.
onPreview
(
t
)
}
}
},
[
e
(
"svg"
,
{
},
[
e
(
"svg"
,
{
attrs
:
{
attrs
:
{
...
@@ -542,7 +550,7 @@ const Xe = k({
...
@@ -542,7 +550,7 @@ const Xe = k({
width
:
"16"
,
width
:
"16"
,
height
:
"16"
height
:
"16"
}
}
})])])])])]),
this
.
disabled
||
this
.
readonly
?
null
:
e
(
"span"
,
{
})])])])])])
:
null
,
this
.
disabled
||
this
.
readonly
?
null
:
e
(
"span"
,
{
class
:
this
.
ns
.
e
(
"icon-remove"
),
class
:
this
.
ns
.
e
(
"icon-remove"
),
on
:
{
on
:
{
click
:
()
=>
this
.
onRemove
(
t
)
click
:
()
=>
this
.
onRemove
(
t
)
...
@@ -608,16 +616,16 @@ const Xe = k({
...
@@ -608,16 +616,16 @@ const Xe = k({
})])]);
})])]);
}
}
});
});
function
G
(
e
,
t
)
{
function
O
(
e
,
t
)
{
if
(
e
.
url
=
t
.
replace
(
"%fileId%"
,
e
.
id
),
e
.
status
||
(
e
.
status
=
"finished"
),
!
e
.
fileName
)
{
if
(
e
.
url
=
t
.
replace
(
"%fileId%"
,
e
.
id
),
e
.
status
||
(
e
.
status
=
"finished"
),
!
e
.
fileName
)
{
const
s
=
e
.
name
.
lastIndexOf
(
"."
);
const
s
=
e
.
name
.
lastIndexOf
(
"."
);
e
.
fileName
=
e
.
name
.
substring
(
0
,
s
),
e
.
fileExt
=
e
.
name
.
substring
(
s
),
e
.
isImage
=
P
e
(
e
.
name
);
e
.
fileName
=
e
.
name
.
substring
(
0
,
s
),
e
.
fileExt
=
e
.
name
.
substring
(
s
),
e
.
isImage
=
N
e
(
e
.
name
);
}
}
return
e
;
return
e
;
}
}
function
ie
(
e
)
{
function
ie
(
e
)
{
const
t
=
g
(
""
),
s
=
g
(
""
),
o
=
g
([]);
const
t
=
g
(
""
),
s
=
g
(
""
),
o
=
g
([]);
return
N
(
return
P
(
e
.
data
,
e
.
data
,
(
i
)
=>
{
(
i
)
=>
{
if
(
i
)
{
if
(
i
)
{
...
@@ -626,19 +634,19 @@ function ie(e) {
...
@@ -626,19 +634,19 @@ function ie(e) {
}
}
},
},
{
immediate
:
!
0
,
deep
:
!
0
}
{
immediate
:
!
0
,
deep
:
!
0
}
),
N
(
),
P
(
e
.
value
,
e
.
value
,
(
i
)
=>
{
(
i
)
=>
{
o
.
value
=
i
?
JSON
.
parse
(
i
)
:
[],
o
.
value
.
length
&&
s
.
value
&&
o
.
value
.
forEach
((
n
)
=>
{
o
.
value
=
i
?
JSON
.
parse
(
i
)
:
[],
o
.
value
.
length
&&
s
.
value
&&
o
.
value
.
forEach
((
n
)
=>
{
G
(
n
,
s
.
value
);
O
(
n
,
s
.
value
);
});
});
},
},
{
immediate
:
!
0
}
{
immediate
:
!
0
}
),
N
(
),
P
(
s
,
s
,
(
i
)
=>
{
(
i
)
=>
{
i
&&
o
.
value
.
length
&&
o
.
value
.
forEach
((
n
)
=>
{
i
&&
o
.
value
.
length
&&
o
.
value
.
forEach
((
n
)
=>
{
G
(
n
,
i
);
O
(
n
,
i
);
});
});
},
},
{
immediate
:
!
0
}
{
immediate
:
!
0
}
...
@@ -649,14 +657,14 @@ function ie(e) {
...
@@ -649,14 +657,14 @@ function ie(e) {
};
};
}
}
function
ne
(
e
)
{
function
ne
(
e
)
{
var
L
,
S
;
var
S
,
k
;
const
t
=
g
(
"undo"
),
s
=
g
([]),
{
downloadUrl
:
o
,
value
:
i
,
uploadUrl
:
n
,
controller
:
r
}
=
e
,
a
=
(
S
=
(
L
=
r
==
null
?
void
0
:
r
.
value
)
==
null
?
void
0
:
L
.
editorParams
)
==
null
?
void
0
:
S
.
blackList
;
const
t
=
g
(
"undo"
),
s
=
g
([]),
{
downloadUrl
:
o
,
value
:
i
,
uploadUrl
:
n
,
controller
:
r
}
=
e
,
a
=
(
k
=
(
S
=
r
==
null
?
void
0
:
r
.
value
)
==
null
?
void
0
:
S
.
editorParams
)
==
null
?
void
0
:
k
.
blackList
;
let
d
=
[];
let
d
=
[];
a
&&
typeof
a
==
"string"
&&
(
d
=
a
.
split
(
","
)),
N
(
a
&&
typeof
a
==
"string"
&&
(
d
=
a
.
split
(
","
)),
P
(
i
,
i
,
(
l
)
=>
{
(
l
)
=>
{
l
.
length
>
0
&&
(
s
.
value
=
[],
l
.
forEach
((
u
)
=>
{
l
.
length
>
0
&&
(
s
.
value
=
[],
l
.
forEach
((
h
)
=>
{
s
.
value
.
push
(
G
(
u
,
o
.
value
));
s
.
value
.
push
(
O
(
h
,
o
.
value
));
}));
}));
},
},
{
{
...
@@ -664,90 +672,90 @@ function ne(e) {
...
@@ -664,90 +672,90 @@ function ne(e) {
deep
:
!
0
deep
:
!
0
}
}
);
);
const
h
=
(
l
,
u
)
=>
{
const
m
=
(
l
,
h
)
=>
{
const
w
=
[];
const
b
=
[];
return
u
.
forEach
((
x
,
A
)
=>
{
return
h
.
forEach
((
C
,
M
)
=>
{
const
M
=
x
.
name
.
trim
().
toLowerCase
();
const
G
=
C
.
name
.
trim
().
toLowerCase
();
if
(
d
.
some
((
le
)
=>
M
.
endsWith
(
`.
${
le
}
`
)))
{
if
(
d
.
some
((
le
)
=>
G
.
endsWith
(
`.
${
le
}
`
)))
{
w
.
push
(
A
);
b
.
push
(
M
);
return
;
return
;
}
}
s
.
value
.
push
({
s
.
value
.
push
({
name
:
x
.
name
,
name
:
C
.
name
,
status
:
x
.
status
,
status
:
C
.
status
,
percentage
:
x
.
percentage
,
percentage
:
C
.
percentage
,
id
:
x
.
uid
,
id
:
C
.
uid
,
url
:
""
url
:
""
});
});
}),
w
.
length
===
u
.
length
?
(
ibiz
.
message
.
error
(
`不可上传
${
d
.
join
(
"、"
)}
类型的文件!`
),
!
1
)
:
(
w
.
length
&&
(
w
.
forEach
((
x
)
=>
{
}),
b
.
length
===
h
.
length
?
(
ibiz
.
message
.
error
(
`不可上传
${
d
.
join
(
"、"
)}
类型的文件!`
),
!
1
)
:
(
b
.
length
&&
(
b
.
forEach
((
C
)
=>
{
l
.
splice
(
x
,
1
),
u
.
splice
(
x
,
1
);
l
.
splice
(
C
,
1
),
h
.
splice
(
C
,
1
);
}),
ibiz
.
message
.
error
(
`不可上传
${
d
.
join
(
"、"
)}
类型的文件!`
)),
!
0
);
}),
ibiz
.
message
.
error
(
`不可上传
${
d
.
join
(
"、"
)}
类型的文件!`
)),
!
0
);
},
m
=
(
l
)
=>
{
},
p
=
(
l
)
=>
{
l
.
forEach
((
u
)
=>
{
l
.
forEach
((
h
)
=>
{
s
.
value
.
find
((
w
)
=>
w
.
id
===
u
.
uid
?
(
w
.
percentage
=
u
.
percentage
,
!
0
)
:
!
1
);
s
.
value
.
find
((
b
)
=>
b
.
id
===
h
.
uid
?
(
b
.
percentage
=
h
.
percentage
,
!
0
)
:
!
1
);
});
});
},
f
=
(
l
,
u
)
=>
{
},
f
=
(
l
,
h
)
=>
{
l
.
forEach
((
w
)
=>
{
l
.
forEach
((
b
)
=>
{
s
.
value
.
find
((
x
)
=>
x
.
id
===
w
.
uid
?
(
x
.
status
=
w
.
status
,
x
.
id
=
u
.
data
.
fileid
,
x
.
name
=
u
.
data
.
filename
,
G
(
x
,
o
.
value
),
!
0
)
:
!
1
);
s
.
value
.
find
((
C
)
=>
C
.
id
===
b
.
uid
?
(
C
.
status
=
b
.
status
,
C
.
id
=
h
.
data
.
fileid
,
C
.
name
=
h
.
data
.
filename
,
O
(
C
,
o
.
value
),
!
0
)
:
!
1
);
});
});
},
C
=
(
l
,
u
)
=>
{
},
F
=
(
l
,
h
)
=>
{
var
x
;
var
C
;
l
.
forEach
((
A
)
=>
{
l
.
forEach
((
M
)
=>
{
s
.
value
.
find
((
M
)
=>
M
.
id
===
A
.
uid
?
(
M
.
status
=
A
.
status
,
!
0
)
:
!
1
);
s
.
value
.
find
((
G
)
=>
G
.
id
===
M
.
uid
?
(
G
.
status
=
M
.
status
,
!
0
)
:
!
1
);
});
});
const
w
=
new
Y
(
u
);
const
b
=
new
Y
(
h
);
ibiz
.
notification
.
error
({
ibiz
.
notification
.
error
({
title
:
(
x
=
w
.
status
)
==
null
?
void
0
:
x
.
toString
(),
title
:
(
C
=
b
.
status
)
==
null
?
void
0
:
C
.
toString
(),
desc
:
w
.
message
,
desc
:
b
.
message
,
duration
:
10
duration
:
10
});
});
},
b
=
(
l
)
=>
{
},
y
=
(
l
)
=>
{
s
.
value
=
s
.
value
.
filter
((
u
)
=>
u
.
status
===
"finished"
),
t
.
value
=
"done"
;
s
.
value
=
s
.
value
.
filter
((
h
)
=>
h
.
status
===
"finished"
),
t
.
value
=
"done"
;
},
F
=
()
=>
{
},
x
=
()
=>
{
Ie
({
Ie
({
multiple
:
e
.
multiple
,
multiple
:
e
.
multiple
,
accept
:
e
.
accept
,
accept
:
e
.
accept
,
uploadUrl
:
n
.
value
,
uploadUrl
:
n
.
value
,
beforeUpload
:
h
,
beforeUpload
:
m
,
progress
:
m
,
progress
:
p
,
success
:
f
,
success
:
f
,
error
:
C
,
error
:
F
,
finish
:
b
finish
:
y
});
});
},
v
=
g
(
!
1
),
p
=
g
(
""
),
y
=
g
(
""
);
},
w
=
g
(
!
1
),
u
=
g
(
""
),
v
=
g
(
""
);
return
{
return
{
selectFile
:
F
,
selectFile
:
x
,
fileList
:
s
,
fileList
:
s
,
uploadState
:
t
,
uploadState
:
t
,
showModal
:
v
,
showModal
:
w
,
modalTitle
:
p
,
modalTitle
:
u
,
iframeUrl
:
y
,
iframeUrl
:
v
,
onModalCancel
:
()
=>
{
onModalCancel
:
()
=>
{
v
.
value
=
!
1
,
p
.
value
=
""
,
y
.
value
=
""
;
w
.
value
=
!
1
,
u
.
value
=
""
,
v
.
value
=
""
;
},
},
previewFile
:
(
l
)
=>
{
previewFile
:
(
l
)
=>
{
v
.
value
=
!
0
,
p
.
value
=
l
.
name
;
w
.
value
=
!
0
,
u
.
value
=
l
.
name
;
const
u
=
window
.
Environment
.
previewFileUrl
;
const
h
=
window
.
Environment
.
previewFileUrl
;
if
(
u
)
{
if
(
h
)
{
const
w
=
encodeURIComponent
(
const
b
=
encodeURIComponent
(
oe
(
oe
(
`
${
window
.
location
.
origin
}${
l
.
url
}
?fullfilename=
${
l
.
name
}
`
`
${
window
.
location
.
origin
}${
l
.
url
}
?fullfilename=
${
l
.
name
}
`
)
)
);
);
y
.
value
=
`
${
u
}
/onlinePreview?url=
${
w
}
`
;
v
.
value
=
`
${
h
}
/onlinePreview?url=
${
b
}
`
;
}
}
}
}
};
};
}
}
const
Je
=
k
({
const
Je
=
L
({
name
:
"SyGridFileUpload"
,
name
:
"SyGridFileUpload"
,
props
:
_
(),
props
:
z
(),
setup
(
e
)
{
setup
(
e
)
{
const
t
=
U
(
"sy-grid-file-upload"
),
{
const
t
=
E
(
"sy-grid-file-upload"
),
{
value
:
s
,
value
:
s
,
data
:
o
,
data
:
o
,
controller
:
i
controller
:
i
}
=
B
(
e
),
{
}
=
$
(
e
),
{
downloadUrl
:
n
,
downloadUrl
:
n
,
uploadUrl
:
r
,
uploadUrl
:
r
,
valueList
:
a
valueList
:
a
...
@@ -757,27 +765,33 @@ const Je = k({
...
@@ -757,27 +765,33 @@ const Je = k({
controller
:
i
controller
:
i
}),
{
}),
{
fileList
:
d
,
fileList
:
d
,
showModal
:
h
,
showModal
:
m
,
modalTitle
:
m
,
modalTitle
:
p
,
iframeUrl
:
f
,
iframeUrl
:
f
,
previewFile
:
C
,
previewFile
:
F
,
onModalCancel
:
b
onModalCancel
:
y
}
=
ne
({
}
=
ne
({
downloadUrl
:
n
,
downloadUrl
:
n
,
uploadUrl
:
r
,
uploadUrl
:
r
,
value
:
a
value
:
a
,
});
controller
:
i
}),
x
=
(
u
)
=>
{
const
v
=
e
.
controller
,
I
=
v
.
parent
.
grid
.
model
.
appEntity
.
deName
,
S
=
`
${
u
.
id
}
|
${
I
}
|
${
o
.
value
.
srfkey
}
|
${
v
.
context
.
srfpersonid
||
v
.
context
.
srfuserid
}
`
,
k
=
u
.
url
||
n
.
value
.
replace
(
"%fileId%"
,
u
.
id
);
v
.
fileDownload
({
url
:
`
${
k
}
?key=
${
window
.
btoa
(
S
)}${
Math
.
floor
(
1
e3
+
Math
.
random
()
*
9
e3
)}
`
,
name
:
u
.
name
});
},
w
=
D
(()
=>
e
.
controller
.
editorParams
.
showPreview
?
e
.
controller
.
editorParams
.
showPreview
===
"true"
:
window
.
Environment
.
kkviewon
);
return
{
return
{
ns
:
t
,
ns
:
t
,
fileList
:
d
,
fileList
:
d
,
showModal
:
h
,
showModal
:
m
,
modalTitle
:
m
,
modalTitle
:
p
,
iframeUrl
:
f
,
iframeUrl
:
f
,
downloadFile
:
(
v
)
=>
{
showPreview
:
w
,
e
.
controller
.
fileDownload
(
v
);
downloadFile
:
x
,
},
previewFile
:
F
,
previewFile
:
C
,
onModalCancel
:
y
onModalCancel
:
b
};
};
},
},
render
()
{
render
()
{
...
@@ -806,14 +820,14 @@ const Je = k({
...
@@ -806,14 +820,14 @@ const Je = k({
on
:
{
on
:
{
click
:
()
=>
this
.
downloadFile
(
e
)
click
:
()
=>
this
.
downloadFile
(
e
)
}
}
}),
c
(
"i-icon"
,
{
}),
this
.
showPreview
?
c
(
"i-icon"
,
{
attrs
:
{
attrs
:
{
type
:
"md-eye"
type
:
"md-eye"
},
},
on
:
{
on
:
{
click
:
()
=>
this
.
previewFile
(
e
)
click
:
()
=>
this
.
previewFile
(
e
)
}
}
})])]))]),
c
(
"i-modal"
,
{
})
:
null
])]))]),
c
(
"i-modal"
,
{
attrs
:
{
attrs
:
{
value
:
this
.
showModal
,
value
:
this
.
showModal
,
title
:
this
.
modalTitle
,
title
:
this
.
modalTitle
,
...
@@ -832,10 +846,10 @@ const Je = k({
...
@@ -832,10 +846,10 @@ const Je = k({
}
}
})])]);
})])]);
}
}
}),
Qe
=
k
({
}),
Qe
=
L
({
name
:
"SyGridFileUploadContainer"
,
name
:
"SyGridFileUploadContainer"
,
props
:
_
(),
props
:
z
(),
emits
:
$
(),
emits
:
_
(),
render
(
e
)
{
render
(
e
)
{
return
this
.
disabled
||
this
.
readonly
?
e
(
"SyGridFileUpload"
,
{
return
this
.
disabled
||
this
.
readonly
?
e
(
"SyGridFileUpload"
,
{
props
:
{
props
:
{
...
@@ -856,7 +870,7 @@ const Je = k({
...
@@ -856,7 +870,7 @@ const Je = k({
});
});
}
}
});
});
const
Ke
=
k
({
const
Ke
=
L
({
name
:
"SyEditGridFileUploadPopover"
,
name
:
"SyEditGridFileUploadPopover"
,
props
:
{
props
:
{
uploadUrl
:
{
uploadUrl
:
{
...
@@ -874,6 +888,10 @@ const Ke = k({
...
@@ -874,6 +888,10 @@ const Ke = k({
controller
:
{
controller
:
{
type
:
J
,
type
:
J
,
required
:
!
0
required
:
!
0
},
data
:
{
type
:
Object
,
required
:
!
0
}
}
},
},
emits
:
{
emits
:
{
...
@@ -882,39 +900,43 @@ const Ke = k({
...
@@ -882,39 +900,43 @@ const Ke = k({
setup
(
e
,
{
setup
(
e
,
{
emit
:
t
emit
:
t
})
{
})
{
const
s
=
U
(
"sy-edit-grid-file-upload-popover"
),
{
const
s
=
E
(
"sy-edit-grid-file-upload-popover"
),
{
downloadUrl
:
o
,
downloadUrl
:
o
,
value
:
i
,
value
:
i
,
uploadUrl
:
n
,
uploadUrl
:
n
,
controller
:
r
controller
:
r
}
=
B
(
e
),
{
}
=
$
(
e
),
{
fileList
:
a
,
fileList
:
a
,
uploadState
:
d
,
uploadState
:
d
,
selectFile
:
h
selectFile
:
m
}
=
ne
({
}
=
ne
({
downloadUrl
:
o
,
downloadUrl
:
o
,
value
:
i
,
value
:
i
,
uploadUrl
:
n
,
uploadUrl
:
n
,
controller
:
r
controller
:
r
}),
m
=
g
(),
f
=
g
(
!
1
),
C
=
Ce
(
m
,
async
(
v
)
=>
{
}),
p
=
g
(),
f
=
g
(
!
1
),
F
=
Ce
(
p
,
async
(
w
)
=>
{
t
(
"close"
,
{
t
(
"close"
,
{
isModified
:
f
.
value
,
isModified
:
f
.
value
,
resultFiles
:
a
.
value
resultFiles
:
a
.
value
});
});
});
});
return
N
(
d
,
(
v
)
=>
{
return
P
(
d
,
(
w
)
=>
{
v
===
"done"
?
(
f
.
value
=
!
0
,
C
.
proceed
())
:
v
===
"loading"
&&
C
.
pause
();
w
===
"done"
?
(
f
.
value
=
!
0
,
F
.
proceed
())
:
w
===
"loading"
&&
F
.
pause
();
}),
{
}),
{
ns
:
s
,
ns
:
s
,
componentRef
:
m
,
componentRef
:
p
,
fileList
:
a
,
fileList
:
a
,
deleteFile
:
(
v
)
=>
{
deleteFile
:
(
w
)
=>
{
const
p
=
a
.
value
.
findIndex
((
y
)
=>
y
.
id
===
v
.
id
);
const
u
=
a
.
value
.
findIndex
((
v
)
=>
v
.
id
===
w
.
id
);
a
.
value
.
splice
(
p
,
1
),
f
.
value
=
!
0
;
a
.
value
.
splice
(
u
,
1
),
f
.
value
=
!
0
;
},
},
selectFile
:
h
,
selectFile
:
m
,
downloadFile
:
(
v
)
=>
{
downloadFile
:
(
w
)
=>
{
e
.
controller
.
fileDownload
(
v
);
const
u
=
e
.
controller
,
N
=
u
.
parent
.
grid
.
model
.
appEntity
.
deName
,
I
=
`
${
w
.
id
}
|
${
N
}
|
${
e
.
data
.
srfkey
}
|
${
u
.
context
.
srfpersonid
||
u
.
context
.
srfuserid
}
`
,
S
=
w
.
url
||
o
.
value
.
replace
(
"%fileId%"
,
w
.
id
);
u
.
fileDownload
({
url
:
`
${
S
}
?key=
${
window
.
btoa
(
I
)}${
Math
.
floor
(
1
e3
+
Math
.
random
()
*
9
e3
)}
`
,
name
:
w
.
name
});
}
}
};
};
},
},
...
@@ -954,18 +976,18 @@ const Ke = k({
...
@@ -954,18 +976,18 @@ const Ke = k({
}),
"添加文件"
])]);
}),
"添加文件"
])]);
}
}
});
});
const
Ye
=
k
({
const
Ye
=
L
({
name
:
"SyEditGridFileUpload"
,
name
:
"SyEditGridFileUpload"
,
props
:
_
(),
props
:
z
(),
emits
:
$
(),
emits
:
_
(),
setup
(
e
,
{
setup
(
e
,
{
emit
:
t
emit
:
t
})
{
})
{
const
s
=
U
(
"sy-edit-grid-file-upload"
),
{
const
s
=
E
(
"sy-edit-grid-file-upload"
),
{
value
:
o
,
value
:
o
,
data
:
i
,
data
:
i
,
controller
:
n
controller
:
n
}
=
B
(
e
),
{
}
=
$
(
e
),
{
downloadUrl
:
r
,
downloadUrl
:
r
,
uploadUrl
:
a
,
uploadUrl
:
a
,
valueList
:
d
valueList
:
d
...
@@ -973,48 +995,49 @@ const Ye = k({
...
@@ -973,48 +995,49 @@ const Ye = k({
value
:
o
,
value
:
o
,
data
:
i
,
data
:
i
,
controller
:
n
controller
:
n
}),
h
=
g
(),
m
=
async
()
=>
{
}),
m
=
g
(),
p
=
async
()
=>
{
if
(
!
h
.
value
)
if
(
!
m
.
value
)
throw
new
Te
(
"容器元素不存在"
);
throw
new
Te
(
"容器元素不存在"
);
const
f
=
h
.
value
.
$el
,
C
=
f
.
offsetHeight
,
b
=
ibiz
.
overlay
.
createPopover
((
p
)
=>
p
(
Ke
,
{
const
f
=
m
.
value
.
$el
,
F
=
f
.
offsetHeight
,
y
=
ibiz
.
overlay
.
createPopover
((
u
)
=>
u
(
Ke
,
{
props
:
{
props
:
{
value
:
d
.
value
,
value
:
d
.
value
,
data
:
i
.
value
,
uploadUrl
:
a
.
value
,
uploadUrl
:
a
.
value
,
downloadUrl
:
r
.
value
,
downloadUrl
:
r
.
value
,
controller
:
n
.
value
controller
:
n
.
value
},
},
on
:
{
on
:
{
close
:
(
y
)
=>
{
close
:
(
v
)
=>
{
b
.
dismiss
(
y
);
y
.
dismiss
(
v
);
}
}
}
}
}),
void
0
,
{
}),
void
0
,
{
noArrow
:
!
0
,
noArrow
:
!
0
,
placement
:
"bottom-start"
,
placement
:
"bottom-start"
,
offsetOpts
:
{
offsetOpts
:
{
mainAxis
:
-
C
,
mainAxis
:
-
F
,
crossAxis
:
0
crossAxis
:
0
}
}
});
});
await
b
.
present
(
f
);
await
y
.
present
(
f
);
const
{
const
{
isModified
:
F
,
isModified
:
x
,
resultFiles
:
v
resultFiles
:
w
}
=
await
b
.
onWillDismiss
();
}
=
await
y
.
onWillDismiss
();
if
(
F
)
{
if
(
x
)
{
const
p
=
v
.
length
>
0
?
JSON
.
stringify
(
v
.
map
((
y
)
=>
({
const
u
=
w
.
length
>
0
?
JSON
.
stringify
(
w
.
map
((
v
)
=>
({
name
:
y
.
name
,
name
:
v
.
name
,
id
:
y
.
id
id
:
v
.
id
})))
:
null
;
})))
:
null
;
t
(
"change"
,
p
),
t
(
"rowSave"
);
t
(
"change"
,
u
),
t
(
"rowSave"
);
}
}
};
};
return
Fe
(
h
,
"click"
,
(
f
)
=>
{
return
xe
(
m
,
"click"
,
(
f
)
=>
{
e
.
disabled
||
m
();
e
.
disabled
||
p
();
}),
{
}),
{
ns
:
s
,
ns
:
s
,
valueList
:
d
,
valueList
:
d
,
componentRef
:
h
componentRef
:
m
};
};
},
},
render
()
{
render
()
{
...
@@ -1035,16 +1058,16 @@ const Ye = k({
...
@@ -1035,16 +1058,16 @@ const Ye = k({
},
[
e
.
name
])]))])]);
},
[
e
.
name
])]))])]);
}
}
});
});
k
({
L
({
name
:
"SyInput"
,
name
:
"SyInput"
,
props
:
x
e
(),
props
:
k
e
(),
emits
:
K
(),
emits
:
K
(),
setup
(
e
,
{
setup
(
e
,
{
emit
:
t
emit
:
t
})
{
})
{
const
s
=
U
(
"input"
),
i
=
e
.
controller
.
model
,
n
=
g
(),
r
=
g
(
2
);
const
s
=
E
(
"input"
),
i
=
e
.
controller
.
model
,
n
=
g
(),
r
=
g
(
2
);
i
.
editorType
===
"TEXTAREA_10"
&&
(
r
.
value
=
10
);
i
.
editorType
===
"TEXTAREA_10"
&&
(
r
.
value
=
10
);
const
a
=
T
(()
=>
{
const
a
=
D
(()
=>
{
switch
(
i
.
editorType
)
{
switch
(
i
.
editorType
)
{
case
"TEXTBOX"
:
case
"TEXTBOX"
:
return
"text"
;
return
"text"
;
...
@@ -1057,35 +1080,35 @@ k({
...
@@ -1057,35 +1080,35 @@ k({
return
"string"
;
return
"string"
;
}
}
}),
d
=
g
(
""
);
}),
d
=
g
(
""
);
N
(()
=>
e
.
value
,
(
p
,
y
)
=>
{
P
(()
=>
e
.
value
,
(
u
,
v
)
=>
{
p
!==
y
&&
(
p
?
d
.
value
=
p
:
d
.
value
=
""
);
u
!==
v
&&
(
u
?
d
.
value
=
u
:
d
.
value
=
""
);
},
{
},
{
immediate
:
!
0
immediate
:
!
0
});
});
let
h
=
!
1
,
m
,
f
;
let
m
=
!
1
,
p
,
f
;
const
C
=
Re
((
p
)
=>
{
const
F
=
Me
((
u
)
=>
{
f
!==
p
.
target
.
value
&&
t
(
"change"
,
p
.
target
.
value
),
f
=
void
0
,
h
=
!
1
,
m
&&
m
();
f
!==
u
.
target
.
value
&&
t
(
"change"
,
u
.
target
.
value
),
f
=
void
0
,
m
=
!
1
,
p
&&
p
();
},
300
,
{
},
300
,
{
leading
:
!
0
leading
:
!
0
}),
b
=
(
p
)
=>
{
}),
y
=
(
u
)
=>
{
h
=
!
0
,
C
(
p
);
m
=
!
0
,
F
(
u
);
},
F
=
(
p
)
=>
{
},
x
=
(
u
)
=>
{
p
&&
p
.
code
===
"Enter"
&&
h
&&
(
m
=
()
=>
{
u
&&
u
.
code
===
"Enter"
&&
m
&&
(
p
=
()
=>
{
n
.
value
.
$el
.
dispatchEvent
(
p
);
n
.
value
.
$el
.
dispatchEvent
(
u
);
});
});
},
v
=
()
=>
{
},
w
=
()
=>
{
f
=
n
.
value
.
currentValue
,
t
(
"change"
,
f
);
f
=
n
.
value
.
currentValue
,
t
(
"change"
,
f
);
};
};
return
e
.
autoFocus
&&
N
(
n
,
(
p
)
=>
{
return
e
.
autoFocus
&&
P
(
n
,
(
u
)
=>
{
p
&&
p
.
$el
.
getElementsByTagName
(
"input"
)[
0
].
focus
();
u
&&
u
.
$el
.
getElementsByTagName
(
"input"
)[
0
].
focus
();
}),
{
}),
{
ns
:
s
,
ns
:
s
,
rows
:
r
,
rows
:
r
,
type
:
a
,
type
:
a
,
currentVal
:
d
,
currentVal
:
d
,
handleChange
:
b
,
handleChange
:
y
,
handleKeyUp
:
F
,
handleKeyUp
:
x
,
handleBlur
:
v
,
handleBlur
:
w
,
inputRef
:
n
inputRef
:
n
};
};
},
},
...
@@ -1116,20 +1139,20 @@ k({
...
@@ -1116,20 +1139,20 @@ k({
},
[
this
.
controller
.
model
.
unitName
])])]);
},
[
this
.
controller
.
model
.
unitName
])])]);
}
}
});
});
k
({
L
({
name
:
"SyGridInput"
,
name
:
"SyGridInput"
,
props
:
S
e
(),
props
:
F
e
(),
emits
:
$
(),
emits
:
_
(),
setup
(
e
,
{
setup
(
e
,
{
emit
:
t
emit
:
t
})
{
})
{
const
s
=
U
(
"grid-input"
),
{
const
s
=
E
(
"grid-input"
),
{
isInfoMode
:
o
,
isInfoMode
:
o
,
autoFocus
:
i
,
autoFocus
:
i
,
componentRef
:
n
,
componentRef
:
n
,
onOperateChange
:
r
,
onOperateChange
:
r
,
onChange
:
a
onChange
:
a
}
=
k
e
(
e
,
{
}
=
S
e
(
e
,
{
emit
:
t
emit
:
t
});
});
return
{
return
{
...
@@ -1175,7 +1198,7 @@ function H(e, t) {
...
@@ -1175,7 +1198,7 @@ function H(e, t) {
class
:
e
.
e
(
"logo-caption"
)
class
:
e
.
e
(
"logo-caption"
)
},
[
t
.
caption
])]);
},
[
t
.
caption
])]);
}
}
const
et
=
k
({
const
et
=
L
({
name
:
"UserAppLayout"
,
name
:
"UserAppLayout"
,
props
:
{
props
:
{
model
:
{
model
:
{
...
@@ -1196,9 +1219,9 @@ const et = k({
...
@@ -1196,9 +1219,9 @@ const et = k({
setup
(
e
,
{
setup
(
e
,
{
emit
:
t
emit
:
t
})
{
})
{
const
s
=
U
(
"layout"
),
o
=
g
(
!
1
),
i
=
()
=>
{
const
s
=
E
(
"layout"
),
o
=
g
(
!
1
),
i
=
()
=>
{
o
.
value
=
!
o
.
value
,
t
(
"onCollapseChange"
,
o
.
value
);
o
.
value
=
!
o
.
value
,
t
(
"onCollapseChange"
,
o
.
value
);
},
n
=
T
(()
=>
e
.
model
.
source
.
blankMode
===
!
0
),
r
=
T
(()
=>
!!
(
window
.
Environment
.
manualdownloadurl
||
ibiz
.
env
.
manualdownloadurl
));
},
n
=
D
(()
=>
e
.
model
.
source
.
blankMode
===
!
0
),
r
=
D
(()
=>
!!
(
window
.
Environment
.
manualdownloadurl
||
ibiz
.
env
.
manualdownloadurl
));
return
{
return
{
ns
:
s
,
ns
:
s
,
collapseChange
:
o
,
collapseChange
:
o
,
...
@@ -1296,7 +1319,7 @@ function st(e) {
...
@@ -1296,7 +1319,7 @@ function st(e) {
const
t
=
g
([]);
const
t
=
g
([]);
return
e
.
nerve
.
self
.
evt
.
on
(
"created"
,
()
=>
{
return
e
.
nerve
.
self
.
evt
.
on
(
"created"
,
()
=>
{
t
.
value
=
tt
(
e
);
t
.
value
=
tt
(
e
);
}),
[
T
(()
=>
{
}),
[
D
(()
=>
{
const
o
=
[...
t
.
value
];
const
o
=
[...
t
.
value
];
if
(
!
o
.
find
((
r
)
=>
!
r
.
width
))
{
if
(
!
o
.
find
((
r
)
=>
!
r
.
width
))
{
let
r
=
o
.
length
-
1
;
let
r
=
o
.
length
-
1
;
...
@@ -1322,14 +1345,14 @@ function ot(e) {
...
@@ -1322,14 +1345,14 @@ function ot(e) {
if
(
!
e
.
singleSelect
)
{
if
(
!
e
.
singleSelect
)
{
const
a
=
[];
const
a
=
[];
r
.
forEach
((
d
)
=>
{
r
.
forEach
((
d
)
=>
{
const
h
=
t
(
d
);
const
m
=
t
(
d
);
h
&&
a
.
push
(
h
);
m
&&
a
.
push
(
m
);
}),
e
.
onSelectionChange
(
a
);
}),
e
.
onSelectionChange
(
a
);
}
}
}
}
function
n
(
r
)
{
function
n
(
r
)
{
const
{
column
:
a
,
order
:
d
}
=
r
,
h
=
d
===
"asc"
||
d
===
"desc"
?
d
:
void
0
;
const
{
column
:
a
,
order
:
d
}
=
r
,
m
=
d
===
"asc"
||
d
===
"desc"
?
d
:
void
0
;
e
.
setSort
(
a
.
fieldName
,
h
),
e
.
load
();
e
.
setSort
(
a
.
fieldName
,
m
),
e
.
load
();
}
}
return
{
onRowClick
:
s
,
onDbRowClick
:
o
,
onSelectionChange
:
i
,
onSortChange
:
n
};
return
{
onRowClick
:
s
,
onDbRowClick
:
o
,
onSelectionChange
:
i
,
onSortChange
:
n
};
}
}
...
@@ -1354,7 +1377,7 @@ class nt extends ge {
...
@@ -1354,7 +1377,7 @@ class nt extends ge {
* @author: zhujiamin
* @author: zhujiamin
* @Date: 2023-10-09 14:00:38
* @Date: 2023-10-09 14:00:38
*/
*/
E
(
this
,
"groups"
,
[]);
U
(
this
,
"groups"
,
[]);
/**
/**
* 分组名称属性
* 分组名称属性
*
*
...
@@ -1362,7 +1385,7 @@ class nt extends ge {
...
@@ -1362,7 +1385,7 @@ class nt extends ge {
* @date 2024-12-19 10:12:56
* @date 2024-12-19 10:12:56
* @type {string}
* @type {string}
*/
*/
E
(
this
,
"groupField"
,
""
);
U
(
this
,
"groupField"
,
""
);
/**
/**
* 第一列名称
* 第一列名称
*
*
...
@@ -1370,7 +1393,7 @@ class nt extends ge {
...
@@ -1370,7 +1393,7 @@ class nt extends ge {
* @date 2024-12-19 10:12:30
* @date 2024-12-19 10:12:30
* @type {string}
* @type {string}
*/
*/
E
(
this
,
"firstColName"
,
""
);
U
(
this
,
"firstColName"
,
""
);
}
}
async
onInit
()
{
async
onInit
()
{
const
s
=
this
.
model
.
columns
.
find
(
const
s
=
this
.
model
.
columns
.
find
(
...
@@ -1396,7 +1419,7 @@ class nt extends ge {
...
@@ -1396,7 +1419,7 @@ class nt extends ge {
})
})
),
this
.
rows
=
s
.
map
((
o
)
=>
{
),
this
.
rows
=
s
.
map
((
o
)
=>
{
const
i
=
new
X
(
o
,
this
);
const
i
=
new
X
(
o
,
this
);
return
this
.
gridStateNotify
(
i
,
v
e
.
LOAD
),
i
;
return
this
.
gridStateNotify
(
i
,
w
e
.
LOAD
),
i
;
}),
this
.
handleGroup
(
s
),
s
;
}),
this
.
handleGroup
(
s
),
s
;
}
}
/**
/**
...
@@ -1423,10 +1446,10 @@ class nt extends ge {
...
@@ -1423,10 +1446,10 @@ class nt extends ge {
function
rt
(
e
,
t
,
s
,
o
=
{})
{
function
rt
(
e
,
t
,
s
,
o
=
{})
{
return
Le
(
e
,
()
=>
{
return
Le
(
e
,
()
=>
{
const
i
=
new
nt
(
t
,
s
,
o
);
const
i
=
new
nt
(
t
,
s
,
o
);
return
z
(
e
,
"gridRowActiveMode"
,
i
.
setGridRowActiveMode
.
bind
(
i
)),
i
;
return
B
(
e
,
"gridRowActiveMode"
,
i
.
setGridRowActiveMode
.
bind
(
i
)),
i
;
});
});
}
}
const
at
=
k
({
const
at
=
L
({
props
:
{
props
:
{
modelData
:
he
,
modelData
:
he
,
context
:
{
context
:
{
...
@@ -1456,68 +1479,68 @@ const at = k({
...
@@ -1456,68 +1479,68 @@ const at = k({
setup
(
e
)
{
setup
(
e
)
{
const
{
const
{
proxy
:
t
proxy
:
t
}
=
R
(),
s
=
U
(
"grid"
),
o
=
rt
(
t
,
e
.
modelData
,
e
.
context
,
e
.
params
),
[
i
]
=
st
(
o
),
{
}
=
A
(),
s
=
E
(
"grid"
),
o
=
rt
(
t
,
e
.
modelData
,
e
.
context
,
e
.
params
),
[
i
]
=
st
(
o
),
{
onRowClick
:
n
,
onRowClick
:
n
,
onDbRowClick
:
r
,
onDbRowClick
:
r
,
onSelectionChange
:
a
,
onSelectionChange
:
a
,
onSortChange
:
d
onSortChange
:
d
}
=
ot
(
o
),
{
}
=
ot
(
o
),
{
onPageChange
:
h
,
onPageChange
:
m
,
onPageReset
:
m
,
onPageReset
:
p
,
onPageSizeChange
:
f
onPageSizeChange
:
f
}
=
it
(
o
),
C
=
(
L
,
S
)
=>
{
}
=
it
(
o
),
F
=
(
S
,
k
)
=>
{
const
l
=
t
.
$refs
.
grid
;
const
l
=
t
.
$refs
.
grid
;
l
&&
(
l
.
toggleSelect
&&
l
.
toggleSelect
(
S
),
l
.
highlightCurrentRow
&&
l
.
highlightCurrentRow
(
S
)),
n
(
L
);
l
&&
(
l
.
toggleSelect
&&
l
.
toggleSelect
(
k
),
l
.
highlightCurrentRow
&&
l
.
highlightCurrentRow
(
k
)),
n
(
S
);
},
b
=
g
(
0
),
F
=
g
(
null
),
v
=
g
(
null
);
},
y
=
g
(
0
),
x
=
g
(
null
),
w
=
g
(
null
);
let
p
=
null
,
y
=
0
;
let
u
=
null
,
v
=
0
;
const
I
=
()
=>
{
const
N
=
()
=>
{
var
L
;
var
S
;
if
(
F
.
value
&&
((
L
=
e
.
modal
)
==
null
?
void
0
:
L
.
mode
)
!==
"EMBED"
)
if
(
x
.
value
&&
((
S
=
e
.
modal
)
==
null
?
void
0
:
S
.
mode
)
!==
"EMBED"
)
if
(
o
.
model
.
source
.
enablePagingBar
&&
v
.
value
)
{
if
(
o
.
model
.
source
.
enablePagingBar
&&
w
.
value
)
{
const
S
=
v
.
value
.
$el
,
l
=
S
.
offsetHeight
+
parseFloat
(
window
.
getComputedStyle
(
S
).
paddingTop
);
const
k
=
w
.
value
.
$el
,
l
=
k
.
offsetHeight
+
parseFloat
(
window
.
getComputedStyle
(
k
).
paddingTop
);
b
.
value
=
F
.
value
.
offsetHeight
-
l
;
y
.
value
=
x
.
value
.
offsetHeight
-
l
;
}
else
}
else
b
.
value
=
F
.
value
.
offsetHeight
;
y
.
value
=
x
.
value
.
offsetHeight
;
o
.
model
.
source
.
height
>
0
&&
(
b
.
value
=
o
.
model
.
source
.
height
);
o
.
model
.
source
.
height
>
0
&&
(
y
.
value
=
o
.
model
.
source
.
height
);
};
};
N
(
F
,
(
L
,
S
)
=>
{
P
(
x
,
(
S
,
k
)
=>
{
L
&&
L
!==
S
&&
(
I
(),
window
.
ResizeObserver
&&
F
.
value
&&
(
p
=
new
ResizeObserver
((
l
)
=>
{
S
&&
S
!==
k
&&
(
N
(),
window
.
ResizeObserver
&&
x
.
value
&&
(
u
=
new
ResizeObserver
((
l
)
=>
{
const
u
=
l
[
0
].
contentRect
.
height
;
const
h
=
l
[
0
].
contentRect
.
height
;
u
!==
y
&&
(
I
(),
y
=
u
);
h
!==
v
&&
(
N
(),
v
=
h
);
}),
p
.
observe
(
F
.
value
)));
}),
u
.
observe
(
x
.
value
)));
}),
be
(()
=>
{
}),
be
(()
=>
{
p
&&
p
.
disconnect
();
u
&&
u
.
disconnect
();
});
});
const
O
=
T
(()
=>
{
const
I
=
D
(()
=>
{
const
L
=
[];
const
S
=
[];
return
o
.
groups
.
forEach
((
S
)
=>
{
return
o
.
groups
.
forEach
((
k
)
=>
{
if
(
!
S
.
children
.
length
)
if
(
!
k
.
children
.
length
)
return
;
return
;
const
u
=
[...
S
.
children
].
shift
();
const
h
=
[...
k
.
children
].
shift
();
L
.
push
({
S
.
push
({
srfkey
:
S
.
caption
,
srfkey
:
k
.
caption
,
isGroupData
:
!
0
,
isGroupData
:
!
0
,
first
:
u
,
first
:
h
,
children
:
S
.
children
,
children
:
k
.
children
,
_showChildren
:
!
0
_showChildren
:
!
0
});
});
}),
L
;
}),
S
;
});
});
return
{
return
{
c
:
o
,
c
:
o
,
ns
:
s
,
ns
:
s
,
columns
:
i
,
columns
:
i
,
tableData
:
O
,
tableData
:
I
,
onDbRowClick
:
r
,
onDbRowClick
:
r
,
onUIRowClick
:
C
,
onUIRowClick
:
F
,
onSelectionChange
:
a
,
onSelectionChange
:
a
,
onSortChange
:
d
,
onSortChange
:
d
,
onPageChange
:
h
,
onPageChange
:
m
,
onPageSizeChange
:
f
,
onPageSizeChange
:
f
,
onPageReset
:
m
,
onPageReset
:
p
,
tableHeight
:
b
,
tableHeight
:
y
,
gridRef
:
F
,
gridRef
:
x
,
girdPaginationRef
:
v
girdPaginationRef
:
w
};
};
},
},
render
()
{
render
()
{
...
@@ -1592,12 +1615,12 @@ const at = k({
...
@@ -1592,12 +1615,12 @@ const at = k({
});
});
class
lt
{
class
lt
{
constructor
()
{
constructor
()
{
E
(
this
,
"component"
,
Oe
);
U
(
this
,
"component"
,
Oe
);
}
}
}
}
class
ct
{
class
ct
{
constructor
()
{
constructor
()
{
E
(
this
,
"component"
,
M
e
);
U
(
this
,
"component"
,
A
e
);
}
}
async
createController
(
t
,
s
)
{
async
createController
(
t
,
s
)
{
const
o
=
new
Z
(
t
,
s
);
const
o
=
new
Z
(
t
,
s
);
...
@@ -1606,10 +1629,10 @@ class ct {
...
@@ -1606,10 +1629,10 @@ class ct {
}
}
class
dt
{
class
dt
{
constructor
()
{
constructor
()
{
E
(
this
,
"component"
,
"IndexView"
);
U
(
this
,
"component"
,
"IndexView"
);
}
}
}
}
const
ae
=
k
({
const
ae
=
L
({
name
:
"WFStepTraceGrid"
,
name
:
"WFStepTraceGrid"
,
props
:
{
props
:
{
context
:
Object
,
context
:
Object
,
...
@@ -1631,19 +1654,19 @@ const ae = k({
...
@@ -1631,19 +1654,19 @@ const ae = k({
setup
(
e
)
{
setup
(
e
)
{
const
{
const
{
proxy
:
t
proxy
:
t
}
=
R
(),
s
=
U
e
(
t
,
e
.
modelPath
);
}
=
A
(),
s
=
E
e
(
t
,
e
.
modelPath
);
z
(
t
,
"deName"
,
s
.
setDeName
.
bind
(
s
));
B
(
t
,
"deName"
,
s
.
setDeName
.
bind
(
s
));
const
o
=
U
(
"wf-step-trace-grid"
),
i
=
g
([]),
n
=
(
a
,
d
,
h
=
!
1
)
=>
{
const
o
=
E
(
"wf-step-trace-grid"
),
i
=
g
([]),
n
=
(
a
,
d
,
m
=
!
1
)
=>
{
a
.
identitylinks
.
length
>
0
||
a
.
comments
.
length
>
0
&&
a
.
comments
.
forEach
((
m
)
=>
{
a
.
identitylinks
.
length
>
0
||
a
.
comments
.
length
>
0
&&
a
.
comments
.
forEach
((
p
)
=>
{
var
f
,
C
,
b
;
var
f
,
F
,
y
;
h
&&
m
.
type
===
"启动流程"
||
d
.
push
({
m
&&
p
.
type
===
"启动流程"
||
d
.
push
({
id
:
W
(),
id
:
W
(),
nodeName
:
a
.
userTaskName
,
nodeName
:
a
.
userTaskName
,
personName
:
(
f
=
m
.
authorName
)
==
null
?
void
0
:
f
.
replace
(
/
\([^
)
]
*
\)[^
(
]
*$/
,
""
),
personName
:
(
f
=
p
.
authorName
)
==
null
?
void
0
:
f
.
replace
(
/
\([^
)
]
*
\)[^
(
]
*$/
,
""
),
deptName
:
((
b
=
(
C
=
m
.
authorName
)
==
null
?
void
0
:
C
.
match
(
/.*
\(([^
)
]
*
)\)[^
(
]
*$/
))
==
null
?
void
0
:
b
[
1
])
||
""
,
deptName
:
((
y
=
(
F
=
p
.
authorName
)
==
null
?
void
0
:
F
.
match
(
/.*
\(([^
)
]
*
)\)[^
(
]
*$/
))
==
null
?
void
0
:
y
[
1
])
||
""
,
time
:
m
.
time
,
time
:
p
.
time
,
content
:
m
.
type
,
content
:
p
.
type
,
comment
:
m
.
fullMessage
comment
:
p
.
fullMessage
});
});
});
});
};
};
...
@@ -1651,9 +1674,9 @@ const ae = k({
...
@@ -1651,9 +1674,9 @@ const ae = k({
var
a
;
var
a
;
s
.
data
&&
((
a
=
s
.
data
.
usertasks
)
==
null
||
a
.
forEach
((
d
)
=>
{
s
.
data
&&
((
a
=
s
.
data
.
usertasks
)
==
null
||
a
.
forEach
((
d
)
=>
{
if
(
d
.
usertasks
&&
d
.
usertasks
.
length
>
0
)
{
if
(
d
.
usertasks
&&
d
.
usertasks
.
length
>
0
)
{
const
h
=
[];
const
m
=
[];
d
.
usertasks
.
forEach
((
m
)
=>
{
d
.
usertasks
.
forEach
((
p
)
=>
{
n
(
m
,
h
,
!
0
);
n
(
p
,
m
,
!
0
);
}),
i
.
value
.
push
({
}),
i
.
value
.
push
({
id
:
W
(),
id
:
W
(),
nodeName
:
`
${
d
.
userTaskName
}
`
,
nodeName
:
`
${
d
.
userTaskName
}
`
,
...
@@ -1662,19 +1685,19 @@ const ae = k({
...
@@ -1662,19 +1685,19 @@ const ae = k({
time
:
""
,
time
:
""
,
content
:
""
,
content
:
""
,
comment
:
""
,
comment
:
""
,
children
:
h
,
children
:
m
,
_showChildren
:
!
0
_showChildren
:
!
0
});
});
}
else
}
else
n
(
d
,
i
.
value
);
n
(
d
,
i
.
value
);
}),
i
.
value
.
sort
((
d
,
h
)
=>
Date
.
parse
(
d
.
time
)
-
Date
.
parse
(
h
.
time
)));
}),
i
.
value
.
sort
((
d
,
m
)
=>
Date
.
parse
(
d
.
time
)
-
Date
.
parse
(
m
.
time
)));
});
});
const
r
=
g
([{
const
r
=
g
([{
title
:
"序号"
,
title
:
"序号"
,
key
:
"index"
,
key
:
"index"
,
width
:
60
,
width
:
60
,
resizable
:
!
0
,
resizable
:
!
0
,
render
:
(
a
,
d
)
=>
i
.
value
.
findIndex
((
m
)
=>
m
.
id
===
d
.
row
.
id
)
===
-
1
?
null
:
a
(
"span"
,
{
render
:
(
a
,
d
)
=>
i
.
value
.
findIndex
((
p
)
=>
p
.
id
===
d
.
row
.
id
)
===
-
1
?
null
:
a
(
"span"
,
{
style
:
{
style
:
{
textAlign
:
"center"
textAlign
:
"center"
}
}
...
@@ -1734,7 +1757,7 @@ const ae = k({
...
@@ -1734,7 +1757,7 @@ const ae = k({
})]);
})]);
}
}
});
});
class
ut
extends
w
e
{
class
ut
extends
v
e
{
async
calcWfToolbar
()
{
async
calcWfToolbar
()
{
await
super
.
calcWfToolbar
(),
this
.
isEditable
&&
this
.
wfLinks
.
unshift
({
await
super
.
calcWfToolbar
(),
this
.
isEditable
&&
this
.
wfLinks
.
unshift
({
sequenceFlowName
:
"保存"
,
sequenceFlowName
:
"保存"
,
...
@@ -1745,7 +1768,7 @@ class ut extends we {
...
@@ -1745,7 +1768,7 @@ class ut extends we {
t
.
type
===
"FORM_SAVE"
?
await
this
.
save
()
:
super
.
onLinkClick
(
t
);
t
.
type
===
"FORM_SAVE"
?
await
this
.
save
()
:
super
.
onLinkClick
(
t
);
}
}
}
}
k
({
L
({
props
:
{
props
:
{
context
:
Object
,
context
:
Object
,
params
:
{
params
:
{
...
@@ -1762,7 +1785,7 @@ k({
...
@@ -1762,7 +1785,7 @@ k({
setup
(
e
)
{
setup
(
e
)
{
const
{
const
{
proxy
:
t
proxy
:
t
}
=
R
(),
s
=
Q
(
t
,
(
r
,
a
)
=>
new
ut
(
e
.
modelPath
,
r
,
a
)),
o
=
U
(
`view-
${
me
.
DE_WF_DYNA_EDIT_VIEW3
}
`
.
toLowerCase
()),
i
=
g
([
"mainForm"
]);
}
=
A
(),
s
=
Q
(
t
,
(
r
,
a
)
=>
new
ut
(
e
.
modelPath
,
r
,
a
)),
o
=
E
(
`view-
${
me
.
DE_WF_DYNA_EDIT_VIEW3
}
`
.
toLowerCase
()),
i
=
g
([
"mainForm"
]);
return
{
return
{
c
:
s
,
c
:
s
,
ns
:
o
,
ns
:
o
,
...
@@ -1864,7 +1887,7 @@ k({
...
@@ -1864,7 +1887,7 @@ k({
})])]);
})])]);
}
}
});
});
k
({
L
({
name
:
"SyEditView3"
,
name
:
"SyEditView3"
,
props
:
{
props
:
{
context
:
Object
,
context
:
Object
,
...
@@ -1882,7 +1905,7 @@ k({
...
@@ -1882,7 +1905,7 @@ k({
setup
(
e
)
{
setup
(
e
)
{
const
{
const
{
proxy
:
t
proxy
:
t
}
=
R
(),
s
=
Ee
(
t
,
e
.
modelPath
),
o
=
U
(
"view-deeditview3"
),
i
=
g
([
"mainForm"
]);
}
=
A
(),
s
=
Ue
(
t
,
e
.
modelPath
),
o
=
E
(
"view-deeditview3"
),
i
=
g
([
"mainForm"
]);
return
{
return
{
c
:
s
,
c
:
s
,
ns
:
o
,
ns
:
o
,
...
@@ -1964,8 +1987,8 @@ k({
...
@@ -1964,8 +1987,8 @@ k({
});
});
class
ht
{
class
ht
{
constructor
()
{
constructor
()
{
E
(
this
,
"formEditor"
,
"SyFileUpload"
);
U
(
this
,
"formEditor"
,
"SyFileUpload"
);
E
(
this
,
"gridEditor"
,
"SyGridFileUploadContainer"
);
U
(
this
,
"gridEditor"
,
"SyGridFileUploadContainer"
);
}
}
async
createController
(
t
,
s
)
{
async
createController
(
t
,
s
)
{
const
o
=
new
J
(
t
,
s
);
const
o
=
new
J
(
t
,
s
);
...
@@ -1977,8 +2000,8 @@ class mt extends te {
...
@@ -1977,8 +2000,8 @@ class mt extends te {
if
(
o
&&
o
.
length
>
0
)
{
if
(
o
&&
o
.
length
>
0
)
{
const
a
=
(
await
ibiz
.
entityService
.
getService
(
"XQFBXQPS"
,
s
)).
local
.
getList
(
s
);
const
a
=
(
await
ibiz
.
entityService
.
getService
(
"XQFBXQPS"
,
s
)).
local
.
getList
(
s
);
o
.
forEach
((
d
)
=>
{
o
.
forEach
((
d
)
=>
{
const
h
=
a
.
find
((
m
)
=>
m
.
srfkey
===
d
.
srfkey
);
const
m
=
a
.
find
((
p
)
=>
p
.
srfkey
===
d
.
srfkey
);
h
&&
(
h
.
psjg
=
"10"
,
d
.
psjg
=
"10"
);
m
&&
(
m
.
psjg
=
"10"
,
d
.
psjg
=
"10"
);
});
});
}
}
return
{
return
{
...
@@ -1989,7 +2012,7 @@ class mt extends te {
...
@@ -1989,7 +2012,7 @@ class mt extends te {
}
}
class
pt
{
class
pt
{
constructor
()
{
constructor
()
{
E
(
this
,
"handler"
);
U
(
this
,
"handler"
);
}
}
async
getHandler
()
{
async
getHandler
()
{
return
this
.
handler
||
(
this
.
handler
=
new
mt
()),
this
.
handler
;
return
this
.
handler
||
(
this
.
handler
=
new
mt
()),
this
.
handler
;
...
@@ -2000,8 +2023,8 @@ class ft extends te {
...
@@ -2000,8 +2023,8 @@ class ft extends te {
if
(
o
&&
o
.
length
>
0
)
{
if
(
o
&&
o
.
length
>
0
)
{
const
a
=
(
await
ibiz
.
entityService
.
getService
(
"XQFBXQPS"
,
s
)).
local
.
getList
(
s
);
const
a
=
(
await
ibiz
.
entityService
.
getService
(
"XQFBXQPS"
,
s
)).
local
.
getList
(
s
);
o
.
forEach
((
d
)
=>
{
o
.
forEach
((
d
)
=>
{
const
h
=
a
.
find
((
m
)
=>
m
.
srfkey
===
d
.
srfkey
);
const
m
=
a
.
find
((
p
)
=>
p
.
srfkey
===
d
.
srfkey
);
h
&&
(
h
.
psjg
=
"20"
,
d
.
psjg
=
"20"
);
m
&&
(
m
.
psjg
=
"20"
,
d
.
psjg
=
"20"
);
});
});
}
}
return
{
return
{
...
@@ -2012,24 +2035,24 @@ class ft extends te {
...
@@ -2012,24 +2035,24 @@ class ft extends te {
}
}
class
gt
{
class
gt
{
constructor
()
{
constructor
()
{
E
(
this
,
"handler"
);
U
(
this
,
"handler"
);
}
}
async
getHandler
()
{
async
getHandler
()
{
return
this
.
handler
||
(
this
.
handler
=
new
ft
()),
this
.
handler
;
return
this
.
handler
||
(
this
.
handler
=
new
ft
()),
this
.
handler
;
}
}
}
}
class
v
t
{
class
w
t
{
constructor
()
{
constructor
()
{
E
(
this
,
"component"
,
"GroupGrid"
);
U
(
this
,
"component"
,
"GroupGrid"
);
}
}
}
}
const
wt
=
new
Ae
(
import
.
meta
.
url
),
N
t
=
{
const
vt
=
new
Re
(
import
.
meta
.
url
),
P
t
=
{
mateUrl
:
import
.
meta
.
url
,
mateUrl
:
import
.
meta
.
url
,
install
(
e
)
{
install
(
e
)
{
pe
.
getModelService
().
then
((
t
)
=>
{
pe
.
getModelService
().
then
((
t
)
=>
{
var
o
;
var
o
;
((
o
=
t
.
app
.
userParams
)
==
null
?
void
0
:
o
.
autoWidth
)
===
"true"
&&
document
.
getElementsByClassName
(
"app"
)[
0
].
classList
.
add
(
"auto-width"
);
((
o
=
t
.
app
.
userParams
)
==
null
?
void
0
:
o
.
autoWidth
)
===
"true"
&&
document
.
getElementsByClassName
(
"app"
)[
0
].
classList
.
add
(
"auto-width"
);
}),
wt
.
loadStyle
([
"/style.css"
]),
ibiz
.
config
.
enableDataInfoBar
=
!
1
,
ibiz
.
config
.
gridEditShowMode
=
"all"
,
e
.
component
(
"WfToolbar"
,
B
e
),
ibiz
.
register
.
view
.
register
(
}),
vt
.
loadStyle
([
"/style.css"
]),
ibiz
.
config
.
enableDataInfoBar
=
!
1
,
ibiz
.
config
.
gridEditShowMode
=
"all"
,
e
.
component
(
"WfToolbar"
,
$
e
),
ibiz
.
register
.
view
.
register
(
"VIEW_CUSTOM_SyWebIndexView"
,
"VIEW_CUSTOM_SyWebIndexView"
,
new
dt
()
new
dt
()
),
ibiz
.
register
.
view
.
register
(
),
ibiz
.
register
.
view
.
register
(
...
@@ -2049,10 +2072,10 @@ const wt = new Ae(import.meta.url), Nt = {
...
@@ -2049,10 +2072,10 @@ const wt = new Ae(import.meta.url), Nt = {
new
gt
()
new
gt
()
),
e
.
component
(
"GroupGrid"
,
at
),
ibiz
.
register
.
control
.
register
(
),
e
.
component
(
"GroupGrid"
,
at
),
ibiz
.
register
.
control
.
register
(
"GRID_RENDER_GROUP_GRID"
,
"GRID_RENDER_GROUP_GRID"
,
new
v
t
()
new
w
t
()
);
);
}
}
};
};
export
{
export
{
N
t
as
default
P
t
as
default
};
};
app_Web/public/plugins/@ibiz-template-plugin/sy-web@0.0.3/dist/index.legacy.js
浏览文件 @
125d0c16
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录