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

ibiz4j 部署微服务应用

上级 94f4c4f4
......@@ -25,5 +25,13 @@
"disabled": false
}
]
},
{
"srfkey": "WFSystemList",
"emptytext": "未定义",
"codelisttype":"dynamic",
"appdataentity":"WFSystem",
"appdedataset":"FetchDefault",
"items": []
}
]
\ No newline at end of file
......@@ -39,6 +39,14 @@
"viewname": "WFGroupMPickupView",
"viewtag": "5db49698557288612b9247b259ffbcd7"
},
"wftaskgridview": {
"title": "我的待办",
"caption": "我的待办",
"viewtype": "DEGRIDVIEW",
"viewmodule": "workflow",
"viewname": "WFTaskGridView",
"viewtag": "67f605f39e4d0d7cfa524ea97bc29ced"
},
"wfusereditview": {
"title": "用户编辑视图",
"caption": "用户",
......@@ -47,6 +55,14 @@
"viewname": "WFUserEditView",
"viewtag": "77dd35badedcc0f6b98e83ee1ff82bda"
},
"wftaskeditview": {
"title": "工作流任务编辑视图",
"caption": "工作流任务",
"viewtype": "DEEDITVIEW",
"viewmodule": "workflow",
"viewname": "WFTaskEditView",
"viewtag": "84f38898137b7bd1f9f135ac74b4b850"
},
"wfprocessdefinitioneditview": {
"title": "流程定义查看",
"caption": "流程定义查看",
......
......@@ -39,7 +39,8 @@ export class CodeListRegister {
* @memberof CodeListRegister
*/
protected init(): void {
}
this.allCodeList.set('WFSystemList', () => import('@/codelist/wfsystem-list'));
}
/**
* 加载实体数据服务
......
import WFSystemService from '@service/wfsystem/wfsystem-service';
/**
* 代码表--系统
*
* @export
* @class WFSystemList
*/
export default class WFSystemList {
/**
* 是否启用缓存
*
* @type boolean
* @memberof WFSystemList
*/
public isEnableCache:boolean = true;
/**
* 过期时间
*
* @type any
* @memberof WFSystemList
*/
public expirationTime:any;
/**
* 预定义类型
*
* @type string
* @memberof WFSystemList
*/
public predefinedType:string ='';
/**
* 缓存超长时长
*
* @type any
* @memberof WFSystemList
*/
public cacheTimeout:any = -1;
/**
* 代码表模型对象
*
* @type any
* @memberof WFSystemList
*/
public codelistModel:any = {
codelistid:"WFSystemList"
};
/**
* 自定义参数集合
*
* @type any
* @memberof WFSystemList
*/
public userParamNames:any ={
}
/**
* 查询参数集合
*
* @type any
* @memberof WFSystemList
*/
public queryParamNames:any ={
}
/**
* 系统应用实体服务对象
*
* @type {WFSystemService}
* @memberof WFSystemList
*/
public wfsystemService: WFSystemService = new WFSystemService();
/**
* 处理数据
*
* @public
* @param {any[]} items
* @returns {any[]}
* @memberof WFSystemList
*/
public doItems(items: any[]): any[] {
let _items: any[] = [];
items.forEach((item: any) => {
let itemdata:any = {};
Object.assign(itemdata,{id:item.pssystemid});
Object.assign(itemdata,{value:item.pssystemid});
Object.assign(itemdata,{text:item.pssystemname});
Object.assign(itemdata,{label:item.pssystemname});
_items.push(itemdata);
});
return _items;
}
/**
* 获取数据项
*
* @param {*} context
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof WFSystemList
*/
public getItems(context: any={}, data: any={}, isloading?: boolean): Promise<any> {
return new Promise((resolve, reject) => {
data = this.handleQueryParam(data);
const promise: Promise<any> = this.wfsystemService.FetchDefault(context, data, isloading);
promise.then((response: any) => {
if (response && response.status === 200) {
const data = response.data;
resolve(this.doItems(data));
} else {
resolve([]);
}
}).catch((response: any) => {
console.error(response);
reject(response);
});
});
}
/**
* 处理查询参数
* @param data 传入data
* @memberof WFSystemList
*/
public handleQueryParam(data:any){
let tempData:any = data?JSON.parse(JSON.stringify(data)):{};
if(this.userParamNames && Object.keys(this.userParamNames).length >0){
Object.keys(this.userParamNames).forEach((name: string) => {
if (!name) {
return;
}
let value: string | null = this.userParamNames[name];
if (value && value.startsWith('%') && value.endsWith('%')) {
const key = value.substring(1, value.length - 1);
if (this.codelistModel && this.codelistModel.hasOwnProperty(key)) {
value = (this.codelistModel[key] !== null && this.codelistModel[key] !== undefined) ? this.codelistModel[key] : null;
} else {
value = null;
}
}
Object.assign(tempData, { [name]: value });
});
}
Object.assign(tempData,{page: 0, size: 1000});
if(this.queryParamNames && Object.keys(this.queryParamNames).length > 0){
Object.assign(tempData,this.queryParamNames);
}
return tempData;
}
}
......@@ -129,6 +129,7 @@ export default {
menuitem1: "流程定义",
menuitem3: "发布新流程",
menuitem2: "用户组",
menuitem4: "我的待办",
},
},
formpage:{
......
......@@ -129,6 +129,7 @@ export default {
menuitem1: "流程定义",
menuitem3: "发布新流程",
menuitem2: "用户组",
menuitem4: "我的待办",
},
},
formpage:{
......
......@@ -4,4 +4,7 @@ export default {
"0": "否",
"empty": ""
},
WFSystemList: {
"empty": "",
},
};
\ No newline at end of file
......@@ -4,4 +4,7 @@ export default {
"0": "否",
"empty": "",
},
WFSystemList: {
"empty": "",
},
};
\ No newline at end of file
......@@ -12,4 +12,167 @@ export default {
processinstanceid: "实例标识",
processinstancebusinesskey: "业务键值",
},
views: {
gridview: {
caption: "我的待办",
title: "我的待办",
},
editview: {
caption: "工作流任务",
title: "工作流任务编辑视图",
},
},
main_form: {
details: {
group1: "工作流任务基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srforikey: "",
srfkey: "任务标识",
srfmajortext: "状态",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
taskid: "任务标识",
},
uiactions: {
},
},
main_grid: {
columns: {
definitionname: "流程",
taskname: "状态",
description: "事项",
createtime: "时间",
businesskey: "业务键值",
definitionid: "DefinitionId",
definitionkey: "DefinitionKey",
instanceid: "实例标识",
taskdefinitionkey: "TaskDefinitionKey",
taskid: "任务标识",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
n_description_like: "事项",
n_definitionkey_leftlike: "系统",
n_definitionname_like: "流程",
n_taskname_like: "状态",
},
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem5: {
caption: "View",
tip: "View {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "Export Data Model",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
tbitem18: {
caption: "Help",
tip: "Help",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "New",
tip: "New",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem16: {
caption: "-",
tip: "",
},
tbitem23: {
caption: "第一个记录",
tip: "第一个记录",
},
tbitem24: {
caption: "上一个记录",
tip: "上一个记录",
},
tbitem25: {
caption: "下一个记录",
tip: "下一个记录",
},
tbitem26: {
caption: "最后一个记录",
tip: "最后一个记录",
},
tbitem21: {
caption: "-",
tip: "",
},
tbitem22: {
caption: "Help",
tip: "Help",
},
},
};
\ No newline at end of file
......@@ -11,4 +11,167 @@ export default {
processinstanceid: "实例标识",
processinstancebusinesskey: "业务键值",
},
views: {
gridview: {
caption: "我的待办",
title: "我的待办",
},
editview: {
caption: "工作流任务",
title: "工作流任务编辑视图",
},
},
main_form: {
details: {
group1: "工作流任务基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srforikey: "",
srfkey: "任务标识",
srfmajortext: "状态",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
taskid: "任务标识",
},
uiactions: {
},
},
main_grid: {
columns: {
definitionname: "流程",
taskname: "状态",
description: "事项",
createtime: "时间",
businesskey: "业务键值",
definitionid: "DefinitionId",
definitionkey: "DefinitionKey",
instanceid: "实例标识",
taskdefinitionkey: "TaskDefinitionKey",
taskid: "任务标识",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
n_description_like: "事项",
n_definitionkey_leftlike: "系统",
n_definitionname_like: "流程",
n_taskname_like: "状态",
},
uiactions: {
},
},
gridviewtoolbar_toolbar: {
tbitem5: {
caption: "查看",
tip: "查看",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "导出数据模型",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
tbitem17: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
tbitem18: {
caption: "帮助",
tip: "帮助",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
tip: "保存",
},
tbitem4: {
caption: "保存并新建",
tip: "保存并新建",
},
tbitem5: {
caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "删除并关闭",
tip: "删除并关闭",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "新建",
tip: "新建",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "拷贝",
tip: "拷贝",
},
tbitem16: {
caption: "-",
tip: "",
},
tbitem23: {
caption: "第一个记录",
tip: "第一个记录",
},
tbitem24: {
caption: "上一个记录",
tip: "上一个记录",
},
tbitem25: {
caption: "下一个记录",
tip: "下一个记录",
},
tbitem26: {
caption: "最后一个记录",
tip: "最后一个记录",
},
tbitem21: {
caption: "-",
tip: "",
},
tbitem22: {
caption: "帮助",
tip: "帮助",
},
},
};
\ No newline at end of file
......@@ -63,6 +63,24 @@ mock.onGet('v7/wfindex-viewappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'Auto2',
resourcetag: '',
},
{
id: '0F72A458-D47D-4305-AF77-4D643124741D',
name: 'menuitem4',
text: '我的待办',
type: 'MENUITEM',
counterid: '',
tooltip: '我的待办',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: 'fa fa-list-alt',
icon: '',
textcls: '',
appfunctag: '_2',
resourcetag: '',
},
],
}];
......
......@@ -33,6 +33,14 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
disabled: false,
},
]
},
{
"srfkey": "WFSystemList",
"emptytext": "未定义",
"codelisttype":"dynamic",
"appdataentity":"WFSystem",
"appdedataset":"FetchDefault",
"items": []
}
]];
});
......
......@@ -47,6 +47,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "WFGroupMPickupView",
"viewtag": "5db49698557288612b9247b259ffbcd7"
},
"wftaskgridview": {
"title": "我的待办",
"caption": "我的待办",
"viewtype": "DEGRIDVIEW",
"viewmodule": "workflow",
"viewname": "WFTaskGridView",
"viewtag": "67f605f39e4d0d7cfa524ea97bc29ced"
},
"wfusereditview": {
"title": "用户编辑视图",
"caption": "用户",
......@@ -55,6 +63,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "WFUserEditView",
"viewtag": "77dd35badedcc0f6b98e83ee1ff82bda"
},
"wftaskeditview": {
"title": "工作流任务编辑视图",
"caption": "工作流任务",
"viewtype": "DEEDITVIEW",
"viewmodule": "workflow",
"viewname": "WFTaskEditView",
"viewtag": "84f38898137b7bd1f9f135ac74b4b850"
},
"wfprocessdefinitioneditview": {
"title": "流程定义查看",
"caption": "流程定义查看",
......
......@@ -4,14 +4,16 @@ export const PageComponents = {
Vue.component('wfuser-pickup-grid-view', () => import('@pages/workflow/wfuser-pickup-grid-view/wfuser-pickup-grid-view.vue'));
Vue.component('wfprocess-definition-grid-view', () => import('@pages/workflow/wfprocess-definition-grid-view/wfprocess-definition-grid-view.vue'));
Vue.component('wfuser-pickup-view', () => import('@pages/workflow/wfuser-pickup-view/wfuser-pickup-view.vue'));
Vue.component('wfremodel-edit-view', () => import('@pages/workflow/wfremodel-edit-view/wfremodel-edit-view.vue'));
Vue.component('wfmember-edit-view', () => import('@pages/workflow/wfmember-edit-view/wfmember-edit-view.vue'));
Vue.component('wfgroup-grid-view', () => import('@pages/workflow/wfgroup-grid-view/wfgroup-grid-view.vue'));
Vue.component('wfuser-mpickup-view', () => import('@pages/workflow/wfuser-mpickup-view/wfuser-mpickup-view.vue'));
Vue.component('wfgroup-mpickup-view', () => import('@pages/workflow/wfgroup-mpickup-view/wfgroup-mpickup-view.vue'));
Vue.component('wfmember-grid-view', () => import('@pages/workflow/wfmember-grid-view/wfmember-grid-view.vue'));
Vue.component('wfgroup-pickup-view', () => import('@pages/workflow/wfgroup-pickup-view/wfgroup-pickup-view.vue'));
Vue.component('wftask-grid-view', () => import('@pages/workflow/wftask-grid-view/wftask-grid-view.vue'));
Vue.component('wfgroup-edit-view', () => import('@pages/workflow/wfgroup-edit-view/wfgroup-edit-view.vue'));
Vue.component('wftask-edit-view', () => import('@pages/workflow/wftask-edit-view/wftask-edit-view.vue'));
Vue.component('wfremodel-edit-view', () => import('@pages/workflow/wfremodel-edit-view/wfremodel-edit-view.vue'));
Vue.component('wfgroup-grid-view', () => import('@pages/workflow/wfgroup-grid-view/wfgroup-grid-view.vue'));
Vue.component('wfmember-edit-view', () => import('@pages/workflow/wfmember-edit-view/wfmember-edit-view.vue'));
Vue.component('wfmember-grid-view', () => import('@pages/workflow/wfmember-grid-view/wfmember-grid-view.vue'));
Vue.component('wfuser-mpickup-view', () => import('@pages/workflow/wfuser-mpickup-view/wfuser-mpickup-view.vue'));
Vue.component('wfprocess-definition-edit-view', () => import('@pages/workflow/wfprocess-definition-edit-view/wfprocess-definition-edit-view.vue'));
}
};
\ No newline at end of file
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.wftask-edit-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import WFTaskEditViewBase from './wftask-edit-view-base.vue';
import view_form from '@widgets/wftask/main-form/main-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class WFTaskEditView extends WFTaskEditViewBase {
}
</script>
\ No newline at end of file
.wftask-grid-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import WFTaskGridViewBase from './wftask-grid-view-base.vue';
import view_grid from '@widgets/wftask/main-grid/main-grid.vue';
import view_searchform from '@widgets/wftask/default-searchform/default-searchform.vue';
@Component({
components: {
view_grid,
view_searchform,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class WFTaskGridView extends WFTaskGridViewBase {
}
</script>
\ No newline at end of file
......@@ -25,6 +25,7 @@ export const viewstate: any = {
'a06aed382ebc28e6521b4398880388cd',
'c0e7fb60c35f15d4f23800acae7afbd1',
'f11ad9a3b9260fb68a2a2e870419bffa',
'67f605f39e4d0d7cfa524ea97bc29ced',
],
},
{
......@@ -57,6 +58,16 @@ export const viewstate: any = {
'c539c8d177b0401b79fa0808de6f13dd',
],
},
{
viewtag: '67f605f39e4d0d7cfa524ea97bc29ced',
viewmodule: 'workflow',
viewname: 'WFTaskGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'84f38898137b7bd1f9f135ac74b4b850',
],
},
{
viewtag: '77dd35badedcc0f6b98e83ee1ff82bda',
viewmodule: 'workflow',
......@@ -66,6 +77,15 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '84f38898137b7bd1f9f135ac74b4b850',
viewmodule: 'workflow',
viewname: 'WFTaskEditView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '9aad4530afb58f5c348a5b21d9c7ae72',
viewmodule: 'workflow',
......
......@@ -89,6 +89,8 @@ export default class WFTaskUIServiceBase extends UIService {
* @memberof WFTaskUIServiceBase
*/
public initViewMap(){
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'wftasks'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'wftasks'});
}
/**
......
......@@ -582,6 +582,9 @@ export default class WFIndexViewBase extends Vue implements ControlInterface {
navDataService.removeNavData(this.viewtag);
}
switch (item.appfunctag) {
case '_2':
this.click_2(item);
return;
case 'Auto3':
this.clickAuto3(item);
return;
......@@ -598,6 +601,29 @@ export default class WFIndexViewBase extends Vue implements ControlInterface {
}
/**
* 我的待办
*
* @param {*} [item={}]
* @memberof WFIndexView
*/
public click_2(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'wftasks', parameterName: 'wftask' },
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
* 发布流程
*
......
......@@ -70,6 +70,25 @@ export default class WFIndexViewModel {
appfunctag: 'Auto2',
resourcetag: '',
authtag:'web-WFIndexView-menuitem2',
},
{
id: '0F72A458-D47D-4305-AF77-4D643124741D',
name: 'menuitem4',
text: '我的待办',
type: 'MENUITEM',
counterid: '',
tooltip: '我的待办',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: 'fa fa-list-alt',
icon: '',
textcls: '',
appfunctag: '_2',
resourcetag: '',
authtag:'web-WFIndexView-menuitem4',
},
];
......@@ -81,6 +100,18 @@ export default class WFIndexViewModel {
* @memberof WFIndexViewModel
*/
public funcs: any[] = [
{
appfunctag: '_2',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'wftaskgridview',
deResParameters: [],
routepath: '/wfindexview/:wfindexview?/wftasks/:wftask?/gridview/:gridview?',
parameters: [
{ pathName: 'wftasks', parameterName: 'wftask' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto3',
appfuncyype: 'APPVIEW',
......
/**
* Default 部件模型
*
* @export
* @class DefaultModel
*/
export default class DefaultModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof DefaultModel
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
{
name: 'n_description_like',
prop: 'description',
dataType: 'LONGTEXT_1000',
},
{
name: 'n_definitionkey_leftlike',
prop: 'processdefinitionkey',
dataType: 'TEXT',
},
{
name: 'n_definitionname_like',
prop: 'processdefinitionname',
dataType: 'TEXT',
},
{
name: 'n_taskname_like',
prop: 'name',
dataType: 'TEXT',
},
]
}
}
\ No newline at end of file
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-search-form {
padding: 8px 14px 0;
.ivu-form-item{
margin-bottom: 8px;
}
.search_reset {
margin-right: 12px;
margin-bottom: 8px;
}
.search-button{
text-align: right;
}
}
.app-search-form-flex {
height: 100%;
> .ivu-row {
height: 100%;
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import DefaultBase from './default-searchform-base.vue';
@Component({
components: {
}
})
export default class Default extends DefaultBase {
}
</script>
\ No newline at end of file
此差异已折叠。
/**
* Main 部件模型
*
* @export
* @class MainModel
*/
export default class MainModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof MainModel
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
{
name: 'srforikey',
},
{
name: 'srfkey',
prop: 'id',
dataType: 'TEXT',
},
{
name: 'srfmajortext',
prop: 'name',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'taskid',
prop: 'id',
dataType: 'TEXT',
},
{
name: 'wftask',
prop: 'id',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-form {
overflow: auto;
> .ivu-row {
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
.app-form {
>.ivu-row:nth-child(2) {
>.ivu-col:nth-child(1) {
>.ivu-row.app-form-group.app-group-hiddden-caption:nth-child(1) {
margin-top: 12px;
}
}
}
}
// 表单行间距
.app-form{
.app-form-item{
margin-bottom: 20px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import MainBase from './main-form-base.vue';
@Component({
components: {
}
})
export default class Main extends MainBase {
}
</script>
\ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import MainBase from './main-grid-base.vue';
@Component({
components: {
}
})
export default class Main extends MainBase {
}
</script>
\ No newline at end of file
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册