Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
3bf107a7
提交
3bf107a7
编写于
11月 20, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhujiamin 发布系统代码 [TrainSys,网页端]
上级
6a4707d6
变更
27
展开全部
显示空白字符变更
内嵌
并排
正在显示
27 个修改的文件
包含
1582 行增加
和
60 行删除
+1582
-60
package.json
app_Web/package.json
+8
-8
pnpm-lock.yaml
app_Web/pnpm-lock.yaml
+7
-7
chart-control-82e4972f.js
...e/vue2-de-chart-view@0.0.1/dist/chart-control-82e4972f.js
+905
-0
chart-control.d.ts
....1/dist/types/components/chart-control/chart-control.d.ts
+35
-0
chart-view.d.ts
...ew@0.0.1/dist/types/components/chart-view/chart-view.d.ts
+34
-0
chart-controller.d.ts
...rt-view@0.0.1/dist/types/controller/chart-controller.d.ts
+123
-0
chart-view-controller.d.ts
...ew@0.0.1/dist/types/controller/chart-view-controller.d.ts
+32
-0
i-chart-ability.d.ts
....0.1/dist/types/controller/interface/i-chart-ability.d.ts
+13
-0
i-chart-event.d.ts
...@0.0.1/dist/types/controller/interface/i-chart-event.d.ts
+12
-0
i-chart-view-ability.d.ts
...dist/types/controller/interface/i-chart-view-ability.d.ts
+12
-0
i-chart-view-event.d.ts
...1/dist/types/controller/interface/i-chart-view-event.d.ts
+12
-0
chart-nerve.d.ts
...t-view@0.0.1/dist/types/controller/nerve/chart-nerve.d.ts
+18
-0
chart-view-nerve.d.ts
...w@0.0.1/dist/types/controller/nerve/chart-view-nerve.d.ts
+20
-0
chart-neuron.d.ts
...view@0.0.1/dist/types/controller/neuron/chart-neuron.d.ts
+14
-0
chart-view-neuron.d.ts
...0.0.1/dist/types/controller/neuron/chart-view-neuron.d.ts
+14
-0
chart-util.d.ts
...rt-view@0.0.1/dist/types/controller/utils/chart-util.d.ts
+67
-0
global.d.ts
...e-package/vue2-de-chart-view@0.0.1/dist/types/global.d.ts
+3
-0
index.d.ts
...te-package/vue2-de-chart-view@0.0.1/dist/types/index.d.ts
+6
-0
code-list-map.d.ts
...-chart-view@0.0.1/dist/types/interface/code-list-map.d.ts
+12
-0
tooltip-formatter-param.d.ts
...w@0.0.1/dist/types/interface/tooltip-formatter-param.d.ts
+13
-0
chart-provider.d.ts
...-chart-view@0.0.1/dist/types/provider/chart-provider.d.ts
+13
-0
chart-view-provider.d.ts
...t-view@0.0.1/dist/types/provider/chart-view-provider.d.ts
+13
-0
chart-service.d.ts
...de-chart-view@0.0.1/dist/types/service/chart-service.d.ts
+146
-0
use-chart-controller.d.ts
...-view@0.0.1/dist/types/vue-util/use-chart-controller.d.ts
+3
-0
use-chart-view-controller.d.ts
...@0.0.1/dist/types/vue-util/use-chart-view-controller.d.ts
+2
-0
PSSYSAPP.json
.../ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
+4
-4
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+41
-41
未找到文件。
app_Web/package.json
浏览文件 @
3bf107a7
...
@@ -13,13 +13,13 @@
...
@@ -13,13 +13,13 @@
"dependencies"
:
{
"dependencies"
:
{
"@floating-ui/dom"
:
"^1.0.11"
,
"@floating-ui/dom"
:
"^1.0.11"
,
"@ibiz-template/command"
:
"^0.0.1-beta.50"
,
"@ibiz-template/command"
:
"^0.0.1-beta.50"
,
"@ibiz-template/controller"
:
"
^
0.0.1-beta.132"
,
"@ibiz-template/controller"
:
"0.0.1-beta.132"
,
"@ibiz-template/core"
:
"
^
0.0.1-beta.132"
,
"@ibiz-template/core"
:
"0.0.1-beta.132"
,
"@ibiz-template/model"
:
"
^
0.0.1-beta.132"
,
"@ibiz-template/model"
:
"0.0.1-beta.132"
,
"@ibiz-template/runtime"
:
"
^
0.0.1-beta.132"
,
"@ibiz-template/runtime"
:
"0.0.1-beta.132"
,
"@ibiz-template/service"
:
"
^
0.0.1-beta.132"
,
"@ibiz-template/service"
:
"0.0.1-beta.132"
,
"@ibiz-template/theme"
:
"
^
0.0.1-beta.132"
,
"@ibiz-template/theme"
:
"0.0.1-beta.132"
,
"@ibiz-template/vue-util"
:
"
^
0.0.1-beta.132"
,
"@ibiz-template/vue-util"
:
"0.0.1-beta.132"
,
"@ibiz/dynamic-model-api"
:
"^2.1.28"
,
"@ibiz/dynamic-model-api"
:
"^2.1.28"
,
"@riophae/vue-treeselect"
:
"^0.4.0"
,
"@riophae/vue-treeselect"
:
"^0.4.0"
,
"dayjs"
:
"^1.11.7"
,
"dayjs"
:
"^1.11.7"
,
...
...
app_Web/pnpm-lock.yaml
浏览文件 @
3bf107a7
...
@@ -12,25 +12,25 @@ dependencies:
...
@@ -12,25 +12,25 @@ dependencies:
specifier
:
^0.0.1-beta.50
specifier
:
^0.0.1-beta.50
version
:
0.0.1-beta.50
version
:
0.0.1-beta.50
'
@ibiz-template/controller'
:
'
@ibiz-template/controller'
:
specifier
:
^
0.0.1-beta.132
specifier
:
0.0.1-beta.132
version
:
0.0.1-beta.132(@ibiz-template/core@0.0.1-beta.132)(@ibiz-template/model@0.0.1-beta.132)(@ibiz-template/runtime@0.0.1-beta.132)(@ibiz-template/service@0.0.1-beta.132)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
version
:
0.0.1-beta.132(@ibiz-template/core@0.0.1-beta.132)(@ibiz-template/model@0.0.1-beta.132)(@ibiz-template/runtime@0.0.1-beta.132)(@ibiz-template/service@0.0.1-beta.132)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
'
@ibiz-template/core'
:
'
@ibiz-template/core'
:
specifier
:
^
0.0.1-beta.132
specifier
:
0.0.1-beta.132
version
:
0.0.1-beta.132(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
version
:
0.0.1-beta.132(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'
@ibiz-template/model'
:
'
@ibiz-template/model'
:
specifier
:
^
0.0.1-beta.132
specifier
:
0.0.1-beta.132
version
:
0.0.1-beta.132(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
version
:
0.0.1-beta.132(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'
@ibiz-template/runtime'
:
'
@ibiz-template/runtime'
:
specifier
:
^
0.0.1-beta.132
specifier
:
0.0.1-beta.132
version
:
0.0.1-beta.132(@ibiz-template/core@0.0.1-beta.132)(@ibiz-template/model@0.0.1-beta.132)(@ibiz-template/service@0.0.1-beta.132)(qx-util@0.4.8)
version
:
0.0.1-beta.132(@ibiz-template/core@0.0.1-beta.132)(@ibiz-template/model@0.0.1-beta.132)(@ibiz-template/service@0.0.1-beta.132)(qx-util@0.4.8)
'
@ibiz-template/service'
:
'
@ibiz-template/service'
:
specifier
:
^
0.0.1-beta.132
specifier
:
0.0.1-beta.132
version
:
0.0.1-beta.132(@ibiz-template/core@0.0.1-beta.132)(@ibiz-template/model@0.0.1-beta.132)(qx-util@0.4.8)(ramda@0.28.0)
version
:
0.0.1-beta.132(@ibiz-template/core@0.0.1-beta.132)(@ibiz-template/model@0.0.1-beta.132)(qx-util@0.4.8)(ramda@0.28.0)
'
@ibiz-template/theme'
:
'
@ibiz-template/theme'
:
specifier
:
^
0.0.1-beta.132
specifier
:
0.0.1-beta.132
version
:
0.0.1-beta.132
version
:
0.0.1-beta.132
'
@ibiz-template/vue-util'
:
'
@ibiz-template/vue-util'
:
specifier
:
^
0.0.1-beta.132
specifier
:
0.0.1-beta.132
version
:
0.0.1-beta.132(@ibiz-template/controller@0.0.1-beta.132)(@ibiz-template/core@0.0.1-beta.132)(@ibiz-template/model@0.0.1-beta.132)(@ibiz-template/service@0.0.1-beta.132)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14)
version
:
0.0.1-beta.132(@ibiz-template/controller@0.0.1-beta.132)(@ibiz-template/core@0.0.1-beta.132)(@ibiz-template/model@0.0.1-beta.132)(@ibiz-template/service@0.0.1-beta.132)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14)
'
@ibiz/dynamic-model-api'
:
'
@ibiz/dynamic-model-api'
:
specifier
:
^2.1.28
specifier
:
^2.1.28
...
...
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/chart-control-82e4972f.js
0 → 100644
浏览文件 @
3bf107a7
此差异已折叠。
点击以展开。
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/components/chart-control/chart-control.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
PropType
}
from
'vue'
;
import
{
ChartModel
}
from
'@ibiz-template/model'
;
declare
const
_default
:
import
(
"vue"
).
DefineComponent
<
{
modelData
:
{
type
:
typeof
ChartModel
;
required
:
true
;
};
context
:
{
type
:
PropType
<
IContext
>
;
required
:
true
;
};
params
:
{
type
:
PropType
<
IParams
>
;
default
:
()
=>
{};
};
},
{
c
:
import
(
"../../controller/chart-controller"
).
ChartController
;
ns
:
import
(
"@ibiz-template/core"
).
Namespace
;
},
{},
{},
{},
import
(
"vue/types/v3-component-options"
).
ComponentOptionsMixin
,
import
(
"vue/types/v3-component-options"
).
ComponentOptionsMixin
,
{},
string
,
Readonly
<
import
(
"vue"
).
ExtractPropTypes
<
{
modelData
:
{
type
:
typeof
ChartModel
;
required
:
true
;
};
context
:
{
type
:
PropType
<
IContext
>
;
required
:
true
;
};
params
:
{
type
:
PropType
<
IParams
>
;
default
:
()
=>
{};
};
}
>>
,
{
params
:
IParams
;
}
>
;
export
default
_default
;
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/components/chart-view/chart-view.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
IModal
}
from
'@ibiz-template/runtime'
;
import
{
PropType
}
from
'vue'
;
declare
const
_default
:
import
(
"vue"
).
DefineComponent
<
{
context
:
PropType
<
IContext
>
;
params
:
{
type
:
PropType
<
IParams
>
;
default
:
()
=>
{};
};
modelPath
:
{
type
:
StringConstructor
;
required
:
true
;
};
modal
:
{
type
:
PropType
<
IModal
>
;
};
},
{
c
:
import
(
"../../controller/chart-view-controller"
).
ChartViewController
;
},
{},
{},
{},
import
(
"vue/types/v3-component-options"
).
ComponentOptionsMixin
,
import
(
"vue/types/v3-component-options"
).
ComponentOptionsMixin
,
{},
string
,
Readonly
<
import
(
"vue"
).
ExtractPropTypes
<
{
context
:
PropType
<
IContext
>
;
params
:
{
type
:
PropType
<
IParams
>
;
default
:
()
=>
{};
};
modelPath
:
{
type
:
StringConstructor
;
required
:
true
;
};
modal
:
{
type
:
PropType
<
IModal
>
;
};
}
>>
,
{
params
:
IParams
;
}
>
;
export
default
_default
;
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/controller/chart-controller.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
ControlController
}
from
'@ibiz-template/controller'
;
import
{
EChartsOption
,
EChartsType
}
from
'echarts'
;
import
{
ChartModel
}
from
'@ibiz-template/model'
;
import
{
ChartNerve
}
from
'./nerve/chart-nerve'
;
import
{
ChartService
}
from
'../service/chart-service'
;
export
declare
class
ChartController
extends
ControlController
<
ChartModel
>
{
/**
* 图表神经系统
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:02
* @type {ChartNerve}
*/
nerve
:
ChartNerve
;
/**
* 图表服务
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:13
* @type {ChartService}
*/
service
:
ChartService
;
/**
* 图表实例
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:45
* @type {(EChartsType | null)}
*/
chart
:
EChartsType
|
null
;
/**
* 图表id
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:22
* @type {string}
*/
chartId
:
string
;
/**
* 图表静态配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:32
* @type {EChartsOption}
*/
chartStaticOption
:
EChartsOption
;
/**
* 数据集合
*
* @author zhanghengfeng
* @date 2023-04-07 16:04:34
* @type {IData[]}
*/
items
:
IData
[];
/**
* 请求参数
*
* @author zhanghengfeng
* @date 2023-04-07 16:04:28
*/
queryParams
:
{
page
:
number
;
size
:
number
;
query
:
string
;
};
/**
* 图表部件宽度
*
* @author zhanghengfeng
* @date 2023-04-11 15:04:23
* @type {string}
*/
width
:
string
;
/**
* 图表部件高度
*
* @author zhanghengfeng
* @date 2023-04-11 15:04:37
* @type {string}
*/
height
:
string
;
/**
* 创建图表神经系统
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:24
* @protected
* @return {*} {ChartNerve}
*/
protected
createNerve
():
ChartNerve
;
/**
* 初始化配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:41
* @protected
* @return {*} {Promise<void>}
*/
protected
onInit
():
Promise
<
void
>
;
/**
* 重新渲染图表
*
* @author zhanghengfeng
* @date 2023-04-03 18:04:35
*/
resizeChart
():
void
;
/**
* 初始化图表静态配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:52
*/
initChartStaticOption
():
void
;
/**
* 加载数据
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:13
* @param {IParams} params
*/
load
():
Promise
<
void
>
;
destroy
():
void
;
}
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/controller/chart-view-controller.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
ViewController
}
from
'@ibiz-template/controller'
;
import
{
ChartViewModel
}
from
'@ibiz-template/model'
;
import
{
ChartViewNerve
}
from
'./nerve/chart-view-nerve'
;
/**
* 图表视图控制器
*
* @author zhanghengfeng
* @date 2023-04-03 17:04:29
* @export
* @class ChartViewController
* @extends {ViewController<ChartViewModel>}
*/
export
declare
class
ChartViewController
extends
ViewController
<
ChartViewModel
>
{
nerve
:
ChartViewNerve
;
protected
createNerve
():
ChartViewNerve
;
protected
onInit
():
Promise
<
void
>
;
/**
* 视图加载方法
*
* @return {*} {Promise<IData[]>}
* @memberof ChartViewController
*/
load
():
Promise
<
void
>
;
/**
* 刷新视图
*
* @author zhanghengfeng
* @date 2023-04-07 17:04:41
* @return {*} {Promise<void>}
*/
refresh
():
Promise
<
void
>
;
}
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/controller/interface/i-chart-ability.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
IControlAbility
}
from
'@ibiz-template/controller'
;
/**
* 图表能力
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:31
* @export
* @interface IChartAbility
* @extends {IControlAbility}
*/
export
interface
IChartAbility
extends
IControlAbility
{
load
():
Promise
<
void
>
;
}
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/controller/interface/i-chart-event.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
IControlEvent
}
from
'@ibiz-template/controller'
;
/**
* 图表事件
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:46
* @export
* @interface IChartEvent
* @extends {IControlEvent}
*/
export
interface
IChartEvent
extends
IControlEvent
{
}
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/controller/interface/i-chart-view-ability.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
IViewAbility
}
from
'@ibiz-template/controller'
;
/**
* 图表视图能力
*
* @author zhanghengfeng
* @date 2023-04-03 17:04:09
* @export
* @interface IChartViewAbility
* @extends {IViewAbility}
*/
export
interface
IChartViewAbility
extends
IViewAbility
{
}
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/controller/interface/i-chart-view-event.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
IViewEvent
}
from
'@ibiz-template/controller'
;
/**
* 图表视图事件
*
* @author zhanghengfeng
* @date 2023-04-03 17:04:26
* @export
* @interface IChartViewEvent
* @extends {IViewEvent}
*/
export
interface
IChartViewEvent
extends
IViewEvent
{
}
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/controller/nerve/chart-nerve.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
ControlNerve
}
from
'@ibiz-template/controller'
;
import
{
ChartController
}
from
'../chart-controller'
;
import
{
ChartNeuron
}
from
'../neuron/chart-neuron'
;
/**
* 图表神经系统
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:03
* @export
* @class ChartNerve
* @extends {ControlNerve<ChartNeuron, ChartController>}
*/
export
declare
class
ChartNerve
extends
ControlNerve
<
ChartNeuron
,
ChartController
>
{
protected
createNeuron
():
ChartNeuron
;
protected
bindAbility
():
{
load
:
()
=>
Promise
<
void
>
;
};
}
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/controller/nerve/chart-view-nerve.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
Neuron
,
ViewNerve
}
from
'@ibiz-template/controller'
;
import
{
ChartViewController
}
from
'../chart-view-controller'
;
import
{
ChartViewNeuron
}
from
'../neuron/chart-view-neuron'
;
import
{
ChartNeuron
}
from
'../neuron/chart-neuron'
;
/**
* 图表视图神经系统
*
* @author zhanghengfeng
* @date 2023-04-03 17:04:29
* @export
* @class ChartViewNerve
* @extends {ViewNerve<ChartViewNeuron, ChartViewController>}
*/
export
declare
class
ChartViewNerve
extends
ViewNerve
<
ChartViewNeuron
,
ChartViewController
>
{
chart
:
ChartNeuron
;
protected
createNeuron
():
ChartViewNeuron
;
inclusive
(
name
:
string
):
boolean
;
connect
(
name
:
string
,
neuron
:
Neuron
):
void
;
destroy
():
void
;
}
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/controller/neuron/chart-neuron.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
Neuron
}
from
'@ibiz-template/controller'
;
import
{
IChartAbility
}
from
'../interface/i-chart-ability'
;
import
{
IChartEvent
}
from
'../interface/i-chart-event'
;
/**
* 图表神经元
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:17
* @export
* @class ChartNeuron
* @extends {Neuron<IChartEvent, IChartAbility>}
*/
export
declare
class
ChartNeuron
extends
Neuron
<
IChartEvent
,
IChartAbility
>
{
}
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/controller/neuron/chart-view-neuron.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
Neuron
}
from
'@ibiz-template/controller'
;
import
{
IChartViewEvent
}
from
'../interface/i-chart-view-event'
;
import
{
IChartViewAbility
}
from
'../interface/i-chart-view-ability'
;
/**
* 图表视图神经元
*
* @author zhanghengfeng
* @date 2023-04-03 17:04:06
* @export
* @class ChartViewNeuron
* @extends {Neuron<IChartViewEvent, IChartViewAbility>}
*/
export
declare
class
ChartViewNeuron
extends
Neuron
<
IChartViewEvent
,
IChartViewAbility
>
{
}
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/controller/utils/chart-util.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
IPSChartAxis
,
IPSDEChartLegend
,
IPSDEChartTitle
}
from
'@ibiz-template/model'
;
import
{
EChartsOption
,
LegendComponentOption
,
TitleComponentOption
,
XAXisComponentOption
,
YAXisComponentOption
}
from
'echarts'
;
/**
* 解析自定义配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:52
* @export
* @param {IModel} userParams
* @return {*}
*/
export
declare
function
parseUserParams
(
userParams
:
IModel
):
EChartsOption
;
/**
* 生成标题配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:06
* @export
* @param {IPSDEChartTitle} chartTitle
* @return {*}
*/
export
declare
function
generateTitleOption
(
chartTitle
:
IPSDEChartTitle
):
TitleComponentOption
;
/**
* 生成图例配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:21
* @export
* @param {IPSDEChartLegend} chartLegend
* @return {*}
*/
export
declare
function
generateLegendOption
(
chartLegend
:
IPSDEChartLegend
):
LegendComponentOption
;
/**
* 生成坐标轴label配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:37
* @export
* @param {number} dataShowMode
* @return {*}
*/
export
declare
function
generateAxisLabelOption
(
dataShowMode
:
number
):
{
axisLabel
:
{
formatter
:
(
value
:
string
)
=>
string
;
rotate
:
number
;
};
};
/**
* 生成x轴配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:57
* @export
* @param {IPSChartAxis[]} chartXAxisList
* @return {*}
*/
export
declare
function
generateXAxisOption
(
chartXAxisList
:
IPSChartAxis
[]):
XAXisComponentOption
[];
/**
* 生成y轴配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:16
* @export
* @param {IPSChartAxis[]} chartYAxisList
* @return {*}
*/
export
declare
function
generateYAxisOption
(
chartYAxisList
:
IPSChartAxis
[]):
YAXisComponentOption
[];
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/global.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
PluginStaticResource
}
from
'@ibiz-template/runtime'
;
declare
const
resource
:
PluginStaticResource
;
export
{
resource
};
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/index.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
VueConstructor
}
from
'vue'
;
declare
const
_default
:
{
mateUrl
:
string
;
install
(
vue
:
VueConstructor
):
void
;
};
export
default
_default
;
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/interface/code-list-map.d.ts
0 → 100644
浏览文件 @
3bf107a7
/**
* 代码表映射
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:42
* @export
* @interface CodeListMap
*/
export
interface
CodeListMap
{
catalog
?:
Map
<
string
|
number
,
string
>
;
series
?:
Map
<
string
|
number
,
string
>
;
}
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/interface/tooltip-formatter-param.d.ts
0 → 100644
浏览文件 @
3bf107a7
/**
* tooltip格式化函数参数
*
* @author zhanghengfeng
* @date 2023-04-19 09:04:04
* @export
* @interface TooltipFormatterParam
*/
export
interface
TooltipFormatterParam
{
seriesName
:
string
;
dimensionNames
:
string
[];
value
:
string
[];
}
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/provider/chart-provider.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
IControlProvider
}
from
'@ibiz-template/controller'
;
/**
* 图表适配器
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:11
* @export
* @class ChartProvider
* @implements {IControlProvider}
*/
export
declare
class
ChartProvider
implements
IControlProvider
{
component
:
string
;
}
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/provider/chart-view-provider.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
IViewProvider
}
from
'@ibiz-template/controller'
;
/**
* 图表视图适配器
*
* @author zhanghengfeng
* @date 2023-04-03 17:04:29
* @export
* @class ChartViewProvider
* @implements {IViewProvider}
*/
export
declare
class
ChartViewProvider
implements
IViewProvider
{
component
:
string
;
}
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/service/chart-service.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
ControlService
}
from
'@ibiz-template/service'
;
import
{
IHttpResponse
}
from
'@ibiz-template/core'
;
import
{
ChartModel
,
IPSDEChartSeries
}
from
'@ibiz-template/model'
;
import
{
DatasetComponentOption
,
EChartsOption
,
SeriesOption
}
from
'echarts'
;
import
{
CodeListMap
}
from
'../interface/code-list-map'
;
/**
* 图表服务
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:23
* @export
* @class ChartService
* @extends {ControlService<ChartModel>}
*/
export
declare
class
ChartService
extends
ControlService
<
ChartModel
>
{
/**
* 序列列表
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:38
* @type {IPSDEChartSeries[]}
*/
seriesList
:
IPSDEChartSeries
[];
constructor
(
model
:
ChartModel
);
/**
* 获取数据
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:11
* @param {IContext} context
* @param {IParams} [params={}]
* @return {*} {Promise<IHttpResponse>}
*/
fetch
(
context
:
IContext
,
params
?:
IParams
):
Promise
<
IHttpResponse
>
;
/**
* 获取所有代码表映射
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:21
* @param {IContext} context
* @param {IParams} params
* @return {*}
*/
getAllCodeListMap
(
context
:
IContext
,
params
:
IParams
):
Promise
<
CodeListMap
[]
>
;
/**
* 生成数据集配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:37
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @return {*}
*/
generateDatasetOption
(
series
:
IPSDEChartSeries
,
data
:
IData
[],
map
:
CodeListMap
):
DatasetComponentOption
;
/**
* 生成图表配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:49
* @param {IData[]} data
* @param {IContext} context
* @param {IParams} params
* @return {*}
*/
generateChartOption
(
data
:
IData
[],
context
:
IContext
,
params
:
IParams
):
Promise
<
EChartsOption
>
;
/**
* 生成柱状图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:13
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @param {number} index
* @return {*}
*/
generateBarSeriesOption
(
series
:
IPSDEChartSeries
,
data
:
IData
[],
map
:
CodeListMap
,
index
:
number
):
SeriesOption
[];
/**
* 生成折线图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:32
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @param {number} index
* @return {*}
*/
generateLineSeriesOption
(
series
:
IPSDEChartSeries
,
data
:
IData
[],
map
:
CodeListMap
,
index
:
number
):
SeriesOption
[];
/**
* 生成饼图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:44
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @param {number} index
* @return {*}
*/
generatePieSeriesOption
(
series
:
IPSDEChartSeries
,
data
:
IData
[],
map
:
CodeListMap
,
index
:
number
):
SeriesOption
[];
/**
* 生成漏斗图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:03
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @param {number} index
* @return {*}
*/
generateFunnelSeriesOption
(
series
:
IPSDEChartSeries
,
data
:
IData
[],
map
:
CodeListMap
,
index
:
number
):
SeriesOption
[];
/**
* 生成散点图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:25
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @param {number} index
* @return {*}
*/
generateScatterSeriesOption
(
series
:
IPSDEChartSeries
,
data
:
IData
[],
map
:
CodeListMap
,
index
:
number
):
SeriesOption
[];
/**
* 生成雷达图序列配置
*
* @author zhanghengfeng
* @date 2023-04-03 16:04:47
* @param {IPSDEChartSeries} series
* @param {IData[]} data
* @param {CodeListMap} map
* @return {*}
*/
generateRadarSeriesOption
(
series
:
IPSDEChartSeries
,
data
:
IData
[],
map
:
CodeListMap
):
{
series
:
SeriesOption
[];
radar
:
{
indicator
:
{
name
:
string
;
max
:
number
;
}[];
};
};
}
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/vue-util/use-chart-controller.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
ChartModel
}
from
'@ibiz-template/model'
;
import
{
ChartController
}
from
'../controller/chart-controller'
;
export
declare
function
useChartController
(
vue
:
Vue
,
model
:
ChartModel
,
context
:
IContext
,
params
?:
IParams
):
ChartController
;
app_Web/public/plugins/@ibiz-template-package/vue2-de-chart-view@0.0.1/dist/types/vue-util/use-chart-view-controller.d.ts
0 → 100644
浏览文件 @
3bf107a7
import
{
ChartViewController
}
from
'../controller/chart-view-controller'
;
export
declare
function
useChartViewController
(
vue
:
Vue
,
path
:
string
):
ChartViewController
;
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
浏览文件 @
3bf107a7
...
@@ -1481,16 +1481,16 @@
...
@@ -1481,16 +1481,16 @@
"codeName"
:
"VMGroup2"
,
"codeName"
:
"VMGroup2"
,
"name"
:
"视图消息组2"
,
"name"
:
"视图消息组2"
,
"getPSAppViewMsgGroupDetails"
:
[
{
"getPSAppViewMsgGroupDetails"
:
[
{
"name"
:
"视图消息"
,
"name"
:
"视图消息
2
"
,
"getPSAppViewMsg"
:
{
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"ViewMsg
2
"
"id"
:
"ViewMsg
3
"
}
}
},
{
},
{
"name"
:
"视图消息
2
"
,
"name"
:
"视图消息"
,
"getPSAppViewMsg"
:
{
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"ViewMsg
3
"
"id"
:
"ViewMsg
2
"
}
}
}
]
}
]
},
{
},
{
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
3bf107a7
...
@@ -11221,16 +11221,16 @@
...
@@ -11221,16 +11221,16 @@
"codeName" : "VMGroup2",
"codeName" : "VMGroup2",
"name" : "视图消息组2",
"name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ {
"getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息",
"name" : "视图消息
2
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
2
"
"id" : "ViewMsg
3
"
}
}
}, {
}, {
"name" : "视图消息
2
",
"name" : "视图消息",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
3
"
"id" : "ViewMsg
2
"
}
}
} ]
} ]
}, {
}, {
...
@@ -11259,16 +11259,16 @@
...
@@ -11259,16 +11259,16 @@
"codeName" : "VMGroup3",
"codeName" : "VMGroup3",
"name" : "视图消息类型测试",
"name" : "视图消息类型测试",
"getPSAppViewMsgGroupDetails" : [ {
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息类型-
错误
信息",
"name" : "消息类型-
警告
信息",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
6
"
"id" : "ViewMsg
5
"
}
}
}, {
}, {
"name" : "消息类型-
警告
信息",
"name" : "消息类型-
错误
信息",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
5
"
"id" : "ViewMsg
6
"
}
}
}, {
}, {
"name" : "消息类型-常规信息",
"name" : "消息类型-常规信息",
...
@@ -11291,58 +11291,59 @@
...
@@ -11291,58 +11291,59 @@
"codeName" : "VMGroup4",
"codeName" : "VMGroup4",
"name" : "视图消息位置测试",
"name" : "视图消息位置测试",
"getPSAppViewMsgGroupDetails" : [ {
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息位置-
弹出
",
"name" : "消息位置-
视图上方
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
10
"
"id" : "ViewMsg
7
"
}
}
}, {
}, {
"name" : "消息位置-
视图内容区
",
"name" : "消息位置-
弹出
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
9
"
"id" : "ViewMsg
10
"
}
}
}, {
}, {
"name" : "消息位置-视图
上
方",
"name" : "消息位置-视图
下
方",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
7
"
"id" : "ViewMsg
8
"
}
}
}, {
}, {
"name" : "消息位置-视图
下方
",
"name" : "消息位置-视图
内容区
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
8
"
"id" : "ViewMsg
9
"
}
}
} ]
} ]
}, {
}, {
"codeName" : "VMGroup8",
"codeName" : "VMGroup8",
"name" : "【静态测试】",
"name" : "【静态测试】",
"getPSAppViewMsgGroupDetails" : [ {
"getPSAppViewMsgGroupDetails" : [ {
"name" : "
关闭模式-本次删除-上方-警告
",
"name" : "
消息位置-视图下方
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
13
"
"id" : "ViewMsg
8
"
}
}
}, {
}, {
"name" : "
消息位置-视图下方
",
"name" : "
关闭模式-本次删除-上方-警告
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
8
"
"id" : "ViewMsg
13
"
}
}
}, {
}, {
"name" : "消息类型-
错误
信息",
"name" : "消息类型-
警告
信息",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
6
"
"id" : "ViewMsg
5
"
},
},
"position" : "POPUP"
"position" : "POPUP"
}, {
}, {
"name" : "
关闭模式-无删除-上方-常规
",
"name" : "
消息类型-错误信息
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg11"
"id" : "ViewMsg6"
}
},
"position" : "POPUP"
}, {
}, {
"name" : "消息类型-常规信息",
"name" : "消息类型-常规信息",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
...
@@ -11351,39 +11352,38 @@
...
@@ -11351,39 +11352,38 @@
},
},
"position" : "POPUP"
"position" : "POPUP"
}, {
}, {
"name" : "
消息类型-警告信息
",
"name" : "
关闭模式-无删除-上方-常规
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg5"
"id" : "ViewMsg11"
},
}
"position" : "POPUP"
}, {
}, {
"name" : "
关闭模式-默认删除-上方-错误
",
"name" : "
消息位置-视图内容区
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
12
"
"id" : "ViewMsg
9
"
}
}
}, {
}, {
"name" : "
消息位置-视图内容区
",
"name" : "
关闭模式-默认删除-上方-错误
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
9
"
"id" : "ViewMsg
12
"
}
}
} ]
} ]
}, {
}, {
"codeName" : "VMGroup5",
"codeName" : "VMGroup5",
"name" : "视图消息关闭模式",
"name" : "视图消息关闭模式",
"getPSAppViewMsgGroupDetails" : [ {
"getPSAppViewMsgGroupDetails" : [ {
"name" : "关闭模式-
无
删除",
"name" : "关闭模式-
默认
删除",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg1
1
"
"id" : "ViewMsg1
2
"
}
}
}, {
}, {
"name" : "关闭模式-
默认
删除",
"name" : "关闭模式-
无
删除",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg1
2
"
"id" : "ViewMsg1
1
"
}
}
}, {
}, {
"name" : "关闭模式-本次删除",
"name" : "关闭模式-本次删除",
...
@@ -11396,16 +11396,16 @@
...
@@ -11396,16 +11396,16 @@
"codeName" : "VMGroup6",
"codeName" : "VMGroup6",
"name" : "视图消息动态模式测试",
"name" : "视图消息动态模式测试",
"getPSAppViewMsgGroupDetails" : [ {
"getPSAppViewMsgGroupDetails" : [ {
"name" : "动态模式-
实体数据集
",
"name" : "动态模式-
静态内容
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg1
4
"
"id" : "ViewMsg1
5
"
}
}
}, {
}, {
"name" : "动态模式-
静态内容
",
"name" : "动态模式-
实体数据集
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg1
5
"
"id" : "ViewMsg1
4
"
}
}
} ]
} ]
} ],
} ],
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录