Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
fb593dd8
提交
fb593dd8
编写于
4年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
9cf2e855
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
108 行增加
和
11 行删除
+108
-11
ibizbook_en_US.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
+4
-1
ibizbook_zh_CN.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
+4
-1
main2-grid-base.vue
app_Web/src/widgets/ibizbook/main2-grid/main2-grid-base.vue
+85
-9
main2-grid-model.ts
app_Web/src/widgets/ibizbook/main2-grid/main2-grid-model.ts
+15
-0
未找到文件。
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
浏览文件 @
fb593dd8
...
...
@@ -110,11 +110,14 @@ export default {
},
main2_grid
:
{
columns
:
{
type
:
"图书类型"
,
author
:
"图书作者"
,
ibizbookname
:
"图书名称"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
type
:
"图书类型"
,
createdate
:
"建立时间"
,
updatedate
:
"更新时间"
,
updateman
:
"更新人"
,
},
nodata
:
""
,
uiactions
:
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
浏览文件 @
fb593dd8
...
...
@@ -109,11 +109,14 @@ export default {
},
main2_grid
:
{
columns
:
{
type
:
"图书类型"
,
author
:
"图书作者"
,
ibizbookname
:
"图书名称"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
type
:
"图书类型"
,
createdate
:
"建立时间"
,
updatedate
:
"更新时间"
,
updateman
:
"更新人"
,
},
nodata
:
""
,
uiactions
:
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/main2-grid/main2-grid-base.vue
浏览文件 @
fb593dd8
...
...
@@ -31,6 +31,18 @@
</
template
>
</el-table-column>
</template>
<
template
v-if=
"getColumnState('type')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'type'"
:label=
"$t('entities.ibizbook.main2_grid.columns.type')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.ibizbook.main2_grid.columns.type'
)
}}
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<span>
{{
row
.
type
}}
</span>
</
template
>
</el-table-column>
</template>
<
template
v-if=
"getColumnState('author')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'author'"
:label=
"$t('entities.ibizbook.main2_grid.columns.author')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
...
...
@@ -79,15 +91,41 @@
</
template
>
</el-table-column>
</template>
<
template
v-if=
"getColumnState('
typ
e')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
type'"
:label=
"$t('entities.ibizbook.main2_grid.columns.typ
e')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<
template
v-if=
"getColumnState('
createdat
e')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'
createdate'"
:label=
"$t('entities.ibizbook.main2_grid.columns.createdat
e')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.ibizbook.main2_grid.columns.
typ
e'
)
}}
{{
$t
(
'entities.ibizbook.main2_grid.columns.
createdat
e'
)
}}
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<span>
{{
row
.
type
}}
</span>
<app-format-data
format=
"YYYY-MM-DD HH:mm:ss"
:data=
"row.createdate"
></app-format-data>
</
template
>
</el-table-column>
</template>
<
template
v-if=
"getColumnState('updatedate')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'updatedate'"
:label=
"$t('entities.ibizbook.main2_grid.columns.updatedate')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.ibizbook.main2_grid.columns.updatedate'
)
}}
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD HH:mm:ss"
:data=
"row.updatedate"
></app-format-data>
</
template
>
</el-table-column>
</template>
<
template
v-if=
"getColumnState('updateman')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'updateman'"
:label=
"$t('entities.ibizbook.main2_grid.columns.updateman')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.ibizbook.main2_grid.columns.updateman'
)
}}
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<template
>
<codelist
:value=
"row.updateman"
tag=
'SysOperator'
codelistType=
'DYNAMIC'
></codelist>
</
template
>
</template>
</el-table-column>
</template>
...
...
@@ -648,6 +686,15 @@ export default class Main2Base extends Vue implements ControlInterface {
* @memberof Main2Base
*/
public
allColumns
:
any
[]
=
[
{
name
:
'type'
,
label
:
'图书类型'
,
langtag
:
'entities.ibizbook.main2_grid.columns.type'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
name
:
'author'
,
label
:
'图书作者'
,
...
...
@@ -685,9 +732,27 @@ export default class Main2Base extends Vue implements ControlInterface {
enableCond
:
3
,
},
{
name
:
'type'
,
label
:
'图书类型'
,
langtag
:
'entities.ibizbook.main2_grid.columns.type'
,
name
:
'createdate'
,
label
:
'建立时间'
,
langtag
:
'entities.ibizbook.main2_grid.columns.createdate'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
name
:
'updatedate'
,
label
:
'更新时间'
,
langtag
:
'entities.ibizbook.main2_grid.columns.updatedate'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
name
:
'updateman'
,
label
:
'更新人'
,
langtag
:
'entities.ibizbook.main2_grid.columns.updateman'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
...
...
@@ -1154,6 +1219,14 @@ export default class Main2Base extends Vue implements ControlInterface {
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
)
{
let
codelistColumns
:
Array
<
any
>
=
[
{
name
:
'updateman'
,
srfkey
:
'SysOperator'
,
codelistType
:
'DYNAMIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
];
let
_this
=
this
;
for
(
const
codelist
of
codelistColumns
)
{
...
...
@@ -1360,7 +1433,7 @@ export default class Main2Base extends Vue implements ControlInterface {
* @memberof Main2Base
*/
public
arraySpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
}
:
any
)
{
let
allColumns
:
Array
<
any
>
=
[
'
author'
,
'ibizbookname'
,
'press'
,
'price'
,
'type
'
];
let
allColumns
:
Array
<
any
>
=
[
'
type'
,
'author'
,
'ibizbookname'
,
'press'
,
'price'
,
'createdate'
,
'updatedate'
,
'updateman
'
];
if
(
row
&&
row
.
children
&&
row
.
children
.
length
>
0
)
{
if
(
columnIndex
==
(
this
.
isSingleSelect
?
0
:
1
))
{
return
[
1
,
allColumns
.
length
+
1
];
...
...
@@ -1403,11 +1476,14 @@ export default class Main2Base extends Vue implements ControlInterface {
const
tree
:
any
=
{
groupById
:
Number
((
groupIndex
+
1
)
*
10
),
group
:
group
,
type
:
''
,
author
:
''
,
ibizbookname
:
''
,
press
:
''
,
price
:
''
,
type
:
''
,
createdate
:
''
,
updatedate
:
''
,
updateman
:
''
,
children
:
children
,
}
groupTree
.
push
(
tree
);
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/main2-grid/main2-grid-model.ts
浏览文件 @
fb593dd8
...
...
@@ -51,6 +51,21 @@ export default class Main2Model {
prop
:
'ibizbookid'
,
dataType
:
'GUID'
,
},
{
name
:
'createdate'
,
prop
:
'createdate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'updateman'
,
prop
:
'updateman'
,
dataType
:
'TEXT'
,
},
{
name
:
'updatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'type'
,
prop
:
'type'
,
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录