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

zhujiamin 发布系统代码 [TrainSys,网页端]

上级 f0be851e
import Schema from 'async-validator';
import qs from 'qs';
import { clone } from "ramda";
import { PluralizeRule } from './pluralizeRule';
......@@ -728,6 +729,25 @@ export class Util {
})
}
/**
* 获取路由参数
*
* @param path
*/
public static getRouteParams(path: string) {
const returnParams = {};
let tempPath: any = path.slice(path.indexOf('?') + 1,path.indexOf('#'));
const pathArray: Array<string> = tempPath.split('&');
if (pathArray && pathArray.length > 0) {
pathArray.forEach((item: any) => {
if (item && item.indexOf('=') !== -1) {
Object.assign(returnParams, qs.parse(item));
}
});
}
return returnParams;
}
}
/**
* 创建 UUID
......
......@@ -51,55 +51,55 @@ import { AppDefaultMapExpViewLayout } from "../../components/layout/app-default-
import { AppDefaultDePanelViewLayout } from '../../components/layout/app-default-layout/app-default-depanelview-layout/app-default-depanelview-layout';
import { AppDefaultHtmlViewLayout } from '../../components/layout/app-default-layout/app-default-htmlview-layout/app-default-htmlview-layout';
import { AppDefaultLoginViewLayout } from "../../components/layout/app-default-layout/app-default-login-layout/app-default-login-layout";
// import { AppStyle2IndexViewLayout } from '../../components/layout/app-style2-layout/app-style2-indexview-layout/app-style2-indexview-layout';
// import { AppStyle2GridViewLayout } from '../../components/layout/app-style2-layout/app-style2-gridview-layout/app-style2-gridview-layout';
// import { AppStyle2GridExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-gridexpview-layout/app-style2-gridexpview-layout';
// import { AppStyle2TreeExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-treeexpview-layout/app-style2-treeexpview-layout';
// import { AppStyle2ListExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-listexpview-layout/app-style2-listexpview-layout';
// import { AppStyle2CalendarExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-calendarexpview-layout/app-style2-calendarexpview-layout';
// import { AppStyle2ListViewLayout } from '../../components/layout/app-style2-layout/app-style2-listview-layout/app-style2-listview-layout';
// import { AppStyle2TabExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-tabexpview-layout/app-style2-tabexpview-layout';
// import { AppStyle2TabSearchViewLayout } from '../../components/layout/app-style2-layout/app-style2-tabsearchview-layout/app-style2-tabsearchview-layout';
// import { AppStyle2CalendarViewLayout } from '../../components/layout/app-style2-layout/app-style2-calendarview-layout/app-style2-calendarview-layout';
// import { AppStyle2EditViewLayout } from '../../components/layout/app-style2-layout/app-style2-editview-layout/app-style2-editview-layout';
// import { AppStyle2EditView3Layout } from '../../components/layout/app-style2-layout/app-style2-editview3-layout/app-style2-editview3-layout';
// import { AppStyle2ChartViewLayout } from '../../components/layout/app-style2-layout/app-style2-chartview-layout/app-style2-chartview-layout';
// import { AppStyle2ChartExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-chartexpview-layout/app-style2-chartexpview-layout';
// import { AppStyle2DataViewLayout } from '../../components/layout/app-style2-layout/app-style2-dataview-layout/app-style2-dataview-layout';
// import { AppStyle2DePortalViewLayout } from '../../components/layout/app-style2-layout/app-style2-deportalview-layout/app-style2-deportalview-layout';
// import { AppStyle2PortalViewLayout } from '../../components/layout/app-style2-layout/app-style2-portalview-layout/app-style2-portalview-layout';
// import { AppStyle2KanBanViewLayout } from '../../components/layout/app-style2-layout/app-style2-kanbanview-layout/app-style2-kanbanview-layout';
// import { AppStyle2OptViewLayout } from '../../components/layout/app-style2-layout/app-style2-optview-layout/app-style2-optview-layout';
// import { AppStyle2WFDynaEditViewLayout } from '../../components/layout/app-style2-layout/app-style2-wfdynaeditview-layout/app-style2-wfdynaeditview-layout';
// import { AppStyle2WFDynaEditView3Layout } from '../../components/layout/app-style2-layout/app-style2-wfdynaeditview3-layout/app-style2-wfdynaeditview3-layout';
// import { AppStyle2CustomViewLayout } from '../../components/layout/app-style2-layout/app-style2-customview-layout/app-style2-customview-layout';
// import { AppStyle2PickupTreeViewLayout } from '../../components/layout/app-style2-layout/app-style2-pickuptreeview-layout/app-style2-pickuptreeview-layout';
// import { AppStyle2TreeGridExViewLayout } from '../../components/layout/app-style2-layout/app-style2-treegridexview-layout/app-style2-treegridexview-layout';
// import { AppStyle2GanttViewLayout } from '../../components/layout/app-style2-layout/app-style2-ganttview-layout/app-style2-ganttview-layout';
// import { AppStyle2MPickupViewLayout } from '../../components/layout/app-style2-layout/app-style2-mpickupview-layout/app-style2-mpickupview-layout';
// import { AppStyle2PickupViewLayout } from '../../components/layout/app-style2-layout/app-style2-pickupview-layout/app-style2-pickupview-layout';
// import { AppStyle2DataViewExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-dataviewexpview-layout/app-style2-dataviewexpview-layout';
// import { AppStyle2MEditViewLayout } from '../../components/layout/app-style2-layout/app-style2-meditview-layout/app-style2-meditview-layout';
// import { AppStyle2TreeViewLayout } from '../../components/layout/app-style2-layout/app-style2-treeview-layout/app-style2-treeview-layout';
// import { AppStyle2PickupGridViewLayout } from '../../components/layout/app-style2-layout/app-style2-pickupgridview-layout/app-style2-pickupgridview-layout';
// import { AppStyle2WfDynaExpGridViewLayout } from '../../components/layout/app-style2-layout/app-style2-wfdynaexpgridview-layout/app-style2-wfdynaexpgridview-layout';
// import { AppStyle2WFDynaActionViewLayout } from '../../components/layout/app-style2-layout/app-style2-wfdynaactionview-layout/app-style2-wfdynaactionview-layout';
// import { AppStyle2HtmlViewLayout } from '../../components/layout/app-style2-layout/app-style2-htmlview-layout/app-style2-htmlview-layout';
// import { AppStyle2IndexPickupDataViewLayout } from "../../components/layout/app-style2-layout/app-style2-indexpickupdataview-layout/app-style2-indexpickupdataview-layout";
// import { AppStyle2FormPickupDataViewLayout } from "../../components/layout/app-style2-layout/app-style2-formpickupdataview-layout/app-style2-formpickupdataview-layout";
// import { AppStyle2WFDynaStartViewLayout } from "../../components/layout/app-style2-layout/app-style2-wfdynastartview-layout/app-style2-wfdynastartview-layout";
// import { AppStyle3IndexViewLayout } from '../../components/layout/app-style3-layout/app-style3-indexview-layout/app-style3-indexview-layout';
// import { AppStyle4IndexViewLayout } from '../../components/layout/app-style4-layout/app-style4-indexview-layout/app-style4-indexview-layout';
// import { AppStyle2WFActionViewLayout } from '../../components/layout/app-style2-layout/app-style2-wfactionview-layout/app-style2-wfactionview-layout';
// import { AppStyle2WizardViewLayout } from '../../components/layout/app-style2-layout/app-style2-wizardview-layout/app-style2-wizardview-layout';
// import { AppStyle2DeRedirectViewLayout } from "../../components/layout/app-style2-layout/app-style2-deredirectview-layout/app-style2-deredirectview-layout";
// import { AppStyle2WfStepTraceViewLayout } from "../../components/layout/app-style2-layout/app-style2-wfsteptraceview-layout/app-style2-wfsteptraceview-layout";
// import { AppStyle2DeReportViewLayout } from "../../components/layout/app-style2-layout/app-style2-dereportview-layout/app-style2-dereportview-layout";
// import { AppStyle2MapExpViewLayout } from "../../components/layout/app-style2-layout/app-style2-mapexpview-layout/app-style2-mapexpview-layout";
// import { AppStyle4PortalViewLayout } from "../../components/layout/app-style4-layout/app-style4-portalview-layout/app-style4-portalview-layout";
// import { AppStyle4DePortalViewLayout } from "../../components/layout/app-style4-layout/app-style4-deportalview-layout/app-style4-deportalview-layout";
// import { AppStyle2DePanelViewLayout } from '../../components/layout/app-style2-layout/app-style2-depanelview-layout/app-style2-depanelview-layout';
// import { AppStyle2MapViewLayout } from '../../components/layout/app-style2-layout/app-style2-mapview-layout/app-style2-mapview-layout';
import { AppStyle2IndexViewLayout } from '../../components/layout/app-style2-layout/app-style2-indexview-layout/app-style2-indexview-layout';
import { AppStyle2GridViewLayout } from '../../components/layout/app-style2-layout/app-style2-gridview-layout/app-style2-gridview-layout';
import { AppStyle2GridExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-gridexpview-layout/app-style2-gridexpview-layout';
import { AppStyle2TreeExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-treeexpview-layout/app-style2-treeexpview-layout';
import { AppStyle2ListExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-listexpview-layout/app-style2-listexpview-layout';
import { AppStyle2CalendarExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-calendarexpview-layout/app-style2-calendarexpview-layout';
import { AppStyle2ListViewLayout } from '../../components/layout/app-style2-layout/app-style2-listview-layout/app-style2-listview-layout';
import { AppStyle2TabExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-tabexpview-layout/app-style2-tabexpview-layout';
import { AppStyle2TabSearchViewLayout } from '../../components/layout/app-style2-layout/app-style2-tabsearchview-layout/app-style2-tabsearchview-layout';
import { AppStyle2CalendarViewLayout } from '../../components/layout/app-style2-layout/app-style2-calendarview-layout/app-style2-calendarview-layout';
import { AppStyle2EditViewLayout } from '../../components/layout/app-style2-layout/app-style2-editview-layout/app-style2-editview-layout';
import { AppStyle2EditView3Layout } from '../../components/layout/app-style2-layout/app-style2-editview3-layout/app-style2-editview3-layout';
import { AppStyle2ChartViewLayout } from '../../components/layout/app-style2-layout/app-style2-chartview-layout/app-style2-chartview-layout';
import { AppStyle2ChartExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-chartexpview-layout/app-style2-chartexpview-layout';
import { AppStyle2DataViewLayout } from '../../components/layout/app-style2-layout/app-style2-dataview-layout/app-style2-dataview-layout';
import { AppStyle2DePortalViewLayout } from '../../components/layout/app-style2-layout/app-style2-deportalview-layout/app-style2-deportalview-layout';
import { AppStyle2PortalViewLayout } from '../../components/layout/app-style2-layout/app-style2-portalview-layout/app-style2-portalview-layout';
import { AppStyle2KanBanViewLayout } from '../../components/layout/app-style2-layout/app-style2-kanbanview-layout/app-style2-kanbanview-layout';
import { AppStyle2OptViewLayout } from '../../components/layout/app-style2-layout/app-style2-optview-layout/app-style2-optview-layout';
import { AppStyle2WFDynaEditViewLayout } from '../../components/layout/app-style2-layout/app-style2-wfdynaeditview-layout/app-style2-wfdynaeditview-layout';
import { AppStyle2WFDynaEditView3Layout } from '../../components/layout/app-style2-layout/app-style2-wfdynaeditview3-layout/app-style2-wfdynaeditview3-layout';
import { AppStyle2CustomViewLayout } from '../../components/layout/app-style2-layout/app-style2-customview-layout/app-style2-customview-layout';
import { AppStyle2PickupTreeViewLayout } from '../../components/layout/app-style2-layout/app-style2-pickuptreeview-layout/app-style2-pickuptreeview-layout';
import { AppStyle2TreeGridExViewLayout } from '../../components/layout/app-style2-layout/app-style2-treegridexview-layout/app-style2-treegridexview-layout';
import { AppStyle2GanttViewLayout } from '../../components/layout/app-style2-layout/app-style2-ganttview-layout/app-style2-ganttview-layout';
import { AppStyle2MPickupViewLayout } from '../../components/layout/app-style2-layout/app-style2-mpickupview-layout/app-style2-mpickupview-layout';
import { AppStyle2PickupViewLayout } from '../../components/layout/app-style2-layout/app-style2-pickupview-layout/app-style2-pickupview-layout';
import { AppStyle2DataViewExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-dataviewexpview-layout/app-style2-dataviewexpview-layout';
import { AppStyle2MEditViewLayout } from '../../components/layout/app-style2-layout/app-style2-meditview-layout/app-style2-meditview-layout';
import { AppStyle2TreeViewLayout } from '../../components/layout/app-style2-layout/app-style2-treeview-layout/app-style2-treeview-layout';
import { AppStyle2PickupGridViewLayout } from '../../components/layout/app-style2-layout/app-style2-pickupgridview-layout/app-style2-pickupgridview-layout';
import { AppStyle2WfDynaExpGridViewLayout } from '../../components/layout/app-style2-layout/app-style2-wfdynaexpgridview-layout/app-style2-wfdynaexpgridview-layout';
import { AppStyle2WFDynaActionViewLayout } from '../../components/layout/app-style2-layout/app-style2-wfdynaactionview-layout/app-style2-wfdynaactionview-layout';
import { AppStyle2HtmlViewLayout } from '../../components/layout/app-style2-layout/app-style2-htmlview-layout/app-style2-htmlview-layout';
import { AppStyle2IndexPickupDataViewLayout } from "../../components/layout/app-style2-layout/app-style2-indexpickupdataview-layout/app-style2-indexpickupdataview-layout";
import { AppStyle2FormPickupDataViewLayout } from "../../components/layout/app-style2-layout/app-style2-formpickupdataview-layout/app-style2-formpickupdataview-layout";
import { AppStyle2WFDynaStartViewLayout } from "../../components/layout/app-style2-layout/app-style2-wfdynastartview-layout/app-style2-wfdynastartview-layout";
import { AppStyle3IndexViewLayout } from '../../components/layout/app-style3-layout/app-style3-indexview-layout/app-style3-indexview-layout';
import { AppStyle4IndexViewLayout } from '../../components/layout/app-style4-layout/app-style4-indexview-layout/app-style4-indexview-layout';
import { AppStyle2WFActionViewLayout } from '../../components/layout/app-style2-layout/app-style2-wfactionview-layout/app-style2-wfactionview-layout';
import { AppStyle2WizardViewLayout } from '../../components/layout/app-style2-layout/app-style2-wizardview-layout/app-style2-wizardview-layout';
import { AppStyle2DeRedirectViewLayout } from "../../components/layout/app-style2-layout/app-style2-deredirectview-layout/app-style2-deredirectview-layout";
import { AppStyle2WfStepTraceViewLayout } from "../../components/layout/app-style2-layout/app-style2-wfsteptraceview-layout/app-style2-wfsteptraceview-layout";
import { AppStyle2DeReportViewLayout } from "../../components/layout/app-style2-layout/app-style2-dereportview-layout/app-style2-dereportview-layout";
import { AppStyle2MapExpViewLayout } from "../../components/layout/app-style2-layout/app-style2-mapexpview-layout/app-style2-mapexpview-layout";
import { AppStyle4PortalViewLayout } from "../../components/layout/app-style4-layout/app-style4-portalview-layout/app-style4-portalview-layout";
import { AppStyle4DePortalViewLayout } from "../../components/layout/app-style4-layout/app-style4-deportalview-layout/app-style4-deportalview-layout";
import { AppStyle2DePanelViewLayout } from '../../components/layout/app-style2-layout/app-style2-depanelview-layout/app-style2-depanelview-layout';
import { AppStyle2MapViewLayout } from '../../components/layout/app-style2-layout/app-style2-mapview-layout/app-style2-mapview-layout';
/**
* 应用组件服务
*
......@@ -181,64 +181,64 @@ export class AppLayoutService {
this.layoutMap.set("DECHARTVIEW9-DEFAULT", AppDefaultChartViewLayout);
this.layoutMap.set("DEDATAVIEW9-DEFAULT",AppDefaultDataViewLayout);
// STYLE2视图布局
// this.layoutMap.set("DEEDITVIEW-STYLE2", AppStyle2EditViewLayout);
// this.layoutMap.set("DEEDITVIEW3-STYLE2", AppStyle2EditView3Layout);
// this.layoutMap.set("DEGRIDVIEW-STYLE2", AppStyle2GridViewLayout);
// this.layoutMap.set("DECALENDARVIEW-STYLE2", AppStyle2CalendarViewLayout);
// this.layoutMap.set("DECHARTVIEW-STYLE2", AppStyle2ChartViewLayout);
// this.layoutMap.set("DECHARTEXPVIEW-STYLE2", AppStyle2ChartExpViewLayout);
// this.layoutMap.set("DELISTVIEW-STYLE2", AppStyle2ListViewLayout);
// this.layoutMap.set("DEDATAVIEW-STYLE2", AppStyle2DataViewLayout);
// this.layoutMap.set("DEPORTALVIEW-STYLE2", AppStyle2DePortalViewLayout);
// this.layoutMap.set("APPPORTALVIEW-STYLE2", AppStyle2PortalViewLayout);
// this.layoutMap.set("DEKANBANVIEW-STYLE2", AppStyle2KanBanViewLayout);
// this.layoutMap.set("APPINDEXVIEW-STYLE2", AppStyle2IndexViewLayout);
// this.layoutMap.set("DEGRIDEXPVIEW-STYLE2", AppStyle2GridExpViewLayout);
// this.layoutMap.set("DEWFDYNAEXPGRIDVIEW-STYLE2", AppStyle2WfDynaExpGridViewLayout);
// this.layoutMap.set("DEPICKUPGRIDVIEW-STYLE2", AppStyle2PickupGridViewLayout);
// this.layoutMap.set("DECALENDAREXPVIEW-STYLE2", AppStyle2CalendarExpViewLayout);
// this.layoutMap.set("DELISTEXPVIEW-STYLE2", AppStyle2ListExpViewLayout);
// this.layoutMap.set("DETREEVIEW-STYLE2", AppStyle2TreeViewLayout);
// this.layoutMap.set("DETREEEXPVIEW-STYLE2", AppStyle2TreeExpViewLayout);
// this.layoutMap.set("DEMEDITVIEW9-STYLE2", AppStyle2MEditViewLayout);
// this.layoutMap.set("DEDATAVIEWEXPVIEW-STYLE2", AppStyle2DataViewExpViewLayout);
// this.layoutMap.set("DEPICKUPVIEW-STYLE2", AppStyle2PickupViewLayout);
// this.layoutMap.set("DETABEXPVIEW-STYLE2", AppStyle2TabExpViewLayout);
// this.layoutMap.set("DETABSEARCHVIEW-STYLE2", AppStyle2TabSearchViewLayout);
// this.layoutMap.set("DEMPICKUPVIEW-STYLE2", AppStyle2MPickupViewLayout);
// this.layoutMap.set("DEGANTTVIEW-STYLE2", AppStyle2GanttViewLayout);
// this.layoutMap.set("DETREEGRIDEXVIEW-STYLE2", AppStyle2TreeGridExViewLayout);
// this.layoutMap.set("DEPICKUPTREEVIEW-STYLE2", AppStyle2PickupTreeViewLayout);
// this.layoutMap.set("DECUSTOMVIEW-STYLE2", AppStyle2CustomViewLayout);
// this.layoutMap.set("DEOPTVIEW-STYLE2", AppStyle2OptViewLayout);
// this.layoutMap.set("DEWFDYNAACTIONVIEW-STYLE2", AppStyle2WFDynaActionViewLayout);
// this.layoutMap.set("DEWFDYNAEDITVIEW-STYLE2", AppStyle2WFDynaEditViewLayout);
// this.layoutMap.set("DEWFDYNAEDITVIEW3-STYLE2", AppStyle2WFDynaEditView3Layout);
// this.layoutMap.set("DEHTMLVIEW-STYLE2", AppStyle2HtmlViewLayout);
// this.layoutMap.set("DEFORMPICKUPDATAVIEW-STYLE2",AppStyle2FormPickupDataViewLayout);
// this.layoutMap.set("DEINDEXPICKUPDATAVIEW-STYLE2",AppStyle2IndexPickupDataViewLayout);
// this.layoutMap.set("DEWFDYNASTARTVIEW-STYLE2", AppStyle2WFDynaStartViewLayout);
// this.layoutMap.set("DEWFACTIONVIEW-STYLE2", AppStyle2WFActionViewLayout);
// this.layoutMap.set("DEWIZARDVIEW-STYLE2", AppStyle2WizardViewLayout);
// this.layoutMap.set("DEREDIRECTVIEW-STYLE2",AppStyle2DeRedirectViewLayout);
// this.layoutMap.set("APPWFSTEPTRACEVIEW-STYLE2",AppStyle2WfStepTraceViewLayout);
// this.layoutMap.set("DEREPORTVIEW-STYLE2",AppStyle2DeReportViewLayout);
// this.layoutMap.set("DEMAPEXPVIEW-STYLE2",AppStyle2MapExpViewLayout);
// this.layoutMap.set("DEPANELVIEW-STYLE2", AppStyle2DePanelViewLayout);
// this.layoutMap.set("DEMAPVIEW-STYLE2",AppStyle2MapViewLayout);
this.layoutMap.set("DEEDITVIEW-STYLE2", AppStyle2EditViewLayout);
this.layoutMap.set("DEEDITVIEW3-STYLE2", AppStyle2EditView3Layout);
this.layoutMap.set("DEGRIDVIEW-STYLE2", AppStyle2GridViewLayout);
this.layoutMap.set("DECALENDARVIEW-STYLE2", AppStyle2CalendarViewLayout);
this.layoutMap.set("DECHARTVIEW-STYLE2", AppStyle2ChartViewLayout);
this.layoutMap.set("DECHARTEXPVIEW-STYLE2", AppStyle2ChartExpViewLayout);
this.layoutMap.set("DELISTVIEW-STYLE2", AppStyle2ListViewLayout);
this.layoutMap.set("DEDATAVIEW-STYLE2", AppStyle2DataViewLayout);
this.layoutMap.set("DEPORTALVIEW-STYLE2", AppStyle2DePortalViewLayout);
this.layoutMap.set("APPPORTALVIEW-STYLE2", AppStyle2PortalViewLayout);
this.layoutMap.set("DEKANBANVIEW-STYLE2", AppStyle2KanBanViewLayout);
this.layoutMap.set("APPINDEXVIEW-STYLE2", AppStyle2IndexViewLayout);
this.layoutMap.set("DEGRIDEXPVIEW-STYLE2", AppStyle2GridExpViewLayout);
this.layoutMap.set("DEWFDYNAEXPGRIDVIEW-STYLE2", AppStyle2WfDynaExpGridViewLayout);
this.layoutMap.set("DEPICKUPGRIDVIEW-STYLE2", AppStyle2PickupGridViewLayout);
this.layoutMap.set("DECALENDAREXPVIEW-STYLE2", AppStyle2CalendarExpViewLayout);
this.layoutMap.set("DELISTEXPVIEW-STYLE2", AppStyle2ListExpViewLayout);
this.layoutMap.set("DETREEVIEW-STYLE2", AppStyle2TreeViewLayout);
this.layoutMap.set("DETREEEXPVIEW-STYLE2", AppStyle2TreeExpViewLayout);
this.layoutMap.set("DEMEDITVIEW9-STYLE2", AppStyle2MEditViewLayout);
this.layoutMap.set("DEDATAVIEWEXPVIEW-STYLE2", AppStyle2DataViewExpViewLayout);
this.layoutMap.set("DEPICKUPVIEW-STYLE2", AppStyle2PickupViewLayout);
this.layoutMap.set("DETABEXPVIEW-STYLE2", AppStyle2TabExpViewLayout);
this.layoutMap.set("DETABSEARCHVIEW-STYLE2", AppStyle2TabSearchViewLayout);
this.layoutMap.set("DEMPICKUPVIEW-STYLE2", AppStyle2MPickupViewLayout);
this.layoutMap.set("DEGANTTVIEW-STYLE2", AppStyle2GanttViewLayout);
this.layoutMap.set("DETREEGRIDEXVIEW-STYLE2", AppStyle2TreeGridExViewLayout);
this.layoutMap.set("DEPICKUPTREEVIEW-STYLE2", AppStyle2PickupTreeViewLayout);
this.layoutMap.set("DECUSTOMVIEW-STYLE2", AppStyle2CustomViewLayout);
this.layoutMap.set("DEOPTVIEW-STYLE2", AppStyle2OptViewLayout);
this.layoutMap.set("DEWFDYNAACTIONVIEW-STYLE2", AppStyle2WFDynaActionViewLayout);
this.layoutMap.set("DEWFDYNAEDITVIEW-STYLE2", AppStyle2WFDynaEditViewLayout);
this.layoutMap.set("DEWFDYNAEDITVIEW3-STYLE2", AppStyle2WFDynaEditView3Layout);
this.layoutMap.set("DEHTMLVIEW-STYLE2", AppStyle2HtmlViewLayout);
this.layoutMap.set("DEFORMPICKUPDATAVIEW-STYLE2",AppStyle2FormPickupDataViewLayout);
this.layoutMap.set("DEINDEXPICKUPDATAVIEW-STYLE2",AppStyle2IndexPickupDataViewLayout);
this.layoutMap.set("DEWFDYNASTARTVIEW-STYLE2", AppStyle2WFDynaStartViewLayout);
this.layoutMap.set("DEWFACTIONVIEW-STYLE2", AppStyle2WFActionViewLayout);
this.layoutMap.set("DEWIZARDVIEW-STYLE2", AppStyle2WizardViewLayout);
this.layoutMap.set("DEREDIRECTVIEW-STYLE2",AppStyle2DeRedirectViewLayout);
this.layoutMap.set("APPWFSTEPTRACEVIEW-STYLE2",AppStyle2WfStepTraceViewLayout);
this.layoutMap.set("DEREPORTVIEW-STYLE2",AppStyle2DeReportViewLayout);
this.layoutMap.set("DEMAPEXPVIEW-STYLE2",AppStyle2MapExpViewLayout);
this.layoutMap.set("DEPANELVIEW-STYLE2", AppStyle2DePanelViewLayout);
this.layoutMap.set("DEMAPVIEW-STYLE2",AppStyle2MapViewLayout);
// STYLE2部件视图
// this.layoutMap.set("DEEDITVIEW9-STYLE2", AppStyle2EditViewLayout);
// this.layoutMap.set("DEGRIDVIEW9-STYLE2", AppStyle2GridViewLayout);
// this.layoutMap.set("DEPORTALVIEW9-STYLE2", AppStyle2DePortalViewLayout);
// this.layoutMap.set("DELISTVIEW9-STYLE2", AppStyle2ListViewLayout);
// this.layoutMap.set("DECHARTVIEW9-STYLE2", AppStyle2ChartViewLayout);
// this.layoutMap.set("DEDATAVIEW9-STYLE2",AppStyle2DataViewLayout);
this.layoutMap.set("DEEDITVIEW9-STYLE2", AppStyle2EditViewLayout);
this.layoutMap.set("DEGRIDVIEW9-STYLE2", AppStyle2GridViewLayout);
this.layoutMap.set("DEPORTALVIEW9-STYLE2", AppStyle2DePortalViewLayout);
this.layoutMap.set("DELISTVIEW9-STYLE2", AppStyle2ListViewLayout);
this.layoutMap.set("DECHARTVIEW9-STYLE2", AppStyle2ChartViewLayout);
this.layoutMap.set("DEDATAVIEW9-STYLE2",AppStyle2DataViewLayout);
// STYLE3视图布局
// this.layoutMap.set("APPINDEXVIEW-STYLE3", AppStyle3IndexViewLayout);
this.layoutMap.set("APPINDEXVIEW-STYLE3", AppStyle3IndexViewLayout);
// STYLE4视图布局
// this.layoutMap.set("APPINDEXVIEW-STYLE4", AppStyle4IndexViewLayout);
// this.layoutMap.set("APPPORTALVIEW-STYLE4", AppStyle4PortalViewLayout);
// this.layoutMap.set("DEPORTALVIEW-STYLE4", AppStyle4DePortalViewLayout);
this.layoutMap.set("APPINDEXVIEW-STYLE4", AppStyle4IndexViewLayout);
this.layoutMap.set("APPPORTALVIEW-STYLE4", AppStyle4PortalViewLayout);
this.layoutMap.set("DEPORTALVIEW-STYLE4", AppStyle4DePortalViewLayout);
}
/**
......
......@@ -335,8 +335,8 @@ export default class AppCustomTheme extends Vue {
private getVars(): any {
const select = this.defaultThemes.find((item: any) => item.codeName === this.selectTheme);
const vars = {
// "@primary": select.color,
// "@font-family": this.selectFont
"@primary": select.color,
"@font-family": this.selectFont
};
if (this.themeOptions && Object.keys(this.themeOptions).length > 0) {
Object.keys(this.themeOptions).forEach((key: string) => {
......
......@@ -378,7 +378,8 @@ export default class AppFormItem extends Vue {
* @memberof AppFormItem
*/
public getShowTip(){
if(this.caption && ((this.caption.length)*14) > this.labelWidth ){
const labelElement: any = this.$el.getElementsByClassName('app-form-item__label')[0];
if(this.caption && labelElement && labelElement.scrollWidth > labelElement.offsetWidth){
this.isShowTip = true;
}
}
......
......@@ -31,7 +31,7 @@ export class AppContent extends Vue {
* @memberof AppContent
*/
protected created(): void {
if (this.$slots.content_bottom) {
if (this.$slots.app_content_bottom) {
this.$footerRenderService.registerRightItem(() => {
return (
<div
......@@ -93,19 +93,19 @@ export class AppContent extends Vue {
slot={isSlot ? 'right' : null}
class={{
'app-content-right': true,
'hidden-bottom': !this.$uiState.layoutState.contentBottomShow || !this.$slots.content_bottom,
'hidden-bottom': !this.$uiState.layoutState.contentBottomShow || !this.$slots.app_content_bottom,
}}
>
<split mode="vertical" v-model={this.$uiState.layoutState.contentVerticalSplit} max={0.1}>
<div slot="top" class="app-content-exp">
{this.$slots.default}
</div>
{this.$slots.content_bottom ? (
{this.$slots.app_content_bottom ? (
<div slot="bottom" class="app-content-bottom">
<div class="app-content-bottom-close" on-click={() => this.changeBottom(false)}>
<icon type="ios-arrow-down" />
</div>
{this.$slots.content_bottom}
{this.$slots.app_content_bottom}
</div>
) : null}
</split>
......@@ -122,9 +122,9 @@ export class AppContent extends Vue {
public render(): VNode {
let content: any = null;
if (this.$uiState.layoutState.styleMode === 'STYLE2') {
content = [<div class="app-content-nav">{this.$slots.content_left}</div>, this.renderContent(false)];
content = [<div class="app-content-nav">{this.$slots.app_content_left}</div>, this.renderContent(false)];
} else {
content = this.$slots.content_left ? (
content = this.$slots.app_content_left ? (
<split
class={{ 'app-content-split': true, 'hidden-left': !this.$uiState.layoutState.leftExpContentShow }}
v-model={this.$uiState.layoutState.contentHorizontalSplit}
......@@ -132,7 +132,7 @@ export class AppContent extends Vue {
max={0.5}
>
<div slot="left" class="app-content-left">
{this.$slots.content_left}
{this.$slots.app_content_left}
</div>
{this.renderContent(true)}
</split>
......
......@@ -18,15 +18,15 @@ export class AppHeader extends Vue {
*/
public render(h: any): VNode {
return (
<div class="app-header">
<div class="app-style2-header">
<div class="app-header-left">
{this.$slots.header_left}
{Object.is(this.$uiState.layoutState.styleMode, 'STYLE2') ? (
<app-breadcrumb></app-breadcrumb>
) : null}
</div>
<div class="app-header-center">{this.$slots.header_content}</div>
<div class="app-header-right">{this.$slots.header_right}</div>
<div class="app-header-center">{this.$slots.app_header_content}</div>
<div class="app-header-right">{this.$slots.app_header_right}</div>
</div>
);
}
......
......@@ -26,10 +26,10 @@ export class AppLayout extends Vue {
this.$uiState.layoutState.styleMode !== 'DEFAULT',
}}
>
<div class="app-layout-header-warp">{this.$slots.header}</div>
<div class="app-layout-header-warp">{this.$slots.app_layout_header}</div>
<div class="app-layout-content-warp">{this.$slots.default}</div>
<div class="app-layout-footer-warp">
{this.$slots.footer}
{this.$slots.app_layout_footer}
</div>
</div>
);
......
......@@ -26,12 +26,10 @@
class="tag-caption-content"
>
<i
v-if="
item.meta.iconCls && !Object.is(item.meta.iconCls, '')
"
:class="item.meta.iconCls"
v-if="item.meta.iconCls && !Object.is(item.meta.iconCls, '')"
:class="{[item.meta.iconCls]:true,'tag-caption-content__text-icon':true}"
></i>
<img v-else :src="item.meta.imgPath" class="text-icon" />
<img v-else :src="item.meta.imgPath" class="tag-caption-content__text-image" />
&nbsp;{{ translate(item) }}
</div>
</div>
......
......@@ -187,55 +187,55 @@ import { AppDefaultDeReportView } from './view/app-default-view/app-default-dere
import { AppDefaultMapExpView } from './view/app-default-view/app-default-mapexpview';
import { AppDefaultDePanelView } from './view/app-default-view/app-default-depanelview';
import { AppDefaultDeIndexView } from './view/app-default-view/app-default-deindexview';
// import { AppStyle2IndexView } from './view/app-style2-view/app-style2-indexview';
// import { AppStyle2EditView } from './view/app-style2-view/app-style2-editview';
// import { AppStyle2EditView2 } from './view/app-style2-view/app-style2-editview2';
// import { AppStyle2EditView3 } from './view/app-style2-view/app-style2-editview3';
// import { AppStyle2EditView4 } from './view/app-style2-view/app-style2-editview4';
// import { AppStyle2ListView } from './view/app-style2-view/app-style2-listview';
// import { AppStyle2GridView } from './view/app-style2-view/app-style2-gridview';
// import { AppStyle2ChartView } from './view/app-style2-view/app-style2-chartview';
// import { AppStyle2ChartExpView } from './view/app-style2-view/app-style2-chartexpview';
// import { AppStyle2KanbanView } from './view/app-style2-view/app-style2-kanbanview';
// import { AppStyle2CalendarView } from './view/app-style2-view/app-style2-calendarview';
// import { AppStyle2DataViewView } from './view/app-style2-view/app-style2-dataview';
// import { AppStyle2DePortalView } from './view/app-style2-view/app-style2-deportalview';
// import { AppStyle2PortalView } from './view/app-style2-view/app-style2-portalview';
// import { AppStyle2TabExpView } from './view/app-style2-view/app-style2-tabexpview';
// import { AppStyle2TabSearchView } from './view/app-style2-view/app-style2-tabsearchview';
// import { AppStyle2MEditView } from './view/app-style2-view/app-style2-meditview';
// import { AppStyle2GanttView } from './view/app-style2-view/app-style2-ganttview';
// import { AppStyle2TreeView } from './view/app-style2-view/app-style2-treeview';
// import { AppStyle2TreeGridExView } from './view/app-style2-view/app-style2-treegridexview';
// import { AppStyle2ListExpView } from './view/app-style2-view/app-style2-listexpview';
// import { AppStyle2GridExpView } from './view/app-style2-view/app-style2-gridexpview';
// import { AppStyle2WfDynaExpGridView } from './view/app-style2-view/app-style2-wfdynaexpgridview';
// import { AppStyle2DataViewExpView } from './view/app-style2-view/app-style2-dataviewexpview';
// import { AppStyle2CalendarExpView } from './view/app-style2-view/app-style2-calendarexpview';
// import { AppStyle2PickupGridView } from './view/app-style2-view/app-style2-pickupgridview';
// import { AppStyle2MPickUpView } from './view/app-style2-view/app-style2-mpickupview';
// import { AppStyle2PickupView } from './view/app-style2-view/app-style2-pickupview';
// import { AppStyle2TreeExpView } from './view/app-style2-view/app-style2-treeexpview';
// import { AppStyle2PickupTreeView } from './view/app-style2-view/app-style2-pickuptreeview';
// import { AppStyle2CustomView } from './view/app-style2-view/app-style2-customview';
// import { AppStyle2OptView } from './view/app-style2-view/app-style2-optview';
// import { AppStyle2WFDynaEditView } from './view/app-style2-view/app-style2-wfdynaeditview';
// import { AppStyle2WFDynaActionView } from './view/app-style2-view/app-style2-wfdynaactionview';
// import { AppStyle2HtmlView } from './view/app-style2-view/app-style2-htmlview';
// import { AppStyle2FormPickupDataView } from './view/app-style2-view/app-style2-formpickupdataview';
// import { AppStyle2IndexPickupDataView } from './view/app-style2-view/app-style2-indexpickupdataview';
// import { AppStyle2WFDynaStartView } from './view/app-style2-view/app-style2-wfdynastartview';
// import { AppStyle2WizardView } from './view/app-style2-view/app-style2-wizardview';
// import { AppStyle2WFActionView } from './view/app-style2-view/app-style2-wfactionview';
// import { AppStyle2DeRedirectView } from './view/app-style2-view/app-style2-deredirectview';
// import { AppStyle2WfStepTraceView } from './view/app-style2-view/app-style2-wfsteptraceview';
// import { AppStyle2WFDynaEditView3 } from './view/app-style2-view/app-style2-wfdynaeditview3';
// import { AppStyle2DeReportView } from './view/app-style2-view/app-style2-dereportview';
// import { AppStyle2DePanelView } from './view/app-style2-view/app-style2-depanelview';
// import { AppStyle2MapExpView } from './view/app-style2-view/app-style2-mapexpview';
// import { AppStyle2MapView } from './view/app-style2-view/app-style2-mapview';
// import { AppStyle4PortalView } from './view/app-style4-view/app-style4-portalview';
// import { AppStyle4DePortalView } from './view/app-style4-view/app-style4-deportalview';
import { AppStyle2IndexView } from './view/app-style2-view/app-style2-indexview';
import { AppStyle2EditView } from './view/app-style2-view/app-style2-editview';
import { AppStyle2EditView2 } from './view/app-style2-view/app-style2-editview2';
import { AppStyle2EditView3 } from './view/app-style2-view/app-style2-editview3';
import { AppStyle2EditView4 } from './view/app-style2-view/app-style2-editview4';
import { AppStyle2ListView } from './view/app-style2-view/app-style2-listview';
import { AppStyle2GridView } from './view/app-style2-view/app-style2-gridview';
import { AppStyle2ChartView } from './view/app-style2-view/app-style2-chartview';
import { AppStyle2ChartExpView } from './view/app-style2-view/app-style2-chartexpview';
import { AppStyle2KanbanView } from './view/app-style2-view/app-style2-kanbanview';
import { AppStyle2CalendarView } from './view/app-style2-view/app-style2-calendarview';
import { AppStyle2DataViewView } from './view/app-style2-view/app-style2-dataview';
import { AppStyle2DePortalView } from './view/app-style2-view/app-style2-deportalview';
import { AppStyle2PortalView } from './view/app-style2-view/app-style2-portalview';
import { AppStyle2TabExpView } from './view/app-style2-view/app-style2-tabexpview';
import { AppStyle2TabSearchView } from './view/app-style2-view/app-style2-tabsearchview';
import { AppStyle2MEditView } from './view/app-style2-view/app-style2-meditview';
import { AppStyle2GanttView } from './view/app-style2-view/app-style2-ganttview';
import { AppStyle2TreeView } from './view/app-style2-view/app-style2-treeview';
import { AppStyle2TreeGridExView } from './view/app-style2-view/app-style2-treegridexview';
import { AppStyle2ListExpView } from './view/app-style2-view/app-style2-listexpview';
import { AppStyle2GridExpView } from './view/app-style2-view/app-style2-gridexpview';
import { AppStyle2WfDynaExpGridView } from './view/app-style2-view/app-style2-wfdynaexpgridview';
import { AppStyle2DataViewExpView } from './view/app-style2-view/app-style2-dataviewexpview';
import { AppStyle2CalendarExpView } from './view/app-style2-view/app-style2-calendarexpview';
import { AppStyle2PickupGridView } from './view/app-style2-view/app-style2-pickupgridview';
import { AppStyle2MPickUpView } from './view/app-style2-view/app-style2-mpickupview';
import { AppStyle2PickupView } from './view/app-style2-view/app-style2-pickupview';
import { AppStyle2TreeExpView } from './view/app-style2-view/app-style2-treeexpview';
import { AppStyle2PickupTreeView } from './view/app-style2-view/app-style2-pickuptreeview';
import { AppStyle2CustomView } from './view/app-style2-view/app-style2-customview';
import { AppStyle2OptView } from './view/app-style2-view/app-style2-optview';
import { AppStyle2WFDynaEditView } from './view/app-style2-view/app-style2-wfdynaeditview';
import { AppStyle2WFDynaActionView } from './view/app-style2-view/app-style2-wfdynaactionview';
import { AppStyle2HtmlView } from './view/app-style2-view/app-style2-htmlview';
import { AppStyle2FormPickupDataView } from './view/app-style2-view/app-style2-formpickupdataview';
import { AppStyle2IndexPickupDataView } from './view/app-style2-view/app-style2-indexpickupdataview';
import { AppStyle2WFDynaStartView } from './view/app-style2-view/app-style2-wfdynastartview';
import { AppStyle2WizardView } from './view/app-style2-view/app-style2-wizardview';
import { AppStyle2WFActionView } from './view/app-style2-view/app-style2-wfactionview';
import { AppStyle2DeRedirectView } from './view/app-style2-view/app-style2-deredirectview';
import { AppStyle2WfStepTraceView } from './view/app-style2-view/app-style2-wfsteptraceview';
import { AppStyle2WFDynaEditView3 } from './view/app-style2-view/app-style2-wfdynaeditview3';
import { AppStyle2DeReportView } from './view/app-style2-view/app-style2-dereportview';
import { AppStyle2DePanelView } from './view/app-style2-view/app-style2-depanelview';
import { AppStyle2MapExpView } from './view/app-style2-view/app-style2-mapexpview';
import { AppStyle2MapView } from './view/app-style2-view/app-style2-mapview';
import { AppStyle4PortalView } from './view/app-style4-view/app-style4-portalview';
import { AppStyle4DePortalView } from './view/app-style4-view/app-style4-deportalview';
// 部件组件
import { ViewToolbar } from './control/view-toolbar/view-toolbar';
import { AppDefaultGrid } from './control/app-default-grid/app-default-grid';
......@@ -475,55 +475,55 @@ export const ComponentsRegister = {
v.component('app-default-mapexpview', AppDefaultMapExpView);
v.component('app-default-depanelview', AppDefaultDePanelView);
v.component('app-default-deindexview', AppDefaultDeIndexView);
// v.component('app-style2-indexview', AppStyle2IndexView);
// v.component('app-style2-editview', AppStyle2EditView);
// v.component('app-style2-editview2', AppStyle2EditView2);
// v.component('app-style2-editview3', AppStyle2EditView3);
// v.component('app-style2-editview4', AppStyle2EditView4);
// v.component('app-style2-listview', AppStyle2ListView);
// v.component('app-style2-gridview', AppStyle2GridView);
// v.component('app-style2-chartview', AppStyle2ChartView);
// v.component('app-style2-chartexpview', AppStyle2ChartExpView);
// v.component('app-style2-kanbanview', AppStyle2KanbanView);
// v.component('app-style2-calendarview', AppStyle2CalendarView);
// v.component('app-style2-dataviewview', AppStyle2DataViewView);
// v.component('app-style2-deportalview', AppStyle2DePortalView);
// v.component('app-style2-portalview', AppStyle2PortalView);
// v.component('app-style2-tabexpview', AppStyle2TabExpView);
// v.component('app-style2-tabsearchview', AppStyle2TabSearchView);
// v.component('app-style2-meditview', AppStyle2MEditView);
// v.component('app-style2-ganttview', AppStyle2GanttView);
// v.component('app-style2-treeview', AppStyle2TreeView);
// v.component('app-style2-treegridexview', AppStyle2TreeGridExView);
// v.component('app-style2-listexpview', AppStyle2ListExpView);
// v.component('app-style2-gridexpview', AppStyle2GridExpView);
// v.component('app-style2-wfdynaexpgridview', AppStyle2WfDynaExpGridView);
// v.component('app-style2-dataviewexpview', AppStyle2DataViewExpView);
// v.component('app-style2-calendarexpview', AppStyle2CalendarExpView);
// v.component('app-style2-pickupgridview', AppStyle2PickupGridView);
// v.component('app-style2-pickupview', AppStyle2PickupView);
// v.component('app-style2-mpickupview', AppStyle2MPickUpView);
// v.component('app-style2-treeexpview', AppStyle2TreeExpView);
// v.component('app-style2-pickuptreeview', AppStyle2PickupTreeView);
// v.component('app-style2-customview', AppStyle2CustomView);
// v.component('app-style2-optview', AppStyle2OptView);
// v.component('app-style2-wfdynaactionview', AppStyle2WFDynaActionView);
// v.component('app-style2-wfdynaeditview', AppStyle2WFDynaEditView);
// v.component('app-style2-htmlview', AppStyle2HtmlView);
// v.component('app-style2-formpickupdataview', AppStyle2FormPickupDataView);
// v.component('app-style2-indexpickupdataview', AppStyle2IndexPickupDataView);
// v.component('app-style2-wfdynastartview', AppStyle2WFDynaStartView);
// v.component('app-style2-wizardview', AppStyle2WizardView);
// v.component('app-style2-wfactionview', AppStyle2WFActionView);
// v.component("app-style2-deredirectview", AppStyle2DeRedirectView);
// v.component("app-style2-wfsteptraceview", AppStyle2WfStepTraceView);
// v.component('app-style2-wfdynaeditview3', AppStyle2WFDynaEditView3);
// v.component('app-style2-dereportview', AppStyle2DeReportView);
// v.component('app-style2-mapexpview', AppStyle2MapExpView);
// v.component('app-style2-depanelview', AppStyle2DePanelView);
// v.component('app-style2-mapview', AppStyle2MapView);
// v.component('app-style4-portalview', AppStyle4PortalView);
// v.component('app-style4-deportalview', AppStyle4DePortalView);
v.component('app-style2-indexview', AppStyle2IndexView);
v.component('app-style2-editview', AppStyle2EditView);
v.component('app-style2-editview2', AppStyle2EditView2);
v.component('app-style2-editview3', AppStyle2EditView3);
v.component('app-style2-editview4', AppStyle2EditView4);
v.component('app-style2-listview', AppStyle2ListView);
v.component('app-style2-gridview', AppStyle2GridView);
v.component('app-style2-chartview', AppStyle2ChartView);
v.component('app-style2-chartexpview', AppStyle2ChartExpView);
v.component('app-style2-kanbanview', AppStyle2KanbanView);
v.component('app-style2-calendarview', AppStyle2CalendarView);
v.component('app-style2-dataviewview', AppStyle2DataViewView);
v.component('app-style2-deportalview', AppStyle2DePortalView);
v.component('app-style2-portalview', AppStyle2PortalView);
v.component('app-style2-tabexpview', AppStyle2TabExpView);
v.component('app-style2-tabsearchview', AppStyle2TabSearchView);
v.component('app-style2-meditview', AppStyle2MEditView);
v.component('app-style2-ganttview', AppStyle2GanttView);
v.component('app-style2-treeview', AppStyle2TreeView);
v.component('app-style2-treegridexview', AppStyle2TreeGridExView);
v.component('app-style2-listexpview', AppStyle2ListExpView);
v.component('app-style2-gridexpview', AppStyle2GridExpView);
v.component('app-style2-wfdynaexpgridview', AppStyle2WfDynaExpGridView);
v.component('app-style2-dataviewexpview', AppStyle2DataViewExpView);
v.component('app-style2-calendarexpview', AppStyle2CalendarExpView);
v.component('app-style2-pickupgridview', AppStyle2PickupGridView);
v.component('app-style2-pickupview', AppStyle2PickupView);
v.component('app-style2-mpickupview', AppStyle2MPickUpView);
v.component('app-style2-treeexpview', AppStyle2TreeExpView);
v.component('app-style2-pickuptreeview', AppStyle2PickupTreeView);
v.component('app-style2-customview', AppStyle2CustomView);
v.component('app-style2-optview', AppStyle2OptView);
v.component('app-style2-wfdynaactionview', AppStyle2WFDynaActionView);
v.component('app-style2-wfdynaeditview', AppStyle2WFDynaEditView);
v.component('app-style2-htmlview', AppStyle2HtmlView);
v.component('app-style2-formpickupdataview', AppStyle2FormPickupDataView);
v.component('app-style2-indexpickupdataview', AppStyle2IndexPickupDataView);
v.component('app-style2-wfdynastartview', AppStyle2WFDynaStartView);
v.component('app-style2-wizardview', AppStyle2WizardView);
v.component('app-style2-wfactionview', AppStyle2WFActionView);
v.component("app-style2-deredirectview", AppStyle2DeRedirectView);
v.component("app-style2-wfsteptraceview", AppStyle2WfStepTraceView);
v.component('app-style2-wfdynaeditview3', AppStyle2WFDynaEditView3);
v.component('app-style2-dereportview', AppStyle2DeReportView);
v.component('app-style2-mapexpview', AppStyle2MapExpView);
v.component('app-style2-depanelview', AppStyle2DePanelView);
v.component('app-style2-mapview', AppStyle2MapView);
v.component('app-style4-portalview', AppStyle4PortalView);
v.component('app-style4-deportalview', AppStyle4DePortalView);
// 部件组件
v.component('app-default-form', AppDefaultForm);
v.component('app-default-searchform', AppDefaultSearchForm);
......
......@@ -150,18 +150,18 @@ export class AppStyle2IndexViewLayout extends AppStyle2DefaultLayout {
}
return (
<app-layout ref="appLayout" style={{ 'font-family': this.selectFont }} class={viewClassNames}>
<template slot="header">
<template slot="app_layout_header">
<app-header>
<template slot="header_left">
<div class="title">
{this.viewInstance.enableAppSwitch ? <span class="menuicon" style="cursor: pointer;" on-click={() => this.contextMenuDragVisiable = !this.contextMenuDragVisiable}><icon type="md-menu" />&nbsp;</span> : null}
<template slot="app_header_left">
<div class="tapp_header_caption">
{this.viewInstance.enableAppSwitch ? <span class="app-header__caption__menuicon" on-click={() => this.contextMenuDragVisiable = !this.contextMenuDragVisiable}><icon type="md-menu" />&nbsp;</span> : null}
{this.showCaption ? this.model.srfCaption : null}
</div>
</template>
<template slot="header_right">
<template slot="app_header_right">
{this.$slots.headerMenus}
{this.$topRenderService.rightItemsRenders.map((fun: any) => fun(h))}
<app-lang title={this.model.srfTitle || this.model.srfCaption} style='font-size: 15px;padding: 0 10px;'></app-lang>
<app-lang title={this.model.srfTitle || this.model.srfCaption}></app-lang>
{<app-orgsector />}
{<app-user viewStyle={this.viewInstance.viewStyle} />}
{/* {<app-custom-theme viewStyle={this.viewInstance.viewStyle}></app-custom-theme>} */}
......@@ -172,7 +172,7 @@ export class AppStyle2IndexViewLayout extends AppStyle2DefaultLayout {
</template>
<app-content>
{leftContent ?
<template slot="content_left">
<template slot="app_content_left">
{leftContent}
</template> : null}
{styleMode === 'DEFAULT' ? this.$slots.tabPageExp : null}
......@@ -182,11 +182,11 @@ export class AppStyle2IndexViewLayout extends AppStyle2DefaultLayout {
</app-keep-alive>
</div>
{this.$slots.bootomExp ?
<template slot="content_bottom">
<template slot="app_content_bottom">
{this.$slots.bootomExp}
</template> : null}
</app-content>
<template slot="footer">
<template slot="app_layout_footer">
{ this.viewInstance.defaultPage
? <app-footer v-notification-signal={this.appLoadingService.isLoading} ref="footer" />
: <app-footer ref="footer" />
......
.app-header-right-menus {
display: flex;
margin-right: 200px;
> .ivu-menu.ivu-menu-horizontal {
height: 35px;
......
.app-style2-header {
display: flex;
justify-content: space-between;
height: 100%;
box-shadow: 1px 0 6px 0 rgba(39, 54, 78, 0.12);
padding: 0px 6px;
> .app-header-left {
.app-header__caption {
font-size: 18px;
font-weight: 700;
}
.app-header__caption__menuicon{
cursor: pointer;
}
}
> .app-header-left,
> .app-header-center,
> .app-header-right {
display: flex;
align-items: center;
.app-header-menus{
margin-right: 100px;
}
}
}
......@@ -119,3 +119,4 @@
@import "./context-menu-drag.less";
@import "./app-studioaction.less";
@import "./disk-image-upload.less";
@import "./app-header.less";
\ No newline at end of file
.view-style2{
.view-style2 {
.ibiz-page-tag {
position: relative;
box-sizing: border-box;
height: 34px;
padding: 0 60px 0 30px;
margin: 0;
}
.ibiz-page-tag__body {
position: relative;
width: 100%;
......@@ -17,27 +19,28 @@
visibility: initial;
}
}
span {
.ivu-tag:last-child {
border-right: none;
}
}
}
}
.move-btn {
font-size: 18px;
width: 30px;
height: 34px;
line-height: 34px;
text-align: center;
cursor: pointer;
border-right: none;
}
.move-btn:hover {
background: #efefef;
}
.ibiz-page-tag__left,
.ibiz-page-tag__right,
.ivu-dropdown {
......@@ -56,9 +59,8 @@
.ivu-dropdown {
right: 0;
}
}
.ibiz-page-tag__body__tags {
.ibiz-page-tag__body__tags {
position: absolute;
overflow: visible;
white-space: nowrap;
......@@ -71,22 +73,13 @@
border: 0;
border-radius: 0;
font-size: 14px;
.ivu-tag-text {
> i::before {
vertical-align: initial;
}
}
.text-icon {
height: 16px;
margin-bottom: -3px;
}
.ivu-icon-ios-close {
visibility: hidden;
}
.tag-caption-content__text-icon::before {
vertical-align: initial;
}
.tags-transition-move {
......@@ -97,14 +90,20 @@
.tags-transition-leave-to {
opacity: 0;
}
}
.body__tags__tag-text {
.tag-caption-content__text-image {
height: 16px;
margin-bottom: -3px;
}
}
.body__tags__tag-text {
cursor: pointer;
display: table-cell;
.ivu-tooltip {
display: block;
}
.ivu-tooltip-rel {
display: block;
......@@ -112,7 +111,6 @@
overflow: hidden;
text-overflow: ellipsis;
}
}
.tag-caption-content {
max-width: 250px;
......@@ -120,6 +118,7 @@
white-space: nowrap;
overflow: hidden;
}
}
}
.app-theme-default {
......
......@@ -63,3 +63,28 @@
}
}
}
.view-style2.appindexview{
.app-header{
.app-header-left,.app-header-center,.app-header-right{
flex-grow: 1;
display: flex;
}
.app-header-right{
justify-content: end;
}
.ivu-dropdown{
position: static;
display: inline-block;
font-size: 15px;
padding: 0px 10px
}
}
.app-lang{
font-size: 15px;
padding: 0 10px;
}
.ivu-split-pane{
height: 100%;
}
}
\ No newline at end of file
......@@ -2195,3 +2195,9 @@ body {
color: @color-primary-base;
}
}
.view-style2{
.app-footer{
background-color: @color-primary-base;
}
}
\ No newline at end of file
......@@ -21,6 +21,7 @@
var baseUrl = getUrlParam('baseUrl');
var redirectUrl = getUrlParam('redirect_uri');
var client_id = getUrlParam('client_id');
var redirect_state = getUrlParam('redirect_state');
if (code && id && state) {
// 通过授权code请求后台
$.ajax({
......@@ -53,7 +54,7 @@
'Authorization':`Bearer ${data.token}`
},
success: function (data) {
window.location.href = redirectUrl + '?code=' + data;
window.location.href = redirectUrl + '?code=' + data + '&state=' + redirect_state;
}
})
}else{
......
......@@ -21,6 +21,7 @@
var baseUrl = getUrlParam('baseUrl');
var redirectUrl = getUrlParam('redirect_uri');
var client_id = getUrlParam('client_id');
var redirect_state = getUrlParam('redirect_state');
if (code && id && state) {
// 通过授权code请求后台
$.ajax({
......@@ -53,7 +54,7 @@
'Authorization':`Bearer ${data.token}`
},
success: function (data) {
window.location.href = redirectUrl + '?code=' + data;
window.location.href = redirectUrl + '?code=' + data + '&state=' + redirect_state;
}
})
}else{
......
......@@ -215,7 +215,7 @@ export default class Login extends Vue {
* @memberof Login
*/
public created() {
this.curRouteParams = this.getRouteParams(window.location.href);
this.curRouteParams = Util.getRouteParams(window.location.href);
this.unifiedLogin();
this.setRules();
this.initLoginView().then((result: boolean) => {
......@@ -247,12 +247,19 @@ export default class Login extends Vue {
// 已经登录
if (token) {
this.isThridLink = true;
// 系统ID
let srfdcsystem: string = '';
const tempViewParam = ViewTool.getDcSystemIdViewParam();
if (tempViewParam && tempViewParam.srfdcsystem) {
srfdcsystem = tempViewParam.srfdcsystem;
}
const response = await Http.getInstance().get('/uaa/oauth/code', { 'client_id': this.curRouteParams.client_id }, false, {
'Authorization': `Bearer ${token}`,
'srfsystemid': srfdcsystem
});
const { status, data } = response;
if (status == 200) {
window.location.href = `${this.curRouteParams.redirect_uri}?code=${data}`;
window.location.href = `${this.curRouteParams.redirect_uri}?code=${data}&state=${this.curRouteParams.state}`;
} else {
this.$throw(this.$t('components.login.loginfailed') as string, 'loginInit');
}
......@@ -384,7 +391,7 @@ export default class Login extends Vue {
}).then((response: any) => {
const { status, data } = response;
if (status == 200) {
window.location.href = `${this.curRouteParams.redirect_uri}?code=${data}`;
window.location.href = `${this.curRouteParams.redirect_uri}?code=${data}&state=${this.curRouteParams.state}`;
} else {
this.$throw(this.$t('components.login.loginfailed') as string, 'loginInit');
}
......@@ -492,6 +499,12 @@ export default class Login extends Vue {
console.error('未传入客户端ID');
this.$throw(this.$t('components.login.loginfailed') as string, 'dingtalkHandleClick');
}
if (this.curRouteParams.state) {
redirect_uri += `&redirect_state=${this.curRouteParams.state}`;
} else {
console.error('未传入state');
this.$throw(this.$t('components.login.loginfailed') as string, 'dingtalkHandleClick');
}
const redirect_uri_encode = encodeURIComponent(redirect_uri);
// 3.钉钉扫码url
const url =
......@@ -545,6 +558,12 @@ export default class Login extends Vue {
console.error('未传入客户端ID');
this.$throw(this.$t('components.login.loginfailed') as string, 'wxWorkHandleClick');
}
if (this.curRouteParams.state) {
redirect_uri += `&redirect_state=${this.curRouteParams.state}`;
} else {
console.error('未传入state');
this.$throw(this.$t('components.login.loginfailed') as string, 'wxWorkHandleClick');
}
const redirect_uri_encode = encodeURIComponent(redirect_uri);
// 3.钉钉扫码url
const url =
......@@ -648,25 +667,6 @@ export default class Login extends Vue {
return baseUrl;
}
/**
* 获取路由参数
*
* @param path
* @memberof Login
*/
private getRouteParams(path: string) {
const returnParams = {};
const tempPath: any = path.slice(path.indexOf('?') + 1);
const pathArray: Array<string> = tempPath.split('&');
if (pathArray && pathArray.length > 0) {
pathArray.forEach((item: any) => {
if (item && item.indexOf('=') !== -1) {
Object.assign(returnParams, qs.parse(item));
}
});
}
return returnParams;
}
}
</script>
......
import qs from 'qs';
import { GlobalHelp, IPSAppView } from '@ibiz/dynamic-model-api';
import { clearCookie, getCookie, SyncSeriesHook } from 'qx-util';
import { AppServiceBase, Http, getSessionStorage, setSessionStorage, AppModelService, Util, GetModelService, ViewTool, LogUtil } from 'ibiz-core';
import { AppServiceBase, Http, getSessionStorage, setSessionStorage, AppModelService, Util, GetModelService, ViewTool, LogUtil, IParams } from 'ibiz-core';
import { AppCenterService, AppNoticeService, AppViewLogicService, NoticeHandler } from 'ibiz-vue';
import { Environment } from '@/environments/environment';
import i18n from '@/locale';
......@@ -73,6 +73,11 @@ export class AuthGuard {
*/
authGuard(url: string, params: any = {}, router: any): any {
return new Promise((resolve: any, reject: any) => {
const routeParams: IParams = Util.getRouteParams(window.location.href);
if (routeParams && routeParams.redirect_uri) {
router.push({ name: 'login' });
resolve(false);
} else {
const Environment = AppServiceBase.getInstance().getAppEnvironment();
if (Environment && Environment.SaaSMode) {
if (getSessionStorage('activeOrgData')) {
......@@ -95,6 +100,7 @@ export class AuthGuard {
result ? resolve(true) : reject(false);
});
}
}
});
}
......@@ -249,7 +255,7 @@ export class AuthGuard {
*/
public async initAppStyle(cssUrl: string) {
const cssContent = await this.loadAppStyle(cssUrl);
if(!cssContent){
if (!cssContent) {
LogUtil.warn("暂无应用样式表");
return;
}
......@@ -294,8 +300,8 @@ export class AuthGuard {
*
* @param cssContent
*/
public mountedAppStyle(cssContent:string){
let appStyleDom:any;
public mountedAppStyle(cssContent: string) {
let appStyleDom: any;
for (let i = document.head.childNodes.length - 1; i >= 0; i--) {
const children: any = document.head.childNodes[i]
if (children.nodeName == "STYLE" && children.getAttribute('title') && children.getAttribute('title') == 'app-style-css') {
......@@ -461,4 +467,6 @@ export class AuthGuard {
store.commit('addAppData', {});
store.dispatch('authresource/commitAuthData', {});
}
}
\ No newline at end of file
......@@ -2,7 +2,7 @@ import { Store } from 'vuex';
import Router from 'vue-router';
import i18n from '@/locale';
import { Environment } from '@/environments/environment';
import { Http, getSessionStorage } from 'ibiz-core';
import { Http, getSessionStorage, Util, IParams } from 'ibiz-core';
import { AppAuthService, AppLoadingService } from 'ibiz-vue';
import { clearCookie, getCookie, notNilEmpty, SyncSeriesHook } from 'qx-util';
import { MicroAppService } from '@/micro';
......@@ -101,8 +101,10 @@ export class Interceptors {
if (Environment.SaaSMode) {
let activeOrgData = getSessionStorage('activeOrgData');
config.headers['srforgid'] = activeOrgData?.orgid;
if (!config.headers['srfsystemid']) {
config.headers['srfsystemid'] = activeOrgData?.systemid;
}
}
if (getCookie('ibzuaa-token')) {
config.headers['Authorization'] = `Bearer ${getCookie('ibzuaa-token')}`;
} else {
......@@ -208,6 +210,10 @@ export class Interceptors {
this.clearAppData();
if (MicroAppService.getInstance().getIsMicroApp()) {
MicroAppService.getInstance().noticeBaseApp({ action: 'LOGOUT' })
} else {
const routeParams: IParams = Util.getRouteParams(window.location.href);
if (routeParams && routeParams.redirect_uri) {
this.router.push({ name: 'login' });
} else {
if ((Environment as any).casLoginUrl) {
let pathname = location.pathname;
......@@ -229,6 +235,7 @@ export class Interceptors {
}
}
}
}
/**
* 清除应用数据
......@@ -239,7 +246,7 @@ export class Interceptors {
private clearAppData() {
// 清除user、token
clearCookie('ibzuaa-token', true);
clearCookie('ibzuaa-expired',true);
clearCookie('ibzuaa-expired', true);
clearCookie('ibzuaa-user', true);
// 清除应用级数据
localStorage.removeItem('localdata')
......
......@@ -104,66 +104,66 @@ export class AppComponentService {
this.viewMap.set("DEPANELVIEW_DEFAULT", 'app-default-depanelview');
this.viewMap.set("DEINDEXVIEW_DEFAULT", 'app-default-deindexview');
// STYLE2 样式
// this.viewMap.set("APPINDEXVIEW_STYLE2", 'app-style2-indexview');
// this.viewMap.set("DEEDITVIEW_STYLE2", 'app-style2-editview');
// this.viewMap.set("DEEDITVIEW2_STYLE2", 'app-style2-editview2');
// this.viewMap.set("DEEDITVIEW3_STYLE2", 'app-style2-editview3');
// this.viewMap.set("DEEDITVIEW4_STYLE2", 'app-style2-editview4');
// this.viewMap.set("DEGRIDVIEW_STYLE2", 'app-style2-gridview');
// this.viewMap.set("DELISTVIEW_STYLE2", 'app-style2-listview');
// this.viewMap.set("DECHARTVIEW_STYLE2", 'app-style2-chartview');
// this.viewMap.set("DECHARTEXPVIEW_STYLE2", 'app-style2-chartexpview');
// this.viewMap.set("DEDATAVIEW_STYLE2", 'app-style2-dataviewview');
// this.viewMap.set("DECALENDARVIEW_STYLE2", 'app-style2-calendarview');
// this.viewMap.set("DEKANBANVIEW_STYLE2", 'app-style2-kanbanview');
// this.viewMap.set("DEPORTALVIEW_STYLE2", 'app-style2-deportalview');
// this.viewMap.set("DETABEXPVIEW_STYLE2", 'app-style2-tabexpview');
// this.viewMap.set("DETABSEARCHVIEW_STYLE2", 'app-style2-tabsearchview');
// this.viewMap.set("DEMEDITVIEW9_STYLE2", 'app-style2-meditview');
// this.viewMap.set("DEGANTTVIEW_STYLE2", 'app-style2-ganttview');
// this.viewMap.set("DETREEVIEW_STYLE2", 'app-style2-treeview');
// this.viewMap.set("DETREEGRIDEXVIEW_STYLE2", 'app-style2-treegridexview');
// this.viewMap.set("DELISTEXPVIEW_STYLE2", 'app-style2-listexpview');
// this.viewMap.set("DEGRIDEXPVIEW_STYLE2", 'app-style2-gridexpview');
// this.viewMap.set("DEWFDYNAEXPGRIDVIEW_STYLE2", 'app-style2-wfdynaexpgridview');
// this.viewMap.set("DEDATAVIEWEXPVIEW_STYLE2", 'app-style2-dataviewexpview');
// this.viewMap.set("DEPICKUPGRIDVIEW_STYLE2", 'app-style2-pickupgridview');
// this.viewMap.set("DEMPICKUPVIEW_STYLE2", 'app-style2-mpickupview');
// this.viewMap.set("DEPICKUPVIEW_STYLE2", 'app-style2-pickupview');
// this.viewMap.set("DECALENDAREXPVIEW_STYLE2", 'app-style2-calendarexpview');
// this.viewMap.set("DETREEEXPVIEW_STYLE2", 'app-style2-treeexpview');
// this.viewMap.set("DEPICKUPTREEVIEW_STYLE2", 'app-style2-pickuptreeview');
// this.viewMap.set("DECUSTOMVIEW_STYLE2", 'app-style2-customview');
// this.viewMap.set("DEOPTVIEW_STYLE2", 'app-style2-optview');
// this.viewMap.set("DEOPTVIEW_STYLE2", 'app-style2-optview');
// this.viewMap.set("APPPORTALVIEW_STYLE2", 'app-style2-portalview');
// this.viewMap.set("DEWFDYNAACTIONVIEW_STYLE2", 'app-style2-wfdynaactionview');
// this.viewMap.set("DEWFDYNASTARTVIEW_STYLE2", 'app-style2-wfdynastartview');
// this.viewMap.set("DEWFDYNAEDITVIEW_STYLE2", 'app-style2-wfdynaeditview');
// this.viewMap.set("DEWFDYNAEDITVIEW3_STYLE2", 'app-style2-wfdynaeditview3');
// this.viewMap.set("DEPORTALVIEW9_STYLE2", 'app-style2-deportalview');
// this.viewMap.set("DEEDITVIEW9_STYLE2", 'app-style2-editview');
// this.viewMap.set("DEGRIDVIEW9_STYLE2", 'app-style2-gridview');
// this.viewMap.set("DELISTVIEW9_STYLE2", 'app-style2-listview');
// this.viewMap.set("DEHTMLVIEW_STYLE2", 'app-style2-htmlview');
// this.viewMap.set("DECHARTVIEW9_STYLE2", 'app-style2-chartview');
// this.viewMap.set("DEDATAVIEW9_STYLE2",'app-style2-dataviewview');
// this.viewMap.set("DEFORMPICKUPDATAVIEW_STYLE2","app-style2-formpickupdataview");
// this.viewMap.set("DEINDEXPICKUPDATAVIEW_STYLE2","app-style2-indexpickupdataview");
// this.viewMap.set("DEWIZARDVIEW_STYLE2", 'app-style2-wizardview');
// this.viewMap.set("DEWFACTIONVIEW_STYLE2", 'app-style2-wfactionview');
// this.viewMap.set("DEREDIRECTVIEW_STYLE2", 'app-style2-deredirectview');
// this.viewMap.set("APPWFSTEPTRACEVIEW_STYLE2", 'app-style2-wfsteptraceview');
// this.viewMap.set("DEREPORTVIEW_STYLE2",'app-style2-dereportview');
// this.viewMap.set("DEMAPEXPVIEW_STYLE2",'app-style2-mapexpview');
// this.viewMap.set("DEPANELVIEW_STYLE2",'app-style2-depanelview');
// this.viewMap.set("DEMAPVIEW_STYLE2", 'app-style2-mapview');
this.viewMap.set("APPINDEXVIEW_STYLE2", 'app-style2-indexview');
this.viewMap.set("DEEDITVIEW_STYLE2", 'app-style2-editview');
this.viewMap.set("DEEDITVIEW2_STYLE2", 'app-style2-editview2');
this.viewMap.set("DEEDITVIEW3_STYLE2", 'app-style2-editview3');
this.viewMap.set("DEEDITVIEW4_STYLE2", 'app-style2-editview4');
this.viewMap.set("DEGRIDVIEW_STYLE2", 'app-style2-gridview');
this.viewMap.set("DELISTVIEW_STYLE2", 'app-style2-listview');
this.viewMap.set("DECHARTVIEW_STYLE2", 'app-style2-chartview');
this.viewMap.set("DECHARTEXPVIEW_STYLE2", 'app-style2-chartexpview');
this.viewMap.set("DEDATAVIEW_STYLE2", 'app-style2-dataviewview');
this.viewMap.set("DECALENDARVIEW_STYLE2", 'app-style2-calendarview');
this.viewMap.set("DEKANBANVIEW_STYLE2", 'app-style2-kanbanview');
this.viewMap.set("DEPORTALVIEW_STYLE2", 'app-style2-deportalview');
this.viewMap.set("DETABEXPVIEW_STYLE2", 'app-style2-tabexpview');
this.viewMap.set("DETABSEARCHVIEW_STYLE2", 'app-style2-tabsearchview');
this.viewMap.set("DEMEDITVIEW9_STYLE2", 'app-style2-meditview');
this.viewMap.set("DEGANTTVIEW_STYLE2", 'app-style2-ganttview');
this.viewMap.set("DETREEVIEW_STYLE2", 'app-style2-treeview');
this.viewMap.set("DETREEGRIDEXVIEW_STYLE2", 'app-style2-treegridexview');
this.viewMap.set("DELISTEXPVIEW_STYLE2", 'app-style2-listexpview');
this.viewMap.set("DEGRIDEXPVIEW_STYLE2", 'app-style2-gridexpview');
this.viewMap.set("DEWFDYNAEXPGRIDVIEW_STYLE2", 'app-style2-wfdynaexpgridview');
this.viewMap.set("DEDATAVIEWEXPVIEW_STYLE2", 'app-style2-dataviewexpview');
this.viewMap.set("DEPICKUPGRIDVIEW_STYLE2", 'app-style2-pickupgridview');
this.viewMap.set("DEMPICKUPVIEW_STYLE2", 'app-style2-mpickupview');
this.viewMap.set("DEPICKUPVIEW_STYLE2", 'app-style2-pickupview');
this.viewMap.set("DECALENDAREXPVIEW_STYLE2", 'app-style2-calendarexpview');
this.viewMap.set("DETREEEXPVIEW_STYLE2", 'app-style2-treeexpview');
this.viewMap.set("DEPICKUPTREEVIEW_STYLE2", 'app-style2-pickuptreeview');
this.viewMap.set("DECUSTOMVIEW_STYLE2", 'app-style2-customview');
this.viewMap.set("DEOPTVIEW_STYLE2", 'app-style2-optview');
this.viewMap.set("DEOPTVIEW_STYLE2", 'app-style2-optview');
this.viewMap.set("APPPORTALVIEW_STYLE2", 'app-style2-portalview');
this.viewMap.set("DEWFDYNAACTIONVIEW_STYLE2", 'app-style2-wfdynaactionview');
this.viewMap.set("DEWFDYNASTARTVIEW_STYLE2", 'app-style2-wfdynastartview');
this.viewMap.set("DEWFDYNAEDITVIEW_STYLE2", 'app-style2-wfdynaeditview');
this.viewMap.set("DEWFDYNAEDITVIEW3_STYLE2", 'app-style2-wfdynaeditview3');
this.viewMap.set("DEPORTALVIEW9_STYLE2", 'app-style2-deportalview');
this.viewMap.set("DEEDITVIEW9_STYLE2", 'app-style2-editview');
this.viewMap.set("DEGRIDVIEW9_STYLE2", 'app-style2-gridview');
this.viewMap.set("DELISTVIEW9_STYLE2", 'app-style2-listview');
this.viewMap.set("DEHTMLVIEW_STYLE2", 'app-style2-htmlview');
this.viewMap.set("DECHARTVIEW9_STYLE2", 'app-style2-chartview');
this.viewMap.set("DEDATAVIEW9_STYLE2",'app-style2-dataviewview');
this.viewMap.set("DEFORMPICKUPDATAVIEW_STYLE2","app-style2-formpickupdataview");
this.viewMap.set("DEINDEXPICKUPDATAVIEW_STYLE2","app-style2-indexpickupdataview");
this.viewMap.set("DEWIZARDVIEW_STYLE2", 'app-style2-wizardview');
this.viewMap.set("DEWFACTIONVIEW_STYLE2", 'app-style2-wfactionview');
this.viewMap.set("DEREDIRECTVIEW_STYLE2", 'app-style2-deredirectview');
this.viewMap.set("APPWFSTEPTRACEVIEW_STYLE2", 'app-style2-wfsteptraceview');
this.viewMap.set("DEREPORTVIEW_STYLE2",'app-style2-dereportview');
this.viewMap.set("DEMAPEXPVIEW_STYLE2",'app-style2-mapexpview');
this.viewMap.set("DEPANELVIEW_STYLE2",'app-style2-depanelview');
this.viewMap.set("DEMAPVIEW_STYLE2", 'app-style2-mapview');
// STYLE3 样式
// this.viewMap.set("APPINDEXVIEW_STYLE3", 'app-style2-indexview');
this.viewMap.set("APPINDEXVIEW_STYLE3", 'app-style2-indexview');
// STYLE4 样式
// this.viewMap.set("APPINDEXVIEW_STYLE4", 'app-default-indexview');
// this.viewMap.set("APPPORTALVIEW_STYLE4", 'app-style4-portalview');
// this.viewMap.set("DEPORTALVIEW_STYLE4", 'app-style4-deportalview');
this.viewMap.set("APPINDEXVIEW_STYLE4", 'app-default-indexview');
this.viewMap.set("APPPORTALVIEW_STYLE4", 'app-style4-portalview');
this.viewMap.set("DEPORTALVIEW_STYLE4", 'app-style4-deportalview');
// 注册视图插件
// 注册视图样式,无插件模式
}
......
......@@ -169,7 +169,7 @@
</changeSet>
<!--输出实体[PHONE]数据结构 -->
<changeSet author="root" id="tab-phone-59-6">
<changeSet author="root" id="tab-phone-61-6">
<createTable tableName="T_PHONE">
<column name="PHONEID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_PHONE"/>
......@@ -264,7 +264,7 @@
</changeSet>
<!--输出实体[STUDENT]数据结构 -->
<changeSet author="root" id="tab-student-43-10">
<changeSet author="root" id="tab-student-44-10">
<createTable tableName="T_STUDENT">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
......@@ -175,8 +175,11 @@
"showCaption" : true
}, {
"codeName" : "druipart1",
"contentHeight" : 500.0,
"contentWidth" : 1000.0,
"detailStyle" : "DEFAULT",
"detailType" : "DRUIPART",
"height" : 500.0,
"name" : "druipart1",
"getPSAppView" : {
"accUserMode" : 2,
......@@ -1771,7 +1774,9 @@
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
"height" : 500,
"layout" : "TABLE_24COL",
"width" : 1000
},
"getPSNavigateContexts" : [ {
"key" : "CONTEXTPARAM2",
......@@ -1803,6 +1808,7 @@
"SRFDER1NID" : "DER1N_REGINFO_STUDENT_STUDENTID"
},
"refreshItems" : "studentname;field2;",
"width" : 1000.0,
"needSave" : false,
"refreshItemsSetParamOnly" : false,
"showCaption" : true
......
......@@ -1161,8 +1161,11 @@
"showCaption" : true
}, {
"codeName" : "druipart1",
"contentHeight" : 500.0,
"contentWidth" : 1000.0,
"detailStyle" : "DEFAULT",
"detailType" : "DRUIPART",
"height" : 500.0,
"name" : "druipart1",
"getPSAppView" : {
"accUserMode" : 2,
......@@ -2757,7 +2760,9 @@
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
"height" : 500,
"layout" : "TABLE_24COL",
"width" : 1000
},
"getPSNavigateContexts" : [ {
"key" : "CONTEXTPARAM2",
......@@ -2789,6 +2794,7 @@
"SRFDER1NID" : "DER1N_REGINFO_STUDENT_STUDENTID"
},
"refreshItems" : "studentname;field2;",
"width" : 1000.0,
"needSave" : false,
"refreshItemsSetParamOnly" : false,
"showCaption" : true
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册