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

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

上级 b0be61f9
spring:
cloud:
gateway:
discovery:
locator:
enabled: false
lowerCaseServiceId: true
routes: #配置网关路由规则
- id: cloud_uaa
uri: lb://${ibiz.ref.service.uaa:ibzuaa-api}
order: 10
predicates:
- Path=/v7/**,/uaa/**,/sysauthlogs
- id: ibizcloud_ou
uri: lb://${ibiz.ref.service.ou:ibzou-api}
order: 20
predicates:
- Path=/ibzemployees,/ibzemployees/**,/sysemployees,/sysemployees/**,/ibzdepartments,/ibzdepartments/**,/sysdepartments,/sysdepartments/**,/ibzorganizations,/ibzorganizations/**,/sysorganizations,/sysorganizations/**
- id: cloud_oss
uri: lb://${ibiz.ref.service.disk:ibzdisk-api}
order: 40
predicates:
- Path=/ibizutil/**,/net-disk/**
- id: cloud_conf
uri: lb://${ibiz.ref.service.conf:ibzuaa-api}
order: 50
predicates:
- Path=/configs/**
- id: cloud_dict
uri: lb://${ibiz.ref.service.dict:ibzdict-api}
order: 60
predicates:
- Path=/dictionar**/**
- id: cloud_workflow
uri: lb://${ibiz.ref.service.wf:ibzwf-api}
order: 30
predicates:
- Path=/wfcore/**
- id: gw-default-appdata
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 101
predicates:
- Path=/appdata
- id: ibizbook
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizbooks,/ibizbooks/**
- id: ibizsample0019
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0019s,/ibizsample0019s/**
- id: ibizsample0009
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0009s,/ibizsample0009s/**
- id: ibizcustom
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizcustoms,/ibizcustoms/**
- id: ibizhardware
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizhardwares,/ibizhardwares/**
- id: ibizsample0020
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0020s,/ibizsample0020s/**
- id: ibizsample0017
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0017s,/ibizsample0017s/**
- id: microcomponent
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/microcomponents,/microcomponents/**
- id: ibizsample0013
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0013s,/ibizsample0013s/**
- id: ibizorderdetail
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizorderdetails,/ibizorderdetails/**
- id: ibizsample0003
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0003s,/ibizsample0003s/**
- id: ibizsample0006
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0006s,/ibizsample0006s/**
- id: ibizsample0021
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0021s,/ibizsample0021s/**
- id: ibizappctrl
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizappctrls,/ibizappctrls/**
- id: ibizsoftwaresuit
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsoftwaresuits,/ibizsoftwaresuits/**
- id: ibiztaskteam
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibiztaskteams,/ibiztaskteams/**
- id: ibizsample0012
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0012s,/ibizsample0012s/**
- id: ibizordertype
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizordertypes,/ibizordertypes/**
- id: ibizsample0005
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0005s,/ibizsample0005s/**
- id: ibizappeditor
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizappeditors,/ibizappeditors/**
- id: ibizaccount
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizaccounts,/ibizaccounts/**
- id: ibizorder
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizorders,/ibizorders/**
- id: ibizsample
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsamples,/ibizsamples/**
- id: ibizcustomer
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizcustomers,/ibizcustomers/**
- id: ibizcustomermg
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizcustomermgs,/ibizcustomermgs/**
- id: ibizsample0014
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0014s,/ibizsample0014s/**
- id: ibizsample0010
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0010s,/ibizsample0010s/**
- id: ibizappview
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizappviews,/ibizappviews/**
- id: ibizsample0018
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0018s,/ibizsample0018s/**
- id: ibizsample0015
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0015s,/ibizsample0015s/**
- id: ibizsample0001
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0001s,/ibizsample0001s/**
- id: ibizcustomer_intf
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizcustomer_intfs,/ibizcustomer_intfs/**
- id: ibizsample0007
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0007s,/ibizsample0007s/**
- id: ibizsample0004
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0004s,/ibizsample0004s/**
- id: ibizsample0008
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0008s,/ibizsample0008s/**
- id: ibizappextendeditor
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizappextendeditors,/ibizappextendeditors/**
- id: ibizcpu
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizcpus,/ibizcpus/**
- id: ibizsample0002
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0002s,/ibizsample0002s/**
- id: ibizstorage
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizstorages,/ibizstorages/**
- id: ibizsupplier
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsuppliers,/ibizsuppliers/**
- id: ibiztask
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibiztasks,/ibiztasks/**
- id: dynadashboard
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/dynadashboards,/dynadashboards/**
- id: ibizuniproduct
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizuniproducts,/ibizuniproducts/**
- id: ibizsample0011
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0011s,/ibizsample0011s/**
- id: ibizsample0016
uri: lb://${ibiz.ref.service.demosys-demoapi:demosys-demoapi}
order: 200
predicates:
- Path=/ibizsample0016s,/ibizsample0016s/**
......@@ -171,22 +171,14 @@ export default class AppMessagePopover extends Vue {
* 点击标签事件
*/
public handleTag(data: any) {
if (!data) return;
const baseUrl: any = Environment.BaseUrl;
this.$http.get(baseUrl + `/wfcore/mytasks/${data.processDefinitionKey}/web/${data.processInstanceBusinessKey}/usertasks/${data.taskDefinitionKey}`).then((response: any) => {
const { status, data } = response;
if (status && status == 200) {
const url = data.substr(data.indexOf("#") + 1);
if(!data || !data.processDefinitionKey || !data.processInstanceBusinessKey || !data.taskDefinitionKey){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '参数不足,跳转失败' });
return;
}
const srfappde = (data.processDefinitionKey as string).split('-')[1];
const url = `/appwfdataredirectview?srfappde=${srfappde};srfappkey=${data.processInstanceBusinessKey};userTaskId=${data.taskDefinitionKey}`;
const indexPath = this.$viewTool.getIndexRoutePath(this.$route);
this.$router.push({ path: `${indexPath}${url}` });
} else {
const message = data.message ? data.message : '跳转失败';
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: message });
}
}).catch((error: any) => {
const message = error.message ? error.message : '跳转失败';
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: message });
})
}
/**
......
......@@ -111,22 +111,14 @@ export default class AppTodoList extends Vue {
* 处理点击
*/
public handleClick(data: any) {
if (!data) return;
const baseUrl: any = Environment.BaseUrl;
this.$http.get(baseUrl + `/wfcore/mytasks/${data.processDefinitionKey}/web/${data.processInstanceBusinessKey}/usertasks/${data.taskDefinitionKey}`).then((response: any) => {
const { status, data } = response;
if (status && status == 200) {
const url = data.substr(data.indexOf("#") + 1);
if(!data || !data.processDefinitionKey || !data.processInstanceBusinessKey || !data.taskDefinitionKey){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '参数不足,跳转失败' });
return;
}
const srfappde = (data.processDefinitionKey as string).split('-')[1];
const url = `/appwfdataredirectview?srfappde=${srfappde};srfappkey=${data.processInstanceBusinessKey};userTaskId=${data.taskDefinitionKey}`;
const indexPath = this.$viewTool.getIndexRoutePath(this.$route);
this.$router.push({ path: `${indexPath}${url}` });
} else {
const message = data.message ? data.message : '跳转失败';
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: message });
}
}).catch((error: any) => {
const message = error.message ? error.message : '跳转失败';
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: message });
})
}
/**
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 动态数据看板服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 账户服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 应用部件服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 编辑器服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 扩展编辑器服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 应用视图服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -7,7 +7,6 @@ import InitDataLogic from '@/service/ibizbook/init-data-logic';
import PrintLogic from '@/service/ibizbook/print-logic';
/**
* 图书服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 处理器服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 自定义服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 客户服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 客户管理服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 客户服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 硬件服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -4,7 +4,6 @@ import CountMoneyLogic from '@/service/ibizorder-detail/count-money-logic';
import GetUnitAndPriceLogic from '@/service/ibizorder-detail/get-unit-and-price-logic';
/**
* 订单明细服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 订单类型服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 订单服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 示例数据库服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 示例实体01服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 示例实体02服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 示例实体03服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 多版本流程服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 多模式流程服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 嵌套流程(主)服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 嵌套流程(子)服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 自循环流程服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 商品价格明细服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 订单服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 订单明细服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 订单服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 订单明细服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 员工服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 项目服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 项目成员服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 订单服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 示例实体18服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -3,7 +3,6 @@ import EntityService from '../entity-service';
import UpdateYGNameLogic from '@/service/ibizsample0019/update-ygname-logic';
/**
* 部门服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 员工服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 订单服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 软件服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 存储服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 供货商服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 任务服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 任务团队服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 统一产品(索引主实体)服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -2,7 +2,6 @@ import { Http,Util } from '@/utils';
import EntityService from '../entity-service';
/**
* 微组件服务对象基类
* 基于 APP/src/service/%DE_PKGPATH%/%DE_PKGPATH%-service-base.ts.ftl 生成
......
......@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1425,7 +1425,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1495,7 +1495,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1603,7 +1603,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1695,7 +1695,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -1805,7 +1805,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
}
const post: Promise<any> = Object.is(arg.srfuf, '1')?this.service.update(this.updateAction, JSON.parse(JSON.stringify(this.context)),arg, this.showBusyIndicator,true):this.service.add(this.createAction,JSON.parse(JSON.stringify(this.context)),arg, this.showBusyIndicator,true);
post.then((response:any) =>{
const responseData:any = response.data;
const responseData:any = response const responseData:any = response.data;
let tempResponseData:any = Util.deepCopy(response);
this.service.handleResponse('save', tempResponseData);
const arg:any = tempResponseData.data;
......
......@@ -2202,4 +2202,5 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
<style lang='less'>
@import './guide-view-form-form.less';
</style>uide-view-form-form.less';
</style>
\ No newline at end of file
......@@ -957,7 +957,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderDetailSGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1086,7 +1086,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1200,7 +1200,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2094,7 +2094,7 @@ export default class MainBase extends Vue implements ControlInterface {
try {
if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2103,7 +2103,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2179,7 +2179,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -97,7 +97,6 @@ export default class MainModel {
name: 'ibizorderdetail',
prop: 'ibizorderdetailid',
},
{
name:'size',
prop:'size',
......
......@@ -8,32 +8,12 @@ module.exports = {
publicPath: './',
// 去除 map 文件 1
productionSourceMap: false,
outputDir:"../demo-app/demo-app-web/target/classes/META-INF/resources",
devServer: {
host: '0.0.0.0',
port: 8111,
compress: true,
disableHostCheck: true,
// proxy: {
// '/v7/*':{
// target: 'http://172.16.240.110:10000/'
// },
// '/appdata':{
// target: 'http://172.16.240.110:10000/'
// },
// '/sysorganizations/*':{
// target: 'http://172.16.240.110:10000/'
// },
// '/wfcore/*': {
// target: 'http://172.16.103.157:40003/',
// pathRewrite:{
// "^/wfcore": ""
// }
// },
// '/': {
// target: 'http://172.16.103.157:51000/demosys/demoapi',
// },
// },
// proxy:"http://172.16.103.153:30093/",
historyApiFallback: {
rewrites: [
// { from: /^\/appindexview$/, to: '/appindexview.html' },
......
......@@ -11,51 +11,51 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns" : [ {
"caption" : "归还日期",
"codeName" : "returntime",
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press",
"name" : "press",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "借出日期",
"codeName" : "lendouttime",
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"name" : "lendouttime",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"caption" : "出版社",
"codeName" : "press",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"dataItemName" : "press",
"name" : "press",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"dataItemName" : "lendouttime",
"name" : "lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -19,6 +19,16 @@
}
} ],
"getPSDETreeColumns" : [ {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"name" : "subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
......@@ -38,16 +48,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"name" : "subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -34,51 +34,51 @@
"id" : "GANTT"
},
"getPSDETreeColumns" : [ {
"caption" : "归还日期",
"codeName" : "returntime",
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press",
"name" : "press",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "借出日期",
"codeName" : "lendouttime",
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime",
"name" : "lendouttime",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"caption" : "出版社",
"codeName" : "press",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"dataItemName" : "press",
"name" : "press",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"caption" : "借出日期",
"codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"dataItemName" : "lendouttime",
"name" : "lendouttime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -75,6 +75,16 @@
"id" : "TREEGRIDEX"
},
"getPSDETreeColumns" : [ {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"name" : "subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
......@@ -94,16 +104,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"name" : "subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册