Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
11c65b51
提交
11c65b51
编写于
12月 01, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
aff98cb0
变更
18
隐藏空白字符变更
内嵌
并排
正在显示
18 个修改的文件
包含
137 行增加
和
28 行删除
+137
-28
auto-group-list-list-model.ts
...izbook/auto-group-list-list/auto-group-list-list-model.ts
+1
-0
group-by-codelist-list-list-base.vue
...y-codelist-list-list/group-by-codelist-list-list-base.vue
+1
-1
group-by-codelist-list-list-model.ts
...y-codelist-list-list/group-by-codelist-list-list-model.ts
+1
-0
guide-return-form-form-base.vue
...ok/guide-return-form-form/guide-return-form-form-base.vue
+4
-2
has-panel-list-list-model.ts
...ibizbook/has-panel-list-list/has-panel-list-list-model.ts
+1
-0
internal-func-grid-base.vue
...s/ibizbook/internal-func-grid/internal-func-grid-base.vue
+12
-2
lnternal-func-list-list-model.ts
.../lnternal-func-list-list/lnternal-func-list-list-model.ts
+1
-0
main2-grid-base.vue
app_Web/src/widgets/ibizbook/main2-grid/main2-grid-base.vue
+12
-2
main3-grid-base.vue
app_Web/src/widgets/ibizbook/main3-grid/main3-grid-base.vue
+14
-4
main4-grid-base.vue
app_Web/src/widgets/ibizbook/main4-grid/main4-grid-base.vue
+12
-2
main5-grid-base.vue
app_Web/src/widgets/ibizbook/main5-grid/main5-grid-base.vue
+12
-2
new-default-grid-base.vue
...dgets/ibizbook/new-default-grid/new-default-grid-base.vue
+10
-2
row-edit-grid-base.vue
...src/widgets/ibizbook/row-edit-grid/row-edit-grid-base.vue
+32
-6
row-edit-grid-model.ts
...src/widgets/ibizbook/row-edit-grid/row-edit-grid-model.ts
+2
-0
row-rules-grid-base.vue
...c/widgets/ibizbook/row-rules-grid/row-rules-grid-base.vue
+10
-2
update-default-grid-base.vue
...ibizbook/update-default-grid/update-default-grid-base.vue
+10
-2
usr3-dataview-base.vue
...src/widgets/ibizbook/usr3-dataview/usr3-dataview-base.vue
+1
-1
DemoSys.json
demo-core/src/main/resources/sysmodel/DemoSys.json
+1
-0
未找到文件。
app_Web/src/widgets/ibizbook/auto-group-list-list/auto-group-list-list-model.ts
浏览文件 @
11c65b51
...
...
@@ -34,6 +34,7 @@ export default class AutoGroupListModel {
},
{
name
:
'type'
,
codelist
:{
tag
:
'YesNo'
,
codelistType
:
'STATIC'
},
},
{
name
:
'srfkey'
,
...
...
app_Web/src/widgets/ibizbook/group-by-codelist-list-list/group-by-codelist-list-list-base.vue
浏览文件 @
11c65b51
...
...
@@ -290,7 +290,7 @@ export default class GroupByCodelistListBase extends Vue implements ControlInter
* @type {string}
* @memberof GroupByCodelistListBase
*/
public
groupFieldCodelist
:
any
=
{};
public
groupFieldCodelist
:
any
=
{
type
:
'STATIC'
,
tag
:
'YesNo'
};
/**
* 分组数据
...
...
app_Web/src/widgets/ibizbook/group-by-codelist-list-list/group-by-codelist-list-list-model.ts
浏览文件 @
11c65b51
...
...
@@ -16,6 +16,7 @@ export default class GroupByCodelistListModel {
return
[
{
name
:
'type'
,
codelist
:{
tag
:
'YesNo'
,
codelistType
:
'STATIC'
},
},
{
name
:
'booknumber'
,
...
...
app_Web/src/widgets/ibizbook/guide-return-form-form/guide-return-form-form-base.vue
浏览文件 @
11c65b51
...
...
@@ -5,14 +5,14 @@
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-group
:uiService=
"appUIService"
:data=
"transformData(data)"
:manageContainerStatus=
"detailsModel.group1.manageContainerStatus"
:isManageContainer=
"detailsModel.group1.isManageContainer"
@
managecontainerclick=
"manageContainerClick('group1')"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.ibizbook.guidereturnform_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.returntime.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.returntime.visible"
:style=
"
{}" :
sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12
, offset: 0 }">
<app-form-item
name=
'returntime'
:itemRules=
"this.rules().returntime"
class=
''
:caption=
"$t('entities.ibizbook.guidereturnform_form.details.returntime')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.returntime.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<date-picker
type=
"date"
:transfer=
"true"
format=
"yyyy-MM-dd"
:value=
"data.returntime"
:disabled=
"detailsModel.returntime.disabled"
style=
"min-width: 150px; width:100px;"
@
on-change=
"(val1, val2) =>
{ this.data.returntime = val1 }">
</date-picker>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.borrowstatus.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.borrowstatus.visible"
:style=
"
{}" :
sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12
, offset: 0 }">
<app-form-item
name=
'borrowstatus'
:itemRules=
"this.rules().borrowstatus"
class=
''
:caption=
"$t('entities.ibizbook.guidereturnform_form.details.borrowstatus')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.borrowstatus.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
...
...
@@ -25,6 +25,8 @@
:disabled="detailsModel.borrowstatus.disabled"
valueType="number"
style="width:100px;width: 100px;"
tag='YesNo'
codelistType='STATIC'
placeholder='请选择...'>
</dropdown-list>
...
...
app_Web/src/widgets/ibizbook/has-panel-list-list/has-panel-list-list-model.ts
浏览文件 @
11c65b51
...
...
@@ -19,6 +19,7 @@ export default class HasPanelListModel {
},
{
name
:
'type'
,
codelist
:{
tag
:
'YesNo'
,
codelistType
:
'STATIC'
},
},
{
name
:
'booknumber'
,
...
...
app_Web/src/widgets/ibizbook/internal-func-grid/internal-func-grid-base.vue
浏览文件 @
11c65b51
...
...
@@ -53,7 +53,9 @@
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<span>
{{
row
.
type
}}
</span>
<template
>
<codelist
:value=
"row.type"
tag=
'YesNo'
codelistType=
'STATIC'
></codelist>
</
template
>
</template>
</el-table-column>
</template>
...
...
@@ -1074,7 +1076,7 @@ export default class InternalFuncBase extends Vue implements ControlInterface {
"UPDATEMAN"
:{
"codelist"
:{
"type"
:
"DYNAMIC"
,
"tag"
:
"SysOperator"
,
"isnumber"
:
false
},
"headername"
:
"更新人"
,
"isuniqueitem"
:
false
,
"name"
:
"updateman"
,
"order"
:
1000
},
"UPDATEDATE"
:{
"headername"
:
"更新时间"
,
"isuniqueitem"
:
false
,
"name"
:
"updatedate"
,
"order"
:
1000
},
"IBIZBOOKID"
:{
"headername"
:
"图书标识"
,
"isuniqueitem"
:
false
,
"name"
:
"ibizbookid"
,
"order"
:
1000
},
"TYPE"
:{
"headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"TYPE"
:{
"
codelist"
:{
"type"
:
"STATIC"
,
"tag"
:
"YesNo"
,
"isnumber"
:
false
},
"
headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"PRESS"
:{
"headername"
:
"图书出版社"
,
"isuniqueitem"
:
false
,
"name"
:
"press"
,
"order"
:
1000
},
"AUTHOR"
:{
"headername"
:
"图书作者"
,
"isuniqueitem"
:
false
,
"name"
:
"author"
,
"order"
:
1000
},
"PRICE"
:{
"headername"
:
"图书价格"
,
"isuniqueitem"
:
false
,
"name"
:
"price"
,
"order"
:
1000
},
...
...
@@ -1179,6 +1181,14 @@ export default class InternalFuncBase extends Vue implements ControlInterface {
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
)
{
let
codelistColumns
:
Array
<
any
>
=
[
{
name
:
'type'
,
srfkey
:
'YesNo'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
];
let
_this
=
this
;
for
(
const
codelist
of
codelistColumns
)
{
...
...
app_Web/src/widgets/ibizbook/lnternal-func-list-list/lnternal-func-list-list-model.ts
浏览文件 @
11c65b51
...
...
@@ -22,6 +22,7 @@ export default class LnternalFuncListModel {
},
{
name
:
'type'
,
codelist
:{
tag
:
'YesNo'
,
codelistType
:
'STATIC'
},
},
{
name
:
'srficon'
,
...
...
app_Web/src/widgets/ibizbook/main2-grid/main2-grid-base.vue
浏览文件 @
11c65b51
...
...
@@ -39,7 +39,9 @@
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<span>
{{
row
.
type
}}
</span>
<template
>
<codelist
:value=
"row.type"
tag=
'YesNo'
codelistType=
'STATIC'
></codelist>
</
template
>
</template>
</el-table-column>
</template>
...
...
@@ -1085,7 +1087,7 @@ export default class Main2Base extends Vue implements ControlInterface {
"UPDATEMAN"
:{
"codelist"
:{
"type"
:
"DYNAMIC"
,
"tag"
:
"SysOperator"
,
"isnumber"
:
false
},
"headername"
:
"更新人"
,
"isuniqueitem"
:
false
,
"name"
:
"updateman"
,
"order"
:
1000
},
"UPDATEDATE"
:{
"headername"
:
"更新时间"
,
"isuniqueitem"
:
false
,
"name"
:
"updatedate"
,
"order"
:
1000
},
"IBIZBOOKID"
:{
"headername"
:
"图书标识"
,
"isuniqueitem"
:
false
,
"name"
:
"ibizbookid"
,
"order"
:
1000
},
"TYPE"
:{
"headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"TYPE"
:{
"
codelist"
:{
"type"
:
"STATIC"
,
"tag"
:
"YesNo"
,
"isnumber"
:
false
},
"
headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"PRESS"
:{
"headername"
:
"图书出版社"
,
"isuniqueitem"
:
false
,
"name"
:
"press"
,
"order"
:
1000
},
"AUTHOR"
:{
"headername"
:
"图书作者"
,
"isuniqueitem"
:
false
,
"name"
:
"author"
,
"order"
:
1000
},
"PRICE"
:{
"headername"
:
"图书价格"
,
"isuniqueitem"
:
false
,
"name"
:
"price"
,
"order"
:
1000
},
...
...
@@ -1190,6 +1192,14 @@ export default class Main2Base extends Vue implements ControlInterface {
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
)
{
let
codelistColumns
:
Array
<
any
>
=
[
{
name
:
'type'
,
srfkey
:
'YesNo'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
];
let
_this
=
this
;
for
(
const
codelist
of
codelistColumns
)
{
...
...
app_Web/src/widgets/ibizbook/main3-grid/main3-grid-base.vue
浏览文件 @
11c65b51
...
...
@@ -39,7 +39,9 @@
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<span>
{{
row
.
type
}}
</span>
<template
>
<codelist
:value=
"row.type"
tag=
'YesNo'
codelistType=
'STATIC'
></codelist>
</
template
>
</template>
</el-table-column>
</template>
...
...
@@ -725,7 +727,7 @@ export default class Main3Base extends Vue implements ControlInterface {
* @type {string}
* @memberof Main3Base
*/
public
groupAppFieldCodelistTag
:
string
=
""
;
public
groupAppFieldCodelistTag
:
string
=
"
YesNo
"
;
/**
* 分组属性代码表类型
...
...
@@ -733,7 +735,7 @@ export default class Main3Base extends Vue implements ControlInterface {
* @type {string}
* @memberof Main3Base
*/
public
groupAppFieldCodelistType
:
string
=
""
;
public
groupAppFieldCodelistType
:
string
=
"
STATIC
"
;
/**
* 分组模式
...
...
@@ -1085,7 +1087,7 @@ export default class Main3Base extends Vue implements ControlInterface {
"UPDATEMAN"
:{
"codelist"
:{
"type"
:
"DYNAMIC"
,
"tag"
:
"SysOperator"
,
"isnumber"
:
false
},
"headername"
:
"更新人"
,
"isuniqueitem"
:
false
,
"name"
:
"updateman"
,
"order"
:
1000
},
"UPDATEDATE"
:{
"headername"
:
"更新时间"
,
"isuniqueitem"
:
false
,
"name"
:
"updatedate"
,
"order"
:
1000
},
"IBIZBOOKID"
:{
"headername"
:
"图书标识"
,
"isuniqueitem"
:
false
,
"name"
:
"ibizbookid"
,
"order"
:
1000
},
"TYPE"
:{
"headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"TYPE"
:{
"
codelist"
:{
"type"
:
"STATIC"
,
"tag"
:
"YesNo"
,
"isnumber"
:
false
},
"
headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"PRESS"
:{
"headername"
:
"图书出版社"
,
"isuniqueitem"
:
false
,
"name"
:
"press"
,
"order"
:
1000
},
"AUTHOR"
:{
"headername"
:
"图书作者"
,
"isuniqueitem"
:
false
,
"name"
:
"author"
,
"order"
:
1000
},
"PRICE"
:{
"headername"
:
"图书价格"
,
"isuniqueitem"
:
false
,
"name"
:
"price"
,
"order"
:
1000
},
...
...
@@ -1190,6 +1192,14 @@ export default class Main3Base extends Vue implements ControlInterface {
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
)
{
let
codelistColumns
:
Array
<
any
>
=
[
{
name
:
'type'
,
srfkey
:
'YesNo'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
];
let
_this
=
this
;
for
(
const
codelist
of
codelistColumns
)
{
...
...
app_Web/src/widgets/ibizbook/main4-grid/main4-grid-base.vue
浏览文件 @
11c65b51
...
...
@@ -31,7 +31,9 @@
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<span>
{{
row
.
type
}}
</span>
<template
>
<codelist
:value=
"row.type"
tag=
'YesNo'
codelistType=
'STATIC'
></codelist>
</
template
>
</template>
</el-table-column>
</template>
...
...
@@ -1076,7 +1078,7 @@ export default class Main4Base extends Vue implements ControlInterface {
"UPDATEMAN"
:{
"codelist"
:{
"type"
:
"DYNAMIC"
,
"tag"
:
"SysOperator"
,
"isnumber"
:
false
},
"headername"
:
"更新人"
,
"isuniqueitem"
:
false
,
"name"
:
"updateman"
,
"order"
:
1000
},
"UPDATEDATE"
:{
"headername"
:
"更新时间"
,
"isuniqueitem"
:
false
,
"name"
:
"updatedate"
,
"order"
:
1000
},
"IBIZBOOKID"
:{
"headername"
:
"图书标识"
,
"isuniqueitem"
:
false
,
"name"
:
"ibizbookid"
,
"order"
:
1000
},
"TYPE"
:{
"headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"TYPE"
:{
"
codelist"
:{
"type"
:
"STATIC"
,
"tag"
:
"YesNo"
,
"isnumber"
:
false
},
"
headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"PRESS"
:{
"headername"
:
"图书出版社"
,
"isuniqueitem"
:
false
,
"name"
:
"press"
,
"order"
:
1000
},
"AUTHOR"
:{
"headername"
:
"图书作者"
,
"isuniqueitem"
:
false
,
"name"
:
"author"
,
"order"
:
1000
},
"PRICE"
:{
"headername"
:
"图书价格"
,
"isuniqueitem"
:
false
,
"name"
:
"price"
,
"order"
:
1000
},
...
...
@@ -1181,6 +1183,14 @@ export default class Main4Base extends Vue implements ControlInterface {
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
)
{
let
codelistColumns
:
Array
<
any
>
=
[
{
name
:
'type'
,
srfkey
:
'YesNo'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
];
let
_this
=
this
;
for
(
const
codelist
of
codelistColumns
)
{
...
...
app_Web/src/widgets/ibizbook/main5-grid/main5-grid-base.vue
浏览文件 @
11c65b51
...
...
@@ -31,7 +31,9 @@
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<span>
{{
row
.
type
}}
</span>
<template
>
<codelist
:value=
"row.type"
tag=
'YesNo'
codelistType=
'STATIC'
></codelist>
</
template
>
</template>
</el-table-column>
</template>
...
...
@@ -1092,7 +1094,7 @@ export default class Main5Base extends Vue implements ControlInterface {
"UPDATEMAN"
:{
"codelist"
:{
"type"
:
"DYNAMIC"
,
"tag"
:
"SysOperator"
,
"isnumber"
:
false
},
"headername"
:
"更新人"
,
"isuniqueitem"
:
false
,
"name"
:
"updateman"
,
"order"
:
1000
},
"UPDATEDATE"
:{
"headername"
:
"更新时间"
,
"isuniqueitem"
:
false
,
"name"
:
"updatedate"
,
"order"
:
1000
},
"IBIZBOOKID"
:{
"headername"
:
"图书标识"
,
"isuniqueitem"
:
false
,
"name"
:
"ibizbookid"
,
"order"
:
1000
},
"TYPE"
:{
"headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"TYPE"
:{
"
codelist"
:{
"type"
:
"STATIC"
,
"tag"
:
"YesNo"
,
"isnumber"
:
false
},
"
headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"PRESS"
:{
"headername"
:
"图书出版社"
,
"isuniqueitem"
:
false
,
"name"
:
"press"
,
"order"
:
1000
},
"AUTHOR"
:{
"headername"
:
"图书作者"
,
"isuniqueitem"
:
false
,
"name"
:
"author"
,
"order"
:
1000
},
"PRICE"
:{
"headername"
:
"图书价格"
,
"isuniqueitem"
:
false
,
"name"
:
"price"
,
"order"
:
1000
},
...
...
@@ -1197,6 +1199,14 @@ export default class Main5Base extends Vue implements ControlInterface {
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
)
{
let
codelistColumns
:
Array
<
any
>
=
[
{
name
:
'type'
,
srfkey
:
'YesNo'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
];
let
_this
=
this
;
for
(
const
codelist
of
codelistColumns
)
{
...
...
app_Web/src/widgets/ibizbook/new-default-grid/new-default-grid-base.vue
浏览文件 @
11c65b51
...
...
@@ -100,7 +100,7 @@
</app-form-item>
</
template
>
<
template
v-if=
"!actualIsOpenEdit"
>
<
app-span
name=
'type'
editorType=
"TEXTBOX"
:value=
"row.type"
dataType=
"TEXT"
precision=
"0"
></app-span
>
<
codelist
:value=
"row.type"
tag=
'YesNo'
codelistType=
'STATIC'
></codelist
>
</
template
>
</template>
</el-table-column>
...
...
@@ -1212,7 +1212,7 @@ export default class NewDefaultBase extends Vue implements ControlInterface {
"UPDATEMAN"
:{
"codelist"
:{
"type"
:
"DYNAMIC"
,
"tag"
:
"SysOperator"
,
"isnumber"
:
false
},
"headername"
:
"更新人"
,
"isuniqueitem"
:
false
,
"name"
:
"updateman"
,
"order"
:
1000
},
"UPDATEDATE"
:{
"headername"
:
"更新时间"
,
"isuniqueitem"
:
false
,
"name"
:
"updatedate"
,
"order"
:
1000
},
"IBIZBOOKID"
:{
"headername"
:
"图书标识"
,
"isuniqueitem"
:
false
,
"name"
:
"ibizbookid"
,
"order"
:
1000
},
"TYPE"
:{
"headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"TYPE"
:{
"
codelist"
:{
"type"
:
"STATIC"
,
"tag"
:
"YesNo"
,
"isnumber"
:
false
},
"
headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"PRESS"
:{
"headername"
:
"图书出版社"
,
"isuniqueitem"
:
false
,
"name"
:
"press"
,
"order"
:
1000
},
"AUTHOR"
:{
"headername"
:
"图书作者"
,
"isuniqueitem"
:
false
,
"name"
:
"author"
,
"order"
:
1000
},
"PRICE"
:{
"headername"
:
"图书价格"
,
"isuniqueitem"
:
false
,
"name"
:
"price"
,
"order"
:
1000
},
...
...
@@ -1317,6 +1317,14 @@ export default class NewDefaultBase extends Vue implements ControlInterface {
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
)
{
let
codelistColumns
:
Array
<
any
>
=
[
{
name
:
'type'
,
srfkey
:
'YesNo'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
];
let
_this
=
this
;
for
(
const
codelist
of
codelistColumns
)
{
...
...
app_Web/src/widgets/ibizbook/row-edit-grid/row-edit-grid-base.vue
浏览文件 @
11c65b51
...
...
@@ -201,7 +201,15 @@
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD"
:data=
"row.lendouttime"
></app-format-data>
<template
v-if=
"actualIsOpenEdit && !row.children"
>
<app-form-item
:error=
"gridItemsModel[$index][column.property].error"
>
<date-picker
type=
"date"
:transfer=
"true"
format=
"yyyy-MM-dd"
:disabled=
"getColumnDisabled(row,column.property)"
:value=
"row[column.property]"
style=
""
@
on-change=
"(val1, val2) =>
{ row[column.property] = val1; gridEditItemChange(row, column.property, val1, $index)}">
</date-picker>
</app-form-item>
</
template
>
<
template
v-if=
"!actualIsOpenEdit"
>
<app-span
name=
'lendouttime'
editorType=
"DATEPICKER"
:value=
"row.lendouttime"
dataType=
"DATE"
precision=
"0"
></app-span>
</
template
>
</template>
</el-table-column>
</template>
...
...
@@ -213,7 +221,15 @@
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<app-format-data
format=
"YYYY-MM-DD"
:data=
"row.returntime"
></app-format-data>
<template
v-if=
"actualIsOpenEdit && !row.children"
>
<app-form-item
:error=
"gridItemsModel[$index][column.property].error"
>
<date-picker
type=
"date"
:transfer=
"true"
format=
"yyyy-MM-dd"
:disabled=
"getColumnDisabled(row,column.property)"
:value=
"row[column.property]"
style=
""
@
on-change=
"(val1, val2) =>
{ row[column.property] = val1; gridEditItemChange(row, column.property, val1, $index)}">
</date-picker>
</app-form-item>
</
template
>
<
template
v-if=
"!actualIsOpenEdit"
>
<app-span
name=
'returntime'
editorType=
"DATEPICKER"
:value=
"row.returntime"
dataType=
"DATE"
precision=
"0"
></app-span>
</
template
>
</template>
</el-table-column>
</template>
...
...
@@ -696,7 +712,7 @@ export default class RowEditBase extends Vue implements ControlInterface {
*
* @memberof RowEditBase
*/
public
defaultUpdateItems
:
Array
<
any
>
=
[,,,,,,];
public
defaultUpdateItems
:
Array
<
any
>
=
[,,,,,,
,,
];
/**
* 选中行数据
...
...
@@ -834,7 +850,7 @@ export default class RowEditBase extends Vue implements ControlInterface {
langtag
:
'entities.ibizbook.rowedit_grid.columns.lendouttime'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
fals
e
,
isEnableRowEdit
:
tru
e
,
enableCond
:
3
,
},
{
...
...
@@ -843,7 +859,7 @@ export default class RowEditBase extends Vue implements ControlInterface {
langtag
:
'entities.ibizbook.rowedit_grid.columns.returntime'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
fals
e
,
isEnableRowEdit
:
tru
e
,
enableCond
:
3
,
},
]
...
...
@@ -932,11 +948,13 @@ export default class RowEditBase extends Vue implements ControlInterface {
*/
public
getGridRowModel
(){
return
{
lendouttime
:
new
FormItemModel
(),
author
:
new
FormItemModel
(),
press
:
new
FormItemModel
(),
ibizbookname
:
new
FormItemModel
(),
price
:
new
FormItemModel
(),
booknumber
:
new
FormItemModel
(),
returntime
:
new
FormItemModel
(),
type
:
new
FormItemModel
(),
srfkey
:
new
FormItemModel
(),
}
...
...
@@ -958,6 +976,10 @@ export default class RowEditBase extends Vue implements ControlInterface {
* @memberof RowEditBase
*/
public
rules
:
any
=
{
lendouttime
:
[
{
required
:
true
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'借出日期 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'借出日期 值不能为空'
,
trigger
:
'blur'
},
],
author
:
[
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'图书作者 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'图书作者 值不能为空'
,
trigger
:
'blur'
},
...
...
@@ -978,6 +1000,10 @@ export default class RowEditBase extends Vue implements ControlInterface {
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'图书数量 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'图书数量 值不能为空'
,
trigger
:
'blur'
},
],
returntime
:
[
{
required
:
true
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'归还日期 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'归还日期 值不能为空'
,
trigger
:
'blur'
},
],
type
:
[
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'图书类型 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'图书类型 值不能为空'
,
trigger
:
'blur'
},
...
...
@@ -1267,7 +1293,7 @@ export default class RowEditBase extends Vue implements ControlInterface {
"UPDATEMAN"
:{
"codelist"
:{
"type"
:
"DYNAMIC"
,
"tag"
:
"SysOperator"
,
"isnumber"
:
false
},
"headername"
:
"更新人"
,
"isuniqueitem"
:
false
,
"name"
:
"updateman"
,
"order"
:
1000
},
"UPDATEDATE"
:{
"headername"
:
"更新时间"
,
"isuniqueitem"
:
false
,
"name"
:
"updatedate"
,
"order"
:
1000
},
"IBIZBOOKID"
:{
"headername"
:
"图书标识"
,
"isuniqueitem"
:
false
,
"name"
:
"ibizbookid"
,
"order"
:
1000
},
"TYPE"
:{
"headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"TYPE"
:{
"
codelist"
:{
"type"
:
"STATIC"
,
"tag"
:
"YesNo"
,
"isnumber"
:
false
},
"
headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"PRESS"
:{
"headername"
:
"图书出版社"
,
"isuniqueitem"
:
false
,
"name"
:
"press"
,
"order"
:
1000
},
"AUTHOR"
:{
"headername"
:
"图书作者"
,
"isuniqueitem"
:
false
,
"name"
:
"author"
,
"order"
:
1000
},
"PRICE"
:{
"headername"
:
"图书价格"
,
"isuniqueitem"
:
false
,
"name"
:
"price"
,
"order"
:
1000
},
...
...
app_Web/src/widgets/ibizbook/row-edit-grid/row-edit-grid-model.ts
浏览文件 @
11c65b51
...
...
@@ -30,6 +30,7 @@ export default class RowEditModel {
name
:
'lendouttime'
,
prop
:
'lendouttime'
,
dataType
:
'DATE'
,
isEditable
:
true
},
{
name
:
'author'
,
...
...
@@ -70,6 +71,7 @@ export default class RowEditModel {
name
:
'returntime'
,
prop
:
'returntime'
,
dataType
:
'DATE'
,
isEditable
:
true
},
{
name
:
'type'
,
...
...
app_Web/src/widgets/ibizbook/row-rules-grid/row-rules-grid-base.vue
浏览文件 @
11c65b51
...
...
@@ -100,7 +100,7 @@
</app-form-item>
</
template
>
<
template
v-if=
"!actualIsOpenEdit"
>
<
app-span
name=
'type'
editorType=
"TEXTBOX"
:value=
"row.type"
dataType=
"TEXT"
precision=
"0"
></app-span
>
<
codelist
:value=
"row.type"
tag=
'YesNo'
codelistType=
'STATIC'
></codelist
>
</
template
>
</template>
</el-table-column>
...
...
@@ -1242,7 +1242,7 @@ export default class RowRulesBase extends Vue implements ControlInterface {
"UPDATEMAN"
:{
"codelist"
:{
"type"
:
"DYNAMIC"
,
"tag"
:
"SysOperator"
,
"isnumber"
:
false
},
"headername"
:
"更新人"
,
"isuniqueitem"
:
false
,
"name"
:
"updateman"
,
"order"
:
1000
},
"UPDATEDATE"
:{
"headername"
:
"更新时间"
,
"isuniqueitem"
:
false
,
"name"
:
"updatedate"
,
"order"
:
1000
},
"IBIZBOOKID"
:{
"headername"
:
"图书标识"
,
"isuniqueitem"
:
false
,
"name"
:
"ibizbookid"
,
"order"
:
1000
},
"TYPE"
:{
"headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"TYPE"
:{
"
codelist"
:{
"type"
:
"STATIC"
,
"tag"
:
"YesNo"
,
"isnumber"
:
false
},
"
headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"PRESS"
:{
"headername"
:
"图书出版社"
,
"isuniqueitem"
:
false
,
"name"
:
"press"
,
"order"
:
1000
},
"AUTHOR"
:{
"headername"
:
"图书作者"
,
"isuniqueitem"
:
false
,
"name"
:
"author"
,
"order"
:
1000
},
"PRICE"
:{
"headername"
:
"图书价格"
,
"isuniqueitem"
:
false
,
"name"
:
"price"
,
"order"
:
1000
},
...
...
@@ -1347,6 +1347,14 @@ export default class RowRulesBase extends Vue implements ControlInterface {
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
)
{
let
codelistColumns
:
Array
<
any
>
=
[
{
name
:
'type'
,
srfkey
:
'YesNo'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
];
let
_this
=
this
;
for
(
const
codelist
of
codelistColumns
)
{
...
...
app_Web/src/widgets/ibizbook/update-default-grid/update-default-grid-base.vue
浏览文件 @
11c65b51
...
...
@@ -100,7 +100,7 @@
</app-form-item>
</
template
>
<
template
v-if=
"!actualIsOpenEdit"
>
<
app-span
name=
'type'
editorType=
"TEXTBOX"
:value=
"row.type"
dataType=
"TEXT"
precision=
"0"
></app-span
>
<
codelist
:value=
"row.type"
tag=
'YesNo'
codelistType=
'STATIC'
></codelist
>
</
template
>
</template>
</el-table-column>
...
...
@@ -1212,7 +1212,7 @@ export default class UpdateDefaultBase extends Vue implements ControlInterface {
"UPDATEMAN"
:{
"codelist"
:{
"type"
:
"DYNAMIC"
,
"tag"
:
"SysOperator"
,
"isnumber"
:
false
},
"headername"
:
"更新人"
,
"isuniqueitem"
:
false
,
"name"
:
"updateman"
,
"order"
:
1000
},
"UPDATEDATE"
:{
"headername"
:
"更新时间"
,
"isuniqueitem"
:
false
,
"name"
:
"updatedate"
,
"order"
:
1000
},
"IBIZBOOKID"
:{
"headername"
:
"图书标识"
,
"isuniqueitem"
:
false
,
"name"
:
"ibizbookid"
,
"order"
:
1000
},
"TYPE"
:{
"headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"TYPE"
:{
"
codelist"
:{
"type"
:
"STATIC"
,
"tag"
:
"YesNo"
,
"isnumber"
:
false
},
"
headername"
:
"图书类型"
,
"isuniqueitem"
:
false
,
"name"
:
"type"
,
"order"
:
1000
},
"PRESS"
:{
"headername"
:
"图书出版社"
,
"isuniqueitem"
:
false
,
"name"
:
"press"
,
"order"
:
1000
},
"AUTHOR"
:{
"headername"
:
"图书作者"
,
"isuniqueitem"
:
false
,
"name"
:
"author"
,
"order"
:
1000
},
"PRICE"
:{
"headername"
:
"图书价格"
,
"isuniqueitem"
:
false
,
"name"
:
"price"
,
"order"
:
1000
},
...
...
@@ -1317,6 +1317,14 @@ export default class UpdateDefaultBase extends Vue implements ControlInterface {
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
)
{
let
codelistColumns
:
Array
<
any
>
=
[
{
name
:
'type'
,
srfkey
:
'YesNo'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
];
let
_this
=
this
;
for
(
const
codelist
of
codelistColumns
)
{
...
...
app_Web/src/widgets/ibizbook/usr3-dataview/usr3-dataview-base.vue
浏览文件 @
11c65b51
...
...
@@ -305,7 +305,7 @@ export default class Usr3Base extends Vue implements ControlInterface {
* @type {string}
* @memberof Usr3Base
*/
public
groupFieldCodelist
:
any
=
{};
public
groupFieldCodelist
:
any
=
{
type
:
'STATIC'
,
tag
:
'YesNo'
};
/**
* 分组数据
...
...
demo-core/src/main/resources/sysmodel/DemoSys.json
浏览文件 @
11c65b51
...
...
@@ -301,6 +301,7 @@
"field_logic_name"
:
"图书类型"
,
"entity_name"
:
"IBIZBOOK"
,
"field_type"
:
"TEXT"
,
"dict"
:
"YesNo"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录