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

xignzi006 发布系统代码

上级 c04bb35b
......@@ -29,16 +29,6 @@
"viewtag": "06c6da1c8093784a9e76e1ccc52231b7",
"memo": "系统自动添加"
},
"accountedit_accountinfo": {
"title": "地址信息",
"caption": "客户",
"viewtype": "DEEDITVIEW",
"viewmodule": "Base",
"viewname": "AccountEdit_AccountInfo",
"viewfilename": "account-edit-account-info",
"viewtag": "0d25ba75b06acd9c995642d0a45fcd2c",
"memo": "系统自动添加"
},
"salesordereditview": {
"title": "salesorder编辑视图",
"caption": "订单",
......@@ -249,6 +239,16 @@
"viewtag": "631a4276161c551802f3aaf4bd7e607c",
"memo": ""
},
"accountedit_accountinfo": {
"title": "账户信息",
"caption": "账户信息",
"viewtype": "DEOPTVIEW",
"viewmodule": "Base",
"viewname": "AccountEdit_AccountInfo",
"viewfilename": "account-edit-account-info",
"viewtag": "688201ee5642d41628dbf4deba002d17",
"memo": ""
},
"transactioncurrencypickupgridview": {
"title": "transactioncurrency选择表格视图",
"caption": "货币",
......@@ -269,16 +269,6 @@
"viewtag": "6e18ac74e5685439110f9b4e534ee005",
"memo": "系统自动添加"
},
"accountedit_address": {
"title": "地址信息",
"caption": "客户",
"viewtype": "DEEDITVIEW",
"viewmodule": "Base",
"viewname": "AccountEdit_Address",
"viewfilename": "account-edit-address",
"viewtag": "728b69e2de09e7920b86712bc17ea963",
"memo": "系统自动添加"
},
"accountintroduction": {
"title": "account编辑视图",
"caption": "客户",
......@@ -609,13 +599,13 @@
"viewtag": "e404dc93e70d6284d4e1a083017625ed",
"memo": ""
},
"accountusr2optionview": {
"title": "客户选项操作视图",
"caption": "11",
"accountedit_address": {
"title": "地址信息",
"caption": "地址信息",
"viewtype": "DEOPTVIEW",
"viewmodule": "Base",
"viewname": "AccountUsr2OptionView",
"viewfilename": "account-usr2-option-view",
"viewname": "AccountEdit_Address",
"viewfilename": "account-edit-address",
"viewtag": "e4335da0a7c14a65376eecaabb771fd7",
"memo": ""
},
......
......@@ -165,10 +165,6 @@ export default {
transactioncurrencyname: '货币',
},
views: {
edit_accountinfo: {
caption: "客户",
title: '地址信息',
},
accountinfo: {
caption: "客户",
title: 'account编辑视图',
......@@ -188,14 +184,14 @@ export default {
gridview: {
caption: "客户",
title: 'account表格视图',
},
edit_accountinfo: {
caption: "账户信息",
title: '账户信息',
},
editview: {
caption: "客户",
title: 'account编辑视图',
},
edit_address: {
caption: "客户",
title: '地址信息',
},
introduction: {
caption: "客户",
......@@ -217,9 +213,9 @@ export default {
caption: "客户",
title: 'account编辑视图',
},
usr2optionview: {
caption: "11",
title: '客户选项操作视图',
edit_address: {
caption: "地址信息",
title: '地址信息',
},
pickupgridview: {
caption: "客户",
......@@ -230,7 +226,7 @@ export default {
title: 'account编辑视图',
},
},
edit_accountinfo_form: {
accountinfo_form: {
details: {
group1: "客户基本信息",
formpage1: "基本信息",
......@@ -250,14 +246,12 @@ export default {
tickersymbol: "股票代号",
customertypecode: "关系类型",
defaultpricelevelname: "价目表",
defaultpricelevelid: "价目表",
parentaccountid: "上级单位",
accountid: "客户",
},
uiactions: {
},
},
accountinfo_form: {
edit_accountinfo_form: {
details: {
group1: "客户基本信息",
formpage1: "基本信息",
......@@ -277,12 +271,14 @@ export default {
tickersymbol: "股票代号",
customertypecode: "关系类型",
defaultpricelevelname: "价目表",
defaultpricelevelid: "价目表",
parentaccountid: "上级单位",
accountid: "客户",
},
uiactions: {
},
},
edit_address_form: {
address_form: {
details: {
group1: "客户基本信息",
formpage1: "基本信息",
......@@ -306,7 +302,7 @@ export default {
uiactions: {
},
},
address_form: {
edit_address_form: {
details: {
group1: "客户基本信息",
formpage1: "基本信息",
......@@ -509,82 +505,6 @@ export default {
uiactions: {
},
},
edit_accountinfotoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "New",
tip: "New",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "Copy",
tip: "Copy {0}",
},
},
edit_addresstoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "New",
tip: "New",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "Copy",
tip: "Copy {0}",
},
},
gridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: {
caption: "新建",
......
......@@ -164,10 +164,6 @@ export default {
transactioncurrencyname: '货币',
},
views: {
edit_accountinfo: {
caption: '客户',
title: '地址信息',
},
accountinfo: {
caption: '客户',
title: 'account编辑视图',
......@@ -187,14 +183,14 @@ export default {
gridview: {
caption: '客户',
title: 'account表格视图',
},
edit_accountinfo: {
caption: '账户信息',
title: '账户信息',
},
editview: {
caption: '客户',
title: 'account编辑视图',
},
edit_address: {
caption: '客户',
title: '地址信息',
},
introduction: {
caption: '客户',
......@@ -216,9 +212,9 @@ export default {
caption: '客户',
title: 'account编辑视图',
},
usr2optionview: {
caption: '11',
title: '客户选项操作视图',
edit_address: {
caption: '地址信息',
title: '地址信息',
},
pickupgridview: {
caption: '客户',
......@@ -229,7 +225,7 @@ export default {
title: 'account编辑视图',
},
},
edit_accountinfo_form: {
accountinfo_form: {
details: {
group1: '客户基本信息',
formpage1: '基本信息',
......@@ -249,14 +245,12 @@ export default {
tickersymbol: '股票代号',
customertypecode: '关系类型',
defaultpricelevelname: '价目表',
defaultpricelevelid: '价目表',
parentaccountid: '上级单位',
accountid: '客户',
},
uiactions: {
},
},
accountinfo_form: {
edit_accountinfo_form: {
details: {
group1: '客户基本信息',
formpage1: '基本信息',
......@@ -276,12 +270,14 @@ export default {
tickersymbol: '股票代号',
customertypecode: '关系类型',
defaultpricelevelname: '价目表',
defaultpricelevelid: '价目表',
parentaccountid: '上级单位',
accountid: '客户',
},
uiactions: {
},
},
edit_address_form: {
address_form: {
details: {
group1: '客户基本信息',
formpage1: '基本信息',
......@@ -305,7 +301,7 @@ export default {
uiactions: {
},
},
address_form: {
edit_address_form: {
details: {
group1: '客户基本信息',
formpage1: '基本信息',
......@@ -508,82 +504,6 @@ export default {
uiactions: {
},
},
edit_accountinfotoolbar_toolbar: {
tbitem3: {
caption: '保存',
tip: '保存',
},
tbitem4: {
caption: '保存并新建',
tip: '保存并新建',
},
tbitem5: {
caption: '保存并关闭',
tip: '保存并关闭',
},
tbitem6: {
caption: '-',
tip: '',
},
tbitem7: {
caption: '删除并关闭',
tip: '删除并关闭',
},
tbitem8: {
caption: '-',
tip: '',
},
tbitem12: {
caption: '新建',
tip: '新建',
},
tbitem13: {
caption: '-',
tip: '',
},
tbitem14: {
caption: '拷贝',
tip: '拷贝',
},
},
edit_addresstoolbar_toolbar: {
tbitem3: {
caption: '保存',
tip: '保存',
},
tbitem4: {
caption: '保存并新建',
tip: '保存并新建',
},
tbitem5: {
caption: '保存并关闭',
tip: '保存并关闭',
},
tbitem6: {
caption: '-',
tip: '',
},
tbitem7: {
caption: '删除并关闭',
tip: '删除并关闭',
},
tbitem8: {
caption: '-',
tip: '',
},
tbitem12: {
caption: '新建',
tip: '新建',
},
tbitem13: {
caption: '-',
tip: '',
},
tbitem14: {
caption: '拷贝',
tip: '拷贝',
},
},
gridviewtoolbar_toolbar: {
tbitem1_openquickcreateview: {
caption: '新建',
......
......@@ -31,14 +31,6 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IncidentEditView",
"viewtag": "06c6da1c8093784a9e76e1ccc52231b7"
},
"accountedit_accountinfo": {
"title": "地址信息",
"caption": "客户",
"viewtype": "DEEDITVIEW",
"viewmodule": "Base",
"viewname": "AccountEdit_AccountInfo",
"viewtag": "0d25ba75b06acd9c995642d0a45fcd2c"
},
"salesordereditview": {
"title": "salesorder编辑视图",
"caption": "订单",
......@@ -207,6 +199,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "GoalGridView",
"viewtag": "631a4276161c551802f3aaf4bd7e607c"
},
"accountedit_accountinfo": {
"title": "账户信息",
"caption": "账户信息",
"viewtype": "DEOPTVIEW",
"viewmodule": "Base",
"viewname": "AccountEdit_AccountInfo",
"viewtag": "688201ee5642d41628dbf4deba002d17"
},
"transactioncurrencypickupgridview": {
"title": "transactioncurrency选择表格视图",
"caption": "货币",
......@@ -223,14 +223,6 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "AccountEditView",
"viewtag": "6e18ac74e5685439110f9b4e534ee005"
},
"accountedit_address": {
"title": "地址信息",
"caption": "客户",
"viewtype": "DEEDITVIEW",
"viewmodule": "Base",
"viewname": "AccountEdit_Address",
"viewtag": "728b69e2de09e7920b86712bc17ea963"
},
"accountintroduction": {
"title": "account编辑视图",
"caption": "客户",
......@@ -495,12 +487,12 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "ContactOptionView",
"viewtag": "e404dc93e70d6284d4e1a083017625ed"
},
"accountusr2optionview": {
"title": "客户选项操作视图",
"caption": "11",
"accountedit_address": {
"title": "地址信息",
"caption": "地址信息",
"viewtype": "DEOPTVIEW",
"viewmodule": "Base",
"viewname": "AccountUsr2OptionView",
"viewname": "AccountEdit_Address",
"viewtag": "e4335da0a7c14a65376eecaabb771fd7"
},
"accountpickupgridview": {
......
.option-view {
--option-view: 0;
}
// 避免空文件,后台不让空文件过
.account-edit-account-info {
--account-edit-account-info: 0;
}
// 视图样式
// this is less
.option-view {
--option-view: 0;
}
// 避免空文件,后台不让空文件过
.account-edit-address {
--account-edit-address: 0;
}
// 视图样式
// this is less
<template>
<studio-embed-view viewName="contactabstracteditview9" viewTitle="联系人编辑视图" class='deeditview9 contact-abstract-edit-view9'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<template slot="toolbar">
<div class='toolbar-container'>
<i-button :title="$t('entities.contact.abstracteditview9toolbar_toolbar.deuiaction2.tip')" v-show="toolBarModels.deuiaction2.visabled" :disabled="toolBarModels.deuiaction2.disabled" class='' @click="toolbar_click({ tag: 'deuiaction2' }, $event)">
......
<template>
<studio-embed-view viewName="contactdetailinfoeditview9" viewTitle="联系人编辑视图" class='deeditview9 contact-detail-info-edit-view9'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<view_form
:viewState="viewState"
:viewparams="viewparams"
......
......@@ -55,11 +55,10 @@ export const PageComponents = {
Vue.component('ibiz-list-edit-view', () => import('@pages/marketing/ibiz-list-edit-view/ibiz-list-edit-view.vue'));
Vue.component('quote-edit-view', () => import('@pages/sales/quote-edit-view/quote-edit-view.vue'));
Vue.component('incident-grid-view', () => import('@pages/service/incident-grid-view/incident-grid-view.vue'));
Vue.component('account-edit-account-info', () => import('@pages/base/account-edit-account-info/account-edit-account-info.vue'));
Vue.component('contact-detail-info-edit-view9', () => import('@pages/base/contact-detail-info-edit-view9/contact-detail-info-edit-view9.vue'));
Vue.component('account-edit-address', () => import('@pages/base/account-edit-address/account-edit-address.vue'));
Vue.component('account-edit-account-info', () => import('@pages/base/account-edit-account-info/account-edit-account-info.vue'));
Vue.component('contact-abstract-edit-view9', () => import('@pages/base/contact-abstract-edit-view9/contact-abstract-edit-view9.vue'));
Vue.component('contact-pickup-view', () => import('@pages/base/contact-pickup-view/contact-pickup-view.vue'));
Vue.component('account-usr2-option-view', () => import('@pages/base/account-usr2-option-view/account-usr2-option-view.vue'));
Vue.component('account-edit-address', () => import('@pages/base/account-edit-address/account-edit-address.vue'));
}
};
\ No newline at end of file
......@@ -231,18 +231,18 @@ const router = new Router({
component: () => import('@pages/ungroup/centeral-portal/centeral-portal.vue'),
},
{
path: 'accounts/:account?/usr2optionview/:usr2optionview?',
path: 'accounts/:account?/edit_address/:edit_address?',
meta: {
caption: 'entities.account.views.usr2optionview.title',
caption: 'entities.account.views.edit_address.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'usr2optionview', parameterName: 'usr2optionview' },
{ pathName: 'edit_address', parameterName: 'edit_address' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-usr2-option-view/account-usr2-option-view.vue'),
component: () => import('@pages/base/account-edit-address/account-edit-address.vue'),
},
{
path: 'products/:product?/editview/:editview?',
......@@ -440,20 +440,6 @@ const router = new Router({
},
component: () => import('@pages/base/appointment-edit-view/appointment-edit-view.vue'),
},
{
path: 'accounts/:account?/edit_address/:edit_address?',
meta: {
caption: 'entities.account.views.edit_address.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'edit_address', parameterName: 'edit_address' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-edit-address/account-edit-address.vue'),
},
{
path: 'contacts/:contact?/tabexpview/:tabexpview?',
meta: {
......@@ -860,6 +846,20 @@ const router = new Router({
},
component: () => import('@pages/sales/quote-edit-view/quote-edit-view.vue'),
},
{
path: 'accounts/:account?/edit_accountinfo/:edit_accountinfo?',
meta: {
caption: 'entities.account.views.edit_accountinfo.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'edit_accountinfo', parameterName: 'edit_accountinfo' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-edit-account-info/account-edit-account-info.vue'),
},
{
path: 'incidents/:incident?/gridview/:gridview?',
meta: {
......@@ -916,19 +916,6 @@ const router = new Router({
},
component: () => import('@pages/service/incident-edit-view/incident-edit-view.vue'),
},
{
path: '/accounts/:account?/edit_accountinfo/:edit_accountinfo?',
meta: {
caption: 'entities.account.views.edit_accountinfo.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'edit_accountinfo', parameterName: 'edit_accountinfo' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-edit-account-info/account-edit-account-info.vue'),
},
{
path: '/salesorders/:salesorder?/editview/:editview?',
meta: {
......@@ -1190,30 +1177,30 @@ const router = new Router({
component: () => import('@pages/sales/goal-grid-view/goal-grid-view.vue'),
},
{
path: '/accounts/:account?/editview/:editview?',
path: '/accounts/:account?/edit_accountinfo/:edit_accountinfo?',
meta: {
caption: 'entities.account.views.editview.title',
caption: 'entities.account.views.edit_accountinfo.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'editview', parameterName: 'editview' },
{ pathName: 'edit_accountinfo', parameterName: 'edit_accountinfo' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-edit-view/account-edit-view.vue'),
component: () => import('@pages/base/account-edit-account-info/account-edit-account-info.vue'),
},
{
path: '/accounts/:account?/edit_address/:edit_address?',
path: '/accounts/:account?/editview/:editview?',
meta: {
caption: 'entities.account.views.edit_address.title',
caption: 'entities.account.views.editview.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'edit_address', parameterName: 'edit_address' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-edit-address/account-edit-address.vue'),
component: () => import('@pages/base/account-edit-view/account-edit-view.vue'),
},
{
path: '/accounts/:account?/introduction/:introduction?',
......@@ -1592,17 +1579,17 @@ const router = new Router({
component: () => import('@pages/base/contact-option-view/contact-option-view.vue'),
},
{
path: '/accounts/:account?/usr2optionview/:usr2optionview?',
path: '/accounts/:account?/edit_address/:edit_address?',
meta: {
caption: 'entities.account.views.usr2optionview.title',
caption: 'entities.account.views.edit_address.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'usr2optionview', parameterName: 'usr2optionview' },
{ pathName: 'edit_address', parameterName: 'edit_address' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-usr2-option-view/account-usr2-option-view.vue'),
component: () => import('@pages/base/account-edit-address/account-edit-address.vue'),
},
{
path: '/accounts/:account?/pickupgridview/:pickupgridview?',
......
......@@ -32,17 +32,6 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '0d25ba75b06acd9c995642d0a45fcd2c',
viewmodule: 'Base',
viewname: 'AccountEdit_AccountInfo',
viewaction: '',
viewdatachange: false,
refviews: [
'8b806fb12589b2fc17d1bb90f4b5422e',
'29bfcd628ab25e297248ff0524d12908',
],
},
{
viewtag: '0ff3eacd51054572cf899247b1c57018',
viewmodule: 'Sales',
......@@ -127,7 +116,7 @@ export const viewstate: any = {
'893e62d6fbdc4580de7e3e802aec9108',
'916febbb65be1c54dd42ccb9914fe973',
'1d3b94223a5d3f8ab1d2fe334c8c4afd',
'728b69e2de09e7920b86712bc17ea963',
'688201ee5642d41628dbf4deba002d17',
'a5213905238dbc5d8e1a505029105cc9',
],
},
......@@ -259,9 +248,9 @@ export const viewstate: any = {
],
},
{
viewtag: '6e18ac74e5685439110f9b4e534ee005',
viewtag: '688201ee5642d41628dbf4deba002d17',
viewmodule: 'Base',
viewname: 'AccountEditView',
viewname: 'AccountEdit_AccountInfo',
viewaction: '',
viewdatachange: false,
refviews: [
......@@ -270,12 +259,14 @@ export const viewstate: any = {
],
},
{
viewtag: '728b69e2de09e7920b86712bc17ea963',
viewtag: '6e18ac74e5685439110f9b4e534ee005',
viewmodule: 'Base',
viewname: 'AccountEdit_Address',
viewname: 'AccountEditView',
viewaction: '',
viewdatachange: false,
refviews: [
'8b806fb12589b2fc17d1bb90f4b5422e',
'29bfcd628ab25e297248ff0524d12908',
],
},
{
......@@ -586,7 +577,7 @@ export const viewstate: any = {
{
viewtag: 'e4335da0a7c14a65376eecaabb771fd7',
viewmodule: 'Base',
viewname: 'AccountUsr2OptionView',
viewname: 'AccountEdit_Address',
viewaction: '',
viewdatachange: false,
refviews: [
......
......@@ -79,20 +79,19 @@ export default class AccountUIServiceBase extends UIService {
* @memberof AccountUIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'edit_accountinfo',srfappde:'accounts'});
this.allViewMap.set(':',{viewname:'accountinfo',srfappde:'accounts'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'accounts'});
this.allViewMap.set(':',{viewname:'summary',srfappde:'accounts'});
this.allViewMap.set(':',{viewname:'info',srfappde:'accounts'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'accounts'});
this.allViewMap.set(':',{viewname:'edit_accountinfo',srfappde:'accounts'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'accounts'});
this.allViewMap.set(':',{viewname:'edit_address',srfappde:'accounts'});
this.allViewMap.set(':',{viewname:'introduction',srfappde:'accounts'});
this.allViewMap.set(':',{viewname:'address',srfappde:'accounts'});
this.allViewMap.set(':',{viewname:'optionview',srfappde:'accounts'});
this.allViewMap.set(':',{viewname:'distribution',srfappde:'accounts'});
this.allViewMap.set(':',{viewname:'contactsetting',srfappde:'accounts'});
this.allViewMap.set(':',{viewname:'usr2optionview',srfappde:'accounts'});
this.allViewMap.set(':',{viewname:'edit_address',srfappde:'accounts'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'accounts'});
this.allViewMap.set(':',{viewname:'majorcontact',srfappde:'accounts'});
}
......@@ -288,10 +287,10 @@ export default class AccountUIServiceBase extends UIService {
});
}
const view: any = {
viewname: 'account-usr2-option-view',
viewname: 'account-edit-account-info',
height: 0,
width: 450,
title: actionContext.$t('entities.account.views.usr2optionview.title'),
title: actionContext.$t('entities.account.views.edit_accountinfo.title'),
placement: 'DRAWER_RIGHT',
};
openDrawer(view, data);
......
......@@ -1183,7 +1183,7 @@ export default class Edit_AddressBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: '错误', desc: 'AccountUsr2OptionView视图表单loadAction参数未配置' });
this.$Notice.error({ title: '错误', desc: 'AccountEdit_Address视图表单loadAction参数未配置' });
return;
}
const arg: any = { ...opt };
......@@ -1218,7 +1218,7 @@ export default class Edit_AddressBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: '错误', desc: 'AccountUsr2OptionView视图表单loaddraftAction参数未配置' });
this.$Notice.error({ title: '错误', desc: 'AccountEdit_Address视图表单loaddraftAction参数未配置' });
return;
}
const arg: any = { ...opt } ;
......@@ -1280,7 +1280,7 @@ export default class Edit_AddressBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: '错误', desc: 'AccountUsr2OptionView视图表单'+actionName+'参数未配置' });
this.$Notice.error({ title: '错误', desc: 'AccountEdit_Address视图表单'+actionName+'参数未配置' });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1344,7 +1344,7 @@ export default class Edit_AddressBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: '错误', desc: 'AccountUsr2OptionView视图表单'+actionName+'参数未配置' });
this.$Notice.error({ title: '错误', desc: 'AccountEdit_Address视图表单'+actionName+'参数未配置' });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1394,7 +1394,7 @@ export default class Edit_AddressBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: '错误', desc: 'AccountUsr2OptionView视图表单removeAction参数未配置' });
this.$Notice.error({ title: '错误', desc: 'AccountEdit_Address视图表单removeAction参数未配置' });
return;
}
const arg: any = opt[0];
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册