Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
bae7e380
提交
bae7e380
编写于
4年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
5e47e769
变更
5
展开全部
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
353 行增加
和
2 行删除
+353
-2
ibizorder_en_US.ts
...b/src/locale/lanres/entities/ibizorder/ibizorder_en_US.ts
+14
-0
ibizorder_zh_CN.ts
...b/src/locale/lanres/entities/ibizorder/ibizorder_zh_CN.ts
+14
-0
calendar-exp-viewcalendarexpbar-calendarexpbar-base.vue
...r/calendar-exp-viewcalendarexpbar-calendarexpbar-base.vue
+214
-0
calendar-exp-viewcalendarexpbar-calendarexpbar.less
...xpbar/calendar-exp-viewcalendarexpbar-calendarexpbar.less
+2
-2
list-exp-viewlistexpbar-listexpbar-base.vue
...ar-listexpbar/list-exp-viewlistexpbar-listexpbar-base.vue
+109
-0
未找到文件。
app_Web/src/locale/lanres/entities/ibizorder/ibizorder_en_US.ts
浏览文件 @
bae7e380
...
...
@@ -1604,6 +1604,20 @@ export default {
tip
:
"Print"
,
},
},
calendarexpviewcalendarexpbar_toolbar_toolbar
:
{
deuiaction1
:
{
caption
:
"刷新"
,
tip
:
"刷新"
,
},
deuiaction2
:
{
caption
:
"New"
,
tip
:
"New"
,
},
deuiaction3
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
},
sf20gridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"New"
,
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/locale/lanres/entities/ibizorder/ibizorder_zh_CN.ts
浏览文件 @
bae7e380
...
...
@@ -1603,6 +1603,20 @@ export default {
tip
:
"打印"
,
},
},
calendarexpviewcalendarexpbar_toolbar_toolbar
:
{
deuiaction1
:
{
caption
:
"刷新"
,
tip
:
"刷新"
,
},
deuiaction2
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
deuiaction3
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
},
sf20gridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"新建"
,
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/calendar-exp-viewcalendarexpbar-calendarexpbar/calendar-exp-viewcalendarexpbar-calendarexpbar-base.vue
浏览文件 @
bae7e380
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/calendar-exp-viewcalendarexpbar-calendarexpbar/calendar-exp-viewcalendarexpbar-calendarexpbar.less
浏览文件 @
bae7e380
...
...
@@ -40,7 +40,7 @@
}
}
.calendar-exp-bar-content {
height: calc(100% -
40
px);
height: calc(100% -
88
px);
overflow: auto;
padding: 16px 0;
margin-bottom: 10px;
...
...
@@ -95,7 +95,7 @@
}
}
.calendar-exp-bar-content {
height: calc(100% -
40
px);
height: calc(100% -
88
px);
overflow: auto;
margin-bottom: 10px;
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/list-exp-viewlistexpbar-listexpbar/list-exp-viewlistexpbar-listexpbar-base.vue
浏览文件 @
bae7e380
...
...
@@ -5,6 +5,9 @@
{{
$t
(
'app.listExpBar.title'
)
}}
</div>
<div
class=
"container-header"
>
<div
class=
"quick-group-container"
>
<app-quick-group
:items=
"quickGroupModel"
@
valuechange=
"quickGroupValueChange"
></app-quick-group>
</div>
<div
class=
'search-container'
>
<i-input
:search=
"true"
@
on-change=
"($event) =>
{ this.searchText = $event.target.value; }"
...
...
@@ -536,6 +539,111 @@ export default class ListExpViewlistexpbarBase extends Vue implements ControlInt
* @memberof ListExpViewlistexpbarBase
*/
public
navigateParams
:
any
=
null
;
/**
* 代码表服务对象
*
* @type {CodeListService}
* @memberof IBIZOrderListExpViewBase
*/
public
codeListService
:
CodeListService
=
new
CodeListService
({
$store
:
this
.
$store
});
/**
* 快速分组数据对象
*
* @memberof IBIZOrderListExpViewBase
*/
public
quickGroupData
:
any
;
/**
* 快速分组是否有抛值
*
* @memberof IBIZOrderListExpViewBase
*/
public
isEmitQuickGroupValue
:
boolean
=
false
;
/**
* 快速分组模型
*
* @memberof IBIZOrderListExpViewBase
*/
public
quickGroupModel
:
Array
<
any
>
=
[];
/**
* 加载快速分组模型
*
* @memberof IBIZOrderListExpViewBase
*/
public
loadQuickGroupModel
(){
let
quickGroupCodeList
:
any
=
{
tag
:
'ORDERSTATE'
,
codelistType
:
'STATIC'
};
if
(
quickGroupCodeList
.
tag
&&
Object
.
is
(
quickGroupCodeList
.
codelistType
,
"STATIC"
)){
const
codelist
=
this
.
$store
.
getters
.
getCodeList
(
quickGroupCodeList
.
tag
);
if
(
codelist
)
{
this
.
quickGroupModel
=
[...
this
.
handleDynamicData
(
JSON
.
parse
(
JSON
.
stringify
(
codelist
.
items
)))];
}
else
{
console
.
log
(
`----
${
quickGroupCodeList
.
tag
}
----代码表不存在`
);
}
}
else
if
(
quickGroupCodeList
.
tag
&&
Object
.
is
(
quickGroupCodeList
.
codelistType
,
"DYNAMIC"
)){
this
.
codeListService
.
getItems
(
quickGroupCodeList
.
tag
,{},{}).
then
((
res
:
any
)
=>
{
this
.
quickGroupModel
=
res
;
}).
catch
((
error
:
any
)
=>
{
console
.
log
(
`----
${
quickGroupCodeList
.
tag
}
----代码表不存在`
);
});
}
}
/**
* 处理快速分组模型动态数据部分(%xxx%)
*
* @memberof IBIZOrderListExpViewBase
*/
public
handleDynamicData
(
inputArray
:
Array
<
any
>
){
if
(
inputArray
.
length
>
0
){
inputArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
data
&&
Object
.
keys
(
item
.
data
).
length
>
0
){
Object
.
keys
(
item
.
data
).
forEach
((
name
:
any
)
=>
{
let
value
:
any
=
item
.
data
[
name
];
if
(
value
&&
typeof
(
value
)
==
'string'
&&
value
.
startsWith
(
'%'
)
&&
value
.
endsWith
(
'%'
))
{
const
key
=
(
value
.
substring
(
1
,
value
.
length
-
1
)).
toLowerCase
();
if
(
this
.
context
[
key
])
{
value
=
this
.
context
[
key
];
}
else
if
(
this
.
viewparams
[
key
]){
value
=
this
.
viewparams
[
key
];
}
}
item
.
data
[
name
]
=
value
;
})
}
})
}
return
inputArray
;
}
/**
* 快速分组值变化
*
* @memberof IBIZOrderListExpViewBase
*/
public
quickGroupValueChange
(
$event
:
any
){
if
(
$event
&&
$event
.
data
){
if
(
this
.
quickGroupData
)
{
for
(
let
key
in
this
.
quickGroupData
)
{
delete
this
.
viewparams
[
key
];
}
}
this
.
quickGroupData
=
$event
.
data
;
Object
.
assign
(
this
.
viewparams
,
$event
.
data
);
}
else
{
if
(
this
.
quickGroupData
)
{
for
(
let
key
in
this
.
quickGroupData
)
{
delete
this
.
viewparams
[
key
];
}
}
}
if
(
this
.
isEmitQuickGroupValue
){
this
.
onSearch
(
$event
);
}
this
.
isEmitQuickGroupValue
=
true
;
}
/**
* 显示处理提示
...
...
@@ -616,6 +724,7 @@ export default class ListExpViewlistexpbarBase extends Vue implements ControlInt
* @memberof ListExpViewlistexpbarBase
*/
public
afterCreated
(){
this
.
loadQuickGroupModel
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录