Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
f014c308
提交
f014c308
编写于
11月 27, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
50886e5d
变更
14
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
975 行增加
和
2 行删除
+975
-2
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+1
-1
ibizorder-usr2-chart-view-base.vue
...zorder-usr2-chart-view/ibizorder-usr2-chart-view-base.vue
+731
-0
ibizorder-usr2-chart-view.less
.../ibizorder-usr2-chart-view/ibizorder-usr2-chart-view.less
+11
-0
ibizorder-usr2-chart-view.vue
...e/ibizorder-usr2-chart-view/ibizorder-usr2-chart-view.vue
+24
-0
page-register.ts
app_Web/src/pages/sample/index/page-register.ts
+1
-0
router.ts
app_Web/src/pages/sample/index/router.ts
+27
-0
state.ts
app_Web/src/store/modules/view-action/state.ts
+10
-0
main-menu-appmenu-base.vue
.../widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
+26
-0
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+1
-1
usr-chart-base.vue
app_Web/src/widgets/ibizorder/usr-chart/usr-chart-base.vue
+6
-0
usr-chart-model.ts
app_Web/src/widgets/ibizorder/usr-chart/usr-chart-model.ts
+36
-0
usr-chart-service.ts
app_Web/src/widgets/ibizorder/usr-chart/usr-chart-service.ts
+72
-0
usr-chart.less
app_Web/src/widgets/ibizorder/usr-chart/usr-chart.less
+15
-0
usr-chart.vue
app_Web/src/widgets/ibizorder/usr-chart/usr-chart.vue
+14
-0
未找到文件。
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
f014c308
...
...
@@ -1007,7 +1007,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
''
,
appfunctag
:
'
AppFunc35
'
,
resourcetag
:
''
,
},
],
...
...
app_Web/src/pages/sample/ibizorder-usr2-chart-view/ibizorder-usr2-chart-view-base.vue
0 → 100644
浏览文件 @
f014c308
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizorder-usr2-chart-view/ibizorder-usr2-chart-view.less
0 → 100644
浏览文件 @
f014c308
.ibizorder-usr2-chart-view{
position: relative;
}
.ibizorder-usr2-chart-view{
display: block;
> .view-card > .ivu-card-body > .content-container > .app-data-chart {
overflow: auto;
}
}
\ No newline at end of file
app_Web/src/pages/sample/ibizorder-usr2-chart-view/ibizorder-usr2-chart-view.vue
0 → 100644
浏览文件 @
f014c308
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZOrderUsr2ChartViewBase
from
'./ibizorder-usr2-chart-view-base.vue'
;
import
view_chart
from
'@widgets/ibizorder/usr-chart/usr-chart.vue'
;
import
view_searchform
from
'@widgets/ibizorder/default-searchform/default-searchform.vue'
;
@
Component
({
components
:
{
view_chart
,
view_searchform
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
if
(
!
Object
.
is
(
vm
.
navModel
,
"route"
)){
vm
.
initNavDataWithTab
(
vm
.
viewCacheData
);
}
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
IBIZOrderUsr2ChartView
extends
IBIZOrderUsr2ChartViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
f014c308
...
...
@@ -49,6 +49,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizorder-pickup-grid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-pickup-grid-view/ibizorder-pickup-grid-view.vue'
));
Vue
.
component
(
'ibizsample0017-f30-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0017-f30-edit-view/ibizsample0017-f30-edit-view.vue'
));
Vue
.
component
(
'ibizsample0003-f2-tree-exp-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-f2-tree-exp-view/ibizsample0003-f2-tree-exp-view.vue'
));
Vue
.
component
(
'ibizorder-usr2-chart-view'
,
()
=>
import
(
'@pages/sample/ibizorder-usr2-chart-view/ibizorder-usr2-chart-view.vue'
));
Vue
.
component
(
'ibizsample0003-sf3-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-sf3-edit-view/ibizsample0003-sf3-edit-view.vue'
));
Vue
.
component
(
'ibizorder-sf15-grid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf15-grid-view/ibizorder-sf15-grid-view.vue'
));
Vue
.
component
(
'ibizorder-line-chart-view'
,
()
=>
import
(
'@pages/sample/ibizorder-line-chart-view/ibizorder-line-chart-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
f014c308
...
...
@@ -766,6 +766,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0003-f2-tree-exp-view/ibizsample0003-f2-tree-exp-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/usr2chartview/:usr2chartview?'
,
meta
:
{
caption
:
'entities.ibizorder.views.usr2chartview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'usr2chartview'
,
parameterName
:
'usr2chartview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-usr2-chart-view/ibizorder-usr2-chart-view.vue'
),
},
{
path
:
'ibizsample0003s/:ibizsample0003?/sf3editview/:sf3editview?'
,
meta
:
{
...
...
@@ -2660,6 +2674,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0017-edit-view/ibizsample0017-edit-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/usr2chartview/:usr2chartview?'
,
meta
:
{
caption
:
'entities.ibizorder.views.usr2chartview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'usr2chartview'
,
parameterName
:
'usr2chartview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-usr2-chart-view/ibizorder-usr2-chart-view.vue'
),
},
{
path
:
'/ibizsoftwaresuits/:ibizsoftwaresuit?/gridview9/:gridview9?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
f014c308
...
...
@@ -222,6 +222,7 @@ export const viewstate: any = {
'd9f9f0dede285235e3d0ad5101188d1e'
,
'ffedffb9c57cb200c275ba15e9100da4'
,
'84904c93ceea3ab6551555ee20c41e27'
,
'502736ae9280400d7b8f74f057d363ab'
,
'6b3607e849c8517fd7ae1cab583f7393'
,
'41d3da0d37fb0135ace813f1ba06bd39'
,
'b1256beac1e95915b675893c61559b59'
,
...
...
@@ -515,6 +516,15 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'502736ae9280400d7b8f74f057d363ab'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZOrderUsr2ChartView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'5147eb94c8aa1cf6ad57b360e0abde28'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
f014c308
...
...
@@ -647,6 +647,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'AppFunc5'
:
this
.
clickAppFunc5
(
item
);
return
;
case
'AppFunc35'
:
this
.
clickAppFunc35
(
item
);
return
;
case
'AppFunc16'
:
this
.
clickAppFunc16
(
item
);
return
;
...
...
@@ -1783,6 +1786,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 图表视图(k线图)
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc35
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'usr2chartview'
,
parameterName
:
'usr2chartview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
this
.
$router
.
push
(
path
);
})
}
/**
* 功能名称
*
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
浏览文件 @
f014c308
...
...
@@ -1065,7 +1065,7 @@ export default class MainMenuModel {
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
''
,
appfunctag
:
'
AppFunc35
'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem44'
,
},
...
...
app_Web/src/widgets/ibizorder/usr-chart/usr-chart-base.vue
0 → 100644
浏览文件 @
f014c308
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getPartCode(chartSeriese).code} [in template "TEMPLCODE_en_US" at line 508, column 14]
- Reached through: @ibizindent blank=8 [in template "TEMPLCODE_en_US" at line 506, column 13]
----
部件模板[@CONTROL/CHART]无法获取指定成员[SERIES_CANDLESTICK][CONTROL-BASE.vue]模板
\ No newline at end of file
app_Web/src/widgets/ibizorder/usr-chart/usr-chart-model.ts
0 → 100644
浏览文件 @
f014c308
/**
* Usr 部件模型
*
* @export
* @class UsrModel
*/
export
default
class
UsrModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof UsrChartMode
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'size'
,
prop
:
'size'
},
{
name
:
'query'
,
prop
:
'query'
},
{
name
:
'page'
,
prop
:
'page'
},
{
name
:
'sort'
,
prop
:
'sort'
}
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizorder/usr-chart/usr-chart-service.ts
0 → 100644
浏览文件 @
f014c308
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
IBIZOrderService
from
'@/service/ibizorder/ibizorder-service'
;
import
UsrModel
from
'./usr-chart-model'
;
/**
* Usr 部件服务对象
*
* @export
* @class UsrService
*/
export
default
class
UsrService
extends
ControlService
{
/**
* 订单服务对象
*
* @type {IBIZOrderService}
* @memberof UsrService
*/
public
appEntityService
:
IBIZOrderService
=
new
IBIZOrderService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof UsrService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of UsrService.
*
* @param {*} [opts={}]
* @memberof UsrService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
UsrModel
();
}
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof UsrService
*/
@
Errorlog
public
search
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
FetchDefault
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
}
\ No newline at end of file
app_Web/src/widgets/ibizorder/usr-chart/usr-chart.less
0 → 100644
浏览文件 @
f014c308
// this is less
.app-data-chart {
width: 100%;
height: 100%;
.chart-no-data{
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
i{
margin-right: 5px;
}
}
}
\ No newline at end of file
app_Web/src/widgets/ibizorder/usr-chart/usr-chart.vue
0 → 100644
浏览文件 @
f014c308
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
UsrBase
from
'./usr-chart-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Usr
extends
UsrBase
{
}
</
script
>
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录