提交 3bfe762f 编写于 作者: Shine-zwj's avatar Shine-zwj

update:发布文件位置提示

上级 b92df5b0
...@@ -5,7 +5,7 @@ import AuthService from '../auth-service'; ...@@ -5,7 +5,7 @@ import AuthService from '../auth-service';
/** /**
* ${de.getLogicName()}权限服务对象基类 * ${de.getLogicName()}权限服务对象基类
* * 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export * @export
* @class ${srfclassname('${item.getCodeName()}')}AuthServiceBase * @class ${srfclassname('${item.getCodeName()}')}AuthServiceBase
* @extends {AuthService} * @extends {AuthService}
......
...@@ -6,7 +6,7 @@ import ${srfclassname('${item.getCodeName()}')}AuthServiceBase from './${srffile ...@@ -6,7 +6,7 @@ import ${srfclassname('${item.getCodeName()}')}AuthServiceBase from './${srffile
/** /**
* ${de.getLogicName()}权限服务对象 * ${de.getLogicName()}权限服务对象
* * 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export * @export
* @class ${srfclassname('${item.getCodeName()}')}AuthService * @class ${srfclassname('${item.getCodeName()}')}AuthService
* @extends {${srfclassname('${item.getCodeName()}')}AuthServiceBase} * @extends {${srfclassname('${item.getCodeName()}')}AuthServiceBase}
......
...@@ -3,7 +3,7 @@ TARGET=PSSYSAPP ...@@ -3,7 +3,7 @@ TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
/** /**
* 实体权限服务注册中心 * 实体权限服务注册中心
* * 基于 APP/src/authservice/auth-service-register.ts.ftl 生成
* @export * @export
* @class AuthServiceRegister * @class AuthServiceRegister
*/ */
......
...@@ -6,7 +6,7 @@ import { Environment } from '@/environments/environment'; ...@@ -6,7 +6,7 @@ import { Environment } from '@/environments/environment';
/** /**
* 实体权限服务 * 实体权限服务
* * 基于 APP/src/authservice/auth-service.ts.ftl 生成
* @export * @export
* @class AuthService * @class AuthService
*/ */
......
...@@ -7,7 +7,7 @@ import ${srfclassname('${item.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -7,7 +7,7 @@ import ${srfclassname('${item.getPSAppDataEntity().codeName}')}Service from '@se
</#if> </#if>
/** /**
* 代码表--${item.getName()} * 代码表--${item.getName()}
* * 基于 APP/src/codelist/%APP_CODELIST%.ts.ftl 生成
* @export * @export
* @class ${srfclassname('${item.getCodeName()}')} * @class ${srfclassname('${item.getCodeName()}')}
*/ */
......
...@@ -3,7 +3,7 @@ TARGET=PSSYSAPP ...@@ -3,7 +3,7 @@ TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
/** /**
* 代码表服务注册中心 * 代码表服务注册中心
* * 基于 APP/src/codelist/codelist-register.ts.ftl 生成
* @export * @export
* @class CodeListRegister * @class CodeListRegister
*/ */
......
...@@ -4,7 +4,7 @@ TARGET=PSAPPCOUNTER ...@@ -4,7 +4,7 @@ TARGET=PSAPPCOUNTER
</#ibiztemplate> </#ibiztemplate>
/** /**
* ${item.getName()}计数器服务对象基类 * ${item.getName()}计数器服务对象基类
* * 基于 APP/src/counter/%APP_COUNTER%/%APP_COUNTER%-counter-base.ts.ftl 生成
* @export * @export
* @class ${item.getCodeName()}CounterServiceBase * @class ${item.getCodeName()}CounterServiceBase
*/ */
......
...@@ -5,7 +5,7 @@ import ${srfclassname('${item.getCodeName()}')}CounterServiceBase from './${srff ...@@ -5,7 +5,7 @@ import ${srfclassname('${item.getCodeName()}')}CounterServiceBase from './${srff
/** /**
* ${item.getName()}计数器服务对象 * ${item.getName()}计数器服务对象
* * 基于 APP/src/counter/%APP_COUNTER%/%APP_COUNTER%-counter.ts.ftl 生成
* @export * @export
* @class ${item.getCodeName()}CounterService * @class ${item.getCodeName()}CounterService
*/ */
......
...@@ -3,7 +3,7 @@ TARGET=PSSYSAPP ...@@ -3,7 +3,7 @@ TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
/** /**
* 计数器服务注册中心 * 计数器服务注册中心
* * 基于 APP/src/counter/%APP_COUNTER%/counter-service-register.ts.ftl 生成
* @export * @export
* @class CounterServiceRegister * @class CounterServiceRegister
*/ */
......
<#ibiztemplate> <#ibiztemplate>
TARGET=PSSYSAPP TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
// 基于 APP/src/environments/environment.ts.ftl 生成
export const Environment = { export const Environment = {
// 原型示例数模式 // 原型示例数模式
SampleMode: false, SampleMode: false,
......
...@@ -10,7 +10,7 @@ import codelist_BO_CN from '@locale/lanres/codelist/codelist_BO_CN'; ...@@ -10,7 +10,7 @@ import codelist_BO_CN from '@locale/lanres/codelist/codelist_BO_CN';
import userCustom_BO_CN from '@locale/lanres/userCustom/userCustom_BO_CN'; import userCustom_BO_CN from '@locale/lanres/userCustom/userCustom_BO_CN';
import commonLogic from '@/locale/logic/common/common-logic'; import commonLogic from '@/locale/logic/common/common-logic';
<#assign langrestype = 'BO_CN'/> <#assign langrestype = 'BO_CN'/>
// 基于 APP/src/locale/lang/BO-CN-base.ts 生成
function getAppLocale(){ function getAppLocale(){
const data:any = { const data:any = {
<#-- 本地化语言资源 藏文 --> <#-- 本地化语言资源 藏文 -->
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
TARGET=PSSYSAPP TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
import app_BO_CN_Base from './BO-CN-base'; import app_BO_CN_Base from './BO-CN-base';
// 基于 APP/src/locale/lang/BO-CN.ts 生成
function getLocaleResource(){ function getLocaleResource(){
const app_BO_CN_OwnData = {}; const app_BO_CN_OwnData = {};
const targetData = Object.assign(app_BO_CN_Base(), app_BO_CN_OwnData); const targetData = Object.assign(app_BO_CN_Base(), app_BO_CN_OwnData);
......
...@@ -10,7 +10,7 @@ import codelist_en_US from '@locale/lanres/codelist/codelist_en_US'; ...@@ -10,7 +10,7 @@ import codelist_en_US from '@locale/lanres/codelist/codelist_en_US';
import userCustom_en_US from '@locale/lanres/userCustom/userCustom_en_US'; import userCustom_en_US from '@locale/lanres/userCustom/userCustom_en_US';
import commonLogic from '@/locale/logic/common/common-logic'; import commonLogic from '@/locale/logic/common/common-logic';
<#assign langrestype = 'EN'/> <#assign langrestype = 'EN'/>
// 基于 APP/src/locale/lang/en-US-base.ts.ftl 生成
function getAppLocale(){ function getAppLocale(){
const data:any = { const data:any = {
<#-- local langue english --> <#-- local langue english -->
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
TARGET=PSSYSAPP TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
import app_en_US_Base from './en-US-base'; import app_en_US_Base from './en-US-base';
// 基于 APP/src/locale/lang/en-US.ts.ftl 生成
function getLocaleResource(){ function getLocaleResource(){
const app_en_US_OwnData = {}; const app_en_US_OwnData = {};
const targetData = Object.assign(app_en_US_Base(), app_en_US_OwnData); const targetData = Object.assign(app_en_US_Base(), app_en_US_OwnData);
......
...@@ -10,7 +10,7 @@ import codelist_zh_CN from '@locale/lanres/codelist/codelist_zh_CN'; ...@@ -10,7 +10,7 @@ import codelist_zh_CN from '@locale/lanres/codelist/codelist_zh_CN';
import userCustom_zh_CN from '@locale/lanres/userCustom/userCustom_zh_CN'; import userCustom_zh_CN from '@locale/lanres/userCustom/userCustom_zh_CN';
import commonLogic from '@/locale/logic/common/common-logic'; import commonLogic from '@/locale/logic/common/common-logic';
<#assign langrestype = 'ZH_CN'/> <#assign langrestype = 'ZH_CN'/>
// 基于 APP/src/locale/lang/zh-CN-base.ts.ftl 生成
function getAppLocale(){ function getAppLocale(){
const data:any = { const data:any = {
<#-- 本地化语言资源 中文 --> <#-- 本地化语言资源 中文 -->
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
TARGET=PSSYSAPP TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
import app_zh_CN_Base from './zh-CN-base'; import app_zh_CN_Base from './zh-CN-base';
// 基于 APP/src/locale/lang/zh-CN.ts.ftl 生成
function getLocaleResource(){ function getLocaleResource(){
const app_zh_CN_OwnData = {}; const app_zh_CN_OwnData = {};
const targetData = Object.assign(app_zh_CN_Base(), app_zh_CN_OwnData); const targetData = Object.assign(app_zh_CN_Base(), app_zh_CN_OwnData);
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
TARGET=PSSYSAPP TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
import codelist_BO_CN_Base from './codelist_BO_CN_base'; import codelist_BO_CN_Base from './codelist_BO_CN_base';
// 基于 APP/src/locale/lanres/codelist/codelist_BO_CN.ts.ftl 生成
function getLocaleResource(){ function getLocaleResource(){
const codelist_BO_CN_OwnData = {}; const codelist_BO_CN_OwnData = {};
const targetData = Object.assign(codelist_BO_CN_Base(), codelist_BO_CN_OwnData); const targetData = Object.assign(codelist_BO_CN_Base(), codelist_BO_CN_OwnData);
......
...@@ -4,7 +4,7 @@ TARGET=PSSYSAPP ...@@ -4,7 +4,7 @@ TARGET=PSSYSAPP
import commonLogic from '@/locale/logic/common/common-logic'; import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude> <#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'BO_CN'/> <#assign langrestype = 'BO_CN'/>
// 基于 APP/src/locale/lanres/codelist/codelist_BO_CN_base.ts.ftl 生成
function getLocaleResourceBase(){ function getLocaleResourceBase(){
const data:any = { const data:any = {
<#if app.getAllPSAppCodeLists()??> <#if app.getAllPSAppCodeLists()??>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
TARGET=PSSYSAPP TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
import codelist_en_US_Base from './codelist_en_US_base'; import codelist_en_US_Base from './codelist_en_US_base';
// 基于 APP/src/locale/lanres/codelist/codelist_en_US.ts.ftl 生成
function getLocaleResource(){ function getLocaleResource(){
const codelist_en_US_OwnData = {}; const codelist_en_US_OwnData = {};
const targetData = Object.assign(codelist_en_US_Base(), codelist_en_US_OwnData); const targetData = Object.assign(codelist_en_US_Base(), codelist_en_US_OwnData);
......
...@@ -4,7 +4,7 @@ TARGET=PSSYSAPP ...@@ -4,7 +4,7 @@ TARGET=PSSYSAPP
import commonLogic from '@/locale/logic/common/common-logic'; import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude> <#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'EN'/> <#assign langrestype = 'EN'/>
// 基于 APP/src/locale/lanres/codelist/codelist_en_US_base.ts.ftl 生成
function getLocaleResourceBase(){ function getLocaleResourceBase(){
const data:any = { const data:any = {
<#if app.getAllPSAppCodeLists()??> <#if app.getAllPSAppCodeLists()??>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
TARGET=PSSYSAPP TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
import codelist_zh_CN_Base from './codelist_zh_CN_base'; import codelist_zh_CN_Base from './codelist_zh_CN_base';
// 基于 APP/src/locale/lanres/codelist/codelist_zh_CN.ts.ftl 生成
function getLocaleResource(){ function getLocaleResource(){
const codelist_zh_CN_OwnData = {}; const codelist_zh_CN_OwnData = {};
const targetData = Object.assign(codelist_zh_CN_Base(), codelist_zh_CN_OwnData); const targetData = Object.assign(codelist_zh_CN_Base(), codelist_zh_CN_OwnData);
......
...@@ -4,7 +4,7 @@ TARGET=PSSYSAPP ...@@ -4,7 +4,7 @@ TARGET=PSSYSAPP
import commonLogic from '@/locale/logic/common/common-logic'; import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude> <#ibizinclude>../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'ZH_CN'/> <#assign langrestype = 'ZH_CN'/>
// 基于 APP/src/locale/lanres/codelist/codelist_zh_CN_base.ts.ftl 生成
function getLocaleResourceBase(){ function getLocaleResourceBase(){
const data:any = { const data:any = {
<#if app.getAllPSAppCodeLists()??> <#if app.getAllPSAppCodeLists()??>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
TARGET=PSAPPDATAENTITY TARGET=PSAPPDATAENTITY
</#ibiztemplate> </#ibiztemplate>
import ${item.getCodeName()}_BO_CN_Base from './${srffilepath2(item.getCodeName())}_BO_CN_base'; import ${item.getCodeName()}_BO_CN_Base from './${srffilepath2(item.getCodeName())}_BO_CN_base';
// 基于 APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_BO_CN.ts.ftl 生成
function getLocaleResource(){ function getLocaleResource(){
const ${item.getCodeName()}_BO_CN_OwnData = {}; const ${item.getCodeName()}_BO_CN_OwnData = {};
const targetData = Object.assign(${item.getCodeName()}_BO_CN_Base(), ${item.getCodeName()}_BO_CN_OwnData); const targetData = Object.assign(${item.getCodeName()}_BO_CN_Base(), ${item.getCodeName()}_BO_CN_OwnData);
......
...@@ -6,7 +6,7 @@ import commonLogic from '@/locale/logic/common/common-logic'; ...@@ -6,7 +6,7 @@ import commonLogic from '@/locale/logic/common/common-logic';
<#assign langrestype = 'BO_CN'/> <#assign langrestype = 'BO_CN'/>
<#assign emptyText = '暂无数据'> <#assign emptyText = '暂无数据'>
// 基于 APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_BO_CN_base.ts.ftl 生成
function getLocaleResourceBase(){ function getLocaleResourceBase(){
const data:any = { const data:any = {
<#-- 实体属性输出 --> <#-- 实体属性输出 -->
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
TARGET=PSAPPDATAENTITY TARGET=PSAPPDATAENTITY
</#ibiztemplate> </#ibiztemplate>
import ${item.getCodeName()}_en_US_Base from './${srffilepath2(item.getCodeName())}_en_US_base'; import ${item.getCodeName()}_en_US_Base from './${srffilepath2(item.getCodeName())}_en_US_base';
// 基于 APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_en_US.ts.ftl 生成
function getLocaleResource(){ function getLocaleResource(){
const ${item.getCodeName()}_en_US_OwnData = {}; const ${item.getCodeName()}_en_US_OwnData = {};
const targetData = Object.assign(${item.getCodeName()}_en_US_Base(), ${item.getCodeName()}_en_US_OwnData); const targetData = Object.assign(${item.getCodeName()}_en_US_Base(), ${item.getCodeName()}_en_US_OwnData);
......
...@@ -5,7 +5,7 @@ import commonLogic from '@/locale/logic/common/common-logic'; ...@@ -5,7 +5,7 @@ import commonLogic from '@/locale/logic/common/common-logic';
<#ibizinclude>../../../@MACRO/FUNC.ts</#ibizinclude> <#ibizinclude>../../../@MACRO/FUNC.ts</#ibizinclude>
<#assign langrestype = 'EN'/> <#assign langrestype = 'EN'/>
<#assign emptyText = 'No data.'> <#assign emptyText = 'No data.'>
// 基于 APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_en_US_base.ts.ftl 生成
function getLocaleResourceBase(){ function getLocaleResourceBase(){
const data:any = { const data:any = {
<#-- 实体属性输出 --> <#-- 实体属性输出 -->
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
TARGET=PSAPPDATAENTITY TARGET=PSAPPDATAENTITY
</#ibiztemplate> </#ibiztemplate>
import ${item.getCodeName()}_zh_CN_Base from './${srffilepath2(item.getCodeName())}_zh_CN_base'; import ${item.getCodeName()}_zh_CN_Base from './${srffilepath2(item.getCodeName())}_zh_CN_base';
// 基于 APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_zh_CN.ts.ftl 生成
function getLocaleResource(){ function getLocaleResource(){
const ${item.getCodeName()}_zh_CN_OwnData = {}; const ${item.getCodeName()}_zh_CN_OwnData = {};
const targetData = Object.assign(${item.getCodeName()}_zh_CN_Base(), ${item.getCodeName()}_zh_CN_OwnData); const targetData = Object.assign(${item.getCodeName()}_zh_CN_Base(), ${item.getCodeName()}_zh_CN_OwnData);
......
...@@ -6,7 +6,7 @@ import commonLogic from '@/locale/logic/common/common-logic'; ...@@ -6,7 +6,7 @@ import commonLogic from '@/locale/logic/common/common-logic';
<#assign langrestype = 'ZH_CN'/> <#assign langrestype = 'ZH_CN'/>
<#assign emptyText = '暂无数据'> <#assign emptyText = '暂无数据'>
// 基于 APP/src/locale/lanres/entities/%DE_PKGPATH%/%DE_PKGPATH%_zh_CN_base.ts.ftl 生成
function getLocaleResourceBase(){ function getLocaleResourceBase(){
const data:any = { const data:any = {
<#-- 实体属性输出 --> <#-- 实体属性输出 -->
......
...@@ -4,7 +4,7 @@ TARGET=PSAPPVIEWMSG ...@@ -4,7 +4,7 @@ TARGET=PSAPPVIEWMSG
import ViewMessageService from '../view-message-service'; import ViewMessageService from '../view-message-service';
/** /**
* ${item.getName()}视图消息服务对象基类 * ${item.getName()}视图消息服务对象基类
* * 基于 APP/src/message/%APP_MSG%/%APP_MSG%-message-base.ts.ftl 生成
* @export * @export
* @class ${item.getCodeName()}MessageServiceBase * @class ${item.getCodeName()}MessageServiceBase
*/ */
......
...@@ -5,7 +5,7 @@ import ${srfclassname('${item.getCodeName()}')}MessageServiceBase from './${srff ...@@ -5,7 +5,7 @@ import ${srfclassname('${item.getCodeName()}')}MessageServiceBase from './${srff
/** /**
* ${item.getName()}视图消息服务对象 * ${item.getName()}视图消息服务对象
* * 基于 APP/src/message/%APP_MSG%/%APP_MSG%-message.ts.ftl 生成
* @export * @export
* @class ${item.getCodeName()}MessageService * @class ${item.getCodeName()}MessageService
*/ */
......
...@@ -3,7 +3,7 @@ TARGET=PSSYSAPP ...@@ -3,7 +3,7 @@ TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
/** /**
* 视图消息服务注册中心 * 视图消息服务注册中心
* * 基于 APP/src/message/message-service-register.ts.ftl 生成
* @export * @export
* @class MessageServiceRegister * @class MessageServiceRegister
*/ */
......
...@@ -6,7 +6,7 @@ const mock = MockAdapter.getInstance(); ...@@ -6,7 +6,7 @@ const mock = MockAdapter.getInstance();
import Mock from 'mockjs' import Mock from 'mockjs'
const Random = Mock.Random; const Random = Mock.Random;
// 基于 APP/src/mock/app/%CTRL_PKGPATH%-appmenu/%CTRL_PKGPATH%-appmenu.ts.ftl 生成
// 获取应用数据 // 获取应用数据
mock.onGet('v7/${srffilepath2(ctrl.codeName)}${ctrl.getControlType()?lower_case}').reply((config: any) => { mock.onGet('v7/${srffilepath2(ctrl.codeName)}${ctrl.getControlType()?lower_case}').reply((config: any) => {
let status = MockAdapter.mockStatus(config); let status = MockAdapter.mockStatus(config);
......
...@@ -5,7 +5,7 @@ import { MockAdapter } from '../mock-adapter'; ...@@ -5,7 +5,7 @@ import { MockAdapter } from '../mock-adapter';
const mock = MockAdapter.getInstance(); const mock = MockAdapter.getInstance();
import Mock from 'mockjs' import Mock from 'mockjs'
// 基于 APP/src/mock/codelist/codelist.ts.ftl 生成
// 获取全部数组 // 获取全部数组
mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
let status = MockAdapter.mockStatus(config); let status = MockAdapter.mockStatus(config);
......
...@@ -85,7 +85,7 @@ const mockDatas: Array<any> = [ ...@@ -85,7 +85,7 @@ const mockDatas: Array<any> = [
</#if> </#if>
]; ];
// 基于 APP/src/entity/%DE_PKGPATH%s/%DE_PKGPATH%s.ts.ftl 生成
//getwflink //getwflink
mock.onGet(new RegExp(/^\/wfcore\/${app.getPSSystem().getCodeName()?lower_case}-app-${app.getCodeName()?lower_case}\/${srfpluralize(item.codeName)?lower_case}\/[a-zA-Z0-9\-\;]+\/usertasks\/[a-zA-Z0-9\-\;]+\/ways$/)).reply((config: any) => { mock.onGet(new RegExp(/^\/wfcore\/${app.getPSSystem().getCodeName()?lower_case}-app-${app.getCodeName()?lower_case}\/${srfpluralize(item.codeName)?lower_case}\/[a-zA-Z0-9\-\;]+\/usertasks\/[a-zA-Z0-9\-\;]+\/ways$/)).reply((config: any) => {
console.groupCollapsed("实体:${item.codeName?lower_case} 方法: getwflink"); console.groupCollapsed("实体:${item.codeName?lower_case} 方法: getwflink");
......
...@@ -6,7 +6,7 @@ const mock = MockAdapter.getInstance(); ...@@ -6,7 +6,7 @@ const mock = MockAdapter.getInstance();
import Mock from 'mockjs' import Mock from 'mockjs'
const Random = Mock.Random; const Random = Mock.Random;
// 基于 APP/src/portlet/portlet.ts.ftl 生成
// 获取全部数组 // 获取全部数组
mock.onGet('./assets/json/portlet-data.json').reply((config: any) => { mock.onGet('./assets/json/portlet-data.json').reply((config: any) => {
let status = MockAdapter.mockStatus(config); let status = MockAdapter.mockStatus(config);
......
...@@ -5,7 +5,7 @@ import { MockAdapter } from '../mock-adapter'; ...@@ -5,7 +5,7 @@ import { MockAdapter } from '../mock-adapter';
const mock = MockAdapter.getInstance(); const mock = MockAdapter.getInstance();
import Mock from 'mockjs' import Mock from 'mockjs'
// 基于 APP/src/viewconfig/viewconfig.ts.ftl 生成
// 获取studio链接数据 // 获取studio链接数据
mock.onGet('./assets/json/view-config.json').reply((config: any) => { mock.onGet('./assets/json/view-config.json').reply((config: any) => {
let status = MockAdapter.mockStatus(config); let status = MockAdapter.mockStatus(config);
......
...@@ -28,7 +28,7 @@ import ${srfclassname('${appDataEntity.getCodeName()}')}${srfclassname('${sysPor ...@@ -28,7 +28,7 @@ import ${srfclassname('${appDataEntity.getCodeName()}')}${srfclassname('${sysPor
</#if> </#if>
</#list> </#list>
</#if> </#if>
// 基于 APP/src/portlet-register.ts.ftl 生成
export const PortletComponent = { export const PortletComponent = {
install(v: any, opt: any) { install(v: any, opt: any) {
<#if app.getAllPSAppPortlets?? && app.getAllPSAppPortlets()??> <#if app.getAllPSAppPortlets?? && app.getAllPSAppPortlets()??>
......
...@@ -100,7 +100,7 @@ import { Verify } from '@/utils/verify/verify'; ...@@ -100,7 +100,7 @@ import { Verify } from '@/utils/verify/verify';
/** /**
* ${item.name} * ${item.name}
* * 基于 APP/src/service/%DE_PKGPATH%/%APP_DELOGIC%-logic-base.ts.ftl 生成
* @export * @export
* @class ${srfclassname('${item.getCodeName()}')}LogicBase * @class ${srfclassname('${item.getCodeName()}')}LogicBase
*/ */
......
...@@ -6,7 +6,7 @@ import ${srfclassname('${item.getCodeName()}')}LogicBase from './${srffilepath2( ...@@ -6,7 +6,7 @@ import ${srfclassname('${item.getCodeName()}')}LogicBase from './${srffilepath2(
/** /**
* ${item.name} * ${item.name}
* * 基于 APP/src/service/%DE_PKGPATH%/%APP_DELOGIC%-logic.ts.ftl 生成
* @export * @export
* @class ${srfclassname('${item.getCodeName()}')}Logic * @class ${srfclassname('${item.getCodeName()}')}Logic
*/ */
......
...@@ -592,7 +592,7 @@ import ${srfclassname('${singleLogic.getCodeName()}')}Logic from '@/service/${sr ...@@ -592,7 +592,7 @@ import ${srfclassname('${singleLogic.getCodeName()}')}Logic from '@/service/${sr
/** /**
* ${de.getLogicName()}服务对象基类 * ${de.getLogicName()}服务对象基类
* * 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
* @export * @export
* @class ${srfclassname('${item.getCodeName()}')}ServiceBase * @class ${srfclassname('${item.getCodeName()}')}ServiceBase
* @extends {EntityServie} * @extends {EntityServie}
......
...@@ -7,7 +7,7 @@ import ${srfclassname('${item.getCodeName()}')}ServiceBase from './${srffilepath ...@@ -7,7 +7,7 @@ import ${srfclassname('${item.getCodeName()}')}ServiceBase from './${srffilepath
/** /**
* ${de.getLogicName()}服务对象 * ${de.getLogicName()}服务对象
* * 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service.ts.ftl 生成
* @export * @export
* @class ${srfclassname('${item.getCodeName()}')}Service * @class ${srfclassname('${item.getCodeName()}')}Service
* @extends {${srfclassname('${item.getCodeName()}')}ServiceBase} * @extends {${srfclassname('${item.getCodeName()}')}ServiceBase}
......
...@@ -3,7 +3,7 @@ TARGET=PSSYSAPP ...@@ -3,7 +3,7 @@ TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
/** /**
* 实体数据服务注册中心 * 实体数据服务注册中心
* * 基于 APP/src/service/entity-service-register.ts.ftl 生成
* @export * @export
* @class EntityServiceRegister * @class EntityServiceRegister
*/ */
......
...@@ -3,6 +3,7 @@ TARGET=PSSYSAPP ...@@ -3,6 +3,7 @@ TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
/** /**
* 所有应用视图 * 所有应用视图
* 基于 APP/src/store/modules/view-action/state.ts.ftl 生成
*/ */
export const viewstate: any = { export const viewstate: any = {
appviews: [ appviews: [
......
<#ibiztemplate> <#ibiztemplate>
TARGET=PSSYSAPP TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
// 基于 APP/src/styles/app-code-list.less.ftl 生成
#app{ #app{
display: block; display: block;
} }
......
...@@ -24,7 +24,7 @@ import ${srfclassname('${logicNode.getDstPSAppDELogic().getCodeName()}')}Logic f ...@@ -24,7 +24,7 @@ import ${srfclassname('${logicNode.getDstPSAppDELogic().getCodeName()}')}Logic f
</#if> </#if>
/** /**
* ${item.name} * ${item.name}
* * 基于 APP/src/uiservice/%DE_PKGPATH%/%APP_DEUILOGIC%-ui-logic-base.ts.ftl 生成
* @export * @export
* @class ${srfclassname('${item.getCodeName()}')}UILogicBase * @class ${srfclassname('${item.getCodeName()}')}UILogicBase
*/ */
......
...@@ -6,7 +6,7 @@ import ${srfclassname('${item.getCodeName()}')}UILogicBase from './${srffilepath ...@@ -6,7 +6,7 @@ import ${srfclassname('${item.getCodeName()}')}UILogicBase from './${srffilepath
/** /**
* ${item.name} * ${item.name}
* * 基于 APP/src/uiservice/%DE_PKGPATH%/%APP_DEUILOGIC%-ui-logic.ts.ftl 生成
* @export * @export
* @class ${srfclassname('${item.getCodeName()}')}UILogic * @class ${srfclassname('${item.getCodeName()}')}UILogic
*/ */
......
...@@ -56,7 +56,7 @@ import ${srfclassname('${uiLogic.getCodeName()}')}UILogic from './${srffilepath2 ...@@ -56,7 +56,7 @@ import ${srfclassname('${uiLogic.getCodeName()}')}UILogic from './${srffilepath2
/** /**
* ${de.getLogicName()}UI服务对象基类 * ${de.getLogicName()}UI服务对象基类
* * 基于 APP/src/uiservice/%DE_PKGPATH%/%DE_PKGPATH%-ui-service-base.ts.ftl 生成
* @export * @export
* @class ${srfclassname('${item.getCodeName()}')}UIServiceBase * @class ${srfclassname('${item.getCodeName()}')}UIServiceBase
*/ */
......
...@@ -5,7 +5,7 @@ import ${srfclassname('${item.getCodeName()}')}UIServiceBase from './${srffilepa ...@@ -5,7 +5,7 @@ import ${srfclassname('${item.getCodeName()}')}UIServiceBase from './${srffilepa
/** /**
* ${de.getLogicName()}UI服务对象 * ${de.getLogicName()}UI服务对象
* * 基于 APP/src/uiservice/%DE_PKGPATH%/%DE_PKGPATH%-ui-service.ts.ftl 生成
* @export * @export
* @class ${srfclassname('${item.getCodeName()}')}UIService * @class ${srfclassname('${item.getCodeName()}')}UIService
*/ */
......
...@@ -3,7 +3,7 @@ TARGET=PSSYSAPP ...@@ -3,7 +3,7 @@ TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
/** /**
* UI服务注册中心 * UI服务注册中心
* * 基于 APP/src/uiservice/ui-service-register.ts.ftl 生成
* @export * @export
* @class UIServiceRegister * @class UIServiceRegister
*/ */
......
...@@ -9,7 +9,7 @@ import ${srfclassname('${stoageDataEntity.getCodeName()}')}Service from '@/servi ...@@ -9,7 +9,7 @@ import ${srfclassname('${stoageDataEntity.getCodeName()}')}Service from '@/servi
/** /**
* ${item.getName()}功能服务对象基类 * ${item.getName()}功能服务对象基类
* * 基于 APP/src/utilservice/%APP_UTIL%/%APP_UTIL%-util-service-base.ts.ftl 生成
* @export * @export
* @class ${srfclassname('${item.getCodeName()}')}UtilServiceBase * @class ${srfclassname('${item.getCodeName()}')}UtilServiceBase
*/ */
......
...@@ -5,7 +5,7 @@ import ${srfclassname('${item.getCodeName()}')}UtilServiceBase from './${srffile ...@@ -5,7 +5,7 @@ import ${srfclassname('${item.getCodeName()}')}UtilServiceBase from './${srffile
/** /**
* ${item.getName()}功能服务对象 * ${item.getName()}功能服务对象
* * 基于 APP/src/utilservice/%APP_UTIL%/%APP_UTIL%-util-service.ts.ftl 生成
* @export * @export
* @class ${item.getCodeName()}UtilService * @class ${item.getCodeName()}UtilService
*/ */
......
...@@ -3,7 +3,7 @@ TARGET=PSSYSAPP ...@@ -3,7 +3,7 @@ TARGET=PSSYSAPP
</#ibiztemplate> </#ibiztemplate>
/** /**
* 功能服务注册中心 * 功能服务注册中心
* * 基于 APP/src/utilservice/util-service-register.ts.ftl 生成
* @export * @export
* @class UtilServiceRegister * @class UtilServiceRegister
*/ */
......
...@@ -16,7 +16,7 @@ import ${srfclassname('${wfUIAction.getPSAppDataEntity().getCodeName()}')}Servic ...@@ -16,7 +16,7 @@ import ${srfclassname('${wfUIAction.getPSAppDataEntity().getCodeName()}')}Servic
/** /**
* ${item.getPSWFVersion().name}WFUI服务对象基类 * ${item.getPSWFVersion().name}WFUI服务对象基类
* * 基于 APP/src/wfuiservice/%WF_PATH%/%WF_VER_PATH%-ui-service-base.ts.ftl 生成
* @export * @export
* @class ${srfclassname('${item.getPSWFVersion().getCodeName()}')}WFUIServiceBase * @class ${srfclassname('${item.getPSWFVersion().getCodeName()}')}WFUIServiceBase
*/ */
......
...@@ -5,7 +5,7 @@ import ${srfclassname('${item.getPSWFVersion().getCodeName()}')}UIServiceBase fr ...@@ -5,7 +5,7 @@ import ${srfclassname('${item.getPSWFVersion().getCodeName()}')}UIServiceBase fr
/** /**
* ${item.getName()}UI服务对象 * ${item.getName()}UI服务对象
* * 基于 APP/src/wfuiservice/%WF_PATH%/%WF_VER_PATH%-ui-service.ts.ftl 生成
* @export * @export
* @class ${srfclassname('${item.getPSWFVersion().getCodeName()}')}UIService * @class ${srfclassname('${item.getPSWFVersion().getCodeName()}')}UIService
*/ */
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册