提交 4fdc26a9 编写于 作者: RedPig97's avatar RedPig97

update: 项目重构

上级 d23212eb

要显示的变更太多。

为了保持性能,仅显示文件中的 1000/1000+

<template>
<div id='app'>
<router-view v-if="isRouterAlive"/>
</div>
</template>
+<script lang='ts'>
import { Vue, Component, Provide } from 'vue-property-decorator';
import store from '@/store';
import { LoadAppData } from '@/utils';
@Component({
})
export default class App extends Vue {
/**
* 控制视图是否显示
*/
public isRouterAlive:boolean = false;
/**
* 向后代注入加载行为
*/
@Provide()
public reload = this.viewreload;
/**
* vue生命周期
*/
public created(){
this.loadAppData();
}
/**
* 视图重新加载
*/
public viewreload () {
this.isRouterAlive = false;
this.$nextTick(function () {
this.isRouterAlive = true;
})
}
/**
* 视图加载代码表
*/
public async loadAppData(){
const _store:any = store;
if(_store.state && _store.state.codelists && _store.state.codelists.length >0){
this.isRouterAlive = true;
return;
}else{
await LoadAppData.getInstance().load(store);
this.isRouterAlive = true;
}
}
}
</script>
<style lang='less'>
@import './styles/default.less';
</style>
此差异已折叠。
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1616652640756" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="651" width="48" height="48" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M512 2C230.2 2 2 230.2 2 512s228.2 510 510 510 510-228.2 510-510S793.3 2 512 2z m235.9 442c-1 4.6-3.6 10.8-7.2 19.1l-0.5 0.5c-21.6 45.8-77.3 135.5-77.3 135.5l-0.5-0.5-16.5 28.3h78.8L574.3 826.8l34-136h-61.8l21.6-90.2c-17.5 4.1-38.1 9.8-62.3 18 0 0-33 19.1-94.8-37.1 0 0-41.7-37.1-17.5-45.8 10.3-4.1 50-8.8 81.4-12.9 42.2-5.7 68.5-8.8 68.5-8.8s-130.3 2.1-161.2-3.1c-30.9-4.6-70.1-56.7-78.3-102 0 0-12.9-24.7 27.8-12.9 40.2 11.8 209.2 45.8 209.2 45.8S321.4 375 307 358.5c-14.4-16.5-42.8-89.6-39.2-134.5 0 0 1.5-11.3 12.9-8.2 0 0 161.8 74.2 272.5 114.4C664.5 371.4 760.8 392 747.9 444z" fill="#3296FA" p-id="652"></path></svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="8px" height="8px" viewBox="0 0 8 8" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>错误</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="列表-导入数据-文件上传完成" transform="translate(-701.000000, -283.000000)" fill-rule="nonzero">
<g id="编组-33" transform="translate(411.000000, 200.000000)">
<g id="编组-28" transform="translate(290.000000, 80.000000)">
<g id="错误" transform="translate(0.000000, 3.000000)">
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="8" height="8"></rect>
<path d="M5.32710539,3.99998149 L6.84507188,2.48212949 C6.94422436,2.38297944 6.99992781,2.24850193 6.99992781,2.10828119 C6.99992781,1.96806046 6.94422436,1.83358295 6.84507188,1.7344329 L6.26554524,1.15501641 C6.05908708,0.948614421 5.72441082,0.948614421 5.51795266,1.15501641 L4.00009363,2.67276095 L2.48201968,1.15480149 C2.38285492,1.05566372 2.24836879,1 2.1081474,1 C1.96792602,1 1.83345589,1.05574268 1.73431964,1.15490895 L1.15490046,1.73421799 C1.05572164,1.83335405 1,1.9678368 1,2.10806628 C1,2.24829576 1.05572164,2.3827785 1.15490046,2.48191457 L2.67286695,3.99987403 L1.15490046,5.51794095 C1.05572164,5.61707701 1,5.75155976 1,5.89178924 C1,6.03201871 1.05572164,6.16650146 1.15490046,6.26563753 L1.73431964,6.84526894 C1.94086374,7.05156469 2.27547557,7.05156469 2.48201968,6.84526894 L3.99998617,5.32720202 L5.5178452,6.84526894 C5.72442616,7.05157702 6.05907174,7.05157702 6.2656527,6.84526894 L6.84517934,6.26563753 C7.05160689,6.05910658 7.05160689,5.72436443 6.84517934,5.51783349 L5.32710539,3.99998149 Z" id="路径" fill="#E22D2D"></path>
</g>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="41px" height="46px" viewBox="0 0 41 46" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>导入</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="列表-导入数据" transform="translate(-662.000000, -314.000000)" fill="#57A3FD" fill-rule="nonzero">
<g id="编组-20" transform="translate(411.000000, 200.000000)">
<g id="导入" transform="translate(251.000000, 114.000000)">
<path d="M28.0376544,3.76410323 L29.7766688,6.44368556 L13.239007,15.644894 L11.4999926,12.9647074 L28.0376544,3.76410323 Z M9.11219211,14.7380049 L12.3001824,14.7380049 L12.3001824,22.3302555 L9.11158406,20.5436659 L9.11219211,14.7380049 Z" id="形状"></path>
<path d="M0.00060804817,8.56257961 L21.8671937,19.2041768 L21.8671937,46 L0.00060804817,35.2816707 L0.00060804817,8.56257961 Z M2.27835205,12.0982991 L2.27835205,33.9010967 L19.5894497,42.3869442 L19.5894497,20.5841466 L2.277744,12.0982991 L2.27835205,12.0982991 Z" id="形状"></path>
<path d="M20.163446,0 L41,9.44953043 L21.7066692,19.2041768 L0,8.56257961 L20.163446,0 Z M20.1330436,2.44576083 L5.38912041,8.70758522 L21.69086,16.6992054 L35.8151834,9.55768043 L20.1336517,2.44636502 L20.1330436,2.44576083 Z" id="形状"></path>
<polygon id="路径" points="20.8207448 18.8332042 41 9.37884022 41 36.1746635 21.8671937 46"></polygon>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>链接</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="列表-导入数据-文件上传完成" transform="translate(-443.000000, -470.000000)" fill-rule="nonzero">
<g id="编组-33" transform="translate(411.000000, 200.000000)">
<g id="编组-21" transform="translate(32.000000, 246.000000)">
<g id="编组-18" transform="translate(0.000000, 21.000000)">
<g id="链接" transform="translate(0.000000, 3.000000)">
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="12" height="12"></rect>
<path d="M11.1405,1.071 L10.99425,0.924 C10.18275,0.1125 8.86725,0.1125 8.05575,0.924 L4.0155,4.965 C3.20325,5.7765 3.20325,7.09125 4.0155,7.9035 L4.1625,8.04975 C4.18725,8.0745 4.212,8.09775 4.23825,8.121 L5.346,7.0125 C5.316,6.99525 5.28825,6.9735 5.26425,6.948 L5.1165,6.801 C4.91475,6.5985 4.91475,6.26925 5.1165,6.06675 L5.26425,5.919 L6.219,4.965 L7.641,3.543 L9.1575,2.0265 C9.36075,1.824 9.6885,1.824 9.89175,2.0265 L10.03875,2.1735 C10.242,2.376 10.242,2.70525 10.03875,2.90775 L8.856,4.0905 C9.27,4.5855 9.43425,5.211 9.3525,5.7975 L11.1405,4.0095 C11.95275,3.198 11.95275,1.8825 11.1405,1.071 Z M8.2035,4.0095 L8.055,3.8625 C8.031,3.8385 8.0055,3.8145 7.98,3.792 L6.873,4.89825 C6.90075,4.91775 6.92775,4.9395 6.95325,4.965 L7.0995,5.112 C7.30275,5.31375 7.30275,5.64375 7.0995,5.84625 L6.65925,6.28725 L5.99925,6.948 L4.57725,8.37 L3.06,9.8865 C2.8575,10.08975 2.5275,10.08975 2.32575,9.8865 L2.17875,9.74025 C1.97625,9.53775 1.97625,9.20775 2.17875,9.00525 L3.4305,7.75425 C3.009,7.29075 2.8125,6.70275 2.84625,6.13275 L1.07625,7.9035 C0.264,8.71425 0.264,10.0305 1.07625,10.84125 L1.22325,10.9875 C2.03475,11.799 3.35025,11.799 4.16175,10.9875 L8.20275,6.94725 C9.0135,6.1365 9.0135,4.821 8.2035,4.0095 Z" id="形状" fill="#57A3FD"></path>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<svg width="8px" height="8px" viewBox="0 0 8 8" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>对勾</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="列表-导入数据-文件上传完成" transform="translate(-449.000000, -283.000000)" fill-rule="nonzero">
<g id="编组-33" transform="translate(411.000000, 200.000000)">
<g id="编组-27" transform="translate(38.000000, 80.000000)">
<g id="对勾" transform="translate(0.000000, 3.000000)">
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="8" height="8"></rect>
<path d="M3.30402372e-13,5.33257243 C3.30402372e-13,5.33257243 2.03169794,6.1761155 3.04160137,8 C4.25460894,5.74294272 6.58297755,3.63765154 7.27272727,3.48194744 C7.27272727,2.54788794 7.27272727,2.1637215 7.27272727,0.727272727 C4.49362734,2.55115723 3.15913288,5.90953621 3.15913288,5.90953621 L1.69706055,4.36364049 L3.30402372e-13,5.33257243 Z" id="路径" fill="#49C81F"></path>
<path d="M3.30402372e-13,5.33257243 C3.30402372e-13,5.33257243 2.03169794,6.1761155 3.04160137,8 C4.25460894,5.74294272 6.58297755,3.63765154 7.27272727,3.48194744 C7.27272727,2.54788794 7.27272727,2.1637215 7.27272727,0.727272727 C4.49362734,2.55115723 3.15913288,5.90953621 3.15913288,5.90953621 L1.69706055,4.36364049 L3.30402372e-13,5.33257243 Z" id="路径" fill="#49C81F"></path>
</g>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1616652700601" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="973" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48"><defs><style type="text/css"></style></defs><path d="M512 2c281.7 0 510 228.3 510 510s-228.3 510-510 510S2 793.7 2 512 230.3 2 512 2z m159.8 680.3c-4 3.9-4 10.2-0.2 14.1 0.4 0.5 0.9 0.9 1.5 1.2 22.1 20.4 36.4 47.9 40.4 77.7 6.2 22.4 29.7 35.7 52.4 29.5 22.5-5.9 35.9-28.9 30-51.3 0-0.1-0.1-0.2-0.1-0.4-4.7-16.8-19.3-29.1-36.7-30.8-28-5.1-53.5-19.2-72.8-40.1-4.1-3.8-10.5-3.8-14.5 0.1z m-225.7-483c-76.4 8.3-145.8 40.6-195.6 91-19.4 19.4-35.5 41.8-47.8 66.3-37.7 74.9-31.4 164.4 16.5 233.2 13.5 20.2 35.8 45.4 56.1 63.3l-9.2 71.3-1 3c-0.3 0.9-0.3 1.9-0.4 2.8l-0.2 2.3 0.2 2.3c1.2 12.7 12.5 22 25.2 20.9 3.5-0.3 6.8-1.4 9.8-3.1h0.4l1.4-1 22-10.8 65.5-32.5c31.1 8.8 63.4 13.2 95.8 13 40 0.1 79.8-6.7 117.5-20.2-18.8-6-30.9-24.3-29-44-39 12.4-80.2 16.4-120.8 11.9l-6.5-0.9c-14.7-1.9-29.2-4.9-43.4-8.9-7.8-2.4-16.1-1.5-23.3 2.4l-1.8 0.9-53.9 31.3-2.3 1.4c-1.3 0.7-1.9 1-2.6 1-2-0.1-3.5-1.8-3.4-3.8l2-8.2 2.4-8.9 3.9-14.7 4.5-16.4c3-9.2-0.3-19.2-8.2-24.8-21.1-15.5-39.5-34.4-54.4-56-37.9-54.2-43-124.8-13.3-183.8 9.9-19.5 22.9-37.4 38.4-52.9 40.9-41.6 98.3-68.1 161.9-74.9 22-2.4 44.2-2.4 66.2 0 63.2 7.2 120.4 34 161.1 75.4 15.4 15.7 28.2 33.6 37.9 53.2 12.5 24.8 19 52.3 19.1 80.1 0 2.9-0.3 5.8-0.4 8.6 16.8-10.2 38.4-7.7 52.4 6.1l1.9 2.3c3.3-41.2-4.8-82.5-23.3-119.5-12.1-24.5-28.1-46.8-47.3-66.3-52.5-52-121.4-84.3-194.9-91.7-26.4-3.4-52.9-3.5-79.1-0.7z m418.2 405.4c-7.2 1.9-13.8 5.7-19.2 11h-0.1c-6.9 6.8-11.2 15.7-12.2 25.3-5.2 27.8-19.5 53.1-40.5 72-4 3.8-4.1 10.1-0.3 14.1l0.1 0.1c4 4 10.5 4.1 14.6 0.1 0.5-0.5 0.9-0.9 1.2-1.5 20.9-21.9 48.7-36 78.7-39.8 22.8-6.1 36.2-29.2 30.1-51.6-6.2-22.5-29.6-35.8-52.4-29.7z m-160.4-42l-0.7 0.7c-20.9 22.7-49.2 37.3-79.9 41.2-22.6 5.9-36.2 28.7-30.2 51.1 1.9 7.3 5.9 14 11.3 19.3 16.7 16.4 43.7 16.4 60.4-0.1 6.8-6.8 11.1-15.7 12.2-25.2 5.3-27.8 19.6-53.1 40.7-72 4.1-3.7 4.5-10 0.9-14.1l-0.1-0.1c-4-4.2-10.4-4.5-14.6-0.8z m39.6-76.6c-7.1 1.9-13.6 5.7-18.7 10.8-16.4 16.2-16.6 42.6-0.4 59l0.5 0.5c6.9 6.8 15.9 11 25.5 12.1 28 5.1 53.6 19.1 72.9 39.9 4 4 10.4 4 14.4 0.1 4-3.8 4.1-10.1 0.3-14.1-0.5-0.5-1.1-1-1.7-1.4-22.1-20.4-36.4-47.8-40.4-77.6-6.1-22.4-29.6-35.5-52.4-29.3z" fill="#0082EF" p-id="974"></path></svg>
\ No newline at end of file
此差异已折叠。
此差异已折叠。
/**
* 实体权限服务注册中心
* 基于 APP/src/authservice/auth-service-register.ts.ftl 生成
* @export
* @class AuthServiceRegister
*/
export class AuthServiceRegister {
/**
* 所有实体权限服务Map
*
* @protected
* @type {*}
* @memberof AuthServiceRegister
*/
protected allAuthService: Map<string, () => Promise<any>> = new Map();
/**
* 已加载实体权限服务Map缓存
*
* @protected
* @type {Map<string, any>}
* @memberof AuthServiceRegister
*/
protected serviceCache: Map<string, any> = new Map();
/**
* Creates an instance of AuthServiceRegister.
* @memberof AuthServiceRegister
*/
constructor() {
this.init();
}
/**
* 初始化
*
* @protected
* @memberof AuthServiceRegister
*/
protected init(): void {
this.allAuthService.set('ibizbook', () => import('@/authservice/ibizbook/ibizbook-auth-service'));
this.allAuthService.set('ibizsample0019', () => import('@/authservice/ibizsample0019/ibizsample0019-auth-service'));
this.allAuthService.set('ibizsample0009', () => import('@/authservice/ibizsample0009/ibizsample0009-auth-service'));
this.allAuthService.set('ibizcustom', () => import('@/authservice/ibizcustom/ibizcustom-auth-service'));
this.allAuthService.set('ibizhardware', () => import('@/authservice/ibizhardware/ibizhardware-auth-service'));
this.allAuthService.set('ibizsample0020', () => import('@/authservice/ibizsample0020/ibizsample0020-auth-service'));
this.allAuthService.set('ibizsample0017', () => import('@/authservice/ibizsample0017/ibizsample0017-auth-service'));
this.allAuthService.set('microcomponent', () => import('@/authservice/micro-component/micro-component-auth-service'));
this.allAuthService.set('ibizsample0013', () => import('@/authservice/ibizsample0013/ibizsample0013-auth-service'));
this.allAuthService.set('ibizorderdetail', () => import('@/authservice/ibizorder-detail/ibizorder-detail-auth-service'));
this.allAuthService.set('ibizsample0003', () => import('@/authservice/ibizsample0003/ibizsample0003-auth-service'));
this.allAuthService.set('ibizsample0006', () => import('@/authservice/ibizsample0006/ibizsample0006-auth-service'));
this.allAuthService.set('ibizsample0021', () => import('@/authservice/ibizsample0021/ibizsample0021-auth-service'));
this.allAuthService.set('ibizappctrl', () => import('@/authservice/ibizappctrl/ibizappctrl-auth-service'));
this.allAuthService.set('ibizsoftwaresuit', () => import('@/authservice/ibizsoftware-suit/ibizsoftware-suit-auth-service'));
this.allAuthService.set('ibiztaskteam', () => import('@/authservice/ibiztaskteam/ibiztaskteam-auth-service'));
this.allAuthService.set('ibizsample0012', () => import('@/authservice/ibizsample0012/ibizsample0012-auth-service'));
this.allAuthService.set('ibizordertype', () => import('@/authservice/ibizorder-type/ibizorder-type-auth-service'));
this.allAuthService.set('ibizsample0005', () => import('@/authservice/ibizsample0005/ibizsample0005-auth-service'));
this.allAuthService.set('ibizappeditor', () => import('@/authservice/ibizappeditor/ibizappeditor-auth-service'));
this.allAuthService.set('ibizaccount', () => import('@/authservice/ibizaccount/ibizaccount-auth-service'));
this.allAuthService.set('ibizorder', () => import('@/authservice/ibizorder/ibizorder-auth-service'));
this.allAuthService.set('ibizsample', () => import('@/authservice/ibizsample/ibizsample-auth-service'));
this.allAuthService.set('ibizcustomer', () => import('@/authservice/ibizcustomer/ibizcustomer-auth-service'));
this.allAuthService.set('ibizcustomermg', () => import('@/authservice/ibizcustomer-mg/ibizcustomer-mg-auth-service'));
this.allAuthService.set('ibizsample0014', () => import('@/authservice/ibizsample0014/ibizsample0014-auth-service'));
this.allAuthService.set('ibizsample0010', () => import('@/authservice/ibizsample0010/ibizsample0010-auth-service'));
this.allAuthService.set('ibizappview', () => import('@/authservice/ibizappview/ibizappview-auth-service'));
this.allAuthService.set('ibizsample0018', () => import('@/authservice/ibizsample0018/ibizsample0018-auth-service'));
this.allAuthService.set('ibizsample0015', () => import('@/authservice/ibizsample0015/ibizsample0015-auth-service'));
this.allAuthService.set('ibizsample0001', () => import('@/authservice/ibizsample0001/ibizsample0001-auth-service'));
this.allAuthService.set('ibizcustomer_intf', () => import('@/authservice/ibizcustomer-intf/ibizcustomer-intf-auth-service'));
this.allAuthService.set('ibizsample0007', () => import('@/authservice/ibizsample0007/ibizsample0007-auth-service'));
this.allAuthService.set('ibizsample0004', () => import('@/authservice/ibizsample0004/ibizsample0004-auth-service'));
this.allAuthService.set('ibizsample0008', () => import('@/authservice/ibizsample0008/ibizsample0008-auth-service'));
this.allAuthService.set('ibizappextendeditor', () => import('@/authservice/ibizappextendeditor/ibizappextendeditor-auth-service'));
this.allAuthService.set('ibizcpu', () => import('@/authservice/ibizcpu/ibizcpu-auth-service'));
this.allAuthService.set('ibizsample0002', () => import('@/authservice/ibizsample0002/ibizsample0002-auth-service'));
this.allAuthService.set('ibizstorage', () => import('@/authservice/ibizstorage/ibizstorage-auth-service'));
this.allAuthService.set('ibizsupplier', () => import('@/authservice/ibizsupplier/ibizsupplier-auth-service'));
this.allAuthService.set('ibiztask', () => import('@/authservice/ibiztask/ibiztask-auth-service'));
this.allAuthService.set('dynadashboard', () => import('@/authservice/dynadashboard/dynadashboard-auth-service'));
this.allAuthService.set('ibizuniproduct', () => import('@/authservice/ibizuniproduct/ibizuniproduct-auth-service'));
this.allAuthService.set('ibizsample0011', () => import('@/authservice/ibizsample0011/ibizsample0011-auth-service'));
this.allAuthService.set('ibizsample0016', () => import('@/authservice/ibizsample0016/ibizsample0016-auth-service'));
}
/**
* 加载实体权限服务
*
* @protected
* @param {string} serviceName
* @returns {Promise<any>}
* @memberof AuthServiceRegister
*/
protected async loadService(serviceName: string): Promise<any> {
const service = this.allAuthService.get(serviceName);
if (service) {
return service();
}
}
/**
* 获取应用实体权限服务
*
* @param {string} name
* @returns {Promise<any>}
* @memberof AuthServiceRegister
*/
public async getService(name: string): Promise<any> {
if (this.serviceCache.has(name)) {
return this.serviceCache.get(name);
}
const authService: any = await this.loadService(name);
if (authService && authService.default) {
const instance: any = new authService.default();
this.serviceCache.set(name, instance);
return instance;
}
}
}
export const authServiceRegister: AuthServiceRegister = new AuthServiceRegister();
\ No newline at end of file
import store from '@/store';
import { Environment } from '@/environments/environment';
/**
* 实体权限服务
* 基于 APP/src/authservice/auth-service.ts.ftl 生成
* @export
* @class AuthService
*/
export default class AuthService {
/**
* Vue 状态管理器
*
* @public
* @type {(any | null)}
* @memberof AuthService
*/
public $store: any;
/**
* 系统操作标识映射统一资源Map
*
* @public
* @type {Map<string,any>}
* @memberof AuthService
*/
public sysOPPrivsMap:Map<string,any> = new Map();
/**
* 默认操作标识
*
* @public
* @type {(any)}
* @memberof AuthService
*/
public defaultOPPrivs: any = {CREATE: 1,DELETE: 1,DENY: 1,NONE: 1,READ: 1,SRFUR__SYSTEM: 1,UPDATE: 1,WFSTART: 1};
/**
* Creates an instance of AuthService.
*
* @param {*} [opts={}]
* @memberof AuthService
*/
constructor(opts: any = {}) {
this.$store = store;
this.registerSysOPPrivs();
}
/**
* 获取状态管理器
*
* @returns {(any | null)}
* @memberof AuthService
*/
public getStore(): any {
return this.$store;
}
/**
* 获取计算统一资源之后的系统操作标识
*
* @returns {}
* @memberof AuthService
*/
public getSysOPPrivs(){
let copySysOPPrivs:any = JSON.parse(JSON.stringify(this.defaultOPPrivs));
if(Object.keys(copySysOPPrivs).length === 0) return {};
Object.keys(copySysOPPrivs).forEach((name:any) =>{
if(this.sysOPPrivsMap.get(name)){
copySysOPPrivs[name] = this.getResourcePermission(this.sysOPPrivsMap.get(name))?1:0;
}
})
return copySysOPPrivs;
}
/**
* 获取实体权限服务
*
* @param {string} name 实体名称
* @returns {Promise<any>}
* @memberof AuthService
*/
public getService(name: string): Promise<any> {
return (window as any)['authServiceRegister'].getService(name);
}
/**
* 注册系统操作标识统一资源
*
* @param {string} name 实体名称
* @returns {Promise<any>}
* @memberof AuthService
*/
public registerSysOPPrivs(){
this.sysOPPrivsMap.set('SRFUR__SYSTEM','SYSTEM');
}
/**
* 根据当前数据获取实体操作标识
*
* @param {string} name 实体名称
* @returns {any}
* @memberof AuthService
*/
public getOPPrivs(data: any): any {
return null;
}
/**
* 根据菜单项获取菜单权限
*
* @param {*} item 菜单标识
* @returns {boolean}
* @memberof AuthService
*/
public getMenusPermission(item: any): boolean {
if(!this.$store.getters['authresource/getEnablePermissionValid']) {
return true;
}
if(Object.is(Environment.menuPermissionMode,"RT")){
return this.$store.getters['authresource/getAuthMenuWithRT'](item);
}else if(Object.is(Environment.menuPermissionMode,"RESOURCE")){
return this.$store.getters['authresource/getAuthMenuWithResource'](item);
}else{
return this.$store.getters['authresource/getAuthMenu'](item);
}
}
/**
* 根据统一资源标识获取统一资源权限
*
* @param {*} tag 统一资源标识
* @returns {boolean}
* @memberof AuthService
*/
public getResourcePermission(tag: any): boolean {
if(!this.$store.getters['authresource/getEnablePermissionValid']) {
return true;
}
return this.$store.getters['authresource/getResourceData'](tag);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 动态数据看板权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class DYNADASHBOARDAuthServiceBase
* @extends {AuthService}
*/
export default class DYNADASHBOARDAuthServiceBase extends AuthService {
/**
* Creates an instance of DYNADASHBOARDAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof DYNADASHBOARDAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof DYNADASHBOARDAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import DYNADASHBOARDAuthServiceBase from './dynadashboard-auth-service-base';
/**
* 动态数据看板权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class DYNADASHBOARDAuthService
* @extends {DYNADASHBOARDAuthServiceBase}
*/
export default class DYNADASHBOARDAuthService extends DYNADASHBOARDAuthServiceBase {
/**
* Creates an instance of DYNADASHBOARDAuthService.
*
* @param {*} [opts={}]
* @memberof DYNADASHBOARDAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 账户权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZAccountAuthServiceBase
* @extends {AuthService}
*/
export default class IBIZAccountAuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZAccountAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZAccountAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZAccountAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZAccountAuthServiceBase from './ibizaccount-auth-service-base';
/**
* 账户权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZAccountAuthService
* @extends {IBIZAccountAuthServiceBase}
*/
export default class IBIZAccountAuthService extends IBIZAccountAuthServiceBase {
/**
* Creates an instance of IBIZAccountAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZAccountAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 应用部件权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZAPPCTRLAuthServiceBase
* @extends {AuthService}
*/
export default class IBIZAPPCTRLAuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZAPPCTRLAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZAPPCTRLAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZAPPCTRLAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZAPPCTRLAuthServiceBase from './ibizappctrl-auth-service-base';
/**
* 应用部件权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZAPPCTRLAuthService
* @extends {IBIZAPPCTRLAuthServiceBase}
*/
export default class IBIZAPPCTRLAuthService extends IBIZAPPCTRLAuthServiceBase {
/**
* Creates an instance of IBIZAPPCTRLAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZAPPCTRLAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 编辑器权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZAPPEDITORAuthServiceBase
* @extends {AuthService}
*/
export default class IBIZAPPEDITORAuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZAPPEDITORAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZAPPEDITORAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZAPPEDITORAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZAPPEDITORAuthServiceBase from './ibizappeditor-auth-service-base';
/**
* 编辑器权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZAPPEDITORAuthService
* @extends {IBIZAPPEDITORAuthServiceBase}
*/
export default class IBIZAPPEDITORAuthService extends IBIZAPPEDITORAuthServiceBase {
/**
* Creates an instance of IBIZAPPEDITORAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZAPPEDITORAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 扩展编辑器权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZAPPEXTENDEDITORAuthServiceBase
* @extends {AuthService}
*/
export default class IBIZAPPEXTENDEDITORAuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZAPPEXTENDEDITORAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZAPPEXTENDEDITORAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZAPPEXTENDEDITORAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZAPPEXTENDEDITORAuthServiceBase from './ibizappextendeditor-auth-service-base';
/**
* 扩展编辑器权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZAPPEXTENDEDITORAuthService
* @extends {IBIZAPPEXTENDEDITORAuthServiceBase}
*/
export default class IBIZAPPEXTENDEDITORAuthService extends IBIZAPPEXTENDEDITORAuthServiceBase {
/**
* Creates an instance of IBIZAPPEXTENDEDITORAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZAPPEXTENDEDITORAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 应用视图权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZAPPVIEWAuthServiceBase
* @extends {AuthService}
*/
export default class IBIZAPPVIEWAuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZAPPVIEWAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZAPPVIEWAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZAPPVIEWAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZAPPVIEWAuthServiceBase from './ibizappview-auth-service-base';
/**
* 应用视图权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZAPPVIEWAuthService
* @extends {IBIZAPPVIEWAuthServiceBase}
*/
export default class IBIZAPPVIEWAuthService extends IBIZAPPVIEWAuthServiceBase {
/**
* Creates an instance of IBIZAPPVIEWAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZAPPVIEWAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 图书权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZBOOKAuthServiceBase
* @extends {AuthService}
*/
export default class IBIZBOOKAuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZBOOKAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZBOOKAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZBOOKAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZBOOKAuthServiceBase from './ibizbook-auth-service-base';
/**
* 图书权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZBOOKAuthService
* @extends {IBIZBOOKAuthServiceBase}
*/
export default class IBIZBOOKAuthService extends IBIZBOOKAuthServiceBase {
/**
* Creates an instance of IBIZBOOKAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZBOOKAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 处理器权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZCPUAuthServiceBase
* @extends {AuthService}
*/
export default class IBIZCPUAuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZCPUAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZCPUAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZCPUAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZCPUAuthServiceBase from './ibizcpu-auth-service-base';
/**
* 处理器权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZCPUAuthService
* @extends {IBIZCPUAuthServiceBase}
*/
export default class IBIZCPUAuthService extends IBIZCPUAuthServiceBase {
/**
* Creates an instance of IBIZCPUAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZCPUAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 自定义权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZCustomAuthServiceBase
* @extends {AuthService}
*/
export default class IBIZCustomAuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZCustomAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZCustomAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZCustomAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZCustomAuthServiceBase from './ibizcustom-auth-service-base';
/**
* 自定义权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZCustomAuthService
* @extends {IBIZCustomAuthServiceBase}
*/
export default class IBIZCustomAuthService extends IBIZCustomAuthServiceBase {
/**
* Creates an instance of IBIZCustomAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZCustomAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 客户权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZCustomer_INTFAuthServiceBase
* @extends {AuthService}
*/
export default class IBIZCustomer_INTFAuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZCustomer_INTFAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZCustomer_INTFAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZCustomer_INTFAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZCustomer_INTFAuthServiceBase from './ibizcustomer-intf-auth-service-base';
/**
* 客户权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZCustomer_INTFAuthService
* @extends {IBIZCustomer_INTFAuthServiceBase}
*/
export default class IBIZCustomer_INTFAuthService extends IBIZCustomer_INTFAuthServiceBase {
/**
* Creates an instance of IBIZCustomer_INTFAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZCustomer_INTFAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 客户管理权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZCustomerMGAuthServiceBase
* @extends {AuthService}
*/
export default class IBIZCustomerMGAuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZCustomerMGAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZCustomerMGAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZCustomerMGAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZCustomerMGAuthServiceBase from './ibizcustomer-mg-auth-service-base';
/**
* 客户管理权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZCustomerMGAuthService
* @extends {IBIZCustomerMGAuthServiceBase}
*/
export default class IBIZCustomerMGAuthService extends IBIZCustomerMGAuthServiceBase {
/**
* Creates an instance of IBIZCustomerMGAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZCustomerMGAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 客户权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZCustomerAuthServiceBase
* @extends {AuthService}
*/
export default class IBIZCustomerAuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZCustomerAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZCustomerAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZCustomerAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZCustomerAuthServiceBase from './ibizcustomer-auth-service-base';
/**
* 客户权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZCustomerAuthService
* @extends {IBIZCustomerAuthServiceBase}
*/
export default class IBIZCustomerAuthService extends IBIZCustomerAuthServiceBase {
/**
* Creates an instance of IBIZCustomerAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZCustomerAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 硬件权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZHardwareAuthServiceBase
* @extends {AuthService}
*/
export default class IBIZHardwareAuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZHardwareAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZHardwareAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZHardwareAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZHardwareAuthServiceBase from './ibizhardware-auth-service-base';
/**
* 硬件权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZHardwareAuthService
* @extends {IBIZHardwareAuthServiceBase}
*/
export default class IBIZHardwareAuthService extends IBIZHardwareAuthServiceBase {
/**
* Creates an instance of IBIZHardwareAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZHardwareAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 订单明细权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZOrderDetailAuthServiceBase
* @extends {AuthService}
*/
export default class IBIZOrderDetailAuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZOrderDetailAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZOrderDetailAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZOrderDetailAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZOrderDetailAuthServiceBase from './ibizorder-detail-auth-service-base';
/**
* 订单明细权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZOrderDetailAuthService
* @extends {IBIZOrderDetailAuthServiceBase}
*/
export default class IBIZOrderDetailAuthService extends IBIZOrderDetailAuthServiceBase {
/**
* Creates an instance of IBIZOrderDetailAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZOrderDetailAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 订单类型权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZOrderTypeAuthServiceBase
* @extends {AuthService}
*/
export default class IBIZOrderTypeAuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZOrderTypeAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZOrderTypeAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZOrderTypeAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZOrderTypeAuthServiceBase from './ibizorder-type-auth-service-base';
/**
* 订单类型权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZOrderTypeAuthService
* @extends {IBIZOrderTypeAuthServiceBase}
*/
export default class IBIZOrderTypeAuthService extends IBIZOrderTypeAuthServiceBase {
/**
* Creates an instance of IBIZOrderTypeAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZOrderTypeAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 订单权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZOrderAuthServiceBase
* @extends {AuthService}
*/
export default class IBIZOrderAuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZOrderAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZOrderAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZOrderAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZOrderAuthServiceBase from './ibizorder-auth-service-base';
/**
* 订单权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZOrderAuthService
* @extends {IBIZOrderAuthServiceBase}
*/
export default class IBIZOrderAuthService extends IBIZOrderAuthServiceBase {
/**
* Creates an instance of IBIZOrderAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZOrderAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 示例数据库权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSampleAuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSampleAuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSampleAuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSampleAuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSampleAuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSampleAuthServiceBase from './ibizsample-auth-service-base';
/**
* 示例数据库权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSampleAuthService
* @extends {IBIZSampleAuthServiceBase}
*/
export default class IBIZSampleAuthService extends IBIZSampleAuthServiceBase {
/**
* Creates an instance of IBIZSampleAuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSampleAuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 示例实体01权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0001AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0001AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0001AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0001AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0001AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0001AuthServiceBase from './ibizsample0001-auth-service-base';
/**
* 示例实体01权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0001AuthService
* @extends {IBIZSample0001AuthServiceBase}
*/
export default class IBIZSample0001AuthService extends IBIZSample0001AuthServiceBase {
/**
* Creates an instance of IBIZSample0001AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0001AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 示例实体02权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0002AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0002AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0002AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0002AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0002AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0002AuthServiceBase from './ibizsample0002-auth-service-base';
/**
* 示例实体02权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0002AuthService
* @extends {IBIZSample0002AuthServiceBase}
*/
export default class IBIZSample0002AuthService extends IBIZSample0002AuthServiceBase {
/**
* Creates an instance of IBIZSample0002AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0002AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 示例实体03权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0003AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0003AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0003AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0003AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0003AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0003AuthServiceBase from './ibizsample0003-auth-service-base';
/**
* 示例实体03权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0003AuthService
* @extends {IBIZSample0003AuthServiceBase}
*/
export default class IBIZSample0003AuthService extends IBIZSample0003AuthServiceBase {
/**
* Creates an instance of IBIZSample0003AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0003AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 多版本流程权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0004AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0004AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0004AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0004AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0004AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0004AuthServiceBase from './ibizsample0004-auth-service-base';
/**
* 多版本流程权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0004AuthService
* @extends {IBIZSample0004AuthServiceBase}
*/
export default class IBIZSample0004AuthService extends IBIZSample0004AuthServiceBase {
/**
* Creates an instance of IBIZSample0004AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0004AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 多模式流程权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0005AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0005AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0005AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0005AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0005AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0005AuthServiceBase from './ibizsample0005-auth-service-base';
/**
* 多模式流程权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0005AuthService
* @extends {IBIZSample0005AuthServiceBase}
*/
export default class IBIZSample0005AuthService extends IBIZSample0005AuthServiceBase {
/**
* Creates an instance of IBIZSample0005AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0005AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 嵌套流程(主)权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0006AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0006AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0006AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0006AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0006AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0006AuthServiceBase from './ibizsample0006-auth-service-base';
/**
* 嵌套流程(主)权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0006AuthService
* @extends {IBIZSample0006AuthServiceBase}
*/
export default class IBIZSample0006AuthService extends IBIZSample0006AuthServiceBase {
/**
* Creates an instance of IBIZSample0006AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0006AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 嵌套流程(子)权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0007AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0007AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0007AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0007AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0007AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0007AuthServiceBase from './ibizsample0007-auth-service-base';
/**
* 嵌套流程(子)权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0007AuthService
* @extends {IBIZSample0007AuthServiceBase}
*/
export default class IBIZSample0007AuthService extends IBIZSample0007AuthServiceBase {
/**
* Creates an instance of IBIZSample0007AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0007AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 自循环流程权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0008AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0008AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0008AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0008AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0008AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0008AuthServiceBase from './ibizsample0008-auth-service-base';
/**
* 自循环流程权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0008AuthService
* @extends {IBIZSample0008AuthServiceBase}
*/
export default class IBIZSample0008AuthService extends IBIZSample0008AuthServiceBase {
/**
* Creates an instance of IBIZSample0008AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0008AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 商品价格明细权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0009AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0009AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0009AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0009AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0009AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0009AuthServiceBase from './ibizsample0009-auth-service-base';
/**
* 商品价格明细权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0009AuthService
* @extends {IBIZSample0009AuthServiceBase}
*/
export default class IBIZSample0009AuthService extends IBIZSample0009AuthServiceBase {
/**
* Creates an instance of IBIZSample0009AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0009AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 订单权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0010AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0010AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0010AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0010AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0010AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0010AuthServiceBase from './ibizsample0010-auth-service-base';
/**
* 订单权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0010AuthService
* @extends {IBIZSample0010AuthServiceBase}
*/
export default class IBIZSample0010AuthService extends IBIZSample0010AuthServiceBase {
/**
* Creates an instance of IBIZSample0010AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0010AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 订单明细权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0011AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0011AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0011AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0011AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0011AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0011AuthServiceBase from './ibizsample0011-auth-service-base';
/**
* 订单明细权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0011AuthService
* @extends {IBIZSample0011AuthServiceBase}
*/
export default class IBIZSample0011AuthService extends IBIZSample0011AuthServiceBase {
/**
* Creates an instance of IBIZSample0011AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0011AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 订单权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0012AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0012AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0012AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0012AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0012AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0012AuthServiceBase from './ibizsample0012-auth-service-base';
/**
* 订单权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0012AuthService
* @extends {IBIZSample0012AuthServiceBase}
*/
export default class IBIZSample0012AuthService extends IBIZSample0012AuthServiceBase {
/**
* Creates an instance of IBIZSample0012AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0012AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 订单明细权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0013AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0013AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0013AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0013AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0013AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0013AuthServiceBase from './ibizsample0013-auth-service-base';
/**
* 订单明细权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0013AuthService
* @extends {IBIZSample0013AuthServiceBase}
*/
export default class IBIZSample0013AuthService extends IBIZSample0013AuthServiceBase {
/**
* Creates an instance of IBIZSample0013AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0013AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 员工权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0014AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0014AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0014AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0014AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0014AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0014AuthServiceBase from './ibizsample0014-auth-service-base';
/**
* 员工权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0014AuthService
* @extends {IBIZSample0014AuthServiceBase}
*/
export default class IBIZSample0014AuthService extends IBIZSample0014AuthServiceBase {
/**
* Creates an instance of IBIZSample0014AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0014AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 项目权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0015AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0015AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0015AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0015AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0015AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0015AuthServiceBase from './ibizsample0015-auth-service-base';
/**
* 项目权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0015AuthService
* @extends {IBIZSample0015AuthServiceBase}
*/
export default class IBIZSample0015AuthService extends IBIZSample0015AuthServiceBase {
/**
* Creates an instance of IBIZSample0015AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0015AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 项目成员权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0016AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0016AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0016AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0016AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0016AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0016AuthServiceBase from './ibizsample0016-auth-service-base';
/**
* 项目成员权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0016AuthService
* @extends {IBIZSample0016AuthServiceBase}
*/
export default class IBIZSample0016AuthService extends IBIZSample0016AuthServiceBase {
/**
* Creates an instance of IBIZSample0016AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0016AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 订单权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0017AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0017AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0017AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0017AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0017AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0017AuthServiceBase from './ibizsample0017-auth-service-base';
/**
* 订单权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0017AuthService
* @extends {IBIZSample0017AuthServiceBase}
*/
export default class IBIZSample0017AuthService extends IBIZSample0017AuthServiceBase {
/**
* Creates an instance of IBIZSample0017AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0017AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 示例实体18权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0018AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0018AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0018AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0018AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0018AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
import IBIZSample0018AuthServiceBase from './ibizsample0018-auth-service-base';
/**
* 示例实体18权限服务对象
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service.ts.ftl 生成
* @export
* @class IBIZSample0018AuthService
* @extends {IBIZSample0018AuthServiceBase}
*/
export default class IBIZSample0018AuthService extends IBIZSample0018AuthServiceBase {
/**
* Creates an instance of IBIZSample0018AuthService.
*
* @param {*} [opts={}]
* @memberof IBIZSample0018AuthService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
import AuthService from '../auth-service';
/**
* 部门权限服务对象基类
* 基于 APP/src/authservice/%DE_PKGPATH%/%DE_PKGPATH%-auth-service-base.ts.ftl 生成
* @export
* @class IBIZSample0019AuthServiceBase
* @extends {AuthService}
*/
export default class IBIZSample0019AuthServiceBase extends AuthService {
/**
* Creates an instance of IBIZSample0019AuthServiceBase.
*
* @param {*} [opts={}]
* @memberof IBIZSample0019AuthServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 根据当前数据获取实体操作标识
*
* @param {*} mainSateOPPrivs 传入数据操作标识
* @returns {any}
* @memberof IBIZSample0019AuthServiceBase
*/
public getOPPrivs(mainSateOPPrivs:any):any{
let curDefaultOPPrivs:any = this.getSysOPPrivs();
let copyDefaultOPPrivs:any = JSON.parse(JSON.stringify(curDefaultOPPrivs));
if(mainSateOPPrivs){
Object.assign(curDefaultOPPrivs,mainSateOPPrivs);
}
// 统一资源优先
Object.keys(curDefaultOPPrivs).forEach((name:string) => {
if(this.sysOPPrivsMap.get(name) && copyDefaultOPPrivs[name] === 0){
curDefaultOPPrivs[name] = copyDefaultOPPrivs[name];
}
});
return curDefaultOPPrivs;
}
}
\ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册