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

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

上级 e5a63753
...@@ -4,6 +4,66 @@ const mock = MockAdapter.getInstance(); ...@@ -4,6 +4,66 @@ const mock = MockAdapter.getInstance();
// 模拟数据 // 模拟数据
const mockDatas: Array<any> = [ const mockDatas: Array<any> = [
{
"createman" : null,
"ibizbookname" : '三体',
"createdate" : null,
"type" : '科幻',
"author" : '刘慈欣',
"updateman" : null,
"press" : '人民出版社',
"price" : '54.21',
"updatedate" : null,
"ibizbookid" : '1'
},
{
"createman" : null,
"ibizbookname" : '西游记',
"createdate" : null,
"type" : '仙侠',
"author" : '吴承恩',
"updateman" : null,
"press" : '人民出版社',
"price" : '66.66',
"updatedate" : null,
"ibizbookid" : '2'
},
{
"createman" : null,
"ibizbookname" : '红楼梦',
"createdate" : null,
"type" : '文艺',
"author" : '曹雪芹',
"updateman" : null,
"press" : '北京出版社',
"price" : '34.23',
"updatedate" : null,
"ibizbookid" : '3'
},
{
"createman" : null,
"ibizbookname" : '水浒传',
"createdate" : null,
"type" : '武侠',
"author" : '',
"updateman" : '施耐庵',
"press" : '中国文联出版社',
"price" : '45.34',
"updatedate" : null,
"ibizbookid" : '4'
},
{
"createman" : null,
"ibizbookname" : '三国演义',
"createdate" : null,
"type" : '历史',
"author" : '罗贯中',
"updateman" : null,
"press" : '四川出版社',
"price" : '45.21',
"updatedate" : null,
"ibizbookid" : '5'
}
]; ];
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
</el-table-column> </el-table-column>
</template> </template>
<template v-if="getColumnState('type')"> <template v-if="getColumnState('type')">
<el-table-column show-overflow-tooltip :prop="'type'" :label="$t('entities.ibizbook.internalfunc_grid.columns.type')" :width="100" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'type'" :label="$t('entities.ibizbook.internalfunc_grid.columns.type')" :width="80" :align="'center'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibizbook.internalfunc_grid.columns.type')}} {{$t('entities.ibizbook.internalfunc_grid.columns.type')}}
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</el-table-column> </el-table-column>
</template> </template>
<template v-if="getColumnState('press')"> <template v-if="getColumnState('press')">
<el-table-column show-overflow-tooltip :prop="'press'" :label="$t('entities.ibizbook.internalfunc_grid.columns.press')" :width="100" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'press'" :label="$t('entities.ibizbook.internalfunc_grid.columns.press')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.ibizbook.internalfunc_grid.columns.press')}} {{$t('entities.ibizbook.internalfunc_grid.columns.press')}}
......
...@@ -1039,10 +1039,10 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1039,10 +1039,10 @@ export default class MainBase extends Vue implements ControlInterface {
serviceName:'ibizorder', serviceName:'ibizorder',
appDeLogicName:'订单', appDeLogicName:'订单',
importData:{ importData:{
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000},
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000}, "IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000},
"ORDERTYPE":{"codelist":{"type":"DYNAMIC","tag":"ORDERTYPE","isnumber":false},"headername":"订单类型","isuniqueitem":false,"name":"ordertype","order":1000}, "ORDERTYPE":{"codelist":{"type":"DYNAMIC","tag":"ORDERTYPE","isnumber":false},"headername":"订单类型","isuniqueitem":false,"name":"ordertype","order":1000},
"ORDERTIME":{"headername":"订单时间","isuniqueitem":false,"name":"ordertime","order":1000} "ORDERTIME":{"headername":"订单时间","isuniqueitem":false,"name":"ordertime","order":1000},
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000}
} }
} }
if(Object.keys(importDataModel).length == 0){ if(Object.keys(importDataModel).length == 0){
......
...@@ -1035,10 +1035,10 @@ export default class UIPART_0015Base extends Vue implements ControlInterface { ...@@ -1035,10 +1035,10 @@ export default class UIPART_0015Base extends Vue implements ControlInterface {
serviceName:'ibizorder', serviceName:'ibizorder',
appDeLogicName:'订单', appDeLogicName:'订单',
importData:{ importData:{
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000},
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000}, "IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000},
"ORDERTYPE":{"codelist":{"type":"DYNAMIC","tag":"ORDERTYPE","isnumber":false},"headername":"订单类型","isuniqueitem":false,"name":"ordertype","order":1000}, "ORDERTYPE":{"codelist":{"type":"DYNAMIC","tag":"ORDERTYPE","isnumber":false},"headername":"订单类型","isuniqueitem":false,"name":"ordertype","order":1000},
"ORDERTIME":{"headername":"订单时间","isuniqueitem":false,"name":"ordertime","order":1000} "ORDERTIME":{"headername":"订单时间","isuniqueitem":false,"name":"ordertime","order":1000},
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000}
} }
} }
if(Object.keys(importDataModel).length == 0){ if(Object.keys(importDataModel).length == 0){
......
...@@ -1158,10 +1158,10 @@ export default class UIPART_0017Base extends Vue implements ControlInterface { ...@@ -1158,10 +1158,10 @@ export default class UIPART_0017Base extends Vue implements ControlInterface {
serviceName:'ibizorder', serviceName:'ibizorder',
appDeLogicName:'订单', appDeLogicName:'订单',
importData:{ importData:{
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000},
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000}, "IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000},
"ORDERTYPE":{"codelist":{"type":"DYNAMIC","tag":"ORDERTYPE","isnumber":false},"headername":"订单类型","isuniqueitem":false,"name":"ordertype","order":1000}, "ORDERTYPE":{"codelist":{"type":"DYNAMIC","tag":"ORDERTYPE","isnumber":false},"headername":"订单类型","isuniqueitem":false,"name":"ordertype","order":1000},
"ORDERTIME":{"headername":"订单时间","isuniqueitem":false,"name":"ordertime","order":1000} "ORDERTIME":{"headername":"订单时间","isuniqueitem":false,"name":"ordertime","order":1000},
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000}
} }
} }
if(Object.keys(importDataModel).length == 0){ if(Object.keys(importDataModel).length == 0){
......
...@@ -1090,10 +1090,10 @@ export default class UIPART_0018Base extends Vue implements ControlInterface { ...@@ -1090,10 +1090,10 @@ export default class UIPART_0018Base extends Vue implements ControlInterface {
serviceName:'ibizorder', serviceName:'ibizorder',
appDeLogicName:'订单', appDeLogicName:'订单',
importData:{ importData:{
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000},
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000}, "IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000},
"ORDERTYPE":{"codelist":{"type":"DYNAMIC","tag":"ORDERTYPE","isnumber":false},"headername":"订单类型","isuniqueitem":false,"name":"ordertype","order":1000}, "ORDERTYPE":{"codelist":{"type":"DYNAMIC","tag":"ORDERTYPE","isnumber":false},"headername":"订单类型","isuniqueitem":false,"name":"ordertype","order":1000},
"ORDERTIME":{"headername":"订单时间","isuniqueitem":false,"name":"ordertime","order":1000} "ORDERTIME":{"headername":"订单时间","isuniqueitem":false,"name":"ordertime","order":1000},
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000}
} }
} }
if(Object.keys(importDataModel).length == 0){ if(Object.keys(importDataModel).length == 0){
......
...@@ -8,10 +8,10 @@ import java.util.List; ...@@ -8,10 +8,10 @@ import java.util.List;
public interface IBIZOrderImport { public interface IBIZOrderImport {
@Mappings({ @Mappings({
@Mapping(target = "ibizorderid", source = "ibizorderid"), @Mapping(target = "ibizorderid", source = "ibizorderid"),
@Mapping(target = "ibizordername", source = "ibizordername"),
@Mapping(target = "ordertype", source = "ordertype"), @Mapping(target = "ordertype", source = "ordertype"),
@Mapping(target = "ordertime", source = "ordertime"), @Mapping(target = "ordertime", source = "ordertime"),
@Mapping(target = "orderuid", source = "orderuid"), @Mapping(target = "orderuid", source = "orderuid"),
@Mapping(target = "ibizordername", source = "ibizordername"),
}) })
@BeanMapping(ignoreByDefault = true) @BeanMapping(ignoreByDefault = true)
IBIZOrder toDomain(IBIZOrder entity); IBIZOrder toDomain(IBIZOrder entity);
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-13-2"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-22-2">
<createTable tableName="T_IBIZBOOK"> <createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册