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

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

上级 caa0bb9d
......@@ -44,10 +44,10 @@ export default {
},
main_form: {
details: {
group1: "微组件基本信息",
group1: "单位选择",
grouppanel1: "部门选择",
grouppanel2: "人员选择",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "微组件标识",
......@@ -56,12 +56,30 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
microcomponentname: "微组件名称",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
field1: "指定单位及下级单位多选",
field3: "指定单位及下级单位单选",
field5: "全部单位单选",
field7: "全部单位多选",
field9: "指定单位及下级单位所有部门多选",
field11: "指定单位及下级单位所有部门单选",
field13: "指定单位部门多选",
field15: "指定单位部门单选",
field17: "指定单位人员多选",
field19: "指定单位人员单选",
field21: "指定单位及下级单位人员多选",
field23: "指定单位及下级单位人员单选",
field14: "属性14",
microcomponentid: "微组件标识",
field4: "属性4",
field16: "属性16",
field24: "属性24",
field2: "属性2",
field22: "属性22",
field8: "属性8",
field12: "属性12",
field20: "属性20",
field6: "属性6",
field18: "属性18",
},
uiactions: {
},
......
......@@ -43,10 +43,10 @@ export default {
},
main_form: {
details: {
group1: "微组件基本信息",
group1: "单位选择",
grouppanel1: "部门选择",
grouppanel2: "人员选择",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "微组件标识",
......@@ -55,12 +55,30 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
microcomponentname: "微组件名称",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
field1: "指定单位及下级单位多选",
field3: "指定单位及下级单位单选",
field5: "全部单位单选",
field7: "全部单位多选",
field9: "指定单位及下级单位所有部门多选",
field11: "指定单位及下级单位所有部门单选",
field13: "指定单位部门多选",
field15: "指定单位部门单选",
field17: "指定单位人员多选",
field19: "指定单位人员单选",
field21: "指定单位及下级单位人员多选",
field23: "指定单位及下级单位人员单选",
field14: "属性14",
microcomponentid: "微组件标识",
field4: "属性4",
field16: "属性16",
field24: "属性24",
field2: "属性2",
field22: "属性22",
field8: "属性8",
field12: "属性12",
field20: "属性20",
field6: "属性6",
field18: "属性18",
},
uiactions: {
},
......
......@@ -930,17 +930,17 @@ export default class Gridexpbar_gridBase extends Vue implements ControlInterface
serviceName:'ibizbook',
appDeLogicName:'图书',
importData:{
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"PRESS":{"headername":"图书出版社","isuniqueitem":false,"name":"press","order":1000},
"AUTHOR":{"headername":"图书作者","isuniqueitem":false,"name":"author","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000},
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"BOOKNUMBER":{"headername":"图书数量","isuniqueitem":false,"name":"booknumber","order":1000},
"CREATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"建立人","isuniqueitem":false,"name":"createman","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"UPDATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"更新人","isuniqueitem":false,"name":"updateman","order":1000},
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000}
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......
......@@ -1201,17 +1201,17 @@ export default class InternalFuncBase extends Vue implements ControlInterface {
serviceName:'ibizbook',
appDeLogicName:'图书',
importData:{
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"PRESS":{"headername":"图书出版社","isuniqueitem":false,"name":"press","order":1000},
"AUTHOR":{"headername":"图书作者","isuniqueitem":false,"name":"author","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000},
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"BOOKNUMBER":{"headername":"图书数量","isuniqueitem":false,"name":"booknumber","order":1000},
"CREATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"建立人","isuniqueitem":false,"name":"createman","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"UPDATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"更新人","isuniqueitem":false,"name":"updateman","order":1000},
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000}
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......
......@@ -1081,17 +1081,17 @@ export default class Main2Base extends Vue implements ControlInterface {
serviceName:'ibizbook',
appDeLogicName:'图书',
importData:{
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"PRESS":{"headername":"图书出版社","isuniqueitem":false,"name":"press","order":1000},
"AUTHOR":{"headername":"图书作者","isuniqueitem":false,"name":"author","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000},
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"BOOKNUMBER":{"headername":"图书数量","isuniqueitem":false,"name":"booknumber","order":1000},
"CREATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"建立人","isuniqueitem":false,"name":"createman","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"UPDATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"更新人","isuniqueitem":false,"name":"updateman","order":1000},
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000}
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......
......@@ -1081,17 +1081,17 @@ export default class Main3Base extends Vue implements ControlInterface {
serviceName:'ibizbook',
appDeLogicName:'图书',
importData:{
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"PRESS":{"headername":"图书出版社","isuniqueitem":false,"name":"press","order":1000},
"AUTHOR":{"headername":"图书作者","isuniqueitem":false,"name":"author","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000},
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"BOOKNUMBER":{"headername":"图书数量","isuniqueitem":false,"name":"booknumber","order":1000},
"CREATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"建立人","isuniqueitem":false,"name":"createman","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"UPDATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"更新人","isuniqueitem":false,"name":"updateman","order":1000},
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000}
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......
......@@ -1072,17 +1072,17 @@ export default class Main4Base extends Vue implements ControlInterface {
serviceName:'ibizbook',
appDeLogicName:'图书',
importData:{
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"PRESS":{"headername":"图书出版社","isuniqueitem":false,"name":"press","order":1000},
"AUTHOR":{"headername":"图书作者","isuniqueitem":false,"name":"author","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000},
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"BOOKNUMBER":{"headername":"图书数量","isuniqueitem":false,"name":"booknumber","order":1000},
"CREATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"建立人","isuniqueitem":false,"name":"createman","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"UPDATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"更新人","isuniqueitem":false,"name":"updateman","order":1000},
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000}
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......
......@@ -1088,17 +1088,17 @@ export default class Main5Base extends Vue implements ControlInterface {
serviceName:'ibizbook',
appDeLogicName:'图书',
importData:{
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"PRESS":{"headername":"图书出版社","isuniqueitem":false,"name":"press","order":1000},
"AUTHOR":{"headername":"图书作者","isuniqueitem":false,"name":"author","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000},
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"BOOKNUMBER":{"headername":"图书数量","isuniqueitem":false,"name":"booknumber","order":1000},
"CREATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"建立人","isuniqueitem":false,"name":"createman","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"UPDATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"更新人","isuniqueitem":false,"name":"updateman","order":1000},
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000}
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......
......@@ -1287,17 +1287,17 @@ export default class Main6Base extends Vue implements ControlInterface {
serviceName:'ibizbook',
appDeLogicName:'图书',
importData:{
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"PRESS":{"headername":"图书出版社","isuniqueitem":false,"name":"press","order":1000},
"AUTHOR":{"headername":"图书作者","isuniqueitem":false,"name":"author","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000},
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"BOOKNUMBER":{"headername":"图书数量","isuniqueitem":false,"name":"booknumber","order":1000},
"CREATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"建立人","isuniqueitem":false,"name":"createman","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"UPDATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"更新人","isuniqueitem":false,"name":"updateman","order":1000},
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000}
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......
......@@ -1158,17 +1158,17 @@ export default class Main7Base extends Vue implements ControlInterface {
serviceName:'ibizbook',
appDeLogicName:'图书',
importData:{
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"PRESS":{"headername":"图书出版社","isuniqueitem":false,"name":"press","order":1000},
"AUTHOR":{"headername":"图书作者","isuniqueitem":false,"name":"author","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000},
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"BOOKNUMBER":{"headername":"图书数量","isuniqueitem":false,"name":"booknumber","order":1000},
"CREATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"建立人","isuniqueitem":false,"name":"createman","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"UPDATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"更新人","isuniqueitem":false,"name":"updateman","order":1000},
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000}
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......
......@@ -1206,17 +1206,17 @@ export default class NewDefaultBase extends Vue implements ControlInterface {
serviceName:'ibizbook',
appDeLogicName:'图书',
importData:{
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"PRESS":{"headername":"图书出版社","isuniqueitem":false,"name":"press","order":1000},
"AUTHOR":{"headername":"图书作者","isuniqueitem":false,"name":"author","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000},
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"BOOKNUMBER":{"headername":"图书数量","isuniqueitem":false,"name":"booknumber","order":1000},
"CREATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"建立人","isuniqueitem":false,"name":"createman","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"UPDATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"更新人","isuniqueitem":false,"name":"updateman","order":1000},
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000}
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......
......@@ -1287,17 +1287,17 @@ export default class RowEditBase extends Vue implements ControlInterface {
serviceName:'ibizbook',
appDeLogicName:'图书',
importData:{
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"PRESS":{"headername":"图书出版社","isuniqueitem":false,"name":"press","order":1000},
"AUTHOR":{"headername":"图书作者","isuniqueitem":false,"name":"author","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000},
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"BOOKNUMBER":{"headername":"图书数量","isuniqueitem":false,"name":"booknumber","order":1000},
"CREATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"建立人","isuniqueitem":false,"name":"createman","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"UPDATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"更新人","isuniqueitem":false,"name":"updateman","order":1000},
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000}
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......
......@@ -1183,17 +1183,17 @@ export default class RowRulesBase extends Vue implements ControlInterface {
serviceName:'ibizbook',
appDeLogicName:'图书',
importData:{
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"PRESS":{"headername":"图书出版社","isuniqueitem":false,"name":"press","order":1000},
"AUTHOR":{"headername":"图书作者","isuniqueitem":false,"name":"author","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000},
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"BOOKNUMBER":{"headername":"图书数量","isuniqueitem":false,"name":"booknumber","order":1000},
"CREATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"建立人","isuniqueitem":false,"name":"createman","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"UPDATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"更新人","isuniqueitem":false,"name":"updateman","order":1000},
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000}
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......
......@@ -1206,17 +1206,17 @@ export default class UpdateDefaultBase extends Vue implements ControlInterface {
serviceName:'ibizbook',
appDeLogicName:'图书',
importData:{
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"PRESS":{"headername":"图书出版社","isuniqueitem":false,"name":"press","order":1000},
"AUTHOR":{"headername":"图书作者","isuniqueitem":false,"name":"author","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000},
"PRICE":{"headername":"图书价格","isuniqueitem":false,"name":"price","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"BOOKNUMBER":{"headername":"图书数量","isuniqueitem":false,"name":"booknumber","order":1000},
"CREATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"建立人","isuniqueitem":false,"name":"createman","order":1000},
"CREATEDATE":{"headername":"建立时间","isuniqueitem":false,"name":"createdate","order":1000},
"IBIZBOOKNAME":{"headername":"图书名称","isuniqueitem":false,"name":"ibizbookname","order":1000},
"UPDATEMAN":{"codelist":{"type":"DYNAMIC","tag":"SysOperator","isnumber":false},"headername":"更新人","isuniqueitem":false,"name":"updateman","order":1000},
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000}
"UPDATEDATE":{"headername":"更新时间","isuniqueitem":false,"name":"updatedate","order":1000},
"IBIZBOOKID":{"headername":"图书标识","isuniqueitem":false,"name":"ibizbookid","order":1000},
"TYPE":{"codelist":{"type":"STATIC","tag":"BookType","isnumber":false},"headername":"图书类型","isuniqueitem":false,"name":"type","order":1000}
}
}
if(Object.keys(importDataModel).length == 0){
......
......@@ -237,6 +237,14 @@ export default class UsrBase extends Vue implements ControlInterface {
},
labelField: 'text',
columns: [
{
label: '归还日期',
value: 'returntime',
render: (task: any) => {
return this.getColumnValue(task, 'returntime')
},
width: 200,
},
{
label: '图书名称',
value: 'ibizbookname',
......@@ -253,14 +261,6 @@ export default class UsrBase extends Vue implements ControlInterface {
},
width: 200,
},
{
label: '归还日期',
value: 'returntime',
render: (task: any) => {
return this.getColumnValue(task, 'returntime')
},
width: 200,
},
{
label: '作者',
value: 'author',
......
......@@ -1114,9 +1114,9 @@ export default class MainBase extends Vue implements ControlInterface {
serviceName:'ibizorder',
appDeLogicName:'订单',
importData:{
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","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},
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000},
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000}
}
}
......
......@@ -1030,9 +1030,9 @@ export default class Main2Base extends Vue implements ControlInterface {
serviceName:'ibizorder',
appDeLogicName:'订单',
importData:{
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","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},
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000},
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000}
}
}
......
......@@ -1066,9 +1066,9 @@ export default class UIPART_0015Base extends Vue implements ControlInterface {
serviceName:'ibizorder',
appDeLogicName:'订单',
importData:{
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","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},
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000},
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000}
}
}
......
......@@ -1189,9 +1189,9 @@ export default class UIPART_0017Base extends Vue implements ControlInterface {
serviceName:'ibizorder',
appDeLogicName:'订单',
importData:{
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","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},
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000},
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000}
}
}
......
......@@ -1121,9 +1121,9 @@ export default class UIPART_0018Base extends Vue implements ControlInterface {
serviceName:'ibizorder',
appDeLogicName:'订单',
importData:{
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","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},
"ORDERUID":{"headername":"订单编号","isuniqueitem":true,"name":"orderuid","order":1000},
"IBIZORDERNAME":{"headername":"订单名称","isuniqueitem":false,"name":"ibizordername","order":1000}
}
}
......
......@@ -2,88 +2,157 @@
<i-form :model="this.data" class='app-form' ref='form' id='microcomponent_main' style="" @on-validate="formItemValidate">
<input style="display:none;" />
<row >
<tabs :animated="false" name='main' :value="detailsModel.form.activiedPage"
@on-click="detailsModel.form.clickPage($event)">
<tab-pane v-show="detailsModel.formpage1.visible" name='formpage1' :index="0" tab='main' class=''
:label="(h) =>{
return h('span',{
class:'caption'
},[
$t('entities.microcomponent.main_form.details.formpage1')
])
}">
<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.microcomponent.main_form.details.group1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<row>
<i-col v-show="detailsModel.microcomponentname.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='microcomponentname' :itemRules="this.rules().microcomponentname" class='' :caption="$t('entities.microcomponent.main_form.details.microcomponentname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.microcomponentname.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.microcomponentname"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.microcomponentname.disabled"
type='text'
style="">
</input-box>
<i-col v-show="detailsModel.field1.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='field1' :itemRules="this.rules().field1" class='' :caption="$t('entities.microcomponent.main_form.details.field1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.field1.error" :isEmptyCaption="false" labelPos="LEFT">
<app-org-select :data="data" :disabled="detailsModel.field1.disabled" :context="JSON.parse(JSON.stringify(context))" :fillMap="{'id':'field2','label':'field1'}" url="/sysorganizations/${orgid}/suborg/picker" filter="srforgid" :multiple="true" style="" @select-change="onFormItemValueChange" ></app-org-select>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.field3.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='field3' :itemRules="this.rules().field3" class='' :caption="$t('entities.microcomponent.main_form.details.field3')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.field3.error" :isEmptyCaption="false" labelPos="LEFT">
<app-org-select :data="data" :disabled="detailsModel.field3.disabled" :context="JSON.parse(JSON.stringify(context))" :fillMap="{'id':'field4','label':'field3'}" url="/sysorganizations/${orgid}/suborg/picker" filter="srforgid" :multiple="false" style="" @select-change="onFormItemValueChange" ></app-org-select>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.field5.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='field5' :itemRules="this.rules().field5" class='' :caption="$t('entities.microcomponent.main_form.details.field5')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.field5.error" :isEmptyCaption="false" labelPos="LEFT">
<app-org-select :data="data" :disabled="detailsModel.field5.disabled" :context="JSON.parse(JSON.stringify(context))" :fillMap="{'id':'field6','label':'field5'}" url="/sysorganizations/alls/suborg/picker" filter="srforgid" :multiple="false" style="" @select-change="onFormItemValueChange" ></app-org-select>
</app-form-item>
</row>
</app-form-group>
</i-col>
<i-col v-show="detailsModel.field7.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='field7' :itemRules="this.rules().field7" class='' :caption="$t('entities.microcomponent.main_form.details.field7')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.field7.error" :isEmptyCaption="false" labelPos="LEFT">
<app-org-select :data="data" :disabled="detailsModel.field7.disabled" :context="JSON.parse(JSON.stringify(context))" :fillMap="{'id':'field8','label':'field7'}" url="/sysorganizations/alls/suborg/picker" filter="srforgid" :multiple="true" style="" @select-change="onFormItemValueChange" ></app-org-select>
</app-form-item>
</i-col>
</row>
</app-form-group>
</tab-pane>
<tab-pane v-show="detailsModel.formpage2.visible" name='formpage2' :index="1" tab='main' class=''
:label="(h) =>{
return h('span',{
class:'caption'
},[
$t('entities.microcomponent.main_form.details.formpage2')
])
}">
<i-col v-show="detailsModel.group2.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.group2.manageContainerStatus" :isManageContainer="detailsModel.group2.isManageContainer" @managecontainerclick="manageContainerClick('group2')" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.microcomponent.main_form.details.group2')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
</i-col>
<i-col v-show="detailsModel.grouppanel1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.grouppanel1.manageContainerStatus" :isManageContainer="detailsModel.grouppanel1.isManageContainer" @managecontainerclick="manageContainerClick('grouppanel1')" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.microcomponent.main_form.details.grouppanel1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<row>
<i-col v-show="detailsModel.createman.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='createman' :itemRules="this.rules().createman" class='' :caption="$t('entities.microcomponent.main_form.details.createman')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.createman.error" :isEmptyCaption="false" labelPos="LEFT">
<i-col v-show="detailsModel.field9.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='field9' :itemRules="this.rules().field9" class='' :caption="$t('entities.microcomponent.main_form.details.field9')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.field9.error" :isEmptyCaption="false" labelPos="LEFT">
<app-department-select :data="data" :disabled="detailsModel.field9.disabled" :context="JSON.parse(JSON.stringify(context))" url="/sysorganizations/${orgid}/suborg/sysdepartments/picker" filter="srforgid" :fillMap="{'id':'','label':'field9'}" :multiple="true" style="" @select-change="onFormItemValueChange" ></app-department-select>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.field11.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='field11' :itemRules="this.rules().field11" class='' :caption="$t('entities.microcomponent.main_form.details.field11')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.field11.error" :isEmptyCaption="false" labelPos="LEFT">
<app-department-select :data="data" :disabled="detailsModel.field11.disabled" :context="JSON.parse(JSON.stringify(context))" url="/sysorganizations/${orgid}/suborg/sysdepartments/picker" filter="srforgid" :fillMap="{'id':'field12','label':'field11'}" :multiple="false" style="" @select-change="onFormItemValueChange" ></app-department-select>
</app-form-item>
<app-span name='createman' :value="data.createman" dataType="TEXT" :precision="0"
tag='SysOperator' codelistType='DYNAMIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style="">
</app-span>
</i-col>
<i-col v-show="detailsModel.field13.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='field13' :itemRules="this.rules().field13" class='' :caption="$t('entities.microcomponent.main_form.details.field13')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.field13.error" :isEmptyCaption="false" labelPos="LEFT">
<app-department-select :data="data" :disabled="detailsModel.field13.disabled" :context="JSON.parse(JSON.stringify(context))" url="/sysorganizations/${orgid}/sysdepartments/picker" filter="srforgid" :fillMap="{'id':'field14','label':'field13'}" :multiple="true" style="" @select-change="onFormItemValueChange" ></app-department-select>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.field15.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='field15' :itemRules="this.rules().field15" class='' :caption="$t('entities.microcomponent.main_form.details.field15')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.field15.error" :isEmptyCaption="false" labelPos="LEFT">
<app-department-select :data="data" :disabled="detailsModel.field15.disabled" :context="JSON.parse(JSON.stringify(context))" url="/sysorganizations/${orgid}/sysdepartments/picker" filter="srforgid" :fillMap="{'id':'field16','label':'field15'}" :multiple="false" style="" @select-change="onFormItemValueChange" ></app-department-select>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.createdate.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='createdate' :itemRules="this.rules().createdate" class='' :caption="$t('entities.microcomponent.main_form.details.createdate')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.createdate.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='createdate' :value="data.createdate" dataType="DATETIME" valueFormat="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS" :precision="0"
:data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style="">
</app-span>
</row>
</app-form-group>
</i-col>
<i-col v-show="detailsModel.grouppanel2.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.grouppanel2.manageContainerStatus" :isManageContainer="detailsModel.grouppanel2.isManageContainer" @managecontainerclick="manageContainerClick('grouppanel2')" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.microcomponent.main_form.details.grouppanel2')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<row>
<i-col v-show="detailsModel.field17.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='field17' :itemRules="this.rules().field17" class='' :caption="$t('entities.microcomponent.main_form.details.field17')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.field17.error" :isEmptyCaption="false" labelPos="LEFT">
<app-group-select
name="field17"
:value='data.field17'
valueitem="field18"
url="/sysorganizations/${selected-orgid}/sysemployees/picker"
:multiple="true"
filter="srforgid"
:fillmap="{'id':'field18','label':'field17'}"
:disabled="detailsModel.field17.disabled"
:data="data"
:context="context"
@formitemvaluechange="onFormItemValueChange">
</app-group-select>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.updateman.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='updateman' :itemRules="this.rules().updateman" class='' :caption="$t('entities.microcomponent.main_form.details.updateman')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.updateman.error" :isEmptyCaption="false" labelPos="LEFT">
<i-col v-show="detailsModel.field19.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='field19' :itemRules="this.rules().field19" class='' :caption="$t('entities.microcomponent.main_form.details.field19')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.field19.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='updateman' :value="data.updateman" dataType="TEXT" :precision="0"
tag='SysOperator' codelistType='DYNAMIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style="">
</app-span>
<app-group-select
name="field19"
:value='data.field19'
valueitem="field20"
url="/sysorganizations/${selected-orgid}/sysemployees/picker"
:multiple="false"
filter="srforgid"
:fillmap="{'id':'field20','label':'field19'}"
:disabled="detailsModel.field19.disabled"
:data="data"
:context="context"
@formitemvaluechange="onFormItemValueChange">
</app-group-select>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.updatedate.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='updatedate' :itemRules="this.rules().updatedate" class='' :caption="$t('entities.microcomponent.main_form.details.updatedate')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.updatedate.error" :isEmptyCaption="false" labelPos="LEFT">
<i-col v-show="detailsModel.field21.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='field21' :itemRules="this.rules().field21" class='' :caption="$t('entities.microcomponent.main_form.details.field21')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.field21.error" :isEmptyCaption="false" labelPos="LEFT">
<app-group-select
name="field21"
:value='data.field21'
valueitem="field22"
url="/sysorganizations/${selected-orgid}/sysemployees/picker"
treeurl="/sysorganizations/${orgid}/suborg/picker"
:multiple="true"
filter="srforgid"
:fillmap="{'id':'field22','label':'field21'}"
:disabled="detailsModel.field21.disabled"
:data="data"
:context="context"
@formitemvaluechange="onFormItemValueChange">
</app-group-select>
<app-span name='updatedate' :value="data.updatedate" dataType="DATETIME" valueFormat="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS" :precision="0"
:data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.field23.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='field23' :itemRules="this.rules().field23" class='' :caption="$t('entities.microcomponent.main_form.details.field23')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.field23.error" :isEmptyCaption="false" labelPos="LEFT">
<app-group-select
name="field23"
:value='data.field23'
valueitem="field24"
url="/sysorganizations/${selected-orgid}/sysemployees/picker"
treeurl="/sysorganizations/${orgid}/suborg/picker"
:multiple="false"
filter="srforgid"
:fillmap="{'id':'field24','label':'field23'}"
:disabled="detailsModel.field23.disabled"
:data="data"
:context="context"
@formitemvaluechange="onFormItemValueChange">
</app-group-select>
</app-form-item>
......@@ -95,8 +164,6 @@ tag='SysOperator' codelistType='DYNAMIC' :data="data" :context="context" :viewpa
</i-col>
</tab-pane>
</tabs>
</row>
</i-form>
</template>
......@@ -490,12 +557,30 @@ export default class MainBase extends Vue implements ControlInterface {
srfuf: null,
srfdeid: null,
srfsourcekey: null,
microcomponentname: null,
createman: null,
createdate: null,
updateman: null,
updatedate: null,
field1: null,
field3: null,
field5: null,
field7: null,
field9: null,
field11: null,
field13: null,
field15: null,
field17: null,
field19: null,
field21: null,
field23: null,
field14: null,
microcomponentid: null,
field4: null,
field16: null,
field24: null,
field2: null,
field22: null,
field8: null,
field12: null,
field20: null,
field6: null,
field18: null,
microcomponent:null,
};
......@@ -537,7 +622,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {string}
* @memberof MainBase
*/
public majorMessageField: string = "microcomponentname";
public majorMessageField: string = "";
/**
* 值规则
......@@ -547,25 +632,53 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public rules() :any {
return {
microcomponentname: [
{ required: this.detailsModel.microcomponentname.required, type: 'string', message: '微组件名称 值不能为空', trigger: 'change' },
{ required: this.detailsModel.microcomponentname.required, type: 'string', message: '微组件名称 值不能为空', trigger: 'blur' },
field1: [
{ required: this.detailsModel.field1.required, type: 'string', message: '指定单位及下级单位多选 值不能为空', trigger: 'change' },
{ required: this.detailsModel.field1.required, type: 'string', message: '指定单位及下级单位多选 值不能为空', trigger: 'blur' },
],
field3: [
{ required: this.detailsModel.field3.required, type: 'string', message: '指定单位及下级单位单选 值不能为空', trigger: 'change' },
{ required: this.detailsModel.field3.required, type: 'string', message: '指定单位及下级单位单选 值不能为空', trigger: 'blur' },
],
field5: [
{ required: this.detailsModel.field5.required, type: 'string', message: '全部单位单选 值不能为空', trigger: 'change' },
{ required: this.detailsModel.field5.required, type: 'string', message: '全部单位单选 值不能为空', trigger: 'blur' },
],
field7: [
{ required: this.detailsModel.field7.required, type: 'string', message: '全部单位多选 值不能为空', trigger: 'change' },
{ required: this.detailsModel.field7.required, type: 'string', message: '全部单位多选 值不能为空', trigger: 'blur' },
],
field9: [
{ required: this.detailsModel.field9.required, type: 'string', message: '指定单位及下级单位所有部门多选 值不能为空', trigger: 'change' },
{ required: this.detailsModel.field9.required, type: 'string', message: '指定单位及下级单位所有部门多选 值不能为空', trigger: 'blur' },
],
field11: [
{ required: this.detailsModel.field11.required, type: 'string', message: '指定单位及下级单位所有部门单选 值不能为空', trigger: 'change' },
{ required: this.detailsModel.field11.required, type: 'string', message: '指定单位及下级单位所有部门单选 值不能为空', trigger: 'blur' },
],
createman: [
{ required: this.detailsModel.createman.required, type: 'string', message: '建立人 值不能为空', trigger: 'change' },
{ required: this.detailsModel.createman.required, type: 'string', message: '建立人 值不能为空', trigger: 'blur' },
field13: [
{ required: this.detailsModel.field13.required, type: 'string', message: '指定单位部门多选 值不能为空', trigger: 'change' },
{ required: this.detailsModel.field13.required, type: 'string', message: '指定单位部门多选 值不能为空', trigger: 'blur' },
],
createdate: [
{ required: this.detailsModel.createdate.required, type: 'string', message: '建立时间 值不能为空', trigger: 'change' },
{ required: this.detailsModel.createdate.required, type: 'string', message: '建立时间 值不能为空', trigger: 'blur' },
field15: [
{ required: this.detailsModel.field15.required, type: 'string', message: '指定单位部门单选 值不能为空', trigger: 'change' },
{ required: this.detailsModel.field15.required, type: 'string', message: '指定单位部门单选 值不能为空', trigger: 'blur' },
],
updateman: [
{ required: this.detailsModel.updateman.required, type: 'string', message: '更新人 值不能为空', trigger: 'change' },
{ required: this.detailsModel.updateman.required, type: 'string', message: '更新人 值不能为空', trigger: 'blur' },
field17: [
{ required: this.detailsModel.field17.required, type: 'string', message: '指定单位人员多选 值不能为空', trigger: 'change' },
{ required: this.detailsModel.field17.required, type: 'string', message: '指定单位人员多选 值不能为空', trigger: 'blur' },
],
updatedate: [
{ required: this.detailsModel.updatedate.required, type: 'string', message: '更新时间 值不能为空', trigger: 'change' },
{ required: this.detailsModel.updatedate.required, type: 'string', message: '更新时间 值不能为空', trigger: 'blur' },
field19: [
{ required: this.detailsModel.field19.required, type: 'string', message: '指定单位人员单选 值不能为空', trigger: 'change' },
{ required: this.detailsModel.field19.required, type: 'string', message: '指定单位人员单选 值不能为空', trigger: 'blur' },
],
field21: [
{ required: this.detailsModel.field21.required, type: 'string', message: '指定单位及下级单位人员多选 值不能为空', trigger: 'change' },
{ required: this.detailsModel.field21.required, type: 'string', message: '指定单位及下级单位人员多选 值不能为空', trigger: 'blur' },
],
field23: [
{ required: this.detailsModel.field23.required, type: 'string', message: '指定单位及下级单位人员单选 值不能为空', trigger: 'change' },
{ required: this.detailsModel.field23.required, type: 'string', message: '指定单位及下级单位人员单选 值不能为空', trigger: 'blur' },
],
}
}
......@@ -672,13 +785,13 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
*/
public detailsModel: any = {
group1: new FormGroupPanelModel({ caption: '微组件基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.microcomponent.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
group1: new FormGroupPanelModel({ caption: '单位选择', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.microcomponent.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
,
formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false })
grouppanel1: new FormGroupPanelModel({ caption: '部门选择', detailType: 'GROUPPANEL', name: 'grouppanel1', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.microcomponent.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
,
group2: new FormGroupPanelModel({ caption: '操作信息', detailType: 'GROUPPANEL', name: 'group2', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.microcomponent.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
grouppanel2: new FormGroupPanelModel({ caption: '人员选择', detailType: 'GROUPPANEL', name: 'grouppanel2', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.microcomponent.main_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
,
formpage2: new FormPageModel({ caption: '其它', detailType: 'FORMPAGE', name: 'formpage2', visible: true, isShowCaption: true, form: this, isControlledContent: false })
formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false })
,
srfupdatedate: new FormItemModel({ caption: '更新时间', detailType: 'FORMITEM', name: 'srfupdatedate', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......@@ -696,19 +809,54 @@ export default class MainBase extends Vue implements ControlInterface {
,
srfsourcekey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srfsourcekey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
microcomponentname: new FormItemModel({ caption: '微组件名称', detailType: 'FORMITEM', name: 'microcomponentname', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
field1: new FormItemModel({ caption: '指定单位及下级单位多选', detailType: 'FORMITEM', name: 'field1', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field3: new FormItemModel({ caption: '指定单位及下级单位单选', detailType: 'FORMITEM', name: 'field3', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field5: new FormItemModel({ caption: '全部单位单选', detailType: 'FORMITEM', name: 'field5', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field7: new FormItemModel({ caption: '全部单位多选', detailType: 'FORMITEM', name: 'field7', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
createman: new FormItemModel({ caption: '建立人', detailType: 'FORMITEM', name: 'createman', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
field9: new FormItemModel({ caption: '指定单位及下级单位所有部门多选', detailType: 'FORMITEM', name: 'field9', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
createdate: new FormItemModel({ caption: '建立时间', detailType: 'FORMITEM', name: 'createdate', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
field11: new FormItemModel({ caption: '指定单位及下级单位所有部门单选', detailType: 'FORMITEM', name: 'field11', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
updateman: new FormItemModel({ caption: '更新人', detailType: 'FORMITEM', name: 'updateman', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
field13: new FormItemModel({ caption: '指定单位部门多选', detailType: 'FORMITEM', name: 'field13', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
updatedate: new FormItemModel({ caption: '更新时间', detailType: 'FORMITEM', name: 'updatedate', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
field15: new FormItemModel({ caption: '指定单位部门单选', detailType: 'FORMITEM', name: 'field15', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field17: new FormItemModel({ caption: '指定单位人员多选', detailType: 'FORMITEM', name: 'field17', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field19: new FormItemModel({ caption: '指定单位人员单选', detailType: 'FORMITEM', name: 'field19', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field21: new FormItemModel({ caption: '指定单位及下级单位人员多选', detailType: 'FORMITEM', name: 'field21', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field23: new FormItemModel({ caption: '指定单位及下级单位人员单选', detailType: 'FORMITEM', name: 'field23', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field14: new FormItemModel({ caption: '属性14', detailType: 'FORMITEM', name: 'field14', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
microcomponentid: new FormItemModel({ caption: '微组件标识', detailType: 'FORMITEM', name: 'microcomponentid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
form: new FormTabPanelModel({ caption: 'form', detailType: 'TABPANEL', name: 'form', visible: true, isShowCaption: true, form: this, tabPages: [{ name: 'formpage1', index: 0, visible: true }, { name: 'formpage2', index: 1, visible: true }] }),
field4: new FormItemModel({ caption: '属性4', detailType: 'FORMITEM', name: 'field4', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field16: new FormItemModel({ caption: '属性16', detailType: 'FORMITEM', name: 'field16', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field24: new FormItemModel({ caption: '属性24', detailType: 'FORMITEM', name: 'field24', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field2: new FormItemModel({ caption: '属性2', detailType: 'FORMITEM', name: 'field2', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field22: new FormItemModel({ caption: '属性22', detailType: 'FORMITEM', name: 'field22', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field8: new FormItemModel({ caption: '属性8', detailType: 'FORMITEM', name: 'field8', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field12: new FormItemModel({ caption: '属性12', detailType: 'FORMITEM', name: 'field12', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field20: new FormItemModel({ caption: '属性20', detailType: 'FORMITEM', name: 'field20', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field6: new FormItemModel({ caption: '属性6', detailType: 'FORMITEM', name: 'field6', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
field18: new FormItemModel({ caption: '属性18', detailType: 'FORMITEM', name: 'field18', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
};
/**
......@@ -808,63 +956,159 @@ export default class MainBase extends Vue implements ControlInterface {
}
/**
* 监控表单属性 microcomponentname 值
* 监控表单属性 field1 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field1')
onField1Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field1', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field3 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field3')
onField3Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field3', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field5 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field5')
onField5Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field5', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field7 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field7')
onField7Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field7', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field9 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field9')
onField9Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field9', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field11 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field11')
onField11Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field11', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field13 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field13')
onField13Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field13', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field15 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field15')
onField15Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field15', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field17 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.microcomponentname')
onMicrocomponentnameChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'microcomponentname', newVal: newVal, oldVal: oldVal });
@Watch('data.field17')
onField17Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field17', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 createman
* 监控表单属性 field19
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.createman')
onCreatemanChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'createman', newVal: newVal, oldVal: oldVal });
@Watch('data.field19')
onField19Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field19', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 createdate
* 监控表单属性 field21
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.createdate')
onCreatedateChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'createdate', newVal: newVal, oldVal: oldVal });
@Watch('data.field21')
onField21Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field21', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 updateman
* 监控表单属性 field23
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.updateman')
onUpdatemanChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'updateman', newVal: newVal, oldVal: oldVal });
@Watch('data.field23')
onField23Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field23', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 updatedate
* 监控表单属性 field14
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.updatedate')
onUpdatedateChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'updatedate', newVal: newVal, oldVal: oldVal });
@Watch('data.field14')
onField14Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field14', newVal: newVal, oldVal: oldVal });
}
/**
......@@ -879,6 +1123,126 @@ export default class MainBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'microcomponentid', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field4 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field4')
onField4Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field4', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field16 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field16')
onField16Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field16', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field24 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field24')
onField24Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field24', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field2 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field2')
onField2Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field2', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field22 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field22')
onField22Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field22', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field8 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field8')
onField8Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field8', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field12 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field12')
onField12Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field12', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field20 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field20')
onField20Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field20', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field6 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field6')
onField6Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field6', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 field18 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.field18')
onField18Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'field18', newVal: newVal, oldVal: oldVal });
}
/**
* 显示更多模式切换操作
......@@ -906,6 +1270,9 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
*/
public resetFormData({ name, newVal, oldVal }: { name: string, newVal: any, oldVal: any }): void {
if (Object.is(name, 'field10')) {
this.onFormItemValueChange({ name: 'field9', value: null });
}
}
/**
......@@ -948,6 +1315,24 @@ export default class MainBase extends Vue implements ControlInterface {
......
......@@ -56,35 +56,125 @@ export default class MainModel {
name: 'srfsourcekey',
},
{
name: 'microcomponentname',
prop: 'microcomponentname',
name: 'field1',
prop: 'field',
dataType: 'TEXT',
},
{
name: 'createman',
prop: 'createman',
name: 'field3',
prop: 'field3',
dataType: 'TEXT',
},
{
name: 'createdate',
prop: 'createdate',
dataType: 'DATETIME',
name: 'field5',
prop: 'field5',
dataType: 'TEXT',
},
{
name: 'updateman',
prop: 'updateman',
name: 'field7',
prop: 'field7',
dataType: 'TEXT',
},
{
name: 'updatedate',
prop: 'updatedate',
dataType: 'DATETIME',
name: 'field9',
prop: 'field9',
dataType: 'TEXT',
},
{
name: 'field11',
prop: 'field11',
dataType: 'TEXT',
},
{
name: 'field13',
prop: 'field13',
dataType: 'TEXT',
},
{
name: 'field15',
prop: 'field15',
dataType: 'TEXT',
},
{
name: 'field17',
prop: 'field17',
dataType: 'TEXT',
},
{
name: 'field19',
prop: 'field19',
dataType: 'TEXT',
},
{
name: 'field21',
prop: 'field21',
dataType: 'TEXT',
},
{
name: 'field23',
prop: 'field23',
dataType: 'TEXT',
},
{
name: 'field14',
prop: 'field14',
dataType: 'TEXT',
},
{
name: 'microcomponentid',
prop: 'microcomponentid',
dataType: 'GUID',
},
{
name: 'field4',
prop: 'field4',
dataType: 'TEXT',
},
{
name: 'field16',
prop: 'field16',
dataType: 'TEXT',
},
{
name: 'field24',
prop: 'field24',
dataType: 'TEXT',
},
{
name: 'field2',
prop: 'field2',
dataType: 'TEXT',
},
{
name: 'field22',
prop: 'field22',
dataType: 'TEXT',
},
{
name: 'field8',
prop: 'field8',
dataType: 'TEXT',
},
{
name: 'field12',
prop: 'field12',
dataType: 'TEXT',
},
{
name: 'field20',
prop: 'field20',
dataType: 'TEXT',
},
{
name: 'field6',
prop: 'field6',
dataType: 'TEXT',
},
{
name: 'field18',
prop: 'field18',
dataType: 'TEXT',
},
{
name: 'microcomponent',
prop: 'microcomponentid',
......
......@@ -37,11 +37,6 @@
git clone -b master $para2 demosys/
export NODE_OPTIONS=--max-old-space-size=4096
cd demosys/
mvn clean package -Pweb
cd demo-app/demo-app-web
mvn -Pweb docker:build
mvn -Pweb docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/demo-app-web.yaml iBizDemo --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
......
......@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /demo-app-web.jar
EXPOSE 51001
EXPOSE 8080
ADD demo-app-web.jar /demo-app-web.jar
......@@ -3,24 +3,9 @@ services:
demo-app-web:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/demo-app-web:latest
ports:
- "51001:51001"
- "8080:8080"
networks:
- agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=51001
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
- SPRING_REDIS_HOST=172.16.240.110
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_df847bdfd
- SPRING_DATASOURCE_PASSWORD=3d6@460A
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_df847bdfd?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_df847bdfd
- NACOS=172.16.240.110:8848
- SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
- SEATA_ENABLED=true
deploy:
resources:
limits:
......
......@@ -8,16 +8,16 @@ import java.util.List;
public interface IBIZBOOKDataImport {
@Mappings({
@Mapping(target = "ibizbookid", source = "ibizbookid"),
@Mapping(target = "press", source = "press"),
@Mapping(target = "author", source = "author"),
@Mapping(target = "type", source = "type"),
@Mapping(target = "price", source = "price"),
@Mapping(target = "booknumber", source = "booknumber"),
@Mapping(target = "createman", source = "createman"),
@Mapping(target = "createdate", source = "createdate"),
@Mapping(target = "price", source = "price"),
@Mapping(target = "ibizbookname", source = "ibizbookname"),
@Mapping(target = "booknumber", source = "booknumber"),
@Mapping(target = "updateman", source = "updateman"),
@Mapping(target = "createman", source = "createman"),
@Mapping(target = "updatedate", source = "updatedate"),
@Mapping(target = "type", source = "type"),
@Mapping(target = "press", source = "press"),
@Mapping(target = "author", source = "author"),
})
@BeanMapping(ignoreByDefault = true)
IBIZBOOK toDomain(IBIZBOOK entity);
......
......@@ -8,9 +8,9 @@ import java.util.List;
public interface IBIZOrderImport {
@Mappings({
@Mapping(target = "ibizorderid", source = "ibizorderid"),
@Mapping(target = "orderuid", source = "orderuid"),
@Mapping(target = "ordertype", source = "ordertype"),
@Mapping(target = "ordertime", source = "ordertime"),
@Mapping(target = "orderuid", source = "orderuid"),
@Mapping(target = "ibizordername", source = "ibizordername"),
})
@BeanMapping(ignoreByDefault = true)
......
......@@ -1280,7 +1280,7 @@
<!--输出实体[MICROCOMPONENT]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-microcomponent-37-44">
<changeSet author="a_LAB01_df847bdfd" id="tab-microcomponent-45-44">
<createTable tableName="T_MICROCOMPONENT">
<column name="CREATEDATE" remarks="" type="DATETIME">
</column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册