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

xignzi006 发布系统代码

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