Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
510f381c
提交
510f381c
编写于
12月 13, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
9187371d
变更
14
显示空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
209 行增加
和
73 行删除
+209
-73
dropdown-icon.svg
app_Web/src/assets/img/dropdown-icon.svg
+1
-0
select-right-icon.svg
app_Web/src/assets/img/select-right-icon.svg
+1
-0
app-address-cascader.scss
...components/app-address-cascader/app-address-cascader.scss
+52
-0
app-address-cascader.vue
.../components/app-address-cascader/app-address-cascader.vue
+87
-6
default-searchform-base.vue
...zappeditor/default-searchform/default-searchform-base.vue
+2
-2
guide-borrow-form-form-base.vue
...ok/guide-borrow-form-form/guide-borrow-form-form-base.vue
+5
-5
guide-return-form-form-base.vue
...ok/guide-return-form-form/guide-return-form-form-base.vue
+5
-5
guide-view-form-form-base.vue
...izbook/guide-view-form-form/guide-view-form-form-base.vue
+5
-5
default-searchform-base.vue
.../ibizorder/default-searchform/default-searchform-base.vue
+2
-2
main5-form-base.vue
...src/widgets/ibizsample0001/main5-form/main5-form-base.vue
+1
-0
Usr.json
...SSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGANTTS/Usr.json
+12
-12
TreeTable.json
.../PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
+12
-12
IBIZBOOKGanttView.json
...temodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGanttView.json
+12
-12
IBIZBOOKTreeGridExView.json
...el/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
+12
-12
未找到文件。
app_Web/src/assets/img/dropdown-icon.svg
0 → 100644
浏览文件 @
510f381c
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
fill=
"none"
version=
"1.1"
width=
"6.5"
height=
"4.013750076293945"
viewBox=
"0 0 6.5 4.013750076293945"
><g
style=
"mix-blend-mode:passthrough"
transform=
"matrix(0,1,-1,0,6.5,-6.5)"
><path
d=
"M7.26375,0L6.5,0.76375L8.980830000000001,3.25L6.5,5.73625L7.26375,6.5L10.51375,3.25L7.26375,0Z"
fill-rule=
"evenodd"
fill=
"#747480"
fill-opacity=
"1"
/></g></svg>
\ No newline at end of file
app_Web/src/assets/img/select-right-icon.svg
0 → 100644
浏览文件 @
510f381c
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
fill=
"none"
version=
"1.1"
width=
"4.013750076293945"
height=
"6.5"
viewBox=
"0 0 4.013750076293945 6.5"
><g
style=
"mix-blend-mode:passthrough"
><path
d=
"M0.76375,0L0,0.76375L2.48083,3.25L0,5.73625L0.76375,6.5L4.01375,3.25L0.76375,0Z"
fill-rule=
"evenodd"
fill=
"#747480"
fill-opacity=
"1"
/></g></svg>
\ No newline at end of file
app_Web/src/components/app-address-cascader/app-address-cascader.scss
浏览文件 @
510f381c
.app-address-cascader
{
>
.el-cascader
{
width
:
100%
;
}
}
.app-address-cascader__popper-class
{
.el-cascader-node
{
padding-left
:
10px
;
padding-right
:
15px
;
margin-top
:
4px
;
height
:
18px
;
.el-cascader-node__label
{
height
:
inherit
;
font-size
:
12px
;
font-weight
:
400
;
color
:
var
(
--
app-color-gray-100
);
line-height
:
18px
;
height
:
18px
;
padding
:
0
;
>
div
{
height
:
inherit
;
}
.cascader-node-label
{
height
:
inherit
;
line-height
:
inherit
;
}
.node__icon
{
width
:
13px
;
height
:
13px
;
margin
:
2
.5px
4
.5px
;
vertical-align
:
text-bottom
;
}
}
.selected-node
{
background-color
:
var
(
--
app-color-gray-250
);
}
}
.el-cascader-node__label
+
.el-cascader-node__postfix.el-icon-arrow-right
{
// 选项去掉右侧小图标
display
:
none
;
}
.el-icon-check
{
// 去掉选中小对勾
display
:
none
;
}
}
\ No newline at end of file
app_Web/src/components/app-address-cascader/app-address-cascader.vue
浏览文件 @
510f381c
<
template
>
<
template
>
<div
class=
"appAddressCascader"
>
<div
class=
"app-address-cascader"
>
<el-cascader
style=
"width: 100%"
:disabled=
"disabled"
size=
"medium"
v-model=
"CurrentVal"
:options=
"items"
>
<el-cascader
popper-class=
"app-address-cascader__popper-class"
:disabled=
"disabled"
size=
"medium"
v-model=
"CurrentVal"
:options=
"items"
separator=
" - "
@
expand-change=
"selectChange"
@
change=
"nodeChange"
@
visible-change=
"onChange"
>
<template
slot-scope=
"
{ node, data }">
<div
:class=
"
{ 'selected-node': isSelect(data.value) }">
<span
v-if=
"!node.isLeaf"
class=
"node__icon"
>
<img
src=
"@/assets/img/dropdown-icon.svg"
v-if=
"isSelect(data.value)"
>
<img
src=
"@/assets/img/select-right-icon.svg"
v-else
>
</span>
<span
class=
"cascader-node-label"
>
{{
data
.
label
}}
</span>
</div>
</
template
>
</el-cascader>
</el-cascader>
</div>
</div>
</template>
</template>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
,
Prop
,
Model
,
Watch
}
from
'vue-property-decorator'
;
import
{
Component
,
Vue
,
Prop
}
from
'vue-property-decorator'
;
import
CodeListService
from
'@/codelist/codelist-service'
;
import
CodeListService
from
'@/codelist/codelist-service'
;
@
Component
({})
@
Component
({})
export
default
class
AppAddressCascader
extends
Vue
{
export
default
class
AppAddressCascader
extends
Vue
{
/**
* 属性名称
*
* @type {*}
* @memberof AppCheckBox
*/
@
Prop
()
name
?:
any
;
/**
/**
* 传入值
* 传入值
* @type {any}
* @type {any}
...
@@ -89,6 +108,15 @@ export default class AppAddressCascader extends Vue {
...
@@ -89,6 +108,15 @@ export default class AppAddressCascader extends Vue {
*/
*/
public
codeListService
:
CodeListService
=
new
CodeListService
();
public
codeListService
:
CodeListService
=
new
CodeListService
();
//判断是否被选中
isSelect
(
value
:
any
)
{
if
(
this
.
selectNode
.
indexOf
(
value
)
<
0
)
{
return
false
;
}
else
{
return
true
;
}
}
/**
/**
* 当前值
* 当前值
*
*
...
@@ -104,7 +132,7 @@ export default class AppAddressCascader extends Vue {
...
@@ -104,7 +132,7 @@ export default class AppAddressCascader extends Vue {
* @memberof AppAddressCascader
* @memberof AppAddressCascader
*/
*/
set
CurrentVal
(
val
:
any
)
{
set
CurrentVal
(
val
:
any
)
{
this
.
$emit
(
"change"
,
val
);
this
.
$emit
(
"change"
,
{
name
:
this
.
name
,
value
:
val
}
);
}
}
...
@@ -116,6 +144,8 @@ export default class AppAddressCascader extends Vue {
...
@@ -116,6 +144,8 @@ export default class AppAddressCascader extends Vue {
*/
*/
public
items
:
any
=
[];
public
items
:
any
=
[];
public
selectNode
:
any
[]
=
[];
/**
/**
* 获取树形代码表数据
* 获取树形代码表数据
*
*
...
@@ -126,7 +156,7 @@ export default class AppAddressCascader extends Vue {
...
@@ -126,7 +156,7 @@ export default class AppAddressCascader extends Vue {
if
(
Object
.
is
(
this
.
codelistType
,
"STATIC"
))
{
if
(
Object
.
is
(
this
.
codelistType
,
"STATIC"
))
{
const
codelist
=
this
.
$store
.
getters
.
getCodeList
(
this
.
tag
);
const
codelist
=
this
.
$store
.
getters
.
getCodeList
(
this
.
tag
);
if
(
codelist
)
{
if
(
codelist
)
{
this
.
items
=
[...
JSON
.
parse
(
JSON
.
stringify
(
codelist
.
items
))]
;
this
.
formatData
([...
JSON
.
parse
(
JSON
.
stringify
(
codelist
.
items
))])
;
}
else
{
}
else
{
console
.
warn
(
`
${
this
.
tag
}
--代码表配置异常`
);
console
.
warn
(
`
${
this
.
tag
}
--代码表配置异常`
);
}
}
...
@@ -138,7 +168,7 @@ export default class AppAddressCascader extends Vue {
...
@@ -138,7 +168,7 @@ export default class AppAddressCascader extends Vue {
let
_context
=
data
.
context
;
let
_context
=
data
.
context
;
let
_param
=
data
.
param
;
let
_param
=
data
.
param
;
this
.
codeListService
.
getItems
(
this
.
tag
,
_context
,
_param
).
then
((
res
:
any
)
=>
{
this
.
codeListService
.
getItems
(
this
.
tag
,
_context
,
_param
).
then
((
res
:
any
)
=>
{
this
.
items
=
res
;
this
.
formatData
([...
JSON
.
parse
(
JSON
.
stringify
(
res
))])
;
}).
catch
((
error
:
any
)
=>
{
}).
catch
((
error
:
any
)
=>
{
console
.
error
(
error
);
console
.
error
(
error
);
});
});
...
@@ -167,6 +197,57 @@ export default class AppAddressCascader extends Vue {
...
@@ -167,6 +197,57 @@ export default class AppAddressCascader extends Vue {
Object
.
assign
(
arg
.
param
,
_param
);
Object
.
assign
(
arg
.
param
,
_param
);
}
}
}
}
//展开面板
public
onChange
(
value
:
boolean
)
{
if
(
value
)
{
this
.
load
()
}
}
//格式化代码表
public
formatData
(
data
:
any
[])
{
if
(
data
.
length
==
0
)
{
this
.
items
=
[]
}
else
{
this
.
items
=
this
.
handleChildren
(
undefined
,
data
);
console
.
log
(
this
.
items
);
}
}
//处理父子层级
public
handleChildren
(
pValue
:
any
,
data
:
any
)
{
let
tempData
:
any
[]
=
[];
data
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
if
(
Object
.
is
(
pValue
,
item
.
pvalue
))
{
tempData
.
push
(...
data
.
splice
(
index
,
1
));
}
})
tempData
.
forEach
((
item
:
any
)
=>
{
const
children
=
this
.
handleChildren
(
item
.
value
,
data
);
if
(
children
.
length
==
0
)
{
return
}
if
(
item
.
children
)
{
item
.
children
.
push
(...
children
);
}
else
{
item
.
children
=
children
;
}
})
return
tempData
;
}
//选中树节点改变
public
selectChange
(
data
:
any
)
{
this
.
selectNode
=
data
;
}
//选中叶子值改变
public
nodeChange
(
data
:
any
){
this
.
selectNode
=
data
;
}
/**
/**
* 生命周期
* 生命周期
*
*
...
...
app_Web/src/widgets/ibizappeditor/default-searchform/default-searchform-base.vue
浏览文件 @
510f381c
...
@@ -639,7 +639,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -639,7 +639,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/guide-borrow-form-form/guide-borrow-form-form-base.vue
浏览文件 @
510f381c
...
@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
@@ -1799,7 +1799,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1799,7 +1799,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
opt
[
0
];
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-return-form-form/guide-return-form-form-base.vue
浏览文件 @
510f381c
...
@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
@@ -1765,7 +1765,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1765,7 +1765,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
opt
[
0
];
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-view-form-form/guide-view-form-form-base.vue
浏览文件 @
510f381c
...
@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
@@ -1869,7 +1869,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1869,7 +1869,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
opt
[
0
];
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizorder/default-searchform/default-searchform-base.vue
浏览文件 @
510f381c
...
@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLChart
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
PickupGrid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -711,7 +711,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -711,7 +711,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLChart
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
PickupGrid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizsample0001/main5-form/main5-form-base.vue
浏览文件 @
510f381c
...
@@ -160,6 +160,7 @@ dataType="LONGTEXT" unitName="" :precision="0"
...
@@ -160,6 +160,7 @@ dataType="LONGTEXT" unitName="" :precision="0"
tag='CodeList44'
tag='CodeList44'
codelistType='STATIC'
codelistType='STATIC'
@change="onFormItemValueChange"
style="">
style="">
</app-address-cascader>
</app-address-cascader>
</app-form-item>
</app-form-item>
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGANTTS/Usr.json
浏览文件 @
510f381c
...
@@ -23,18 +23,6 @@
...
@@ -23,18 +23,6 @@
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
"caption"
:
"归还日期"
,
"codeName"
:
"returntime"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"returntime"
,
"mOSFilePath"
:
"psdetreecols/returntime"
,
"name"
:
"returntime"
,
"rTMOSFilePath"
:
"psdetreecols/returntime"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
},
{
"caption"
:
"图书名称"
,
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"codeName"
:
"ibizbookname"
,
...
@@ -47,6 +35,18 @@
...
@@ -47,6 +35,18 @@
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
"caption"
:
"归还日期"
,
"codeName"
:
"returntime"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"returntime"
,
"mOSFilePath"
:
"psdetreecols/returntime"
,
"name"
:
"returntime"
,
"rTMOSFilePath"
:
"psdetreecols/returntime"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
},
{
"caption"
:
"出版社"
,
"caption"
:
"出版社"
,
"codeName"
:
"press"
,
"codeName"
:
"press"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
浏览文件 @
510f381c
...
@@ -20,6 +20,18 @@
...
@@ -20,6 +20,18 @@
}
}
}
],
}
],
"getPSDETreeColumns"
:
[
{
"getPSDETreeColumns"
:
[
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书描述"
,
"caption"
:
"图书描述"
,
"codeName"
:
"subtext"
,
"codeName"
:
"subtext"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
@@ -43,18 +55,6 @@
...
@@ -43,18 +55,6 @@
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
}
],
"getPSDETreeNodeRSs"
:
[
{
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGanttView.json
浏览文件 @
510f381c
...
@@ -53,18 +53,6 @@
...
@@ -53,18 +53,6 @@
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
"caption"
:
"归还日期"
,
"codeName"
:
"returntime"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"returntime"
,
"mOSFilePath"
:
"psdetreecols/returntime"
,
"name"
:
"returntime"
,
"rTMOSFilePath"
:
"psdetreecols/returntime"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
},
{
"caption"
:
"图书名称"
,
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"codeName"
:
"ibizbookname"
,
...
@@ -77,6 +65,18 @@
...
@@ -77,6 +65,18 @@
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
"caption"
:
"归还日期"
,
"codeName"
:
"returntime"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"returntime"
,
"mOSFilePath"
:
"psdetreecols/returntime"
,
"name"
:
"returntime"
,
"rTMOSFilePath"
:
"psdetreecols/returntime"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
},
{
"caption"
:
"出版社"
,
"caption"
:
"出版社"
,
"codeName"
:
"press"
,
"codeName"
:
"press"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
浏览文件 @
510f381c
...
@@ -88,6 +88,18 @@
...
@@ -88,6 +88,18 @@
"id"
:
"TREEGRIDEX"
"id"
:
"TREEGRIDEX"
},
},
"getPSDETreeColumns"
:
[
{
"getPSDETreeColumns"
:
[
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书描述"
,
"caption"
:
"图书描述"
,
"codeName"
:
"subtext"
,
"codeName"
:
"subtext"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
@@ -111,18 +123,6 @@
...
@@ -111,18 +123,6 @@
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
}
],
"getPSDETreeNodeRSs"
:
[
{
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
"getChildPSDETreeNode"
:
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录