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

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

上级 2ac497ab
......@@ -2031,6 +2031,9 @@ export const viewstate: any = {
'92ba569083866d7476dbada9f26b0371',
'2b2bef1d622cb082cc17c12afe3ed894',
'fb7a06e43dfa51aaa792146e7df29357',
'64399ac8a26325db562c9ce747a20ccc',
'e3e4e02474933cacc98d320049dc1646',
'dbbbaa36390b7c2f2be33b8551b0d137',
],
},
{
......
......@@ -117,6 +117,51 @@ export default class IBIZAPPCTRLUIServiceBase extends UIService {
public initDeMainStateOPPrivsMap(){
}
/**
* MORE
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public async IBIZAPPCTRL_MORE(args: any[], context:any = {} ,params: any={}, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
let data: any = {};
let parentContext:any = {};
let parentViewParam:any = {};
const _this: any = actionContext;
const _args: any[] = Util.deepCopy(args);
const actionTarget: string | null = 'NONE';
if(_this.context){
parentContext = _this.context;
}
if(_this.viewparams){
parentViewParam = _this.viewparams;
}
context = UIActionTool.handleContextParam(actionTarget,_args,parentContext,parentViewParam,context);
data = UIActionTool.handleActionParam(actionTarget,_args,parentContext,parentViewParam,params);
context = Object.assign({},actionContext.context,context);
let parentObj:any = {srfparentdename:srfParentDeName?srfParentDeName:null,srfparentkey:srfParentDeName?context[srfParentDeName.toLowerCase()]:null};
Object.assign(data,parentObj);
Object.assign(context,parentObj);
let deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizappctrls', parameterName: 'ibizappctrl' },
{ pathName: 'gridview', parameterName: 'gridview' },
];
const openIndexViewTab = (data: any) => {
const routePath = actionContext.$viewTool.buildUpRoutePath(actionContext.$route, context, deResParameters, parameters, _args, data);
actionContext.$router.push(routePath);
return null;
}
openIndexViewTab(data);
}
/**
* 获取指定数据的重定向页面
......
......@@ -117,6 +117,51 @@ export default class IBIZAPPEDITORUIServiceBase extends UIService {
public initDeMainStateOPPrivsMap(){
}
/**
* MORE
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public async IBIZAPPEDITOR_MORE(args: any[], context:any = {} ,params: any={}, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
let data: any = {};
let parentContext:any = {};
let parentViewParam:any = {};
const _this: any = actionContext;
const _args: any[] = Util.deepCopy(args);
const actionTarget: string | null = 'NONE';
if(_this.context){
parentContext = _this.context;
}
if(_this.viewparams){
parentViewParam = _this.viewparams;
}
context = UIActionTool.handleContextParam(actionTarget,_args,parentContext,parentViewParam,context);
data = UIActionTool.handleActionParam(actionTarget,_args,parentContext,parentViewParam,params);
context = Object.assign({},actionContext.context,context);
let parentObj:any = {srfparentdename:srfParentDeName?srfParentDeName:null,srfparentkey:srfParentDeName?context[srfParentDeName.toLowerCase()]:null};
Object.assign(data,parentObj);
Object.assign(context,parentObj);
let deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizappeditors', parameterName: 'ibizappeditor' },
{ pathName: 'gridview', parameterName: 'gridview' },
];
const openIndexViewTab = (data: any) => {
const routePath = actionContext.$viewTool.buildUpRoutePath(actionContext.$route, context, deResParameters, parameters, _args, data);
actionContext.$router.push(routePath);
return null;
}
openIndexViewTab(data);
}
/**
* 获取指定数据的重定向页面
......
......@@ -117,6 +117,51 @@ export default class IBIZAPPVIEWUIServiceBase extends UIService {
public initDeMainStateOPPrivsMap(){
}
/**
* MORE
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public async IBIZAPPVIEW_MORE(args: any[], context:any = {} ,params: any={}, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
let data: any = {};
let parentContext:any = {};
let parentViewParam:any = {};
const _this: any = actionContext;
const _args: any[] = Util.deepCopy(args);
const actionTarget: string | null = 'NONE';
if(_this.context){
parentContext = _this.context;
}
if(_this.viewparams){
parentViewParam = _this.viewparams;
}
context = UIActionTool.handleContextParam(actionTarget,_args,parentContext,parentViewParam,context);
data = UIActionTool.handleActionParam(actionTarget,_args,parentContext,parentViewParam,params);
context = Object.assign({},actionContext.context,context);
let parentObj:any = {srfparentdename:srfParentDeName?srfParentDeName:null,srfparentkey:srfParentDeName?context[srfParentDeName.toLowerCase()]:null};
Object.assign(data,parentObj);
Object.assign(context,parentObj);
let deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizappviews', parameterName: 'ibizappview' },
{ pathName: 'gridview', parameterName: 'gridview' },
];
const openIndexViewTab = (data: any) => {
const routePath = actionContext.$viewTool.buildUpRoutePath(actionContext.$route, context, deResParameters, parameters, _args, data);
actionContext.$router.push(routePath);
return null;
}
openIndexViewTab(data);
}
/**
* 获取指定数据的重定向页面
......
......@@ -5,6 +5,11 @@
部件列表
</span>
<span class="portlet-action">
<a @click="uiAction('u3572853', $event)" v-show="uiactionModel['more'].visabled" :disabled="uiactionModel['more'].disabled">
<span>MORE</span>
</a>
</span>
</p>
<el-divider class="divider"></el-divider>
<div class="portlet-with-title">
......@@ -120,6 +125,34 @@ export default class IBIZAPPCTRLAppCtrlListViewBase extends Vue implements Contr
public appUIService:IBIZAPPCTRLUIService = new IBIZAPPCTRLUIService(this.$store);
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public db_sysportlet8_u3572853_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) {
datas = [..._this.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:IBIZAPPCTRLUIService = new IBIZAPPCTRLUIService();
curUIService.IBIZAPPCTRL_MORE(datas,contextJO, paramJO, $event, xData,this,"IBIZAPPCTRL");
}
/**
* 关闭视图
......@@ -190,6 +223,7 @@ export default class IBIZAPPCTRLAppCtrlListViewBase extends Vue implements Contr
* @memberof AppCtrlListViewBase
*/
public uiactionModel: any = {
more: {name: 'more', actiontarget: 'NONE', caption: '', disabled: false, type: 'DEUIACTION', visabled: true, noprivdisplaymode: 2, dataaccaction: '', uiaction: { tag: 'MORE', target: 'NONE' } },
}
......@@ -299,6 +333,16 @@ export default class IBIZAPPCTRLAppCtrlListViewBase extends Vue implements Contr
}
}
/**
* 执行界面行为
*
* @memberof AppCtrlListViewBase
*/
public uiAction(tag:string,event:any){
if(Object.is(tag,'u3572853')){
this.db_sysportlet8_u3572853_click(null,tag,event);
}
}
/**
* 计算界面行为权限
......
......@@ -5,6 +5,11 @@
编辑器列表
</span>
<span class="portlet-action">
<a @click="uiAction('u0ea663c', $event)" v-show="uiactionModel['more'].visabled" :disabled="uiactionModel['more'].disabled">
<span>MORE</span>
</a>
</span>
</p>
<el-divider class="divider"></el-divider>
<div class="portlet-with-title">
......@@ -120,6 +125,34 @@ export default class IBIZAPPEDITORAppEditorListViewBase extends Vue implements C
public appUIService:IBIZAPPEDITORUIService = new IBIZAPPEDITORUIService(this.$store);
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public db_sysportlet9_u0ea663c_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) {
datas = [..._this.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:IBIZAPPEDITORUIService = new IBIZAPPEDITORUIService();
curUIService.IBIZAPPEDITOR_MORE(datas,contextJO, paramJO, $event, xData,this,"IBIZAPPEDITOR");
}
/**
* 关闭视图
......@@ -190,6 +223,7 @@ export default class IBIZAPPEDITORAppEditorListViewBase extends Vue implements C
* @memberof AppEditorListViewBase
*/
public uiactionModel: any = {
more: {name: 'more', actiontarget: 'NONE', caption: '', disabled: false, type: 'DEUIACTION', visabled: true, noprivdisplaymode: 2, dataaccaction: '', uiaction: { tag: 'MORE', target: 'NONE' } },
}
......@@ -299,6 +333,16 @@ export default class IBIZAPPEDITORAppEditorListViewBase extends Vue implements C
}
}
/**
* 执行界面行为
*
* @memberof AppEditorListViewBase
*/
public uiAction(tag:string,event:any){
if(Object.is(tag,'u0ea663c')){
this.db_sysportlet9_u0ea663c_click(null,tag,event);
}
}
/**
* 计算界面行为权限
......
......@@ -5,6 +5,11 @@
视图列表
</span>
<span class="portlet-action">
<a @click="uiAction('ua9d7226', $event)" v-show="uiactionModel['more'].visabled" :disabled="uiactionModel['more'].disabled">
<span>MORE</span>
</a>
</span>
</p>
<el-divider class="divider"></el-divider>
<div class="portlet-with-title">
......@@ -120,6 +125,34 @@ export default class IBIZAPPVIEWAppViewListBase extends Vue implements ControlIn
public appUIService:IBIZAPPVIEWUIService = new IBIZAPPVIEWUIService(this.$store);
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public db_sysportlet1_ua9d7226_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) {
datas = [..._this.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:IBIZAPPVIEWUIService = new IBIZAPPVIEWUIService();
curUIService.IBIZAPPVIEW_MORE(datas,contextJO, paramJO, $event, xData,this,"IBIZAPPVIEW");
}
/**
* 关闭视图
......@@ -190,6 +223,7 @@ export default class IBIZAPPVIEWAppViewListBase extends Vue implements ControlIn
* @memberof AppViewListBase
*/
public uiactionModel: any = {
more: {name: 'more', actiontarget: 'NONE', caption: '', disabled: false, type: 'DEUIACTION', visabled: true, noprivdisplaymode: 2, dataaccaction: '', uiaction: { tag: 'MORE', target: 'NONE' } },
}
......@@ -299,6 +333,16 @@ export default class IBIZAPPVIEWAppViewListBase extends Vue implements ControlIn
}
}
/**
* 执行界面行为
*
* @memberof AppViewListBase
*/
public uiAction(tag:string,event:any){
if(Object.is(tag,'ua9d7226')){
this.db_sysportlet1_ua9d7226_click(null,tag,event);
}
}
/**
* 计算界面行为权限
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册