Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzou
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzou
提交
352016ef
提交
352016ef
编写于
7月 20, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_qyk 发布系统代码
上级
9755fdcf
变更
11
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
41 行增加
和
7 行删除
+41
-7
app-form-druipart.vue
...eb/src/components/app-form-druipart/app-form-druipart.vue
+27
-5
main-form-base.vue
...eb/src/widgets/ibzdepartment/main-form/main-form-base.vue
+1
-0
new-form-form-base.vue
...idgets/ibzdepartment/new-form-form/new-form-form-base.vue
+1
-0
main-form-base.vue
...b/src/widgets/ibzdept-member/main-form/main-form-base.vue
+1
-0
main-form-base.vue
app_web/src/widgets/ibzemployee/main-form/main-form-base.vue
+3
-1
new-form-form-base.vue
.../widgets/ibzemployee/new-form-form/new-form-form-base.vue
+1
-0
main-form-base.vue
.../src/widgets/ibzorganization/main-form/main-form-base.vue
+1
-0
new-form-form-base.vue
...gets/ibzorganization/new-form-form/new-form-form-base.vue
+1
-0
main-form-base.vue
app_web/src/widgets/ibzpost/main-form/main-form-base.vue
+1
-0
main-form-base.vue
...b/src/widgets/ibzteam-member/main-form/main-form-base.vue
+1
-0
main-form-base.vue
app_web/src/widgets/ibzteam/main-form/main-form-base.vue
+3
-1
未找到文件。
app_web/src/components/app-form-druipart/app-form-druipart.vue
浏览文件 @
352016ef
...
...
@@ -40,6 +40,14 @@ export default class AppFormDRUIPart extends Vue {
*/
@
Prop
()
public
viewname
?:
string
;
/**
* 临时数据模式:从数据模式:"2"、主数据模式:"1"、无临时数据模式:"0"
*
* @type {string}
* @memberof AppFormDRUIPart
*/
@
Prop
({
default
:
"0"
})
public
tempMode
?:
string
;
/**
* 刷新关系项
*
...
...
@@ -285,11 +293,16 @@ export default class AppFormDRUIPart extends Vue {
}
this
.
viewparam
=
JSON
.
stringify
(
tempParam
);
if
(
this
.
isRelationalData
)
{
if
(
!
_paramitem
||
_paramitem
==
null
||
Object
.
is
(
_paramitem
,
''
))
{
this
.
blockUIStart
();
return
;
}
else
{
// 从数据模式无遮罩层
if
(
this
.
tempMode
&&
Object
.
is
(
this
.
tempMode
,
"2"
)){
this
.
blockUIStop
();
}
else
{
if
(
!
_paramitem
||
_paramitem
==
null
||
Object
.
is
(
_paramitem
,
''
))
{
this
.
blockUIStart
();
return
;
}
else
{
this
.
blockUIStop
();
}
}
}
if
(
!
this
.
isForbidLoad
){
...
...
@@ -320,7 +333,16 @@ export default class AppFormDRUIPart extends Vue {
// 表单保存之前
if
(
Object
.
is
(
$event
.
type
,
'beforesave'
))
{
if
(
Object
.
is
(
this
.
refviewtype
,
'DEMEDITVIEW9'
)
||
Object
.
is
(
this
.
refviewtype
,
'DEGRIDVIEW9'
)
||
Object
.
is
(
this
.
refviewtype
,
'DEGRIDVIEW'
)){
this
.
formDruipart
.
next
({
action
:
'save'
,
data
:
$event
.
data
});
// 从数据模式直接通知保存
if
(
this
.
tempMode
&&
Object
.
is
(
this
.
tempMode
,
"2"
)){
this
.
formDruipart
.
next
({
action
:
'save'
,
data
:
$event
.
data
});
}
else
{
if
(
$event
.
data
&&
!
Object
.
is
(
$event
.
data
.
srfuf
,
"0"
)){
this
.
formDruipart
.
next
({
action
:
'save'
,
data
:
$event
.
data
});
}
else
{
this
.
$emit
(
'drdatasaved'
,
$event
);
}
}
}
else
{
// 不需要保存的界面也要抛出事件,供计数器计算
this
.
$emit
(
'drdatasaved'
,
$event
);
...
...
app_web/src/widgets/ibzdepartment/main-form/main-form-base.vue
浏览文件 @
352016ef
...
...
@@ -1543,6 +1543,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
data
=
response
.
data
;
this
.
resetDraftFormStates
();
this
.
onFormLoad
(
data
,
'loadDraft'
);
data
.
ibzdepartment
=
null
;
this
.
$emit
(
'load'
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
'load'
,
data
:
data
});
...
...
app_web/src/widgets/ibzdepartment/new-form-form/new-form-form-base.vue
浏览文件 @
352016ef
...
...
@@ -1330,6 +1330,7 @@ export default class NewFormBase extends Vue implements ControlInterface {
const
data
=
response
.
data
;
this
.
resetDraftFormStates
();
this
.
onFormLoad
(
data
,
'loadDraft'
);
data
.
ibzdepartment
=
null
;
this
.
$emit
(
'load'
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
'load'
,
data
:
data
});
...
...
app_web/src/widgets/ibzdept-member/main-form/main-form-base.vue
浏览文件 @
352016ef
...
...
@@ -1263,6 +1263,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
data
=
response
.
data
;
this
.
resetDraftFormStates
();
this
.
onFormLoad
(
data
,
'loadDraft'
);
data
.
ibzdeptmember
=
null
;
this
.
$emit
(
'load'
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
'load'
,
data
:
data
});
...
...
app_web/src/widgets/ibzemployee/main-form/main-form-base.vue
浏览文件 @
352016ef
...
...
@@ -205,7 +205,8 @@
refviewtype='DEGRIDVIEW'
refreshitems=''
:ignorefieldvaluechange="ignorefieldvaluechange"
viewname='ibzdept-member-grid-view'
viewname='ibzdept-member-grid-view'
tempMode='0'
:data="JSON.stringify(this.data)"
@drdatasaved="drdatasaved($event)"
style=";overflow: auto;">
...
...
@@ -1964,6 +1965,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
data
=
response
.
data
;
this
.
resetDraftFormStates
();
this
.
onFormLoad
(
data
,
'loadDraft'
);
data
.
ibzemployee
=
null
;
this
.
$emit
(
'load'
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
'load'
,
data
:
data
});
...
...
app_web/src/widgets/ibzemployee/new-form-form/new-form-form-base.vue
浏览文件 @
352016ef
...
...
@@ -1422,6 +1422,7 @@ export default class NewFormBase extends Vue implements ControlInterface {
const
data
=
response
.
data
;
this
.
resetDraftFormStates
();
this
.
onFormLoad
(
data
,
'loadDraft'
);
data
.
ibzemployee
=
null
;
this
.
$emit
(
'load'
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
'load'
,
data
:
data
});
...
...
app_web/src/widgets/ibzorganization/main-form/main-form-base.vue
浏览文件 @
352016ef
...
...
@@ -1391,6 +1391,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
data
=
response
.
data
;
this
.
resetDraftFormStates
();
this
.
onFormLoad
(
data
,
'loadDraft'
);
data
.
ibzorganization
=
null
;
this
.
$emit
(
'load'
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
'load'
,
data
:
data
});
...
...
app_web/src/widgets/ibzorganization/new-form-form/new-form-form-base.vue
浏览文件 @
352016ef
...
...
@@ -1273,6 +1273,7 @@ export default class NewFormBase extends Vue implements ControlInterface {
const
data
=
response
.
data
;
this
.
resetDraftFormStates
();
this
.
onFormLoad
(
data
,
'loadDraft'
);
data
.
ibzorganization
=
null
;
this
.
$emit
(
'load'
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
'load'
,
data
:
data
});
...
...
app_web/src/widgets/ibzpost/main-form/main-form-base.vue
浏览文件 @
352016ef
...
...
@@ -1230,6 +1230,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
data
=
response
.
data
;
this
.
resetDraftFormStates
();
this
.
onFormLoad
(
data
,
'loadDraft'
);
data
.
ibzpost
=
null
;
this
.
$emit
(
'load'
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
'load'
,
data
:
data
});
...
...
app_web/src/widgets/ibzteam-member/main-form/main-form-base.vue
浏览文件 @
352016ef
...
...
@@ -1307,6 +1307,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
data
=
response
.
data
;
this
.
resetDraftFormStates
();
this
.
onFormLoad
(
data
,
'loadDraft'
);
data
.
ibzteammember
=
null
;
this
.
$emit
(
'load'
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
'load'
,
data
:
data
});
...
...
app_web/src/widgets/ibzteam/main-form/main-form-base.vue
浏览文件 @
352016ef
...
...
@@ -47,7 +47,8 @@
refviewtype='DEGRIDVIEW'
refreshitems=''
:ignorefieldvaluechange="ignorefieldvaluechange"
viewname='ibzteam-member-grid-view'
viewname='ibzteam-member-grid-view'
tempMode='0'
:data="JSON.stringify(this.data)"
@drdatasaved="drdatasaved($event)"
style=";overflow: auto;">
...
...
@@ -1241,6 +1242,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
data
=
response
.
data
;
this
.
resetDraftFormStates
();
this
.
onFormLoad
(
data
,
'loadDraft'
);
data
.
ibzteam
=
null
;
this
.
$emit
(
'load'
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
'load'
,
data
:
data
});
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录