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

ibiz4j 发布系统代码

上级 22042f4f
[ [
{ {
"srfkey": "YesNo",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "是",
"text": "是",
"class":"",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
, {
"id": "0",
"label": "否",
"text": "否",
"class":"",
"data":"",
"codename":"Item_0",
"value": "0",
"disabled": false
}
]
},
{
"srfkey": "AppType",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "INNER",
"label": "内置应用",
"text": "内置应用",
"class":"",
"data":"",
"codename":"Inner",
"value": "INNER",
"disabled": false
}
, {
"id": "THIRD-PARTY",
"label": "第三方应用",
"text": "第三方应用",
"class":"",
"data":"",
"codename":"Third_SUB_party",
"value": "THIRD-PARTY",
"disabled": false
}
]
},
{
"srfkey": "OpenAccessType", "srfkey": "OpenAccessType",
"emptytext": "未定义", "emptytext": "未定义",
"codelisttype":"static", "codelisttype":"static",
...@@ -108,6 +50,35 @@ ...@@ -108,6 +50,35 @@
} }
] ]
}, },
{
"srfkey": "YesNo",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "是",
"text": "是",
"class":"",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
, {
"id": "0",
"label": "否",
"text": "否",
"class":"",
"data":"",
"codename":"Item_0",
"value": "0",
"disabled": false
}
]
},
{ {
"srfkey": "CLAuthCode", "srfkey": "CLAuthCode",
"emptytext": "未定义", "emptytext": "未定义",
...@@ -169,6 +140,35 @@ ...@@ -169,6 +140,35 @@
"color": "rgba(0, 72, 255, 1)", "color": "rgba(0, 72, 255, 1)",
"value": "403.6", "value": "403.6",
"disabled": false
}
]
},
{
"srfkey": "AppType",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "INNER",
"label": "内置应用",
"text": "内置应用",
"class":"",
"data":"",
"codename":"Inner",
"value": "INNER",
"disabled": false
}
, {
"id": "THIRD-PARTY",
"label": "第三方应用",
"text": "第三方应用",
"class":"",
"data":"",
"codename":"Third_SUB_party",
"value": "THIRD-PARTY",
"disabled": false "disabled": false
} }
] ]
......
...@@ -39,14 +39,14 @@ export class AuthServiceRegister { ...@@ -39,14 +39,14 @@ export class AuthServiceRegister {
* @memberof AuthServiceRegister * @memberof AuthServiceRegister
*/ */
protected init(): void { protected init(): void {
this.allAuthService.set('sysopenaccess', () => import('@/authservice/sys-open-access/sys-open-access-auth-service')); this.allAuthService.set('sysrolepermission', () => import('@/authservice/sys-role-permission/sys-role-permission-auth-service'));
this.allAuthService.set('sysuser', () => import('@/authservice/sys-user/sys-user-auth-service'));
this.allAuthService.set('sysauthlog', () => import('@/authservice/sys-auth-log/sys-auth-log-auth-service')); this.allAuthService.set('sysauthlog', () => import('@/authservice/sys-auth-log/sys-auth-log-auth-service'));
this.allAuthService.set('sysapp', () => import('@/authservice/sys-app/sys-app-auth-service')); this.allAuthService.set('sysopenaccess', () => import('@/authservice/sys-open-access/sys-open-access-auth-service'));
this.allAuthService.set('sysrolepermission', () => import('@/authservice/sys-role-permission/sys-role-permission-auth-service'));
this.allAuthService.set('syspermission', () => import('@/authservice/sys-permission/sys-permission-auth-service'));
this.allAuthService.set('sysuserrole', () => import('@/authservice/sys-user-role/sys-user-role-auth-service')); this.allAuthService.set('sysuserrole', () => import('@/authservice/sys-user-role/sys-user-role-auth-service'));
this.allAuthService.set('sysuser', () => import('@/authservice/sys-user/sys-user-auth-service'));
this.allAuthService.set('sysrole', () => import('@/authservice/sys-role/sys-role-auth-service')); this.allAuthService.set('sysrole', () => import('@/authservice/sys-role/sys-role-auth-service'));
this.allAuthService.set('syspermission', () => import('@/authservice/sys-permission/sys-permission-auth-service'));
this.allAuthService.set('sysapp', () => import('@/authservice/sys-app/sys-app-auth-service'));
} }
/** /**
......
...@@ -112,9 +112,6 @@ export default class AuthService { ...@@ -112,9 +112,6 @@ export default class AuthService {
* @memberof AuthService * @memberof AuthService
*/ */
public getMenusPermission(item: any): boolean { public getMenusPermission(item: any): boolean {
if(!this.$store.getters['authresource/getEnablePermissionValid']) {
return true;
}
return this.$store.getters['authresource/getAuthMenu'](item); return this.$store.getters['authresource/getAuthMenu'](item);
} }
...@@ -126,9 +123,6 @@ export default class AuthService { ...@@ -126,9 +123,6 @@ export default class AuthService {
* @memberof AuthService * @memberof AuthService
*/ */
public getResourcePermission(tag: any): boolean { public getResourcePermission(tag: any): boolean {
if(!this.$store.getters['authresource/getEnablePermissionValid']) {
return true;
}
return this.$store.getters['authresource/getResourceData'](tag); return this.$store.getters['authresource/getResourceData'](tag);
} }
......
...@@ -100,37 +100,39 @@ export default class AppActionBar extends Vue { ...@@ -100,37 +100,39 @@ export default class AppActionBar extends Vue {
* @memberof AppActionBar * @memberof AppActionBar
*/ */
public calcActionItemAuthState(data:any,ActionModel:any,UIService:any){ public calcActionItemAuthState(data:any,ActionModel:any,UIService:any){
for (const key in ActionModel) { if(Environment.enablePermissionValid){
if (!ActionModel.hasOwnProperty(key)) { for (const key in ActionModel) {
return; if (!ActionModel.hasOwnProperty(key)) {
} return;
const _item = ActionModel[key]; }
if(_item && _item['dataaccaction'] && UIService){ const _item = ActionModel[key];
let dataActionResult:any; if(_item && _item['dataaccaction'] && UIService){
if(Object.is(_item['actiontarget'],"NONE")){ let dataActionResult:any;
dataActionResult = UIService.getResourceOPPrivs(_item['dataaccaction']); if(Object.is(_item['actiontarget'],"NONE")){
}else{ dataActionResult = UIService.getResourceOPPrivs(_item['dataaccaction']);
if(data && Object.keys(data).length >0){ }else{
dataActionResult = UIService.getAllOPPrivs(data)[_item['dataaccaction']]; if(data && Object.keys(data).length >0){
} dataActionResult = UIService.getAllOPPrivs(data)[_item['dataaccaction']];
} }
// 无权限:0;有权限:1 }
if(dataActionResult === 0){ // 无权限:0;有权限:1
// 禁用:1;隐藏:2;隐藏且默认隐藏:6 if(dataActionResult === 0){
if(_item.noprivdisplaymode === 1){ // 禁用:1;隐藏:2;隐藏且默认隐藏:6
_item.disabled = true; if(_item.noprivdisplaymode === 1){
} _item.disabled = true;
if((_item.noprivdisplaymode === 2) || (_item.noprivdisplaymode === 6)){ }
_item.visabled = false; if((_item.noprivdisplaymode === 2) || (_item.noprivdisplaymode === 6)){
}else{ _item.visabled = false;
_item.visabled = true; }else{
} _item.visabled = true;
} }
if(dataActionResult === 1){ }
_item.visabled = true; if(dataActionResult === 1){
_item.disabled = false; _item.visabled = true;
} _item.disabled = false;
} }
}
}
} }
} }
......
...@@ -18,7 +18,4 @@ ...@@ -18,7 +18,4 @@
font-family: '微软雅黑','黑体','宋体'; font-family: '微软雅黑','黑体','宋体';
font-size: 16px; font-size: 16px;
} }
.progress {
margin-top: -15px;
}
} }
\ No newline at end of file
<template> <template>
<div class="app-data-upload-view" v-loading.fullscreen="isUploading" element-loading-background="rgba(57, 57, 57, 0.2)"> <div class="app-data-upload-view">
<el-row style="margin-top:24px" :gutter="20"> <el-row style="margin-top:24px" :gutter="20">
<el-col :span="4"> <el-col :span="4">
<el-button type="primary" @click="handleUpLoad">{{$t('components.appDataUploadView.selectfile')}}</el-button> <el-button type="primary" @click="handleUpLoad">{{$t('components.appDataUploadView.selectfile')}}</el-button>
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
</el-col> </el-col>
</el-row> </el-row>
<el-divider></el-divider> <el-divider></el-divider>
<el-progress class="progress" v-show="isUploading" :text-inside="true" :stroke-width="14" :percentage="uploadProgress"></el-progress>
<el-row style="height:480px;padding: 0px 12px;"> <el-row style="height:480px;padding: 0px 12px;">
<div class="data-info-content" > <div class="data-info-content" >
<template v-if="importDataArray.length >0 && isUploading === false"> <template v-if="importDataArray.length >0 && isUploading === false">
...@@ -51,7 +50,6 @@ import XLSX from 'xlsx'; ...@@ -51,7 +50,6 @@ import XLSX from 'xlsx';
import CodeListService from "@service/app/codelist-service"; import CodeListService from "@service/app/codelist-service";
import EntityService from '@/service/entity-service'; import EntityService from '@/service/entity-service';
import { Vue, Component, Prop, Provide, Emit, Watch } from 'vue-property-decorator'; import { Vue, Component, Prop, Provide, Emit, Watch } from 'vue-property-decorator';
import { Environment } from '@/environments/environment';
@Component({ @Component({
}) })
...@@ -193,22 +191,6 @@ export default class AppDataUploadView extends Vue { ...@@ -193,22 +191,6 @@ export default class AppDataUploadView extends Vue {
* @memberof AppDataUploadView * @memberof AppDataUploadView
*/ */
public allFieldMap:Map<string,any> = new Map(); public allFieldMap:Map<string,any> = new Map();
/**
* 上传服务器数据切片数
*
* @type {number}
* @memberof AppDataUploadView
*/
public sliceUploadCnt: number = Environment.sliceUploadCnt;
/**
* 上传服务器进度条百分比
*
* @type {number}
* @memberof AppDataUploadView
*/
public uploadProgress: number = 0;
/** /**
* 视图参数变化 * 视图参数变化
...@@ -300,29 +282,10 @@ export default class AppDataUploadView extends Vue { ...@@ -300,29 +282,10 @@ export default class AppDataUploadView extends Vue {
this.transformData(this.importDataArray,tempDataArray); this.transformData(this.importDataArray,tempDataArray);
this.hasImported = true; this.hasImported = true;
this.isUploading = true; this.isUploading = true;
this.uploadProgress = 0;
this.importDataArray = []; this.importDataArray = [];
this.sliceUploadService(tempDataArray, 0);
}
/**
* 数据切片上传
*
* @memberof AppDataUploadView
*/
public sliceUploadService(dataArray: Array<any>, cnt: number) {
if(cnt > dataArray.length) {
this.isUploading = false;
this.uploadProgress = 100;
return;
}
let sliceArray: Array<any> = [];
if(dataArray) {
sliceArray = dataArray.slice(cnt, cnt+this.sliceUploadCnt);
}
try{ try{
this.entityService.getService(this.viewparams.serviceName).then((service:any) =>{ this.entityService.getService(this.viewparams.serviceName).then((service:any) =>{
service.ImportData(this.viewdata,{name:this.importId,importData:sliceArray}).then((res:any) =>{ service.ImportData(this.viewdata,{name:this.importId,importData:tempDataArray}).then((res:any) =>{
const result:any = res.data; const result:any = res.data;
if(result && result.rst !== 0){ if(result && result.rst !== 0){
this.promptInfo = (this.$t('components.appDataUploadView.importfailed') as string); this.promptInfo = (this.$t('components.appDataUploadView.importfailed') as string);
...@@ -331,8 +294,7 @@ export default class AppDataUploadView extends Vue { ...@@ -331,8 +294,7 @@ export default class AppDataUploadView extends Vue {
} }
this.importSuccessData = result.data; this.importSuccessData = result.data;
this.promptInfo = (this.$t('components.appDataUploadView.completed') as string); this.promptInfo = (this.$t('components.appDataUploadView.completed') as string);
this.uploadProgress = Number((cnt / dataArray.length * 100).toFixed(2)); this.isUploading = false;
this.sliceUploadService(dataArray, cnt + this.sliceUploadCnt);
}).catch((error:any) =>{ }).catch((error:any) =>{
this.isUploading = false; this.isUploading = false;
this.promptInfo = (this.$t('components.appDataUploadView.importfailed') as string); this.promptInfo = (this.$t('components.appDataUploadView.importfailed') as string);
...@@ -349,6 +311,7 @@ export default class AppDataUploadView extends Vue { ...@@ -349,6 +311,7 @@ export default class AppDataUploadView extends Vue {
console.error(error); console.error(error);
}; };
} }
/** /**
* 导出excel * 导出excel
* *
......
...@@ -158,36 +158,38 @@ export default class AppFormGroup extends Vue { ...@@ -158,36 +158,38 @@ export default class AppFormGroup extends Vue {
* @memberof AppFormGroup * @memberof AppFormGroup
*/ */
public calcActionItemAuthState(data:any,ActionModel:any,UIService:any){ public calcActionItemAuthState(data:any,ActionModel:any,UIService:any){
for (const key in ActionModel) { if(Environment.enablePermissionValid){
if (!ActionModel.hasOwnProperty(key)) { for (const key in ActionModel) {
return; if (!ActionModel.hasOwnProperty(key)) {
} return;
const _item = ActionModel[key];
if(_item && _item['dataaccaction'] && UIService){
let dataActionResult:any;
if(Object.is(_item['actiontarget'],"NONE")){
dataActionResult = UIService.getResourceOPPrivs(_item['dataaccaction']);
}else{
if(data && Object.keys(data).length >0){
dataActionResult = UIService.getAllOPPrivs(data)[_item['dataaccaction']];
}
} }
// 无权限:0;有权限:1 const _item = ActionModel[key];
if(dataActionResult === 0){ if(_item && _item['dataaccaction'] && UIService){
// 禁用:1;隐藏:2;隐藏且默认隐藏:6 let dataActionResult:any;
if(_item.noprivdisplaymode === 1){ if(Object.is(_item['actiontarget'],"NONE")){
_item.disabled = true; dataActionResult = UIService.getResourceOPPrivs(_item['dataaccaction']);
}
if((_item.noprivdisplaymode === 2) || (_item.noprivdisplaymode === 6)){
_item.visabled = false;
}else{ }else{
if(data && Object.keys(data).length >0){
dataActionResult = UIService.getAllOPPrivs(data)[_item['dataaccaction']];
}
}
// 无权限:0;有权限:1
if(dataActionResult === 0){
// 禁用:1;隐藏:2;隐藏且默认隐藏:6
if(_item.noprivdisplaymode === 1){
_item.disabled = true;
}
if((_item.noprivdisplaymode === 2) || (_item.noprivdisplaymode === 6)){
_item.visabled = false;
}else{
_item.visabled = true;
}
}
if(dataActionResult === 1){
_item.visabled = true; _item.visabled = true;
_item.disabled = false;
} }
} }
if(dataActionResult === 1){
_item.visabled = true;
_item.disabled = false;
}
} }
} }
} }
......
...@@ -41,7 +41,7 @@ export default class AppHeaderMenus extends Vue { ...@@ -41,7 +41,7 @@ export default class AppHeaderMenus extends Vue {
{ {
name: "ibizstudio", name: "ibizstudio",
title: "components.appHeaderMenus.ibizstudio.title", title: "components.appHeaderMenus.ibizstudio.title",
url: `${Environment.StudioUrl}?#/common_mosindex/srfkeys=${Environment.SysId}`, url: `${Environment.StudioUrl}?#/common_slnindex/srfkeys=${Environment.SlnId}/sysdesign_psdevslnsysmodeltreeexpview`,
iconcls: 'fa fa-wrench', iconcls: 'fa fa-wrench',
}, },
{ {
......
...@@ -214,8 +214,7 @@ export default class AppSpan extends Vue { ...@@ -214,8 +214,7 @@ export default class AppSpan extends Vue {
this.text = Number(number.toFixed(this.precision)).toLocaleString('en-US')+ ' '+ this.unitName; this.text = Number(number.toFixed(this.precision)).toLocaleString('en-US')+ ' '+ this.unitName;
}else if(Object.is(this.dataType,"FLOAT") || Object.is(this.dataType,"DECIMAL")){ }else if(Object.is(this.dataType,"FLOAT") || Object.is(this.dataType,"DECIMAL")){
let number:any = Number(this.value); let number:any = Number(this.value);
const decimalCnt:number = this.value.toString().split('.').length > 1 ? this.value.toString().split('.')[1].length : 0; this.text = number.toFixed(this.precision);
this.text = (Number(this.precision) === 0 && decimalCnt !== 0) ? number.toFixed(decimalCnt) : number.toFixed(this.precision);
}else { }else {
this.text = this.value; this.text = this.value;
} }
......
...@@ -293,13 +293,12 @@ export default class ContextMenuDrag extends Vue { ...@@ -293,13 +293,12 @@ export default class ContextMenuDrag extends Vue {
mounted() { mounted() {
let that: any = this; let that: any = this;
const get: Promise<any> = this.entityService.getAllApp(null,{}); const get: Promise<any> = this.entityService.getAllApp(null,{});
get.then((response: any) => { get
.then((response: any) => {
if (response) { if (response) {
that.list = response.data.model; that.list = response.data.model;
that.listFilter(); that.listFilter();
} }
}).catch((error:any) =>{
console.warn("加载数据错误")
}); });
} }
} }
......
...@@ -92,14 +92,6 @@ export default class ContextMenu extends Vue { ...@@ -92,14 +92,6 @@ export default class ContextMenu extends Vue {
*/ */
@Prop() @Prop()
public menus?: any[] public menus?: any[]
/**
* 是否阻止默认绘制上下文菜单
*
* @type {any}
* @memberof ContextMenu
*/
@Prop({default:false})
public isBlocked?:any;
/** /**
* 显示右键菜单 * 显示右键菜单
...@@ -203,10 +195,7 @@ export default class ContextMenu extends Vue { ...@@ -203,10 +195,7 @@ export default class ContextMenu extends Vue {
if (contextRef) { if (contextRef) {
contextRef.oncontextmenu = (event: MouseEvent) => { contextRef.oncontextmenu = (event: MouseEvent) => {
event.preventDefault(); event.preventDefault();
if(!this.isBlocked){ this.showContextMenu(event.clientX, event.clientY);
this.showContextMenu(event.clientX, event.clientY);
}
this.$emit("showContext",event);
}; };
} }
} }
......
import { Store } from 'vuex'; import { Store } from 'vuex';
import EntityService from '@/service/entity-service';
/** /**
* 计数器服务基类 * 计数器服务基类
...@@ -18,51 +16,6 @@ export default class CounterService { ...@@ -18,51 +16,6 @@ export default class CounterService {
* @memberof CounterService * @memberof CounterService
*/ */
private $store: Store<any> | null = null; private $store: Store<any> | null = null;
/**
* 当前计数器数据
*
* @protected
* @type {*}
* @memberof CounterService
*/
protected counterData:any ={};
/**
* 应用实体数据服务
*
* @protected
* @type {EntityService}
* @memberof CounterService
*/
protected appEntityService:EntityService = new EntityService();
/**
* 当前计数器导航上下文
*
* @protected
* @type {*}
* @memberof CounterService
*/
protected context:any ={};
/**
* 当前计数器导航参数
*
* @protected
* @type {*}
* @memberof CounterService
*/
protected viewparams:any ={};
/**
* 当前计数器定时器对象
*
* @protected
* @type {*}
* @memberof CounterService
*/
protected timer:any;
/** /**
* Creates an instance of CounterService. * Creates an instance of CounterService.
...@@ -72,8 +25,6 @@ export default class CounterService { ...@@ -72,8 +25,6 @@ export default class CounterService {
*/ */
constructor(opts: any = {}) { constructor(opts: any = {}) {
this.$store = opts.$store; this.$store = opts.$store;
this.context = opts.context?opts.context:{};
this.viewparams = opts.viewparams?opts.viewparams:{};
} }
/** /**
...@@ -98,13 +49,5 @@ export default class CounterService { ...@@ -98,13 +49,5 @@ export default class CounterService {
return (window as any)['counterServiceRegister'].getService(name); return (window as any)['counterServiceRegister'].getService(name);
} }
/**
* 销毁计数器
*
* @memberof ActionCounterCounterServiceBase
*/
public destroyCounter(){
if(this.timer) clearInterval(this.timer);
}
} }
\ No newline at end of file
...@@ -186,37 +186,39 @@ export default class ViewEngine { ...@@ -186,37 +186,39 @@ export default class ViewEngine {
* @memberof ViewEngine * @memberof ViewEngine
*/ */
public calcToolbarItemAuthState(data:any){ public calcToolbarItemAuthState(data:any){
const _this: any = this; if(Environment.enablePermissionValid){
for (const key in _this.view.toolBarModels) { const _this: any = this;
if (!_this.view.toolBarModels.hasOwnProperty(key)) { for (const key in _this.view.toolBarModels) {
return; if (!_this.view.toolBarModels.hasOwnProperty(key)) {
} return;
const _item = _this.view.toolBarModels[key];
if(_item && _item['dataaccaction'] && _this.view.appUIService){
let dataActionResult:any;
if (_item.uiaction && (Object.is(_item.uiaction.target, 'NONE'))){
dataActionResult = _this.view.appUIService.getResourceOPPrivs(_item['dataaccaction']);
}else{
if(data && Object.keys(data).length >0){
dataActionResult= _this.view.appUIService.getAllOPPrivs(data)[_item['dataaccaction']];
}
} }
// 无权限:0;有权限:1 const _item = _this.view.toolBarModels[key];
if(dataActionResult === 0){ if(_item && _item['dataaccaction'] && _this.view.appUIService){
// 禁用:1;隐藏:2;隐藏且默认隐藏:6 let dataActionResult:any;
if(_item.noprivdisplaymode === 1){ if (_item.uiaction && (Object.is(_item.uiaction.target, 'NONE'))){
_this.view.toolBarModels[key].disabled = true; dataActionResult = _this.view.appUIService.getResourceOPPrivs(_item['dataaccaction']);
}
if((_item.noprivdisplaymode === 2) || (_item.noprivdisplaymode === 6)){
_this.view.toolBarModels[key].visabled = false;
}else{ }else{
if(data && Object.keys(data).length >0){
dataActionResult= _this.view.appUIService.getAllOPPrivs(data)[_item['dataaccaction']];
}
}
// 无权限:0;有权限:1
if(dataActionResult === 0){
// 禁用:1;隐藏:2;隐藏且默认隐藏:6
if(_item.noprivdisplaymode === 1){
_this.view.toolBarModels[key].disabled = true;
}
if((_item.noprivdisplaymode === 2) || (_item.noprivdisplaymode === 6)){
_this.view.toolBarModels[key].visabled = false;
}else{
_this.view.toolBarModels[key].visabled = true;
}
}
if(dataActionResult === 1){
_this.view.toolBarModels[key].visabled = true; _this.view.toolBarModels[key].visabled = true;
_this.view.toolBarModels[key].disabled = false;
} }
} }
if(dataActionResult === 1){
_this.view.toolBarModels[key].visabled = true;
_this.view.toolBarModels[key].disabled = false;
}
} }
} }
} }
......
...@@ -15,8 +15,6 @@ export const Environment = { ...@@ -15,8 +15,6 @@ export const Environment = {
ExportFile: '/ibizutil/download', ExportFile: '/ibizutil/download',
// 文件上传 // 文件上传
UploadFile: '/ibizutil/upload', UploadFile: '/ibizutil/upload',
// 数据导入单次上传最大数量
sliceUploadCnt: 100,
// 是否为pc端应用 // 是否为pc端应用
isAppMode:true, isAppMode:true,
//统一地址 //统一地址
...@@ -38,7 +36,7 @@ export const Environment = { ...@@ -38,7 +36,7 @@ export const Environment = {
// 前端应用标识 // 前端应用标识
AppId: "6e0b7357169ef4eba84e1347ed94bd84", AppId: "6e0b7357169ef4eba84e1347ed94bd84",
// 项目发布文件地址 // 项目发布文件地址
PublishProjectUrl: 'http://oauth2:ymrzrgzh97axsgq_TjR3@labcs.ibizee.cn/ibiz4jteam/ibzuaa.git', PublishProjectUrl: 'http://oauth2:cTux_e7Aoz1PrasP5dDq@demo.ibizlab.cn/ibiz4jteam/ibzuaa.git',
// ibiz开放平台地址 // ibiz开放平台地址
ibizlabtUrl: 'https://www.ibizlab.cn', ibizlabtUrl: 'https://www.ibizlab.cn',
// ibiz论坛地址 // ibiz论坛地址
......
import sysopenaccess_en_US from '@locale/lanres/entities/sys-open-access/sys-open-access_en_US';
import sysauthlog_en_US from '@locale/lanres/entities/sys-auth-log/sys-auth-log_en_US';
import sysapp_en_US from '@locale/lanres/entities/sys-app/sys-app_en_US';
import sysrolepermission_en_US from '@locale/lanres/entities/sys-role-permission/sys-role-permission_en_US'; import sysrolepermission_en_US from '@locale/lanres/entities/sys-role-permission/sys-role-permission_en_US';
import syspermission_en_US from '@locale/lanres/entities/sys-permission/sys-permission_en_US';
import sysuserrole_en_US from '@locale/lanres/entities/sys-user-role/sys-user-role_en_US';
import sysuser_en_US from '@locale/lanres/entities/sys-user/sys-user_en_US'; import sysuser_en_US from '@locale/lanres/entities/sys-user/sys-user_en_US';
import sysauthlog_en_US from '@locale/lanres/entities/sys-auth-log/sys-auth-log_en_US';
import sysopenaccess_en_US from '@locale/lanres/entities/sys-open-access/sys-open-access_en_US';
import sysuserrole_en_US from '@locale/lanres/entities/sys-user-role/sys-user-role_en_US';
import sysrole_en_US from '@locale/lanres/entities/sys-role/sys-role_en_US'; import sysrole_en_US from '@locale/lanres/entities/sys-role/sys-role_en_US';
import syspermission_en_US from '@locale/lanres/entities/sys-permission/sys-permission_en_US';
import sysapp_en_US from '@locale/lanres/entities/sys-app/sys-app_en_US';
import components_en_US from '@locale/lanres/components/components_en_US'; import components_en_US from '@locale/lanres/components/components_en_US';
import codelist_en_US from '@locale/lanres/codelist/codelist_en_US'; import codelist_en_US from '@locale/lanres/codelist/codelist_en_US';
import userCustom_en_US from '@locale/lanres/userCustom/userCustom_en_US'; import userCustom_en_US from '@locale/lanres/userCustom/userCustom_en_US';
...@@ -225,14 +225,14 @@ export default { ...@@ -225,14 +225,14 @@ export default {
}, },
}, },
entities: { entities: {
sysopenaccess: sysopenaccess_en_US,
sysauthlog: sysauthlog_en_US,
sysapp: sysapp_en_US,
sysrolepermission: sysrolepermission_en_US, sysrolepermission: sysrolepermission_en_US,
syspermission: syspermission_en_US,
sysuserrole: sysuserrole_en_US,
sysuser: sysuser_en_US, sysuser: sysuser_en_US,
sysauthlog: sysauthlog_en_US,
sysopenaccess: sysopenaccess_en_US,
sysuserrole: sysuserrole_en_US,
sysrole: sysrole_en_US, sysrole: sysrole_en_US,
syspermission: syspermission_en_US,
sysapp: sysapp_en_US,
}, },
components: components_en_US, components: components_en_US,
codelist: codelist_en_US, codelist: codelist_en_US,
......
import sysopenaccess_zh_CN from '@locale/lanres/entities/sys-open-access/sys-open-access_zh_CN';
import sysauthlog_zh_CN from '@locale/lanres/entities/sys-auth-log/sys-auth-log_zh_CN';
import sysapp_zh_CN from '@locale/lanres/entities/sys-app/sys-app_zh_CN';
import sysrolepermission_zh_CN from '@locale/lanres/entities/sys-role-permission/sys-role-permission_zh_CN'; import sysrolepermission_zh_CN from '@locale/lanres/entities/sys-role-permission/sys-role-permission_zh_CN';
import syspermission_zh_CN from '@locale/lanres/entities/sys-permission/sys-permission_zh_CN';
import sysuserrole_zh_CN from '@locale/lanres/entities/sys-user-role/sys-user-role_zh_CN';
import sysuser_zh_CN from '@locale/lanres/entities/sys-user/sys-user_zh_CN'; import sysuser_zh_CN from '@locale/lanres/entities/sys-user/sys-user_zh_CN';
import sysauthlog_zh_CN from '@locale/lanres/entities/sys-auth-log/sys-auth-log_zh_CN';
import sysopenaccess_zh_CN from '@locale/lanres/entities/sys-open-access/sys-open-access_zh_CN';
import sysuserrole_zh_CN from '@locale/lanres/entities/sys-user-role/sys-user-role_zh_CN';
import sysrole_zh_CN from '@locale/lanres/entities/sys-role/sys-role_zh_CN'; import sysrole_zh_CN from '@locale/lanres/entities/sys-role/sys-role_zh_CN';
import syspermission_zh_CN from '@locale/lanres/entities/sys-permission/sys-permission_zh_CN';
import sysapp_zh_CN from '@locale/lanres/entities/sys-app/sys-app_zh_CN';
import components_zh_CN from '@locale/lanres/components/components_zh_CN'; import components_zh_CN from '@locale/lanres/components/components_zh_CN';
import codelist_zh_CN from '@locale/lanres/codelist/codelist_zh_CN'; import codelist_zh_CN from '@locale/lanres/codelist/codelist_zh_CN';
import userCustom_zh_CN from '@locale/lanres/userCustom/userCustom_zh_CN'; import userCustom_zh_CN from '@locale/lanres/userCustom/userCustom_zh_CN';
...@@ -224,14 +224,14 @@ export default { ...@@ -224,14 +224,14 @@ export default {
}, },
}, },
entities: { entities: {
sysopenaccess: sysopenaccess_zh_CN,
sysauthlog: sysauthlog_zh_CN,
sysapp: sysapp_zh_CN,
sysrolepermission: sysrolepermission_zh_CN, sysrolepermission: sysrolepermission_zh_CN,
syspermission: syspermission_zh_CN,
sysuserrole: sysuserrole_zh_CN,
sysuser: sysuser_zh_CN, sysuser: sysuser_zh_CN,
sysauthlog: sysauthlog_zh_CN,
sysopenaccess: sysopenaccess_zh_CN,
sysuserrole: sysuserrole_zh_CN,
sysrole: sysrole_zh_CN, sysrole: sysrole_zh_CN,
syspermission: syspermission_zh_CN,
sysapp: sysapp_zh_CN,
}, },
components: components_zh_CN, components: components_zh_CN,
codelist: codelist_zh_CN, codelist: codelist_zh_CN,
......
export default { export default {
YesNo: {
"1": "是",
"0": "否",
"empty": ""
},
AppType: {
"INNER": "内置应用",
"THIRD-PARTY": "第三方应用",
"empty": ""
},
OpenAccessType: { OpenAccessType: {
"aliyun": "阿里云", "aliyun": "阿里云",
"wechat": "微信开放平台", "wechat": "微信开放平台",
...@@ -16,6 +6,11 @@ export default { ...@@ -16,6 +6,11 @@ export default {
"dingtalk": "钉钉开放平台", "dingtalk": "钉钉开放平台",
"empty": "" "empty": ""
}, },
YesNo: {
"1": "是",
"0": "否",
"empty": ""
},
CLAuthCode: { CLAuthCode: {
"200": "成功", "200": "成功",
"400": "用户不存在", "400": "用户不存在",
...@@ -24,4 +19,9 @@ export default { ...@@ -24,4 +19,9 @@ export default {
"403.6": "地址被拒绝", "403.6": "地址被拒绝",
"empty": "" "empty": ""
}, },
AppType: {
"INNER": "内置应用",
"THIRD-PARTY": "第三方应用",
"empty": ""
},
}; };
\ No newline at end of file
export default { export default {
YesNo: {
"1": "是",
"0": "否",
"empty": "",
},
AppType: {
"INNER": "内置应用",
"THIRD-PARTY": "第三方应用",
"empty": "",
},
OpenAccessType: { OpenAccessType: {
"aliyun": "阿里云", "aliyun": "阿里云",
"wechat": "微信开放平台", "wechat": "微信开放平台",
...@@ -16,6 +6,11 @@ export default { ...@@ -16,6 +6,11 @@ export default {
"dingtalk": "钉钉开放平台", "dingtalk": "钉钉开放平台",
"empty": "", "empty": "",
}, },
YesNo: {
"1": "是",
"0": "否",
"empty": "",
},
CLAuthCode: { CLAuthCode: {
"200": "成功", "200": "成功",
"400": "用户不存在", "400": "用户不存在",
...@@ -24,4 +19,9 @@ export default { ...@@ -24,4 +19,9 @@ export default {
"403.6": "地址被拒绝", "403.6": "地址被拒绝",
"empty": "", "empty": "",
}, },
AppType: {
"INNER": "内置应用",
"THIRD-PARTY": "第三方应用",
"empty": "",
},
}; };
\ No newline at end of file
...@@ -12,11 +12,11 @@ export default { ...@@ -12,11 +12,11 @@ export default {
addr: "地址", addr: "地址",
}, },
views: { views: {
editview: { gridview: {
caption: "接入应用", caption: "接入应用",
title: "接入应用", title: "接入应用",
}, },
gridview: { editview: {
caption: "接入应用", caption: "接入应用",
title: "接入应用", title: "接入应用",
}, },
......
...@@ -11,11 +11,11 @@ export default { ...@@ -11,11 +11,11 @@ export default {
addr: "地址", addr: "地址",
}, },
views: { views: {
editview: { gridview: {
caption: "接入应用", caption: "接入应用",
title: "接入应用", title: "接入应用",
}, },
gridview: { editview: {
caption: "接入应用", caption: "接入应用",
title: "接入应用", title: "接入应用",
}, },
......
...@@ -10,34 +10,34 @@ export default { ...@@ -10,34 +10,34 @@ export default {
updatedate: "更新时间", updatedate: "更新时间",
}, },
views: { views: {
gridview: {
caption: "权限/资源",
title: "权限表表格视图",
},
editview2: { editview2: {
caption: "权限/资源", caption: "权限/资源",
title: "权限表编辑视图", title: "权限表编辑视图",
}, },
pickupview: { gridview: {
caption: "权限/资源", caption: "权限/资源",
title: "权限表数据选择视图", title: "权限表表格视图",
}, },
pickupgridview: { pickupview: {
caption: "权限/资源", caption: "权限/资源",
title: "权限表选择表格视图", title: "权限表数据选择视图",
}, },
mpickupview: { mpickupview: {
caption: "权限/资源", caption: "权限/资源",
title: "权限表数据多项选择视图", title: "权限表数据多项选择视图",
}, },
redirectview: { pickupgridview: {
caption: "权限/资源", caption: "权限/资源",
title: "权限表数据重定向视图", title: "权限表选择表格视图",
}, },
editview: { editview: {
caption: "权限/资源", caption: "权限/资源",
title: "权限表编辑视图", title: "权限表编辑视图",
}, },
redirectview: {
caption: "权限/资源",
title: "权限表数据重定向视图",
},
}, },
main_form: { main_form: {
details: { details: {
...@@ -71,7 +71,7 @@ export default { ...@@ -71,7 +71,7 @@ export default {
uiactions: { uiactions: {
}, },
}, },
editviewtoolbar_toolbar: { editview2toolbar_toolbar: {
tbitem3: { tbitem3: {
caption: "Save", caption: "Save",
tip: "Save", tip: "Save",
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
tip: "Filter", tip: "Filter",
}, },
}, },
editview2toolbar_toolbar: { editviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: "Save", caption: "Save",
tip: "Save", tip: "Save",
......
...@@ -9,34 +9,34 @@ export default { ...@@ -9,34 +9,34 @@ export default {
updatedate: "更新时间", updatedate: "更新时间",
}, },
views: { views: {
gridview: {
caption: "权限/资源",
title: "权限表表格视图",
},
editview2: { editview2: {
caption: "权限/资源", caption: "权限/资源",
title: "权限表编辑视图", title: "权限表编辑视图",
}, },
pickupview: { gridview: {
caption: "权限/资源", caption: "权限/资源",
title: "权限表数据选择视图", title: "权限表表格视图",
}, },
pickupgridview: { pickupview: {
caption: "权限/资源", caption: "权限/资源",
title: "权限表选择表格视图", title: "权限表数据选择视图",
}, },
mpickupview: { mpickupview: {
caption: "权限/资源", caption: "权限/资源",
title: "权限表数据多项选择视图", title: "权限表数据多项选择视图",
}, },
redirectview: { pickupgridview: {
caption: "权限/资源", caption: "权限/资源",
title: "权限表数据重定向视图", title: "权限表选择表格视图",
}, },
editview: { editview: {
caption: "权限/资源", caption: "权限/资源",
title: "权限表编辑视图", title: "权限表编辑视图",
}, },
redirectview: {
caption: "权限/资源",
title: "权限表数据重定向视图",
},
}, },
main_form: { main_form: {
details: { details: {
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
uiactions: { uiactions: {
}, },
}, },
editviewtoolbar_toolbar: { editview2toolbar_toolbar: {
tbitem3: { tbitem3: {
caption: "保存", caption: "保存",
tip: "保存", tip: "保存",
...@@ -134,7 +134,7 @@ export default { ...@@ -134,7 +134,7 @@ export default {
tip: "过滤", tip: "过滤",
}, },
}, },
editview2toolbar_toolbar: { editviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: "保存", caption: "保存",
tip: "保存", tip: "保存",
......
...@@ -12,37 +12,37 @@ export default { ...@@ -12,37 +12,37 @@ export default {
updatedate: "更新时间", updatedate: "更新时间",
}, },
views: { views: {
gridview: {
caption: "角色权限关系",
title: "角色权限关系表表格视图",
},
mpickupview: { mpickupview: {
caption: "角色权限关系", caption: "角色权限关系",
title: "角色权限关系表数据多项选择视图", title: "角色权限关系表数据多项选择视图",
}, },
redirectview: { pickupgridview: {
caption: "角色权限关系", caption: "角色权限关系",
title: "角色权限关系表数据重定向视图", title: "角色权限关系表选择表格视图",
}, },
gridview: { editview2: {
caption: "角色权限关系", caption: "角色权限关系",
title: "角色权限关系表表格视图", title: "角色权限关系表编辑视图",
}, },
pickupgridview: { redirectview: {
caption: "角色权限关系", caption: "角色权限关系",
title: "角色权限关系表选择表格视图", title: "角色权限关系表数据重定向视图",
}, },
pickupview: { customview: {
caption: "角色权限关系", caption: "角色权限关系",
title: "角色权限关系表数据选择视图", title: "角色权限关系自定义视图",
}, },
editview: { editview: {
caption: "角色权限关系", caption: "角色权限关系",
title: "角色权限关系表编辑视图", title: "角色权限关系表编辑视图",
}, },
editview2: { pickupview: {
caption: "角色权限关系",
title: "角色权限关系表编辑视图",
},
customview: {
caption: "角色权限关系", caption: "角色权限关系",
title: "角色权限关系自定义视图", title: "角色权限关系表数据选择视图",
}, },
}, },
main_form: { main_form: {
......
...@@ -11,37 +11,37 @@ export default { ...@@ -11,37 +11,37 @@ export default {
updatedate: "更新时间", updatedate: "更新时间",
}, },
views: { views: {
gridview: {
caption: "角色权限关系",
title: "角色权限关系表表格视图",
},
mpickupview: { mpickupview: {
caption: "角色权限关系", caption: "角色权限关系",
title: "角色权限关系表数据多项选择视图", title: "角色权限关系表数据多项选择视图",
}, },
redirectview: { pickupgridview: {
caption: "角色权限关系", caption: "角色权限关系",
title: "角色权限关系表数据重定向视图", title: "角色权限关系表选择表格视图",
}, },
gridview: { editview2: {
caption: "角色权限关系", caption: "角色权限关系",
title: "角色权限关系表表格视图", title: "角色权限关系表编辑视图",
}, },
pickupgridview: { redirectview: {
caption: "角色权限关系", caption: "角色权限关系",
title: "角色权限关系表选择表格视图", title: "角色权限关系表数据重定向视图",
}, },
pickupview: { customview: {
caption: "角色权限关系", caption: "角色权限关系",
title: "角色权限关系表数据选择视图", title: "角色权限关系自定义视图",
}, },
editview: { editview: {
caption: "角色权限关系", caption: "角色权限关系",
title: "角色权限关系表编辑视图", title: "角色权限关系表编辑视图",
}, },
editview2: { pickupview: {
caption: "角色权限关系",
title: "角色权限关系表编辑视图",
},
customview: {
caption: "角色权限关系", caption: "角色权限关系",
title: "角色权限关系自定义视图", title: "角色权限关系表数据选择视图",
}, },
}, },
main_form: { main_form: {
......
...@@ -12,15 +12,7 @@ export default { ...@@ -12,15 +12,7 @@ export default {
updateman: "更新人", updateman: "更新人",
}, },
views: { views: {
pickupgridview: { gridview: {
caption: "系统角色",
title: "角色选择表格视图",
},
editview2: {
caption: "角色",
title: "角色",
},
editview: {
caption: "角色", caption: "角色",
title: "角色", title: "角色",
}, },
...@@ -32,7 +24,15 @@ export default { ...@@ -32,7 +24,15 @@ export default {
caption: "系统角色", caption: "系统角色",
title: "角色数据重定向视图", title: "角色数据重定向视图",
}, },
gridview: { editview: {
caption: "角色",
title: "角色",
},
pickupgridview: {
caption: "系统角色",
title: "角色选择表格视图",
},
editview2: {
caption: "角色", caption: "角色",
title: "角色", title: "角色",
}, },
......
...@@ -11,15 +11,7 @@ export default { ...@@ -11,15 +11,7 @@ export default {
updateman: "更新人", updateman: "更新人",
}, },
views: { views: {
pickupgridview: { gridview: {
caption: "系统角色",
title: "角色选择表格视图",
},
editview2: {
caption: "角色",
title: "角色",
},
editview: {
caption: "角色", caption: "角色",
title: "角色", title: "角色",
}, },
...@@ -31,7 +23,15 @@ export default { ...@@ -31,7 +23,15 @@ export default {
caption: "系统角色", caption: "系统角色",
title: "角色数据重定向视图", title: "角色数据重定向视图",
}, },
gridview: { editview: {
caption: "角色",
title: "角色",
},
pickupgridview: {
caption: "系统角色",
title: "角色选择表格视图",
},
editview2: {
caption: "角色", caption: "角色",
title: "角色", title: "角色",
}, },
......
...@@ -13,33 +13,33 @@ export default { ...@@ -13,33 +13,33 @@ export default {
updatedate: "更新时间", updatedate: "更新时间",
}, },
views: { views: {
redirectview: { pickupview: {
caption: "用户角色关系", caption: "用户角色关系",
title: "用户角色关系表数据重定向视图", title: "用户角色关系表数据选择视图",
}, },
editview: { editview2: {
caption: "用户", caption: "用户",
title: "用户", title: "用户",
}, },
gridview: {
caption: "用户角色关系",
title: "用户角色关系表表格视图",
},
pickupgridview: { pickupgridview: {
caption: "用户角色关系", caption: "用户角色关系",
title: "用户角色关系表选择表格视图", title: "用户角色关系表选择表格视图",
}, },
mpickupview: { redirectview: {
caption: "用户角色关系", caption: "用户角色关系",
title: "用户角色关系表数据多项选择视图", title: "用户角色关系表数据重定向视图",
}, },
editview2: { editview: {
caption: "用户", caption: "用户",
title: "用户", title: "用户",
}, },
pickupview: { mpickupview: {
caption: "用户角色关系",
title: "用户角色关系表数据选择视图",
},
gridview: {
caption: "用户角色关系", caption: "用户角色关系",
title: "用户角色关系表表格视图", title: "用户角色关系表数据多项选择视图",
}, },
}, },
main_form: { main_form: {
......
...@@ -12,33 +12,33 @@ export default { ...@@ -12,33 +12,33 @@ export default {
updatedate: "更新时间", updatedate: "更新时间",
}, },
views: { views: {
redirectview: { pickupview: {
caption: "用户角色关系", caption: "用户角色关系",
title: "用户角色关系表数据重定向视图", title: "用户角色关系表数据选择视图",
}, },
editview: { editview2: {
caption: "用户", caption: "用户",
title: "用户", title: "用户",
}, },
gridview: {
caption: "用户角色关系",
title: "用户角色关系表表格视图",
},
pickupgridview: { pickupgridview: {
caption: "用户角色关系", caption: "用户角色关系",
title: "用户角色关系表选择表格视图", title: "用户角色关系表选择表格视图",
}, },
mpickupview: { redirectview: {
caption: "用户角色关系", caption: "用户角色关系",
title: "用户角色关系表数据多项选择视图", title: "用户角色关系表数据重定向视图",
}, },
editview2: { editview: {
caption: "用户", caption: "用户",
title: "用户", title: "用户",
}, },
pickupview: { mpickupview: {
caption: "用户角色关系",
title: "用户角色关系表数据选择视图",
},
gridview: {
caption: "用户角色关系", caption: "用户角色关系",
title: "用户角色关系表表格视图", title: "用户角色关系表数据多项选择视图",
}, },
}, },
main_form: { main_form: {
......
...@@ -4,8 +4,8 @@ export default { ...@@ -4,8 +4,8 @@ export default {
userid: "用户标识", userid: "用户标识",
username: "用户全局名", username: "用户全局名",
personname: "用户姓名", personname: "用户姓名",
password: "密码",
usercode: "用户工号", usercode: "用户工号",
password: "密码",
loginname: "登录名", loginname: "登录名",
domains: "区属", domains: "区属",
mdeptid: "主部门", mdeptid: "主部门",
...@@ -35,17 +35,21 @@ export default { ...@@ -35,17 +35,21 @@ export default {
superuser: "超级管理员", superuser: "超级管理员",
}, },
views: { views: {
gridview: {
caption: "用户",
title: "用户",
},
mpickupview: { mpickupview: {
caption: "系统用户", caption: "系统用户",
title: "用户表数据多项选择视图", title: "用户表数据多项选择视图",
}, },
editview2: { pickupview: {
caption: "系统用户", caption: "系统用户",
title: "用户表编辑视图", title: "用户表数据选择视图",
}, },
redirectview: { editview2: {
caption: "系统用户", caption: "系统用户",
title: "用户表数据重定向视图", title: "用户表编辑视图",
}, },
pickupgridview: { pickupgridview: {
caption: "系统用户", caption: "系统用户",
...@@ -55,13 +59,9 @@ export default { ...@@ -55,13 +59,9 @@ export default {
caption: "用户", caption: "用户",
title: "用户", title: "用户",
}, },
gridview: { redirectview: {
caption: "用户",
title: "用户",
},
pickupview: {
caption: "系统用户", caption: "系统用户",
title: "用户表数据选择视图", title: "用户表数据重定向视图",
}, },
}, },
main_form: { main_form: {
......
...@@ -3,8 +3,8 @@ export default { ...@@ -3,8 +3,8 @@ export default {
userid: "用户标识", userid: "用户标识",
username: "用户全局名", username: "用户全局名",
personname: "用户姓名", personname: "用户姓名",
password: "密码",
usercode: "用户工号", usercode: "用户工号",
password: "密码",
loginname: "登录名", loginname: "登录名",
domains: "区属", domains: "区属",
mdeptid: "主部门", mdeptid: "主部门",
...@@ -34,17 +34,21 @@ export default { ...@@ -34,17 +34,21 @@ export default {
superuser: "超级管理员", superuser: "超级管理员",
}, },
views: { views: {
gridview: {
caption: "用户",
title: "用户",
},
mpickupview: { mpickupview: {
caption: "系统用户", caption: "系统用户",
title: "用户表数据多项选择视图", title: "用户表数据多项选择视图",
}, },
editview2: { pickupview: {
caption: "系统用户", caption: "系统用户",
title: "用户表编辑视图", title: "用户表数据选择视图",
}, },
redirectview: { editview2: {
caption: "系统用户", caption: "系统用户",
title: "用户表数据重定向视图", title: "用户表编辑视图",
}, },
pickupgridview: { pickupgridview: {
caption: "系统用户", caption: "系统用户",
...@@ -54,13 +58,9 @@ export default { ...@@ -54,13 +58,9 @@ export default {
caption: "用户", caption: "用户",
title: "用户", title: "用户",
}, },
gridview: { redirectview: {
caption: "用户",
title: "用户",
},
pickupview: {
caption: "系统用户", caption: "系统用户",
title: "用户表数据选择视图", title: "用户表数据重定向视图",
}, },
}, },
main_form: { main_form: {
......
...@@ -11,7 +11,7 @@ mock.onGet('v7/mainappmenu').reply((config: any) => { ...@@ -11,7 +11,7 @@ mock.onGet('v7/mainappmenu').reply((config: any) => {
name: 'appmenu', name: 'appmenu',
items: [ items: [
{ {
id: 'f59655c22753740bbcf200f5cfee8a54', id: '4e5ae0f4c2068ebb778c0a4d375b1b57',
name: 'menuitem3', name: 'menuitem3',
text: '用户', text: '用户',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -29,7 +29,7 @@ mock.onGet('v7/mainappmenu').reply((config: any) => { ...@@ -29,7 +29,7 @@ mock.onGet('v7/mainappmenu').reply((config: any) => {
resourcetag: '', resourcetag: '',
}, },
{ {
id: 'db3e0d48d6e76a66784adc84edd90cdc', id: 'ca41663c49618c9183db99a85fcc0d5a',
name: 'menuitem6', name: 'menuitem6',
text: '角色', text: '角色',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -47,7 +47,7 @@ mock.onGet('v7/mainappmenu').reply((config: any) => { ...@@ -47,7 +47,7 @@ mock.onGet('v7/mainappmenu').reply((config: any) => {
resourcetag: '', resourcetag: '',
}, },
{ {
id: 'BCF452A9-F6C1-40C9-B107-1D3E9E8839D3', id: 'bfecb2c9bbc493c5308dac05afdd3f91',
name: 'menuitem1', name: 'menuitem1',
text: '认证日志', text: '认证日志',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -65,7 +65,7 @@ mock.onGet('v7/mainappmenu').reply((config: any) => { ...@@ -65,7 +65,7 @@ mock.onGet('v7/mainappmenu').reply((config: any) => {
resourcetag: '', resourcetag: '',
}, },
{ {
id: '1CDA0214-F2CF-44CD-ACD1-2DE168FF5C0F', id: '570ca07ed70320c1495e0649cc11523d',
name: 'menuitem2', name: 'menuitem2',
text: '接入应用', text: '接入应用',
type: 'MENUITEM', type: 'MENUITEM',
...@@ -83,7 +83,7 @@ mock.onGet('v7/mainappmenu').reply((config: any) => { ...@@ -83,7 +83,7 @@ mock.onGet('v7/mainappmenu').reply((config: any) => {
resourcetag: '', resourcetag: '',
}, },
{ {
id: 'A045832E-C0C7-4E66-A0E0-E9286DC96A8C', id: '6ef06cc33bf45a48cc0234cd7e6c2dbd',
name: 'menuitem4', name: 'menuitem4',
text: '第三方认证', text: '第三方认证',
type: 'MENUITEM', type: 'MENUITEM',
......
...@@ -33,7 +33,6 @@ mock.onGet('/appdata').reply((config: any) => { ...@@ -33,7 +33,6 @@ mock.onGet('/appdata').reply((config: any) => {
// 当前用户条线代码 // 当前用户条线代码
srfsectorbc:"" srfsectorbc:""
}, },
enablepermissionvalid:false,
unires:["RESOURCE1","RESOURCE2"], unires:["RESOURCE1","RESOURCE2"],
//当前用户所有组织部门标识 //当前用户所有组织部门标识
srforgsections:[{"srforgsectorid":"5bd1ecf4d3c31e31cb66373df56b852f","srforgsectorname":"项目一部"},{"srforgsectorid":"2ad1ecf4d3c31e31cb66373df56b852f","srforgsectorname":"项目二部"}] srforgsections:[{"srforgsectorid":"5bd1ecf4d3c31e31cb66373df56b852f","srforgsectorname":"项目一部"},{"srforgsectorid":"2ad1ecf4d3c31e31cb66373df56b852f","srforgsectorname":"项目二部"}]
......
...@@ -8,64 +8,6 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -8,64 +8,6 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
let status = MockAdapter.mockStatus(config); let status = MockAdapter.mockStatus(config);
return [status, [ return [status, [
{ {
srfkey: "YesNo",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "1",
label: "是",
text: "是",
"class":"",
"data":"",
"codename":"Item_1",
value: "1",
disabled: false,
},
{
id: "0",
label: "否",
text: "否",
"class":"",
"data":"",
"codename":"Item_0",
value: "0",
disabled: false,
},
]
},
{
srfkey: "AppType",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "INNER",
label: "内置应用",
text: "内置应用",
"class":"",
"data":"",
"codename":"Inner",
value: "INNER",
disabled: false,
},
{
id: "THIRD-PARTY",
label: "第三方应用",
text: "第三方应用",
"class":"",
"data":"",
"codename":"Third_SUB_party",
value: "THIRD-PARTY",
disabled: false,
},
]
},
{
srfkey: "OpenAccessType", srfkey: "OpenAccessType",
emptytext: "未定义", emptytext: "未定义",
"codelisttype":"static", "codelisttype":"static",
...@@ -116,6 +58,35 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -116,6 +58,35 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
] ]
}, },
{
srfkey: "YesNo",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "1",
label: "是",
text: "是",
"class":"",
"data":"",
"codename":"Item_1",
value: "1",
disabled: false,
},
{
id: "0",
label: "否",
text: "否",
"class":"",
"data":"",
"codename":"Item_0",
value: "0",
disabled: false,
},
]
},
{ {
srfkey: "CLAuthCode", srfkey: "CLAuthCode",
emptytext: "未定义", emptytext: "未定义",
...@@ -177,6 +148,35 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -177,6 +148,35 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
"color": "rgba(0, 72, 255, 1)", "color": "rgba(0, 72, 255, 1)",
value: "403.6", value: "403.6",
disabled: false,
},
]
},
{
srfkey: "AppType",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "INNER",
label: "内置应用",
text: "内置应用",
"class":"",
"data":"",
"codename":"Inner",
value: "INNER",
disabled: false,
},
{
id: "THIRD-PARTY",
label: "第三方应用",
text: "第三方应用",
"class":"",
"data":"",
"codename":"Third_SUB_party",
value: "THIRD-PARTY",
disabled: false, disabled: false,
}, },
] ]
......
...@@ -7,11 +7,11 @@ import './login/login'; ...@@ -7,11 +7,11 @@ import './login/login';
import './upload/upload'; import './upload/upload';
// 实体级接口对象 // 实体级接口对象
import './entity/sys-open-accesss/sys-open-accesss';
import './entity/sys-auth-logs/sys-auth-logs';
import './entity/sys-apps/sys-apps';
import './entity/sys-role-permissions/sys-role-permissions'; import './entity/sys-role-permissions/sys-role-permissions';
import './entity/sys-permissions/sys-permissions';
import './entity/sys-user-roles/sys-user-roles';
import './entity/sys-users/sys-users'; import './entity/sys-users/sys-users';
import './entity/sys-auth-logs/sys-auth-logs';
import './entity/sys-open-accesss/sys-open-accesss';
import './entity/sys-user-roles/sys-user-roles';
import './entity/sys-roles/sys-roles'; import './entity/sys-roles/sys-roles';
import './entity/sys-permissions/sys-permissions';
import './entity/sys-apps/sys-apps';
export const PageComponents = { export const PageComponents = {
install(Vue: any, opt: any) { install(Vue: any, opt: any) {
Vue.component('sys-open-access-edit-view', () => import('@pages/uaa/sys-open-access-edit-view/sys-open-access-edit-view.vue')); Vue.component('sys-user-edit-view', () => import('@pages/uaa/sys-user-edit-view/sys-user-edit-view.vue'));
Vue.component('sys-app-grid-view', () => import('@pages/uaa/sys-app-grid-view/sys-app-grid-view.vue'));
Vue.component('sys-app-edit-view', () => import('@pages/uaa/sys-app-edit-view/sys-app-edit-view.vue'));
Vue.component('sys-rolepickup-view', () => import('@pages/uaa/sys-rolepickup-view/sys-rolepickup-view.vue'));
Vue.component('sys-usermpickup-view', () => import('@pages/uaa/sys-usermpickup-view/sys-usermpickup-view.vue'));
Vue.component('sys-role-permission-custom-view', () => import('@pages/uaa/sys-role-permission-custom-view/sys-role-permission-custom-view.vue'));
Vue.component('sys-userpickup-grid-view', () => import('@pages/uaa/sys-userpickup-grid-view/sys-userpickup-grid-view.vue'));
Vue.component('sys-user-role-edit-view', () => import('@pages/uaa/sys-user-role-edit-view/sys-user-role-edit-view.vue'));
Vue.component('sys-role-edit-view', () => import('@pages/uaa/sys-role-edit-view/sys-role-edit-view.vue'));
Vue.component('sys-rolempickup-view', () => import('@pages/uaa/sys-rolempickup-view/sys-rolempickup-view.vue')); Vue.component('sys-rolempickup-view', () => import('@pages/uaa/sys-rolempickup-view/sys-rolempickup-view.vue'));
Vue.component('sys-role-edit-view', () => import('@pages/uaa/sys-role-edit-view/sys-role-edit-view.vue'));
Vue.component('sys-user-grid-view', () => import('@pages/uaa/sys-user-grid-view/sys-user-grid-view.vue'));
Vue.component('sys-auth-log-grid-view', () => import('@pages/uaa/sys-auth-log-grid-view/sys-auth-log-grid-view.vue')); Vue.component('sys-auth-log-grid-view', () => import('@pages/uaa/sys-auth-log-grid-view/sys-auth-log-grid-view.vue'));
Vue.component('sys-open-access-grid-view', () => import('@pages/uaa/sys-open-access-grid-view/sys-open-access-grid-view.vue'));
Vue.component('sys-userpickup-view', () => import('@pages/uaa/sys-userpickup-view/sys-userpickup-view.vue')); Vue.component('sys-userpickup-view', () => import('@pages/uaa/sys-userpickup-view/sys-userpickup-view.vue'));
Vue.component('sys-role-grid-view', () => import('@pages/uaa/sys-role-grid-view/sys-role-grid-view.vue')); Vue.component('sys-open-access-grid-view', () => import('@pages/uaa/sys-open-access-grid-view/sys-open-access-grid-view.vue'));
Vue.component('sys-user-edit-view', () => import('@pages/uaa/sys-user-edit-view/sys-user-edit-view.vue')); Vue.component('sys-user-role-edit-view', () => import('@pages/uaa/sys-user-role-edit-view/sys-user-role-edit-view.vue'));
Vue.component('sys-role-permission-custom-view', () => import('@pages/uaa/sys-role-permission-custom-view/sys-role-permission-custom-view.vue'));
Vue.component('sys-app-grid-view', () => import('@pages/uaa/sys-app-grid-view/sys-app-grid-view.vue'));
Vue.component('sys-usermpickup-view', () => import('@pages/uaa/sys-usermpickup-view/sys-usermpickup-view.vue'));
Vue.component('sys-open-access-edit-view', () => import('@pages/uaa/sys-open-access-edit-view/sys-open-access-edit-view.vue'));
Vue.component('sys-user-rolegrid-view', () => import('@pages/uaa/sys-user-rolegrid-view/sys-user-rolegrid-view.vue')); Vue.component('sys-user-rolegrid-view', () => import('@pages/uaa/sys-user-rolegrid-view/sys-user-rolegrid-view.vue'));
Vue.component('sys-rolepickup-view', () => import('@pages/uaa/sys-rolepickup-view/sys-rolepickup-view.vue'));
Vue.component('sys-role-grid-view', () => import('@pages/uaa/sys-role-grid-view/sys-role-grid-view.vue'));
Vue.component('sys-app-edit-view', () => import('@pages/uaa/sys-app-edit-view/sys-app-edit-view.vue'));
Vue.component('sys-role-pickup-grid-view', () => import('@pages/uaa/sys-role-pickup-grid-view/sys-role-pickup-grid-view.vue')); Vue.component('sys-role-pickup-grid-view', () => import('@pages/uaa/sys-role-pickup-grid-view/sys-role-pickup-grid-view.vue'));
Vue.component('sys-user-grid-view', () => import('@pages/uaa/sys-user-grid-view/sys-user-grid-view.vue')); Vue.component('sys-userpickup-grid-view', () => import('@pages/uaa/sys-userpickup-grid-view/sys-userpickup-grid-view.vue'));
} }
}; };
\ No newline at end of file
...@@ -5,65 +5,65 @@ ...@@ -5,65 +5,65 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class='' @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class='' @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
<span class='caption'>{{$t('entities.sysapp.editviewtoolbar_toolbar.tbitem3.caption')}}</span> <span class='caption'>{{$t('entities.sysapp.editviewtoolbar_toolbar.tbitem3.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.sysapp.editviewtoolbar_toolbar.tbitem3.tip')}}</div> <div slot='content'>{{$t('entities.sysapp.editviewtoolbar_toolbar.tbitem3.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem5.visabled" :disabled="toolBarModels.tbitem5.disabled" class='' @click="toolbar_click({ tag: 'tbitem5' }, $event)"> <i-button v-show="toolBarModels.tbitem5.visabled" :disabled="toolBarModels.tbitem5.disabled" class='' @click="toolbar_click({ tag: 'tbitem5' }, $event)">
<i class='sx-tb-saveandclose'></i> <i class='sx-tb-saveandclose'></i>
<span class='caption'>{{$t('entities.sysapp.editviewtoolbar_toolbar.tbitem5.caption')}}</span> <span class='caption'>{{$t('entities.sysapp.editviewtoolbar_toolbar.tbitem5.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.sysapp.editviewtoolbar_toolbar.tbitem5.tip')}}</div> <div slot='content'>{{$t('entities.sysapp.editviewtoolbar_toolbar.tbitem5.tip')}}</div>
</tooltip> </tooltip>
<span class='seperator'>|</span> <tooltip :transfer="true" :max-width="600"> <span class='seperator'>|</span> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem12.visabled" :disabled="toolBarModels.tbitem12.disabled" class='' @click="toolbar_click({ tag: 'tbitem12' }, $event)"> <i-button v-show="toolBarModels.tbitem12.visabled" :disabled="toolBarModels.tbitem12.disabled" class='' @click="toolbar_click({ tag: 'tbitem12' }, $event)">
<i class='fa fa-file-text-o'></i> <i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.sysapp.editviewtoolbar_toolbar.tbitem12.caption')}}</span> <span class='caption'>{{$t('entities.sysapp.editviewtoolbar_toolbar.tbitem12.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.sysapp.editviewtoolbar_toolbar.tbitem12.tip')}}</div> <div slot='content'>{{$t('entities.sysapp.editviewtoolbar_toolbar.tbitem12.tip')}}</div>
</tooltip> </tooltip>
<span class='seperator'>|</span> <tooltip :transfer="true" :max-width="600"> <span class='seperator'>|</span> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem14.visabled" :disabled="toolBarModels.tbitem14.disabled" class='' @click="toolbar_click({ tag: 'tbitem14' }, $event)"> <i-button v-show="toolBarModels.tbitem14.visabled" :disabled="toolBarModels.tbitem14.disabled" class='' @click="toolbar_click({ tag: 'tbitem14' }, $event)">
<i class='fa fa-copy'></i> <i class='fa fa-copy'></i>
<span class='caption'>{{$t('entities.sysapp.editviewtoolbar_toolbar.tbitem14.caption')}}</span> <span class='caption'>{{$t('entities.sysapp.editviewtoolbar_toolbar.tbitem14.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.sysapp.editviewtoolbar_toolbar.tbitem14.tip')}}</div> <div slot='content'>{{$t('entities.sysapp.editviewtoolbar_toolbar.tbitem14.tip')}}</div>
</tooltip> </tooltip>
</div> </div>
</div> </div>
<div class="content-container"> <div class="content-container">
<div class='view-top-messages'> <div class='view-top-messages'>
</div> </div>
<view_form <view_form
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
:autosave="false" :autosave="false"
:viewtag="viewtag" :viewtag="viewtag"
:showBusyIndicator="true" :showBusyIndicator="true"
updateAction="Update" updateAction="Update"
removeAction="Remove" removeAction="Remove"
loaddraftAction="GetDraft" loaddraftAction="GetDraft"
loadAction="Get" loadAction="Get"
createAction="Create" createAction="Create"
WFSubmitAction="" WFSubmitAction=""
WFStartAction="" WFStartAction=""
style='' style=''
name="form" name="form"
ref='form' ref='form'
@save="form_save($event)" @save="form_save($event)"
@remove="form_remove($event)" @remove="form_remove($event)"
@load="form_load($event)" @load="form_load($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_form> </view_form>
<div class='view-bottom-messages'> <div class='view-bottom-messages'>
</div> </div>
</div> </div>
</card> </card>
</div> </div>
...@@ -103,6 +103,15 @@ export default class SysAppEditViewBase extends Vue { ...@@ -103,6 +103,15 @@ export default class SysAppEditViewBase extends Vue {
* @memberof SysAppEditViewBase * @memberof SysAppEditViewBase
*/ */
public appUIService: SysAppUIService = new SysAppUIService(this.$store); public appUIService: SysAppUIService = new SysAppUIService(this.$store);
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof SysAppEditViewBase
*/
public counterServiceArray:Array<any> = [];
/** /**
* 数据变化 * 数据变化
...@@ -155,7 +164,7 @@ export default class SysAppEditViewBase extends Vue { ...@@ -155,7 +164,7 @@ export default class SysAppEditViewBase extends Vue {
* @type {string} * @type {string}
* @memberof SysAppEditViewBase * @memberof SysAppEditViewBase
*/ */
public viewtag: string = '137b8f036994965b8926455611848134'; public viewtag: string = '3febdb3ae99351887f24b7c9db070de8';
/** /**
* 自定义视图导航上下文集合 * 自定义视图导航上下文集合
...@@ -349,15 +358,6 @@ export default class SysAppEditViewBase extends Vue { ...@@ -349,15 +358,6 @@ export default class SysAppEditViewBase extends Vue {
*/ */
public viewCacheData:any; public viewCacheData:any;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof SysAppEditViewBase
*/
public counterServiceArray:Array<any> = [];
/** /**
* 解析视图参数 * 解析视图参数
* *
......
...@@ -8,19 +8,19 @@ ...@@ -8,19 +8,19 @@
.sys-app-edit-view{ .sys-app-edit-view{
position: relative; position: relative;
} }
.toolbar-container { .toolbar-container {
button { button {
margin: 6px 0px 4px 4px; margin: 6px 0px 4px 4px;
.caption { .caption {
margin-left: 4px; margin-left: 4px;
} }
} }
.seperator { .seperator {
color: #dcdee2; color: #dcdee2;
margin: 0 0px 0 4px; margin: 0 0px 0 4px;
} }
} }
// this is less // this is less
.sys-app-grid-view{ .sys-app-grid-view{
position: relative; position: relative;
} }
.toolbar-container { .toolbar-container {
button { button {
margin: 6px 0px 4px 4px; margin: 6px 0px 4px 4px;
.caption { .caption {
margin-left: 4px; margin-left: 4px;
} }
} }
.seperator { .seperator {
color: #dcdee2; color: #dcdee2;
margin: 0 0px 0 4px; margin: 0 0px 0 4px;
} }
} }
// this is less // this is less
...@@ -2,62 +2,62 @@ ...@@ -2,62 +2,62 @@
<div class='view-container degridview sys-auth-log-grid-view'> <div class='view-container degridview sys-auth-log-grid-view'>
<app-studioaction :viewTitle="$t(model.srfCaption)" viewName="sysauthloggridview"></app-studioaction> <app-studioaction :viewTitle="$t(model.srfCaption)" viewName="sysauthloggridview"></app-studioaction>
<card class='view-card ' :dis-hover="true" :bordered="false"> <card class='view-card ' :dis-hover="true" :bordered="false">
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
</div> </div>
<div class='content-container'> <div class='content-container'>
<div class='view-top-messages'> <div class='view-top-messages'>
</div> </div>
<div style='margin-bottom: 6px;'> <div style='margin-bottom: 6px;'>
<i-input v-show="!isExpandSearchForm" v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="用户全局名" /> <i-input v-show="!isExpandSearchForm" v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="用户全局名" />
<div class='pull-right'> <div class='pull-right'>
</div> </div>
</div> </div>
<view_searchform <view_searchform
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
:showBusyIndicator="true" :showBusyIndicator="true"
v-show="isExpandSearchForm" v-show="isExpandSearchForm"
loaddraftAction="FilterGetDraft" loaddraftAction="FilterGetDraft"
loadAction="FilterGet" loadAction="FilterGet"
name="searchform" name="searchform"
ref='searchform' ref='searchform'
@save="searchform_save($event)" @save="searchform_save($event)"
@search="searchform_search($event)" @search="searchform_search($event)"
@load="searchform_load($event)" @load="searchform_load($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_searchform> </view_searchform>
<view_grid <view_grid
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
:isSingleSelect="isSingleSelect" :isSingleSelect="isSingleSelect"
:showBusyIndicator="true" :showBusyIndicator="true"
:isOpenEdit="false" :isOpenEdit="false"
:gridRowActiveMode="gridRowActiveMode" :gridRowActiveMode="gridRowActiveMode"
:isformDruipart="isformDruipart" :isformDruipart="isformDruipart"
@save="onSave" @save="onSave"
updateAction="" updateAction=""
removeAction="Remove" removeAction="Remove"
loaddraftAction="" loaddraftAction=""
loadAction="" loadAction=""
createAction="" createAction=""
fetchAction="FetchDefault" fetchAction="FetchDefault"
:newdata="newdata" :newdata="newdata"
:opendata="opendata" :opendata="opendata"
name="grid" name="grid"
ref='grid' ref='grid'
@selectionchange="grid_selectionchange($event)" @selectionchange="grid_selectionchange($event)"
@beforeload="grid_beforeload($event)" @beforeload="grid_beforeload($event)"
@rowdblclick="grid_rowdblclick($event)" @rowdblclick="grid_rowdblclick($event)"
@remove="grid_remove($event)" @remove="grid_remove($event)"
@load="grid_load($event)" @load="grid_load($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_grid> </view_grid>
<div class='view-bottom-messages'> <div class='view-bottom-messages'>
</div> </div>
</div> </div>
</card> </card>
</div> </div>
...@@ -100,6 +100,15 @@ export default class SysAuthLogGridViewBase extends Vue { ...@@ -100,6 +100,15 @@ export default class SysAuthLogGridViewBase extends Vue {
* @memberof SysAuthLogGridViewBase * @memberof SysAuthLogGridViewBase
*/ */
public appUIService: SysAuthLogUIService = new SysAuthLogUIService(this.$store); public appUIService: SysAuthLogUIService = new SysAuthLogUIService(this.$store);
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof SysAuthLogGridViewBase
*/
public counterServiceArray:Array<any> = [];
/** /**
* 数据变化 * 数据变化
...@@ -152,7 +161,7 @@ export default class SysAuthLogGridViewBase extends Vue { ...@@ -152,7 +161,7 @@ export default class SysAuthLogGridViewBase extends Vue {
* @type {string} * @type {string}
* @memberof SysAuthLogGridViewBase * @memberof SysAuthLogGridViewBase
*/ */
public viewtag: string = '0134ebf9391cb5f988839332c1352cd9'; public viewtag: string = '255944d6d1a575d0eda2b68bc19314f3';
/** /**
* 自定义视图导航上下文集合 * 自定义视图导航上下文集合
...@@ -334,15 +343,6 @@ export default class SysAuthLogGridViewBase extends Vue { ...@@ -334,15 +343,6 @@ export default class SysAuthLogGridViewBase extends Vue {
*/ */
public viewCacheData:any; public viewCacheData:any;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof SysAuthLogGridViewBase
*/
public counterServiceArray:Array<any> = [];
/** /**
* 解析视图参数 * 解析视图参数
* *
...@@ -666,21 +666,21 @@ export default class SysAuthLogGridViewBase extends Vue { ...@@ -666,21 +666,21 @@ export default class SysAuthLogGridViewBase extends Vue {
/** /**
* 打开新建数据视图 * 打开新建数据视图
* *
* @param {any[]} args * @param {any[]} args
* @param {*} [params] * @param {*} [params]
* @param {*} [fullargs] * @param {*} [fullargs]
* @param {*} [$event] * @param {*} [$event]
* @param {*} [xData] * @param {*} [xData]
* @memberof SysAuthLogGridView * @memberof SysAuthLogGridView
*/ */
public newdata(args: any[],fullargs?:any[], params?: any, $event?: any, xData?: any) { public newdata(args: any[],fullargs?:any[], params?: any, $event?: any, xData?: any) {
let localContext:any = null; let localContext:any = null;
let localViewParam:any =null; let localViewParam:any =null;
this.$Notice.warning({ title: '错误', desc: '未指定关系视图' }); this.$Notice.warning({ title: '错误', desc: '未指定关系视图' });
} }
/** /**
......
...@@ -5,65 +5,65 @@ ...@@ -5,65 +5,65 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class='' @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class='' @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
<span class='caption'>{{$t('entities.sysopenaccess.editviewtoolbar_toolbar.tbitem3.caption')}}</span> <span class='caption'>{{$t('entities.sysopenaccess.editviewtoolbar_toolbar.tbitem3.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.sysopenaccess.editviewtoolbar_toolbar.tbitem3.tip')}}</div> <div slot='content'>{{$t('entities.sysopenaccess.editviewtoolbar_toolbar.tbitem3.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem5.visabled" :disabled="toolBarModels.tbitem5.disabled" class='' @click="toolbar_click({ tag: 'tbitem5' }, $event)"> <i-button v-show="toolBarModels.tbitem5.visabled" :disabled="toolBarModels.tbitem5.disabled" class='' @click="toolbar_click({ tag: 'tbitem5' }, $event)">
<i class='sx-tb-saveandclose'></i> <i class='sx-tb-saveandclose'></i>
<span class='caption'>{{$t('entities.sysopenaccess.editviewtoolbar_toolbar.tbitem5.caption')}}</span> <span class='caption'>{{$t('entities.sysopenaccess.editviewtoolbar_toolbar.tbitem5.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.sysopenaccess.editviewtoolbar_toolbar.tbitem5.tip')}}</div> <div slot='content'>{{$t('entities.sysopenaccess.editviewtoolbar_toolbar.tbitem5.tip')}}</div>
</tooltip> </tooltip>
<span class='seperator'>|</span> <tooltip :transfer="true" :max-width="600"> <span class='seperator'>|</span> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem12.visabled" :disabled="toolBarModels.tbitem12.disabled" class='' @click="toolbar_click({ tag: 'tbitem12' }, $event)"> <i-button v-show="toolBarModels.tbitem12.visabled" :disabled="toolBarModels.tbitem12.disabled" class='' @click="toolbar_click({ tag: 'tbitem12' }, $event)">
<i class='fa fa-file-text-o'></i> <i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.sysopenaccess.editviewtoolbar_toolbar.tbitem12.caption')}}</span> <span class='caption'>{{$t('entities.sysopenaccess.editviewtoolbar_toolbar.tbitem12.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.sysopenaccess.editviewtoolbar_toolbar.tbitem12.tip')}}</div> <div slot='content'>{{$t('entities.sysopenaccess.editviewtoolbar_toolbar.tbitem12.tip')}}</div>
</tooltip> </tooltip>
<span class='seperator'>|</span> <tooltip :transfer="true" :max-width="600"> <span class='seperator'>|</span> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem14.visabled" :disabled="toolBarModels.tbitem14.disabled" class='' @click="toolbar_click({ tag: 'tbitem14' }, $event)"> <i-button v-show="toolBarModels.tbitem14.visabled" :disabled="toolBarModels.tbitem14.disabled" class='' @click="toolbar_click({ tag: 'tbitem14' }, $event)">
<i class='fa fa-copy'></i> <i class='fa fa-copy'></i>
<span class='caption'>{{$t('entities.sysopenaccess.editviewtoolbar_toolbar.tbitem14.caption')}}</span> <span class='caption'>{{$t('entities.sysopenaccess.editviewtoolbar_toolbar.tbitem14.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.sysopenaccess.editviewtoolbar_toolbar.tbitem14.tip')}}</div> <div slot='content'>{{$t('entities.sysopenaccess.editviewtoolbar_toolbar.tbitem14.tip')}}</div>
</tooltip> </tooltip>
</div> </div>
</div> </div>
<div class="content-container"> <div class="content-container">
<div class='view-top-messages'> <div class='view-top-messages'>
</div> </div>
<view_form <view_form
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
:autosave="false" :autosave="false"
:viewtag="viewtag" :viewtag="viewtag"
:showBusyIndicator="true" :showBusyIndicator="true"
updateAction="Update" updateAction="Update"
removeAction="Remove" removeAction="Remove"
loaddraftAction="GetDraft" loaddraftAction="GetDraft"
loadAction="Get" loadAction="Get"
createAction="Create" createAction="Create"
WFSubmitAction="" WFSubmitAction=""
WFStartAction="" WFStartAction=""
style='' style=''
name="form" name="form"
ref='form' ref='form'
@save="form_save($event)" @save="form_save($event)"
@remove="form_remove($event)" @remove="form_remove($event)"
@load="form_load($event)" @load="form_load($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_form> </view_form>
<div class='view-bottom-messages'> <div class='view-bottom-messages'>
</div> </div>
</div> </div>
</card> </card>
</div> </div>
...@@ -103,6 +103,15 @@ export default class SysOpenAccessEditViewBase extends Vue { ...@@ -103,6 +103,15 @@ export default class SysOpenAccessEditViewBase extends Vue {
* @memberof SysOpenAccessEditViewBase * @memberof SysOpenAccessEditViewBase
*/ */
public appUIService: SysOpenAccessUIService = new SysOpenAccessUIService(this.$store); public appUIService: SysOpenAccessUIService = new SysOpenAccessUIService(this.$store);
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof SysOpenAccessEditViewBase
*/
public counterServiceArray:Array<any> = [];
/** /**
* 数据变化 * 数据变化
...@@ -155,7 +164,7 @@ export default class SysOpenAccessEditViewBase extends Vue { ...@@ -155,7 +164,7 @@ export default class SysOpenAccessEditViewBase extends Vue {
* @type {string} * @type {string}
* @memberof SysOpenAccessEditViewBase * @memberof SysOpenAccessEditViewBase
*/ */
public viewtag: string = '502f094c8574dc383709aca00a4b5093'; public viewtag: string = '349cda61e4dc5e38045ef7c77321d1c7';
/** /**
* 自定义视图导航上下文集合 * 自定义视图导航上下文集合
...@@ -349,15 +358,6 @@ export default class SysOpenAccessEditViewBase extends Vue { ...@@ -349,15 +358,6 @@ export default class SysOpenAccessEditViewBase extends Vue {
*/ */
public viewCacheData:any; public viewCacheData:any;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof SysOpenAccessEditViewBase
*/
public counterServiceArray:Array<any> = [];
/** /**
* 解析视图参数 * 解析视图参数
* *
......
...@@ -8,19 +8,19 @@ ...@@ -8,19 +8,19 @@
.sys-open-access-edit-view{ .sys-open-access-edit-view{
position: relative; position: relative;
} }
.toolbar-container { .toolbar-container {
button { button {
margin: 6px 0px 4px 4px; margin: 6px 0px 4px 4px;
.caption { .caption {
margin-left: 4px; margin-left: 4px;
} }
} }
.seperator { .seperator {
color: #dcdee2; color: #dcdee2;
margin: 0 0px 0 4px; margin: 0 0px 0 4px;
} }
} }
// this is less // this is less
.sys-open-access-grid-view{ .sys-open-access-grid-view{
position: relative; position: relative;
} }
.toolbar-container { .toolbar-container {
button { button {
margin: 6px 0px 4px 4px; margin: 6px 0px 4px 4px;
.caption { .caption {
margin-left: 4px; margin-left: 4px;
} }
} }
.seperator { .seperator {
color: #dcdee2; color: #dcdee2;
margin: 0 0px 0 4px; margin: 0 0px 0 4px;
} }
} }
// this is less // this is less
...@@ -5,65 +5,65 @@ ...@@ -5,65 +5,65 @@
<div slot='title' class="header-container"> <div slot='title' class="header-container">
<span class='caption-info'>{{$t(model.srfCaption)}}</span> <span class='caption-info'>{{$t(model.srfCaption)}}</span>
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class='' @click="toolbar_click({ tag: 'tbitem3' }, $event)"> <i-button v-show="toolBarModels.tbitem3.visabled" :disabled="toolBarModels.tbitem3.disabled" class='' @click="toolbar_click({ tag: 'tbitem3' }, $event)">
<i class='fa fa-save'></i> <i class='fa fa-save'></i>
<span class='caption'>{{$t('entities.syspermission.editviewtoolbar_toolbar.tbitem3.caption')}}</span> <span class='caption'>{{$t('entities.syspermission.editviewtoolbar_toolbar.tbitem3.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.syspermission.editviewtoolbar_toolbar.tbitem3.tip')}}</div> <div slot='content'>{{$t('entities.syspermission.editviewtoolbar_toolbar.tbitem3.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem5.visabled" :disabled="toolBarModels.tbitem5.disabled" class='' @click="toolbar_click({ tag: 'tbitem5' }, $event)"> <i-button v-show="toolBarModels.tbitem5.visabled" :disabled="toolBarModels.tbitem5.disabled" class='' @click="toolbar_click({ tag: 'tbitem5' }, $event)">
<i class='sx-tb-saveandclose'></i> <i class='sx-tb-saveandclose'></i>
<span class='caption'>{{$t('entities.syspermission.editviewtoolbar_toolbar.tbitem5.caption')}}</span> <span class='caption'>{{$t('entities.syspermission.editviewtoolbar_toolbar.tbitem5.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.syspermission.editviewtoolbar_toolbar.tbitem5.tip')}}</div> <div slot='content'>{{$t('entities.syspermission.editviewtoolbar_toolbar.tbitem5.tip')}}</div>
</tooltip> </tooltip>
<span class='seperator'>|</span> <tooltip :transfer="true" :max-width="600"> <span class='seperator'>|</span> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem12.visabled" :disabled="toolBarModels.tbitem12.disabled" class='' @click="toolbar_click({ tag: 'tbitem12' }, $event)"> <i-button v-show="toolBarModels.tbitem12.visabled" :disabled="toolBarModels.tbitem12.disabled" class='' @click="toolbar_click({ tag: 'tbitem12' }, $event)">
<i class='fa fa-file-text-o'></i> <i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.syspermission.editviewtoolbar_toolbar.tbitem12.caption')}}</span> <span class='caption'>{{$t('entities.syspermission.editviewtoolbar_toolbar.tbitem12.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.syspermission.editviewtoolbar_toolbar.tbitem12.tip')}}</div> <div slot='content'>{{$t('entities.syspermission.editviewtoolbar_toolbar.tbitem12.tip')}}</div>
</tooltip> </tooltip>
<span class='seperator'>|</span> <tooltip :transfer="true" :max-width="600"> <span class='seperator'>|</span> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem14.visabled" :disabled="toolBarModels.tbitem14.disabled" class='' @click="toolbar_click({ tag: 'tbitem14' }, $event)"> <i-button v-show="toolBarModels.tbitem14.visabled" :disabled="toolBarModels.tbitem14.disabled" class='' @click="toolbar_click({ tag: 'tbitem14' }, $event)">
<i class='fa fa-copy'></i> <i class='fa fa-copy'></i>
<span class='caption'>{{$t('entities.syspermission.editviewtoolbar_toolbar.tbitem14.caption')}}</span> <span class='caption'>{{$t('entities.syspermission.editviewtoolbar_toolbar.tbitem14.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.syspermission.editviewtoolbar_toolbar.tbitem14.tip')}}</div> <div slot='content'>{{$t('entities.syspermission.editviewtoolbar_toolbar.tbitem14.tip')}}</div>
</tooltip> </tooltip>
</div> </div>
</div> </div>
<div class="content-container"> <div class="content-container">
<div class='view-top-messages'> <div class='view-top-messages'>
</div> </div>
<view_form <view_form
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
:autosave="false" :autosave="false"
:viewtag="viewtag" :viewtag="viewtag"
:showBusyIndicator="true" :showBusyIndicator="true"
updateAction="Update" updateAction="Update"
removeAction="Remove" removeAction="Remove"
loaddraftAction="GetDraft" loaddraftAction="GetDraft"
loadAction="Get" loadAction="Get"
createAction="Create" createAction="Create"
WFSubmitAction="" WFSubmitAction=""
WFStartAction="" WFStartAction=""
style='' style=''
name="form" name="form"
ref='form' ref='form'
@save="form_save($event)" @save="form_save($event)"
@remove="form_remove($event)" @remove="form_remove($event)"
@load="form_load($event)" @load="form_load($event)"
@closeview="closeView($event)"> @closeview="closeView($event)">
</view_form> </view_form>
<div class='view-bottom-messages'> <div class='view-bottom-messages'>
</div> </div>
</div> </div>
</card> </card>
</div> </div>
...@@ -103,6 +103,15 @@ export default class SYS_PERMISSIONEditViewBase extends Vue { ...@@ -103,6 +103,15 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
* @memberof SYS_PERMISSIONEditViewBase * @memberof SYS_PERMISSIONEditViewBase
*/ */
public appUIService: SysPermissionUIService = new SysPermissionUIService(this.$store); public appUIService: SysPermissionUIService = new SysPermissionUIService(this.$store);
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof SYS_PERMISSIONEditViewBase
*/
public counterServiceArray:Array<any> = [];
/** /**
* 数据变化 * 数据变化
...@@ -155,7 +164,7 @@ export default class SYS_PERMISSIONEditViewBase extends Vue { ...@@ -155,7 +164,7 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
* @type {string} * @type {string}
* @memberof SYS_PERMISSIONEditViewBase * @memberof SYS_PERMISSIONEditViewBase
*/ */
public viewtag: string = 'eb6498ba353f58d0af17bbd39702ccf7'; public viewtag: string = 'a15736efd87b97c3cee2dae84ab88e74';
/** /**
* 自定义视图导航上下文集合 * 自定义视图导航上下文集合
...@@ -349,15 +358,6 @@ export default class SYS_PERMISSIONEditViewBase extends Vue { ...@@ -349,15 +358,6 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
*/ */
public viewCacheData:any; public viewCacheData:any;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof SYS_PERMISSIONEditViewBase
*/
public counterServiceArray:Array<any> = [];
/** /**
* 解析视图参数 * 解析视图参数
* *
......
...@@ -8,19 +8,19 @@ ...@@ -8,19 +8,19 @@
.sys-permissionedit-view{ .sys-permissionedit-view{
position: relative; position: relative;
} }
.toolbar-container { .toolbar-container {
button { button {
margin: 6px 0px 4px 4px; margin: 6px 0px 4px 4px;
.caption { .caption {
margin-left: 4px; margin-left: 4px;
} }
} }
.seperator { .seperator {
color: #dcdee2; color: #dcdee2;
margin: 0 0px 0 4px; margin: 0 0px 0 4px;
} }
} }
// this is less // this is less
此差异已折叠。
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册