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

xignzi006 发布系统代码

上级 de7d0fe8
......@@ -215,8 +215,8 @@
}
, {
"id": "11",
"label": "Doctor's Offices and Clinics",
"text": "Doctor's Offices and Clinics",
"label": "Doctors Offices and Clinics",
"text": "Doctors Offices and Clinics",
"data":"",
"codename":"Item_11",
"value": "11",
......
......@@ -30,7 +30,7 @@ export default {
'8': 'Consumer Services',
'9': 'Design, Direction and Creative Management',
'10': 'Distributors, Dispatchers and Processors',
'11': 'Doctor's Offices and Clinics',
'11': 'Doctors Offices and Clinics',
'12': 'Durable Manufacturing',
'13': 'Eating and Drinking Places',
'14': 'Entertainment Retail',
......
......@@ -30,7 +30,7 @@ export default {
'8': 'Consumer Services',
'9': 'Design, Direction and Creative Management',
'10': 'Distributors, Dispatchers and Processors',
'11': 'Doctor's Offices and Clinics',
'11': 'Doctors Offices and Clinics',
'12': 'Durable Manufacturing',
'13': 'Eating and Drinking Places',
'14': 'Entertainment Retail',
......
......@@ -223,8 +223,8 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
{
id: '11',
label: 'Doctor's Offices and Clinics',
text: 'Doctor's Offices and Clinics',
label: 'Doctors Offices and Clinics',
text: 'Doctors Offices and Clinics',
"data":"",
"codename":"Item_11",
value: '11',
......
// 避免空文件,后台不让空文件过
.account-account {
--account-account: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import AccountAccountBase from './account-account-base.vue';
import view_form from '@widgets/account/account-form/account-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class AccountAccount extends AccountAccountBase {
}
</script>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.account-address {
--account-address: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import AccountAddressBase from './account-address-base.vue';
import view_form from '@widgets/account/address-form/address-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class AccountAddress extends AccountAddressBase {
}
</script>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.account-contact-setting {
--account-contact-setting: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import AccountContactSettingBase from './account-contact-setting-base.vue';
import view_form from '@widgets/account/contact-setting-form/contact-setting-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class AccountContactSetting extends AccountContactSettingBase {
}
</script>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.account-distribution {
--account-distribution: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import AccountDistributionBase from './account-distribution-base.vue';
import view_form from '@widgets/account/distribution-form/distribution-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class AccountDistribution extends AccountDistributionBase {
}
</script>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.account-introduction {
--account-introduction: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import AccountIntroductionBase from './account-introduction-base.vue';
import view_form from '@widgets/account/introduction-form/introduction-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class AccountIntroduction extends AccountIntroductionBase {
}
</script>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.account-major-contact {
--account-major-contact: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import AccountMajorContactBase from './account-major-contact-base.vue';
import view_form from '@widgets/account/major-contact-form/major-contact-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class AccountMajorContact extends AccountMajorContactBase {
}
</script>
\ No newline at end of file
.pickup-view {
--pickup-view: 0;
}
// 避免空文件,后台不让空文件过
.account-pickup-grid-view {
--account-pickup-grid-view: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import AccountPickupGridViewBase from './account-pickup-grid-view-base.vue';
import view_grid from '@widgets/account/main-grid/main-grid.vue';
import view_searchform from '@widgets/account/default-searchform/default-searchform.vue';
@Component({
components: {
view_grid,
view_searchform,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class AccountPickupGridView extends AccountPickupGridViewBase {
}
</script>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.account-pickup-view {
--account-pickup-view: 0;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import AccountPickupViewBase from './account-pickup-view-base.vue';
import view_pickupviewpanel from '@widgets/account/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel.vue';
@Component({
components: {
view_pickupviewpanel,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class AccountPickupView extends AccountPickupViewBase {
}
</script>
\ No newline at end of file
.option-view {
--option-view: 0;
}
// 避免空文件,后台不让空文件过
.contact-option-view {
--contact-option-view: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import ContactOptionViewBase from './contact-option-view-base.vue';
import view_form from '@widgets/contact/quick-create-form/quick-create-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class ContactOptionView extends ContactOptionViewBase {
}
</script>
\ No newline at end of file
.pickup-view {
--pickup-view: 0;
}
// 避免空文件,后台不让空文件过
.price-level-pickup-grid-view {
--price-level-pickup-grid-view: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import PriceLevelPickupGridViewBase from './price-level-pickup-grid-view-base.vue';
import view_grid from '@widgets/price-level/main-grid/main-grid.vue';
import view_searchform from '@widgets/price-level/default-searchform/default-searchform.vue';
@Component({
components: {
view_grid,
view_searchform,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class PriceLevelPickupGridView extends PriceLevelPickupGridViewBase {
}
</script>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.price-level-pickup-view {
--price-level-pickup-view: 0;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import PriceLevelPickupViewBase from './price-level-pickup-view-base.vue';
import view_pickupviewpanel from '@widgets/price-level/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel.vue';
@Component({
components: {
view_pickupviewpanel,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class PriceLevelPickupView extends PriceLevelPickupViewBase {
}
</script>
\ No newline at end of file
......@@ -690,6 +690,19 @@ const router = new Router({
},
component: () => import('@pages/sales/lead-grid-view/lead-grid-view.vue'),
},
{
path: '/accounts/:account?/account/:account?',
meta: {
caption: 'entities.account.views.account.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'account', parameterName: 'account' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-account/account-account.vue'),
},
{
path: '/ibizlists/:ibizlist?/gridview/:gridview?',
meta: {
......@@ -716,6 +729,19 @@ const router = new Router({
},
component: () => import('@pages/base/activity-pointer-edit-view/activity-pointer-edit-view.vue'),
},
{
path: '/accounts/:account?/pickupview/:pickupview?',
meta: {
caption: 'entities.account.views.pickupview.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-pickup-view/account-pickup-view.vue'),
},
{
path: '/accounts/:account?/summary/:summary?',
meta: {
......@@ -859,6 +885,19 @@ const router = new Router({
},
component: () => import('@pages/base/account-edit-view/account-edit-view.vue'),
},
{
path: '/accounts/:account?/introduction/:introduction?',
meta: {
caption: 'entities.account.views.introduction.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'introduction', parameterName: 'introduction' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-introduction/account-introduction.vue'),
},
{
path: '/goals/:goal?/editview/:editview?',
meta: {
......@@ -885,6 +924,19 @@ const router = new Router({
},
component: () => import('@pages/sales/opportunity-edit-view/opportunity-edit-view.vue'),
},
{
path: '/pricelevels/:pricelevel?/pickupview/:pickupview?',
meta: {
caption: 'entities.pricelevel.views.pickupview.title',
info:'',
parameters: [
{ pathName: 'pricelevels', parameterName: 'pricelevel' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/product/price-level-pickup-view/price-level-pickup-view.vue'),
},
{
path: '/salesliteratures/:salesliterature?/gridview/:gridview?',
meta: {
......@@ -898,6 +950,19 @@ const router = new Router({
},
component: () => import('@pages/sales/sales-literature-grid-view/sales-literature-grid-view.vue'),
},
{
path: '/accounts/:account?/address/:address?',
meta: {
caption: 'entities.account.views.address.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'address', parameterName: 'address' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-address/account-address.vue'),
},
{
path: '/contacts/:contact?/editview/:editview?',
meta: {
......@@ -950,6 +1015,19 @@ const router = new Router({
},
component: () => import('@pages/product/product-grid-view/product-grid-view.vue'),
},
{
path: '/accounts/:account?/distribution/:distribution?',
meta: {
caption: 'entities.account.views.distribution.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'distribution', parameterName: 'distribution' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-distribution/account-distribution.vue'),
},
{
path: '/competitors/:competitor?/gridview/:gridview?',
meta: {
......@@ -963,6 +1041,19 @@ const router = new Router({
},
component: () => import('@pages/sales/competitor-grid-view/competitor-grid-view.vue'),
},
{
path: '/pricelevels/:pricelevel?/pickupgridview/:pickupgridview?',
meta: {
caption: 'entities.pricelevel.views.pickupgridview.title',
info:'',
parameters: [
{ pathName: 'pricelevels', parameterName: 'pricelevel' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/product/price-level-pickup-grid-view/price-level-pickup-grid-view.vue'),
},
{
path: '/salesorders/:salesorder?/gridview/:gridview?',
meta: {
......@@ -989,6 +1080,58 @@ const router = new Router({
},
component: () => import('@pages/finance/invoice-grid-view/invoice-grid-view.vue'),
},
{
path: '/accounts/:account?/contactsetting/:contactsetting?',
meta: {
caption: 'entities.account.views.contactsetting.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'contactsetting', parameterName: 'contactsetting' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-contact-setting/account-contact-setting.vue'),
},
{
path: '/contacts/:contact?/optionview/:optionview?',
meta: {
caption: 'entities.contact.views.optionview.title',
info:'',
parameters: [
{ pathName: 'contacts', parameterName: 'contact' },
{ pathName: 'optionview', parameterName: 'optionview' },
],
requireAuth: true,
},
component: () => import('@pages/base/contact-option-view/contact-option-view.vue'),
},
{
path: '/accounts/:account?/pickupgridview/:pickupgridview?',
meta: {
caption: 'entities.account.views.pickupgridview.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-pickup-grid-view/account-pickup-grid-view.vue'),
},
{
path: '/accounts/:account?/majorcontact/:majorcontact?',
meta: {
caption: 'entities.account.views.majorcontact.title',
info:'',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'majorcontact', parameterName: 'majorcontact' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-major-contact/account-major-contact.vue'),
},
{
path: '/competitors/:competitor?/editview/:editview?',
meta: {
......
/**
* Account 部件模型
*
* @export
* @class AccountModel
*/
export default class AccountModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof AccountModel
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
{
name: 'srfupdatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{
name: 'srforikey',
},
{
name: 'srfkey',
prop: 'accountid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'accountname',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'accountname',
prop: 'accountname',
dataType: 'TEXT',
},
{
name: 'telephone1',
prop: 'telephone1',
dataType: 'TEXT',
},
{
name: 'fax',
prop: 'fax',
dataType: 'TEXT',
},
{
name: 'websiteurl',
prop: 'websiteurl',
dataType: 'TEXT',
},
{
name: 'parentaccountname',
prop: 'parentaccountname',
dataType: 'PICKUPTEXT',
},
{
name: 'tickersymbol',
prop: 'tickersymbol',
dataType: 'TEXT',
},
{
name: 'customertypecode',
prop: 'customertypecode',
dataType: 'SSCODELIST',
},
{
name: 'defaultpricelevelname',
prop: 'defaultpricelevelname',
dataType: 'PICKUPTEXT',
},
{
name: 'defaultpricelevelid',
prop: 'defaultpricelevelid',
dataType: 'PICKUP',
},
{
name: 'parentaccountid',
prop: 'parentaccountid',
dataType: 'PICKUP',
},
{
name: 'accountid',
prop: 'accountid',
dataType: 'GUID',
},
{
name: 'account',
prop: 'accountid',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册