Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
1cb7980c
提交
1cb7980c
编写于
3月 24, 2025
作者:
Cano1997
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update: 更新镜像
上级
302404f9
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
659 行增加
和
528 行删除
+659
-528
ibiz-template-plugin.es.js
...e-plugin/sy-dsf-web@0.0.2/dist/ibiz-template-plugin.es.js
+657
-526
index.legacy.js
...biz-template-plugin/sy-dsf-web@0.0.2/dist/index.legacy.js
+1
-1
polyfills.legacy.js
...template-plugin/sy-dsf-web@0.0.2/dist/polyfills.legacy.js
+1
-1
未找到文件。
app_Web/public/plugins/@ibiz-template-plugin/sy-dsf-web@0.0.2/dist/ibiz-template-plugin.es.js
浏览文件 @
1cb7980c
var
de
=
Object
.
defineProperty
;
var
de
=
Object
.
defineProperty
;
var
ue
=
(
s
,
e
,
a
)
=>
e
in
s
?
de
(
s
,
e
,
{
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
,
value
:
a
})
:
s
[
e
]
=
a
;
var
ue
=
(
s
,
t
,
a
)
=>
t
in
s
?
de
(
s
,
t
,
{
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
,
value
:
a
})
:
s
[
t
]
=
a
;
var
C
=
(
s
,
e
,
a
)
=>
(
ue
(
s
,
typeof
e
!=
"symbol"
?
e
+
""
:
e
,
a
),
a
);
var
E
=
(
s
,
t
,
a
)
=>
(
ue
(
s
,
typeof
t
!=
"symbol"
?
t
+
""
:
t
,
a
),
a
);
import
{
EditFormModel
as
me
,
FormMDCtrlModel
as
pe
,
DefectModelError
as
he
,
AppEntityModel
as
G
}
from
"@ibiz-template/model"
;
import
{
EditFormModel
as
me
,
FormMDCtrlModel
as
pe
,
DefectModelError
as
he
,
AppEntityModel
as
H
}
from
"@ibiz-template/model"
;
import
{
useNamespace
as
B
,
useControlController
as
fe
,
usePropsWatch
as
ve
,
getDatePickerProps
as
ye
,
getEditorEmits
as
H
,
useController
as
ge
,
getDataPickerProps
as
t
e
}
from
"@ibiz-template/vue-util"
;
import
{
useNamespace
as
B
,
useControlController
as
fe
,
usePropsWatch
as
ve
,
getDatePickerProps
as
ye
,
getEditorEmits
as
G
,
useController
as
ge
,
getDataPickerProps
as
se
,
useViewController
as
w
e
}
from
"@ibiz-template/vue-util"
;
import
{
defineComponent
as
_
,
getCurrentInstance
as
ae
,
ref
as
b
,
watch
as
L
,
h
as
r
,
onMounted
as
De
,
computed
as
V
}
from
"vue"
;
import
{
defineComponent
as
M
,
getCurrentInstance
as
W
,
ref
as
C
,
watch
as
V
,
h
as
r
,
onMounted
as
De
,
computed
as
j
}
from
"vue"
;
import
{
createUUID
as
Q
}
from
"qx-util"
;
import
{
createUUID
as
te
}
from
"qx-util"
;
import
{
ViewMode
as
ee
,
PluginStaticResource
as
Ee
,
UIActionHandler
as
Ce
,
FrontUIActionHandler
as
se
,
OpenAppViewCommand
as
re
}
from
"@ibiz-template/runtime"
;
import
{
ViewMode
as
ae
,
PluginStaticResource
as
Ee
,
OpenAppViewCommand
as
q
,
UIActionHandler
as
Ce
,
FrontUIActionHandler
as
re
}
from
"@ibiz-template/runtime"
;
import
{
EditFormController
as
be
,
FormMDCtrlController
as
we
,
FormDRUIPartController
as
Pe
,
DatePickerEditorController
as
Ae
,
UploadEditorController
as
F
e
,
PickerEditorController
as
oe
}
from
"@ibiz-template/controller"
;
import
{
EditFormController
as
be
,
FormMDCtrlController
as
Pe
,
FormDRUIPartController
as
Ae
,
EditViewController
as
Ie
,
DatePickerEditorController
as
Fe
,
UploadEditorController
as
S
e
,
PickerEditorController
as
oe
}
from
"@ibiz-template/controller"
;
import
{
ControlVO
as
Ie
,
calcResPath
as
q
}
from
"@ibiz-template/service"
;
import
{
ControlVO
as
ke
,
calcResPath
as
K
}
from
"@ibiz-template/service"
;
import
$
from
"dayjs"
;
import
$
from
"dayjs"
;
import
{
StringUtil
as
ne
}
from
"@ibiz-template/core"
;
import
{
RuntimeError
as
xe
,
StringUtil
as
ne
}
from
"@ibiz-template/core"
;
class
k
e
extends
be
{
class
N
e
extends
be
{
constructor
()
{
constructor
()
{
super
(...
arguments
);
super
(...
arguments
);
/**
/**
...
@@ -20,7 +20,7 @@ class ke extends be {
...
@@ -20,7 +20,7 @@ class ke extends be {
* @date 2024-04-26 17:04:49
* @date 2024-04-26 17:04:49
* @type {IData}
* @type {IData}
*/
*/
C
(
this
,
"baseResData"
,
[]);
E
(
this
,
"baseResData"
,
[]);
/**
/**
* 对比数据
* 对比数据
*
*
...
@@ -28,7 +28,7 @@ class ke extends be {
...
@@ -28,7 +28,7 @@ class ke extends be {
* @date 2024-04-26 17:04:49
* @date 2024-04-26 17:04:49
* @type {IData}
* @type {IData}
*/
*/
C
(
this
,
"compareResData"
,
[]);
E
(
this
,
"compareResData"
,
[]);
/**
/**
* 表单旧数据
* 表单旧数据
*
*
...
@@ -38,7 +38,7 @@ class ke extends be {
...
@@ -38,7 +38,7 @@ class ke extends be {
* @type {IData}
* @type {IData}
* @memberof FormController
* @memberof FormController
*/
*/
C
(
this
,
"oldData"
,
new
I
e
());
E
(
this
,
"oldData"
,
new
k
e
());
/**
/**
* version数据
* version数据
*
*
...
@@ -46,7 +46,7 @@ class ke extends be {
...
@@ -46,7 +46,7 @@ class ke extends be {
* @date 2024-04-26 16:04:37
* @date 2024-04-26 16:04:37
* @type {IData[]}
* @type {IData[]}
*/
*/
C
(
this
,
"versionData"
,
[]);
E
(
this
,
"versionData"
,
[]);
/**
/**
* 对比数据
* 对比数据
*
*
...
@@ -54,7 +54,7 @@ class ke extends be {
...
@@ -54,7 +54,7 @@ class ke extends be {
* @date 2024-04-26 16:04:37
* @date 2024-04-26 16:04:37
* @type {IData[]}
* @type {IData[]}
*/
*/
C
(
this
,
"comparisonArr"
,
{});
E
(
this
,
"comparisonArr"
,
{});
/**
/**
* 基础表格数据
* 基础表格数据
*
*
...
@@ -62,7 +62,7 @@ class ke extends be {
...
@@ -62,7 +62,7 @@ class ke extends be {
* @date 2024-05-06 11:05:57
* @date 2024-05-06 11:05:57
* @type {IData[]}
* @type {IData[]}
*/
*/
C
(
this
,
"gridData"
,
[]);
E
(
this
,
"gridData"
,
[]);
/**
/**
* 展示完全数据
* 展示完全数据
*
*
...
@@ -70,7 +70,7 @@ class ke extends be {
...
@@ -70,7 +70,7 @@ class ke extends be {
* @date 2024-05-06 11:05:04
* @date 2024-05-06 11:05:04
* @type {IData[]}
* @type {IData[]}
*/
*/
C
(
this
,
"AllGridData"
,
[]);
E
(
this
,
"AllGridData"
,
[]);
/**
/**
* 去除相同数据
* 去除相同数据
*
*
...
@@ -78,7 +78,7 @@ class ke extends be {
...
@@ -78,7 +78,7 @@ class ke extends be {
* @date 2024-05-06 11:05:15
* @date 2024-05-06 11:05:15
* @type {IData[]}
* @type {IData[]}
*/
*/
C
(
this
,
"removeSameGridData"
,
[]);
E
(
this
,
"removeSameGridData"
,
[]);
/**
/**
* 关系界面数据
* 关系界面数据
*
*
...
@@ -86,7 +86,7 @@ class ke extends be {
...
@@ -86,7 +86,7 @@ class ke extends be {
* @date 2024-04-30 10:04:33
* @date 2024-04-30 10:04:33
* @type {IData}
* @type {IData}
*/
*/
C
(
this
,
"AlldruipartData"
,
/* @__PURE__ */
new
Map
());
E
(
this
,
"AlldruipartData"
,
/* @__PURE__ */
new
Map
());
/**
/**
* 关系界面数据长度
* 关系界面数据长度
*
*
...
@@ -94,7 +94,7 @@ class ke extends be {
...
@@ -94,7 +94,7 @@ class ke extends be {
* @date 2024-05-06 11:05:56
* @date 2024-05-06 11:05:56
* @type {number}
* @type {number}
*/
*/
C
(
this
,
"druipartDataSize"
,
0
);
E
(
this
,
"druipartDataSize"
,
0
);
/**
/**
* 关系界面实际数据
* 关系界面实际数据
*
*
...
@@ -102,7 +102,7 @@ class ke extends be {
...
@@ -102,7 +102,7 @@ class ke extends be {
* @date 2024-05-06 11:05:13
* @date 2024-05-06 11:05:13
* @type {IData}
* @type {IData}
*/
*/
C
(
this
,
"newDruipartData"
,
{});
E
(
this
,
"newDruipartData"
,
{});
}
}
/**
/**
* 加载数据
* 加载数据
...
@@ -112,18 +112,18 @@ class ke extends be {
...
@@ -112,18 +112,18 @@ class ke extends be {
*/
*/
async
loadGridData
()
{
async
loadGridData
()
{
await
this
.
startLoading
();
await
this
.
startLoading
();
const
a
=
this
.
model
.
source
.
M
.
getPSControlParam
.
ctrlParams
,
{
BASEENTITY
:
t
,
COMPAREENTITY
:
l
}
=
a
,
n
=
await
ibiz
.
entityService
.
getService
(
t
),
c
=
await
ibiz
.
entityService
.
getService
(
l
),
g
=
Object
.
assign
({},
this
.
context
.
clone
(),
{
const
a
=
this
.
model
.
source
.
M
.
getPSControlParam
.
ctrlParams
,
{
BASEENTITY
:
e
,
COMPAREENTITY
:
i
}
=
a
,
n
=
await
ibiz
.
entityService
.
getService
(
e
),
c
=
await
ibiz
.
entityService
.
getService
(
i
),
v
=
Object
.
assign
({},
this
.
context
.
clone
(),
{
[
t
.
toLowerCase
()]:
this
.
params
.
base_version
[
e
.
toLowerCase
()]:
this
.
params
.
base_version
}),
p
=
Object
.
assign
({},
this
.
context
.
clone
(),
{
}),
p
=
Object
.
assign
({},
this
.
context
.
clone
(),
{
[
l
.
toLowerCase
()]:
this
.
params
.
compare_version
[
i
.
toLowerCase
()]:
this
.
params
.
compare_version
}),
f
=
await
n
.
exec
(
"Get"
,
g
,
this
.
params
),
y
=
await
c
.
exec
(
}),
h
=
await
n
.
exec
(
"Get"
,
v
,
this
.
params
),
g
=
await
c
.
exec
(
"Get"
,
"Get"
,
p
,
p
,
this
.
params
this
.
params
);
);
return
this
.
isLoaded
=
!
0
,
{
return
this
.
isLoaded
=
!
0
,
{
baseData
:
f
.
data
.
data
,
baseData
:
h
.
data
.
data
,
compareData
:
y
.
data
.
data
compareData
:
g
.
data
.
data
};
};
}
}
/**
/**
...
@@ -144,11 +144,11 @@ class ke extends be {
...
@@ -144,11 +144,11 @@ class ke extends be {
* @return {*}
* @return {*}
* @memberof FormDataComparisonController
* @memberof FormDataComparisonController
*/
*/
compareObjectValues
(
a
,
t
)
{
compareObjectValues
(
a
,
e
)
{
return
JSON
.
stringify
(
a
)
!==
JSON
.
stringify
(
t
);
return
JSON
.
stringify
(
a
)
!==
JSON
.
stringify
(
e
);
}
}
}
}
const
Se
=
_
({
const
Oe
=
M
({
name
:
"IBizFormDataComparison"
,
name
:
"IBizFormDataComparison"
,
props
:
{
props
:
{
modelData
:
{
modelData
:
{
...
@@ -169,45 +169,45 @@ const Se = _({
...
@@ -169,45 +169,45 @@ const Se = _({
}
}
},
},
setup
(
s
)
{
setup
(
s
)
{
const
e
=
B
(
"form-data-comparison"
),
{
const
t
=
B
(
"form-data-comparison"
),
{
proxy
:
a
proxy
:
a
}
=
ae
(),
t
=
fe
(
a
,
()
=>
{
}
=
W
(),
e
=
fe
(
a
,
()
=>
{
const
o
=
new
k
e
(
s
.
modelData
,
s
.
context
,
s
.
params
);
const
o
=
new
N
e
(
s
.
modelData
,
s
.
context
,
s
.
params
);
return
ve
(
a
,
"enableAutoSave"
,
o
.
setEnableAutoSave
.
bind
(
o
)),
o
;
return
ve
(
a
,
"enableAutoSave"
,
o
.
setEnableAutoSave
.
bind
(
o
)),
o
;
}),
l
=
b
(
!
0
),
n
=
b
(
!
1
),
c
=
b
({}),
g
=
b
({}),
p
=
b
([]),
f
=
[],
y
=
b
([]),
i
=
b
([]),
v
=
b
([]),
h
=
/* @__PURE__ */
new
Map
(),
u
=
b
(
0
),
m
=
(
o
)
=>
{
}),
i
=
C
(
!
0
),
n
=
C
(
!
1
),
c
=
C
({}),
v
=
C
({}),
p
=
C
([]),
h
=
[],
g
=
C
([]),
l
=
C
([]),
y
=
C
([]),
f
=
/* @__PURE__ */
new
Map
(),
u
=
C
(
0
),
m
=
(
o
)
=>
{
const
d
=
[];
const
d
=
[];
if
(
d
.
push
(
o
),
o
&&
o
.
children
)
{
if
(
d
.
push
(
o
),
o
&&
o
.
children
)
{
const
A
=
[];
const
A
=
[];
o
.
children
.
forEach
((
F
)
=>
{
o
.
children
.
forEach
((
I
)
=>
{
const
O
=
m
(
F
);
const
O
=
m
(
I
);
A
.
push
(...
O
);
A
.
push
(...
O
);
}),
d
.
push
(...
A
);
}),
d
.
push
(...
A
);
}
}
return
d
;
return
d
;
},
E
=
m
(
s
.
modelData
);
},
D
=
m
(
s
.
modelData
);
f
.
push
(...
E
);
h
.
push
(...
D
);
const
P
=
(
o
)
=>
{
const
P
=
(
o
)
=>
{
const
d
=
t
.
details
[
o
.
source
.
name
],
A
=
r
(
"not-supported-editor"
,
{
const
d
=
e
.
details
[
o
.
source
.
name
],
A
=
r
(
"not-supported-editor"
,
{
attrs
:
{
attrs
:
{
modelData
:
o
.
editor
modelData
:
o
.
editor
}
}
});
});
return
r
(
"div"
,
{
return
r
(
"div"
,
{
class
:
[
e
.
e
(
"form-grid-item"
),
e
.
is
(
"add"
,
y
.
value
.
includes
(
o
.
source
.
name
)),
e
.
is
(
"update"
,
v
.
value
.
includes
(
o
.
source
.
name
)),
e
.
is
(
"delete"
,
i
.
value
.
includes
(
o
.
source
.
name
))]
class
:
[
t
.
e
(
"form-grid-item"
),
t
.
is
(
"add"
,
g
.
value
.
includes
(
o
.
source
.
name
)),
t
.
is
(
"update"
,
y
.
value
.
includes
(
o
.
source
.
name
)),
t
.
is
(
"delete"
,
l
.
value
.
includes
(
o
.
source
.
name
))]
},
[
r
(
"div"
,
{
},
[
r
(
"div"
,
{
class
:
e
.
em
(
"form-grid-item"
,
"name"
)
class
:
t
.
em
(
"form-grid-item"
,
"name"
)
},
[
o
.
source
.
caption
]),
r
(
"div"
,
{
},
[
o
.
source
.
caption
]),
r
(
"div"
,
{
class
:
e
.
em
(
"form-grid-item"
,
"left"
)
class
:
t
.
em
(
"form-grid-item"
,
"left"
)
},
[
d
.
editorProvider
?
r
(
d
.
editorProvider
.
formEditor
,
{
},
[
d
.
editorProvider
?
r
(
d
.
editorProvider
.
formEditor
,
{
props
:
{
props
:
{
value
:
g
.
value
[
o
.
source
.
name
],
value
:
v
.
value
[
o
.
source
.
name
],
data
:
d
.
data
,
data
:
d
.
data
,
controller
:
d
.
editor
,
controller
:
d
.
editor
,
disabled
:
d
.
disabled
,
disabled
:
d
.
disabled
,
readonly
:
!
0
readonly
:
!
0
}
}
})
:
A
]),
r
(
"div"
,
{
})
:
A
]),
r
(
"div"
,
{
class
:
e
.
em
(
"form-grid-item"
,
"right"
)
class
:
t
.
em
(
"form-grid-item"
,
"right"
)
},
[
d
.
editorProvider
?
r
(
d
.
editorProvider
.
formEditor
,
{
},
[
d
.
editorProvider
?
r
(
d
.
editorProvider
.
formEditor
,
{
props
:
{
props
:
{
value
:
c
.
value
[
o
.
source
.
name
],
value
:
c
.
value
[
o
.
source
.
name
],
...
@@ -217,80 +217,80 @@ const Se = _({
...
@@ -217,80 +217,80 @@ const Se = _({
readonly
:
!
0
readonly
:
!
0
}
}
})
:
A
])]);
})
:
A
])]);
},
S
=
(
o
,
d
)
=>
{
},
k
=
(
o
,
d
)
=>
{
h
.
set
(
o
.
source
.
id
,
d
),
d
.
evt
.
on
(
"mounted"
,
()
=>
{
f
.
set
(
o
.
source
.
id
,
d
),
d
.
evt
.
on
(
"mounted"
,
()
=>
{
l
.
value
&&
t
.
startLoading
(),
u
.
value
+=
1
,
d
.
call
.
refresh
();
i
.
value
&&
e
.
startLoading
(),
u
.
value
+=
1
,
d
.
call
.
refresh
();
}),
d
.
evt
.
on
(
"refreshed"
,
()
=>
{
}),
d
.
evt
.
on
(
"refreshed"
,
()
=>
{
u
.
value
-=
1
,
setTimeout
(()
=>
{
u
.
value
-=
1
,
setTimeout
(()
=>
{
l
.
value
&&
t
.
endLoading
();
i
.
value
&&
e
.
endLoading
();
},
500
);
},
500
);
});
});
},
D
=
(
o
)
=>
{
},
w
=
(
o
)
=>
{
const
d
=
f
.
find
((
U
)
=>
U
.
id
===
`
${
o
.
source
.
id
}
_srfcopy`
),
A
=
o
.
embedView
.
source
.
modelPath
,
F
=
d
==
null
?
void
0
:
d
.
embedView
.
source
.
modelPath
,
O
=
t
.
context
.
clone
(),
N
=
{
const
d
=
h
.
find
((
L
)
=>
L
.
id
===
`
${
o
.
source
.
id
}
_srfcopy`
),
A
=
o
.
embedView
.
source
.
modelPath
,
I
=
d
==
null
?
void
0
:
d
.
embedView
.
source
.
modelPath
,
O
=
e
.
context
.
clone
(),
N
=
{
base_version
:
s
.
params
.
base_version
base_version
:
s
.
params
.
base_version
},
T
=
t
.
context
.
clone
();
},
T
=
e
.
context
.
clone
();
Object
.
assign
(
T
,
{
Object
.
assign
(
T
,
{
gysrlzy_info
:
s
.
params
.
compare_version
,
gysrlzy_info
:
s
.
params
.
compare_version
,
compare_version
:
s
.
params
.
compare_version
compare_version
:
s
.
params
.
compare_version
});
});
const
j
=
{
const
_
=
{
compare_version
:
s
.
params
.
compare_version
compare_version
:
s
.
params
.
compare_version
},
M
=
c
.
value
[
o
.
source
.
userTag
],
R
=
g
.
value
[
d
==
null
?
void
0
:
d
.
source
.
userTag
];
},
R
=
c
.
value
[
o
.
source
.
userTag
],
U
=
v
.
value
[
d
==
null
?
void
0
:
d
.
source
.
userTag
];
let
K
=
!
1
,
Y
=
!
1
,
J
=
!
1
;
let
J
=
!
1
,
z
=
!
1
,
X
=
!
1
;
if
(
o
.
source
.
userTag2
)
{
if
(
o
.
source
.
userTag2
)
{
const
U
=
JSON
.
parse
(
o
.
source
.
userTag2
),
{
const
L
=
JSON
.
parse
(
o
.
source
.
userTag2
),
{
comparekey
:
X
,
comparekey
:
Z
,
comparelist
:
ce
comparelist
:
ce
}
=
U
;
}
=
L
;
M
&&
R
&&
Array
.
isArray
(
M
)
&&
Array
.
isArray
(
R
)
&&
(
M
.
length
===
0
&&
R
.
length
!==
0
?
J
=
!
0
:
M
.
length
!==
0
&&
R
.
length
===
0
?
K
=
!
0
:
M
.
length
!==
0
&&
R
.
length
!==
0
&&
(
M
.
length
!==
R
.
length
?
Y
=
!
0
:
M
.
some
((
W
)
=>
{
R
&&
U
&&
Array
.
isArray
(
R
)
&&
Array
.
isArray
(
U
)
&&
(
R
.
length
===
0
&&
U
.
length
!==
0
?
X
=
!
0
:
R
.
length
!==
0
&&
U
.
length
===
0
?
J
=
!
0
:
R
.
length
!==
0
&&
U
.
length
!==
0
&&
(
R
.
length
!==
U
.
length
?
z
=
!
0
:
R
.
some
((
Q
)
=>
{
const
Z
=
R
.
find
((
z
)
=>
W
[
X
]
===
z
[
X
]);
const
ee
=
U
.
find
((
Y
)
=>
Q
[
Z
]
===
Y
[
Z
]);
return
Z
?
ce
.
some
((
z
)
=>
W
[
z
]
!==
Z
[
z
]
?
(
Y
=
!
0
,
!
0
)
:
!
1
)
:
(
Y
=
!
0
,
!
0
);
return
ee
?
ce
.
some
((
Y
)
=>
Q
[
Y
]
!==
ee
[
Y
]
?
(
z
=
!
0
,
!
0
)
:
!
1
)
:
(
z
=
!
0
,
!
0
);
})));
})));
}
}
return
r
(
"div"
,
{
return
r
(
"div"
,
{
class
:
[
e
.
e
(
"druipart"
),
e
.
is
(
"add"
,
K
),
e
.
is
(
"update"
,
Y
),
e
.
is
(
"delete"
,
J
)]
class
:
[
t
.
e
(
"druipart"
),
t
.
is
(
"add"
,
J
),
t
.
is
(
"update"
,
z
),
t
.
is
(
"delete"
,
X
)]
},
[
r
(
"div"
,
{
},
[
r
(
"div"
,
{
class
:
e
.
em
(
"druipart"
,
"caption"
)
class
:
t
.
em
(
"druipart"
,
"caption"
)
},
[
o
.
source
.
caption
]),
r
(
"div"
,
{
},
[
o
.
source
.
caption
]),
r
(
"div"
,
{
class
:
e
.
em
(
"druipart"
,
"left"
)
class
:
t
.
em
(
"druipart"
,
"left"
)
},
[
F
&&
r
(
"ViewShell"
,
{
},
[
I
&&
r
(
"ViewShell"
,
{
attrs
:
{
attrs
:
{
context
:
T
,
context
:
T
,
params
:
j
,
params
:
_
,
modal
:
{
modal
:
{
mode
:
e
e
.
EMBED
mode
:
a
e
.
EMBED
},
},
modelPath
:
F
,
modelPath
:
I
,
noLoadDefault
:
!
0
,
noLoadDefault
:
!
0
,
name
:
d
==
null
?
void
0
:
d
.
source
.
id
name
:
d
==
null
?
void
0
:
d
.
source
.
id
},
},
key
:
Q
(),
key
:
te
(),
on
:
{
on
:
{
neuronInit
:
(
U
)
=>
S
(
d
,
U
)
neuronInit
:
(
L
)
=>
k
(
d
,
L
)
}
}
})]),
r
(
"div"
,
{
})]),
r
(
"div"
,
{
class
:
e
.
em
(
"druipart"
,
"right"
)
class
:
t
.
em
(
"druipart"
,
"right"
)
},
[
A
&&
r
(
"ViewShell"
,
{
},
[
A
&&
r
(
"ViewShell"
,
{
attrs
:
{
attrs
:
{
context
:
O
,
context
:
O
,
params
:
N
,
params
:
N
,
modal
:
{
modal
:
{
mode
:
e
e
.
EMBED
mode
:
a
e
.
EMBED
},
},
modelPath
:
A
,
modelPath
:
A
,
noLoadDefault
:
!
0
,
noLoadDefault
:
!
0
,
name
:
o
.
source
.
id
name
:
o
.
source
.
id
},
},
key
:
Q
(),
key
:
te
(),
on
:
{
on
:
{
neuronInit
:
(
U
)
=>
S
(
o
,
U
)
neuronInit
:
(
L
)
=>
k
(
o
,
L
)
}
}
})])]);
})])]);
},
w
=
(
o
)
=>
{
},
b
=
(
o
)
=>
{
const
d
=
{
const
d
=
{
modelData
:
o
,
modelData
:
o
,
controller
:
t
.
details
[
o
.
source
.
name
]
controller
:
e
.
details
[
o
.
source
.
name
]
},
A
=
t
.
providers
[
o
.
source
.
name
],
F
=
r
(
A
.
component
,
{
},
A
=
e
.
providers
[
o
.
source
.
name
],
I
=
r
(
A
.
component
,
{
props
:
{
props
:
{
...
d
...
d
},
},
...
@@ -302,92 +302,92 @@ const Se = _({
...
@@ -302,92 +302,92 @@ const Se = _({
key
:
`compare_
${
o
.
id
}
`
key
:
`compare_
${
o
.
id
}
`
});
});
return
r
(
"div"
,
{
return
r
(
"div"
,
{
class
:
e
.
e
(
"mdctrl"
)
class
:
t
.
e
(
"mdctrl"
)
},
[
r
(
"div"
,
{
},
[
r
(
"div"
,
{
class
:
e
.
em
(
"mdctrl"
,
"caption"
)
class
:
t
.
em
(
"mdctrl"
,
"caption"
)
},
[
o
.
source
.
caption
]),
r
(
"div"
,
{
},
[
o
.
source
.
caption
]),
r
(
"div"
,
{
class
:
e
.
em
(
"mdctrl"
,
"left"
)
class
:
t
.
em
(
"mdctrl"
,
"left"
)
},
[
F
]),
r
(
"div"
,
{
},
[
I
]),
r
(
"div"
,
{
class
:
e
.
em
(
"mdctrl"
,
"right"
)
class
:
t
.
em
(
"mdctrl"
,
"right"
)
},
[
O
])]);
},
[
O
])]);
},
I
=
(
o
)
=>
{
},
F
=
(
o
)
=>
{
l
.
value
=
!
1
;
i
.
value
=
!
1
;
const
d
=
p
.
value
.
findIndex
((
A
)
=>
A
===
o
.
source
.
name
);
const
d
=
p
.
value
.
findIndex
((
A
)
=>
A
===
o
.
source
.
name
);
d
>
-
1
?
p
.
value
.
splice
(
d
,
1
)
:
p
.
value
.
push
(
o
.
source
.
name
);
d
>
-
1
?
p
.
value
.
splice
(
d
,
1
)
:
p
.
value
.
push
(
o
.
source
.
name
);
},
x
=
(
o
)
=>
{
},
x
=
(
o
)
=>
{
if
(
!
o
.
source
.
hidden
)
{
if
(
!
o
.
source
.
hidden
)
{
if
(
o
.
source
.
detailType
===
"FORMPAGE"
)
if
(
o
.
source
.
detailType
===
"FORMPAGE"
)
return
r
(
"div"
,
{
return
r
(
"div"
,
{
class
:
e
.
e
(
"form-page"
)
class
:
t
.
e
(
"form-page"
)
},
[
o
.
children
.
map
((
d
)
=>
x
(
d
))]);
},
[
o
.
children
.
map
((
d
)
=>
x
(
d
))]);
if
(
o
.
source
.
detailType
===
"FORMITEM"
)
{
if
(
o
.
source
.
detailType
===
"FORMITEM"
)
{
const
d
=
y
.
value
.
includes
(
o
.
source
.
name
),
A
=
i
.
value
.
includes
(
o
.
source
.
name
),
F
=
v
.
value
.
includes
(
o
.
source
.
name
);
const
d
=
g
.
value
.
includes
(
o
.
source
.
name
),
A
=
l
.
value
.
includes
(
o
.
source
.
name
),
I
=
y
.
value
.
includes
(
o
.
source
.
name
);
return
n
.
value
&&
!
d
&&
!
A
&&
!
F
?
null
:
P
(
o
);
return
n
.
value
&&
!
d
&&
!
A
&&
!
I
?
null
:
P
(
o
);
}
}
if
(
o
.
source
.
detailType
===
"GROUPPANEL"
)
{
if
(
o
.
source
.
detailType
===
"GROUPPANEL"
)
{
const
d
=
p
.
value
.
includes
(
o
.
source
.
name
);
const
d
=
p
.
value
.
includes
(
o
.
source
.
name
);
return
r
(
"div"
,
{
return
r
(
"div"
,
{
class
:
e
.
b
(
"group"
)
class
:
t
.
b
(
"group"
)
},
[
r
(
"div"
,
{
},
[
r
(
"div"
,
{
class
:
[
e
.
be
(
"group"
,
"header"
),
e
.
is
(
"hide-caption"
,
!
o
.
source
.
showCaption
)]
class
:
[
t
.
be
(
"group"
,
"header"
),
t
.
is
(
"hide-caption"
,
!
o
.
source
.
showCaption
)]
},
[
r
(
"div"
,
{
},
[
r
(
"div"
,
{
class
:
e
.
bem
(
"group"
,
"header"
,
"name"
)
class
:
t
.
bem
(
"group"
,
"header"
,
"name"
)
},
[
d
?
r
(
"i-icon"
,
{
},
[
d
?
r
(
"i-icon"
,
{
class
:
e
.
bem
(
"group"
,
"header"
,
"icon"
),
class
:
t
.
bem
(
"group"
,
"header"
,
"icon"
),
attrs
:
{
attrs
:
{
type
:
"ios-arrow-forward"
,
type
:
"ios-arrow-forward"
,
title
:
"展开"
title
:
"展开"
},
},
on
:
{
on
:
{
click
:
()
=>
I
(
o
)
click
:
()
=>
F
(
o
)
}
}
})
:
r
(
"i-icon"
,
{
})
:
r
(
"i-icon"
,
{
class
:
e
.
bem
(
"group"
,
"header"
,
"icon"
),
class
:
t
.
bem
(
"group"
,
"header"
,
"icon"
),
attrs
:
{
attrs
:
{
type
:
"ios-arrow-down"
,
type
:
"ios-arrow-down"
,
title
:
"收缩"
title
:
"收缩"
},
},
on
:
{
on
:
{
click
:
()
=>
I
(
o
)
click
:
()
=>
F
(
o
)
}
}
}),
r
(
"span"
,
{
}),
r
(
"span"
,
{
class
:
e
.
bem
(
"group"
,
"header"
,
"name-text"
)
class
:
t
.
bem
(
"group"
,
"header"
,
"name-text"
)
},
[
o
.
source
.
caption
||
o
.
source
.
title
])]),
r
(
"div"
,
[
"---"
]),
r
(
"div"
,
[
"---"
])]),
r
(
"div"
,
{
},
[
o
.
source
.
caption
||
o
.
source
.
title
])]),
r
(
"div"
,
[
"---"
]),
r
(
"div"
,
[
"---"
])]),
r
(
"div"
,
{
class
:
[
e
.
be
(
"group"
,
"content"
),
e
.
is
(
"collapse"
,
d
)]
class
:
[
t
.
be
(
"group"
,
"content"
),
t
.
is
(
"collapse"
,
d
)]
},
[
o
.
children
.
map
((
A
)
=>
x
(
A
))])]);
},
[
o
.
children
.
map
((
A
)
=>
x
(
A
))])]);
}
}
return
o
.
source
.
detailType
===
"DRUIPART"
&&
!
o
.
source
.
name
.
endsWith
(
"_srfcopy"
)
?
D
(
o
)
:
o
.
source
.
detailType
===
"MDCTRL"
?
w
(
o
)
:
null
;
return
o
.
source
.
detailType
===
"DRUIPART"
&&
!
o
.
source
.
name
.
endsWith
(
"_srfcopy"
)
?
w
(
o
)
:
o
.
source
.
detailType
===
"MDCTRL"
?
b
(
o
)
:
null
;
}
}
},
k
=
(
o
,
d
)
=>
{
},
S
=
(
o
,
d
)
=>
{
const
A
=
[],
F
=
[],
O
=
[];
const
A
=
[],
I
=
[],
O
=
[];
return
Object
.
keys
(
d
).
forEach
((
N
)
=>
{
return
Object
.
keys
(
d
).
forEach
((
N
)
=>
{
const
T
=
o
[
N
],
j
=
d
[
N
];
const
T
=
o
[
N
],
_
=
d
[
N
];
t
.
isFalseyButNotEmpty
(
T
)
&&
!
t
.
isFalseyButNotEmpty
(
j
)
&&
A
.
push
(
N
),
!
t
.
isFalseyButNotEmpty
(
T
)
&&
!
t
.
isFalseyButNotEmpty
(
j
)
&&
t
.
compareObjectValues
(
T
,
j
)
&&
F
.
push
(
N
);
e
.
isFalseyButNotEmpty
(
T
)
&&
!
e
.
isFalseyButNotEmpty
(
_
)
&&
A
.
push
(
N
),
!
e
.
isFalseyButNotEmpty
(
T
)
&&
!
e
.
isFalseyButNotEmpty
(
_
)
&&
e
.
compareObjectValues
(
T
,
_
)
&&
I
.
push
(
N
);
}),
Object
.
keys
(
o
).
forEach
((
N
)
=>
{
}),
Object
.
keys
(
o
).
forEach
((
N
)
=>
{
if
(
!
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
N
)
||
t
.
isFalseyButNotEmpty
(
d
[
N
]))
{
if
(
!
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
N
)
||
e
.
isFalseyButNotEmpty
(
d
[
N
]))
{
const
T
=
o
[
N
];
const
T
=
o
[
N
];
t
.
isFalseyButNotEmpty
(
T
)
||
O
.
push
(
N
);
e
.
isFalseyButNotEmpty
(
T
)
||
O
.
push
(
N
);
}
}
}),
{
}),
{
added
:
A
,
added
:
A
,
modified
:
F
,
modified
:
I
,
deleted
:
O
deleted
:
O
};
};
};
};
return
L
(()
=>
s
.
params
,
async
()
=>
{
return
V
(()
=>
s
.
params
,
async
()
=>
{
const
o
=
await
t
.
loadGridData
();
const
o
=
await
e
.
loadGridData
();
c
.
value
=
o
.
baseData
,
g
.
value
=
o
.
compareData
;
c
.
value
=
o
.
baseData
,
v
.
value
=
o
.
compareData
;
const
{
const
{
added
:
d
,
added
:
d
,
modified
:
A
,
modified
:
A
,
deleted
:
F
deleted
:
I
}
=
k
(
g
.
value
,
c
.
value
);
}
=
S
(
v
.
value
,
c
.
value
);
y
.
value
=
d
,
v
.
value
=
A
,
i
.
value
=
F
;
g
.
value
=
d
,
y
.
value
=
A
,
l
.
value
=
I
;
},
{
},
{
immediate
:
!
0
immediate
:
!
0
}),
{
}),
{
ns
:
e
,
ns
:
t
,
c
:
t
,
c
:
e
,
switchValue
:
n
,
switchValue
:
n
,
druipartNum
:
u
,
druipartNum
:
u
,
renderEditor
:
P
,
renderEditor
:
P
,
...
@@ -441,7 +441,7 @@ const Se = _({
...
@@ -441,7 +441,7 @@ const Se = _({
},
[
this
.
modelData
.
children
.
map
((
s
)
=>
this
.
renderByDetailType
(
s
))])])])
:
null
;
},
[
this
.
modelData
.
children
.
map
((
s
)
=>
this
.
renderByDetailType
(
s
))])])])
:
null
;
}
}
});
});
const
xe
=
_
({
const
Te
=
M
({
name
:
"CustomDataImport"
,
name
:
"CustomDataImport"
,
props
:
{
props
:
{
templateUrl
:
{
templateUrl
:
{
...
@@ -457,65 +457,65 @@ const xe = _({
...
@@ -457,65 +457,65 @@ const xe = _({
}
}
},
},
setup
(
s
,
{
setup
(
s
,
{
emit
:
e
emit
:
t
})
{
})
{
const
a
=
B
(
"data-import"
),
t
=
b
(),
l
=
b
({
const
a
=
B
(
"data-import"
),
e
=
C
(),
i
=
C
({
state
:
"ready"
,
state
:
"ready"
,
message
:
""
,
message
:
""
,
rowError
:
[]
rowError
:
[]
}),
n
=
b
(
""
),
c
=
async
(
i
)
=>
{
}),
n
=
C
(
""
),
c
=
async
(
l
)
=>
{
const
v
=
new
FormData
(),
h
=
$
(
n
.
value
).
format
(
"YYYY-MM"
);
const
y
=
new
FormData
(),
f
=
$
(
n
.
value
).
format
(
"YYYY-MM"
);
v
.
append
(
"file"
,
i
),
v
.
append
(
"ny"
,
h
);
y
.
append
(
"file"
,
l
),
y
.
append
(
"ny"
,
f
);
try
{
try
{
const
u
=
await
ibiz
.
net
.
request
(
s
.
importUrl
,
{
const
u
=
await
ibiz
.
net
.
request
(
s
.
importUrl
,
{
method
:
"post"
,
method
:
"post"
,
data
:
v
,
data
:
y
,
headers
:
{
headers
:
{
"Content-Type"
:
"multipart/form-data"
"Content-Type"
:
"multipart/form-data"
}
}
});
});
l
.
value
.
state
=
"success"
,
l
.
value
.
message
=
"导入成功"
;
i
.
value
.
state
=
"success"
,
i
.
value
.
message
=
"导入成功"
;
const
{
const
{
errorinfo
:
m
,
errorinfo
:
m
,
success
:
E
,
success
:
D
,
total
:
P
total
:
P
}
=
u
.
data
,
S
=
P
?
Number
(
P
)
:
0
,
D
=
E
?
Number
(
E
)
:
0
,
w
=
P
-
E
;
}
=
u
.
data
,
k
=
P
?
Number
(
P
)
:
0
,
w
=
D
?
Number
(
D
)
:
0
,
b
=
P
-
D
;
l
.
value
.
message
=
`共计导入数据
${
S
}
条,错误[
${
w
}
],成功[
${
D
}
]`
,
m
&&
Object
.
keys
(
m
).
length
>
0
&&
(
l
.
value
.
rowError
=
[],
Object
.
keys
(
m
).
forEach
((
I
)
=>
{
i
.
value
.
message
=
`共计导入数据
${
k
}
条,错误[
${
b
}
],成功[
${
w
}
]`
,
m
&&
Object
.
keys
(
m
).
length
>
0
&&
(
i
.
value
.
rowError
=
[],
Object
.
keys
(
m
).
forEach
((
F
)
=>
{
l
.
value
.
rowError
.
push
({
i
.
value
.
rowError
.
push
({
index
:
Number
(
I
)
+
1
,
index
:
Number
(
F
)
+
1
,
info
:
m
[
I
].
errorInfo
info
:
m
[
F
].
errorInfo
});
});
}));
}));
}
catch
(
u
)
{
}
catch
(
u
)
{
l
.
value
.
state
=
"fail"
,
l
.
value
.
message
=
`导入失败!
${
u
.
message
}
`
;
i
.
value
.
state
=
"fail"
,
i
.
value
.
message
=
`导入失败!
${
u
.
message
}
`
;
}
}
},
g
=
(
i
)
=>
{
},
v
=
(
l
)
=>
{
const
v
=
i
.
target
;
const
y
=
l
.
target
;
if
(
!
v
.
files
)
if
(
!
y
.
files
)
return
;
return
;
const
h
=
v
.
files
[
0
];
const
f
=
y
.
files
[
0
];
v
.
value
=
null
,
c
(
h
);
y
.
value
=
null
,
c
(
f
);
},
p
=
async
()
=>
{
},
p
=
async
()
=>
{
var
v
;
var
y
;
const
i
=
await
ibiz
.
net
.
request
(
s
.
templateUrl
,
{
const
l
=
await
ibiz
.
net
.
request
(
s
.
templateUrl
,
{
responseType
:
"blob"
responseType
:
"blob"
});
});
if
(
i
.
status
===
200
)
{
if
(
l
.
status
===
200
)
{
let
h
=
((
v
=
i
.
headers
[
"content-disposition"
].
split
(
";"
).
find
((
E
)
=>
E
.
indexOf
(
"filename="
)
!==
-
1
))
==
null
?
void
0
:
v
.
slice
(
9
))
||
""
;
let
f
=
((
y
=
l
.
headers
[
"content-disposition"
].
split
(
";"
).
find
((
D
)
=>
D
.
indexOf
(
"filename="
)
!==
-
1
))
==
null
?
void
0
:
y
.
slice
(
9
))
||
""
;
h
=
decodeURIComponent
(
h
);
f
=
decodeURIComponent
(
f
);
const
u
=
new
Blob
([
i
.
data
],
{
const
u
=
new
Blob
([
l
.
data
],
{
type
:
"application/vnd.ms-excel"
type
:
"application/vnd.ms-excel"
}),
m
=
document
.
createElement
(
"a"
);
}),
m
=
document
.
createElement
(
"a"
);
m
.
download
=
h
,
m
.
style
.
display
=
"none"
,
m
.
href
=
URL
.
createObjectURL
(
u
),
document
.
body
.
appendChild
(
m
),
m
.
click
(),
URL
.
revokeObjectURL
(
m
.
href
),
document
.
body
.
removeChild
(
m
);
m
.
download
=
f
,
m
.
style
.
display
=
"none"
,
m
.
href
=
URL
.
createObjectURL
(
u
),
document
.
body
.
appendChild
(
m
),
m
.
click
(),
URL
.
revokeObjectURL
(
m
.
href
),
document
.
body
.
removeChild
(
m
);
}
}
},
f
=
()
=>
{
},
h
=
()
=>
{
t
.
value
.
click
();
e
.
value
.
click
();
},
y
=
()
=>
{
},
g
=
()
=>
{
var
i
;
var
l
;
e
(
"close"
,
{
t
(
"close"
,
{
ok
:
!
1
,
ok
:
!
1
,
data
:
{}
data
:
{}
}),
(
i
=
s
.
dismiss
)
==
null
||
i
.
call
(
s
,
{
}),
(
l
=
s
.
dismiss
)
==
null
||
l
.
call
(
s
,
{
ok
:
!
1
,
ok
:
!
1
,
data
:
{}
data
:
{}
});
});
...
@@ -526,11 +526,11 @@ const xe = _({
...
@@ -526,11 +526,11 @@ const xe = _({
ns
:
a
,
ns
:
a
,
curDate
:
n
,
curDate
:
n
,
onLinkClick
:
p
,
onLinkClick
:
p
,
selectFile
:
f
,
selectFile
:
h
,
onCancelButtonClick
:
y
,
onCancelButtonClick
:
g
,
onFileChange
:
g
,
onFileChange
:
v
,
inputUpLoad
:
t
,
inputUpLoad
:
e
,
message
:
l
message
:
i
};
};
},
},
render
()
{
render
()
{
...
@@ -606,22 +606,22 @@ const xe = _({
...
@@ -606,22 +606,22 @@ const xe = _({
},
[
"重新上传"
])])]);
},
[
"重新上传"
])])]);
}
}
});
});
const
Ne
=
_
({
const
Me
=
M
({
name
:
"YearMonthPicker"
,
name
:
"YearMonthPicker"
,
props
:
ye
(),
props
:
ye
(),
emits
:
H
(),
emits
:
G
(),
setup
(
s
,
{
setup
(
s
,
{
emit
:
e
emit
:
t
})
{
})
{
const
a
=
B
(
"date-picker"
),
t
=
s
.
controller
,
l
=
t
.
model
,
n
=
b
(
"date"
),
c
=
b
(
"yyyy-MM-dd"
),
g
=
b
(
!
1
);
const
a
=
B
(
"date-picker"
),
e
=
s
.
controller
,
i
=
e
.
model
,
n
=
C
(
"date"
),
c
=
C
(
"yyyy-MM-dd"
),
v
=
C
(
!
1
);
switch
(
l
.
editorType
)
{
switch
(
i
.
editorType
)
{
case
"DATEPICKEREX"
:
case
"DATEPICKEREX"
:
case
"DATEPICKEREX_NOTIME"
:
case
"DATEPICKEREX_NOTIME"
:
n
.
value
=
"date"
;
n
.
value
=
"date"
;
break
;
break
;
case
"DATEPICKEREX_NODAY"
:
case
"DATEPICKEREX_NODAY"
:
case
"DATEPICKEREX_NODAY_NOSECOND"
:
case
"DATEPICKEREX_NODAY_NOSECOND"
:
g
.
value
=
!
0
,
n
.
value
=
"time"
;
v
.
value
=
!
0
,
n
.
value
=
"time"
;
break
;
break
;
case
"DATEPICKEREX_HOUR"
:
case
"DATEPICKEREX_HOUR"
:
case
"DATEPICKEREX_MINUTE"
:
case
"DATEPICKEREX_MINUTE"
:
...
@@ -631,41 +631,41 @@ const Ne = _({
...
@@ -631,41 +631,41 @@ const Ne = _({
default
:
default
:
n
.
value
=
"datetime"
;
n
.
value
=
"datetime"
;
}
}
const
p
=
t
.
valueFormat
;
const
p
=
e
.
valueFormat
;
if
(
p
)
{
if
(
p
)
{
p
===
"YYYY-MM"
?
n
.
value
=
"month"
:
p
===
"YYYY"
&&
(
n
.
value
=
"year"
);
p
===
"YYYY-MM"
?
n
.
value
=
"month"
:
p
===
"YYYY"
&&
(
n
.
value
=
"year"
);
const
h
=
p
.
replace
(
"YYYY"
,
"yyyy"
).
replace
(
"DD"
,
"dd"
);
const
f
=
p
.
replace
(
"YYYY"
,
"yyyy"
).
replace
(
"DD"
,
"dd"
);
c
.
value
=
h
;
c
.
value
=
f
;
}
}
l
.
editorParams
.
formatText
&&
(
c
.
value
=
l
.
editorParams
.
formatText
.
replace
(
"YYYY"
,
"yyyy"
).
replace
(
"DD"
,
"dd"
));
i
.
editorParams
.
formatText
&&
(
c
.
value
=
i
.
editorParams
.
formatText
.
replace
(
"YYYY"
,
"yyyy"
).
replace
(
"DD"
,
"dd"
));
const
f
=
b
();
const
h
=
C
();
L
(()
=>
s
.
value
,
(
h
,
u
)
=>
{
V
(()
=>
s
.
value
,
(
f
,
u
)
=>
{
h
&&
h
!==
u
&&
(
f
.
value
=
$
(
h
).
format
(
p
));
f
&&
f
!==
u
&&
(
h
.
value
=
$
(
f
).
format
(
p
));
},
{
},
{
immediate
:
!
0
immediate
:
!
0
});
});
const
y
=
(
h
,
u
)
=>
{
const
g
=
(
f
,
u
)
=>
{
if
(
h
)
{
if
(
f
)
{
const
m
=
$
(
h
.
replace
(
/
[
年月
]
/g
,
"-"
)).
format
(
p
);
const
m
=
$
(
f
.
replace
(
/
[
年月
]
/g
,
"-"
)).
format
(
p
);
e
(
"change"
,
m
);
t
(
"change"
,
m
);
}
else
}
else
e
(
"change"
,
h
);
t
(
"change"
,
f
);
},
i
=
(
h
)
=>
{
},
l
=
(
f
)
=>
{
e
(
"operate"
,
h
);
t
(
"operate"
,
f
);
},
v
=
b
();
},
y
=
C
();
return
s
.
autoFocus
&&
L
(
v
,
(
h
)
=>
{
return
s
.
autoFocus
&&
V
(
y
,
(
f
)
=>
{
h
&&
h
.
$el
.
getElementsByTagName
(
"input"
)[
0
].
click
();
f
&&
f
.
$el
.
getElementsByTagName
(
"input"
)[
0
].
click
();
}),
{
}),
{
ns
:
a
,
ns
:
a
,
c
:
t
,
c
:
e
,
editorModel
:
l
,
editorModel
:
i
,
type
:
n
,
type
:
n
,
format
:
c
,
format
:
c
,
formatValue
:
f
,
formatValue
:
h
,
handleChange
:
y
,
handleChange
:
g
,
onOpenChange
:
i
,
onOpenChange
:
l
,
inputRef
:
v
,
inputRef
:
y
,
isTimePicker
:
g
isTimePicker
:
v
};
};
},
},
render
(
s
)
{
render
(
s
)
{
...
@@ -704,14 +704,14 @@ const Ne = _({
...
@@ -704,14 +704,14 @@ const Ne = _({
})]]);
})]]);
}
}
});
});
const
ie
=
new
Ee
(
import
.
meta
.
url
),
Oe
=
_
({
const
ie
=
new
Ee
(
import
.
meta
.
url
),
Re
=
M
({
name
:
"DownLoadSafeFile"
,
name
:
"DownLoadSafeFile"
,
props
:
{},
props
:
{},
setup
()
{
setup
()
{
const
s
=
B
(
"download-safe-file"
),
e
=
ie
.
dir
(
"/assets/doc/safe-file.doc"
);
const
s
=
B
(
"download-safe-file"
),
t
=
ie
.
dir
(
"/assets/doc/safe-file.doc"
);
return
{
return
{
ns
:
s
,
ns
:
s
,
url
:
e
url
:
t
};
};
},
},
render
()
{
render
()
{
...
@@ -725,7 +725,7 @@ const ie = new Ee(import.meta.url), Oe = _({
...
@@ -725,7 +725,7 @@ const ie = new Ee(import.meta.url), Oe = _({
},
[
"网络信息安全承诺书.doc"
])]);
},
[
"网络信息安全承诺书.doc"
])]);
}
}
});
});
class
le
extends
w
e
{
class
le
extends
P
e
{
constructor
()
{
constructor
()
{
super
(...
arguments
);
super
(...
arguments
);
/**
/**
...
@@ -734,17 +734,17 @@ class le extends we {
...
@@ -734,17 +734,17 @@ class le extends we {
* @type {number}
* @type {number}
* @memberof FormMDCtrlFormStyle2Controller
* @memberof FormMDCtrlFormStyle2Controller
*/
*/
C
(
this
,
"active"
,
0
);
E
(
this
,
"active"
,
0
);
}
}
connect
(
a
,
t
)
{
connect
(
a
,
e
)
{
this
.
formNeurons
.
get
(
a
)
||
(
this
.
formNeurons
.
set
(
a
,
t
),
t
.
evt
.
on
(
"mounted"
,
()
=>
{
this
.
formNeurons
.
get
(
a
)
||
(
this
.
formNeurons
.
set
(
a
,
e
),
e
.
evt
.
on
(
"mounted"
,
()
=>
{
t
.
call
.
load
();
e
.
call
.
load
();
}),
t
.
evt
.
on
(
"destroyed"
,
()
=>
{
}),
e
.
evt
.
on
(
"destroyed"
,
()
=>
{
this
.
formNeurons
.
delete
(
a
);
this
.
formNeurons
.
delete
(
a
);
}),
t
.
evt
.
on
(
"valueChange"
,
(
l
)
=>
{
}),
e
.
evt
.
on
(
"valueChange"
,
(
i
)
=>
{
if
(
l
)
{
if
(
i
)
{
const
n
=
this
.
contentCtrlData
.
find
((
c
)
=>
c
.
srfkey
===
l
.
srfkey
);
const
n
=
this
.
contentCtrlData
.
find
((
c
)
=>
c
.
srfkey
===
i
.
srfkey
);
n
&&
Object
.
assign
(
n
,
l
),
this
.
force
();
n
&&
Object
.
assign
(
n
,
i
),
this
.
force
();
}
}
}));
}));
}
}
...
@@ -757,21 +757,21 @@ class le extends we {
...
@@ -757,21 +757,21 @@ class le extends we {
async
validate
()
{
async
validate
()
{
const
a
=
[];
const
a
=
[];
this
.
formNeurons
.
forEach
((
n
,
c
)
=>
{
this
.
formNeurons
.
forEach
((
n
,
c
)
=>
{
const
g
=
n
.
call
.
getFormController
();
const
v
=
n
.
call
.
getFormController
();
a
.
push
({
key
:
c
,
controller
:
g
});
a
.
push
({
key
:
c
,
controller
:
v
});
});
});
let
t
=
""
;
let
e
=
""
;
const
l
=
await
Promise
.
all
(
const
i
=
await
Promise
.
all
(
a
.
map
(
async
(
n
)
=>
{
a
.
map
(
async
(
n
)
=>
{
const
c
=
await
n
.
controller
.
validate
();
const
c
=
await
n
.
controller
.
validate
();
return
!
t
&&
!
c
&&
(
t
=
n
.
key
),
c
;
return
!
e
&&
!
c
&&
(
e
=
n
.
key
),
c
;
})
})
);
);
if
(
t
)
{
if
(
e
)
{
const
n
=
this
.
contentCtrlData
.
findIndex
((
c
)
=>
c
.
srfkey
===
t
);
const
n
=
this
.
contentCtrlData
.
findIndex
((
c
)
=>
c
.
srfkey
===
e
);
n
>
-
1
&&
(
this
.
active
=
n
);
n
>
-
1
&&
(
this
.
active
=
n
);
}
}
return
l
.
findIndex
((
n
)
=>
!
n
)
===
-
1
;
return
i
.
findIndex
((
n
)
=>
!
n
)
===
-
1
;
}
}
/**
/**
* 静默校验
* 静默校验
...
@@ -782,24 +782,24 @@ class le extends we {
...
@@ -782,24 +782,24 @@ class le extends we {
async
silentValidate
()
{
async
silentValidate
()
{
const
a
=
[];
const
a
=
[];
this
.
formNeurons
.
forEach
((
n
,
c
)
=>
{
this
.
formNeurons
.
forEach
((
n
,
c
)
=>
{
const
g
=
n
.
call
.
getFormController
();
const
v
=
n
.
call
.
getFormController
();
a
.
push
({
key
:
c
,
controller
:
g
});
a
.
push
({
key
:
c
,
controller
:
v
});
});
});
let
t
=
""
;
let
e
=
""
;
const
l
=
await
Promise
.
all
(
const
i
=
await
Promise
.
all
(
a
.
map
(
async
(
n
)
=>
{
a
.
map
(
async
(
n
)
=>
{
const
c
=
await
n
.
controller
.
silentValidate
();
const
c
=
await
n
.
controller
.
silentValidate
();
return
!
t
&&
!
c
&&
(
t
=
n
.
key
),
c
;
return
!
e
&&
!
c
&&
(
e
=
n
.
key
),
c
;
})
})
);
);
if
(
t
)
{
if
(
e
)
{
const
n
=
this
.
contentCtrlData
.
findIndex
((
c
)
=>
c
.
srfkey
===
t
);
const
n
=
this
.
contentCtrlData
.
findIndex
((
c
)
=>
c
.
srfkey
===
e
);
n
>
-
1
&&
(
this
.
active
=
n
);
n
>
-
1
&&
(
this
.
active
=
n
);
}
}
return
l
.
findIndex
((
n
)
=>
!
n
)
===
-
1
;
return
i
.
findIndex
((
n
)
=>
!
n
)
===
-
1
;
}
}
}
}
const
Te
=
_
({
const
Ue
=
M
({
name
:
"FormMDCtrlFormStyle2"
,
name
:
"FormMDCtrlFormStyle2"
,
props
:
{
props
:
{
controller
:
{
controller
:
{
...
@@ -812,51 +812,51 @@ const Te = _({
...
@@ -812,51 +812,51 @@ const Te = _({
}
}
},
},
setup
(
s
)
{
setup
(
s
)
{
const
e
=
B
(
"form-mdctrl-form-style2"
),
a
=
s
.
controller
,
{
const
t
=
B
(
"form-mdctrl-form-style2"
),
a
=
s
.
controller
,
{
proxy
:
t
proxy
:
e
}
=
ae
();
}
=
W
();
ge
(
t
,
s
.
controller
);
ge
(
e
,
s
.
controller
);
const
l
=
async
(
f
,
y
,
i
)
=>
{
const
i
=
async
(
h
,
g
,
l
)
=>
{
i
.
stopPropagation
(),
i
.
preventDefault
();
l
.
stopPropagation
(),
l
.
preventDefault
();
const
v
=
a
.
contentCtrlData
.
length
;
const
y
=
a
.
contentCtrlData
.
length
;
await
a
.
handleRemove
(
f
,
y
),
v
!==
a
.
contentCtrlData
.
length
&&
y
<=
a
.
active
&&
a
.
active
!==
0
&&
(
a
.
active
-=
1
);
await
a
.
handleRemove
(
h
,
g
),
y
!==
a
.
contentCtrlData
.
length
&&
g
<=
a
.
active
&&
a
.
active
!==
0
&&
(
a
.
active
-=
1
);
},
n
=
(
f
)
=>
{
},
n
=
(
h
)
=>
{
a
.
active
=
f
,
a
.
force
();
a
.
active
=
h
,
a
.
force
();
},
c
=
async
()
=>
{
},
c
=
async
()
=>
{
const
f
=
JSON
.
parse
(
JSON
.
stringify
(
a
.
contentCtrlData
)).
length
;
const
h
=
JSON
.
parse
(
JSON
.
stringify
(
a
.
contentCtrlData
)).
length
;
await
a
.
handleAdd
(),
f
<
a
.
contentCtrlData
.
length
&&
(
a
.
active
=
a
.
contentCtrlData
.
length
-
1
);
await
a
.
handleAdd
(),
h
<
a
.
contentCtrlData
.
length
&&
(
a
.
active
=
a
.
contentCtrlData
.
length
-
1
);
},
g
=
()
=>
{
},
v
=
()
=>
{
const
f
=
s
.
modelData
.
source
.
userTag
;
const
h
=
s
.
modelData
.
source
.
userTag
;
let
y
=
{};
let
g
=
{};
f
&&
(
y
=
JSON
.
parse
(
f
));
h
&&
(
g
=
JSON
.
parse
(
h
));
const
{
const
{
tabtitle
:
i
,
tabtitle
:
l
,
addtitle
:
v
addtitle
:
y
}
=
y
;
}
=
g
;
return
r
(
"div"
,
{
return
r
(
"div"
,
{
class
:
e
.
e
(
"header"
)
class
:
t
.
e
(
"header"
)
},
[
a
.
contentCtrlData
.
map
((
h
,
u
)
=>
{
},
[
a
.
contentCtrlData
.
map
((
f
,
u
)
=>
{
let
m
=
`新建
${
u
+
1
}
`
;
let
m
=
`新建
${
u
+
1
}
`
;
return
h
.
srfmajortext
?
m
=
h
.
srfmajortext
:
i
&&
h
[
i
]
?
m
=
h
[
i
]
:
v
&&
(
m
=
`
${
v
}${
u
+
1
}
`
),
r
(
"div"
,
{
return
f
.
srfmajortext
?
m
=
f
.
srfmajortext
:
l
&&
f
[
l
]
?
m
=
f
[
l
]
:
y
&&
(
m
=
`
${
y
}${
u
+
1
}
`
),
r
(
"div"
,
{
class
:
[
e
.
e
(
"header-item"
),
e
.
is
(
"actived"
,
u
===
a
.
active
)],
class
:
[
t
.
e
(
"header-item"
),
t
.
is
(
"actived"
,
u
===
a
.
active
)],
on
:
{
on
:
{
click
:
()
=>
n
(
u
)
click
:
()
=>
n
(
u
)
}
}
},
[
r
(
"div"
,
{
},
[
r
(
"div"
,
{
class
:
e
.
em
(
"header-item"
,
"title"
)
class
:
t
.
em
(
"header-item"
,
"title"
)
},
[
m
]),
a
.
enableDelete
&&
r
(
"div"
,
{
},
[
m
]),
a
.
enableDelete
&&
r
(
"div"
,
{
class
:
e
.
em
(
"header-item"
,
"delete"
),
class
:
t
.
em
(
"header-item"
,
"delete"
),
attrs
:
{
attrs
:
{
title
:
"移除"
title
:
"移除"
},
},
on
:
{
on
:
{
click
:
(
E
)
=>
l
(
h
,
u
,
E
)
click
:
(
D
)
=>
i
(
f
,
u
,
D
)
}
}
},
[
r
(
"i"
,
{
},
[
r
(
"i"
,
{
class
:
"fa fa-close"
class
:
"fa fa-close"
})])]);
})])]);
}),
a
.
enableCreate
&&
r
(
"div"
,
{
}),
a
.
enableCreate
&&
r
(
"div"
,
{
class
:
[
e
.
e
(
"header-item"
),
e
.
e
(
"add"
)],
class
:
[
t
.
e
(
"header-item"
),
t
.
e
(
"add"
)],
attrs
:
{
attrs
:
{
title
:
"添加"
title
:
"添加"
},
},
...
@@ -867,38 +867,38 @@ const Te = _({
...
@@ -867,38 +867,38 @@ const Te = _({
class
:
"fa fa-plus"
class
:
"fa fa-plus"
})])]);
})])]);
};
};
return
L
(()
=>
a
.
form
.
isLoaded
,
(
f
,
y
)
=>
{
return
V
(()
=>
a
.
form
.
isLoaded
,
(
h
,
g
)
=>
{
f
!==
y
&&
f
===
!
0
&&
a
.
loadData
();
h
!==
g
&&
h
===
!
0
&&
a
.
loadData
();
}),
{
}),
{
ns
:
e
,
ns
:
t
,
rendertanHeader
:
g
,
rendertanHeader
:
v
,
renderTabs
:
()
=>
a
.
contentCtrlData
.
map
((
f
,
y
)
=>
{
renderTabs
:
()
=>
a
.
contentCtrlData
.
map
((
h
,
g
)
=>
{
var
h
;
var
f
;
let
i
=
null
;
let
l
=
null
;
const
{
const
{
form
:
v
form
:
y
}
=
a
.
model
;
}
=
a
.
model
;
if
(
v
&&
a
.
providers
[
v
.
name
]
&&
a
.
model
.
appEntity
)
{
if
(
y
&&
a
.
providers
[
y
.
name
]
&&
a
.
model
.
appEntity
)
{
const
u
=
Object
.
assign
(
a
.
form
.
context
.
clone
(),
{
const
u
=
Object
.
assign
(
a
.
form
.
context
.
clone
(),
{
[(
h
=
a
.
model
.
appEntity
.
codeName
)
==
null
?
void
0
:
h
.
toLowerCase
()]:
f
[
a
.
model
.
appEntity
.
keyName
]
[(
f
=
a
.
model
.
appEntity
.
codeName
)
==
null
?
void
0
:
f
.
toLowerCase
()]:
h
[
a
.
model
.
appEntity
.
keyName
]
});
});
i
=
r
(
a
.
providers
[
v
.
name
].
component
,
{
l
=
r
(
a
.
providers
[
y
.
name
].
component
,
{
props
:
{
props
:
{
modelData
:
v
,
modelData
:
y
,
context
:
u
,
context
:
u
,
params
:
a
.
form
.
params
,
params
:
a
.
form
.
params
,
enableAutoSave
:
!
0
,
enableAutoSave
:
!
0
,
silentVerify
:
!
0
silentVerify
:
!
0
},
},
on
:
{
on
:
{
neuronInit
:
a
.
onNeuronInit
(
f
.
srfkey
)
neuronInit
:
a
.
onNeuronInit
(
h
.
srfkey
)
}
}
});
});
}
}
return
r
(
"div"
,
{
return
r
(
"div"
,
{
class
:
[
e
.
e
(
"content"
),
e
.
is
(
"actived"
,
y
===
a
.
active
)],
class
:
[
t
.
e
(
"content"
),
t
.
is
(
"actived"
,
g
===
a
.
active
)],
key
:
f
.
srfkey
key
:
h
.
srfkey
},
[
i
]);
},
[
l
]);
})
})
};
};
},
},
...
@@ -907,98 +907,98 @@ const Te = _({
...
@@ -907,98 +907,98 @@ const Te = _({
class
:
this
.
ns
.
b
()
class
:
this
.
ns
.
b
()
},
[
this
.
rendertanHeader
(),
this
.
renderTabs
()]);
},
[
this
.
rendertanHeader
(),
this
.
renderTabs
()]);
}
}
}),
Me
=
_
({
}),
Le
=
M
({
name
:
"AutoSelectAll"
,
name
:
"AutoSelectAll"
,
props
:
t
e
(),
props
:
s
e
(),
emits
:
H
(),
emits
:
G
(),
setup
(
s
,
{
setup
(
s
,
{
emit
:
e
emit
:
t
})
{
})
{
const
a
=
B
(
"mpicker"
),
t
=
s
.
controller
,
l
=
b
([]),
n
=
b
([]),
c
=
b
([]),
g
=
b
(
!
1
),
p
=
b
(
!
1
),
f
=
b
(
null
),
y
=
b
([]),
i
=
V
(()
=>
{
const
a
=
B
(
"mpicker"
),
e
=
s
.
controller
,
i
=
C
([]),
n
=
C
([]),
c
=
C
([]),
v
=
C
(
!
1
),
p
=
C
(
!
1
),
h
=
C
(
null
),
g
=
C
([]),
l
=
j
(()
=>
{
const
D
=
t
.
editorParams
.
followitem
;
const
w
=
e
.
editorParams
.
followitem
;
return
D
?
s
.
data
[
D
]
:
""
;
return
w
?
s
.
data
[
w
]
:
""
;
});
});
L
(()
=>
s
.
value
,
(
D
)
=>
{
V
(()
=>
s
.
value
,
(
w
)
=>
{
l
.
value
=
[],
c
.
value
=
[],
D
&&
(
c
.
value
=
JSON
.
parse
(
D
),
c
.
value
.
length
>
0
&&
c
.
value
.
forEach
((
w
)
=>
{
i
.
value
=
[],
c
.
value
=
[],
w
&&
(
c
.
value
=
JSON
.
parse
(
w
),
c
.
value
.
length
>
0
&&
c
.
value
.
forEach
((
b
)
=>
{
n
.
value
.
findIndex
((
x
)
=>
Object
.
is
(
x
.
srfkey
,
w
.
srfkey
))
<
0
&&
(
n
.
value
.
push
(
w
),
y
.
value
.
push
(
w
.
srfmajortext
)),
l
.
value
.
push
(
w
.
srfkey
);
n
.
value
.
findIndex
((
x
)
=>
Object
.
is
(
x
.
srfkey
,
b
.
srfkey
))
<
0
&&
(
n
.
value
.
push
(
b
),
g
.
value
.
push
(
b
.
srfmajortext
)),
i
.
value
.
push
(
b
.
srfkey
);
}));
}));
},
{
},
{
immediate
:
!
0
,
immediate
:
!
0
,
deep
:
!
0
deep
:
!
0
});
});
const
v
=
async
(
D
)
=>
{
const
y
=
async
(
w
)
=>
{
const
w
=
[];
const
b
=
[];
if
(
D
&&
Array
.
isArray
(
D
))
if
(
w
&&
Array
.
isArray
(
w
))
for
(
let
x
=
0
;
x
<
D
.
length
;
x
++
)
{
for
(
let
x
=
0
;
x
<
w
.
length
;
x
++
)
{
const
k
=
D
[
x
],
o
=
{
const
S
=
w
[
x
],
o
=
{
srfkey
:
k
[
t
.
keyName
]
||
k
.
srfkey
,
srfkey
:
S
[
e
.
keyName
]
||
S
.
srfkey
,
srfmajortext
:
k
[
t
.
textName
]
||
k
.
srfmajortext
srfmajortext
:
S
[
e
.
textName
]
||
S
.
srfmajortext
},
d
=
await
t
.
calcFillDataItems
(
k
);
},
d
=
await
e
.
calcFillDataItems
(
S
);
d
.
length
>
0
&&
d
.
forEach
((
F
)
=>
{
d
.
length
>
0
&&
d
.
forEach
((
I
)
=>
{
Object
.
assign
(
o
,
{
Object
.
assign
(
o
,
{
[
F
.
name
]:
F
.
value
[
I
.
name
]:
I
.
value
});
});
}),
w
.
push
(
o
),
n
.
value
.
findIndex
((
F
)
=>
Object
.
is
(
F
[
t
.
keyName
],
k
[
t
.
keyName
]))
<
0
&&
n
.
value
.
push
(
o
);
}),
b
.
push
(
o
),
n
.
value
.
findIndex
((
I
)
=>
Object
.
is
(
I
[
e
.
keyName
],
S
[
e
.
keyName
]))
<
0
&&
n
.
value
.
push
(
o
);
}
}
const
I
=
w
.
length
>
0
?
JSON
.
stringify
(
w
)
:
""
;
const
F
=
b
.
length
>
0
?
JSON
.
stringify
(
b
)
:
""
;
e
(
"change"
,
I
);
t
(
"change"
,
F
);
},
h
=
async
()
=>
{
},
f
=
async
()
=>
{
let
D
;
let
w
;
c
.
value
.
length
&&
(
D
=
JSON
.
stringify
(
c
.
value
));
c
.
value
.
length
&&
(
w
=
JSON
.
stringify
(
c
.
value
));
const
w
=
await
t
.
openPickUpView
(
s
.
data
,
D
);
const
b
=
await
e
.
openPickUpView
(
s
.
data
,
w
);
w
&&
v
(
w
);
b
&&
y
(
b
);
},
u
=
(
D
)
=>
{
},
u
=
(
w
)
=>
{
const
w
=
[];
const
b
=
[];
if
(
D
.
length
>
0
)
{
if
(
w
.
length
>
0
)
{
D
.
forEach
((
x
)
=>
{
w
.
forEach
((
x
)
=>
{
let
k
=
n
.
value
.
findIndex
((
d
)
=>
Object
.
is
(
d
.
srfkey
,
x
)),
o
=
null
;
let
S
=
n
.
value
.
findIndex
((
d
)
=>
Object
.
is
(
d
.
srfkey
,
x
)),
o
=
null
;
k
>=
0
?
o
=
n
.
value
[
k
]
:
(
k
=
c
.
value
.
findIndex
((
d
)
=>
Object
.
is
(
d
.
srfkey
,
x
)),
k
>=
0
&&
(
o
=
c
.
value
[
k
])),
o
&&
w
.
push
(
o
);
S
>=
0
?
o
=
n
.
value
[
S
]
:
(
S
=
c
.
value
.
findIndex
((
d
)
=>
Object
.
is
(
d
.
srfkey
,
x
)),
S
>=
0
&&
(
o
=
c
.
value
[
S
])),
o
&&
b
.
push
(
o
);
});
});
const
I
=
w
.
length
>
0
?
JSON
.
stringify
(
w
)
:
""
;
const
F
=
b
.
length
>
0
?
JSON
.
stringify
(
b
)
:
""
;
e
(
"change"
,
I
);
t
(
"change"
,
F
);
}
else
}
else
e
(
"change"
,
""
);
t
(
"change"
,
""
);
},
m
=
async
(
D
)
=>
{
},
m
=
async
(
w
)
=>
{
if
(
t
.
model
.
appDataEntity
)
{
if
(
e
.
model
.
appDataEntity
)
{
p
.
value
=
!
0
;
p
.
value
=
!
0
;
try
{
try
{
const
w
=
await
t
.
getServiceData
(
D
,
s
.
data
);
const
b
=
await
e
.
getServiceData
(
w
,
s
.
data
);
p
.
value
=
!
1
,
n
.
value
=
[],
w
.
data
.
length
>
0
&&
(
n
.
value
=
w
.
data
.
map
((
I
)
=>
({
p
.
value
=
!
1
,
n
.
value
=
[],
b
.
data
.
length
>
0
&&
(
n
.
value
=
b
.
data
.
map
((
F
)
=>
({
srfkey
:
I
[
t
.
keyName
],
srfkey
:
F
[
e
.
keyName
],
srfmajortext
:
I
[
t
.
textName
]
srfmajortext
:
F
[
e
.
textName
]
})));
})));
}
catch
(
w
)
{
}
catch
(
b
)
{
p
.
value
=
!
1
;
p
.
value
=
!
1
;
}
}
}
}
},
E
=
(
D
)
=>
{
},
D
=
(
w
)
=>
{
g
.
value
=
D
,
e
(
"operate"
,
D
),
g
.
value
&&
m
(
""
);
v
.
value
=
w
,
t
(
"operate"
,
w
),
v
.
value
&&
m
(
""
);
},
P
=
V
(()
=>
c
.
value
.
map
((
D
)
=>
D
.
srfmajortext
).
join
(
"、"
)),
S
=
(
D
)
=>
{
},
P
=
j
(()
=>
c
.
value
.
map
((
w
)
=>
w
.
srfmajortext
).
join
(
"、"
)),
k
=
(
w
)
=>
{
n
.
value
=
D
;
n
.
value
=
w
;
};
};
return
L
(()
=>
i
.
value
,
async
(
D
)
=>
{
return
V
(()
=>
l
.
value
,
async
(
w
)
=>
{
if
(
D
)
{
if
(
w
)
{
await
m
(
""
);
await
m
(
""
);
const
w
=
n
.
value
.
map
((
I
)
=>
I
.
srfkey
);
const
b
=
n
.
value
.
map
((
F
)
=>
F
.
srfkey
);
u
(
w
);
u
(
b
);
}
else
}
else
n
.
value
=
[],
e
(
"change"
,
""
);
n
.
value
=
[],
t
(
"change"
,
""
);
},
{
},
{
immediate
:
!
0
immediate
:
!
0
}),
{
}),
{
ns
:
a
,
ns
:
a
,
c
:
t
,
c
:
e
,
selectRef
:
f
,
selectRef
:
h
,
curValue
:
l
,
curValue
:
i
,
loading
:
p
,
loading
:
p
,
items
:
n
,
items
:
n
,
defaultLabel
:
y
,
defaultLabel
:
g
,
valueText
:
P
,
valueText
:
P
,
onSearch
:
m
,
onSearch
:
m
,
onOpenChange
:
E
,
onOpenChange
:
D
,
onSelect
:
u
,
onSelect
:
u
,
openPickUpView
:
h
,
openPickUpView
:
f
,
setDefaultOptions
:
S
setDefaultOptions
:
k
};
};
},
},
render
(
s
)
{
render
(
s
)
{
...
@@ -1022,13 +1022,13 @@ const Te = _({
...
@@ -1022,13 +1022,13 @@ const Te = _({
"on-change"
:
this
.
onSelect
,
"on-change"
:
this
.
onSelect
,
"on-open-change"
:
this
.
onOpenChange
"on-open-change"
:
this
.
onOpenChange
}
}
},
[
this
.
items
.
map
((
e
)
=>
s
(
"i-option"
,
{
},
[
this
.
items
.
map
((
t
)
=>
s
(
"i-option"
,
{
key
:
e
.
srfkey
,
key
:
t
.
srfkey
,
attrs
:
{
attrs
:
{
value
:
e
.
srfkey
,
value
:
t
.
srfkey
,
label
:
e
.
srfmajortext
label
:
t
.
srfmajortext
}
}
},
[
e
.
srfmajortext
]))]),
!
this
.
readonly
&&
s
(
"div"
,
{
},
[
t
.
srfmajortext
]))]),
!
this
.
readonly
&&
s
(
"div"
,
{
class
:
this
.
ns
.
e
(
"buns-position"
)
class
:
this
.
ns
.
e
(
"buns-position"
)
},
[
s
(
"div"
,
{
},
[
s
(
"div"
,
{
class
:
this
.
ns
.
e
(
"btns"
)
class
:
this
.
ns
.
e
(
"btns"
)
...
@@ -1043,76 +1043,76 @@ const Te = _({
...
@@ -1043,76 +1043,76 @@ const Te = _({
})
:
null
])])]);
})
:
null
])])]);
}
}
});
});
const
Re
=
_
({
const
Ve
=
M
({
name
:
"MPickerCheckbox"
,
name
:
"MPickerCheckbox"
,
props
:
t
e
(),
props
:
s
e
(),
emits
:
H
(),
emits
:
G
(),
setup
(
s
,
{
setup
(
s
,
{
emit
:
e
emit
:
t
})
{
})
{
const
a
=
B
(
"checkbox"
),
t
=
s
.
controller
,
l
=
b
([]),
n
=
b
([]),
c
=
","
,
g
=
V
({
const
a
=
B
(
"checkbox"
),
e
=
s
.
controller
,
i
=
C
([]),
n
=
C
([]),
c
=
","
,
v
=
j
({
get
()
{
get
()
{
var
u
;
var
u
;
return
((
u
=
s
.
value
)
==
null
?
void
0
:
u
.
split
(
","
))
||
[];
return
((
u
=
s
.
value
)
==
null
?
void
0
:
u
.
split
(
","
))
||
[];
},
},
set
(
u
)
{
set
(
u
)
{
let
m
=
null
;
let
m
=
null
;
const
E
=
[];
const
D
=
[];
l
.
value
.
length
>
0
&&
(
l
.
value
.
forEach
((
P
)
=>
{
i
.
value
.
length
>
0
&&
(
i
.
value
.
forEach
((
P
)
=>
{
u
.
findIndex
((
D
)
=>
Object
.
is
(
P
.
value
,
D
))
!==
-
1
&&
E
.
push
(
P
.
value
);
u
.
findIndex
((
w
)
=>
Object
.
is
(
P
.
value
,
w
))
!==
-
1
&&
D
.
push
(
P
.
value
);
}),
m
=
E
.
join
(
c
)),
e
(
"change"
,
m
);
}),
m
=
D
.
join
(
c
)),
t
(
"change"
,
m
);
}
}
}),
p
=
async
(
u
)
=>
{
}),
p
=
async
(
u
)
=>
{
const
{
const
{
context
:
m
,
context
:
m
,
params
:
E
params
:
D
}
=
t
.
handlePublicParams
(
u
,
t
.
context
,
t
.
params
);
}
=
e
.
handlePublicParams
(
u
,
e
.
context
,
e
.
params
);
if
(
t
.
editorParams
.
codeTag
)
{
if
(
e
.
editorParams
.
codeTag
)
{
let
P
=
[];
let
P
=
[];
const
S
=
t
.
editorParams
.
codeTag
;
const
k
=
e
.
editorParams
.
codeTag
;
return
P
=
await
ibiz
.
codeListService
.
get
(
S
,
m
,
E
),
P
;
return
P
=
await
ibiz
.
codeListService
.
get
(
k
,
m
,
D
),
P
;
}
}
throw
new
he
(
t
.
model
.
source
,
"请配置代码表"
);
throw
new
he
(
e
.
model
.
source
,
"请配置代码表"
);
},
f
=
(
u
)
=>
{
},
h
=
(
u
)
=>
{
g
.
value
=
u
;
v
.
value
=
u
;
},
y
=
V
(()
=>
{
},
g
=
j
(()
=>
{
const
u
=
Array
.
isArray
(
g
.
value
)
?
g
.
value
:
[
g
.
value
];
const
u
=
Array
.
isArray
(
v
.
value
)
?
v
.
value
:
[
v
.
value
];
return
l
.
value
.
filter
((
m
)
=>
u
.
includes
(
m
.
srfkey
)).
map
((
m
)
=>
m
.
srfmajortext
).
join
(
"、"
);
return
i
.
value
.
filter
((
m
)
=>
u
.
includes
(
m
.
srfkey
)).
map
((
m
)
=>
m
.
srfmajortext
).
join
(
"、"
);
}),
i
=
async
(
u
)
=>
{
}),
l
=
async
(
u
)
=>
{
if
(
t
.
model
.
appDataEntity
)
if
(
e
.
model
.
appDataEntity
)
try
{
try
{
const
m
=
await
t
.
getServiceData
(
u
,
s
.
data
);
const
m
=
await
e
.
getServiceData
(
u
,
s
.
data
);
n
.
value
=
[],
m
.
data
.
length
>
0
&&
(
n
.
value
=
m
.
data
.
map
((
E
)
=>
({
n
.
value
=
[],
m
.
data
.
length
>
0
&&
(
n
.
value
=
m
.
data
.
map
((
D
)
=>
({
srfkey
:
E
[
t
.
keyName
],
srfkey
:
D
[
e
.
keyName
],
srfmajortext
:
E
[
t
.
textName
]
srfmajortext
:
D
[
e
.
textName
]
})));
})));
}
catch
(
m
)
{
}
catch
(
m
)
{
console
.
error
(
m
);
console
.
error
(
m
);
}
}
},
v
=
V
(()
=>
{
},
y
=
j
(()
=>
{
const
u
=
t
.
editorParams
.
followitem
;
const
u
=
e
.
editorParams
.
followitem
;
return
u
?
s
.
data
[
u
]
:
""
;
return
u
?
s
.
data
[
u
]
:
""
;
}),
h
=
()
=>
{
}),
f
=
()
=>
{
const
u
=
[];
const
u
=
[];
l
.
value
.
forEach
((
m
)
=>
{
i
.
value
.
forEach
((
m
)
=>
{
n
.
value
.
findIndex
((
P
)
=>
P
.
srfkey
===
m
.
value
)
>
-
1
&&
u
.
push
(
m
.
value
);
n
.
value
.
findIndex
((
P
)
=>
P
.
srfkey
===
m
.
value
)
>
-
1
&&
u
.
push
(
m
.
value
);
}),
f
(
u
);
}),
h
(
u
);
};
};
return
L
(()
=>
v
,
async
(
u
)
=>
{
return
V
(()
=>
y
,
async
(
u
)
=>
{
await
p
(
u
).
then
((
m
)
=>
{
await
p
(
u
).
then
((
m
)
=>
{
l
.
value
=
m
;
i
.
value
=
m
;
}),
await
i
(
""
),
h
();
}),
await
l
(
""
),
f
();
},
{
},
{
immediate
:
!
0
,
immediate
:
!
0
,
deep
:
!
0
deep
:
!
0
}),
{
}),
{
ns
:
a
,
ns
:
a
,
c
:
t
,
c
:
e
,
valueText
:
y
,
valueText
:
g
,
selectArray
:
g
,
selectArray
:
v
,
items
:
l
,
items
:
i
,
onSearch
:
i
,
onSearch
:
l
,
onSelectArrayChange
:
f
onSelectArrayChange
:
h
};
};
},
},
render
(
s
)
{
render
(
s
)
{
...
@@ -1126,18 +1126,18 @@ const Re = _({
...
@@ -1126,18 +1126,18 @@ const Re = _({
on
:
{
on
:
{
"on-change"
:
this
.
onSelectArrayChange
"on-change"
:
this
.
onSelectArrayChange
}
}
},
[
this
.
items
.
map
((
e
,
a
)
=>
s
(
"i-checkbox"
,
{
},
[
this
.
items
.
map
((
t
,
a
)
=>
s
(
"i-checkbox"
,
{
key
:
a
,
key
:
a
,
attrs
:
{
attrs
:
{
label
:
e
.
value
,
label
:
t
.
value
,
disabled
:
this
.
disabled
disabled
:
this
.
disabled
}
}
},
[
s
(
"span"
,
{
},
[
s
(
"span"
,
{
class
:
this
.
ns
.
e
(
"text"
)
class
:
this
.
ns
.
e
(
"text"
)
},
[
e
.
text
])]))])]);
},
[
t
.
text
])]))])]);
}
}
});
});
class
Ue
extends
P
e
{
class
Be
extends
A
e
{
/**
/**
* 设置嵌入视图的神经元
* 设置嵌入视图的神经元
*
*
...
@@ -1145,13 +1145,13 @@ class Ue extends Pe {
...
@@ -1145,13 +1145,13 @@ class Ue extends Pe {
* @date 2022-09-15 10:09:22
* @date 2022-09-15 10:09:22
* @param {ViewNeuron} neuron
* @param {ViewNeuron} neuron
*/
*/
setViewNeuron
(
e
)
{
setViewNeuron
(
t
)
{
this
.
neuron
=
e
,
this
.
neuron
.
evt
.
on
(
"refreshed"
,
(
a
)
=>
{
this
.
neuron
=
t
,
this
.
neuron
.
evt
.
on
(
"refreshed"
,
(
a
)
=>
{
if
(
ibiz
.
log
.
debug
(
"接收到关系界面的刷新变更事件"
,
a
),
this
.
model
.
formItemUpdate
)
{
if
(
ibiz
.
log
.
debug
(
"接收到关系界面的刷新变更事件"
,
a
),
this
.
model
.
formItemUpdate
)
{
const
{
methodName
:
t
,
itemNames
:
l
,
model
:
n
}
=
this
.
model
.
formItemUpdate
;
const
{
methodName
:
e
,
itemNames
:
i
,
model
:
n
}
=
this
.
model
.
formItemUpdate
;
this
.
form
.
updateFormItem
(
this
.
form
.
updateFormItem
(
t
,
e
,
l
,
i
,
n
n
);
);
}
}
...
@@ -1159,11 +1159,11 @@ class Ue extends Pe {
...
@@ -1159,11 +1159,11 @@ class Ue extends Pe {
this
.
neuron
.
call
.
refresh
();
this
.
neuron
.
call
.
refresh
();
}),
this
.
neuron
.
evt
.
on
(
"viewDataChange"
,
async
(
a
)
=>
{
}),
this
.
neuron
.
evt
.
on
(
"viewDataChange"
,
async
(
a
)
=>
{
if
(
!
[
"LOAD"
,
"LOADDRAFT"
].
includes
(
a
.
type
)
&&
(
ibiz
.
log
.
debug
(
"接收到关系界面的数据变更事件"
,
a
.
data
),
this
.
model
.
formItemUpdate
))
{
if
(
!
[
"LOAD"
,
"LOADDRAFT"
].
includes
(
a
.
type
)
&&
(
ibiz
.
log
.
debug
(
"接收到关系界面的数据变更事件"
,
a
.
data
),
this
.
model
.
formItemUpdate
))
{
const
{
methodName
:
t
,
itemNames
:
l
,
model
:
n
}
=
this
.
model
.
formItemUpdate
;
const
{
methodName
:
e
,
itemNames
:
i
,
model
:
n
}
=
this
.
model
.
formItemUpdate
;
try
{
try
{
this
.
processState
.
formItemUpdate
=
!
0
,
await
this
.
form
.
updateFormItem
(
this
.
processState
.
formItemUpdate
=
!
0
,
await
this
.
form
.
updateFormItem
(
t
,
e
,
l
,
i
,
n
n
);
);
}
finally
{
}
finally
{
...
@@ -1181,35 +1181,158 @@ class Ue extends Pe {
...
@@ -1181,35 +1181,158 @@ class Ue extends Pe {
});
});
}
}
}
}
class
L
e
{
class
_e
extends
I
e
{
constructor
()
{
constructor
()
{
C
(
this
,
"component"
,
"IBizFormDataComparison"
);
super
(...
arguments
);
/**
* 自定义行为
*
* @type {string}
* @memberof WfEditViewController
*/
E
(
this
,
"userAction"
);
}
async
onInit
()
{
await
super
.
onInit
(),
this
.
getUserAction
();
}
/**
* 工作流启动
*
* @author lxm
* @date 2022-09-29 20:09:27
* @returns {*} {Promise<void>}
*/
async
wfStart
()
{
var
h
;
await
this
.
save
(),
await
this
.
execUserAction
();
const
a
=
await
this
.
entityService
.
wf
.
getWFVersion
();
if
(
a
.
data
.
length
===
0
)
throw
new
xe
(
"当前工作流版本不存在"
);
const
e
=
a
.
data
[
0
],
i
=
`WFSTART@
${
e
.
wfversion
}
`
,
n
=
Object
.
assign
(
this
.
context
.
clone
(),
{
activeForm
:
e
[
"process-form"
]
}),
c
=
{
processDefinitionKey
:
e
.
definitionkey
},
v
=
(
h
=
this
.
model
.
source
.
findPSAppViewRef
(
i
))
==
null
?
void
0
:
h
.
getRefPSAppView
();
if
(
!
v
)
{
await
this
.
nerve
.
form
.
call
.
wfStart
(
c
),
await
this
.
closeView
();
return
;
}
(
await
ibiz
.
commands
.
execute
(
q
.
TAG
,
v
,
n
,
c
)).
ok
&&
await
this
.
closeView
();
}
/**
* 获取自定义行为
*
* @memberof EditViewController
*/
getUserAction
()
{
const
{
form
:
a
}
=
this
.
model
,
e
=
a
.
source
.
getPSControlHandler
();
if
(
e
)
{
const
i
=
e
.
findPSControlHandlerAction
(
"user"
);
i
&&
i
.
getPSAppDEMethod
()
&&
(
this
.
userAction
=
i
.
getPSAppDEMethod
().
codeName
);
}
}
}
/**
* 执行自定义行为
*
* @memberof EditViewController
*/
async
execUserAction
()
{
if
(
this
.
userAction
)
{
const
a
=
this
.
getData
();
await
this
.
entityService
.
exec
(
this
.
userAction
,
this
.
context
,
a
[
0
]);
}
}
}
function
je
(
s
,
t
)
{
return
we
(
s
,
(
a
,
e
)
=>
new
_e
(
t
,
a
,
e
)
);
}
}
class
Be
extends
Ce
{
const
ze
=
M
({
async
execAction
(
e
,
a
,
t
,
l
)
{
props
:
{
const
n
=
{},
c
=
e
.
getPSAppDataEntity
();
context
:
Object
,
params
:
{
type
:
Object
},
modelPath
:
{
type
:
String
,
required
:
!
0
},
modal
:
{
type
:
Object
},
noLoadDefault
:
{
type
:
Boolean
,
required
:
!
1
}
},
setup
(
s
)
{
const
{
proxy
:
t
}
=
W
();
return
{
c
:
je
(
t
,
s
.
modelPath
)
};
},
render
(
s
)
{
let
t
=
null
;
if
(
this
.
c
.
complete
)
{
const
{
form
:
a
}
=
this
.
c
.
model
;
this
.
c
.
providers
[
a
.
name
]
&&
(
t
=
s
(
this
.
c
.
providers
[
a
.
name
].
component
,
{
props
:
{
modelData
:
a
,
context
:
this
.
c
.
context
,
params
:
this
.
c
.
params
},
on
:
{
neuronInit
:
this
.
c
.
nerve
.
onNeuronInit
(
a
.
name
)
}
}));
}
return
s
(
"view-base"
,
{
attrs
:
{
controller
:
this
.
c
}
},
[
t
]);
}
});
class
Ye
{
constructor
()
{
E
(
this
,
"component"
,
"IBizFormDataComparison"
);
}
}
class
$e
extends
Ce
{
async
execAction
(
t
,
a
,
e
,
i
)
{
const
n
=
{},
c
=
t
.
getPSAppDataEntity
();
if
(
c
)
{
if
(
c
)
{
c
.
isFill
===
!
1
&&
await
c
.
fill
(
!
0
);
c
.
isFill
===
!
1
&&
await
c
.
fill
(
!
0
);
const
g
=
new
G
(
c
);
const
v
=
new
H
(
c
);
await
g
.
init
();
await
v
.
init
();
const
{
resultContext
:
p
}
=
await
this
.
handleParams
(
const
{
resultContext
:
p
}
=
await
this
.
handleParams
(
e
,
a
,
t
,
t
,
l
a
,
),
f
=
ibiz
.
resourcePathUtil
.
calcPaths
(
e
,
i
),
h
=
ibiz
.
resourcePathUtil
.
calcPaths
(
p
,
p
,
g
.
codeName
v
.
codeName
),
y
=
q
(
p
,
f
);
),
g
=
K
(
p
,
h
);
let
i
=
`
${
y
}
/
${
g
.
deNamePlural
}
/importtemplate`
,
v
=
`
${
y
}
/
${
g
.
deNamePlural
}
/importdata2`
;
let
l
=
`
${
g
}
/
${
v
.
deNamePlural
}
/importtemplate`
,
y
=
`
${
g
}
/
${
v
.
deNamePlural
}
/importdata2`
;
const
h
=
e
.
getPSAppDEDataImport
();
const
f
=
t
.
getPSAppDEDataImport
();
h
&&
(
i
+=
`?srfimporttag=
${
h
.
codeName
}
`
,
v
+=
`?srfimporttag=
${
h
.
codeName
}
`
);
f
&&
(
l
+=
`?srfimporttag=
${
f
.
codeName
}
`
,
y
+=
`?srfimporttag=
${
f
.
codeName
}
`
);
const
u
=
ibiz
.
overlay
.
createModal
(
const
u
=
ibiz
.
overlay
.
createModal
(
"CustomDataImport"
,
"CustomDataImport"
,
{
{
templateUrl
:
i
,
templateUrl
:
l
,
importUrl
:
v
,
importUrl
:
y
,
dismiss
:
(
m
)
=>
{
dismiss
:
(
m
)
=>
{
u
.
dismiss
(
m
);
u
.
dismiss
(
m
);
}
}
...
@@ -1226,66 +1349,66 @@ class Be extends Ce {
...
@@ -1226,66 +1349,66 @@ class Be extends Ce {
return
n
;
return
n
;
}
}
}
}
class
_
e
{
class
H
e
{
constructor
()
{
constructor
()
{
C
(
this
,
"handler"
);
E
(
this
,
"handler"
);
}
}
async
getHandler
()
{
async
getHandler
()
{
return
this
.
handler
||
(
this
.
handler
=
new
B
e
()),
this
.
handler
;
return
this
.
handler
||
(
this
.
handler
=
new
$
e
()),
this
.
handler
;
}
}
}
}
class
j
e
{
class
G
e
{
constructor
()
{
constructor
()
{
C
(
this
,
"gridEditor"
,
"YearMonthPicker"
);
E
(
this
,
"gridEditor"
,
"YearMonthPicker"
);
C
(
this
,
"formEditor"
,
"YearMonthPicker"
);
E
(
this
,
"formEditor"
,
"YearMonthPicker"
);
}
}
async
createController
(
e
,
a
)
{
async
createController
(
t
,
a
)
{
const
t
=
new
Ae
(
e
,
a
);
const
e
=
new
Fe
(
t
,
a
);
return
await
t
.
init
(),
t
;
return
await
e
.
init
(),
e
;
}
}
}
}
class
V
e
{
class
W
e
{
constructor
()
{
constructor
()
{
C
(
this
,
"formEditor"
,
"DownLoadSafeFile"
);
E
(
this
,
"formEditor"
,
"DownLoadSafeFile"
);
C
(
this
,
"gridEditor"
,
"DownLoadSafeFile"
);
E
(
this
,
"gridEditor"
,
"DownLoadSafeFile"
);
}
}
async
createController
(
e
,
a
)
{
async
createController
(
t
,
a
)
{
const
t
=
new
Fe
(
e
,
a
);
const
e
=
new
Se
(
t
,
a
);
return
await
t
.
init
(),
t
;
return
await
e
.
init
(),
e
;
}
}
}
}
class
Ye
extends
s
e
{
class
qe
extends
r
e
{
async
execAction
(
e
,
a
,
t
,
l
,
n
)
{
async
execAction
(
t
,
a
,
e
,
i
,
n
)
{
const
c
=
{},
{
frontProcessType
:
g
}
=
e
;
const
c
=
{},
{
frontProcessType
:
v
}
=
t
;
if
(
g
===
"OPENHTMLPAGE"
)
{
if
(
v
===
"OPENHTMLPAGE"
)
{
const
p
=
ne
.
fill
(
e
.
htmlPageUrl
,
a
,
t
==
null
?
void
0
:
t
[
0
]);
const
p
=
ne
.
fill
(
t
.
htmlPageUrl
,
a
,
e
==
null
?
void
0
:
e
[
0
]);
window
.
open
(
p
,
"_blank"
);
window
.
open
(
p
,
"_blank"
);
}
}
if
(
g
===
"DATAIMP"
)
{
if
(
v
===
"DATAIMP"
)
{
const
p
=
e
.
getPSAppDataEntity
();
const
p
=
t
.
getPSAppDataEntity
();
if
(
p
)
{
if
(
p
)
{
p
.
isFill
===
!
1
&&
await
p
.
fill
(
!
0
);
p
.
isFill
===
!
1
&&
await
p
.
fill
(
!
0
);
const
f
=
new
G
(
p
);
const
h
=
new
H
(
p
);
await
f
.
init
();
await
h
.
init
();
const
{
resultContext
:
y
}
=
await
this
.
handleParams
(
const
{
resultContext
:
g
}
=
await
this
.
handleParams
(
e
,
a
,
t
,
t
,
l
a
,
),
i
=
ibiz
.
resourcePathUtil
.
calcPaths
(
e
,
y
,
i
f
.
codeName
),
l
=
ibiz
.
resourcePathUtil
.
calcPaths
(
),
v
=
q
(
y
,
i
);
g
,
let
h
=
`
${
v
}
/
${
f
.
deNamePlural
}
/importtemplate`
,
u
=
`
${
v
}
/
${
f
.
deNamePlural
}
/importdata2`
;
h
.
codeName
const
m
=
e
.
getPSAppDEDataImport
();
),
y
=
K
(
g
,
l
);
m
&&
(
h
+=
`?srfimporttag=
${
m
.
codeName
}
`
,
u
+=
`?srfimporttag=
${
m
.
codeName
}
`
);
let
f
=
`
${
y
}
/
${
h
.
deNamePlural
}
/importtemplate`
,
u
=
`
${
y
}
/
${
h
.
deNamePlural
}
/importdata2`
;
const
E
=
ibiz
.
overlay
.
createModal
(
const
m
=
t
.
getPSAppDEDataImport
();
m
&&
(
f
+=
`?srfimporttag=
${
m
.
codeName
}
`
,
u
+=
`?srfimporttag=
${
m
.
codeName
}
`
);
const
D
=
ibiz
.
overlay
.
createModal
(
"DataImport"
,
"DataImport"
,
{
{
templateUrl
:
h
,
templateUrl
:
f
,
importUrl
:
u
,
importUrl
:
u
,
dismiss
:
(
P
)
=>
{
dismiss
:
(
P
)
=>
{
E
.
dismiss
(
P
);
D
.
dismiss
(
P
);
}
}
},
},
{
{
...
@@ -1293,126 +1416,126 @@ class Ye extends se {
...
@@ -1293,126 +1416,126 @@ class Ye extends se {
placement
:
"center"
placement
:
"center"
}
}
);
);
return
E
.
present
(),
await
E
.
onWillDismiss
(),
{
return
D
.
present
(),
await
D
.
onWillDismiss
(),
{
refresh
:
!
0
refresh
:
!
0
};
};
}
}
}
}
if
([
"TOP"
,
"WIZARD"
].
includes
(
g
))
{
if
([
"TOP"
,
"WIZARD"
].
includes
(
v
))
{
const
p
=
e
.
getFrontPSAppView
();
const
p
=
t
.
getFrontPSAppView
();
if
(
!
p
)
if
(
!
p
)
throw
new
Error
(
"未配置打开视图"
);
throw
new
Error
(
"未配置打开视图"
);
await
p
.
fill
(
!
0
);
await
p
.
fill
(
!
0
);
const
{
resultContext
:
f
,
resultParams
:
y
}
=
await
this
.
handleParams
(
const
{
resultContext
:
h
,
resultParams
:
g
}
=
await
this
.
handleParams
(
e
,
a
,
t
,
t
,
l
a
,
),
i
=
await
ibiz
.
commands
.
execute
(
e
,
re
.
TAG
,
i
),
l
=
await
ibiz
.
commands
.
execute
(
q
.
TAG
,
p
,
p
,
f
,
h
,
y
,
g
,
n
n
);
);
(
i
==
null
?
void
0
:
i
.
ok
)
===
!
1
&&
(
c
.
closeView
=
!
1
,
c
.
refresh
=
!
1
,
c
.
cancel
=
!
0
),
i
!=
null
&&
i
.
ok
&&
i
.
data
&&
(
c
.
data
=
i
.
data
);
(
l
==
null
?
void
0
:
l
.
ok
)
===
!
1
&&
(
c
.
closeView
=
!
1
,
c
.
refresh
=
!
1
,
c
.
cancel
=
!
0
),
l
!=
null
&&
l
.
ok
&&
l
.
data
&&
(
c
.
data
=
l
.
data
);
}
else
if
(
n
)
{
}
else
if
(
n
)
{
const
{
neuron
:
p
}
=
n
,
y
=
p
.
call
.
getFormController
().
call
.
getFormController
(),
{
druipart1
:
i
,
druipart2
:
v
,
druipart3
:
h
}
=
y
.
details
;
const
{
neuron
:
p
}
=
n
,
g
=
p
.
call
.
getFormController
().
call
.
getFormController
(),
{
druipart1
:
l
,
druipart2
:
y
,
druipart3
:
f
}
=
g
.
details
;
[
[
{
{
message
:
"服务履历为空"
,
message
:
"服务履历为空"
,
neuron
:
i
neuron
:
l
},
},
{
{
message
:
"教育经验为空"
,
message
:
"教育经验为空"
,
neuron
:
v
neuron
:
y
},
},
{
{
message
:
"项目经验为空"
,
message
:
"项目经验为空"
,
neuron
:
h
neuron
:
f
}
}
].
some
((
E
)
=>
{
].
some
((
D
)
=>
{
const
P
=
E
.
neuron
.
neuron
.
call
.
getGridController
();
const
P
=
D
.
neuron
.
neuron
.
call
.
getGridController
();
if
(
P
)
{
if
(
P
)
{
const
S
=
P
.
call
.
getGridController
();
const
k
=
P
.
call
.
getGridController
();
if
(
S
&&
S
.
items
&&
S
.
items
.
length
>
0
)
if
(
k
&&
k
.
items
&&
k
.
items
.
length
>
0
)
return
!
1
;
return
!
1
;
}
}
return
ibiz
.
message
.
error
(
`
${
E
.
message
}
`
,
1.5
,
!
0
),
!
0
;
return
ibiz
.
message
.
error
(
`
${
D
.
message
}
`
,
1.5
,
!
0
),
!
0
;
})
||
await
p
.
call
.
wfStart
();
})
||
await
p
.
call
.
wfStart
();
}
}
return
c
;
return
c
;
}
}
}
}
class
z
e
{
class
K
e
{
constructor
()
{
constructor
()
{
C
(
this
,
"handler"
);
E
(
this
,
"handler"
);
}
}
async
getHandler
()
{
async
getHandler
()
{
return
this
.
handler
||
(
this
.
handler
=
new
Y
e
()),
this
.
handler
;
return
this
.
handler
||
(
this
.
handler
=
new
q
e
()),
this
.
handler
;
}
}
}
}
class
$
e
{
class
J
e
{
constructor
()
{
constructor
()
{
C
(
this
,
"component"
,
"FormMDCtrlFormStyle2"
);
E
(
this
,
"component"
,
"FormMDCtrlFormStyle2"
);
}
}
async
createController
(
e
,
a
,
t
)
{
async
createController
(
t
,
a
,
e
)
{
const
l
=
new
le
(
e
,
a
,
t
);
const
i
=
new
le
(
t
,
a
,
e
);
return
await
l
.
init
(),
l
;
return
await
i
.
init
(),
i
;
}
}
}
}
class
G
e
{
class
X
e
{
constructor
()
{
constructor
()
{
C
(
this
,
"formEditor"
,
"AutoSelectAll"
);
E
(
this
,
"formEditor"
,
"AutoSelectAll"
);
C
(
this
,
"gridEditor"
,
"AutoSelectAll"
);
E
(
this
,
"gridEditor"
,
"AutoSelectAll"
);
}
}
async
createController
(
e
,
a
)
{
async
createController
(
t
,
a
)
{
const
t
=
new
oe
(
e
,
a
);
const
e
=
new
oe
(
t
,
a
);
return
await
t
.
init
(),
t
;
return
await
e
.
init
(),
e
;
}
}
}
}
class
H
e
{
class
Z
e
{
constructor
()
{
constructor
()
{
C
(
this
,
"formEditor"
,
"MPickerCheckbox"
);
E
(
this
,
"formEditor"
,
"MPickerCheckbox"
);
C
(
this
,
"gridEditor"
,
"IBizGridPicker"
);
E
(
this
,
"gridEditor"
,
"IBizGridPicker"
);
}
}
async
createController
(
e
,
a
)
{
async
createController
(
t
,
a
)
{
const
t
=
new
oe
(
e
,
a
);
const
e
=
new
oe
(
t
,
a
);
return
await
t
.
init
(),
t
;
return
await
e
.
init
(),
e
;
}
}
}
}
class
qe
extends
s
e
{
class
Qe
extends
r
e
{
async
execAction
(
e
,
a
,
t
,
l
,
n
)
{
async
execAction
(
t
,
a
,
e
,
i
,
n
)
{
const
c
=
{},
{
frontProcessType
:
g
}
=
e
;
const
c
=
{},
{
frontProcessType
:
v
}
=
t
;
if
(
g
===
"OPENHTMLPAGE"
)
{
if
(
v
===
"OPENHTMLPAGE"
)
{
const
p
=
ne
.
fill
(
e
.
htmlPageUrl
,
a
,
t
==
null
?
void
0
:
t
[
0
]);
const
p
=
ne
.
fill
(
t
.
htmlPageUrl
,
a
,
e
==
null
?
void
0
:
e
[
0
]);
window
.
open
(
p
,
"_blank"
);
window
.
open
(
p
,
"_blank"
);
}
}
if
(
g
===
"DATAIMP"
)
{
if
(
v
===
"DATAIMP"
)
{
const
p
=
e
.
getPSAppDataEntity
();
const
p
=
t
.
getPSAppDataEntity
();
if
(
p
)
{
if
(
p
)
{
p
.
isFill
===
!
1
&&
await
p
.
fill
(
!
0
);
p
.
isFill
===
!
1
&&
await
p
.
fill
(
!
0
);
const
f
=
new
G
(
p
);
const
h
=
new
H
(
p
);
await
f
.
init
();
await
h
.
init
();
const
{
resultContext
:
y
}
=
await
this
.
handleParams
(
const
{
resultContext
:
g
}
=
await
this
.
handleParams
(
e
,
a
,
t
,
t
,
l
a
,
),
i
=
ibiz
.
resourcePathUtil
.
calcPaths
(
e
,
y
,
i
f
.
codeName
),
l
=
ibiz
.
resourcePathUtil
.
calcPaths
(
),
v
=
q
(
y
,
i
);
g
,
let
h
=
`
${
v
}
/
${
f
.
deNamePlural
}
/importtemplate`
,
u
=
`
${
v
}
/
${
f
.
deNamePlural
}
/importdata2`
;
h
.
codeName
const
m
=
e
.
getPSAppDEDataImport
();
),
y
=
K
(
g
,
l
);
m
&&
(
h
+=
`?srfimporttag=
${
m
.
codeName
}
`
,
u
+=
`?srfimporttag=
${
m
.
codeName
}
`
);
let
f
=
`
${
y
}
/
${
h
.
deNamePlural
}
/importtemplate`
,
u
=
`
${
y
}
/
${
h
.
deNamePlural
}
/importdata2`
;
const
E
=
ibiz
.
overlay
.
createModal
(
const
m
=
t
.
getPSAppDEDataImport
();
m
&&
(
f
+=
`?srfimporttag=
${
m
.
codeName
}
`
,
u
+=
`?srfimporttag=
${
m
.
codeName
}
`
);
const
D
=
ibiz
.
overlay
.
createModal
(
"DataImport"
,
"DataImport"
,
{
{
templateUrl
:
h
,
templateUrl
:
f
,
importUrl
:
u
,
importUrl
:
u
,
dismiss
:
(
P
)
=>
{
dismiss
:
(
P
)
=>
{
E
.
dismiss
(
P
);
D
.
dismiss
(
P
);
}
}
},
},
{
{
...
@@ -1420,89 +1543,97 @@ class qe extends se {
...
@@ -1420,89 +1543,97 @@ class qe extends se {
placement
:
"center"
placement
:
"center"
}
}
);
);
return
E
.
present
(),
await
E
.
onWillDismiss
(),
{
return
D
.
present
(),
await
D
.
onWillDismiss
(),
{
refresh
:
!
0
refresh
:
!
0
};
};
}
}
}
}
if
([
"TOP"
,
"WIZARD"
].
includes
(
g
))
{
if
([
"TOP"
,
"WIZARD"
].
includes
(
v
))
{
const
p
=
e
.
getFrontPSAppView
();
const
p
=
t
.
getFrontPSAppView
();
if
(
!
p
)
if
(
!
p
)
throw
new
Error
(
"未配置打开视图"
);
throw
new
Error
(
"未配置打开视图"
);
await
p
.
fill
(
!
0
);
await
p
.
fill
(
!
0
);
const
{
resultContext
:
f
,
resultParams
:
y
}
=
await
this
.
handleParams
(
const
{
resultContext
:
h
,
resultParams
:
g
}
=
await
this
.
handleParams
(
e
,
a
,
t
,
t
,
l
a
,
),
i
=
await
ibiz
.
commands
.
execute
(
e
,
re
.
TAG
,
i
),
l
=
await
ibiz
.
commands
.
execute
(
q
.
TAG
,
p
,
p
,
f
,
h
,
y
,
g
,
n
n
);
);
(
i
==
null
?
void
0
:
i
.
ok
)
===
!
1
&&
(
c
.
closeView
=
!
1
,
c
.
refresh
=
!
1
,
c
.
cancel
=
!
0
),
i
!=
null
&&
i
.
ok
&&
i
.
data
&&
(
c
.
data
=
i
.
data
);
(
l
==
null
?
void
0
:
l
.
ok
)
===
!
1
&&
(
c
.
closeView
=
!
1
,
c
.
refresh
=
!
1
,
c
.
cancel
=
!
0
),
l
!=
null
&&
l
.
ok
&&
l
.
data
&&
(
c
.
data
=
l
.
data
);
}
else
if
(
t
&&
t
.
length
>
0
&&
n
)
{
}
else
if
(
e
&&
e
.
length
>
0
&&
n
)
{
const
{
neuron
:
p
}
=
n
,
i
=
await
p
.
call
.
getFormController
().
call
.
getFormController
().
autoSave
();
const
{
neuron
:
p
}
=
n
,
l
=
await
p
.
call
.
getFormController
().
call
.
getFormController
().
autoSave
();
i
&&
i
.
rcryqd
&&
Array
.
isArray
(
i
.
rcryqd
)
&&
i
.
rcryqd
.
length
>
0
?
await
p
.
call
.
wfStart
()
:
ibiz
.
message
.
error
(
"入场信息为空"
);
l
&&
l
.
rcryqd
&&
Array
.
isArray
(
l
.
rcryqd
)
&&
l
.
rcryqd
.
length
>
0
?
await
p
.
call
.
wfStart
()
:
ibiz
.
message
.
error
(
"入场信息为空"
);
}
}
return
c
;
return
c
;
}
}
}
}
class
Ke
{
class
et
{
constructor
()
{
constructor
()
{
C
(
this
,
"handler"
);
E
(
this
,
"handler"
);
}
}
async
getHandler
()
{
async
getHandler
()
{
return
this
.
handler
||
(
this
.
handler
=
new
q
e
()),
this
.
handler
;
return
this
.
handler
||
(
this
.
handler
=
new
Q
e
()),
this
.
handler
;
}
}
}
}
class
Je
{
class
tt
{
constructor
()
{
constructor
()
{
C
(
this
,
"component"
,
"FormDruipart"
);
E
(
this
,
"component"
,
"FormDruipart"
);
}
}
async
createController
(
e
,
a
,
t
)
{
async
createController
(
t
,
a
,
e
)
{
const
l
=
new
Ue
(
e
,
a
,
t
);
const
i
=
new
Be
(
t
,
a
,
e
);
return
await
l
.
init
(),
l
;
return
await
i
.
init
(),
i
;
}
}
}
}
const
nt
=
{
class
at
{
constructor
()
{
E
(
this
,
"component"
,
"WfEditView"
);
}
}
const
pt
=
{
mateUrl
:
import
.
meta
.
url
,
mateUrl
:
import
.
meta
.
url
,
install
(
s
)
{
install
(
s
)
{
ie
.
loadStyle
([
"/style.css"
]),
s
.
component
(
"IBizFormDataComparison"
,
Se
),
s
.
component
(
"CustomDataImport"
,
xe
),
s
.
component
(
"YearMonthPicker"
,
Ne
),
s
.
component
(
"DownLoadSafeFile"
,
Oe
),
s
.
component
(
"FormMDCtrlFormStyle2"
,
Te
),
s
.
component
(
"AutoSelectAll"
,
Me
),
s
.
component
(
"MPickerCheckbox"
,
R
e
),
ibiz
.
register
.
control
.
register
(
ie
.
loadStyle
([
"/style.css"
]),
s
.
component
(
"IBizFormDataComparison"
,
Oe
),
s
.
component
(
"CustomDataImport"
,
Te
),
s
.
component
(
"YearMonthPicker"
,
Me
),
s
.
component
(
"DownLoadSafeFile"
,
Re
),
s
.
component
(
"FormMDCtrlFormStyle2"
,
Ue
),
s
.
component
(
"AutoSelectAll"
,
Le
),
s
.
component
(
"MPickerCheckbox"
,
Ve
),
s
.
component
(
"WfEditView"
,
z
e
),
ibiz
.
register
.
control
.
register
(
"EDITFORM_RENDER_FORM_DATA_COMPARISON"
,
"EDITFORM_RENDER_FORM_DATA_COMPARISON"
,
new
L
e
()
new
Y
e
()
),
ibiz
.
register
.
uiAction
.
register
(
),
ibiz
.
register
.
uiAction
.
register
(
"DEUIACTION_CUSTOM_IMPORT"
,
"DEUIACTION_CUSTOM_IMPORT"
,
new
_
e
()
new
H
e
()
),
ibiz
.
register
.
editor
.
register
(
),
ibiz
.
register
.
editor
.
register
(
"DATEPICKEREX_NOTIME_YEAR_MONTH_PICKER"
,
"DATEPICKEREX_NOTIME_YEAR_MONTH_PICKER"
,
new
j
e
()
new
G
e
()
),
ibiz
.
register
.
editor
.
register
(
),
ibiz
.
register
.
editor
.
register
(
"FILEUPLOADER_ONE_DOWNLOAD_FILE"
,
"FILEUPLOADER_ONE_DOWNLOAD_FILE"
,
new
V
e
()
new
W
e
()
),
ibiz
.
register
.
uiAction
.
register
(
),
ibiz
.
register
.
uiAction
.
register
(
"DEUIACTION_JUDEG_ENABLE_UPDATE"
,
"DEUIACTION_JUDEG_ENABLE_UPDATE"
,
new
z
e
()
new
K
e
()
),
ibiz
.
register
.
formDetail
.
register
(
),
ibiz
.
register
.
formDetail
.
register
(
"FORM_USERCONTROL_MUL_FORM_CARD"
,
"FORM_USERCONTROL_MUL_FORM_CARD"
,
new
$
e
()
new
J
e
()
),
ibiz
.
register
.
editor
.
register
(
),
ibiz
.
register
.
editor
.
register
(
"EDITOR_CUSTOMSTYLE_AUTO_SELECT_ALL"
,
"EDITOR_CUSTOMSTYLE_AUTO_SELECT_ALL"
,
new
G
e
()
new
X
e
()
),
ibiz
.
register
.
editor
.
register
(
),
ibiz
.
register
.
editor
.
register
(
"EDITOR_CUSTOMSTYLE_MULTIPLE_CHECKBOX"
,
"EDITOR_CUSTOMSTYLE_MULTIPLE_CHECKBOX"
,
new
H
e
()
new
Z
e
()
),
ibiz
.
register
.
uiAction
.
register
(
),
ibiz
.
register
.
uiAction
.
register
(
"DEUIACTION_check_rcxx"
,
"DEUIACTION_check_rcxx"
,
new
Ke
()
new
et
()
),
ibiz
.
register
.
formDetail
.
register
(
),
ibiz
.
register
.
formDetail
.
register
(
"FORM_USERCONTROL_DRUIPART_ENABLEINITLOAD"
,
"FORM_USERCONTROL_DRUIPART_ENABLEINITLOAD"
,
new
Je
()
new
tt
()
),
ibiz
.
register
.
view
.
register
(
"VIEW_CUSTOM_CUSTOM_WF"
,
new
at
()
);
);
}
}
};
};
export
{
export
{
n
t
as
default
p
t
as
default
};
};
app_Web/public/plugins/@ibiz-template-plugin/sy-dsf-web@0.0.2/dist/index.legacy.js
浏览文件 @
1cb7980c
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
app_Web/public/plugins/@ibiz-template-plugin/sy-dsf-web@0.0.2/dist/polyfills.legacy.js
浏览文件 @
1cb7980c
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录