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

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

上级 b7c96c73
......@@ -656,6 +656,34 @@ function getLocaleResourceBase(){
uiactions: {
},
},
uipart_0010_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
grouppanel1: commonLogic.appcommonhandle("动态空输入",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
orderuid: commonLogic.appcommonhandle("订单编号",null),
ibizordername: commonLogic.appcommonhandle("订单名称",null),
ordertime: commonLogic.appcommonhandle("订单时间",null),
ibizcustomername: commonLogic.appcommonhandle("客户名称",null),
ordertype: commonLogic.appcommonhandle("订单类型",null),
orderstate: commonLogic.appcommonhandle("订单状态",null),
memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("开关",null),
formitem1: commonLogic.appcommonhandle("文本框",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
main2_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
......@@ -852,34 +880,6 @@ function getLocaleResourceBase(){
uiactions: {
},
},
uipart_0010_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
grouppanel1: commonLogic.appcommonhandle("动态空输入",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
orderuid: commonLogic.appcommonhandle("订单编号",null),
ibizordername: commonLogic.appcommonhandle("订单名称",null),
ordertime: commonLogic.appcommonhandle("订单时间",null),
ibizcustomername: commonLogic.appcommonhandle("客户名称",null),
ordertype: commonLogic.appcommonhandle("订单类型",null),
orderstate: commonLogic.appcommonhandle("订单状态",null),
memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("开关",null),
formitem1: commonLogic.appcommonhandle("文本框",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
uipart_0009_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
......@@ -1801,6 +1801,14 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("前台界面行为(编辑)",null),
tip: commonLogic.appcommonhandle("前台界面行为(编辑)",null),
},
tbitem1_openbdansearch: {
caption: commonLogic.appcommonhandle("打开百度并搜索",null),
tip: commonLogic.appcommonhandle("打开百度并搜索",null),
},
tbitem1_editandnew: {
caption: commonLogic.appcommonhandle("编辑并新建(后续执行)",null),
tip: commonLogic.appcommonhandle("编辑并新建(后续执行)",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
tip: commonLogic.appcommonhandle("其它",null),
......
......@@ -656,6 +656,34 @@ function getLocaleResourceBase(){
uiactions: {
},
},
uipart_0010_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
grouppanel1: commonLogic.appcommonhandle("动态空输入",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
orderuid: commonLogic.appcommonhandle("订单编号",null),
ibizordername: commonLogic.appcommonhandle("订单名称",null),
ordertime: commonLogic.appcommonhandle("订单时间",null),
ibizcustomername: commonLogic.appcommonhandle("客户名称",null),
ordertype: commonLogic.appcommonhandle("订单类型",null),
orderstate: commonLogic.appcommonhandle("订单状态",null),
memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("开关",null),
formitem1: commonLogic.appcommonhandle("文本框",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
main2_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
......@@ -852,34 +880,6 @@ function getLocaleResourceBase(){
uiactions: {
},
},
uipart_0010_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
grouppanel1: commonLogic.appcommonhandle("动态空输入",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
orderuid: commonLogic.appcommonhandle("订单编号",null),
ibizordername: commonLogic.appcommonhandle("订单名称",null),
ordertime: commonLogic.appcommonhandle("订单时间",null),
ibizcustomername: commonLogic.appcommonhandle("客户名称",null),
ordertype: commonLogic.appcommonhandle("订单类型",null),
orderstate: commonLogic.appcommonhandle("订单状态",null),
memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("开关",null),
formitem1: commonLogic.appcommonhandle("文本框",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
uipart_0009_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
......@@ -1801,6 +1801,14 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("前台界面行为(编辑)",null),
tip: commonLogic.appcommonhandle("前台界面行为(编辑)",null),
},
tbitem1_openbdansearch: {
caption: commonLogic.appcommonhandle("打开百度并搜索",null),
tip: commonLogic.appcommonhandle("打开百度并搜索",null),
},
tbitem1_editandnew: {
caption: commonLogic.appcommonhandle("编辑并新建(后续执行)",null),
tip: commonLogic.appcommonhandle("编辑并新建(后续执行)",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
tip: commonLogic.appcommonhandle("其它",null),
......
......@@ -656,6 +656,34 @@ function getLocaleResourceBase(){
uiactions: {
},
},
uipart_0010_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
grouppanel1: commonLogic.appcommonhandle("动态空输入",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
orderuid: commonLogic.appcommonhandle("订单编号",null),
ibizordername: commonLogic.appcommonhandle("订单名称",null),
ordertime: commonLogic.appcommonhandle("订单时间",null),
ibizcustomername: commonLogic.appcommonhandle("客户名称",null),
ordertype: commonLogic.appcommonhandle("订单类型",null),
orderstate: commonLogic.appcommonhandle("订单状态",null),
memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("开关",null),
formitem1: commonLogic.appcommonhandle("文本框",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
main2_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
......@@ -852,34 +880,6 @@ function getLocaleResourceBase(){
uiactions: {
},
},
uipart_0010_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
grouppanel1: commonLogic.appcommonhandle("动态空输入",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
orderuid: commonLogic.appcommonhandle("订单编号",null),
ibizordername: commonLogic.appcommonhandle("订单名称",null),
ordertime: commonLogic.appcommonhandle("订单时间",null),
ibizcustomername: commonLogic.appcommonhandle("客户名称",null),
ordertype: commonLogic.appcommonhandle("订单类型",null),
orderstate: commonLogic.appcommonhandle("订单状态",null),
memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("开关",null),
formitem1: commonLogic.appcommonhandle("文本框",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
uipart_0009_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
......@@ -1801,6 +1801,14 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("前台界面行为(编辑)",null),
tip: commonLogic.appcommonhandle("前台界面行为(编辑)",null),
},
tbitem1_openbdansearch: {
caption: commonLogic.appcommonhandle("打开百度并搜索",null),
tip: commonLogic.appcommonhandle("打开百度并搜索",null),
},
tbitem1_editandnew: {
caption: commonLogic.appcommonhandle("编辑并新建(后续执行)",null),
tip: commonLogic.appcommonhandle("编辑并新建(后续执行)",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
tip: commonLogic.appcommonhandle("其它",null),
......
......@@ -18,6 +18,20 @@
</i-button>
<div slot='content'>{{$t('entities.ibizorder.sf5gridviewtoolbar_toolbar.tbitem1_fuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem1_openbdansearch.visabled" :disabled="toolBarModels.tbitem1_openbdansearch.disabled" class=' srfactionlevel100' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem1_openbdansearch' }, $event)">
<i class=''></i>
<span class='caption'>{{$t('entities.ibizorder.sf5gridviewtoolbar_toolbar.tbitem1_openbdansearch.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.sf5gridviewtoolbar_toolbar.tbitem1_openbdansearch.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem1_editandnew.visabled" :disabled="toolBarModels.tbitem1_editandnew.disabled" class=' srfactionlevel100' v-button-loading:i-button @click="toolbar_click({ tag: 'tbitem1_editandnew' }, $event)">
<i class=''></i>
<span class='caption'>{{$t('entities.ibizorder.sf5gridviewtoolbar_toolbar.tbitem1_editandnew.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.sf5gridviewtoolbar_toolbar.tbitem1_editandnew.tip')}}</div>
</tooltip>
<dropdown v-show="toolBarModels.tbitem16.visabled" trigger='click'>
<tooltip :transfer="true" :max-width="600">
<i-button class=''>
......@@ -367,6 +381,10 @@ export default class IBIZOrderSF5GridViewBase extends Vue {
tbitem1_fuiaction1: { name: 'tbitem1_fuiaction1', actiontarget: 'NONE', caption: '前台界面行为(编辑)', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'FUIAction1', target: 'NONE' } },
tbitem1_openbdansearch: { name: 'tbitem1_openbdansearch', actiontarget: 'NONE', caption: '打开百度并搜索', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'OpenBDAnSearch', target: 'SINGLEDATA' } },
tbitem1_editandnew: { name: 'tbitem1_editandnew', actiontarget: 'NONE', caption: '编辑并新建(后续执行)', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'EditAndNew', target: 'SINGLEKEY' } },
tbitem16: { name: 'tbitem16', caption: '其它', disabled: false, type: 'ITEMS', visabled: true, dataaccaction: '', uiaction: { } },
tbitem21: { name: 'tbitem21', actiontarget: 'NONE', caption: '导出数据模型', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ExportModel', target: '' } },
......@@ -868,6 +886,12 @@ export default class IBIZOrderSF5GridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem1_fuiaction1')) {
this.toolbar_tbitem1_fuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem1_openbdansearch')) {
this.toolbar_tbitem1_openbdansearch_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem1_editandnew')) {
this.toolbar_tbitem1_editandnew_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem21')) {
this.toolbar_tbitem21_click(null, '', $event2);
}
......@@ -934,6 +958,64 @@ export default class IBIZOrderSF5GridViewBase extends Vue {
curUIService.IBIZOrder_FUIAction1(datas,contextJO, paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem1_openbdansearch_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.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:IBIZOrderUIService = new IBIZOrderUIService();
curUIService.IBIZOrder_OpenBDAnSearch(datas,contextJO, paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem1_editandnew_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.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:IBIZOrderUIService = new IBIZOrderUIService();
curUIService.IBIZOrder_EditAndNew(datas,contextJO, paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 逻辑事件
*
......
......@@ -738,6 +738,7 @@ export const viewstate: any = {
viewdatachange: false,
refviews: [
'7f46cd67bcfbeac794fcc5c91d8bcceb',
'231651109e4b11477dcf988577d43c3e',
'd827fd85e8d9be1bb9348765c09cd465',
'56738595155756fd86c36e20af24f056',
'e6b9fc2b5a23e89827909ccc050eb381',
......
......@@ -445,6 +445,62 @@ export default class IBIZOrderUIServiceBase extends UIService {
backend();
}
/**
* 编辑并新建(后续执行)
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
* @memberof IBIZOrderUIService
*/
public async IBIZOrder_EditAndNew(args: any[], context:any = {}, params: any={}, $event?: any, xData?: any, actionContext?: any, srfParentDeName?:string) {
let data: any = {};
let tempData: any = {};
let tempContext: any = {};
let tempViewParam: any = {};
const _this: any = actionContext;
const _args: any[] = Util.deepCopy(args);
const actionTarget: string | null = 'SINGLEKEY';
if (_args && args[0] && args[0]['ibizorderid']) {
Object.assign(tempContext, { ibizorder: '%ibizorderid%' });
} else {
Object.assign(tempContext, { ibizorder: '%ibizorder%' });
}
Object.assign(tempViewParam, { ibizorderid: '%ibizorder%' });
Object.assign(tempViewParam, { ibizordername: '%ibizordername%' });
tempContext = UIActionTool.handleContextParam(actionTarget, _args, context, params, tempContext);
tempViewParam = UIActionTool.handleActionParam(actionTarget, _args, context, params, tempViewParam);
Object.assign(context, tempContext);
Object.assign(params, data);
let parentObj:any = {
srfparentdename: srfParentDeName ? srfParentDeName : null,
srfparentkey: srfParentDeName ? context[srfParentDeName.toLowerCase()] : null
};
Object.assign(context, parentObj);
let deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'f9editview', parameterName: 'f9editview' },
];
const openIndexViewTab = (data: any) => {
const routePath = actionContext.$viewTool.buildUpRoutePath(actionContext.$route, context, deResParameters, parameters, _args, data);
actionContext.$router.push(routePath);
// 后续界面行为
if (xData && xData.refresh && xData.refresh instanceof Function) {
xData.refresh(args);
}
if (_this.New && _this.New instanceof Function) {
return _this.New(result.datas, context, params, $event, xData, actionContext);
}
}
return openIndexViewTab(data);
}
/**
* 前台界面行为(编辑)
*
......@@ -491,6 +547,47 @@ export default class IBIZOrderUIServiceBase extends UIService {
return openIndexViewTab(data);
}
/**
* 打开百度并搜索
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
* @memberof IBIZOrderUIService
*/
public async IBIZOrder_OpenBDAnSearch(args: any[], context:any = {}, params: any={}, $event?: any, xData?: any, actionContext?: any, srfParentDeName?:string) {
let data: any = {};
let tempData: any = {};
let tempContext: any = {};
let tempViewParam: any = {};
const _this: any = actionContext;
const _args: any[] = Util.deepCopy(args);
const actionTarget: string | null = 'SINGLEDATA';
Object.assign(tempContext, {NAMEPARAM:"张"});
Object.assign(tempViewParam, {param2:"三"});
tempContext = UIActionTool.handleContextParam(actionTarget, _args, context, params, tempContext);
tempData = UIActionTool.handleActionParam(actionTarget, _args, context, params, tempViewParam);
Object.assign(data, tempData);
Object.assign(context, tempContext);
Object.assign(params, data);
let parentObj:any = {
srfparentdename: srfParentDeName ? srfParentDeName : null,
srfparentkey: srfParentDeName ? context[srfParentDeName.toLowerCase()] : null
};
Object.assign(context, parentObj);
const openPopupApp = (url: string) => {
window.open(url, '_blank');
return { ok: true, result: _args };
}
const url = `https://www.baidu.com/s?wd=${_context.nameparam}${_viewParam.param2}`;
return openPopupApp(url);
}
/**
* 删除
*
......
......@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -908,7 +908,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -916,7 +916,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -70,11 +70,6 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
......
......@@ -736,7 +736,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -830,7 +830,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -946,7 +946,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -954,7 +954,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......
......@@ -31,18 +31,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
......@@ -55,6 +43,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -4727,6 +4727,35 @@
"enableConfirm" : true,
"reloadData" : true,
"id" : "Delete@IBIZOrder"
}, {
"actionTarget" : "SINGLEKEY",
"caption" : "编辑并新建(后续执行)",
"codeName" : "EditAndNew",
"getFrontPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderF9EditView.json",
"viewType" : "DEEDITVIEW"
},
"frontProcessType" : "WIZARD",
"fullCodeName" : "IBIZOrder_EditAndNew",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrder/psappdeuiactions/EditAndNew",
"name" : "编辑并新建(后续执行)",
"getNextPSUIAction" : {
"modelref" : true,
"id" : "New"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrder/psappdeuiactions/EditAndNew",
"refreshMode" : 1,
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "EditAndNew",
"uIActionType" : "DEUIACTION",
"reloadData" : true,
"id" : "EditAndNew@IBIZOrder"
}, {
"actionTarget" : "NONE",
"caption" : "前台界面行为(编辑)",
......@@ -4772,6 +4801,40 @@
"uIActionTag" : "FUIAction1",
"uIActionType" : "DEUIACTION",
"id" : "FUIAction1@IBIZOrder"
}, {
"actionTarget" : "SINGLEDATA",
"caption" : "打开百度并搜索",
"codeName" : "OpenBDAnSearch",
"dialogResult" : "OK",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "IBIZOrder_OpenBDAnSearch",
"htmlPageUrl" : "https://www.baidu.com/s?wd=${_context.nameparam}${_viewParam.param2}",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrder/psappdeuiactions/OpenBDAnSearch",
"name" : "打开百度并搜索",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSNavigateContexts" : [ {
"key" : "NAMEPARAM",
"name" : "NAMEPARAM",
"value" : "张",
"rawValue" : true
} ],
"getPSNavigateParams" : [ {
"key" : "param2",
"name" : "param2",
"value" : "三",
"rawValue" : true
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrder/psappdeuiactions/OpenBDAnSearch",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "OpenBDAnSearch",
"uIActionType" : "DEUIACTION",
"closeEditView" : true,
"closePopupView" : true,
"id" : "OpenBDAnSearch@IBIZOrder"
}, {
"actionTarget" : "SINGLEKEY",
"caption" : "删除",
......
......@@ -99,18 +99,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
......@@ -123,6 +111,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -64,6 +64,28 @@
"id" : "toolbar_tbitem1_fuiaction1"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem1_openbdansearch",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem1_openbdansearch_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem1_openbdansearch"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem1_editandnew",
"eventNames" : "CLICK",
"logicTrigger" : "CTRLEVENT",
"logicType" : "APPVIEWUIACTION",
"name" : "toolbar_tbitem1_editandnew_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem1_editandnew"
},
"getPSViewCtrlName" : "toolbar"
}, {
"eventArg" : "tbitem21",
"eventNames" : "CLICK",
......@@ -290,6 +312,30 @@
},
"uIActionTarget" : "NONE",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem1_openbdansearch",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"modelref" : true,
"id" : "OpenBDAnSearch@IBIZOrder"
},
"uIActionTarget" : "SINGLEDATA",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem1_editandnew",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"modelref" : true,
"id" : "EditAndNew@IBIZOrder"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "grid"
}, {
"name" : "toolbar_tbitem21",
"getPSUIAction" : {
......@@ -972,6 +1018,26 @@
"modelref" : true,
"id" : "toolbar_tbitem1_fuiaction1_click"
}
}, {
"eventArg" : "tbitem1_openbdansearch",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem1_openbdansearch_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem1_openbdansearch_click"
}
}, {
"eventArg" : "tbitem1_editandnew",
"eventNames" : "CLICK",
"logicTag" : "toolbar",
"logicType" : "APPVIEWLOGIC",
"name" : "toolbar_tbitem1_editandnew_click",
"getPSAppViewLogic" : {
"modelref" : true,
"id" : "toolbar_tbitem1_editandnew_click"
}
}, {
"eventArg" : "tbitem21",
"eventNames" : "CLICK",
......@@ -1109,6 +1175,97 @@
"tooltip" : "前台界面行为(编辑)",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "打开百度并搜索",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem1_openbdansearch",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem1_openbdansearch"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEDATA",
"caption" : "打开百度并搜索",
"codeName" : "OpenBDAnSearch",
"dialogResult" : "OK",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "IBIZOrder_OpenBDAnSearch",
"htmlPageUrl" : "https://www.baidu.com/s?wd=${_context.nameparam}${_viewParam.param2}",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrder/psappdeuiactions/OpenBDAnSearch",
"name" : "打开百度并搜索",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"getPSNavigateContexts" : [ {
"key" : "NAMEPARAM",
"name" : "NAMEPARAM",
"value" : "张",
"rawValue" : true
} ],
"getPSNavigateParams" : [ {
"key" : "param2",
"name" : "param2",
"value" : "三",
"rawValue" : true
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrder/psappdeuiactions/OpenBDAnSearch",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "OpenBDAnSearch",
"uIActionType" : "DEUIACTION",
"closeEditView" : true,
"closePopupView" : true,
"id" : "OpenBDAnSearch@IBIZOrder"
},
"tooltip" : "打开百度并搜索",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "编辑并新建(后续执行)",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem1_editandnew",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem1_editandnew"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"caption" : "编辑并新建(后续执行)",
"codeName" : "EditAndNew",
"getFrontPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderF9EditView.json",
"viewType" : "DEEDITVIEW"
},
"frontProcessType" : "WIZARD",
"fullCodeName" : "IBIZOrder_EditAndNew",
"mOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrder/psappdeuiactions/EditAndNew",
"name" : "编辑并新建(后续执行)",
"getNextPSUIAction" : {
"modelref" : true,
"id" : "New"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
},
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/IBIZOrder/psappdeuiactions/EditAndNew",
"refreshMode" : 1,
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "EditAndNew",
"uIActionType" : "DEUIACTION",
"reloadData" : true,
"id" : "EditAndNew@IBIZOrder"
},
"tooltip" : "编辑并新建(后续执行)",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "其它",
"itemType" : "ITEMS",
......
......@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-1295-7">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-1299-7">
<createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......@@ -344,7 +344,7 @@
<!--输出实体[IBIZORDER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-762-14">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizorder-770-14">
<createTable tableName="T_IBIZORDER">
<column name="TP" remarks="" type="TEXT(1048576)">
</column>
......@@ -528,7 +528,7 @@
<!--输出实体[IBIZSAMPLE0001]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0001-53-19">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0001-55-19">
<createTable tableName="T_IBIZSAMPLE0001">
<column name="FIELD01" remarks="" type="VARCHAR(100)">
</column>
......@@ -1477,7 +1477,7 @@
<!--输出实体[IBIZQJ]外键关系 -->
<!--输出实体[IBIZSAMPLE]外键关系 -->
<!--输出实体[IBIZSAMPLE0001]外键关系 -->
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0001-53-48">
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0001-55-48">
<addForeignKeyConstraint baseColumnNames="IBIZSAMPLE0002ID" baseTableName="T_IBIZSAMPLE0001" constraintName="DER1N_IBIZSAMPLE0001_IBIZSAMPL" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="IBIZSAMPLE0002ID" referencedTableName="T_IBIZSAMPLE0002" validate="true"/>
</changeSet>
<!--输出实体[IBIZSAMPLE0002]外键关系 -->
......
......@@ -37,7 +37,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-762-8" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizorder-770-8" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZORDER">
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView>
......@@ -67,7 +67,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZSAMPLE0001]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0001-53-13" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0001-55-13" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0001">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[FIELD01], t1.[FIELD02], t1.[FIELD05], t1.[FIELD06], t1.[FIELD07], t1.[FIELD08], t1.[FIELD09], t1.[FIELD10], t1.[FIELD11], t1.[FIELD12], t1.[FIELD13], t1.[FIELD14], t1.[FIELD15], t1.[FIELD16], t1.[FIELD17], t1.[FIELD18], t1.[FIELD19], t1.[FIELD20], t1.[FIELD21], t1.[FIELD22], t1.[FIELD23], t1.[FIELD24], t1.[FIELD25], t1.[FIELD26], t1.[FIELD27], t1.[IBIZSAMPLE0001ID], t1.[IBIZSAMPLE0001NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0001] t1 ]]>
</createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册