Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-R7-Res
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-R7-Res
提交
6ec1239f
提交
6ec1239f
编写于
9月 18, 2020
作者:
Shine-zwj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
daf43337
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
6 行增加
和
44 行删除
+6
-44
app-register.ts
src/app-register.ts
+2
-2
app-panel-button.vue
src/components/app-panel-button/app-panel-button.vue
+2
-35
app-panel-item.less
src/components/app-panel-item/app-panel-item.less
+0
-5
app-rawitem.vue
src/components/app-rawitem/app-rawitem.vue
+2
-2
未找到文件。
src/app-register.ts
浏览文件 @
6ec1239f
...
@@ -88,7 +88,7 @@ import ActionTimeline from './components/action-timeline/action-timeline.vue'
...
@@ -88,7 +88,7 @@ import ActionTimeline from './components/action-timeline/action-timeline.vue'
import
CronEditor
from
'./components/cron-editor/cron-editor.vue'
import
CronEditor
from
'./components/cron-editor/cron-editor.vue'
import
AppMessagePopover
from
'./components/app-message-popover/app-message-popover.vue'
import
AppMessagePopover
from
'./components/app-message-popover/app-message-popover.vue'
import
AppPanelField
from
'./components/app-panel-field/app-panel-field.vue'
import
AppPanelField
from
'./components/app-panel-field/app-panel-field.vue'
import
AppPanel
Item
from
'./components/app-panel-item/app-panel-item
.vue'
import
AppPanel
Button
from
'./components/app-panel-button/app-panel-button
.vue'
import
AppDepartmentPersonnel
from
'./components/app-department-personnel/app-department-personnel.vue'
import
AppDepartmentPersonnel
from
'./components/app-department-personnel/app-department-personnel.vue'
import
DiskFileUpload
from
'./components/disk-file-upload/disk-file-upload.vue'
import
DiskFileUpload
from
'./components/disk-file-upload/disk-file-upload.vue'
import
AvueCustomForm
from
'./components/avue-custom-form/avue-custom-form.vue'
import
AvueCustomForm
from
'./components/avue-custom-form/avue-custom-form.vue'
...
@@ -125,7 +125,7 @@ export const AppComponents = {
...
@@ -125,7 +125,7 @@ export const AppComponents = {
v
.
prototype
.
$viewTool
=
ViewTool
;
v
.
prototype
.
$viewTool
=
ViewTool
;
v
.
prototype
.
$uiActionTool
=
UIActionTool
;
v
.
prototype
.
$uiActionTool
=
UIActionTool
;
v
.
component
(
'app-department-personnel'
,
AppDepartmentPersonnel
);
v
.
component
(
'app-department-personnel'
,
AppDepartmentPersonnel
);
v
.
component
(
'app-panel-
item'
,
AppPanelItem
);
v
.
component
(
'app-panel-
button'
,
AppPanelButton
);
v
.
component
(
'app-panel-field'
,
AppPanelField
);
v
.
component
(
'app-panel-field'
,
AppPanelField
);
v
.
component
(
'app-full-scren'
,
AppFullScren
);
v
.
component
(
'app-full-scren'
,
AppFullScren
);
v
.
component
(
'app-lock-scren'
,
AppLockScren
);
v
.
component
(
'app-lock-scren'
,
AppLockScren
);
...
...
src/components/app-panel-
item/app-panel-item
.vue
→
src/components/app-panel-
button/app-panel-button
.vue
浏览文件 @
6ec1239f
<
template
>
<
template
>
<div
class=
"app-panel-item"
>
<div
class=
"app-panel-button"
>
<div
v-if=
"Object.is(itemType,'BUTTON')"
>
<Button
type=
"primary"
long
@
click=
"onClick"
>
<Button
type=
"primary"
long
@
click=
"onClick"
>
<i
v-if=
"icon"
:class=
"icon"
></i>
<i
v-if=
"icon"
:class=
"icon"
></i>
<span
v-if=
"showCaption"
:class=
"lableStyle"
>
{{
caption
?
caption
:
''
}}
</span>
<span
v-if=
"showCaption"
:class=
"lableStyle"
>
{{
caption
?
caption
:
''
}}
</span>
</Button>
</Button>
</div>
<div
v-if=
"Object.is(itemType,'RAWITEM')"
>
<i
v-if=
"icon"
:class=
"icon"
></i>
<span
v-if=
"caption"
class=
"app-panel-item-rawitem"
>
{{
caption
}}
</span>
<div
:class=
"contentStyle"
>
<slot></slot>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -20,15 +11,7 @@
...
@@ -20,15 +11,7 @@
import
{
Vue
,
Component
,
Prop
,
Watch
}
from
"vue-property-decorator"
;
import
{
Vue
,
Component
,
Prop
,
Watch
}
from
"vue-property-decorator"
;
@
Component
({})
@
Component
({})
export
default
class
AppPanelItem
extends
Vue
{
export
default
class
AppPanelButton
extends
Vue
{
/**
* 面板成员类型
*
* @type {string}
* @memberof AppPanelItem
*/
@
Prop
()
public
itemType
!
:
string
;
/**
/**
* 图标
* 图标
...
@@ -62,22 +45,6 @@ export default class AppPanelItem extends Vue {
...
@@ -62,22 +45,6 @@ export default class AppPanelItem extends Vue {
*/
*/
@
Prop
()
public
lableStyle
?:
string
;
@
Prop
()
public
lableStyle
?:
string
;
/**
* 内容样式
*
* @type {boolean}
* @memberof AppPanelItem
*/
@
Prop
()
public
contentStyle
?:
string
;
/**
* 部件样式
*
* @type {boolean}
* @memberof AppPanelItem
*/
@
Prop
()
public
partsStyle
?:
string
;
/**
/**
* 点击按钮
* 点击按钮
*
*
...
...
src/components/app-panel-item/app-panel-item.less
已删除
100644 → 0
浏览文件 @
daf43337
.app-panel-item{
.app-panel-item-rawitem{
padding-right: 10px;
}
}
\ No newline at end of file
src/components/app-rawitem/app-rawitem.vue
浏览文件 @
6ec1239f
<
template
>
<
template
>
<div>
<div>
<span
v-if=
"caption"
>
{{
caption
}}
</span>
<span
v-if=
"caption"
>
{{
caption
}}
</span>
<div
:class=
"c
lass
Style"
:style=
"sizeStyle"
>
<div
:class=
"c
ontent
Style"
:style=
"sizeStyle"
>
<template
v-if=
"Object.is(contentType,'RAW')"
>
<template
v-if=
"Object.is(contentType,'RAW')"
>
{{
rawContent
?
rawContent
:
''
}}
{{
rawContent
?
rawContent
:
''
}}
</
template
>
</
template
>
...
@@ -67,7 +67,7 @@ export default class AppRawItem extends Vue {
...
@@ -67,7 +67,7 @@ export default class AppRawItem extends Vue {
* @type {strin}
* @type {strin}
* @memberof AppRawItem
* @memberof AppRawItem
*/
*/
@
Prop
()
public
c
lass
Style
!
:
string
;
@
Prop
()
public
c
ontent
Style
!
:
string
;
/**
/**
* 内容宽高
* 内容宽高
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录