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

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

上级 c37c5fca
...@@ -7,6 +7,14 @@ ...@@ -7,6 +7,14 @@
"viewname": "IBIZUNIProductSGridView", "viewname": "IBIZUNIProductSGridView",
"viewtag": "002aedc17a2bf3187df6bf8d8648283b" "viewtag": "002aedc17a2bf3187df6bf8d8648283b"
}, },
"ibizcustomerusr1119342189listview": {
"title": "部件插件",
"caption": "部件插件",
"viewtype": "DELISTVIEW",
"viewmodule": "Sample",
"viewname": "IBIZCustomerUsr1119342189ListView",
"viewtag": "00D43B4C-170E-4C5D-84A9-C43CB76B3A9F"
},
"ibizbooktreeview": { "ibizbooktreeview": {
"title": "图书树视图(主状态)", "title": "图书树视图(主状态)",
"caption": "图书", "caption": "图书",
......
...@@ -440,6 +440,7 @@ function getAppLocale(){ ...@@ -440,6 +440,7 @@ function getAppLocale(){
menuitem230: commonLogic.appcommonhandle("自定义视图",null), menuitem230: commonLogic.appcommonhandle("自定义视图",null),
menuitem233: commonLogic.appcommonhandle("插件",null), menuitem233: commonLogic.appcommonhandle("插件",null),
menuitem234: commonLogic.appcommonhandle("视图插件",null), menuitem234: commonLogic.appcommonhandle("视图插件",null),
menuitem235: commonLogic.appcommonhandle("部件插件",null),
}, },
}, },
formpage:{ formpage:{
......
...@@ -440,6 +440,7 @@ function getAppLocale(){ ...@@ -440,6 +440,7 @@ function getAppLocale(){
menuitem230: commonLogic.appcommonhandle("自定义视图",null), menuitem230: commonLogic.appcommonhandle("自定义视图",null),
menuitem233: commonLogic.appcommonhandle("插件",null), menuitem233: commonLogic.appcommonhandle("插件",null),
menuitem234: commonLogic.appcommonhandle("视图插件",null), menuitem234: commonLogic.appcommonhandle("视图插件",null),
menuitem235: commonLogic.appcommonhandle("部件插件",null),
}, },
}, },
formpage:{ formpage:{
......
...@@ -440,6 +440,7 @@ function getAppLocale(){ ...@@ -440,6 +440,7 @@ function getAppLocale(){
menuitem230: commonLogic.appcommonhandle("自定义视图",null), menuitem230: commonLogic.appcommonhandle("自定义视图",null),
menuitem233: commonLogic.appcommonhandle("插件",null), menuitem233: commonLogic.appcommonhandle("插件",null),
menuitem234: commonLogic.appcommonhandle("视图插件",null), menuitem234: commonLogic.appcommonhandle("视图插件",null),
menuitem235: commonLogic.appcommonhandle("部件插件",null),
}, },
}, },
formpage:{ formpage:{
......
...@@ -14,6 +14,10 @@ function getLocaleResourceBase(){ ...@@ -14,6 +14,10 @@ function getLocaleResourceBase(){
updateman: commonLogic.appcommonhandle("更新人",null), updateman: commonLogic.appcommonhandle("更新人",null),
}, },
views: { views: {
usr1119342189listview: {
caption: commonLogic.appcommonhandle("部件插件",null),
title: commonLogic.appcommonhandle("部件插件",null),
},
usr2gridview: { usr2gridview: {
caption: commonLogic.appcommonhandle("客户",null), caption: commonLogic.appcommonhandle("客户",null),
title: commonLogic.appcommonhandle("客户表格视图",null), title: commonLogic.appcommonhandle("客户表格视图",null),
...@@ -155,6 +159,18 @@ function getLocaleResourceBase(){ ...@@ -155,6 +159,18 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
usr1119511490_list: {
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
usr1119238459_searchform: {
details: {
formpage1: commonLogic.appcommonhandle("常规条件",null),
},
uiactions: {
},
},
default_searchform: { default_searchform: {
details: { details: {
formpage1: commonLogic.appcommonhandle("名称",null), formpage1: commonLogic.appcommonhandle("名称",null),
...@@ -163,6 +179,8 @@ function getLocaleResourceBase(){ ...@@ -163,6 +179,8 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
usr1119342189listviewtoolbar_toolbar: {
},
usr2gridviewtoolbar_toolbar: { usr2gridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
......
...@@ -14,6 +14,10 @@ function getLocaleResourceBase(){ ...@@ -14,6 +14,10 @@ function getLocaleResourceBase(){
updateman: commonLogic.appcommonhandle("更新人",null), updateman: commonLogic.appcommonhandle("更新人",null),
}, },
views: { views: {
usr1119342189listview: {
caption: commonLogic.appcommonhandle("部件插件",null),
title: commonLogic.appcommonhandle("部件插件",null),
},
usr2gridview: { usr2gridview: {
caption: commonLogic.appcommonhandle("客户",null), caption: commonLogic.appcommonhandle("客户",null),
title: commonLogic.appcommonhandle("客户表格视图",null), title: commonLogic.appcommonhandle("客户表格视图",null),
...@@ -155,6 +159,18 @@ function getLocaleResourceBase(){ ...@@ -155,6 +159,18 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
usr1119511490_list: {
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
usr1119238459_searchform: {
details: {
formpage1: commonLogic.appcommonhandle("常规条件",null),
},
uiactions: {
},
},
default_searchform: { default_searchform: {
details: { details: {
formpage1: commonLogic.appcommonhandle("名称",null), formpage1: commonLogic.appcommonhandle("名称",null),
...@@ -163,6 +179,8 @@ function getLocaleResourceBase(){ ...@@ -163,6 +179,8 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
usr1119342189listviewtoolbar_toolbar: {
},
usr2gridviewtoolbar_toolbar: { usr2gridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("New",null), caption: commonLogic.appcommonhandle("New",null),
......
...@@ -14,6 +14,10 @@ function getLocaleResourceBase(){ ...@@ -14,6 +14,10 @@ function getLocaleResourceBase(){
updateman: commonLogic.appcommonhandle("更新人",null), updateman: commonLogic.appcommonhandle("更新人",null),
}, },
views: { views: {
usr1119342189listview: {
caption: commonLogic.appcommonhandle("部件插件",null),
title: commonLogic.appcommonhandle("部件插件",null),
},
usr2gridview: { usr2gridview: {
caption: commonLogic.appcommonhandle("客户",null), caption: commonLogic.appcommonhandle("客户",null),
title: commonLogic.appcommonhandle("客户表格视图",null), title: commonLogic.appcommonhandle("客户表格视图",null),
...@@ -155,6 +159,18 @@ function getLocaleResourceBase(){ ...@@ -155,6 +159,18 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
usr1119511490_list: {
nodata:commonLogic.appcommonhandle("",null),
uiactions: {
},
},
usr1119238459_searchform: {
details: {
formpage1: commonLogic.appcommonhandle("常规条件",null),
},
uiactions: {
},
},
default_searchform: { default_searchform: {
details: { details: {
formpage1: commonLogic.appcommonhandle("名称",null), formpage1: commonLogic.appcommonhandle("名称",null),
...@@ -163,6 +179,8 @@ function getLocaleResourceBase(){ ...@@ -163,6 +179,8 @@ function getLocaleResourceBase(){
uiactions: { uiactions: {
}, },
}, },
usr1119342189listviewtoolbar_toolbar: {
},
usr2gridviewtoolbar_toolbar: { usr2gridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
......
...@@ -15,6 +15,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -15,6 +15,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZUNIProductSGridView", "viewname": "IBIZUNIProductSGridView",
"viewtag": "002aedc17a2bf3187df6bf8d8648283b" "viewtag": "002aedc17a2bf3187df6bf8d8648283b"
}, },
"ibizcustomerusr1119342189listview": {
"title": "部件插件",
"caption": "部件插件",
"viewtype": "DELISTVIEW",
"viewmodule": "Sample",
"viewname": "IBIZCustomerUsr1119342189ListView",
"viewtag": "00D43B4C-170E-4C5D-84A9-C43CB76B3A9F"
},
"ibizbooktreeview": { "ibizbooktreeview": {
"title": "图书树视图(主状态)", "title": "图书树视图(主状态)",
"caption": "图书", "caption": "图书",
......
// 基于 @VIEW/实体列表视图/VIEW.less.ftl 生成
.ibizcustomer-usr1119342189-list-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZCustomerUsr1119342189ListViewBase from './ibizcustomer-usr1119342189-list-view-base.vue';
import view_searchform from '@widgets/ibizcustomer/usr1119238459-searchform/usr1119238459-searchform.vue';
import view_list from '@widgets/ibizcustomer/usr1119511490-list/usr1119511490-list.vue';
// 基于 @VIEW/实体列表视图/VIEW.vue.ftl 生成
@Component({
components: {
view_searchform,
view_list,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBIZCustomerUsr1119342189ListView extends IBIZCustomerUsr1119342189ListViewBase {
}
</script>
\ No newline at end of file
...@@ -147,6 +147,7 @@ export const PageComponents = { ...@@ -147,6 +147,7 @@ export const PageComponents = {
Vue.component('ibizsample0021-wfdyna-action-view-layout', () => import('@pages/sample/ibizsample0021-wfdyna-action-view-layout/ibizsample0021-wfdyna-action-view-layout.vue')); Vue.component('ibizsample0021-wfdyna-action-view-layout', () => import('@pages/sample/ibizsample0021-wfdyna-action-view-layout/ibizsample0021-wfdyna-action-view-layout.vue'));
Vue.component('ibizbookcustom-view-layout', () => import('@pages/sample/ibizbookcustom-view-layout/ibizbookcustom-view-layout.vue')); Vue.component('ibizbookcustom-view-layout', () => import('@pages/sample/ibizbookcustom-view-layout/ibizbookcustom-view-layout.vue'));
Vue.component('ibizcustom-usr1118668829-edit-view', () => import('@pages/sample/ibizcustom-usr1118668829-edit-view/ibizcustom-usr1118668829-edit-view.vue')); Vue.component('ibizcustom-usr1118668829-edit-view', () => import('@pages/sample/ibizcustom-usr1118668829-edit-view/ibizcustom-usr1118668829-edit-view.vue'));
Vue.component('ibizcustomer-usr1119342189-list-view', () => import('@pages/sample/ibizcustomer-usr1119342189-list-view/ibizcustomer-usr1119342189-list-view.vue'));
Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue')); Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue'));
Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue')); Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue'));
Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue')); Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'));
......
...@@ -2223,6 +2223,20 @@ const router = new Router({ ...@@ -2223,6 +2223,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizcustom-usr1118668829-edit-view/ibizcustom-usr1118668829-edit-view.vue'), component: () => import('@pages/sample/ibizcustom-usr1118668829-edit-view/ibizcustom-usr1118668829-edit-view.vue'),
}, },
{
path: 'ibizcustomers/:ibizcustomer?/usr1119342189listview/:usr1119342189listview?',
meta: {
caption: 'entities.ibizcustomer.views.usr1119342189listview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'usr1119342189listview', parameterName: 'usr1119342189listview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-usr1119342189-list-view/ibizcustomer-usr1119342189-list-view.vue'),
},
{ {
path: 'ibizappviews/:ibizappview?/gridview/:gridview?', path: 'ibizappviews/:ibizappview?/gridview/:gridview?',
meta: { meta: {
...@@ -3592,6 +3606,19 @@ const router = new Router({ ...@@ -3592,6 +3606,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizuniproduct-sgrid-view/ibizuniproduct-sgrid-view.vue'), component: () => import('@pages/sample/ibizuniproduct-sgrid-view/ibizuniproduct-sgrid-view.vue'),
}, },
{
path: '/ibizcustomers/:ibizcustomer?/usr1119342189listview/:usr1119342189listview?',
meta: {
caption: 'entities.ibizcustomer.views.usr1119342189listview.caption',
info:'',
parameters: [
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'usr1119342189listview', parameterName: 'usr1119342189listview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-usr1119342189-list-view/ibizcustomer-usr1119342189-list-view.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/treeview/:treeview?', path: '/ibizbooks/:ibizbook?/treeview/:treeview?',
meta: { meta: {
......
...@@ -80,6 +80,19 @@ const router = new Router({ ...@@ -80,6 +80,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizuniproduct-sgrid-view/ibizuniproduct-sgrid-view.vue'), component: () => import('@pages/sample/ibizuniproduct-sgrid-view/ibizuniproduct-sgrid-view.vue'),
}, },
{
path: '/ibizcustomers/:ibizcustomer?/usr1119342189listview/:usr1119342189listview?',
meta: {
caption: 'entities.ibizcustomer.views.usr1119342189listview.caption',
info:'',
parameters: [
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'usr1119342189listview', parameterName: 'usr1119342189listview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-usr1119342189-list-view/ibizcustomer-usr1119342189-list-view.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/treeview/:treeview?', path: '/ibizbooks/:ibizbook?/treeview/:treeview?',
meta: { meta: {
......
...@@ -19,6 +19,15 @@ export const viewstate: any = { ...@@ -19,6 +19,15 @@ export const viewstate: any = {
'ae320ac92ef292866895940a2f61be48', 'ae320ac92ef292866895940a2f61be48',
], ],
}, },
{
viewtag: '00D43B4C-170E-4C5D-84A9-C43CB76B3A9F',
viewmodule: 'Sample',
viewname: 'IBIZCustomerUsr1119342189ListView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: '0161dff61fdbb4955ff92c022acc5fb4', viewtag: '0161dff61fdbb4955ff92c022acc5fb4',
viewmodule: 'Sample', viewmodule: 'Sample',
...@@ -1015,6 +1024,7 @@ export const viewstate: any = { ...@@ -1015,6 +1024,7 @@ export const viewstate: any = {
'a6d2ee3618dcfb23c3db981c9dbc4340', 'a6d2ee3618dcfb23c3db981c9dbc4340',
'fa2731c1873f3c86aa065e73cff4667b', 'fa2731c1873f3c86aa065e73cff4667b',
'B5EBDDC5-FF69-41D2-A3AD-438D13EE14A7', 'B5EBDDC5-FF69-41D2-A3AD-438D13EE14A7',
'00D43B4C-170E-4C5D-84A9-C43CB76B3A9F',
], ],
}, },
{ {
......
...@@ -92,6 +92,7 @@ export default class IBIZCustomerUIServiceBase extends UIService { ...@@ -92,6 +92,7 @@ export default class IBIZCustomerUIServiceBase extends UIService {
* @memberof IBIZCustomerUIServiceBase * @memberof IBIZCustomerUIServiceBase
*/ */
public initViewMap(){ public initViewMap(){
this.allViewMap.set(':',{viewname:'usr1119342189listview',viewType:'DELISTVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-usr1119342189-list-view'});
this.allViewMap.set(':',{viewname:'usr2gridview',viewType:'DEGRIDVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-usr2-grid-view'}); this.allViewMap.set(':',{viewname:'usr2gridview',viewType:'DEGRIDVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-usr2-grid-view'});
this.allViewMap.set(':',{viewname:'pickupgridview',viewType:'DEPICKUPGRIDVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-grid-view'}); this.allViewMap.set(':',{viewname:'pickupgridview',viewType:'DEPICKUPGRIDVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-grid-view'});
this.allViewMap.set(':',{viewname:'pickuptreeview_layout',viewType:'DEPICKUPTREEVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-tree-view-layout'}); this.allViewMap.set(':',{viewname:'pickuptreeview_layout',viewType:'DEPICKUPTREEVIEW',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-tree-view-layout'});
......
...@@ -1097,6 +1097,9 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -1097,6 +1097,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'UsrAppFunc1118370827': case 'UsrAppFunc1118370827':
this.clickUsrAppFunc1118370827(item); this.clickUsrAppFunc1118370827(item);
return; return;
case 'UsrAppFunc1119699412':
this.clickUsrAppFunc1119699412(item);
return;
default: default:
console.warn('未指定应用功能'); console.warn('未指定应用功能');
} }
...@@ -4528,6 +4531,29 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -4528,6 +4531,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
this.$router.push(path); this.$router.push(path);
}) })
} }
/**
* 部件插件
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickUsrAppFunc1119699412(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'usr1119342189listview', parameterName: 'usr1119342189listview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/** /**
* 数据加载 * 数据加载
......
...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr8GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr8GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1391,7 +1391,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1391,7 +1391,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) { if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1461,7 +1461,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1461,7 +1461,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1569,7 +1569,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1569,7 +1569,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1661,7 +1661,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1661,7 +1661,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -11,7 +11,7 @@ export default class Usr2Model { ...@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof Usr2DataViewMode * @memberof Usr2Dataviewexpbar_dataviewMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
...@@ -40,17 +40,6 @@ export default class Usr2Model { ...@@ -40,17 +40,6 @@ export default class Usr2Model {
dataType: 'FONTKEY', dataType: 'FONTKEY',
}, },
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
// 基于 @CONTROL/面板/CONTROL.less.ftl 生成
.app-layoutpanel {
}
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册