提交 a25819fe 编写于 作者: ibizdev's avatar ibizdev

ShineKOT 发布系统代码 [后台服务,演示应用]

上级 8fe828ec
......@@ -36,137 +36,6 @@
}
]
},
{
"srfkey": "SCODELIST_NUM",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "类型1",
"text": "类型1",
"class":"",
"data":"",
"codename":"Item_1",
"value": 1,
"disabled": false
}
, {
"id": "2",
"label": "类型2",
"text": "类型2",
"class":"",
"data":"",
"codename":"Item_2",
"value": 2,
"disabled": false
}
, {
"id": "4",
"label": "类型3",
"text": "类型3",
"class":"",
"data":"",
"codename":"Item_4",
"value": 4,
"disabled": false
}
]
},
{
"srfkey": "CodeList96",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "HTML",
"label": "HTML",
"text": "HTML",
"class":"",
"data":"",
"codename":"Html",
"value": "HTML",
"disabled": false
}
, {
"id": "SL",
"label": "SilverLight",
"text": "SilverLight",
"class":"",
"data":"",
"codename":"Sl",
"value": "SL",
"disabled": false
}
, {
"id": "WinRT",
"label": "WinRT",
"text": "WinRT",
"class":"",
"data":"",
"codename":"Winrt",
"value": "WinRT",
"disabled": false
}
, {
"id": "Android",
"label": "Android",
"text": "Android",
"class":"",
"data":"",
"codename":"Android",
"value": "Android",
"disabled": false
}
, {
"id": "IOS",
"label": "IOS",
"text": "IOS",
"class":"",
"data":"",
"codename":"Ios",
"value": "IOS",
"disabled": false
}
]
},
{
"srfkey": "CodeList12",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "REPORTFOLDER_1",
"label": "经营性报表",
"text": "经营性报表",
"class":"",
"data":"",
"codename":"Reportfolder_1",
"value": "REPORTFOLDER_1",
"disabled": false
}
, {
"id": "REPORTFOLDER_2",
"label": "财务报表",
"text": "财务报表",
"class":"",
"data":"",
"codename":"Reportfolder_2",
"value": "REPORTFOLDER_2",
"disabled": false
}
]
},
{
"srfkey": "Bookgroup",
"emptytext": "未定义",
......@@ -368,6 +237,188 @@
"appdedataset":"FetchDefault",
"items": []
},
{
"srfkey": "SCODELIST_NUM",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "类型1",
"text": "类型1",
"class":"",
"data":"",
"codename":"Item_1",
"value": 1,
"disabled": false
}
, {
"id": "2",
"label": "类型2",
"text": "类型2",
"class":"",
"data":"",
"codename":"Item_2",
"value": 2,
"disabled": false
}
, {
"id": "4",
"label": "类型3",
"text": "类型3",
"class":"",
"data":"",
"codename":"Item_4",
"value": 4,
"disabled": false
}
]
},
{
"srfkey": "CodeList96",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "HTML",
"label": "HTML",
"text": "HTML",
"class":"",
"data":"",
"codename":"Html",
"value": "HTML",
"disabled": false
}
, {
"id": "SL",
"label": "SilverLight",
"text": "SilverLight",
"class":"",
"data":"",
"codename":"Sl",
"value": "SL",
"disabled": false
}
, {
"id": "WinRT",
"label": "WinRT",
"text": "WinRT",
"class":"",
"data":"",
"codename":"Winrt",
"value": "WinRT",
"disabled": false
}
, {
"id": "Android",
"label": "Android",
"text": "Android",
"class":"",
"data":"",
"codename":"Android",
"value": "Android",
"disabled": false
}
, {
"id": "IOS",
"label": "IOS",
"text": "IOS",
"class":"",
"data":"",
"codename":"Ios",
"value": "IOS",
"disabled": false
}
]
},
{
"srfkey": "CodeList12",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "REPORTFOLDER_1",
"label": "经营性报表",
"text": "经营性报表",
"class":"",
"data":"",
"codename":"Reportfolder_1",
"value": "REPORTFOLDER_1",
"disabled": false
}
, {
"id": "REPORTFOLDER_2",
"label": "财务报表",
"text": "财务报表",
"class":"",
"data":"",
"codename":"Reportfolder_2",
"value": "REPORTFOLDER_2",
"disabled": false
}
]
},
{
"srfkey": "BookType",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "仙侠",
"text": "仙侠",
"class":"",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
, {
"id": "2",
"label": "武侠",
"text": "武侠",
"class":"",
"data":"",
"codename":"Item_2",
"value": "2",
"disabled": false
}
, {
"id": "4",
"label": "玄幻",
"text": "玄幻",
"class":"",
"data":"",
"codename":"Item_4",
"value": "4",
"disabled": false
}
, {
"id": "3",
"label": "都市",
"text": "都市",
"class":"",
"data":"",
"codename":"Item_3",
"value": "3",
"disabled": false
}
]
},
{
"srfkey": "CodeList46",
"emptytext": "未定义",
......
......@@ -232,7 +232,7 @@
"viewtag": "3730f86aa3a089df4f44f43426fc5478"
},
"ibizbookusr2gridview": {
"title": "图书表格视图(表格分组)",
"title": "图书表格视图(自动分组)",
"caption": "图书",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
......@@ -847,6 +847,14 @@
"viewname": "IBIZSample0017F30EditView",
"viewtag": "dd096d00060edfc66b00320c3c96ac0a"
},
"ibizbookusr3gridview": {
"title": "图书表格视图(代码表分组)",
"caption": "图书",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsr3GridView",
"viewtag": "dd8d7ffe00cabb07784f30f66a5b34da"
},
"ibizsample0003spickupview2": {
"title": "IBIZSAMPLE0003数据选择视图",
"caption": "示例实体03",
......
......@@ -190,7 +190,7 @@ export default {
menuitem74: "行编辑",
menuitem75: "新建默认值",
menuitem76: "更新默认值",
menuitem78: "表格分组",
menuitem78: "自动分组",
menuitem77: "表格值规则",
menuitem14: "树视图",
menuitem60: "静态节点",
......
......@@ -190,7 +190,7 @@ export default {
menuitem74: "行编辑",
menuitem75: "新建默认值",
menuitem76: "更新默认值",
menuitem78: "表格分组",
menuitem78: "自动分组",
menuitem77: "表格值规则",
menuitem14: "树视图",
menuitem60: "静态节点",
......
......@@ -7,25 +7,6 @@ export default {
"Hardware": "硬件",
"empty": ""
},
SCODELIST_NUM: {
"1": "类型1",
"2": "类型2",
"4": "类型3",
"empty": ""
},
CodeList96: {
"HTML": "HTML",
"SL": "SilverLight",
"WinRT": "WinRT",
"Android": "Android",
"IOS": "IOS",
"empty": ""
},
CodeList12: {
"REPORTFOLDER_1": "经营性报表",
"REPORTFOLDER_2": "财务报表",
"empty": ""
},
Bookgroup: {
"all": "全部",
"onshelf": "已上架",
......@@ -56,6 +37,32 @@ export default {
ORDERTYPE: {
"empty": "",
},
SCODELIST_NUM: {
"1": "类型1",
"2": "类型2",
"4": "类型3",
"empty": ""
},
CodeList96: {
"HTML": "HTML",
"SL": "SilverLight",
"WinRT": "WinRT",
"Android": "Android",
"IOS": "IOS",
"empty": ""
},
CodeList12: {
"REPORTFOLDER_1": "经营性报表",
"REPORTFOLDER_2": "财务报表",
"empty": ""
},
BookType: {
"1": "仙侠",
"2": "武侠",
"4": "玄幻",
"3": "都市",
"empty": ""
},
CodeList46: {
"2": "星期一",
"3": "星期二",
......
......@@ -7,25 +7,6 @@ export default {
"Hardware": "硬件",
"empty": "",
},
SCODELIST_NUM: {
"1": "类型1",
"2": "类型2",
"4": "类型3",
"empty": "",
},
CodeList96: {
"HTML": "HTML",
"SL": "SilverLight",
"WinRT": "WinRT",
"Android": "Android",
"IOS": "IOS",
"empty": "",
},
CodeList12: {
"REPORTFOLDER_1": "经营性报表",
"REPORTFOLDER_2": "财务报表",
"empty": "",
},
Bookgroup: {
"all": "全部",
"onshelf": "已上架",
......@@ -56,6 +37,32 @@ export default {
ORDERTYPE: {
"empty": "",
},
SCODELIST_NUM: {
"1": "类型1",
"2": "类型2",
"4": "类型3",
"empty": "",
},
CodeList96: {
"HTML": "HTML",
"SL": "SilverLight",
"WinRT": "WinRT",
"Android": "Android",
"IOS": "IOS",
"empty": "",
},
CodeList12: {
"REPORTFOLDER_1": "经营性报表",
"REPORTFOLDER_2": "财务报表",
"empty": "",
},
BookType: {
"1": "仙侠",
"2": "武侠",
"4": "玄幻",
"3": "都市",
"empty": "",
},
CodeList46: {
"2": "星期一",
"3": "星期二",
......
......@@ -15,7 +15,7 @@ export default {
views: {
usr2gridview: {
caption: "图书",
title: "图书表格视图(表格分组)",
title: "图书表格视图(自动分组)",
},
valuerulesgridview: {
caption: "图书",
......@@ -29,6 +29,10 @@ export default {
caption: "图书",
title: "图书表格视图(行编辑)",
},
usr3gridview: {
caption: "图书",
title: "图书表格视图(代码表分组)",
},
updatedefaultgridview: {
caption: "图书",
title: "图书表格视图(更新默认值)",
......@@ -144,6 +148,18 @@ export default {
uiactions: {
},
},
main3_grid: {
columns: {
type: "图书类型",
author: "图书作者",
ibizbookname: "图书名称",
press: "图书出版社",
price: "图书价格",
},
nodata:"",
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
......@@ -430,4 +446,6 @@ export default {
},
valuerulesgridviewtoolbar_toolbar: {
},
usr3gridviewtoolbar_toolbar: {
},
};
\ No newline at end of file
......@@ -14,7 +14,7 @@ export default {
views: {
usr2gridview: {
caption: "图书",
title: "图书表格视图(表格分组)",
title: "图书表格视图(自动分组)",
},
valuerulesgridview: {
caption: "图书",
......@@ -28,6 +28,10 @@ export default {
caption: "图书",
title: "图书表格视图(行编辑)",
},
usr3gridview: {
caption: "图书",
title: "图书表格视图(代码表分组)",
},
updatedefaultgridview: {
caption: "图书",
title: "图书表格视图(更新默认值)",
......@@ -143,6 +147,18 @@ export default {
uiactions: {
},
},
main3_grid: {
columns: {
type: "图书类型",
author: "图书作者",
ibizbookname: "图书名称",
press: "图书出版社",
price: "图书价格",
},
nodata:"",
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
......@@ -429,4 +445,6 @@ export default {
},
valuerulesgridviewtoolbar_toolbar: {
},
usr3gridviewtoolbar_toolbar: {
},
};
\ No newline at end of file
......@@ -503,10 +503,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
{
id: 'DDCC0C0A-3A1C-4579-86DB-6727CFB46E04',
name: 'menuitem78',
text: '表格分组',
text: '自动分组',
type: 'MENUITEM',
counterid: '',
tooltip: '表格分组',
tooltip: '自动分组',
expanded: false,
separator: false,
hidden: false,
......
......@@ -44,137 +44,6 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey: "SCODELIST_NUM",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "1",
label: "类型1",
text: "类型1",
"class":"",
"data":"",
"codename":"Item_1",
value: 1,
disabled: false,
},
{
id: "2",
label: "类型2",
text: "类型2",
"class":"",
"data":"",
"codename":"Item_2",
value: 2,
disabled: false,
},
{
id: "4",
label: "类型3",
text: "类型3",
"class":"",
"data":"",
"codename":"Item_4",
value: 4,
disabled: false,
},
]
},
{
srfkey: "CodeList96",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "HTML",
label: "HTML",
text: "HTML",
"class":"",
"data":"",
"codename":"Html",
value: "HTML",
disabled: false,
},
{
id: "SL",
label: "SilverLight",
text: "SilverLight",
"class":"",
"data":"",
"codename":"Sl",
value: "SL",
disabled: false,
},
{
id: "WinRT",
label: "WinRT",
text: "WinRT",
"class":"",
"data":"",
"codename":"Winrt",
value: "WinRT",
disabled: false,
},
{
id: "Android",
label: "Android",
text: "Android",
"class":"",
"data":"",
"codename":"Android",
value: "Android",
disabled: false,
},
{
id: "IOS",
label: "IOS",
text: "IOS",
"class":"",
"data":"",
"codename":"Ios",
value: "IOS",
disabled: false,
},
]
},
{
srfkey: "CodeList12",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "REPORTFOLDER_1",
label: "经营性报表",
text: "经营性报表",
"class":"",
"data":"",
"codename":"Reportfolder_1",
value: "REPORTFOLDER_1",
disabled: false,
},
{
id: "REPORTFOLDER_2",
label: "财务报表",
text: "财务报表",
"class":"",
"data":"",
"codename":"Reportfolder_2",
value: "REPORTFOLDER_2",
disabled: false,
},
]
},
{
srfkey: "Bookgroup",
emptytext: "未定义",
......@@ -376,6 +245,188 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
"appdedataset":"FetchDefault",
"items": []
},
{
srfkey: "SCODELIST_NUM",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "1",
label: "类型1",
text: "类型1",
"class":"",
"data":"",
"codename":"Item_1",
value: 1,
disabled: false,
},
{
id: "2",
label: "类型2",
text: "类型2",
"class":"",
"data":"",
"codename":"Item_2",
value: 2,
disabled: false,
},
{
id: "4",
label: "类型3",
text: "类型3",
"class":"",
"data":"",
"codename":"Item_4",
value: 4,
disabled: false,
},
]
},
{
srfkey: "CodeList96",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "HTML",
label: "HTML",
text: "HTML",
"class":"",
"data":"",
"codename":"Html",
value: "HTML",
disabled: false,
},
{
id: "SL",
label: "SilverLight",
text: "SilverLight",
"class":"",
"data":"",
"codename":"Sl",
value: "SL",
disabled: false,
},
{
id: "WinRT",
label: "WinRT",
text: "WinRT",
"class":"",
"data":"",
"codename":"Winrt",
value: "WinRT",
disabled: false,
},
{
id: "Android",
label: "Android",
text: "Android",
"class":"",
"data":"",
"codename":"Android",
value: "Android",
disabled: false,
},
{
id: "IOS",
label: "IOS",
text: "IOS",
"class":"",
"data":"",
"codename":"Ios",
value: "IOS",
disabled: false,
},
]
},
{
srfkey: "CodeList12",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "REPORTFOLDER_1",
label: "经营性报表",
text: "经营性报表",
"class":"",
"data":"",
"codename":"Reportfolder_1",
value: "REPORTFOLDER_1",
disabled: false,
},
{
id: "REPORTFOLDER_2",
label: "财务报表",
text: "财务报表",
"class":"",
"data":"",
"codename":"Reportfolder_2",
value: "REPORTFOLDER_2",
disabled: false,
},
]
},
{
srfkey: "BookType",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "1",
label: "仙侠",
text: "仙侠",
"class":"",
"data":"",
"codename":"Item_1",
value: "1",
disabled: false,
},
{
id: "2",
label: "武侠",
text: "武侠",
"class":"",
"data":"",
"codename":"Item_2",
value: "2",
disabled: false,
},
{
id: "4",
label: "玄幻",
text: "玄幻",
"class":"",
"data":"",
"codename":"Item_4",
value: "4",
disabled: false,
},
{
id: "3",
label: "都市",
text: "都市",
"class":"",
"data":"",
"codename":"Item_3",
value: "3",
disabled: false,
},
]
},
{
srfkey: "CodeList46",
emptytext: "未定义",
......
......@@ -240,7 +240,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag": "3730f86aa3a089df4f44f43426fc5478"
},
"ibizbookusr2gridview": {
"title": "图书表格视图(表格分组)",
"title": "图书表格视图(自动分组)",
"caption": "图书",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
......@@ -855,6 +855,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZSample0017F30EditView",
"viewtag": "dd096d00060edfc66b00320c3c96ac0a"
},
"ibizbookusr3gridview": {
"title": "图书表格视图(代码表分组)",
"caption": "图书",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsr3GridView",
"viewtag": "dd8d7ffe00cabb07784f30f66a5b34da"
},
"ibizsample0003spickupview2": {
"title": "IBIZSAMPLE0003数据选择视图",
"caption": "示例实体03",
......
......@@ -100,6 +100,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'valuerulesgridview',srfappde:'ibizbooks',component:'ibizbookvalue-rules-grid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizbooks',component:'ibizbookedit-view'});
this.allViewMap.set(':',{viewname:'roweditgridview',srfappde:'ibizbooks',component:'ibizbookrow-edit-grid-view'});
this.allViewMap.set(':',{viewname:'usr3gridview',srfappde:'ibizbooks',component:'ibizbookusr3-grid-view'});
this.allViewMap.set(':',{viewname:'updatedefaultgridview',srfappde:'ibizbooks',component:'ibizbookupdate-default-grid-view'});
this.allViewMap.set(':',{viewname:'internalfuncgridview',srfappde:'ibizbooks',component:'ibizbookinternal-func-grid-view'});
this.allViewMap.set(':',{viewname:'newdefaultvaluegridview',srfappde:'ibizbooks',component:'ibizbooknew-default-value-grid-view'});
......
......@@ -534,10 +534,10 @@ export default class MainMenuModel {
{
id: 'DDCC0C0A-3A1C-4579-86DB-6727CFB46E04',
name: 'menuitem78',
text: '表格分组',
text: '自动分组',
type: 'MENUITEM',
counterid: '',
tooltip: '表格分组',
tooltip: '自动分组',
expanded: false,
separator: false,
hidden: false,
......
......@@ -53,7 +53,9 @@
</span>
</template>
<template v-slot="{row,column,$index}">
<span>{{row.type}}</span>
<template >
<codelist :value="row.type" tag='BookType' codelistType='STATIC' ></codelist>
</template>
</template>
</el-table-column>
</template>
......@@ -1042,7 +1044,7 @@ export default class InternalFuncBase extends Vue implements ControlInterface {
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......@@ -1143,6 +1145,14 @@ export default class InternalFuncBase extends Vue implements ControlInterface {
*/
public async formatExcelData(filterVal:any, jsonData:any) {
let codelistColumns:Array<any> = [
{
name: 'type',
srfkey: 'BookType',
codelistType : 'STATIC',
renderMode: 'other',
textSeparator: '、',
valueSeparator: ',',
},
];
let _this = this;
for (const codelist of codelistColumns) {
......
......@@ -39,7 +39,9 @@
</span>
</template>
<template v-slot="{row,column,$index}">
<span>{{row.type}}</span>
<template >
<codelist :value="row.type" tag='BookType' codelistType='STATIC' ></codelist>
</template>
</template>
</el-table-column>
</template>
......@@ -717,7 +719,7 @@ export default class Main2Base extends Vue implements ControlInterface {
* @type {string}
* @memberof Main2Base
*/
public groupAppField:string ="type";
public groupAppField:string ="author";
/**
* 分组模式
......@@ -1053,7 +1055,7 @@ export default class Main2Base extends Vue implements ControlInterface {
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......@@ -1154,6 +1156,14 @@ export default class Main2Base extends Vue implements ControlInterface {
*/
public async formatExcelData(filterVal:any, jsonData:any) {
let codelistColumns:Array<any> = [
{
name: 'type',
srfkey: 'BookType',
codelistType : 'STATIC',
renderMode: 'other',
textSeparator: '、',
valueSeparator: ',',
},
];
let _this = this;
for (const codelist of codelistColumns) {
......
......@@ -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='BookType' codelistType='STATIC' ></codelist>
</template>
</template>
</el-table-column>
......@@ -1180,7 +1180,7 @@ export default class NewDefaultBase extends Vue implements ControlInterface {
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......@@ -1281,6 +1281,14 @@ export default class NewDefaultBase extends Vue implements ControlInterface {
*/
public async formatExcelData(filterVal:any, jsonData:any) {
let codelistColumns:Array<any> = [
{
name: 'type',
srfkey: 'BookType',
codelistType : 'STATIC',
renderMode: 'other',
textSeparator: '、',
valueSeparator: ',',
},
];
let _this = this;
for (const codelist of codelistColumns) {
......
......@@ -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='BookType' codelistType='STATIC' ></codelist>
</template>
</template>
</el-table-column>
......@@ -1146,7 +1146,7 @@ export default class RowEditBase extends Vue implements ControlInterface {
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......@@ -1247,6 +1247,14 @@ export default class RowEditBase extends Vue implements ControlInterface {
*/
public async formatExcelData(filterVal:any, jsonData:any) {
let codelistColumns:Array<any> = [
{
name: 'type',
srfkey: 'BookType',
codelistType : 'STATIC',
renderMode: 'other',
textSeparator: '、',
valueSeparator: ',',
},
];
let _this = this;
for (const codelist of codelistColumns) {
......
......@@ -58,7 +58,7 @@
</template>
<template v-slot="{row,column,$index}">
<template >
<app-span name='type' editorType="TEXTBOX" :value="row.type" dataType="TEXT" precision="0" ></app-span>
<codelist :value="row.type" tag='BookType' codelistType='STATIC' ></codelist>
</template>
</template>
</el-table-column>
......@@ -1077,7 +1077,7 @@ export default class RowRulesBase extends Vue implements ControlInterface {
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......@@ -1178,6 +1178,14 @@ export default class RowRulesBase extends Vue implements ControlInterface {
*/
public async formatExcelData(filterVal:any, jsonData:any) {
let codelistColumns:Array<any> = [
{
name: 'type',
srfkey: 'BookType',
codelistType : 'STATIC',
renderMode: 'other',
textSeparator: '、',
valueSeparator: ',',
},
];
let _this = this;
for (const codelist of codelistColumns) {
......
......@@ -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='BookType' codelistType='STATIC' ></codelist>
</template>
</template>
</el-table-column>
......@@ -1180,7 +1180,7 @@ export default class UpdateDefaultBase extends Vue implements ControlInterface {
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......@@ -1281,6 +1281,14 @@ export default class UpdateDefaultBase extends Vue implements ControlInterface {
*/
public async formatExcelData(filterVal:any, jsonData:any) {
let codelistColumns:Array<any> = [
{
name: 'type',
srfkey: 'BookType',
codelistType : 'STATIC',
renderMode: 'other',
textSeparator: '、',
valueSeparator: ',',
},
];
let _this = this;
for (const codelist of codelistColumns) {
......
......@@ -8,11 +8,11 @@ import java.util.List;
public interface IBIZBOOKDataImport {
@Mappings({
@Mapping(target = "ibizbookid", source = "ibizbookid"),
@Mapping(target = "type", source = "type"),
@Mapping(target = "press", source = "press"),
@Mapping(target = "author", source = "author"),
@Mapping(target = "price", source = "price"),
@Mapping(target = "ibizbookname", source = "ibizbookname"),
@Mapping(target = "type", source = "type"),
})
@BeanMapping(ignoreByDefault = true)
IBIZBOOK toDomain(IBIZBOOK entity);
......
......@@ -8,10 +8,10 @@ import java.util.List;
public interface IBIZOrderImport {
@Mappings({
@Mapping(target = "ibizorderid", source = "ibizorderid"),
@Mapping(target = "ibizordername", source = "ibizordername"),
@Mapping(target = "ordertype", source = "ordertype"),
@Mapping(target = "ordertime", source = "ordertime"),
@Mapping(target = "orderuid", source = "orderuid"),
@Mapping(target = "ibizordername", source = "ibizordername"),
@Mapping(target = "ordertype", source = "ordertype"),
})
@BeanMapping(ignoreByDefault = true)
IBIZOrder toDomain(IBIZOrder entity);
......
......@@ -28,7 +28,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-97-2">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-122-2">
<createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
......@@ -302,7 +302,7 @@
{
"appid":"Web",
"appname":"演示应用",
"appmenu":[{"menuid":"MainMenu", "menuname":"MainMenu", "menuitem":[{ "id":"menuitem1" , "name":"工作台" },{ "id":"menuitem3" , "name":"控件" , "items":[{ "id":"menuitem6" , "name":"默认数据类型" },{ "id":"menuitem7" , "name":"默认编辑器类型" },{ "id":"menuitem15" , "name":"基础表单项" },{ "id":"menuitem72" , "name":"编辑器扩展" }]},{ "id":"menuitem4" , "name":"部件" , "items":[{ "id":"menuitem12" , "name":"编辑表单" , "items":[{ "id":"menuitem47" , "name":"默认值" },{ "id":"menuitem48" , "name":"输入提示" },{ "id":"menuitem49" , "name":"辅助输入" },{ "id":"menuitem50" , "name":"自动填充" },{ "id":"menuitem51" , "name":"超链接" },{ "id":"menuitem52" , "name":"值重置" },{ "id":"menuitem55" , "name":"动态显示" },{ "id":"menuitem53" , "name":"动态启用" },{ "id":"menuitem54" , "name":"动态空输入" },{ "id":"menuitem56" , "name":"表单项更新" }]},{ "id":"menuitem16" , "name":"搜索表单" },{ "id":"menuitem13" , "name":"表格" , "items":[{ "id":"menuitem57" , "name":"禁用排序" },{ "id":"menuitem59" , "name":"行操作" },{ "id":"menuitem58" , "name":"行编辑" },{ "id":"menuitem73" , "name":"表格内置功能" },{ "id":"menuitem74" , "name":"行编辑" },{ "id":"menuitem75" , "name":"新建默认值" },{ "id":"menuitem76" , "name":"更新默认值" },{ "id":"menuitem78" , "name":"表格分组" },{ "id":"menuitem77" , "name":"表格值规则" }]},{ "id":"menuitem14" , "name":"树视图" , "items":[{ "id":"menuitem60" , "name":"静态节点" },{ "id":"menuitem61" , "name":"动态节点(代码表)" },{ "id":"menuitem62" , "name":"动态节点(实体)" },{ "id":"menuitem63" , "name":"右键操作" },{ "id":"menuitem64" , "name":"动态参数过滤" }]},{ "id":"menuitem37" , "name":"图表" , "items":[{ "id":"menuitem38" , "name":"柱状图" },{ "id":"menuitem39" , "name":"折线图" },{ "id":"menuitem40" , "name":"饼图" },{ "id":"menuitem41" , "name":"区域图" },{ "id":"menuitem42" , "name":"雷达图" },{ "id":"menuitem43" , "name":"仪表盘" },{ "id":"menuitem44" , "name":"K线图" }]},{ "id":"menuitem17" , "name":"向导" },{ "id":"menuitem18" , "name":"界面行为" , "items":[{ "id":"menuitem65" , "name":"前端界面行为" },{ "id":"menuitem66" , "name":"后台界面行为" }]}]},{ "id":"menuitem5" , "name":"视图" , "items":[{ "id":"menuitem9" , "name":"列表视图" , "items":[{ "id":"menuitem19" , "name":"常规表格视图" },{ "id":"menuitem21" , "name":"左右表格视图" },{ "id":"menuitem20" , "name":"嵌入表格视图" }]},{ "id":"menuitem8" , "name":"编辑视图" , "items":[{ "id":"menuitem22" , "name":"常规编辑视图" },{ "id":"menuitem23" , "name":"左右编辑视图" },{ "id":"menuitem24" , "name":"分页编辑视图" },{ "id":"menuitem25" , "name":"嵌入编辑视图" }]},{ "id":"menuitem26" , "name":"选择视图" , "items":[{ "id":"menuitem27" , "name":"单选视图" },{ "id":"menuitem28" , "name":"多选视图" },{ "id":"menuitem29" , "name":"树形选择视图" },{ "id":"menuitem30" , "name":"左右单选视图" },{ "id":"menuitem31" , "name":"左右多选视图" }]},{ "id":"menuitem10" , "name":"导航视图" , "items":[{ "id":"menuitem32" , "name":"常规导航视图" },{ "id":"menuitem33" , "name":"分页导航视图" },{ "id":"menuitem34" , "name":"嵌入导航视图" }]},{ "id":"menuitem11" , "name":"其他视图" , "items":[{ "id":"menuitem35" , "name":"图表视图" },{ "id":"menuitem36" , "name":"报表视图" }]},{ "id":"menuitem79" , "name":"表格视图" }]},{ "id":"menuitem69" , "name":"工作流" },{ "id":"menuitem2" , "name":"更多" , "items":[{ "id":"menuitem46" , "name":"数据导出导入" },{ "id":"menuitem45" , "name":"数据打印" },{ "id":"menuitem67" , "name":"索引实体" },{ "id":"menuitem68" , "name":"继承实体" },{ "id":"menuitem70" , "name":"主状态" },{ "id":"menuitem71" , "name":"多表单" }]}] }]
"appmenu":[{"menuid":"MainMenu", "menuname":"MainMenu", "menuitem":[{ "id":"menuitem1" , "name":"工作台" },{ "id":"menuitem3" , "name":"控件" , "items":[{ "id":"menuitem6" , "name":"默认数据类型" },{ "id":"menuitem7" , "name":"默认编辑器类型" },{ "id":"menuitem15" , "name":"基础表单项" },{ "id":"menuitem72" , "name":"编辑器扩展" }]},{ "id":"menuitem4" , "name":"部件" , "items":[{ "id":"menuitem12" , "name":"编辑表单" , "items":[{ "id":"menuitem47" , "name":"默认值" },{ "id":"menuitem48" , "name":"输入提示" },{ "id":"menuitem49" , "name":"辅助输入" },{ "id":"menuitem50" , "name":"自动填充" },{ "id":"menuitem51" , "name":"超链接" },{ "id":"menuitem52" , "name":"值重置" },{ "id":"menuitem55" , "name":"动态显示" },{ "id":"menuitem53" , "name":"动态启用" },{ "id":"menuitem54" , "name":"动态空输入" },{ "id":"menuitem56" , "name":"表单项更新" }]},{ "id":"menuitem16" , "name":"搜索表单" },{ "id":"menuitem13" , "name":"表格" , "items":[{ "id":"menuitem57" , "name":"禁用排序" },{ "id":"menuitem59" , "name":"行操作" },{ "id":"menuitem58" , "name":"行编辑" },{ "id":"menuitem73" , "name":"表格内置功能" },{ "id":"menuitem74" , "name":"行编辑" },{ "id":"menuitem75" , "name":"新建默认值" },{ "id":"menuitem76" , "name":"更新默认值" },{ "id":"menuitem78" , "name":"自动分组" },{ "id":"menuitem77" , "name":"表格值规则" }]},{ "id":"menuitem14" , "name":"树视图" , "items":[{ "id":"menuitem60" , "name":"静态节点" },{ "id":"menuitem61" , "name":"动态节点(代码表)" },{ "id":"menuitem62" , "name":"动态节点(实体)" },{ "id":"menuitem63" , "name":"右键操作" },{ "id":"menuitem64" , "name":"动态参数过滤" }]},{ "id":"menuitem37" , "name":"图表" , "items":[{ "id":"menuitem38" , "name":"柱状图" },{ "id":"menuitem39" , "name":"折线图" },{ "id":"menuitem40" , "name":"饼图" },{ "id":"menuitem41" , "name":"区域图" },{ "id":"menuitem42" , "name":"雷达图" },{ "id":"menuitem43" , "name":"仪表盘" },{ "id":"menuitem44" , "name":"K线图" }]},{ "id":"menuitem17" , "name":"向导" },{ "id":"menuitem18" , "name":"界面行为" , "items":[{ "id":"menuitem65" , "name":"前端界面行为" },{ "id":"menuitem66" , "name":"后台界面行为" }]}]},{ "id":"menuitem5" , "name":"视图" , "items":[{ "id":"menuitem9" , "name":"列表视图" , "items":[{ "id":"menuitem19" , "name":"常规表格视图" },{ "id":"menuitem21" , "name":"左右表格视图" },{ "id":"menuitem20" , "name":"嵌入表格视图" }]},{ "id":"menuitem8" , "name":"编辑视图" , "items":[{ "id":"menuitem22" , "name":"常规编辑视图" },{ "id":"menuitem23" , "name":"左右编辑视图" },{ "id":"menuitem24" , "name":"分页编辑视图" },{ "id":"menuitem25" , "name":"嵌入编辑视图" }]},{ "id":"menuitem26" , "name":"选择视图" , "items":[{ "id":"menuitem27" , "name":"单选视图" },{ "id":"menuitem28" , "name":"多选视图" },{ "id":"menuitem29" , "name":"树形选择视图" },{ "id":"menuitem30" , "name":"左右单选视图" },{ "id":"menuitem31" , "name":"左右多选视图" }]},{ "id":"menuitem10" , "name":"导航视图" , "items":[{ "id":"menuitem32" , "name":"常规导航视图" },{ "id":"menuitem33" , "name":"分页导航视图" },{ "id":"menuitem34" , "name":"嵌入导航视图" }]},{ "id":"menuitem11" , "name":"其他视图" , "items":[{ "id":"menuitem35" , "name":"图表视图" },{ "id":"menuitem36" , "name":"报表视图" }]},{ "id":"menuitem79" , "name":"表格视图" }]},{ "id":"menuitem69" , "name":"工作流" },{ "id":"menuitem2" , "name":"更多" , "items":[{ "id":"menuitem46" , "name":"数据导出导入" },{ "id":"menuitem45" , "name":"数据打印" },{ "id":"menuitem67" , "name":"索引实体" },{ "id":"menuitem68" , "name":"继承实体" },{ "id":"menuitem70" , "name":"主状态" },{ "id":"menuitem71" , "name":"多表单" }]}] }]
}
]
}
......@@ -297,6 +297,7 @@
"field_logic_name":"图书类型",
"entity_name":"IBIZBOOK",
"field_type":"TEXT",
"dict":"BookType",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
......
......@@ -498,6 +498,29 @@ public class StaticDict {
}
/**
* 代码表[图书类型]
*/
@Getter
public enum BookType {
ITEM_1("1","仙侠"),
ITEM_2("2","武侠"),
ITEM_4("4","玄幻"),
ITEM_3("3","都市");
private String value;
private String text;
private String valueSeparator="";
private String textSeparator="";
private String emptyText="";
BookType(String value , String text) {
this.value=value;
this.text = text;
}
}
/**
* 代码表[页面处理逻辑类型]
*/
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册