Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
0699f4a4
提交
0699f4a4
编写于
6月 17, 2025
作者:
jlj05024111@163.com
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 更新插件包sy-dsf-web
上级
d2748d12
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
1056 行增加
和
822 行删除
+1056
-822
ibiz-template-plugin.es.js
...e-plugin/sy-dsf-web@0.0.3/dist/ibiz-template-plugin.es.js
+1047
-813
index.legacy.js
...biz-template-plugin/sy-dsf-web@0.0.3/dist/index.legacy.js
+1
-1
style.css
...ins/@ibiz-template-plugin/sy-dsf-web@0.0.3/dist/style.css
+1
-1
package.json
...ugins/@ibiz-template-plugin/sy-dsf-web@0.0.3/package.json
+7
-7
未找到文件。
app_Web/public/plugins/@ibiz-template-plugin/sy-dsf-web@0.0.3/dist/ibiz-template-plugin.es.js
浏览文件 @
0699f4a4
var
d
e
=
Object
.
defineProperty
;
var
ue
=
(
s
,
a
,
e
)
=>
a
in
s
?
de
(
s
,
a
,
{
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
,
value
:
e
})
:
s
[
a
]
=
e
;
var
P
=
(
s
,
a
,
e
)
=>
(
ue
(
s
,
typeof
a
!=
"symbol"
?
a
+
""
:
a
,
e
),
e
);
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
G
,
useController
as
ge
,
getDataPickerProps
as
se
,
useViewController
as
w
e
}
from
"@ibiz-template/vue-util"
;
import
{
defineComponent
as
M
,
getCurrentInstance
as
W
,
ref
as
A
,
watch
as
V
,
h
as
r
,
onMounted
as
D
e
,
computed
as
j
}
from
"vue"
;
import
{
createUUID
as
t
e
}
from
"qx-util"
;
import
{
ViewMode
as
ae
,
PluginStaticResource
as
Ce
,
OpenAppViewCommand
as
q
,
UIActionHandler
as
Ee
,
FrontUIActionHandler
as
r
e
}
from
"@ibiz-template/runtime"
;
import
{
EditFormController
as
be
,
FormMDCtrlController
as
Pe
,
FormDRUIPartController
as
Ae
,
EditViewController
as
Fe
,
DatePickerEditorController
as
Ie
,
UploadEditorController
as
Se
,
PickerEditorController
as
o
e
}
from
"@ibiz-template/controller"
;
var
f
e
=
Object
.
defineProperty
;
var
ve
=
(
a
,
e
,
s
)
=>
e
in
a
?
fe
(
a
,
e
,
{
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
,
value
:
s
})
:
a
[
e
]
=
s
;
var
b
=
(
a
,
e
,
s
)
=>
(
ve
(
a
,
typeof
e
!=
"symbol"
?
e
+
""
:
e
,
s
),
s
);
import
{
EditFormModel
as
re
,
FormMDCtrlModel
as
ye
,
DefectModelError
as
ge
,
AppEntityModel
as
J
}
from
"@ibiz-template/model"
;
import
{
useNamespace
as
M
,
useControlController
as
oe
,
usePropsWatch
as
Y
,
getDatePickerProps
as
we
,
getEditorEmits
as
G
,
useController
as
De
,
getDataPickerProps
as
ne
,
useViewController
as
Ce
,
getDropdownProps
as
E
e
}
from
"@ibiz-template/vue-util"
;
import
{
defineComponent
as
k
,
getCurrentInstance
as
q
,
ref
as
P
,
watch
as
L
,
h
as
o
,
onMounted
as
b
e
,
computed
as
j
}
from
"vue"
;
import
{
createUUID
as
s
e
}
from
"qx-util"
;
import
{
ViewMode
as
ae
,
PluginStaticResource
as
Pe
,
OpenAppViewCommand
as
W
,
UIActionHandler
as
xe
,
FrontUIActionHandler
as
i
e
}
from
"@ibiz-template/runtime"
;
import
{
EditFormController
as
le
,
FormMDCtrlController
as
Ae
,
FormDRUIPartController
as
Se
,
EditViewController
as
Ie
,
FormNotifyState
as
Fe
,
DatePickerEditorController
as
Ne
,
UploadEditorController
as
Oe
,
PickerEditorController
as
ce
,
DropDownListEditorController
as
T
e
}
from
"@ibiz-template/controller"
;
import
{
ControlVO
as
ke
,
calcResPath
as
K
}
from
"@ibiz-template/service"
;
import
$
from
"dayjs"
;
import
{
RuntimeError
as
xe
,
StringUtil
as
ne
}
from
"@ibiz-template/core"
;
class
Ne
extends
be
{
import
H
from
"dayjs"
;
import
{
RuntimeError
as
de
,
awaitTimeout
as
Me
,
StringUtil
as
ue
}
from
"@ibiz-template/core"
;
import
{
isNil
as
Re
}
from
"ramda"
;
import
{
cloneDeep
as
Le
}
from
"lodash-es"
;
class
Ue
extends
le
{
constructor
()
{
super
(...
arguments
);
/**
...
...
@@ -20,7 +22,7 @@ class Ne extends be {
* @date 2024-04-26 17:04:49
* @type {IData}
*/
P
(
this
,
"baseResData"
,
[]);
b
(
this
,
"baseResData"
,
[]);
/**
* 对比数据
*
...
...
@@ -28,7 +30,7 @@ class Ne extends be {
* @date 2024-04-26 17:04:49
* @type {IData}
*/
P
(
this
,
"compareResData"
,
[]);
b
(
this
,
"compareResData"
,
[]);
/**
* 表单旧数据
*
...
...
@@ -38,7 +40,7 @@ class Ne extends be {
* @type {IData}
* @memberof FormController
*/
P
(
this
,
"oldData"
,
new
ke
());
b
(
this
,
"oldData"
,
new
ke
());
/**
* version数据
*
...
...
@@ -46,7 +48,7 @@ class Ne extends be {
* @date 2024-04-26 16:04:37
* @type {IData[]}
*/
P
(
this
,
"versionData"
,
[]);
b
(
this
,
"versionData"
,
[]);
/**
* 对比数据
*
...
...
@@ -54,7 +56,7 @@ class Ne extends be {
* @date 2024-04-26 16:04:37
* @type {IData[]}
*/
P
(
this
,
"comparisonArr"
,
{});
b
(
this
,
"comparisonArr"
,
{});
/**
* 基础表格数据
*
...
...
@@ -62,7 +64,7 @@ class Ne extends be {
* @date 2024-05-06 11:05:57
* @type {IData[]}
*/
P
(
this
,
"gridData"
,
[]);
b
(
this
,
"gridData"
,
[]);
/**
* 展示完全数据
*
...
...
@@ -70,7 +72,7 @@ class Ne extends be {
* @date 2024-05-06 11:05:04
* @type {IData[]}
*/
P
(
this
,
"AllGridData"
,
[]);
b
(
this
,
"AllGridData"
,
[]);
/**
* 去除相同数据
*
...
...
@@ -78,7 +80,7 @@ class Ne extends be {
* @date 2024-05-06 11:05:15
* @type {IData[]}
*/
P
(
this
,
"removeSameGridData"
,
[]);
b
(
this
,
"removeSameGridData"
,
[]);
/**
* 关系界面数据
*
...
...
@@ -86,7 +88,7 @@ class Ne extends be {
* @date 2024-04-30 10:04:33
* @type {IData}
*/
P
(
this
,
"AlldruipartData"
,
/* @__PURE__ */
new
Map
());
b
(
this
,
"AlldruipartData"
,
/* @__PURE__ */
new
Map
());
/**
* 关系界面数据长度
*
...
...
@@ -94,7 +96,7 @@ class Ne extends be {
* @date 2024-05-06 11:05:56
* @type {number}
*/
P
(
this
,
"druipartDataSize"
,
0
);
b
(
this
,
"druipartDataSize"
,
0
);
/**
* 关系界面实际数据
*
...
...
@@ -102,7 +104,7 @@ class Ne extends be {
* @date 2024-05-06 11:05:13
* @type {IData}
*/
P
(
this
,
"newDruipartData"
,
{});
b
(
this
,
"newDruipartData"
,
{});
}
/**
* 加载数据
...
...
@@ -112,18 +114,18 @@ class Ne extends be {
*/
async
loadGridData
()
{
await
this
.
startLoading
();
const
e
=
this
.
model
.
source
.
M
.
getPSControlParam
.
ctrlParams
,
{
BASEENTITY
:
t
,
COMPAREENTITY
:
i
}
=
e
,
n
=
await
ibiz
.
entityService
.
getService
(
t
),
c
=
await
ibiz
.
entityService
.
getService
(
i
),
g
=
Object
.
assign
({},
this
.
context
.
clone
(),
{
const
s
=
this
.
model
.
source
.
M
.
getPSControlParam
.
ctrlParams
,
{
BASEENTITY
:
t
,
COMPAREENTITY
:
r
}
=
s
,
n
=
await
ibiz
.
entityService
.
getService
(
t
),
l
=
await
ibiz
.
entityService
.
getService
(
r
),
w
=
Object
.
assign
({},
this
.
context
.
clone
(),
{
[
t
.
toLowerCase
()]:
this
.
params
.
base_version
}),
u
=
Object
.
assign
({},
this
.
context
.
clone
(),
{
[
i
.
toLowerCase
()]:
this
.
params
.
compare_version
}),
m
=
await
n
.
exec
(
"Get"
,
g
,
this
.
params
),
w
=
await
c
.
exec
(
}),
d
=
Object
.
assign
({},
this
.
context
.
clone
(),
{
[
r
.
toLowerCase
()]:
this
.
params
.
compare_version
}),
h
=
await
n
.
exec
(
"Get"
,
w
,
this
.
params
),
y
=
await
l
.
exec
(
"Get"
,
u
,
d
,
this
.
params
);
return
this
.
isLoaded
=
!
0
,
{
baseData
:
m
.
data
.
data
,
compareData
:
w
.
data
.
data
baseData
:
h
.
data
.
data
,
compareData
:
y
.
data
.
data
};
}
/**
...
...
@@ -133,8 +135,8 @@ class Ne extends be {
* @return {*}
* @memberof FormDataComparisonController
*/
isFalseyButNotEmpty
(
e
)
{
return
e
==
null
||
typeof
e
==
"string"
&&
e
===
""
||
Array
.
isArray
(
e
)
&&
e
.
length
===
0
||
typeof
e
==
"object"
&&
Object
.
keys
(
e
).
length
===
0
;
isFalseyButNotEmpty
(
s
)
{
return
s
==
null
||
typeof
s
==
"string"
&&
s
===
""
||
Array
.
isArray
(
s
)
&&
s
.
length
===
0
||
typeof
s
==
"object"
&&
Object
.
keys
(
s
).
length
===
0
;
}
/**
* 比较两个值
...
...
@@ -144,15 +146,15 @@ class Ne extends be {
* @return {*}
* @memberof FormDataComparisonController
*/
compareObjectValues
(
e
,
t
)
{
return
JSON
.
stringify
(
e
)
!==
JSON
.
stringify
(
t
);
compareObjectValues
(
s
,
t
)
{
return
JSON
.
stringify
(
s
)
!==
JSON
.
stringify
(
t
);
}
}
const
Oe
=
M
({
const
Ve
=
k
({
name
:
"IBizFormDataComparison"
,
props
:
{
modelData
:
{
type
:
m
e
,
type
:
r
e
,
required
:
!
0
},
context
:
{
...
...
@@ -168,280 +170,280 @@ const Oe = M({
required
:
!
1
}
},
setup
(
s
)
{
const
a
=
B
(
"form-data-comparison"
),
{
proxy
:
e
}
=
W
(),
t
=
fe
(
e
,
()
=>
{
const
o
=
new
Ne
(
s
.
modelData
,
s
.
context
,
s
.
params
);
return
ve
(
e
,
"enableAutoSave"
,
o
.
setEnableAutoSave
.
bind
(
o
)),
o
;
}),
i
=
A
(
!
0
),
n
=
A
(
!
1
),
c
=
A
({}),
g
=
A
({}),
u
=
A
([]),
m
=
[],
w
=
A
([]),
l
=
A
([]),
v
=
A
([]),
f
=
/* @__PURE__ */
new
Map
(),
C
=
A
(
0
),
h
=
(
o
)
=>
{
const
d
=
[];
if
(
d
.
push
(
o
),
o
&&
o
.
children
)
{
const
b
=
[];
o
.
children
.
forEach
((
S
)
=>
{
const
x
=
h
(
S
);
b
.
push
(...
x
);
}),
d
.
push
(...
b
);
setup
(
a
)
{
const
e
=
M
(
"form-data-comparison"
),
{
proxy
:
s
}
=
q
(),
t
=
oe
(
s
,
()
=>
{
const
i
=
new
Ue
(
a
.
modelData
,
a
.
context
,
a
.
params
);
return
Y
(
s
,
"enableAutoSave"
,
i
.
setEnableAutoSave
.
bind
(
i
)),
i
;
}),
r
=
P
(
!
0
),
n
=
P
(
!
1
),
l
=
P
({}),
w
=
P
({}),
d
=
P
([]),
h
=
[],
y
=
P
([]),
c
=
P
([]),
D
=
P
([]),
g
=
/* @__PURE__ */
new
Map
(),
p
=
P
(
0
),
u
=
(
i
)
=>
{
const
f
=
[];
if
(
f
.
push
(
i
),
i
&&
i
.
children
)
{
const
A
=
[];
i
.
children
.
forEach
((
I
)
=>
{
const
N
=
u
(
I
);
A
.
push
(...
N
);
}),
f
.
push
(...
A
);
}
return
d
;
},
p
=
h
(
s
.
modelData
);
m
.
push
(...
p
);
const
y
=
(
o
)
=>
{
const
d
=
t
.
details
[
o
.
source
.
name
],
b
=
r
(
"not-supported-editor"
,
{
return
f
;
},
m
=
u
(
a
.
modelData
);
h
.
push
(...
m
);
const
v
=
(
i
)
=>
{
const
f
=
t
.
details
[
i
.
source
.
name
],
A
=
o
(
"not-supported-editor"
,
{
attrs
:
{
modelData
:
o
.
editor
modelData
:
i
.
editor
}
});
return
r
(
"div"
,
{
class
:
[
a
.
e
(
"form-grid-item"
),
a
.
is
(
"add"
,
w
.
value
.
includes
(
o
.
source
.
name
)),
a
.
is
(
"update"
,
v
.
value
.
includes
(
o
.
source
.
name
)),
a
.
is
(
"delete"
,
l
.
value
.
includes
(
o
.
source
.
name
))]
},
[
r
(
"div"
,
{
class
:
a
.
em
(
"form-grid-item"
,
"name"
)
},
[
o
.
source
.
caption
]),
r
(
"div"
,
{
class
:
a
.
em
(
"form-grid-item"
,
"left"
)
},
[
d
.
editorProvider
?
r
(
d
.
editorProvider
.
formEditor
,
{
return
o
(
"div"
,
{
class
:
[
e
.
e
(
"form-grid-item"
),
e
.
is
(
"add"
,
y
.
value
.
includes
(
i
.
source
.
name
)),
e
.
is
(
"update"
,
D
.
value
.
includes
(
i
.
source
.
name
)),
e
.
is
(
"delete"
,
c
.
value
.
includes
(
i
.
source
.
name
))]
},
[
o
(
"div"
,
{
class
:
e
.
em
(
"form-grid-item"
,
"name"
)
},
[
i
.
source
.
caption
]),
o
(
"div"
,
{
class
:
e
.
em
(
"form-grid-item"
,
"left"
)
},
[
f
.
editorProvider
?
o
(
f
.
editorProvider
.
formEditor
,
{
props
:
{
value
:
g
.
value
[
o
.
source
.
name
],
data
:
d
.
data
,
controller
:
d
.
editor
,
disabled
:
d
.
disabled
,
value
:
w
.
value
[
i
.
source
.
name
],
data
:
f
.
data
,
controller
:
f
.
editor
,
disabled
:
f
.
disabled
,
readonly
:
!
0
}
})
:
b
]),
r
(
"div"
,
{
class
:
a
.
em
(
"form-grid-item"
,
"right"
)
},
[
d
.
editorProvider
?
r
(
d
.
editorProvider
.
formEditor
,
{
})
:
A
]),
o
(
"div"
,
{
class
:
e
.
em
(
"form-grid-item"
,
"right"
)
},
[
f
.
editorProvider
?
o
(
f
.
editorProvider
.
formEditor
,
{
props
:
{
value
:
c
.
value
[
o
.
source
.
name
],
data
:
d
.
data
,
controller
:
d
.
editor
,
disabled
:
d
.
disabled
,
value
:
l
.
value
[
i
.
source
.
name
],
data
:
f
.
data
,
controller
:
f
.
editor
,
disabled
:
f
.
disabled
,
readonly
:
!
0
}
})
:
b
])]);
},
F
=
(
o
,
d
)
=>
{
f
.
set
(
o
.
source
.
id
,
d
),
d
.
evt
.
on
(
"mounted"
,
()
=>
{
i
.
value
&&
t
.
startLoading
(),
C
.
value
+=
1
,
d
.
call
.
refresh
();
}),
d
.
evt
.
on
(
"refreshed"
,
()
=>
{
C
.
value
-=
1
,
setTimeout
(()
=>
{
i
.
value
&&
t
.
endLoading
();
})
:
A
])]);
},
E
=
(
i
,
f
)
=>
{
g
.
set
(
i
.
source
.
id
,
f
),
f
.
evt
.
on
(
"mounted"
,
()
=>
{
r
.
value
&&
t
.
startLoading
(),
p
.
value
+=
1
,
f
.
call
.
refresh
();
}),
f
.
evt
.
on
(
"refreshed"
,
()
=>
{
p
.
value
-=
1
,
setTimeout
(()
=>
{
r
.
value
&&
t
.
endLoading
();
},
500
);
});
},
I
=
(
o
)
=>
{
const
d
=
m
.
find
((
L
)
=>
L
.
id
===
`
${
o
.
source
.
id
}
_srfcopy`
),
b
=
o
.
embedView
.
source
.
modelPath
,
S
=
d
==
null
?
void
0
:
d
.
embedView
.
source
.
modelPath
,
x
=
t
.
context
.
clone
(),
N
=
{
base_version
:
s
.
params
.
base_version
},
T
=
t
.
context
.
clone
();
Object
.
assign
(
T
,
{
gysrlzy_info
:
s
.
params
.
compare_version
,
compare_version
:
s
.
params
.
compare_version
},
S
=
(
i
)
=>
{
const
f
=
h
.
find
((
_
)
=>
_
.
id
===
`
${
i
.
source
.
id
}
_srfcopy`
),
A
=
i
.
embedView
.
source
.
modelPath
,
I
=
f
==
null
?
void
0
:
f
.
embedView
.
source
.
modelPath
,
N
=
t
.
context
.
clone
(),
O
=
{
base_version
:
a
.
params
.
base_version
},
R
=
t
.
context
.
clone
();
Object
.
assign
(
R
,
{
gysrlzy_info
:
a
.
params
.
compare_version
,
compare_version
:
a
.
params
.
compare_version
});
const
_
=
{
compare_version
:
s
.
params
.
compare_version
},
R
=
c
.
value
[
o
.
source
.
userTag
],
U
=
g
.
value
[
d
==
null
?
void
0
:
d
.
source
.
userTag
];
let
J
=
!
1
,
z
=
!
1
,
X
=
!
1
;
if
(
o
.
source
.
userTag2
)
{
const
L
=
JSON
.
parse
(
o
.
source
.
userTag2
),
{
comparekey
:
Z
,
comparelist
:
c
e
}
=
L
;
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
ee
=
U
.
find
((
Y
)
=>
Q
[
Z
]
===
Y
[
Z
]);
return
ee
?
ce
.
some
((
Y
)
=>
Q
[
Y
]
!==
ee
[
Y
]
?
(
z
=
!
0
,
!
0
)
:
!
1
)
:
(
z
=
!
0
,
!
0
);
const
B
=
{
compare_version
:
a
.
params
.
compare_version
},
U
=
l
.
value
[
i
.
source
.
userTag
],
V
=
w
.
value
[
f
==
null
?
void
0
:
f
.
source
.
userTag
];
let
X
=
!
1
,
z
=
!
1
,
Z
=
!
1
;
if
(
i
.
source
.
userTag2
)
{
const
_
=
JSON
.
parse
(
i
.
source
.
userTag2
),
{
comparekey
:
Q
,
comparelist
:
h
e
}
=
_
;
U
&&
V
&&
Array
.
isArray
(
U
)
&&
Array
.
isArray
(
V
)
&&
(
U
.
length
===
0
&&
V
.
length
!==
0
?
Z
=
!
0
:
U
.
length
!==
0
&&
V
.
length
===
0
?
X
=
!
0
:
U
.
length
!==
0
&&
V
.
length
!==
0
&&
(
U
.
length
!==
V
.
length
?
z
=
!
0
:
U
.
some
((
ee
)
=>
{
const
te
=
V
.
find
((
$
)
=>
ee
[
Q
]
===
$
[
Q
]);
return
te
?
he
.
some
((
$
)
=>
ee
[
$
]
!==
te
[
$
]
?
(
z
=
!
0
,
!
0
)
:
!
1
)
:
(
z
=
!
0
,
!
0
);
})));
}
return
r
(
"div"
,
{
class
:
[
a
.
e
(
"druipart"
),
a
.
is
(
"add"
,
J
),
a
.
is
(
"update"
,
z
),
a
.
is
(
"delete"
,
X
)]
},
[
r
(
"div"
,
{
class
:
a
.
em
(
"druipart"
,
"caption"
)
},
[
o
.
source
.
caption
]),
r
(
"div"
,
{
class
:
a
.
em
(
"druipart"
,
"left"
)
},
[
S
&&
r
(
"ViewShell"
,
{
return
o
(
"div"
,
{
class
:
[
e
.
e
(
"druipart"
),
e
.
is
(
"add"
,
X
),
e
.
is
(
"update"
,
z
),
e
.
is
(
"delete"
,
Z
)]
},
[
o
(
"div"
,
{
class
:
e
.
em
(
"druipart"
,
"caption"
)
},
[
i
.
source
.
caption
]),
o
(
"div"
,
{
class
:
e
.
em
(
"druipart"
,
"left"
)
},
[
I
&&
o
(
"ViewShell"
,
{
attrs
:
{
context
:
T
,
params
:
_
,
context
:
R
,
params
:
B
,
modal
:
{
mode
:
ae
.
EMBED
},
modelPath
:
S
,
modelPath
:
I
,
noLoadDefault
:
!
0
,
name
:
d
==
null
?
void
0
:
d
.
source
.
id
name
:
f
==
null
?
void
0
:
f
.
source
.
id
},
key
:
t
e
(),
key
:
s
e
(),
on
:
{
neuronInit
:
(
L
)
=>
F
(
d
,
L
)
neuronInit
:
(
_
)
=>
E
(
f
,
_
)
}
})]),
r
(
"div"
,
{
class
:
a
.
em
(
"druipart"
,
"right"
)
},
[
b
&&
r
(
"ViewShell"
,
{
})]),
o
(
"div"
,
{
class
:
e
.
em
(
"druipart"
,
"right"
)
},
[
A
&&
o
(
"ViewShell"
,
{
attrs
:
{
context
:
x
,
params
:
N
,
context
:
N
,
params
:
O
,
modal
:
{
mode
:
ae
.
EMBED
},
modelPath
:
b
,
modelPath
:
A
,
noLoadDefault
:
!
0
,
name
:
o
.
source
.
id
name
:
i
.
source
.
id
},
key
:
t
e
(),
key
:
s
e
(),
on
:
{
neuronInit
:
(
L
)
=>
F
(
o
,
L
)
neuronInit
:
(
_
)
=>
E
(
i
,
_
)
}
})])]);
},
D
=
(
o
)
=>
{
const
d
=
{
modelData
:
o
,
controller
:
t
.
details
[
o
.
source
.
name
]
},
b
=
t
.
providers
[
o
.
source
.
name
],
S
=
r
(
b
.
component
,
{
},
C
=
(
i
)
=>
{
const
f
=
{
modelData
:
i
,
controller
:
t
.
details
[
i
.
source
.
name
]
},
A
=
t
.
providers
[
i
.
source
.
name
],
I
=
o
(
A
.
component
,
{
props
:
{
...
d
...
f
},
key
:
o
.
id
}),
x
=
r
(
b
.
component
,
{
key
:
i
.
id
}),
N
=
o
(
A
.
component
,
{
props
:
{
...
d
...
f
},
key
:
`compare_
${
o
.
id
}
`
key
:
`compare_
${
i
.
id
}
`
});
return
r
(
"div"
,
{
class
:
a
.
e
(
"mdctrl"
)
},
[
r
(
"div"
,
{
class
:
a
.
em
(
"mdctrl"
,
"caption"
)
},
[
o
.
source
.
caption
]),
r
(
"div"
,
{
class
:
a
.
em
(
"mdctrl"
,
"left"
)
},
[
S
]),
r
(
"div"
,
{
class
:
a
.
em
(
"mdctrl"
,
"right"
)
},
[
x
])]);
},
E
=
(
o
)
=>
{
i
.
value
=
!
1
;
const
d
=
u
.
value
.
findIndex
((
b
)
=>
b
===
o
.
source
.
name
);
d
>
-
1
?
u
.
value
.
splice
(
d
,
1
)
:
u
.
value
.
push
(
o
.
source
.
name
);
},
k
=
(
o
)
=>
{
if
(
!
o
.
source
.
hidden
)
{
if
(
o
.
source
.
detailType
===
"FORMPAGE"
)
return
r
(
"div"
,
{
class
:
a
.
e
(
"form-page"
)
},
[
o
.
children
.
map
((
d
)
=>
k
(
d
))]);
if
(
o
.
source
.
detailType
===
"FORMITEM"
)
{
const
d
=
w
.
value
.
includes
(
o
.
source
.
name
),
b
=
l
.
value
.
includes
(
o
.
source
.
name
),
S
=
v
.
value
.
includes
(
o
.
source
.
name
);
return
n
.
value
&&
!
d
&&
!
b
&&
!
S
?
null
:
y
(
o
);
return
o
(
"div"
,
{
class
:
e
.
e
(
"mdctrl"
)
},
[
o
(
"div"
,
{
class
:
e
.
em
(
"mdctrl"
,
"caption"
)
},
[
i
.
source
.
caption
]),
o
(
"div"
,
{
class
:
e
.
em
(
"mdctrl"
,
"left"
)
},
[
I
]),
o
(
"div"
,
{
class
:
e
.
em
(
"mdctrl"
,
"right"
)
},
[
N
])]);
},
x
=
(
i
)
=>
{
r
.
value
=
!
1
;
const
f
=
d
.
value
.
findIndex
((
A
)
=>
A
===
i
.
source
.
name
);
f
>
-
1
?
d
.
value
.
splice
(
f
,
1
)
:
d
.
value
.
push
(
i
.
source
.
name
);
},
F
=
(
i
)
=>
{
if
(
!
i
.
source
.
hidden
)
{
if
(
i
.
source
.
detailType
===
"FORMPAGE"
)
return
o
(
"div"
,
{
class
:
e
.
e
(
"form-page"
)
},
[
i
.
children
.
map
((
f
)
=>
F
(
f
))]);
if
(
i
.
source
.
detailType
===
"FORMITEM"
)
{
const
f
=
y
.
value
.
includes
(
i
.
source
.
name
),
A
=
c
.
value
.
includes
(
i
.
source
.
name
),
I
=
D
.
value
.
includes
(
i
.
source
.
name
);
return
n
.
value
&&
!
f
&&
!
A
&&
!
I
?
null
:
v
(
i
);
}
if
(
o
.
source
.
detailType
===
"GROUPPANEL"
)
{
const
d
=
u
.
value
.
includes
(
o
.
source
.
name
);
return
r
(
"div"
,
{
class
:
a
.
b
(
"group"
)
},
[
r
(
"div"
,
{
class
:
[
a
.
be
(
"group"
,
"header"
),
a
.
is
(
"hide-caption"
,
!
o
.
source
.
showCaption
)]
},
[
r
(
"div"
,
{
class
:
a
.
bem
(
"group"
,
"header"
,
"name"
)
},
[
d
?
r
(
"i-icon"
,
{
class
:
a
.
bem
(
"group"
,
"header"
,
"icon"
),
if
(
i
.
source
.
detailType
===
"GROUPPANEL"
)
{
const
f
=
d
.
value
.
includes
(
i
.
source
.
name
);
return
o
(
"div"
,
{
class
:
e
.
b
(
"group"
)
},
[
o
(
"div"
,
{
class
:
[
e
.
be
(
"group"
,
"header"
),
e
.
is
(
"hide-caption"
,
!
i
.
source
.
showCaption
)]
},
[
o
(
"div"
,
{
class
:
e
.
bem
(
"group"
,
"header"
,
"name"
)
},
[
f
?
o
(
"i-icon"
,
{
class
:
e
.
bem
(
"group"
,
"header"
,
"icon"
),
attrs
:
{
type
:
"ios-arrow-forward"
,
title
:
"展开"
},
on
:
{
click
:
()
=>
E
(
o
)
click
:
()
=>
x
(
i
)
}
})
:
r
(
"i-icon"
,
{
class
:
a
.
bem
(
"group"
,
"header"
,
"icon"
),
})
:
o
(
"i-icon"
,
{
class
:
e
.
bem
(
"group"
,
"header"
,
"icon"
),
attrs
:
{
type
:
"ios-arrow-down"
,
title
:
"收缩"
},
on
:
{
click
:
()
=>
E
(
o
)
click
:
()
=>
x
(
i
)
}
}),
r
(
"span"
,
{
class
:
a
.
bem
(
"group"
,
"header"
,
"name-text"
)
},
[
o
.
source
.
caption
||
o
.
source
.
title
])]),
r
(
"div"
,
[
"---"
]),
r
(
"div"
,
[
"---"
])]),
r
(
"div"
,
{
class
:
[
a
.
be
(
"group"
,
"content"
),
a
.
is
(
"collapse"
,
d
)]
},
[
o
.
children
.
map
((
b
)
=>
k
(
b
))])]);
}),
o
(
"span"
,
{
class
:
e
.
bem
(
"group"
,
"header"
,
"name-text"
)
},
[
i
.
source
.
caption
||
i
.
source
.
title
])]),
o
(
"div"
,
[
"---"
]),
o
(
"div"
,
[
"---"
])]),
o
(
"div"
,
{
class
:
[
e
.
be
(
"group"
,
"content"
),
e
.
is
(
"collapse"
,
f
)]
},
[
i
.
children
.
map
((
A
)
=>
F
(
A
))])]);
}
return
o
.
source
.
detailType
===
"DRUIPART"
&&
!
o
.
source
.
name
.
endsWith
(
"_srfcopy"
)
?
I
(
o
)
:
o
.
source
.
detailType
===
"MDCTRL"
?
D
(
o
)
:
null
;
return
i
.
source
.
detailType
===
"DRUIPART"
&&
!
i
.
source
.
name
.
endsWith
(
"_srfcopy"
)
?
S
(
i
)
:
i
.
source
.
detailType
===
"MDCTRL"
?
C
(
i
)
:
null
;
}
},
O
=
(
o
,
d
)
=>
{
const
b
=
[],
S
=
[],
x
=
[];
return
Object
.
keys
(
d
).
forEach
((
N
)
=>
{
const
T
=
o
[
N
],
_
=
d
[
N
];
t
.
isFalseyButNotEmpty
(
T
)
&&
!
t
.
isFalseyButNotEmpty
(
_
)
&&
b
.
push
(
N
),
!
t
.
isFalseyButNotEmpty
(
T
)
&&
!
t
.
isFalseyButNotEmpty
(
_
)
&&
t
.
compareObjectValues
(
T
,
_
)
&&
S
.
push
(
N
);
}),
Object
.
keys
(
o
).
forEach
((
N
)
=>
{
if
(
!
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
N
)
||
t
.
isFalseyButNotEmpty
(
d
[
N
]))
{
const
T
=
o
[
N
];
t
.
isFalseyButNotEmpty
(
T
)
||
x
.
push
(
N
);
},
T
=
(
i
,
f
)
=>
{
const
A
=
[],
I
=
[],
N
=
[];
return
Object
.
keys
(
f
).
forEach
((
O
)
=>
{
const
R
=
i
[
O
],
B
=
f
[
O
];
t
.
isFalseyButNotEmpty
(
R
)
&&
!
t
.
isFalseyButNotEmpty
(
B
)
&&
A
.
push
(
O
),
!
t
.
isFalseyButNotEmpty
(
R
)
&&
!
t
.
isFalseyButNotEmpty
(
B
)
&&
t
.
compareObjectValues
(
R
,
B
)
&&
I
.
push
(
O
);
}),
Object
.
keys
(
i
).
forEach
((
O
)
=>
{
if
(
!
Object
.
prototype
.
hasOwnProperty
.
call
(
f
,
O
)
||
t
.
isFalseyButNotEmpty
(
f
[
O
]))
{
const
R
=
i
[
O
];
t
.
isFalseyButNotEmpty
(
R
)
||
N
.
push
(
O
);
}
}),
{
added
:
b
,
modified
:
S
,
deleted
:
x
added
:
A
,
modified
:
I
,
deleted
:
N
};
};
return
V
(()
=>
s
.
params
,
async
()
=>
{
const
o
=
await
t
.
loadGridData
();
c
.
value
=
o
.
baseData
,
g
.
value
=
o
.
compareData
;
return
L
(()
=>
a
.
params
,
async
()
=>
{
const
i
=
await
t
.
loadGridData
();
l
.
value
=
i
.
baseData
,
w
.
value
=
i
.
compareData
;
const
{
added
:
d
,
modified
:
b
,
deleted
:
S
}
=
O
(
g
.
value
,
c
.
value
);
w
.
value
=
d
,
v
.
value
=
b
,
l
.
value
=
S
;
added
:
f
,
modified
:
A
,
deleted
:
I
}
=
T
(
w
.
value
,
l
.
value
);
y
.
value
=
f
,
D
.
value
=
A
,
c
.
value
=
I
;
},
{
immediate
:
!
0
}),
{
ns
:
a
,
ns
:
e
,
c
:
t
,
switchValue
:
n
,
druipartNum
:
C
,
renderEditor
:
y
,
renderByDetailType
:
k
druipartNum
:
p
,
renderEditor
:
v
,
renderByDetailType
:
F
};
},
render
()
{
return
this
.
c
.
complete
?
r
(
"control-layout"
,
{
return
this
.
c
.
complete
?
o
(
"control-layout"
,
{
attrs
:
{
modelData
:
this
.
c
.
model
}
},
[
r
(
"div"
,
{
},
[
o
(
"div"
,
{
class
:
this
.
ns
.
b
()
},
[
r
(
"div"
,
{
},
[
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"top"
)
},
[
r
(
"div"
,
{
},
[
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"top-hidesame-content"
)
},
[
r
(
"div"
,
{
},
[
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"top-hidesame-content-left"
)
},
[
"隐藏相同项 "
,
r
(
"i-switch"
,
{
},
[
"隐藏相同项 "
,
o
(
"i-switch"
,
{
model
:
{
value
:
this
.
switchValue
,
callback
:
(
s
)
=>
{
this
.
switchValue
=
s
;
callback
:
(
a
)
=>
{
this
.
switchValue
=
a
;
}
}
})]),
r
(
"div"
,
{
})]),
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"top-hidesame-content-right"
)
},
[
r
(
"div"
,
{
},
[
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"top-hidesame-content-right-item"
)
},
[
"新增"
,
r
(
"div"
,
{
},
[
"新增"
,
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"top-hidesame-content-right-item-add"
)
})]),
r
(
"div"
,
{
})]),
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"top-hidesame-content-right-item"
)
},
[
"修改"
,
r
(
"div"
,
{
},
[
"修改"
,
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"top-hidesame-content-right-item-change"
)
})]),
r
(
"div"
,
{
})]),
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"top-hidesame-content-right-item"
)
},
[
"删除"
,
r
(
"div"
,
{
},
[
"删除"
,
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"top-hidesame-content-right-item-delete"
)
})])])]),
r
(
"div"
,
{
})])])]),
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"top-content"
)
},
[
r
(
"div"
,
{
},
[
o
(
"div"
,
{
class
:
this
.
ns
.
em
(
"top-content"
,
"attr"
)
},
[
"信息项"
]),
r
(
"div"
,
{
},
[
"信息项"
]),
o
(
"div"
,
{
class
:
[
this
.
ns
.
em
(
"top-content"
,
"left"
)]
},
[
"更新前内容"
]),
r
(
"div"
,
{
},
[
"更新前内容"
]),
o
(
"div"
,
{
class
:
[
this
.
ns
.
em
(
"top-content"
,
"right"
)]
},
[
"更新后内容"
])])]),
r
(
"div"
,
{
},
[
"更新后内容"
])])]),
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"content"
)
},
[
this
.
modelData
.
children
.
map
((
s
)
=>
this
.
renderByDetailType
(
s
))])])])
:
null
;
},
[
this
.
modelData
.
children
.
map
((
a
)
=>
this
.
renderByDetailType
(
a
))])])])
:
null
;
}
});
const
Te
=
M
({
const
_e
=
k
({
name
:
"CustomDataImport"
,
props
:
{
templateUrl
:
{
...
...
@@ -456,87 +458,87 @@ const Te = M({
type
:
Function
}
},
setup
(
s
,
{
emit
:
a
setup
(
a
,
{
emit
:
e
})
{
const
e
=
B
(
"data-import"
),
t
=
A
(),
i
=
A
({
const
s
=
M
(
"data-import"
),
t
=
P
(),
r
=
P
({
state
:
"ready"
,
message
:
""
,
rowError
:
[]
}),
n
=
A
(
""
),
c
=
async
(
l
)
=>
{
const
v
=
new
FormData
(),
f
=
$
(
n
.
value
).
format
(
"YYYY-MM"
);
v
.
append
(
"file"
,
l
),
v
.
append
(
"ny"
,
f
);
}),
n
=
P
(
""
),
l
=
async
(
c
)
=>
{
const
D
=
new
FormData
(),
g
=
H
(
n
.
value
).
format
(
"YYYY-MM"
);
D
.
append
(
"file"
,
c
),
D
.
append
(
"ny"
,
g
);
try
{
const
C
=
await
ibiz
.
net
.
request
(
s
.
importUrl
,
{
const
p
=
await
ibiz
.
net
.
request
(
a
.
importUrl
,
{
method
:
"post"
,
data
:
v
,
data
:
D
,
headers
:
{
"Content-Type"
:
"multipart/form-data"
}
});
i
.
value
.
state
=
"success"
,
i
.
value
.
message
=
"导入成功"
;
r
.
value
.
state
=
"success"
,
r
.
value
.
message
=
"导入成功"
;
const
{
errorinfo
:
h
,
success
:
p
,
total
:
y
}
=
C
.
data
,
F
=
y
?
Number
(
y
)
:
0
,
I
=
p
?
Number
(
p
)
:
0
,
D
=
y
-
p
;
i
.
value
.
message
=
`共计导入数据
${
F
}
条,错误[
${
D
}
],成功[
${
I
}
]`
,
h
&&
Object
.
keys
(
h
).
length
>
0
&&
(
i
.
value
.
rowError
=
[],
Object
.
keys
(
h
).
forEach
((
E
)
=>
{
i
.
value
.
rowError
.
push
({
index
:
Number
(
E
)
+
1
,
info
:
h
[
E
].
errorInfo
errorinfo
:
u
,
success
:
m
,
total
:
v
}
=
p
.
data
,
E
=
v
?
Number
(
v
)
:
0
,
S
=
m
?
Number
(
m
)
:
0
,
C
=
v
-
m
;
r
.
value
.
message
=
`共计导入数据
${
E
}
条,错误[
${
C
}
],成功[
${
S
}
]`
,
u
&&
Object
.
keys
(
u
).
length
>
0
&&
(
r
.
value
.
rowError
=
[],
Object
.
keys
(
u
).
forEach
((
x
)
=>
{
r
.
value
.
rowError
.
push
({
index
:
Number
(
x
)
+
1
,
info
:
u
[
x
].
errorInfo
});
}));
}
catch
(
C
)
{
i
.
value
.
state
=
"fail"
,
i
.
value
.
message
=
`导入失败!
${
C
.
message
}
`
;
}
catch
(
p
)
{
r
.
value
.
state
=
"fail"
,
r
.
value
.
message
=
`导入失败!
${
p
.
message
}
`
;
}
},
g
=
(
l
)
=>
{
const
v
=
l
.
target
;
if
(
!
v
.
files
)
},
w
=
(
c
)
=>
{
const
D
=
c
.
target
;
if
(
!
D
.
files
)
return
;
const
f
=
v
.
files
[
0
];
v
.
value
=
null
,
c
(
f
);
},
u
=
async
()
=>
{
var
v
;
const
l
=
await
ibiz
.
net
.
request
(
s
.
templateUrl
,
{
const
g
=
D
.
files
[
0
];
D
.
value
=
null
,
l
(
g
);
},
d
=
async
()
=>
{
var
D
;
const
c
=
await
ibiz
.
net
.
request
(
a
.
templateUrl
,
{
responseType
:
"blob"
});
if
(
l
.
status
===
200
)
{
let
f
=
((
v
=
l
.
headers
[
"content-disposition"
].
split
(
";"
).
find
((
p
)
=>
p
.
indexOf
(
"filename="
)
!==
-
1
))
==
null
?
void
0
:
v
.
slice
(
9
))
||
""
;
f
=
decodeURIComponent
(
f
);
const
C
=
new
Blob
([
l
.
data
],
{
if
(
c
.
status
===
200
)
{
let
g
=
((
D
=
c
.
headers
[
"content-disposition"
].
split
(
";"
).
find
((
m
)
=>
m
.
indexOf
(
"filename="
)
!==
-
1
))
==
null
?
void
0
:
D
.
slice
(
9
))
||
""
;
g
=
decodeURIComponent
(
g
);
const
p
=
new
Blob
([
c
.
data
],
{
type
:
"application/vnd.ms-excel"
}),
h
=
document
.
createElement
(
"a"
);
h
.
download
=
f
,
h
.
style
.
display
=
"none"
,
h
.
href
=
URL
.
createObjectURL
(
C
),
document
.
body
.
appendChild
(
h
),
h
.
click
(),
URL
.
revokeObjectURL
(
h
.
href
),
document
.
body
.
removeChild
(
h
);
}),
u
=
document
.
createElement
(
"a"
);
u
.
download
=
g
,
u
.
style
.
display
=
"none"
,
u
.
href
=
URL
.
createObjectURL
(
p
),
document
.
body
.
appendChild
(
u
),
u
.
click
(),
URL
.
revokeObjectURL
(
u
.
href
),
document
.
body
.
removeChild
(
u
);
}
},
m
=
()
=>
{
},
h
=
()
=>
{
t
.
value
.
click
();
},
w
=
()
=>
{
var
l
;
a
(
"close"
,
{
},
y
=
()
=>
{
var
c
;
e
(
"close"
,
{
ok
:
!
1
,
data
:
{}
}),
(
l
=
s
.
dismiss
)
==
null
||
l
.
call
(
s
,
{
}),
(
c
=
a
.
dismiss
)
==
null
||
c
.
call
(
a
,
{
ok
:
!
1
,
data
:
{}
});
};
return
D
e
(()
=>
{
n
.
value
=
$
().
format
(
"YYYY年MM月"
);
return
b
e
(()
=>
{
n
.
value
=
H
().
format
(
"YYYY年MM月"
);
}),
{
ns
:
e
,
ns
:
s
,
curDate
:
n
,
onLinkClick
:
u
,
selectFile
:
m
,
onCancelButtonClick
:
w
,
onFileChange
:
g
,
onLinkClick
:
d
,
selectFile
:
h
,
onCancelButtonClick
:
y
,
onFileChange
:
w
,
inputUpLoad
:
t
,
message
:
i
message
:
r
};
},
render
()
{
return
r
(
"div"
,
{
return
o
(
"div"
,
{
class
:
[
this
.
ns
.
b
(),
this
.
ns
.
is
(
"custom"
,
!
0
)]
},
[
r
(
"input"
,
{
},
[
o
(
"input"
,
{
ref
:
"inputUpLoad"
,
attrs
:
{
type
:
"file"
,
...
...
@@ -546,11 +548,11 @@ const Te = M({
on
:
{
change
:
this
.
onFileChange
}
}),
r
(
"div"
,
{
}),
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"caption"
)
},
[
"导入数据"
]),
r
(
"div"
,
{
},
[
"导入数据"
]),
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"date"
)
},
[
r
(
"span"
,
[
"导入数据所属月份"
]),
r
(
"i-datePicker"
,
{
},
[
o
(
"span"
,
[
"导入数据所属月份"
]),
o
(
"i-datePicker"
,
{
attrs
:
{
format
:
"yyyy年MM月"
,
type
:
"month"
,
...
...
@@ -558,70 +560,70 @@ const Te = M({
},
model
:
{
value
:
this
.
curDate
,
callback
:
(
s
)
=>
{
this
.
curDate
=
s
;
callback
:
(
a
)
=>
{
this
.
curDate
=
a
;
}
}
})]),
this
.
message
.
state
===
"ready"
?
r
(
"div"
,
{
})]),
this
.
message
.
state
===
"ready"
?
o
(
"div"
,
{
class
:
this
.
ns
.
b
(
"upload"
),
on
:
{
click
:
this
.
selectFile
}
},
[
r
(
"img"
,
{
},
[
o
(
"img"
,
{
class
:
this
.
ns
.
be
(
"upload"
,
"img"
),
attrs
:
{
src
:
"./assets/img/icon-import.svg"
}
}),
r
(
"span"
,
{
}),
o
(
"span"
,
{
class
:
this
.
ns
.
be
(
"upload"
,
"text"
)
},
[
"单击此区域进行上传"
])])
:
r
(
"div"
,
{
},
[
"单击此区域进行上传"
])])
:
o
(
"div"
,
{
class
:
this
.
ns
.
b
(
"message"
)
},
[
r
(
"div"
,
{
},
[
o
(
"div"
,
{
class
:
this
.
ns
.
be
(
"message"
,
"title"
)
},
[
"导入结果"
]),
r
(
"div"
,
{
},
[
"导入结果"
]),
o
(
"div"
,
{
class
:
this
.
ns
.
be
(
"message"
,
"content"
)
},
[
this
.
message
.
message
]),
this
.
message
.
rowError
.
length
>
0
&&
[
r
(
"div"
,
{
},
[
this
.
message
.
message
]),
this
.
message
.
rowError
.
length
>
0
&&
[
o
(
"div"
,
{
class
:
this
.
ns
.
be
(
"message"
,
"title"
)
},
[
"错误信息"
]),
r
(
"div"
,
{
},
[
"错误信息"
]),
o
(
"div"
,
{
class
:
this
.
ns
.
be
(
"message"
,
"content"
)
},
[
this
.
message
.
rowError
.
map
((
s
)
=>
r
(
"div"
,
[
`第
${
s
.
index
}
行:
${
s
.
info
}
`
]))])]]),
r
(
"div"
,
{
},
[
this
.
message
.
rowError
.
map
((
a
)
=>
o
(
"div"
,
[
`第
${
a
.
index
}
行:
${
a
.
info
}
`
]))])]]),
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"template-container"
)
},
[
r
(
"div"
,
{
},
[
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"template-description"
)
},
[
"下载导入模版,并按要求填写:"
]),
r
(
"div"
,
{
},
[
"下载导入模版,并按要求填写:"
]),
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"template-link"
),
on
:
{
click
:
this
.
onLinkClick
}
},
[
r
(
"i-icon"
,
{
},
[
o
(
"i-icon"
,
{
attrs
:
{
type
:
"ios-link"
}
}),
"数据导入模板文件"
])]),
r
(
"div"
,
{
}),
"数据导入模板文件"
])]),
o
(
"div"
,
{
class
:
this
.
ns
.
e
(
"button-bar"
)
},
[
this
.
message
.
state
!==
"ready"
&&
r
(
"i-button"
,
{
},
[
this
.
message
.
state
!==
"ready"
&&
o
(
"i-button"
,
{
on
:
{
click
:
this
.
selectFile
}
},
[
"重新上传"
])])]);
}
});
const
Me
=
M
({
const
je
=
k
({
name
:
"YearMonthPicker"
,
props
:
y
e
(),
props
:
w
e
(),
emits
:
G
(),
setup
(
s
,
{
emit
:
a
setup
(
a
,
{
emit
:
e
})
{
const
e
=
B
(
"date-picker"
),
t
=
s
.
controller
,
i
=
t
.
model
,
n
=
A
(
"date"
),
c
=
A
(
"yyyy-MM-dd"
),
g
=
A
(
!
1
);
switch
(
i
.
editorType
)
{
const
s
=
M
(
"date-picker"
),
t
=
a
.
controller
,
r
=
t
.
model
,
n
=
P
(
"date"
),
l
=
P
(
"yyyy-MM-dd"
),
w
=
P
(
!
1
);
switch
(
r
.
editorType
)
{
case
"DATEPICKEREX"
:
case
"DATEPICKEREX_NOTIME"
:
n
.
value
=
"date"
;
break
;
case
"DATEPICKEREX_NODAY"
:
case
"DATEPICKEREX_NODAY_NOSECOND"
:
g
.
value
=
!
0
,
n
.
value
=
"time"
;
w
.
value
=
!
0
,
n
.
value
=
"time"
;
break
;
case
"DATEPICKEREX_HOUR"
:
case
"DATEPICKEREX_MINUTE"
:
...
...
@@ -631,47 +633,47 @@ const Me = M({
default
:
n
.
value
=
"datetime"
;
}
const
u
=
t
.
valueFormat
;
if
(
u
)
{
u
===
"YYYY-MM"
?
n
.
value
=
"month"
:
u
===
"YYYY"
&&
(
n
.
value
=
"year"
);
const
f
=
u
.
replace
(
"YYYY"
,
"yyyy"
).
replace
(
"DD"
,
"dd"
);
c
.
value
=
f
;
const
d
=
t
.
valueFormat
;
if
(
d
)
{
d
===
"YYYY-MM"
?
n
.
value
=
"month"
:
d
===
"YYYY"
&&
(
n
.
value
=
"year"
);
const
g
=
d
.
replace
(
"YYYY"
,
"yyyy"
).
replace
(
"DD"
,
"dd"
);
l
.
value
=
g
;
}
i
.
editorParams
.
formatText
&&
(
c
.
value
=
i
.
editorParams
.
formatText
.
replace
(
"YYYY"
,
"yyyy"
).
replace
(
"DD"
,
"dd"
));
const
m
=
A
();
V
(()
=>
s
.
value
,
(
f
,
C
)
=>
{
f
&&
f
!==
C
&&
(
m
.
value
=
$
(
f
).
format
(
u
));
r
.
editorParams
.
formatText
&&
(
l
.
value
=
r
.
editorParams
.
formatText
.
replace
(
"YYYY"
,
"yyyy"
).
replace
(
"DD"
,
"dd"
));
const
h
=
P
();
L
(()
=>
a
.
value
,
(
g
,
p
)
=>
{
g
&&
g
!==
p
&&
(
h
.
value
=
H
(
g
).
format
(
d
));
},
{
immediate
:
!
0
});
const
w
=
(
f
,
C
)
=>
{
if
(
f
)
{
const
h
=
$
(
f
.
replace
(
/
[
年月
]
/g
,
"-"
)).
format
(
u
);
a
(
"change"
,
h
);
const
y
=
(
g
,
p
)
=>
{
if
(
g
)
{
const
u
=
H
(
g
.
replace
(
/
[
年月
]
/g
,
"-"
)).
format
(
d
);
e
(
"change"
,
u
);
}
else
a
(
"change"
,
f
);
},
l
=
(
f
)
=>
{
a
(
"operate"
,
f
);
},
v
=
A
();
return
s
.
autoFocus
&&
V
(
v
,
(
f
)
=>
{
f
&&
f
.
$el
.
getElementsByTagName
(
"input"
)[
0
].
click
();
e
(
"change"
,
g
);
},
c
=
(
g
)
=>
{
e
(
"operate"
,
g
);
},
D
=
P
();
return
a
.
autoFocus
&&
L
(
D
,
(
g
)
=>
{
g
&&
g
.
$el
.
getElementsByTagName
(
"input"
)[
0
].
click
();
}),
{
ns
:
e
,
ns
:
s
,
c
:
t
,
editorModel
:
i
,
editorModel
:
r
,
type
:
n
,
format
:
c
,
formatValue
:
m
,
handleChange
:
w
,
onOpenChange
:
l
,
inputRef
:
v
,
isTimePicker
:
g
format
:
l
,
formatValue
:
h
,
handleChange
:
y
,
onOpenChange
:
c
,
inputRef
:
D
,
isTimePicker
:
w
};
},
render
(
s
)
{
return
s
(
"div"
,
{
render
(
a
)
{
return
a
(
"div"
,
{
class
:
[
this
.
ns
.
b
(),
this
.
disabled
?
this
.
ns
.
m
(
"disabled"
)
:
""
,
this
.
readonly
?
this
.
ns
.
m
(
"readonly"
)
:
""
]
},
[[
this
.
readonly
&&
this
.
formatValue
,
!
this
.
readonly
&&
this
.
isTimePicker
&&
s
(
"ITimePicker"
,
{
},
[[
this
.
readonly
&&
this
.
formatValue
,
!
this
.
readonly
&&
this
.
isTimePicker
&&
a
(
"ITimePicker"
,
{
ref
:
"inputRef"
,
props
:
{
...
this
.
c
.
customProps
,
...
...
@@ -686,7 +688,7 @@ const Me = M({
"on-change"
:
this
.
handleChange
,
"on-open-change"
:
this
.
onOpenChange
}
}),
!
this
.
readonly
&&
!
this
.
isTimePicker
&&
s
(
"ICalendarPicker"
,
{
}),
!
this
.
readonly
&&
!
this
.
isTimePicker
&&
a
(
"ICalendarPicker"
,
{
ref
:
"inputRef"
,
props
:
{
...
this
.
c
.
customProps
,
...
...
@@ -704,20 +706,20 @@ const Me = M({
})]]);
}
});
const
ie
=
new
Ce
(
import
.
meta
.
url
),
Re
=
M
({
const
me
=
new
Pe
(
import
.
meta
.
url
),
Be
=
k
({
name
:
"DownLoadSafeFile"
,
props
:
{},
setup
()
{
const
s
=
B
(
"download-safe-file"
),
a
=
i
e
.
dir
(
"/assets/doc/safe-file.doc"
);
const
a
=
M
(
"download-safe-file"
),
e
=
m
e
.
dir
(
"/assets/doc/safe-file.doc"
);
return
{
ns
:
s
,
url
:
a
ns
:
a
,
url
:
e
};
},
render
()
{
return
r
(
"div"
,
{
return
o
(
"div"
,
{
class
:
this
.
ns
.
b
()
},
[
r
(
"a"
,
{
},
[
o
(
"a"
,
{
attrs
:
{
download
:
"网络信息安全承诺书.doc"
,
href
:
this
.
url
...
...
@@ -725,7 +727,7 @@ const ie = new Ce(import.meta.url), Re = M({
},
[
"网络信息安全承诺书.doc"
])]);
}
});
class
le
extends
P
e
{
class
pe
extends
A
e
{
constructor
()
{
super
(...
arguments
);
/**
...
...
@@ -734,7 +736,7 @@ class le extends Pe {
* @type {number}
* @memberof FormMDCtrlFormStyle2Controller
*/
P
(
this
,
"active"
,
0
);
b
(
this
,
"active"
,
0
);
}
/**
* 计算表单更新项信息
...
...
@@ -743,39 +745,39 @@ class le extends Pe {
* @return {*}
* @memberof FormMDCtrlFormStyle2Controller
*/
calcFormUpdateItem
(
e
)
{
var
t
,
i
;
calcFormUpdateItem
(
s
)
{
var
t
,
r
;
return
{
methodName
:
((
t
=
e
.
getPSAppDEMethod
())
==
null
?
void
0
:
t
.
codeName
)
||
""
,
itemNames
:
(
i
=
e
.
getPSDEFIUpdateDetails
())
==
null
?
void
0
:
i
.
map
((
n
)
=>
n
.
name
),
methodName
:
((
t
=
s
.
getPSAppDEMethod
())
==
null
?
void
0
:
t
.
codeName
)
||
""
,
itemNames
:
(
r
=
s
.
getPSDEFIUpdateDetails
())
==
null
?
void
0
:
r
.
map
((
n
)
=>
n
.
name
),
model
:
{
customCode
:
e
.
customCode
,
scriptCode
:
e
.
scriptCode
customCode
:
s
.
customCode
,
scriptCode
:
s
.
scriptCode
}
};
}
connect
(
e
,
t
)
{
this
.
formNeurons
.
get
(
e
)
||
(
this
.
formNeurons
.
set
(
e
,
t
),
t
.
evt
.
on
(
"mounted"
,
()
=>
{
connect
(
s
,
t
)
{
this
.
formNeurons
.
get
(
s
)
||
(
this
.
formNeurons
.
set
(
s
,
t
),
t
.
evt
.
on
(
"mounted"
,
()
=>
{
t
.
call
.
load
();
}),
t
.
evt
.
on
(
"destroyed"
,
()
=>
{
this
.
formNeurons
.
delete
(
e
);
}),
t
.
evt
.
on
(
"valueChange"
,
(
i
)
=>
{
if
(
i
)
{
const
n
=
this
.
contentCtrlData
.
find
((
c
)
=>
c
.
srfkey
===
i
.
srfkey
);
n
&&
Object
.
assign
(
n
,
i
),
this
.
force
();
this
.
formNeurons
.
delete
(
s
);
}),
t
.
evt
.
on
(
"valueChange"
,
(
r
)
=>
{
if
(
r
)
{
const
n
=
this
.
contentCtrlData
.
find
((
l
)
=>
l
.
srfkey
===
r
.
srfkey
);
n
&&
Object
.
assign
(
n
,
r
),
this
.
force
();
}
}),
t
.
evt
.
on
(
"afterSave"
,
async
()
=>
{
const
i
=
this
.
model
.
source
.
M
.
getPSAppDEField
;
i
&&
await
this
.
form
.
setDataValue
(
i
.
codeName
.
toLowerCase
(),
[
const
r
=
this
.
model
.
source
.
M
.
getPSAppDEField
;
r
&&
await
this
.
form
.
setDataValue
(
r
.
codeName
.
toLowerCase
(),
[
...
this
.
contentCtrlData
]);
const
n
=
this
.
model
.
source
.
getPSDEFormItemUpdate
();
if
(
n
)
{
const
{
methodName
:
c
,
itemNames
:
g
,
model
:
u
}
=
this
.
calcFormUpdateItem
(
n
);
const
{
methodName
:
l
,
itemNames
:
w
,
model
:
d
}
=
this
.
calcFormUpdateItem
(
n
);
await
this
.
form
.
updateFormItem
(
c
,
g
,
u
l
,
w
,
d
);
}
}));
...
...
@@ -787,23 +789,23 @@ class le extends Pe {
* @memberof FormMDCtrlFormStyle2Controller
*/
async
validate
()
{
const
e
=
[];
this
.
formNeurons
.
forEach
((
n
,
c
)
=>
{
const
g
=
n
.
call
.
getFormController
();
e
.
push
({
key
:
c
,
controller
:
g
});
const
s
=
[];
this
.
formNeurons
.
forEach
((
n
,
l
)
=>
{
const
w
=
n
.
call
.
getFormController
();
s
.
push
({
key
:
l
,
controller
:
w
});
});
let
t
=
""
;
const
i
=
await
Promise
.
all
(
e
.
map
(
async
(
n
)
=>
{
const
c
=
await
n
.
controller
.
validate
();
return
!
t
&&
!
c
&&
(
t
=
n
.
key
),
c
;
const
r
=
await
Promise
.
all
(
s
.
map
(
async
(
n
)
=>
{
const
l
=
await
n
.
controller
.
validate
();
return
!
t
&&
!
l
&&
(
t
=
n
.
key
),
l
;
})
);
if
(
t
)
{
const
n
=
this
.
contentCtrlData
.
findIndex
((
c
)
=>
c
.
srfkey
===
t
);
const
n
=
this
.
contentCtrlData
.
findIndex
((
l
)
=>
l
.
srfkey
===
t
);
n
>
-
1
&&
(
this
.
active
=
n
);
}
return
i
.
findIndex
((
n
)
=>
!
n
)
===
-
1
;
return
r
.
findIndex
((
n
)
=>
!
n
)
===
-
1
;
}
/**
* 静默校验
...
...
@@ -812,248 +814,248 @@ class le extends Pe {
* @memberof FormMDCtrlFormStyle2Controller
*/
async
silentValidate
()
{
const
e
=
[];
this
.
formNeurons
.
forEach
((
n
,
c
)
=>
{
const
g
=
n
.
call
.
getFormController
();
e
.
push
({
key
:
c
,
controller
:
g
});
const
s
=
[];
this
.
formNeurons
.
forEach
((
n
,
l
)
=>
{
const
w
=
n
.
call
.
getFormController
();
s
.
push
({
key
:
l
,
controller
:
w
});
});
let
t
=
""
;
const
i
=
await
Promise
.
all
(
e
.
map
(
async
(
n
)
=>
{
const
c
=
await
n
.
controller
.
silentValidate
();
return
!
t
&&
!
c
&&
(
t
=
n
.
key
),
c
;
const
r
=
await
Promise
.
all
(
s
.
map
(
async
(
n
)
=>
{
const
l
=
await
n
.
controller
.
silentValidate
();
return
!
t
&&
!
l
&&
(
t
=
n
.
key
),
l
;
})
);
if
(
t
)
{
const
n
=
this
.
contentCtrlData
.
findIndex
((
c
)
=>
c
.
srfkey
===
t
);
const
n
=
this
.
contentCtrlData
.
findIndex
((
l
)
=>
l
.
srfkey
===
t
);
n
>
-
1
&&
(
this
.
active
=
n
);
}
return
i
.
findIndex
((
n
)
=>
!
n
)
===
-
1
;
return
r
.
findIndex
((
n
)
=>
!
n
)
===
-
1
;
}
}
const
Ue
=
M
({
const
ze
=
k
({
name
:
"FormMDCtrlFormStyle2"
,
props
:
{
controller
:
{
type
:
l
e
,
type
:
p
e
,
required
:
!
0
},
modelData
:
{
type
:
p
e
,
type
:
y
e
,
required
:
!
0
}
},
setup
(
s
)
{
const
a
=
B
(
"form-mdctrl-form-style2"
),
e
=
s
.
controller
,
{
setup
(
a
)
{
const
e
=
M
(
"form-mdctrl-form-style2"
),
s
=
a
.
controller
,
{
proxy
:
t
}
=
W
();
ge
(
t
,
s
.
controller
);
const
i
=
async
(
m
,
w
,
l
)
=>
{
l
.
stopPropagation
(),
l
.
preventDefault
();
const
v
=
e
.
contentCtrlData
.
length
;
await
e
.
handleRemove
(
m
,
w
),
v
!==
e
.
contentCtrlData
.
length
&&
w
<=
e
.
active
&&
e
.
active
!==
0
&&
(
e
.
active
-=
1
);
},
n
=
(
m
)
=>
{
e
.
active
=
m
,
e
.
force
();
},
c
=
async
()
=>
{
const
m
=
JSON
.
parse
(
JSON
.
stringify
(
e
.
contentCtrlData
)).
length
;
await
e
.
handleAdd
(),
m
<
e
.
contentCtrlData
.
length
&&
(
e
.
active
=
e
.
contentCtrlData
.
length
-
1
);
},
g
=
()
=>
{
const
m
=
s
.
modelData
.
source
.
userTag
;
let
w
=
{};
m
&&
(
w
=
JSON
.
parse
(
m
));
}
=
q
();
De
(
t
,
a
.
controller
);
const
r
=
async
(
h
,
y
,
c
)
=>
{
c
.
stopPropagation
(),
c
.
preventDefault
();
const
D
=
s
.
contentCtrlData
.
length
;
await
s
.
handleRemove
(
h
,
y
),
D
!==
s
.
contentCtrlData
.
length
&&
y
<=
s
.
active
&&
s
.
active
!==
0
&&
(
s
.
active
-=
1
);
},
n
=
(
h
)
=>
{
s
.
active
=
h
,
s
.
force
();
},
l
=
async
()
=>
{
const
h
=
JSON
.
parse
(
JSON
.
stringify
(
s
.
contentCtrlData
)).
length
;
await
s
.
handleAdd
(),
h
<
s
.
contentCtrlData
.
length
&&
(
s
.
active
=
s
.
contentCtrlData
.
length
-
1
);
},
w
=
()
=>
{
const
h
=
a
.
modelData
.
source
.
userTag
;
let
y
=
{};
h
&&
(
y
=
JSON
.
parse
(
h
));
const
{
tabtitle
:
l
,
addtitle
:
v
,
usermode
:
f
}
=
w
;
return
f
===
"user1"
&&
e
.
contentCtrlData
.
some
((
h
)
=>
h
.
rcrylx
===
"system"
)
?
r
(
"div"
,
{
class
:
a
.
e
(
"header"
)
},
[
e
.
contentCtrlData
.
map
((
h
,
p
)
=>
{
let
y
=
""
;
h
.
srfmajortext
?
y
=
h
.
srfmajortext
:
l
&&
h
[
l
]
&&
(
y
=
h
[
l
]);
let
F
=
"待确认"
;
return
h
.
is_rc
===
1
?
F
=
"确认入场"
:
h
.
is_rc
===
0
&&
(
F
=
"放弃入场"
),
r
(
"div"
,
{
class
:
[
a
.
e
(
"header-item"
),
a
.
is
(
"actived"
,
p
===
e
.
active
)],
tabtitle
:
c
,
addtitle
:
D
,
usermode
:
g
}
=
y
;
return
g
===
"user1"
&&
s
.
contentCtrlData
.
some
((
u
)
=>
u
.
rcrylx
===
"system"
)
?
o
(
"div"
,
{
class
:
e
.
e
(
"header"
)
},
[
s
.
contentCtrlData
.
map
((
u
,
m
)
=>
{
let
v
=
""
;
u
.
srfmajortext
?
v
=
u
.
srfmajortext
:
c
&&
u
[
c
]
&&
(
v
=
u
[
c
]);
let
E
=
"待确认"
;
return
u
.
is_rc
===
1
?
E
=
"确认入场"
:
u
.
is_rc
===
0
&&
(
E
=
"放弃入场"
),
o
(
"div"
,
{
class
:
[
e
.
e
(
"header-item"
),
e
.
is
(
"actived"
,
m
===
s
.
active
)],
on
:
{
click
:
()
=>
n
(
p
)
click
:
()
=>
n
(
m
)
}
},
[
r
(
"div"
,
{
class
:
a
.
em
(
"header-item"
,
"title"
)
},
[
y
,
"("
,
F
,
")"
])]);
})])
:
r
(
"div"
,
{
class
:
a
.
e
(
"header"
)
},
[
e
.
contentCtrlData
.
map
((
C
,
h
)
=>
{
let
p
=
`新建
${
h
+
1
}
`
;
return
C
.
srfmajortext
?
p
=
C
.
srfmajortext
:
l
&&
C
[
l
]
?
p
=
C
[
l
]
:
v
&&
(
p
=
`
${
v
}${
h
+
1
}
`
),
r
(
"div"
,
{
class
:
[
a
.
e
(
"header-item"
),
a
.
is
(
"actived"
,
h
===
e
.
active
)],
},
[
o
(
"div"
,
{
class
:
e
.
em
(
"header-item"
,
"title"
)
},
[
v
,
"("
,
E
,
")"
])]);
})])
:
o
(
"div"
,
{
class
:
e
.
e
(
"header"
)
},
[
s
.
contentCtrlData
.
map
((
p
,
u
)
=>
{
let
m
=
`新建
${
u
+
1
}
`
;
return
p
.
srfmajortext
?
m
=
p
.
srfmajortext
:
c
&&
p
[
c
]
?
m
=
p
[
c
]
:
D
&&
(
m
=
`
${
D
}${
u
+
1
}
`
),
o
(
"div"
,
{
class
:
[
e
.
e
(
"header-item"
),
e
.
is
(
"actived"
,
u
===
s
.
active
)],
on
:
{
click
:
()
=>
n
(
h
)
click
:
()
=>
n
(
u
)
}
},
[
r
(
"div"
,
{
class
:
a
.
em
(
"header-item"
,
"title"
)
},
[
p
]),
e
.
enableDelete
&&
r
(
"div"
,
{
class
:
a
.
em
(
"header-item"
,
"delete"
),
},
[
o
(
"div"
,
{
class
:
e
.
em
(
"header-item"
,
"title"
)
},
[
m
]),
s
.
enableDelete
&&
o
(
"div"
,
{
class
:
e
.
em
(
"header-item"
,
"delete"
),
attrs
:
{
title
:
"移除"
},
on
:
{
click
:
(
y
)
=>
i
(
C
,
h
,
y
)
click
:
(
v
)
=>
r
(
p
,
u
,
v
)
}
},
[
r
(
"i"
,
{
},
[
o
(
"i"
,
{
class
:
"fa fa-close"
})])]);
}),
e
.
enableCreate
&&
r
(
"div"
,
{
class
:
[
a
.
e
(
"header-item"
),
a
.
e
(
"add"
)],
}),
s
.
enableCreate
&&
o
(
"div"
,
{
class
:
[
e
.
e
(
"header-item"
),
e
.
e
(
"add"
)],
attrs
:
{
title
:
"添加"
},
on
:
{
click
:
()
=>
c
()
click
:
()
=>
l
()
}
},
[
r
(
"span"
,
[
"添加"
]),
r
(
"i"
,
{
},
[
o
(
"span"
,
[
"添加"
]),
o
(
"i"
,
{
class
:
"fa fa-plus"
})])]);
};
return
V
(()
=>
e
.
form
.
isLoaded
,
(
m
,
w
)
=>
{
m
!==
w
&&
m
===
!
0
&&
e
.
loadData
();
return
L
(()
=>
s
.
form
.
isLoaded
,
(
h
,
y
)
=>
{
h
!==
y
&&
h
===
!
0
&&
s
.
loadData
();
}),
{
ns
:
a
,
rendertanHeader
:
g
,
renderTabs
:
()
=>
e
.
contentCtrlData
.
map
((
m
,
w
)
=>
{
var
f
;
let
l
=
null
;
ns
:
e
,
rendertanHeader
:
w
,
renderTabs
:
()
=>
s
.
contentCtrlData
.
map
((
h
,
y
)
=>
{
var
g
;
let
c
=
null
;
const
{
form
:
v
}
=
e
.
model
;
if
(
v
&&
e
.
providers
[
v
.
name
]
&&
e
.
model
.
appEntity
)
{
const
C
=
Object
.
assign
(
e
.
form
.
context
.
clone
(),
{
[(
f
=
e
.
model
.
appEntity
.
codeName
)
==
null
?
void
0
:
f
.
toLowerCase
()]:
m
[
e
.
model
.
appEntity
.
keyName
]
form
:
D
}
=
s
.
model
;
if
(
D
&&
s
.
providers
[
D
.
name
]
&&
s
.
model
.
appEntity
)
{
const
p
=
Object
.
assign
(
s
.
form
.
context
.
clone
(),
{
[(
g
=
s
.
model
.
appEntity
.
codeName
)
==
null
?
void
0
:
g
.
toLowerCase
()]:
h
[
s
.
model
.
appEntity
.
keyName
]
});
l
=
r
(
e
.
providers
[
v
.
name
].
component
,
{
c
=
o
(
s
.
providers
[
D
.
name
].
component
,
{
props
:
{
modelData
:
v
,
context
:
C
,
params
:
e
.
form
.
params
,
modelData
:
D
,
context
:
p
,
params
:
s
.
form
.
params
,
enableAutoSave
:
!
0
,
silentVerify
:
!
0
},
on
:
{
neuronInit
:
e
.
onNeuronInit
(
m
.
srfkey
)
neuronInit
:
s
.
onNeuronInit
(
h
.
srfkey
)
}
});
}
return
r
(
"div"
,
{
class
:
[
a
.
e
(
"content"
),
a
.
is
(
"actived"
,
w
===
e
.
active
)],
key
:
m
.
srfkey
},
[
l
]);
return
o
(
"div"
,
{
class
:
[
e
.
e
(
"content"
),
e
.
is
(
"actived"
,
y
===
s
.
active
)],
key
:
h
.
srfkey
},
[
c
]);
})
};
},
render
()
{
return
r
(
"div"
,
{
return
o
(
"div"
,
{
class
:
this
.
ns
.
b
()
},
[
this
.
rendertanHeader
(),
this
.
renderTabs
()]);
}
}),
Le
=
M
({
}),
$e
=
k
({
name
:
"AutoSelectAll"
,
props
:
s
e
(),
props
:
n
e
(),
emits
:
G
(),
setup
(
s
,
{
emit
:
a
setup
(
a
,
{
emit
:
e
})
{
const
e
=
B
(
"mpicker"
),
t
=
s
.
controller
,
i
=
A
([]),
n
=
A
([]),
c
=
A
([]),
g
=
A
(
!
1
),
u
=
A
(
!
1
),
m
=
A
(
null
),
w
=
A
([]),
l
=
A
(
!
0
),
v
=
j
(()
=>
{
const
D
=
t
.
editorParams
.
followitem
;
return
D
?
s
.
data
[
D
]
:
""
;
const
s
=
M
(
"mpicker"
),
t
=
a
.
controller
,
r
=
P
([]),
n
=
P
([]),
l
=
P
([]),
w
=
P
(
!
1
),
d
=
P
(
!
1
),
h
=
P
(
null
),
y
=
P
([]),
c
=
P
(
!
0
),
D
=
j
(()
=>
{
const
C
=
t
.
editorParams
.
followitem
;
return
C
?
a
.
data
[
C
]
:
""
;
});
V
(()
=>
s
.
value
,
(
D
)
=>
{
i
.
value
=
[],
c
.
value
=
[],
D
&&
(
c
.
value
=
JSON
.
parse
(
D
),
c
.
value
.
length
>
0
&&
c
.
value
.
forEach
((
E
)
=>
{
n
.
value
.
findIndex
((
O
)
=>
Object
.
is
(
O
.
srfkey
,
E
.
srfkey
))
<
0
&&
(
n
.
value
.
push
(
E
),
w
.
value
.
push
(
E
.
srfmajortext
)),
i
.
value
.
push
(
E
.
srfkey
);
L
(()
=>
a
.
value
,
(
C
)
=>
{
r
.
value
=
[],
l
.
value
=
[],
C
&&
(
l
.
value
=
JSON
.
parse
(
C
),
l
.
value
.
length
>
0
&&
l
.
value
.
forEach
((
x
)
=>
{
n
.
value
.
findIndex
((
T
)
=>
Object
.
is
(
T
.
srfkey
,
x
.
srfkey
))
<
0
&&
(
n
.
value
.
push
(
x
),
y
.
value
.
push
(
x
.
srfmajortext
)),
r
.
value
.
push
(
x
.
srfkey
);
}));
},
{
immediate
:
!
0
,
deep
:
!
0
});
const
f
=
async
(
D
)
=>
{
const
E
=
[];
if
(
D
&&
Array
.
isArray
(
D
))
for
(
let
O
=
0
;
O
<
D
.
length
;
O
++
)
{
const
o
=
D
[
O
],
d
=
{
srfkey
:
o
[
t
.
keyName
]
||
o
.
srfkey
,
srfmajortext
:
o
[
t
.
textName
]
||
o
.
srfmajortext
},
b
=
await
t
.
calcFillDataItems
(
o
);
b
.
length
>
0
&&
b
.
forEach
((
x
)
=>
{
Object
.
assign
(
d
,
{
[
x
.
name
]:
x
.
value
const
g
=
async
(
C
)
=>
{
const
x
=
[];
if
(
C
&&
Array
.
isArray
(
C
))
for
(
let
T
=
0
;
T
<
C
.
length
;
T
++
)
{
const
i
=
C
[
T
],
f
=
{
srfkey
:
i
[
t
.
keyName
]
||
i
.
srfkey
,
srfmajortext
:
i
[
t
.
textName
]
||
i
.
srfmajortext
},
A
=
await
t
.
calcFillDataItems
(
i
);
A
.
length
>
0
&&
A
.
forEach
((
N
)
=>
{
Object
.
assign
(
f
,
{
[
N
.
name
]:
N
.
value
});
}),
E
.
push
(
d
),
n
.
value
.
findIndex
((
x
)
=>
Object
.
is
(
x
[
t
.
keyName
],
o
[
t
.
keyName
]))
<
0
&&
n
.
value
.
push
(
d
);
}),
x
.
push
(
f
),
n
.
value
.
findIndex
((
N
)
=>
Object
.
is
(
N
[
t
.
keyName
],
i
[
t
.
keyName
]))
<
0
&&
n
.
value
.
push
(
f
);
}
const
k
=
E
.
length
>
0
?
JSON
.
stringify
(
E
)
:
""
;
a
(
"change"
,
k
);
},
C
=
async
()
=>
{
let
D
;
c
.
value
.
length
&&
(
D
=
JSON
.
stringify
(
c
.
value
));
const
E
=
await
t
.
openPickUpView
(
s
.
data
,
D
);
E
&&
f
(
E
);
},
h
=
(
D
)
=>
{
const
E
=
[];
if
(
D
.
length
>
0
)
{
D
.
forEach
((
O
)
=>
{
let
o
=
n
.
value
.
findIndex
((
b
)
=>
Object
.
is
(
b
.
srfkey
,
O
)),
d
=
null
;
o
>=
0
?
d
=
n
.
value
[
o
]
:
(
o
=
c
.
value
.
findIndex
((
b
)
=>
Object
.
is
(
b
.
srfkey
,
O
)),
o
>=
0
&&
(
d
=
c
.
value
[
o
])),
d
&&
E
.
push
(
d
);
const
F
=
x
.
length
>
0
?
JSON
.
stringify
(
x
)
:
""
;
e
(
"change"
,
F
);
},
p
=
async
()
=>
{
let
C
;
l
.
value
.
length
&&
(
C
=
JSON
.
stringify
(
l
.
value
));
const
x
=
await
t
.
openPickUpView
(
a
.
data
,
C
);
x
&&
g
(
x
);
},
u
=
(
C
)
=>
{
const
x
=
[];
if
(
C
.
length
>
0
)
{
C
.
forEach
((
T
)
=>
{
let
i
=
n
.
value
.
findIndex
((
A
)
=>
Object
.
is
(
A
.
srfkey
,
T
)),
f
=
null
;
i
>=
0
?
f
=
n
.
value
[
i
]
:
(
i
=
l
.
value
.
findIndex
((
A
)
=>
Object
.
is
(
A
.
srfkey
,
T
)),
i
>=
0
&&
(
f
=
l
.
value
[
i
])),
f
&&
x
.
push
(
f
);
});
const
k
=
E
.
length
>
0
?
JSON
.
stringify
(
E
)
:
""
;
a
(
"change"
,
k
);
const
F
=
x
.
length
>
0
?
JSON
.
stringify
(
x
)
:
""
;
e
(
"change"
,
F
);
}
else
a
(
"change"
,
""
);
},
p
=
async
(
D
)
=>
{
e
(
"change"
,
""
);
},
m
=
async
(
C
)
=>
{
if
(
t
.
model
.
appDataEntity
)
{
u
.
value
=
!
0
;
d
.
value
=
!
0
;
try
{
const
E
=
await
t
.
getServiceData
(
D
,
s
.
data
);
u
.
value
=
!
1
,
n
.
value
=
[],
E
.
data
.
length
>
0
&&
(
n
.
value
=
E
.
data
.
map
((
k
)
=>
({
srfkey
:
k
[
t
.
keyName
],
srfmajortext
:
k
[
t
.
textName
]
const
x
=
await
t
.
getServiceData
(
C
,
a
.
data
);
d
.
value
=
!
1
,
n
.
value
=
[],
x
.
data
.
length
>
0
&&
(
n
.
value
=
x
.
data
.
map
((
F
)
=>
({
srfkey
:
F
[
t
.
keyName
],
srfmajortext
:
F
[
t
.
textName
]
})));
}
catch
(
E
)
{
u
.
value
=
!
1
;
}
catch
(
x
)
{
d
.
value
=
!
1
;
}
}
},
y
=
(
D
)
=>
{
g
.
value
=
D
,
a
(
"operate"
,
D
),
g
.
value
&&
p
(
""
);
},
F
=
j
(()
=>
c
.
value
.
map
((
D
)
=>
D
.
srfmajortext
).
join
(
"、"
)),
I
=
(
D
)
=>
{
n
.
value
=
D
;
},
v
=
(
C
)
=>
{
w
.
value
=
C
,
e
(
"operate"
,
C
),
w
.
value
&&
m
(
""
);
},
E
=
j
(()
=>
l
.
value
.
map
((
C
)
=>
C
.
srfmajortext
).
join
(
"、"
)),
S
=
(
C
)
=>
{
n
.
value
=
C
;
};
return
V
(()
=>
v
.
value
,
async
(
D
)
=>
{
if
(
D
)
{
await
p
(
""
);
const
E
=
n
.
value
.
map
((
k
)
=>
k
.
srfkey
);
if
(
l
.
value
&&
(
l
.
value
=
!
1
,
s
.
value
))
return
L
(()
=>
D
.
value
,
async
(
C
)
=>
{
if
(
C
)
{
await
m
(
""
);
const
x
=
n
.
value
.
map
((
F
)
=>
F
.
srfkey
);
if
(
c
.
value
&&
(
c
.
value
=
!
1
,
a
.
value
))
return
;
h
(
E
);
u
(
x
);
}
else
n
.
value
=
[],
a
(
"change"
,
""
);
n
.
value
=
[],
e
(
"change"
,
""
);
},
{
immediate
:
!
0
}),
{
ns
:
e
,
ns
:
s
,
c
:
t
,
selectRef
:
m
,
curValue
:
i
,
loading
:
u
,
selectRef
:
h
,
curValue
:
r
,
loading
:
d
,
items
:
n
,
defaultLabel
:
w
,
valueText
:
F
,
onSearch
:
p
,
onOpenChange
:
y
,
onSelect
:
h
,
openPickUpView
:
C
,
setDefaultOptions
:
I
defaultLabel
:
y
,
valueText
:
E
,
onSearch
:
m
,
onOpenChange
:
v
,
onSelect
:
u
,
openPickUpView
:
p
,
setDefaultOptions
:
S
};
},
render
(
s
)
{
return
s
(
"div"
,
{
render
(
a
)
{
return
a
(
"div"
,
{
class
:
[
this
.
ns
.
b
(),
this
.
disabled
?
this
.
ns
.
m
(
"disabled"
)
:
""
,
this
.
readonly
?
this
.
ns
.
m
(
"readonly"
)
:
""
]
},
[
this
.
readonly
&&
this
.
valueText
,
!
this
.
readonly
&&
s
(
"iSelect"
,
{
},
[
this
.
readonly
&&
this
.
valueText
,
!
this
.
readonly
&&
a
(
"iSelect"
,
{
ref
:
"selectRef"
,
props
:
{
...
this
.
c
.
customProps
,
...
...
@@ -1071,17 +1073,17 @@ const Ue = M({
"on-change"
:
this
.
onSelect
,
"on-open-change"
:
this
.
onOpenChange
}
},
[
this
.
items
.
map
((
a
)
=>
s
(
"i-option"
,
{
key
:
a
.
srfkey
,
},
[
this
.
items
.
map
((
e
)
=>
a
(
"i-option"
,
{
key
:
e
.
srfkey
,
attrs
:
{
value
:
a
.
srfkey
,
label
:
a
.
srfmajortext
value
:
e
.
srfkey
,
label
:
e
.
srfmajortext
}
},
[
a
.
srfmajortext
]))]),
!
this
.
readonly
&&
s
(
"div"
,
{
},
[
e
.
srfmajortext
]))]),
!
this
.
readonly
&&
a
(
"div"
,
{
class
:
this
.
ns
.
e
(
"buns-position"
)
},
[
s
(
"div"
,
{
},
[
a
(
"div"
,
{
class
:
this
.
ns
.
e
(
"btns"
)
},
[
this
.
c
.
pickupView
?
s
(
"i-button"
,
{
},
[
this
.
c
.
pickupView
?
a
(
"i-button"
,
{
attrs
:
{
icon
:
"ios-search"
,
type
:
"text"
...
...
@@ -1092,86 +1094,86 @@ const Ue = M({
})
:
null
])])]);
}
});
const
Ve
=
M
({
const
Ye
=
k
({
name
:
"MPickerCheckbox"
,
props
:
s
e
(),
props
:
n
e
(),
emits
:
G
(),
setup
(
s
,
{
emit
:
a
setup
(
a
,
{
emit
:
e
})
{
const
e
=
B
(
"checkbox"
),
t
=
s
.
controller
,
i
=
A
([]),
n
=
A
([]),
c
=
A
(
!
0
),
g
=
","
,
u
=
t
.
editorParams
.
emptyClearItems
,
m
=
j
({
const
s
=
M
(
"checkbox"
),
t
=
a
.
controller
,
r
=
P
([]),
n
=
P
([]),
l
=
P
(
!
0
),
w
=
","
,
d
=
t
.
editorParams
.
emptyClearItems
,
h
=
j
({
get
()
{
var
p
;
return
((
p
=
s
.
value
)
==
null
?
void
0
:
p
.
split
(
","
))
||
[];
var
m
;
return
((
m
=
a
.
value
)
==
null
?
void
0
:
m
.
split
(
","
))
||
[];
},
set
(
p
)
{
let
y
=
null
;
const
F
=
[];
if
(
i
.
value
.
length
>
0
&&
(
i
.
value
.
forEach
((
I
)
=>
{
p
.
findIndex
((
E
)
=>
Object
.
is
(
I
.
value
,
E
))
!==
-
1
&&
F
.
push
(
I
.
value
);
}),
y
=
F
.
join
(
g
)),
a
(
"change"
,
y
),
!
y
&&
u
)
{
const
I
=
JSON
.
parse
(
u
);
for
(
let
D
=
0
;
D
<
I
.
length
;
D
++
)
a
(
"change"
,
I
[
D
].
value
,
I
[
D
].
key
);
set
(
m
)
{
let
v
=
null
;
const
E
=
[];
if
(
r
.
value
.
length
>
0
&&
(
r
.
value
.
forEach
((
S
)
=>
{
m
.
findIndex
((
x
)
=>
Object
.
is
(
S
.
value
,
x
))
!==
-
1
&&
E
.
push
(
S
.
value
);
}),
v
=
E
.
join
(
w
)),
e
(
"change"
,
v
),
!
v
&&
d
)
{
const
S
=
JSON
.
parse
(
d
);
for
(
let
C
=
0
;
C
<
S
.
length
;
C
++
)
e
(
"change"
,
S
[
C
].
value
,
S
[
C
].
key
);
}
}
}),
w
=
async
(
p
)
=>
{
}),
y
=
async
(
m
)
=>
{
const
{
context
:
y
,
params
:
F
}
=
t
.
handlePublicParams
(
p
,
t
.
context
,
t
.
params
);
context
:
v
,
params
:
E
}
=
t
.
handlePublicParams
(
m
,
t
.
context
,
t
.
params
);
if
(
t
.
editorParams
.
codeTag
)
{
let
I
=
[];
const
D
=
t
.
editorParams
.
codeTag
;
return
I
=
await
ibiz
.
codeListService
.
get
(
D
,
y
,
F
),
I
;
let
S
=
[];
const
C
=
t
.
editorParams
.
codeTag
;
return
S
=
await
ibiz
.
codeListService
.
get
(
C
,
v
,
E
),
S
;
}
throw
new
h
e
(
t
.
model
.
source
,
"请配置代码表"
);
},
l
=
(
p
)
=>
{
m
.
value
=
p
;
},
v
=
j
(()
=>
{
const
p
=
Array
.
isArray
(
m
.
value
)
?
m
.
value
:
[
m
.
value
];
return
i
.
value
.
filter
((
y
)
=>
p
.
includes
(
y
.
srfkey
)).
map
((
y
)
=>
y
.
srfmajortext
).
join
(
"、"
);
}),
f
=
async
(
p
)
=>
{
throw
new
g
e
(
t
.
model
.
source
,
"请配置代码表"
);
},
c
=
(
m
)
=>
{
h
.
value
=
m
;
},
D
=
j
(()
=>
{
const
m
=
Array
.
isArray
(
h
.
value
)
?
h
.
value
:
[
h
.
value
];
return
r
.
value
.
filter
((
v
)
=>
m
.
includes
(
v
.
srfkey
)).
map
((
v
)
=>
v
.
srfmajortext
).
join
(
"、"
);
}),
g
=
async
(
m
)
=>
{
if
(
t
.
model
.
appDataEntity
)
try
{
const
y
=
await
t
.
getServiceData
(
p
,
s
.
data
);
n
.
value
=
[],
y
.
data
.
length
>
0
&&
(
n
.
value
=
y
.
data
.
map
((
F
)
=>
({
srfkey
:
F
[
t
.
keyName
],
srfmajortext
:
F
[
t
.
textName
]
const
v
=
await
t
.
getServiceData
(
m
,
a
.
data
);
n
.
value
=
[],
v
.
data
.
length
>
0
&&
(
n
.
value
=
v
.
data
.
map
((
E
)
=>
({
srfkey
:
E
[
t
.
keyName
],
srfmajortext
:
E
[
t
.
textName
]
})));
}
catch
(
y
)
{
console
.
error
(
y
);
}
catch
(
v
)
{
console
.
error
(
v
);
}
},
C
=
j
(()
=>
{
const
p
=
t
.
editorParams
.
followitem
;
return
p
?
s
.
data
[
p
]
:
""
;
}),
h
=
()
=>
{
const
p
=
[];
i
.
value
.
forEach
((
y
)
=>
{
n
.
value
.
findIndex
((
I
)
=>
I
.
srfkey
===
y
.
value
)
>
-
1
&&
p
.
push
(
y
.
value
);
}),
l
(
p
);
},
p
=
j
(()
=>
{
const
m
=
t
.
editorParams
.
followitem
;
return
m
?
a
.
data
[
m
]
:
""
;
}),
u
=
()
=>
{
const
m
=
[];
r
.
value
.
forEach
((
v
)
=>
{
n
.
value
.
findIndex
((
S
)
=>
S
.
srfkey
===
v
.
value
)
>
-
1
&&
m
.
push
(
v
.
value
);
}),
c
(
m
);
};
return
V
(()
=>
C
,
async
(
p
)
=>
{
await
w
(
p
).
then
((
y
)
=>
{
i
.
value
=
y
;
}),
await
f
(
""
),
!
(
c
.
value
&&
(
c
.
value
=
!
1
,
s
.
value
))
&&
h
();
return
L
(()
=>
p
,
async
(
m
)
=>
{
await
y
(
m
).
then
((
v
)
=>
{
r
.
value
=
v
;
}),
await
g
(
""
),
!
(
l
.
value
&&
(
l
.
value
=
!
1
,
a
.
value
))
&&
u
();
},
{
immediate
:
!
0
,
deep
:
!
0
}),
{
ns
:
e
,
ns
:
s
,
c
:
t
,
valueText
:
v
,
selectArray
:
m
,
items
:
i
,
onSearch
:
f
,
onSelectArrayChange
:
l
valueText
:
D
,
selectArray
:
h
,
items
:
r
,
onSearch
:
g
,
onSelectArrayChange
:
c
};
},
render
(
s
)
{
return
s
(
"div"
,
{
render
(
a
)
{
return
a
(
"div"
,
{
class
:
[
this
.
ns
.
b
(),
this
.
disabled
?
this
.
ns
.
m
(
"disabled"
)
:
""
,
this
.
readonly
?
this
.
ns
.
m
(
"readonly"
)
:
""
]
},
[
this
.
readonly
&&
this
.
valueText
,
!
this
.
readonly
&&
s
(
"ICheckboxGroup"
,
{
},
[
this
.
readonly
&&
this
.
valueText
,
!
this
.
readonly
&&
a
(
"ICheckboxGroup"
,
{
props
:
{
...
this
.
c
.
customProps
,
value
:
this
.
selectArray
...
...
@@ -1179,18 +1181,18 @@ const Ve = M({
on
:
{
"on-change"
:
this
.
onSelectArrayChange
}
},
[
this
.
items
.
map
((
a
,
e
)
=>
s
(
"i-checkbox"
,
{
key
:
e
,
},
[
this
.
items
.
map
((
e
,
s
)
=>
a
(
"i-checkbox"
,
{
key
:
s
,
attrs
:
{
label
:
a
.
value
,
label
:
e
.
value
,
disabled
:
this
.
disabled
}
},
[
s
(
"span"
,
{
},
[
a
(
"span"
,
{
class
:
this
.
ns
.
e
(
"text"
)
},
[
a
.
text
])]))])]);
},
[
e
.
text
])]))])]);
}
});
class
Be
extends
A
e
{
class
He
extends
S
e
{
/**
* 设置嵌入视图的神经元
*
...
...
@@ -1198,25 +1200,25 @@ class Be extends Ae {
* @date 2022-09-15 10:09:22
* @param {ViewNeuron} neuron
*/
setViewNeuron
(
a
)
{
this
.
neuron
=
a
,
this
.
neuron
.
evt
.
on
(
"refreshed"
,
(
e
)
=>
{
if
(
ibiz
.
log
.
debug
(
"接收到关系界面的刷新变更事件"
,
e
),
this
.
model
.
formItemUpdate
)
{
const
{
methodName
:
t
,
itemNames
:
i
,
model
:
n
}
=
this
.
model
.
formItemUpdate
;
setViewNeuron
(
e
)
{
this
.
neuron
=
e
,
this
.
neuron
.
evt
.
on
(
"refreshed"
,
(
s
)
=>
{
if
(
ibiz
.
log
.
debug
(
"接收到关系界面的刷新变更事件"
,
s
),
this
.
model
.
formItemUpdate
)
{
const
{
methodName
:
t
,
itemNames
:
r
,
model
:
n
}
=
this
.
model
.
formItemUpdate
;
this
.
form
.
updateFormItem
(
t
,
i
,
r
,
n
);
}
}),
this
.
neuron
.
evt
.
on
(
"mounted"
,
()
=>
{
this
.
neuron
.
call
.
refresh
();
}),
this
.
neuron
.
evt
.
on
(
"viewDataChange"
,
async
(
e
)
=>
{
if
(
!
[
"LOAD"
,
"LOADDRAFT"
].
includes
(
e
.
type
)
&&
(
ibiz
.
log
.
debug
(
"接收到关系界面的数据变更事件"
,
e
.
data
),
this
.
model
.
formItemUpdate
))
{
const
{
methodName
:
t
,
itemNames
:
i
,
model
:
n
}
=
this
.
model
.
formItemUpdate
;
}),
this
.
neuron
.
evt
.
on
(
"viewDataChange"
,
async
(
s
)
=>
{
if
(
!
[
"LOAD"
,
"LOADDRAFT"
].
includes
(
s
.
type
)
&&
(
ibiz
.
log
.
debug
(
"接收到关系界面的数据变更事件"
,
s
.
data
),
this
.
model
.
formItemUpdate
))
{
const
{
methodName
:
t
,
itemNames
:
r
,
model
:
n
}
=
this
.
model
.
formItemUpdate
;
try
{
this
.
processState
.
formItemUpdate
=
!
0
,
await
this
.
form
.
updateFormItem
(
t
,
i
,
r
,
n
);
}
finally
{
...
...
@@ -1224,8 +1226,8 @@ class Be extends Ae {
}
}
}),
this
.
neuron
.
evt
.
on
(
"destroyed"
,
()
=>
{
Object
.
keys
(
this
.
processState
).
forEach
((
e
)
=>
{
this
.
processState
[
e
]
=
!
1
;
Object
.
keys
(
this
.
processState
).
forEach
((
s
)
=>
{
this
.
processState
[
s
]
=
!
1
;
});
}),
this
.
neuron
.
evt
.
on
(
"viewSaveStart"
,
()
=>
{
this
.
processState
.
viewSave
=
!
0
;
...
...
@@ -1234,7 +1236,7 @@ class Be extends Ae {
});
}
}
class
_e
extends
F
e
{
class
Ge
extends
I
e
{
constructor
()
{
super
(...
arguments
);
/**
...
...
@@ -1243,7 +1245,7 @@ class _e extends Fe {
* @type {string}
* @memberof WfEditViewController
*/
P
(
this
,
"userAction"
);
b
(
this
,
"userAction"
);
}
async
onInit
()
{
await
super
.
onInit
(),
this
.
getUserAction
();
...
...
@@ -1256,25 +1258,25 @@ class _e extends Fe {
* @returns {*} {Promise<void>}
*/
async
wfStart
()
{
var
m
;
var
h
;
await
this
.
save
(),
await
this
.
execUserAction
();
const
e
=
await
this
.
entityService
.
wf
.
getWFVersion
();
if
(
e
.
data
.
length
===
0
)
throw
new
x
e
(
"当前工作流版本不存在"
);
const
t
=
e
.
data
[
0
],
i
=
`WFSTART@
${
t
.
wfversion
}
`
,
n
=
Object
.
assign
(
this
.
context
.
clone
(),
{
const
s
=
await
this
.
entityService
.
wf
.
getWFVersion
();
if
(
s
.
data
.
length
===
0
)
throw
new
d
e
(
"当前工作流版本不存在"
);
const
t
=
s
.
data
[
0
],
r
=
`WFSTART@
${
t
.
wfversion
}
`
,
n
=
Object
.
assign
(
this
.
context
.
clone
(),
{
activeForm
:
t
[
"process-form"
]
}),
c
=
{
}),
l
=
{
processDefinitionKey
:
t
.
definitionkey
},
g
=
(
m
=
this
.
model
.
source
.
findPSAppViewRef
(
i
))
==
null
?
void
0
:
m
.
getRefPSAppView
();
if
(
!
g
)
{
await
this
.
nerve
.
form
.
call
.
wfStart
(
c
),
await
this
.
closeView
();
},
w
=
(
h
=
this
.
model
.
source
.
findPSAppViewRef
(
r
))
==
null
?
void
0
:
h
.
getRefPSAppView
();
if
(
!
w
)
{
await
this
.
nerve
.
form
.
call
.
wfStart
(
l
),
await
this
.
closeView
();
return
;
}
(
await
ibiz
.
commands
.
execute
(
q
.
TAG
,
g
,
W
.
TAG
,
w
,
n
,
c
l
)).
ok
&&
await
this
.
closeView
();
}
/**
...
...
@@ -1283,10 +1285,10 @@ class _e extends Fe {
* @memberof EditViewController
*/
getUserAction
()
{
const
{
form
:
e
}
=
this
.
model
,
t
=
e
.
source
.
getPSControlHandler
();
const
{
form
:
s
}
=
this
.
model
,
t
=
s
.
source
.
getPSControlHandler
();
if
(
t
)
{
const
i
=
t
.
findPSControlHandlerAction
(
"user"
);
i
&&
i
.
getPSAppDEMethod
()
&&
(
this
.
userAction
=
i
.
getPSAppDEMethod
().
codeName
);
const
r
=
t
.
findPSControlHandlerAction
(
"user"
);
r
&&
r
.
getPSAppDEMethod
()
&&
(
this
.
userAction
=
r
.
getPSAppDEMethod
().
codeName
);
}
}
/**
...
...
@@ -1296,18 +1298,18 @@ class _e extends Fe {
*/
async
execUserAction
()
{
if
(
this
.
userAction
)
{
const
e
=
this
.
getData
();
await
this
.
entityService
.
exec
(
this
.
userAction
,
this
.
context
,
e
[
0
]);
const
s
=
this
.
getData
();
await
this
.
entityService
.
exec
(
this
.
userAction
,
this
.
context
,
s
[
0
]);
}
}
}
function
je
(
s
,
a
)
{
return
w
e
(
s
,
(
e
,
t
)
=>
new
_e
(
a
,
e
,
t
)
function
qe
(
a
,
e
)
{
return
C
e
(
a
,
(
s
,
t
)
=>
new
Ge
(
e
,
s
,
t
)
);
}
const
ze
=
M
({
const
Je
=
k
({
props
:
{
context
:
Object
,
params
:
{
...
...
@@ -1325,69 +1327,277 @@ const ze = M({
required
:
!
1
}
},
setup
(
s
)
{
setup
(
a
)
{
const
{
proxy
:
a
}
=
W
();
proxy
:
e
}
=
q
();
return
{
c
:
je
(
a
,
s
.
modelPath
)
c
:
qe
(
e
,
a
.
modelPath
)
};
},
render
(
s
)
{
let
a
=
null
;
render
(
a
)
{
let
e
=
null
;
if
(
this
.
c
.
complete
)
{
const
{
form
:
e
form
:
s
}
=
this
.
c
.
model
;
this
.
c
.
providers
[
e
.
name
]
&&
(
a
=
s
(
this
.
c
.
providers
[
e
.
name
].
component
,
{
this
.
c
.
providers
[
s
.
name
]
&&
(
e
=
a
(
this
.
c
.
providers
[
s
.
name
].
component
,
{
props
:
{
modelData
:
e
,
modelData
:
s
,
context
:
this
.
c
.
context
,
params
:
this
.
c
.
params
},
on
:
{
neuronInit
:
this
.
c
.
nerve
.
onNeuronInit
(
e
.
name
)
neuronInit
:
this
.
c
.
nerve
.
onNeuronInit
(
s
.
name
)
}
}));
}
return
s
(
"view-base"
,
{
return
a
(
"view-base"
,
{
attrs
:
{
controller
:
this
.
c
}
},
[
e
]);
}
});
class
We
extends
le
{
async
save
()
{
var
t
;
if
(
this
.
processing
||
(
t
=
this
.
formDruipart
)
!=
null
&&
t
.
some
((
r
)
=>
r
.
processing
))
return
await
Me
(
500
,
this
.
save
.
bind
(
this
));
const
e
=
this
.
controlParams
.
SILENT
===
"true"
;
if
(
this
.
silentVerify
)
{
if
(
!
await
this
.
silentValidate
())
return
this
.
data
;
}
else
if
(
!
await
this
.
validate
())
throw
new
de
(
"请检查表单填写!"
);
await
this
.
startLoading
();
let
s
;
try
{
s
=
this
.
isNewData
?
await
this
.
service
.
create
(
this
.
context
,
this
.
data
)
:
await
this
.
service
.
update
(
this
.
context
,
this
.
data
);
}
finally
{
await
this
.
endLoading
();
}
if
(
s
.
data
)
for
(
const
r
of
Object
.
keys
(
s
.
data
))
Re
(
s
.
data
[
r
])
||
(
this
.
data
[
r
]
=
s
.
data
[
r
]);
if
(
await
this
.
nerve
.
self
.
evt
.
asyncEmit
(
"afterSave"
,
this
.
isNewData
,
this
.
data
),
this
.
isNewData
=
!
1
,
this
.
formStateNotify
(
Fe
.
SAVE
),
!
e
)
{
let
r
=
this
.
data
.
srfmajortext
;
if
(
this
.
controlParams
.
CONVERSIONCODETAG
)
{
const
n
=
await
ibiz
.
codeListService
.
get
(
this
.
controlParams
.
CONVERSIONCODETAG
,
this
.
context
,
this
.
params
),
l
=
this
.
data
.
srfmajortext
.
split
(
"_"
);
if
(
l
&&
l
.
length
>
1
)
{
const
w
=
this
.
loopCodeList
(
n
);
r
=
l
.
map
((
h
)
=>
{
const
y
=
w
.
find
((
c
)
=>
c
.
value
===
h
);
return
(
y
==
null
?
void
0
:
y
.
text
)
||
""
;
}).
filter
((
h
)
=>
!!
h
).
join
(
"_"
);
}
}
ibiz
.
message
.
success
(
`
${
r
||
""
}
保存成功`
);
}
return
this
.
isDirty
=
!
1
,
this
.
force
(),
this
.
data
;
}
loopCodeList
(
e
)
{
const
s
=
[];
return
e
.
forEach
((
t
)
=>
{
s
.
push
(
t
),
t
.
children
&&
s
.
push
(...
this
.
loopCodeList
(
t
.
children
));
}),
s
;
}
}
const
Ke
=
k
({
name
:
"ConversionTextEditFormControl"
,
props
:
{
modelData
:
{
type
:
re
,
required
:
!
0
},
context
:
{
type
:
Object
,
required
:
!
0
},
params
:
{
type
:
Object
,
default
:
()
=>
({})
},
enableAutoSave
:
{
type
:
Boolean
,
required
:
!
1
},
silentVerify
:
{
type
:
Boolean
,
required
:
!
1
},
simpleDataIndex
:
{
type
:
Number
,
required
:
!
1
}
},
setup
(
a
)
{
const
{
proxy
:
e
}
=
q
();
return
{
c
:
oe
(
e
,
()
=>
{
const
t
=
new
We
(
a
.
modelData
,
a
.
context
,
a
.
params
);
return
Y
(
e
,
"enableAutoSave"
,
t
.
setEnableAutoSave
.
bind
(
t
)),
Y
(
e
,
"silentVerify"
,
t
.
setSilentVerify
.
bind
(
t
)),
Y
(
e
,
"simpleDataIndex"
,
t
.
setSimpleDataIndex
.
bind
(
t
)),
t
;
})
};
},
render
()
{
return
this
.
c
.
complete
?
o
(
"form-control"
,
{
attrs
:
{
"model-data"
:
this
.
modelData
,
context
:
this
.
context
,
controller
:
this
.
c
}
}
,
[
a
])
;
}
)
:
null
;
}
});
class
Ye
{
const
Xe
=
k
({
name
:
"DropdownListJoin"
,
props
:
Ee
(),
emits
:
G
(),
setup
(
a
,
{
emit
:
e
})
{
const
s
=
M
(
"dropdown"
),
t
=
M
(
"dropdown-join"
),
r
=
a
.
controller
,
n
=
P
(
!
1
),
l
=
P
([]),
w
=
(
p
,
u
)
=>
{
const
m
=
[];
return
p
.
forEach
((
v
)
=>
{
if
(
v
.
children
)
{
const
E
=
w
(
v
.
children
,
v
);
m
.
push
(...
E
);
}
if
(
u
)
{
const
E
=
{
...
Le
(
v
),
parent
:
u
};
m
.
push
(
E
);
}
}),
m
;
};
r
.
loadCodeList
(
a
.
data
).
then
((
p
)
=>
{
l
.
value
=
w
(
p
,
null
);
});
const
d
=
j
({
get
()
{
var
p
;
if
(
a
.
value
)
{
if
(
r
.
multiple
)
return
((
p
=
a
.
value
)
==
null
?
void
0
:
p
.
split
(
","
)).
map
((
v
)
=>
{
const
E
=
v
.
split
(
"_"
);
return
E
.
length
>
1
?
E
[
1
]
:
E
[
0
];
});
const
u
=
a
.
value
.
split
(
"_"
);
return
u
.
length
>
1
?
u
[
1
]
:
u
[
0
];
}
return
a
.
value
;
},
set
(
p
)
{
if
(
Array
.
isArray
(
p
))
{
const
u
=
p
.
map
((
m
)
=>
`
${
l
.
value
.
find
((
E
)
=>
E
.
value
===
m
).
parentId
}
_
${
m
}
`
);
e
(
"change"
,
u
.
length
===
0
?
null
:
u
.
join
(
","
));
}
else
{
const
u
=
l
.
value
.
find
((
m
)
=>
m
.
value
===
p
);
e
(
"change"
,
`
${
u
.
parentId
}
_
${
p
}
`
);
}
}
}),
h
=
j
(()
=>
{
const
p
=
Array
.
isArray
(
d
.
value
)
?
d
.
value
:
[
d
.
value
];
return
l
.
value
.
filter
((
u
)
=>
p
.
includes
(
u
.
value
)).
map
((
u
)
=>
u
.
text
).
join
(
","
);
}),
y
=
P
();
return
a
.
autoFocus
&&
L
(
y
,
(
p
)
=>
{
p
&&
p
.
toggleMenu
();
}),
{
ns
:
s
,
ns1
:
t
,
c
:
r
,
curValue
:
d
,
items
:
l
,
valueText
:
h
,
hasChildren
:
n
,
onOpenChange
:
(
p
)
=>
{
e
(
"operate"
,
p
);
},
inputRef
:
y
,
onSelect
:
(
p
)
=>
{
d
.
value
=
p
;
},
customItemText
:
(
p
)
=>
p
&&
Object
.
keys
(
p
).
length
>
0
?
r
.
customLabel
.
replace
(
/
\$\{([^
}
]
+
)\}
/g
,
(
u
,
m
)
=>
Object
.
hasOwnProperty
.
call
(
p
,
m
)
?
p
[
m
]
:
""
)
:
""
};
},
render
(
a
)
{
return
a
(
"div"
,
{
class
:
[
this
.
ns
.
b
(),
this
.
ns1
.
b
(),
this
.
c
.
model
.
editorType
===
"DROPDOWNLIST_100"
?
this
.
ns
.
m
(
"width_100"
)
:
""
,
this
.
disabled
?
this
.
ns
.
m
(
"disabled"
)
:
""
,
this
.
readonly
?
this
.
ns
.
m
(
"readonly"
)
:
""
]
},
[[
this
.
readonly
&&
this
.
valueText
,
!
this
.
readonly
&&
this
.
hasChildren
&&
a
(
"app-select-tree"
,
{
class
:
[
this
.
ns
.
e
(
"tree-select"
)],
attrs
:
{
value
:
this
.
curValue
,
"nodes-data"
:
this
.
items
,
disabled
:
this
.
disabled
,
multiple
:
this
.
c
.
multiple
}
}),
!
this
.
readonly
&&
!
this
.
hasChildren
&&
a
(
"iSelect"
,
{
ref
:
"inputRef"
,
class
:
this
.
ns
.
e
(
"select"
),
props
:
{
...
this
.
c
.
customProps
,
value
:
this
.
curValue
,
allowClear
:
!
0
,
transfer
:
!
0
,
filterable
:
!
0
,
clearable
:
!
0
,
multiple
:
this
.
c
.
multiple
,
placeholder
:
this
.
c
.
placeHolder
,
disabled
:
this
.
disabled
},
on
:
{
"on-change"
:
this
.
onSelect
,
"on-open-change"
:
this
.
onOpenChange
}
},
[
this
.
items
.
map
((
e
)
=>
a
(
"i-option"
,
{
attrs
:
{
value
:
e
.
value
,
tag
:
e
.
text
,
label
:
`
${
e
.
parent
.
text
}
_
${
e
.
text
}
`
}
},
[
this
.
c
.
customLabel
?
this
.
customItemText
(
e
.
data
)
:
`
${
e
.
parent
.
text
}
_
${
e
.
text
}
`
]))])]]);
}
});
class
Ze
{
constructor
()
{
P
(
this
,
"component"
,
"IBizFormDataComparison"
);
b
(
this
,
"component"
,
"IBizFormDataComparison"
);
}
}
class
$e
extends
Ee
{
async
execAction
(
a
,
e
,
t
,
i
)
{
const
n
=
{},
c
=
a
.
getPSAppDataEntity
();
if
(
c
)
{
c
.
isFill
===
!
1
&&
await
c
.
fill
(
!
0
);
const
g
=
new
H
(
c
);
await
g
.
init
();
const
{
resultContext
:
u
}
=
await
this
.
handleParams
(
a
,
class
Qe
extends
xe
{
async
execAction
(
e
,
s
,
t
,
r
)
{
const
n
=
{},
l
=
e
.
getPSAppDataEntity
();
if
(
l
)
{
l
.
isFill
===
!
1
&&
await
l
.
fill
(
!
0
);
const
w
=
new
J
(
l
);
await
w
.
init
();
const
{
resultContext
:
d
}
=
await
this
.
handleParams
(
e
,
s
,
t
,
i
),
m
=
ibiz
.
resourcePathUtil
.
calcPaths
(
u
,
g
.
codeName
),
w
=
K
(
u
,
m
);
let
l
=
`
${
w
}
/
${
g
.
deNamePlural
}
/importtemplate`
,
v
=
`
${
w
}
/
${
g
.
deNamePlural
}
/importdata2`
;
const
f
=
a
.
getPSAppDEDataImport
();
f
&&
(
l
+=
`?srfimporttag=
${
f
.
codeName
}
`
,
v
+=
`?srfimporttag=
${
f
.
codeName
}
`
);
const
C
=
ibiz
.
overlay
.
createModal
(
r
),
h
=
ibiz
.
resourcePathUtil
.
calcPaths
(
d
,
w
.
codeName
),
y
=
K
(
d
,
h
);
let
c
=
`
${
y
}
/
${
w
.
deNamePlural
}
/importtemplate`
,
D
=
`
${
y
}
/
${
w
.
deNamePlural
}
/importdata2`
;
const
g
=
e
.
getPSAppDEDataImport
();
g
&&
(
c
+=
`?srfimporttag=
${
g
.
codeName
}
`
,
D
+=
`?srfimporttag=
${
g
.
codeName
}
`
);
const
p
=
ibiz
.
overlay
.
createModal
(
"CustomDataImport"
,
{
templateUrl
:
l
,
importUrl
:
v
,
dismiss
:
(
h
)
=>
{
C
.
dismiss
(
h
);
templateUrl
:
c
,
importUrl
:
D
,
dismiss
:
(
u
)
=>
{
p
.
dismiss
(
u
);
}
},
{
...
...
@@ -1395,73 +1605,73 @@ class $e extends Ee {
placement
:
"center"
}
);
return
C
.
present
(),
await
C
.
onWillDismiss
(),
{
return
p
.
present
(),
await
p
.
onWillDismiss
(),
{
refresh
:
!
0
};
}
return
n
;
}
}
class
He
{
class
et
{
constructor
()
{
P
(
this
,
"handler"
);
b
(
this
,
"handler"
);
}
async
getHandler
()
{
return
this
.
handler
||
(
this
.
handler
=
new
$
e
()),
this
.
handler
;
return
this
.
handler
||
(
this
.
handler
=
new
Q
e
()),
this
.
handler
;
}
}
class
Ge
{
class
tt
{
constructor
()
{
P
(
this
,
"gridEditor"
,
"YearMonthPicker"
);
P
(
this
,
"formEditor"
,
"YearMonthPicker"
);
b
(
this
,
"gridEditor"
,
"YearMonthPicker"
);
b
(
this
,
"formEditor"
,
"YearMonthPicker"
);
}
async
createController
(
a
,
e
)
{
const
t
=
new
Ie
(
a
,
e
);
async
createController
(
e
,
s
)
{
const
t
=
new
Ne
(
e
,
s
);
return
await
t
.
init
(),
t
;
}
}
class
We
{
class
st
{
constructor
()
{
P
(
this
,
"formEditor"
,
"DownLoadSafeFile"
);
P
(
this
,
"gridEditor"
,
"DownLoadSafeFile"
);
b
(
this
,
"formEditor"
,
"DownLoadSafeFile"
);
b
(
this
,
"gridEditor"
,
"DownLoadSafeFile"
);
}
async
createController
(
a
,
e
)
{
const
t
=
new
Se
(
a
,
e
);
async
createController
(
e
,
s
)
{
const
t
=
new
Oe
(
e
,
s
);
return
await
t
.
init
(),
t
;
}
}
class
qe
extends
r
e
{
async
execAction
(
a
,
e
,
t
,
i
,
n
)
{
const
c
=
{},
{
frontProcessType
:
g
}
=
a
;
if
(
g
===
"OPENHTMLPAGE"
)
{
const
u
=
ne
.
fill
(
a
.
htmlPageUrl
,
e
,
t
==
null
?
void
0
:
t
[
0
]);
window
.
open
(
u
,
"_blank"
);
class
at
extends
i
e
{
async
execAction
(
e
,
s
,
t
,
r
,
n
)
{
const
l
=
{},
{
frontProcessType
:
w
}
=
e
;
if
(
w
===
"OPENHTMLPAGE"
)
{
const
d
=
ue
.
fill
(
e
.
htmlPageUrl
,
s
,
t
==
null
?
void
0
:
t
[
0
]);
window
.
open
(
d
,
"_blank"
);
}
if
(
g
===
"DATAIMP"
)
{
const
u
=
a
.
getPSAppDataEntity
();
if
(
u
)
{
u
.
isFill
===
!
1
&&
await
u
.
fill
(
!
0
);
const
m
=
new
H
(
u
);
await
m
.
init
();
const
{
resultContext
:
w
}
=
await
this
.
handleParams
(
a
,
if
(
w
===
"DATAIMP"
)
{
const
d
=
e
.
getPSAppDataEntity
();
if
(
d
)
{
d
.
isFill
===
!
1
&&
await
d
.
fill
(
!
0
);
const
h
=
new
J
(
d
);
await
h
.
init
();
const
{
resultContext
:
y
}
=
await
this
.
handleParams
(
e
,
s
,
t
,
i
),
l
=
ibiz
.
resourcePathUtil
.
calcPaths
(
w
,
m
.
codeName
),
v
=
K
(
w
,
l
);
let
f
=
`
${
v
}
/
${
m
.
deNamePlural
}
/importtemplate`
,
C
=
`
${
v
}
/
${
m
.
deNamePlural
}
/importdata2`
;
const
h
=
a
.
getPSAppDEDataImport
();
h
&&
(
f
+=
`?srfimporttag=
${
h
.
codeName
}
`
,
C
+=
`?srfimporttag=
${
h
.
codeName
}
`
);
const
p
=
ibiz
.
overlay
.
createModal
(
r
),
c
=
ibiz
.
resourcePathUtil
.
calcPaths
(
y
,
h
.
codeName
),
D
=
K
(
y
,
c
);
let
g
=
`
${
D
}
/
${
h
.
deNamePlural
}
/importtemplate`
,
p
=
`
${
D
}
/
${
h
.
deNamePlural
}
/importdata2`
;
const
u
=
e
.
getPSAppDEDataImport
();
u
&&
(
g
+=
`?srfimporttag=
${
u
.
codeName
}
`
,
p
+=
`?srfimporttag=
${
u
.
codeName
}
`
);
const
m
=
ibiz
.
overlay
.
createModal
(
"DataImport"
,
{
templateUrl
:
f
,
importUrl
:
C
,
dismiss
:
(
y
)
=>
{
p
.
dismiss
(
y
);
templateUrl
:
g
,
importUrl
:
p
,
dismiss
:
(
v
)
=>
{
m
.
dismiss
(
v
);
}
},
{
...
...
@@ -1469,126 +1679,126 @@ class qe extends re {
placement
:
"center"
}
);
return
p
.
present
(),
await
p
.
onWillDismiss
(),
{
return
m
.
present
(),
await
m
.
onWillDismiss
(),
{
refresh
:
!
0
};
}
}
if
([
"TOP"
,
"WIZARD"
].
includes
(
g
))
{
const
u
=
a
.
getFrontPSAppView
();
if
(
!
u
)
if
([
"TOP"
,
"WIZARD"
].
includes
(
w
))
{
const
d
=
e
.
getFrontPSAppView
();
if
(
!
d
)
throw
new
Error
(
"未配置打开视图"
);
await
u
.
fill
(
!
0
);
const
{
resultContext
:
m
,
resultParams
:
w
}
=
await
this
.
handleParams
(
a
,
await
d
.
fill
(
!
0
);
const
{
resultContext
:
h
,
resultParams
:
y
}
=
await
this
.
handleParams
(
e
,
s
,
t
,
i
),
l
=
await
ibiz
.
commands
.
execute
(
q
.
TAG
,
u
,
m
,
w
,
r
),
c
=
await
ibiz
.
commands
.
execute
(
W
.
TAG
,
d
,
h
,
y
,
n
);
(
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
);
(
c
==
null
?
void
0
:
c
.
ok
)
===
!
1
&&
(
l
.
closeView
=
!
1
,
l
.
refresh
=
!
1
,
l
.
cancel
=
!
0
),
c
!=
null
&&
c
.
ok
&&
c
.
data
&&
(
l
.
data
=
c
.
data
);
}
else
if
(
n
)
{
const
{
neuron
:
u
}
=
n
,
w
=
u
.
call
.
getFormController
().
call
.
getFormController
(),
{
druipart1
:
l
,
druipart2
:
v
,
druipart3
:
f
}
=
w
.
details
;
const
{
neuron
:
d
}
=
n
,
y
=
d
.
call
.
getFormController
().
call
.
getFormController
(),
{
druipart1
:
c
,
druipart2
:
D
,
druipart3
:
g
}
=
y
.
details
;
[
{
message
:
"服务履历为空"
,
neuron
:
l
neuron
:
c
},
{
message
:
"教育经验为空"
,
neuron
:
v
neuron
:
D
},
{
message
:
"项目经验为空"
,
neuron
:
f
neuron
:
g
}
].
some
((
p
)
=>
{
const
y
=
p
.
neuron
.
neuron
.
call
.
getGridController
();
if
(
y
)
{
const
F
=
y
.
call
.
getGridController
();
if
(
F
&&
F
.
items
&&
F
.
items
.
length
>
0
)
].
some
((
m
)
=>
{
const
v
=
m
.
neuron
.
neuron
.
call
.
getGridController
();
if
(
v
)
{
const
E
=
v
.
call
.
getGridController
();
if
(
E
&&
E
.
items
&&
E
.
items
.
length
>
0
)
return
!
1
;
}
return
ibiz
.
message
.
error
(
`
${
p
.
message
}
`
,
1.5
,
!
0
),
!
0
;
})
||
await
u
.
call
.
wfStart
();
return
ibiz
.
message
.
error
(
`
${
m
.
message
}
`
,
1.5
,
!
0
),
!
0
;
})
||
await
d
.
call
.
wfStart
();
}
return
c
;
return
l
;
}
}
class
Ke
{
class
rt
{
constructor
()
{
P
(
this
,
"handler"
);
b
(
this
,
"handler"
);
}
async
getHandler
()
{
return
this
.
handler
||
(
this
.
handler
=
new
qe
()),
this
.
handler
;
return
this
.
handler
||
(
this
.
handler
=
new
at
()),
this
.
handler
;
}
}
class
Je
{
class
ot
{
constructor
()
{
P
(
this
,
"component"
,
"FormMDCtrlFormStyle2"
);
b
(
this
,
"component"
,
"FormMDCtrlFormStyle2"
);
}
async
createController
(
a
,
e
,
t
)
{
const
i
=
new
le
(
a
,
e
,
t
);
return
await
i
.
init
(),
i
;
async
createController
(
e
,
s
,
t
)
{
const
r
=
new
pe
(
e
,
s
,
t
);
return
await
r
.
init
(),
r
;
}
}
class
Xe
{
class
nt
{
constructor
()
{
P
(
this
,
"formEditor"
,
"AutoSelectAll"
);
P
(
this
,
"gridEditor"
,
"AutoSelectAll"
);
b
(
this
,
"formEditor"
,
"AutoSelectAll"
);
b
(
this
,
"gridEditor"
,
"AutoSelectAll"
);
}
async
createController
(
a
,
e
)
{
const
t
=
new
oe
(
a
,
e
);
async
createController
(
e
,
s
)
{
const
t
=
new
ce
(
e
,
s
);
return
await
t
.
init
(),
t
;
}
}
class
Ze
{
class
it
{
constructor
()
{
P
(
this
,
"formEditor"
,
"MPickerCheckbox"
);
P
(
this
,
"gridEditor"
,
"IBizGridPicker"
);
b
(
this
,
"formEditor"
,
"MPickerCheckbox"
);
b
(
this
,
"gridEditor"
,
"IBizGridPicker"
);
}
async
createController
(
a
,
e
)
{
const
t
=
new
oe
(
a
,
e
);
async
createController
(
e
,
s
)
{
const
t
=
new
ce
(
e
,
s
);
return
await
t
.
init
(),
t
;
}
}
class
Qe
extends
r
e
{
async
execAction
(
a
,
e
,
t
,
i
,
n
)
{
const
c
=
{},
{
frontProcessType
:
g
}
=
a
;
if
(
g
===
"OPENHTMLPAGE"
)
{
const
u
=
ne
.
fill
(
a
.
htmlPageUrl
,
e
,
t
==
null
?
void
0
:
t
[
0
]);
window
.
open
(
u
,
"_blank"
);
class
lt
extends
i
e
{
async
execAction
(
e
,
s
,
t
,
r
,
n
)
{
const
l
=
{},
{
frontProcessType
:
w
}
=
e
;
if
(
w
===
"OPENHTMLPAGE"
)
{
const
d
=
ue
.
fill
(
e
.
htmlPageUrl
,
s
,
t
==
null
?
void
0
:
t
[
0
]);
window
.
open
(
d
,
"_blank"
);
}
if
(
g
===
"DATAIMP"
)
{
const
u
=
a
.
getPSAppDataEntity
();
if
(
u
)
{
u
.
isFill
===
!
1
&&
await
u
.
fill
(
!
0
);
const
m
=
new
H
(
u
);
await
m
.
init
();
const
{
resultContext
:
w
}
=
await
this
.
handleParams
(
a
,
if
(
w
===
"DATAIMP"
)
{
const
d
=
e
.
getPSAppDataEntity
();
if
(
d
)
{
d
.
isFill
===
!
1
&&
await
d
.
fill
(
!
0
);
const
h
=
new
J
(
d
);
await
h
.
init
();
const
{
resultContext
:
y
}
=
await
this
.
handleParams
(
e
,
s
,
t
,
i
),
l
=
ibiz
.
resourcePathUtil
.
calcPaths
(
w
,
m
.
codeName
),
v
=
K
(
w
,
l
);
let
f
=
`
${
v
}
/
${
m
.
deNamePlural
}
/importtemplate`
,
C
=
`
${
v
}
/
${
m
.
deNamePlural
}
/importdata2`
;
const
h
=
a
.
getPSAppDEDataImport
();
h
&&
(
f
+=
`?srfimporttag=
${
h
.
codeName
}
`
,
C
+=
`?srfimporttag=
${
h
.
codeName
}
`
);
const
p
=
ibiz
.
overlay
.
createModal
(
r
),
c
=
ibiz
.
resourcePathUtil
.
calcPaths
(
y
,
h
.
codeName
),
D
=
K
(
y
,
c
);
let
g
=
`
${
D
}
/
${
h
.
deNamePlural
}
/importtemplate`
,
p
=
`
${
D
}
/
${
h
.
deNamePlural
}
/importdata2`
;
const
u
=
e
.
getPSAppDEDataImport
();
u
&&
(
g
+=
`?srfimporttag=
${
u
.
codeName
}
`
,
p
+=
`?srfimporttag=
${
u
.
codeName
}
`
);
const
m
=
ibiz
.
overlay
.
createModal
(
"DataImport"
,
{
templateUrl
:
f
,
importUrl
:
C
,
dismiss
:
(
y
)
=>
{
p
.
dismiss
(
y
);
templateUrl
:
g
,
importUrl
:
p
,
dismiss
:
(
v
)
=>
{
m
.
dismiss
(
v
);
}
},
{
...
...
@@ -1596,97 +1806,121 @@ class Qe extends re {
placement
:
"center"
}
);
return
p
.
present
(),
await
p
.
onWillDismiss
(),
{
return
m
.
present
(),
await
m
.
onWillDismiss
(),
{
refresh
:
!
0
};
}
}
if
([
"TOP"
,
"WIZARD"
].
includes
(
g
))
{
const
u
=
a
.
getFrontPSAppView
();
if
(
!
u
)
if
([
"TOP"
,
"WIZARD"
].
includes
(
w
))
{
const
d
=
e
.
getFrontPSAppView
();
if
(
!
d
)
throw
new
Error
(
"未配置打开视图"
);
await
u
.
fill
(
!
0
);
const
{
resultContext
:
m
,
resultParams
:
w
}
=
await
this
.
handleParams
(
a
,
await
d
.
fill
(
!
0
);
const
{
resultContext
:
h
,
resultParams
:
y
}
=
await
this
.
handleParams
(
e
,
s
,
t
,
i
),
l
=
await
ibiz
.
commands
.
execute
(
q
.
TAG
,
u
,
m
,
w
,
r
),
c
=
await
ibiz
.
commands
.
execute
(
W
.
TAG
,
d
,
h
,
y
,
n
);
(
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
);
(
c
==
null
?
void
0
:
c
.
ok
)
===
!
1
&&
(
l
.
closeView
=
!
1
,
l
.
refresh
=
!
1
,
l
.
cancel
=
!
0
),
c
!=
null
&&
c
.
ok
&&
c
.
data
&&
(
l
.
data
=
c
.
data
);
}
else
if
(
t
&&
t
.
length
>
0
&&
n
)
{
const
{
neuron
:
u
}
=
n
,
l
=
await
u
.
call
.
getFormController
().
call
.
getFormController
().
autoSave
();
l
&&
l
.
rcryqd
&&
Array
.
isArray
(
l
.
rcryqd
)
&&
l
.
rcryqd
.
length
>
0
?
await
u
.
call
.
wfStart
()
:
ibiz
.
message
.
error
(
"入场信息为空"
);
const
{
neuron
:
d
}
=
n
,
c
=
await
d
.
call
.
getFormController
().
call
.
getFormController
().
autoSave
();
c
&&
c
.
rcryqd
&&
Array
.
isArray
(
c
.
rcryqd
)
&&
c
.
rcryqd
.
length
>
0
?
await
d
.
call
.
wfStart
()
:
ibiz
.
message
.
error
(
"入场信息为空"
);
}
return
c
;
return
l
;
}
}
class
e
t
{
class
c
t
{
constructor
()
{
P
(
this
,
"handler"
);
b
(
this
,
"handler"
);
}
async
getHandler
()
{
return
this
.
handler
||
(
this
.
handler
=
new
Qe
()),
this
.
handler
;
return
this
.
handler
||
(
this
.
handler
=
new
lt
()),
this
.
handler
;
}
}
class
tt
{
class
dt
{
constructor
()
{
b
(
this
,
"component"
,
"FormDruipart"
);
}
async
createController
(
e
,
s
,
t
)
{
const
r
=
new
He
(
e
,
s
,
t
);
return
await
r
.
init
(),
r
;
}
}
class
ut
{
constructor
()
{
P
(
this
,
"component"
,
"FormDruipart
"
);
b
(
this
,
"component"
,
"WfEditView
"
);
}
async
createController
(
a
,
e
,
t
)
{
const
i
=
new
Be
(
a
,
e
,
t
);
return
await
i
.
init
(),
i
;
}
class
mt
{
constructor
()
{
b
(
this
,
"component"
,
"ConversionTextEditFormControl"
);
}
}
class
a
t
{
class
p
t
{
constructor
()
{
P
(
this
,
"component"
,
"WfEditView"
);
b
(
this
,
"formEditor"
,
"DropdownListJoin"
);
b
(
this
,
"gridEditor"
,
"DropdownListJoin"
);
}
async
createController
(
e
,
s
)
{
const
t
=
new
Te
(
e
,
s
);
return
await
t
.
init
(),
t
;
}
}
const
p
t
=
{
const
A
t
=
{
mateUrl
:
import
.
meta
.
url
,
install
(
s
)
{
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"
,
ze
),
ibiz
.
register
.
control
.
register
(
install
(
a
)
{
me
.
loadStyle
([
"/style.css"
]),
a
.
component
(
"IBizFormDataComparison"
,
Ve
),
a
.
component
(
"CustomDataImport"
,
_e
),
a
.
component
(
"YearMonthPicker"
,
je
),
a
.
component
(
"DownLoadSafeFile"
,
Be
),
a
.
component
(
"FormMDCtrlFormStyle2"
,
ze
),
a
.
component
(
"AutoSelectAll"
,
$e
),
a
.
component
(
"MPickerCheckbox"
,
Ye
),
a
.
component
(
"WfEditView"
,
Je
),
a
.
component
(
"ConversionTextEditFormControl"
,
Ke
),
a
.
component
(
"DropdownListJoin"
,
Xe
),
ibiz
.
register
.
editor
.
register
(
"EDITOR_CUSTOMSTYLE_JOIN_PARENT_CHILD"
,
new
pt
()
),
ibiz
.
register
.
control
.
register
(
"EDITFORM_RENDER_CONVERSION_TEXT"
,
new
mt
()
),
ibiz
.
register
.
control
.
register
(
"EDITFORM_RENDER_FORM_DATA_COMPARISON"
,
new
Y
e
()
new
Z
e
()
),
ibiz
.
register
.
uiAction
.
register
(
"DEUIACTION_CUSTOM_IMPORT"
,
new
He
()
new
et
()
),
ibiz
.
register
.
editor
.
register
(
"DATEPICKEREX_NOTIME_YEAR_MONTH_PICKER"
,
new
Ge
()
new
tt
()
),
ibiz
.
register
.
editor
.
register
(
"FILEUPLOADER_ONE_DOWNLOAD_FILE"
,
new
We
()
new
st
()
),
ibiz
.
register
.
uiAction
.
register
(
"DEUIACTION_JUDEG_ENABLE_UPDATE"
,
new
Ke
()
new
rt
()
),
ibiz
.
register
.
formDetail
.
register
(
"FORM_USERCONTROL_MUL_FORM_CARD"
,
new
Je
()
new
ot
()
),
ibiz
.
register
.
editor
.
register
(
"EDITOR_CUSTOMSTYLE_AUTO_SELECT_ALL"
,
new
Xe
()
new
nt
()
),
ibiz
.
register
.
editor
.
register
(
"EDITOR_CUSTOMSTYLE_MULTIPLE_CHECKBOX"
,
new
Ze
()
new
it
()
),
ibiz
.
register
.
uiAction
.
register
(
"DEUIACTION_check_rcxx"
,
new
e
t
()
new
c
t
()
),
ibiz
.
register
.
formDetail
.
register
(
"FORM_USERCONTROL_DRUIPART_ENABLEINITLOAD"
,
new
t
t
()
new
d
t
()
),
ibiz
.
register
.
view
.
register
(
"VIEW_CUSTOM_CUSTOM_WF"
,
new
a
t
()
new
u
t
()
);
}
};
export
{
p
t
as
default
A
t
as
default
};
app_Web/public/plugins/@ibiz-template-plugin/sy-dsf-web@0.0.3/dist/index.legacy.js
浏览文件 @
0699f4a4
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
app_Web/public/plugins/@ibiz-template-plugin/sy-dsf-web@0.0.3/dist/style.css
浏览文件 @
0699f4a4
@charset
"UTF-8"
;
.ibiz-form-data-comparison
{
height
:
calc
(
100%
-
20px
);
overflow
:
auto
}
.ibiz-form-data-comparison
*
{
animation
:
none
!important
;
transition
:
none
!important
;
transform
:
none
!important
;
will-change
:
unset
!important
}
.ibiz-form-data-comparison__content
{
display
:
flex
}
.ibiz-form-data-comparison__top-hidesame-content
{
display
:
flex
;
place-content
:
center
space-between
;
align-items
:
center
;
height
:
50px
;
margin-bottom
:
10px
}
.ibiz-form-data-comparison__top-content
{
display
:
flex
;
width
:
100%
;
text-align
:
center
;
background-color
:
#f2f2f2
;
border-left
:
1px
solid
lightgray
}
.ibiz-form-data-comparison__top-content--attr
{
width
:
200px
;
border
:
1px
solid
lightgray
;
padding
:
5px
10px
}
.ibiz-form-data-comparison__top-content--left
{
flex
:
1
;
width
:
calc
(
100%
-
100px
);
border
:
1px
solid
lightgray
;
padding
:
5px
10px
}
.ibiz-form-data-comparison__top-content--right
{
flex
:
1
;
border
:
1px
solid
lightgray
;
width
:
calc
(
100%
-
100px
);
padding
:
5px
10px
}
.ibiz-form-data-comparison__top-hidesame-content-right
{
display
:
flex
;
flex-flow
:
row
nowrap
;
place-content
:
center
center
;
align-items
:
center
}
.ibiz-form-data-comparison__top-hidesame-content-right-item
{
display
:
flex
;
flex-direction
:
row
;
place-content
:
center
space-around
;
align-items
:
center
;
width
:
60px
;
height
:
30px
}
.ibiz-form-data-comparison__top-hidesame-content-right-item-add
{
width
:
16px
;
height
:
16px
;
background
:
#d5f3e0
}
.ibiz-form-data-comparison__top-hidesame-content-right-item-change
{
width
:
16px
;
height
:
16px
;
background
:
#fceecd
}
.ibiz-form-data-comparison__top-hidesame-content-right-item-delete
{
width
:
16px
;
height
:
16px
;
background
:
#ffd5d5
}
.ibiz-form-data-comparison__form-grid-item
{
--ibiz-text-color-readonly
:
black
;
display
:
flex
;
width
:
100%
}
.ibiz-form-data-comparison__form-grid-item--name
{
border
:
1px
solid
lightgray
;
padding
:
5px
10px
;
width
:
200px
;
text-align
:
center
}
.ibiz-form-data-comparison__form-grid-item--left
,
.ibiz-form-data-comparison__form-grid-item--right
{
border
:
1px
solid
lightgray
;
padding
:
5px
10px
;
flex
:
1
;
text-align
:
center
}
.ibiz-form-data-comparison__form-grid-item.is-add
.ibiz-form-data-comparison__form-grid-item--left
,
.ibiz-form-data-comparison__form-grid-item.is-add
.ibiz-form-data-comparison__form-grid-item--right
{
background-color
:
#d5f3e0
}
.ibiz-form-data-comparison__form-grid-item.is-update
.ibiz-form-data-comparison__form-grid-item--left
,
.ibiz-form-data-comparison__form-grid-item.is-update
.ibiz-form-data-comparison__form-grid-item--right
{
background-color
:
#fceecd
}
.ibiz-form-data-comparison__form-grid-item.is-delete
.ibiz-form-data-comparison__form-grid-item--left
,
.ibiz-form-data-comparison__form-grid-item.is-delete
.ibiz-form-data-comparison__form-grid-item--right
{
background-color
:
#ffd5d5
}
.ibiz-form-data-comparison__form-page
{
width
:
100%
}
.ibiz-form-data-comparison__druipart
{
display
:
flex
;
max-height
:
360px
}
.ibiz-form-data-comparison__druipart--caption
{
width
:
200px
;
border
:
1px
solid
lightgray
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
}
.ibiz-form-data-comparison__druipart--left
{
border
:
1px
solid
lightgray
;
padding
:
16px
;
flex
:
1
;
width
:
calc
(
50%
-
100px
)}
.ibiz-form-data-comparison__druipart--right
{
border
:
1px
solid
lightgray
;
flex
:
1
;
padding
:
16px
;
width
:
calc
(
50%
-
100px
)}
.ibiz-form-data-comparison__druipart.is-add
.ibiz-form-data-comparison__druipart--left
,
.ibiz-form-data-comparison__druipart.is-add
.ibiz-form-data-comparison__druipart--right
{
background-color
:
#d5f3e0
}
.ibiz-form-data-comparison__druipart.is-update
.ibiz-form-data-comparison__druipart--left
,
.ibiz-form-data-comparison__druipart.is-update
.ibiz-form-data-comparison__druipart--right
{
background-color
:
#fceecd
}
.ibiz-form-data-comparison__druipart.is-delete
.ibiz-form-data-comparison__druipart--left
,
.ibiz-form-data-comparison__druipart.is-delete
.ibiz-form-data-comparison__druipart--right
{
background-color
:
#ffd5d5
}
.ibiz-form-data-comparison-group
{
width
:
100%
}
.ibiz-form-data-comparison-group__header
{
width
:
100%
;
border-left
:
1px
solid
lightgray
;
display
:
flex
}
.ibiz-form-data-comparison-group__header--name
{
width
:
200px
;
border
:
1px
solid
lightgray
;
max-width
:
200px
;
text-align
:
center
;
position
:
relative
;
font-size
:
14px
;
padding
:
4px
}
.ibiz-form-data-comparison-group__header
div
{
flex
:
1
;
text-align
:
center
;
border
:
1px
solid
lightgray
}
.ibiz-form-data-comparison-group__header--icon
{
position
:
absolute
;
font-size
:
24px
;
left
:
4px
;
cursor
:
pointer
}
.ibiz-form-data-comparison-group__header--name-text
{
flex
:
1
}
.ibiz-form-data-comparison-group__header.is-hide-caption
{
display
:
none
}
.ibiz-form-data-comparison-group__content
{
border-left
:
1px
solid
lightgray
}
.ibiz-form-data-comparison-group__content.is-collapse
{
display
:
none
}
.ibiz-data-import.is-custom
.ibiz-data-import__date
{
margin-bottom
:
16px
}
.ibiz-data-import.is-custom
.ibiz-data-import__date
span
{
margin-right
:
8px
}
.ibiz-data-import.is-custom
.ibiz-data-import__date
:before
{
content
:
"*"
;
display
:
inline-block
;
margin-right
:
4px
;
line-height
:
1
;
font-family
:
SimSun
;
color
:
var
(
--ibiz-color-error
)}
.ibiz-date-picker
{
--ibiz-date-picker-font-size
:
var
(
--ibiz-font-size-base
);
--ibiz-date-picker-text-color
:
var
(
--ibiz-text-color
);
--ibiz-date-picker-border-color
:
var
(
--ibiz-border-color
);
--ibiz-date-picker-placeholder-color
:
var
(
--ibiz-text-color-placeholder
);
--ibiz-date-picker-disabled-text-color
:
var
(
--ibiz-disabled-text-color
);
--ibiz-date-picker-disabled-bg-color
:
var
(
--ibiz-disabled-bg-color
);
--ibiz-date-picker-disabled-border-color
:
var
(
--ibiz-disabled-border-color
);
--ibiz-date-picker-default-height
:
var
(
--ibiz-common-editor-size
)}
.ibiz-date-picker
.ivu-date-picker
{
width
:
100%
}
.ibiz-date-picker
.ivu-input
{
height
:
var
(
--ibiz-date-picker-default-height
);
border-radius
:
var
(
--ibiz-border-radius-small
)}
.ibiz-date-picker
.ivu-input
:hover
{
border-color
:
var
(
--ibiz-color-primary
)}
.ibiz-date-picker
.ivu-input
:focus
{
border-color
:
var
(
--ibiz-color-primary
)}
.ibiz-date-picker
input
{
font-size
:
var
(
--ibiz-date-picker-font-size
);
color
:
var
(
--ibiz-date-picker-text-color
);
border-color
:
var
(
--ibiz-date-picker-border-color
)}
.ibiz-date-picker
input
::placeholder
{
color
:
var
(
--ibiz-date-picker-placeholder-color
)}
.ibiz-date-picker
input
[
disabled
]
{
color
:
var
(
--ibiz-date-picker-disabled-text-color
);
background-color
:
var
(
--ibiz-date-picker-disabled-bg-color
);
border-color
:
var
(
--ibiz-date-picker-disabled-border-color
)}
.ibiz-date-picker--readonly
{
color
:
var
(
--ibiz-text-color-readonly
)}
.i
vu-date-picker-transfer
.ivu-btn-default
:hover
{
color
:
var
(
--ibiz-color-primary
);
border-color
:
var
(
--ibiz-color-priamry
)}
.ivu-date-picker-transfer
.ivu-btn-text
:hover
{
color
:
var
(
--ibiz-color-primary
)}
.ivu-date-picker-transfer
.ivu-btn-primary
{
background-color
:
var
(
--ibiz-color-primary
);
border-color
:
var
(
--ibiz-color-primary
)}
.ibiz-download-safe-file
a
{
text-decoration
:
underline
}
.ibiz-form-mdctrl-form-style2
{
width
:
100%
}
.ibiz-form-mdctrl-form-style2__header
{
display
:
flex
;
width
:
100%
;
border
:
1px
solid
#cccccc
;
background-color
:
#f9f9f9
}
.ibiz-form-mdctrl-form-style2__header-item
{
display
:
flex
;
gap
:
var
(
--ibiz-padding
);
align-items
:
center
;
padding
:
calc
(
var
(
--ibiz-padding
)
/
2
)
var
(
--ibiz-padding
);
border-right
:
1px
solid
#cccccc
;
cursor
:
pointer
}
.ibiz-form-mdctrl-form-style2__header-item--delete
{
display
:
flex
;
align-items
:
center
}
.ibiz-form-mdctrl-form-style2__header-item--delete
:hover
{
color
:
var
(
--ibiz-color-primary
)}
.ibiz-form-mdctrl-form-style2__header-item.is-actived
{
background-color
:
#fff
}
.ibiz-form-mdctrl-form-style2__add
{
gap
:
4px
}
.ibiz-form-mdctrl-form-style2__add
:hover
{
color
:
var
(
--ibiz-color-primary
)}
.ibiz-form-mdctrl-form-style2__content
{
display
:
none
}
.ibiz-form-mdctrl-form-style2__content.is-actived
{
display
:
block
}
.ibiz-form-mdctrl-form-style2
.ibiz-form
.ibiz-form-page-item
.ibiz-form-col__grouppanel
.ibiz-form-group
{
margin
:
0
;
width
:
100%
;
height
:
100%
;
padding
:
0
}
.ibiz-mpicker
{
--ibiz-mpicker-font-size
:
var
(
--ibiz-font-size-base
);
--ibiz-mpicker-text-color
:
var
(
--ibiz-text-color
);
--ibiz-mpicker-border-color
:
var
(
--ibiz-border-color
);
--ibiz-mpicker-placeholder-color
:
var
(
--ibiz-text-color-placeholder
);
--ibiz-mpicker-default-height
:
var
(
--ibiz-common-editor-size
);
--ibiz-mpicker-default-input-height
:
var
(
--ibiz-common-editor-size-small
);
--ibiz-mpicker-border-radius
:
var
(
--ibiz-border-radius-small
);
--ibiz-mpicker-hover-color
:
var
(
--ibiz-color-primary
);
--ibiz-mpicker-tag-height
:
calc
(
var
(
--ibiz-common-editor-size-small
)
-
4px
);
display
:
flex
;
width
:
100%
}
.ibiz-mpicker
input
::placeholder
{
color
:
var
(
--ibiz-mpicker-placeholder-color
)}
.ibiz-mpicker
.ivu-select-multiple
.ivu-select-input
{
height
:
var
(
--ibiz-mpicker-default-input-height
);
line-height
:
var
(
--ibiz-mpicker-default-input-height
)}
.ibiz-mpicker
.ivu-select
{
width
:
100%
}
.ibiz-mpicker
.ivu-select
.ivu-select-selection
{
min-height
:
var
(
--ibiz-mpicker-default-height
);
padding
:
0
var
(
--ibiz-padding-extra-tight
);
border-color
:
var
(
--ibiz-mpicker-border-color
);
border-radius
:
var
(
--ibiz-mpicker-border-radius
)}
.ibiz-mpicker
.ivu-select
.ivu-select-selection
>
div
{
display
:
flex
;
flex-wrap
:
wrap
}
.ibiz-mpicker
.ivu-select
.ivu-select-selection
:hover
,
.ibiz-mpicker
.ivu-select
.ivu-select-selection-focused
{
border-color
:
var
(
--ibiz-color-primary
)}
.ibiz-mpicker
.ivu-select
.ivu-tag
:hover
{
opacity
:
1
}
.ibiz-mpicker
.ivu-select
.ivu-tag.ivu-tag-checked
{
height
:
var
(
--ibiz-mpicker-tag-height
);
line-height
:
var
(
--ibiz-mpicker-tag-height
)}
.ibiz-mpicker
.ivu-select
.ivu-tag.ivu-tag-checked
.ivu-tag-text
{
font-size
:
var
(
--ibiz-mpicker-font-size
);
color
:
var
(
--ibiz-mpicker-text-color
)}
.ibiz-mpicker
.ivu-select
.ivu-tag.ivu-tag-checked
.ivu-tag-text
:hover
{
color
:
var
(
--ibiz-mpicker-hover-color
)}
.ibiz-mpicker
.ivu-select
.ivu-tag.ivu-tag-checked
.ivu-icon
{
top
:
calc
(
var
(
--ibiz-margin-tight
)
-
1px
)}
.ibiz-mpicker
.ivu-select-arrow
,
.ibiz-mpicker
.ivu-select-selection-focused
.ivu-select-arrow
,
.ibiz-mpicker
.ivu-select-selection
:hover
.ivu-select-arrow
{
display
:
none
}
.ibiz-mpicker__buns-position
{
position
:
relative
;
display
:
inline-block
}
.ibiz-mpicker__btns
{
position
:
absolute
;
right
:
0
;
height
:
var
(
--ibiz-mpicker-height
);
display
:
flex
}
.ibiz-mpicker__btns
.ivu-btn
{
border
:
none
}
.ibiz-mpicker__btns
.ivu-btn-text
:hover
{
background-color
:
unset
;
border-color
:
unset
}
.ibiz-mpicker__btns
.ivu-btn-text
:focus
{
box-shadow
:
unset
}
.ibiz-mpicker--disabled
.ivu-select-input
[
disabled
]
{
color
:
var
(
--ibiz-text-color-disabled
)}
.ibiz-mpicker--readonly
{
color
:
var
(
--ibiz-text-color-readonly
)
}
@charset
"UTF-8"
;
.ibiz-form-data-comparison
{
height
:
calc
(
100%
-
20px
);
overflow
:
auto
}
.ibiz-form-data-comparison
*
{
animation
:
none
!important
;
transition
:
none
!important
;
transform
:
none
!important
;
will-change
:
unset
!important
}
.ibiz-form-data-comparison__content
{
display
:
flex
}
.ibiz-form-data-comparison__top-hidesame-content
{
display
:
flex
;
place-content
:
center
space-between
;
align-items
:
center
;
height
:
50px
;
margin-bottom
:
10px
}
.ibiz-form-data-comparison__top-content
{
display
:
flex
;
width
:
100%
;
text-align
:
center
;
background-color
:
#f2f2f2
;
border-left
:
1px
solid
lightgray
}
.ibiz-form-data-comparison__top-content--attr
{
width
:
200px
;
border
:
1px
solid
lightgray
;
padding
:
5px
10px
}
.ibiz-form-data-comparison__top-content--left
{
flex
:
1
;
width
:
calc
(
100%
-
100px
);
border
:
1px
solid
lightgray
;
padding
:
5px
10px
}
.ibiz-form-data-comparison__top-content--right
{
flex
:
1
;
border
:
1px
solid
lightgray
;
width
:
calc
(
100%
-
100px
);
padding
:
5px
10px
}
.ibiz-form-data-comparison__top-hidesame-content-right
{
display
:
flex
;
flex-flow
:
row
nowrap
;
place-content
:
center
center
;
align-items
:
center
}
.ibiz-form-data-comparison__top-hidesame-content-right-item
{
display
:
flex
;
flex-direction
:
row
;
place-content
:
center
space-around
;
align-items
:
center
;
width
:
60px
;
height
:
30px
}
.ibiz-form-data-comparison__top-hidesame-content-right-item-add
{
width
:
16px
;
height
:
16px
;
background
:
#d5f3e0
}
.ibiz-form-data-comparison__top-hidesame-content-right-item-change
{
width
:
16px
;
height
:
16px
;
background
:
#fceecd
}
.ibiz-form-data-comparison__top-hidesame-content-right-item-delete
{
width
:
16px
;
height
:
16px
;
background
:
#ffd5d5
}
.ibiz-form-data-comparison__form-grid-item
{
--ibiz-text-color-readonly
:
black
;
display
:
flex
;
width
:
100%
}
.ibiz-form-data-comparison__form-grid-item--name
{
border
:
1px
solid
lightgray
;
padding
:
5px
10px
;
width
:
200px
;
text-align
:
center
}
.ibiz-form-data-comparison__form-grid-item--left
,
.ibiz-form-data-comparison__form-grid-item--right
{
border
:
1px
solid
lightgray
;
padding
:
5px
10px
;
flex
:
1
;
text-align
:
center
}
.ibiz-form-data-comparison__form-grid-item.is-add
.ibiz-form-data-comparison__form-grid-item--left
,
.ibiz-form-data-comparison__form-grid-item.is-add
.ibiz-form-data-comparison__form-grid-item--right
{
background-color
:
#d5f3e0
}
.ibiz-form-data-comparison__form-grid-item.is-update
.ibiz-form-data-comparison__form-grid-item--left
,
.ibiz-form-data-comparison__form-grid-item.is-update
.ibiz-form-data-comparison__form-grid-item--right
{
background-color
:
#fceecd
}
.ibiz-form-data-comparison__form-grid-item.is-delete
.ibiz-form-data-comparison__form-grid-item--left
,
.ibiz-form-data-comparison__form-grid-item.is-delete
.ibiz-form-data-comparison__form-grid-item--right
{
background-color
:
#ffd5d5
}
.ibiz-form-data-comparison__form-page
{
width
:
100%
}
.ibiz-form-data-comparison__druipart
{
display
:
flex
;
max-height
:
360px
}
.ibiz-form-data-comparison__druipart--caption
{
width
:
200px
;
border
:
1px
solid
lightgray
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
}
.ibiz-form-data-comparison__druipart--left
{
border
:
1px
solid
lightgray
;
padding
:
16px
;
flex
:
1
;
width
:
calc
(
50%
-
100px
)}
.ibiz-form-data-comparison__druipart--right
{
border
:
1px
solid
lightgray
;
flex
:
1
;
padding
:
16px
;
width
:
calc
(
50%
-
100px
)}
.ibiz-form-data-comparison__druipart.is-add
.ibiz-form-data-comparison__druipart--left
,
.ibiz-form-data-comparison__druipart.is-add
.ibiz-form-data-comparison__druipart--right
{
background-color
:
#d5f3e0
}
.ibiz-form-data-comparison__druipart.is-update
.ibiz-form-data-comparison__druipart--left
,
.ibiz-form-data-comparison__druipart.is-update
.ibiz-form-data-comparison__druipart--right
{
background-color
:
#fceecd
}
.ibiz-form-data-comparison__druipart.is-delete
.ibiz-form-data-comparison__druipart--left
,
.ibiz-form-data-comparison__druipart.is-delete
.ibiz-form-data-comparison__druipart--right
{
background-color
:
#ffd5d5
}
.ibiz-form-data-comparison-group
{
width
:
100%
}
.ibiz-form-data-comparison-group__header
{
width
:
100%
;
border-left
:
1px
solid
lightgray
;
display
:
flex
}
.ibiz-form-data-comparison-group__header--name
{
width
:
200px
;
border
:
1px
solid
lightgray
;
max-width
:
200px
;
text-align
:
center
;
position
:
relative
;
font-size
:
14px
;
padding
:
4px
}
.ibiz-form-data-comparison-group__header
div
{
flex
:
1
;
text-align
:
center
;
border
:
1px
solid
lightgray
}
.ibiz-form-data-comparison-group__header--icon
{
position
:
absolute
;
font-size
:
24px
;
left
:
4px
;
cursor
:
pointer
}
.ibiz-form-data-comparison-group__header--name-text
{
flex
:
1
}
.ibiz-form-data-comparison-group__header.is-hide-caption
{
display
:
none
}
.ibiz-form-data-comparison-group__content
{
border-left
:
1px
solid
lightgray
}
.ibiz-form-data-comparison-group__content.is-collapse
{
display
:
none
}
.ibiz-data-import.is-custom
.ibiz-data-import__date
{
margin-bottom
:
16px
}
.ibiz-data-import.is-custom
.ibiz-data-import__date
span
{
margin-right
:
8px
}
.ibiz-data-import.is-custom
.ibiz-data-import__date
:before
{
content
:
"*"
;
display
:
inline-block
;
margin-right
:
4px
;
line-height
:
1
;
font-family
:
SimSun
;
color
:
var
(
--ibiz-color-error
)}
.ibiz-date-picker
{
--ibiz-date-picker-font-size
:
var
(
--ibiz-font-size-base
);
--ibiz-date-picker-text-color
:
var
(
--ibiz-text-color
);
--ibiz-date-picker-border-color
:
var
(
--ibiz-border-color
);
--ibiz-date-picker-placeholder-color
:
var
(
--ibiz-text-color-placeholder
);
--ibiz-date-picker-disabled-text-color
:
var
(
--ibiz-disabled-text-color
);
--ibiz-date-picker-disabled-bg-color
:
var
(
--ibiz-disabled-bg-color
);
--ibiz-date-picker-disabled-border-color
:
var
(
--ibiz-disabled-border-color
);
--ibiz-date-picker-default-height
:
var
(
--ibiz-common-editor-size
)}
.ibiz-date-picker
.ivu-date-picker
{
width
:
100%
}
.ibiz-date-picker
.ivu-input
{
height
:
var
(
--ibiz-date-picker-default-height
);
border-radius
:
var
(
--ibiz-border-radius-small
)}
.ibiz-date-picker
.ivu-input
:hover
{
border-color
:
var
(
--ibiz-color-primary
)}
.ibiz-date-picker
.ivu-input
:focus
{
border-color
:
var
(
--ibiz-color-primary
)}
.ibiz-date-picker
input
{
font-size
:
var
(
--ibiz-date-picker-font-size
);
color
:
var
(
--ibiz-date-picker-text-color
);
border-color
:
var
(
--ibiz-date-picker-border-color
)}
.ibiz-date-picker
input
::placeholder
{
color
:
var
(
--ibiz-date-picker-placeholder-color
)}
.ibiz-date-picker
input
[
disabled
]
{
color
:
var
(
--ibiz-date-picker-disabled-text-color
);
background-color
:
var
(
--ibiz-date-picker-disabled-bg-color
);
border-color
:
var
(
--ibiz-date-picker-disabled-border-color
)}
.ibiz-date-picker--readonly
{
color
:
var
(
--ibiz-text-color-readonly
)}
.i
biz-date-picker--disabled
.ivu-input
:hover
{
border-color
:
#ccc
}
.ivu-date-picker-transfer
.ivu-btn-default
:hover
{
color
:
var
(
--ibiz-color-primary
);
border-color
:
var
(
--ibiz-color-priamry
)}
.ivu-date-picker-transfer
.ivu-btn-text
:hover
{
color
:
var
(
--ibiz-color-primary
)}
.ivu-date-picker-transfer
.ivu-btn-primary
{
background-color
:
var
(
--ibiz-color-primary
);
border-color
:
var
(
--ibiz-color-primary
)}
.ivu-date-picker-transfer
.ivu-date-picker-cells-cell-selected
em
{
background-color
:
var
(
--ibiz-color-primary
)}
.ivu-date-picker-transfer
.ivu-date-picker-cells-cell
:hover
em
{
background-color
:
#f5f8ff
}
.ivu-date-picker-transfer
.ivu-date-picker-cells-cell.ivu-date-picker-cells-cell-selected
:hover
em
{
background-color
:
var
(
--ibiz-color-primary
)}
.ivu-date-picker-transfer
.ivu-date-picker-cells-cell-today
em
:after
{
background-color
:
var
(
--ibiz-color-primary
)}
.ivu-date-picker-transfer
.ivu-picker-panel-icon-btn
:hover
{
color
:
var
(
--ibiz-color-primary
)}
.ibiz-download-safe-file
a
{
text-decoration
:
underline
}
.ibiz-form-mdctrl-form-style2
{
width
:
100%
}
.ibiz-form-mdctrl-form-style2__header
{
display
:
flex
;
width
:
100%
;
border
:
1px
solid
#cccccc
;
background-color
:
#f9f9f9
}
.ibiz-form-mdctrl-form-style2__header-item
{
display
:
flex
;
gap
:
var
(
--ibiz-padding
);
align-items
:
center
;
padding
:
calc
(
var
(
--ibiz-padding
)
/
2
)
var
(
--ibiz-padding
);
border-right
:
1px
solid
#cccccc
;
cursor
:
pointer
}
.ibiz-form-mdctrl-form-style2__header-item--delete
{
display
:
flex
;
align-items
:
center
}
.ibiz-form-mdctrl-form-style2__header-item--delete
:hover
{
color
:
var
(
--ibiz-color-primary
)}
.ibiz-form-mdctrl-form-style2__header-item.is-actived
{
background-color
:
#fff
}
.ibiz-form-mdctrl-form-style2__add
{
gap
:
4px
}
.ibiz-form-mdctrl-form-style2__add
:hover
{
color
:
var
(
--ibiz-color-primary
)}
.ibiz-form-mdctrl-form-style2__content
{
display
:
none
}
.ibiz-form-mdctrl-form-style2__content.is-actived
{
display
:
block
}
.ibiz-form-mdctrl-form-style2
.ibiz-form
.ibiz-form-page-item
.ibiz-form-col__grouppanel
.ibiz-form-group
{
margin
:
0
;
width
:
100%
;
height
:
100%
;
padding
:
0
}
.ibiz-mpicker
{
--ibiz-mpicker-font-size
:
var
(
--ibiz-font-size-base
);
--ibiz-mpicker-text-color
:
var
(
--ibiz-text-color
);
--ibiz-mpicker-border-color
:
var
(
--ibiz-border-color
);
--ibiz-mpicker-placeholder-color
:
var
(
--ibiz-text-color-placeholder
);
--ibiz-mpicker-default-height
:
var
(
--ibiz-common-editor-size
);
--ibiz-mpicker-default-input-height
:
var
(
--ibiz-common-editor-size-small
);
--ibiz-mpicker-border-radius
:
var
(
--ibiz-border-radius-small
);
--ibiz-mpicker-hover-color
:
var
(
--ibiz-color-primary
);
--ibiz-mpicker-tag-height
:
calc
(
var
(
--ibiz-common-editor-size-small
)
-
4px
);
display
:
flex
;
width
:
100%
}
.ibiz-mpicker
input
::placeholder
{
color
:
var
(
--ibiz-mpicker-placeholder-color
)}
.ibiz-mpicker
.ivu-select-multiple
.ivu-select-input
{
height
:
var
(
--ibiz-mpicker-default-input-height
);
line-height
:
var
(
--ibiz-mpicker-default-input-height
)}
.ibiz-mpicker
.ivu-select
{
width
:
100%
}
.ibiz-mpicker
.ivu-select
.ivu-select-selection
{
min-height
:
var
(
--ibiz-mpicker-default-height
);
padding
:
0
var
(
--ibiz-padding-extra-tight
);
border-color
:
var
(
--ibiz-mpicker-border-color
);
border-radius
:
var
(
--ibiz-mpicker-border-radius
)}
.ibiz-mpicker
.ivu-select
.ivu-select-selection
>
div
{
display
:
flex
;
flex-wrap
:
wrap
}
.ibiz-mpicker
.ivu-select
.ivu-select-selection
:hover
,
.ibiz-mpicker
.ivu-select
.ivu-select-selection-focused
{
border-color
:
var
(
--ibiz-color-primary
)}
.ibiz-mpicker
.ivu-select
.ivu-tag
:hover
{
opacity
:
1
}
.ibiz-mpicker
.ivu-select
.ivu-tag.ivu-tag-checked
{
height
:
var
(
--ibiz-mpicker-tag-height
);
line-height
:
var
(
--ibiz-mpicker-tag-height
)}
.ibiz-mpicker
.ivu-select
.ivu-tag.ivu-tag-checked
.ivu-tag-text
{
font-size
:
var
(
--ibiz-mpicker-font-size
);
color
:
var
(
--ibiz-mpicker-text-color
)}
.ibiz-mpicker
.ivu-select
.ivu-tag.ivu-tag-checked
.ivu-tag-text
:hover
{
color
:
var
(
--ibiz-mpicker-hover-color
)}
.ibiz-mpicker
.ivu-select
.ivu-tag.ivu-tag-checked
.ivu-icon
{
top
:
calc
(
var
(
--ibiz-margin-tight
)
-
1px
)}
.ibiz-mpicker
.ivu-select-arrow
,
.ibiz-mpicker
.ivu-select-selection-focused
.ivu-select-arrow
,
.ibiz-mpicker
.ivu-select-selection
:hover
.ivu-select-arrow
{
display
:
none
}
.ibiz-mpicker__buns-position
{
position
:
relative
;
display
:
inline-block
}
.ibiz-mpicker__btns
{
position
:
absolute
;
right
:
0
;
height
:
var
(
--ibiz-mpicker-height
);
display
:
flex
}
.ibiz-mpicker__btns
.ivu-btn
{
border
:
none
}
.ibiz-mpicker__btns
.ivu-btn-text
:hover
{
background-color
:
unset
;
border-color
:
unset
}
.ibiz-mpicker__btns
.ivu-btn-text
:focus
{
box-shadow
:
unset
}
.ibiz-mpicker--disabled
.ivu-select-input
[
disabled
]
{
color
:
var
(
--ibiz-text-color-disabled
)}
.ibiz-mpicker--disabled
.ivu-select
.ivu-select-selection
:hover
{
border-color
:
#ccc
}
.ibiz-mpicker--disabled
.ivu-select
.ivu-tag.ivu-tag-checked
.ivu-tag-text
{
font-size
:
var
(
--ibiz-mpicker-font-size
);
color
:
var
(
--ibiz-mpicker-text-color
)}
.ibiz-mpicker--disabled
.ivu-select
.ivu-tag.ivu-tag-checked
.ivu-tag-text
:hover
{
color
:
var
(
--ibiz-mpicker-text-color
)}
.ibiz-mpicker--readonly
{
color
:
var
(
--ibiz-text-color-readonly
)}
.ibiz-dropdown
{
--ibiz-dropdown-font-size
:
var
(
--ibiz-font-size-base
);
--ibiz-dropdown-text-color
:
var
(
--ibiz-text-color
);
--ibiz-dropdown-border-color
:
var
(
--ibiz-border-color
);
--ibiz-dropdown-placeholder-color
:
var
(
--ibiz-text-color-placeholder
);
--ibiz-dropdown-disabled-text-color
:
var
(
--ibiz-disabled-text-color
);
--ibiz-dropdown-hover-color
:
var
(
--ibiz-color-primary
);
--ibiz-dropdown-default-height
:
var
(
--ibiz-common-editor-size
);
--ibiz-dropdown-default-input-height
:
30px
;
--ibiz-dropdown-disabled-bg-color
:
var
(
--ibiz-disabled-bg-color
);
--ibiz-dropdown-border-radius
:
var
(
--ibiz-border-radius-small
)}
.ibiz-dropdown
.ivu-select-selection
{
border
:
1px
solid
var
(
--ibiz-dropdown-border-color
);
border-radius
:
var
(
--ibiz-dropdown-border-radius
)}
.ibiz-dropdown
.ivu-select-selection
.ivu-tag
:hover
{
opacity
:
1
}
.ibiz-dropdown
.ivu-select-selection
.ivu-tag.ivu-tag-checked
{
height
:
var
(
--ibiz-dropdown-default-input-height
);
line-height
:
var
(
--ibiz-dropdown-default-input-height
)}
.ibiz-dropdown
.ivu-select-selection
.ivu-tag.ivu-tag-checked
.ivu-tag-text
{
font-size
:
var
(
--ibiz-dropdown-font-size
);
color
:
var
(
--ibiz-dropdown-text-color
)}
.ibiz-dropdown
.ivu-select-selection
.ivu-tag.ivu-tag-checked
.ivu-tag-text
:hover
{
color
:
var
(
--ibiz-dropdown-hover-color
)}
.ibiz-dropdown
.ivu-select-selection
.ivu-tag.ivu-tag-checked
.ivu-icon
{
top
:
var
(
--ibiz-padding-tight
)}
.ibiz-dropdown
.ivu-select-selection
:hover
{
border-color
:
var
(
--ibiz-dropdown-hover-color
)}
.ibiz-dropdown
.ivu-select-selection.ivu-select-selection-focused
{
border
:
1px
solid
var
(
--ibiz-dropdown-hover-color
)}
.ibiz-dropdown
.ivu-select-disabled
.ivu-select-selection
{
background-color
:
var
(
--ibiz-dropdown-disabled-bg-color
)}
.ibiz-dropdown
.ivu-select-input
[
disabled
]
{
color
:
var
(
--ibiz-dropdown-text-color
)}
.ibiz-dropdown
.ivu-select-selection
.ivu-select-selected-value
{
font-size
:
var
(
--ibiz-dropdown-font-size
);
color
:
var
(
--ibiz-dropdown-text-color
);
border-color
:
var
(
--ibiz-dropdown-border-color
)}
.ibiz-dropdown
.ivu-select-selection
.ivu-select-placeholder
{
font-size
:
var
(
--ibiz-dropdown-font-size
);
color
:
var
(
--ibiz-dropdown-placeholder-color
);
border-color
:
var
(
--ibiz-dropdown-border-color
)}
.ibiz-dropdown
.ivu-select-multiple.ivu-select-default
.ivu-select-selection
{
min-height
:
var
(
--ibiz-dropdown-default-height
)}
.ibiz-dropdown
.ivu-select-multiple.ivu-select-default
.ivu-select-selection
.ivu-select-input
{
height
:
var
(
--ibiz-dropdown-default-input-height
);
line-height
:
var
(
--ibiz-dropdown-default-input-height
)}
.ibiz-dropdown
.ivu-select-single.ivu-select-default
.ivu-select-selection
{
height
:
var
(
--ibiz-dropdown-default-height
)}
.ibiz-dropdown
.ivu-select-single.ivu-select-default
.ivu-select-selection
.ivu-select-input
{
height
:
var
(
--ibiz-dropdown-default-height
);
line-height
:
var
(
--ibiz-dropdown-default-height
);
color
:
var
(
--ibiz-dropdown-text-color
)}
.ibiz-dropdown
.ivu-select-input
::placeholder
{
color
:
var
(
--ibiz-dropdown-placeholder-color
)}
.ibiz-dropdown--readonly
{
color
:
var
(
--ibiz-text-color-readonly
)}
.ibiz-dropdown--disabled
{
--ibiz-dropdown-text-color
:
var
(
--ibiz-text-color-disabled
)}
.ibiz-dropdown--disabled
.ivu-select-selection
:hover
{
border-color
:
#ccc
}
.ibiz-dropdown--width_100
{
width
:
100px
}
app_Web/public/plugins/@ibiz-template-plugin/sy-dsf-web@0.0.3/package.json
浏览文件 @
0699f4a4
...
...
@@ -25,13 +25,13 @@
},
"dependencies"
:
{
"@ibiz-template/command"
:
"^0.0.1-syui.1"
,
"@ibiz-template/controller"
:
"
^0.0.1-syui.3
"
,
"@ibiz-template/core"
:
"
^0.0.1-syui.3
"
,
"@ibiz-template/model"
:
"
^0.0.1-syui.3
"
,
"@ibiz-template/runtime"
:
"
^0.0.1-syui.3
"
,
"@ibiz-template/service"
:
"
^0.0.1-syui.3
"
,
"@ibiz-template/theme"
:
"
^0.0.1-syui.4
"
,
"@ibiz-template/vue-util"
:
"
^0.0.1-syui.3
"
,
"@ibiz-template/controller"
:
"
0.0.1-syui.19
"
,
"@ibiz-template/core"
:
"
0.0.1-syui.18
"
,
"@ibiz-template/model"
:
"
0.0.1-syui.19
"
,
"@ibiz-template/runtime"
:
"
0.0.1-syui.19
"
,
"@ibiz-template/service"
:
"
0.0.1-syui.19
"
,
"@ibiz-template/theme"
:
"
0.0.1-syui.19
"
,
"@ibiz-template/vue-util"
:
"
0.0.1-syui.19
"
,
"async-validator"
:
"^4.2.5"
,
"axios"
:
"^1.1.3"
,
"core-js"
:
"3"
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录