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

xignzi006 发布系统代码

上级 79a54a86
......@@ -98,6 +98,43 @@
}
]
},
{
"srfkey": "Task__PriorityCode",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "2",
"label": "High",
"text": "High",
"data":"",
"codename":"Item_2",
"value": "2",
"disabled": false
}
, {
"id": "0",
"label": "Low",
"text": "Low",
"data":"",
"codename":"Item_0",
"value": "0",
"disabled": false
}
, {
"id": "1",
"label": "Normal",
"text": "Normal",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
]
},
{
"srfkey": "Contact__FamilyStatusCode",
"emptytext": "未定义",
......
......@@ -340,8 +340,8 @@
"memo": "系统自动添加"
},
"taskquickcreate": {
"title": "任务",
"caption": "任务",
"title": "快速新建:任务",
"caption": "快速新建:任务",
"viewtype": "DEOPTVIEW",
"viewmodule": "Base",
"viewname": "TaskQuickCreate",
......
......@@ -18,6 +18,12 @@ export default {
'0': '否',
empty: '',
},
Task__PriorityCode: {
'2': 'High',
'0': 'Low',
'1': 'Normal',
empty: '',
},
Contact__FamilyStatusCode: {
'3': 'Divorced',
'2': 'Married',
......
......@@ -18,6 +18,12 @@ export default {
'0': '否',
empty: '',
},
Task__PriorityCode: {
'2': 'High',
'0': 'Low',
'1': 'Normal',
empty: '',
},
Contact__FamilyStatusCode: {
'3': 'Divorced',
'2': 'Married',
......
......@@ -302,30 +302,6 @@ export default {
uiactions: {
},
},
edit_address_form: {
details: {
group1: "客户基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "客户",
srfmajortext: "客户名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
address1_addressid: "地址 1: ID",
address1_name: "地址 1: 名称",
address1_addresstypecode: "地址 1: 地址类型",
address1_country: "地址 1: 国家/地区",
address1_stateorprovince: "地址 1: 省/市/自治区",
address1_city: "地址 1: 市/县",
address1_county: "地址 1: 县",
accountid: "客户",
},
uiactions: {
},
},
introduction_form: {
details: {
group1: "客户基本信息",
......@@ -487,6 +463,30 @@ export default {
uiactions: {
},
},
edit_address_form: {
details: {
group1: "客户基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "客户",
srfmajortext: "客户名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
address1_addressid: "地址 1: ID",
address1_name: "地址 1: 名称",
address1_addresstypecode: "地址 1: 地址类型",
address1_country: "地址 1: 国家/地区",
address1_stateorprovince: "地址 1: 省/市/自治区",
address1_city: "地址 1: 市/县",
address1_county: "地址 1: 县",
accountid: "客户",
},
uiactions: {
},
},
main_grid: {
columns: {
accountname: "客户名称",
......@@ -543,44 +543,6 @@ export default {
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: "新建",
......@@ -623,4 +585,42 @@ export default {
tip: "Filter",
},
},
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}",
},
},
};
\ No newline at end of file
......@@ -301,30 +301,6 @@ export default {
uiactions: {
},
},
edit_address_form: {
details: {
group1: '客户基本信息',
formpage1: '基本信息',
srfupdatedate: '更新时间',
srforikey: '',
srfkey: '客户',
srfmajortext: '客户名称',
srftempmode: '',
srfuf: '',
srfdeid: '',
srfsourcekey: '',
address1_addressid: '地址 1: ID',
address1_name: '地址 1: 名称',
address1_addresstypecode: '地址 1: 地址类型',
address1_country: '地址 1: 国家/地区',
address1_stateorprovince: '地址 1: 省/市/自治区',
address1_city: '地址 1: 市/县',
address1_county: '地址 1: 县',
accountid: '客户',
},
uiactions: {
},
},
introduction_form: {
details: {
group1: '客户基本信息',
......@@ -486,6 +462,30 @@ export default {
uiactions: {
},
},
edit_address_form: {
details: {
group1: '客户基本信息',
formpage1: '基本信息',
srfupdatedate: '更新时间',
srforikey: '',
srfkey: '客户',
srfmajortext: '客户名称',
srftempmode: '',
srfuf: '',
srfdeid: '',
srfsourcekey: '',
address1_addressid: '地址 1: ID',
address1_name: '地址 1: 名称',
address1_addresstypecode: '地址 1: 地址类型',
address1_country: '地址 1: 国家/地区',
address1_stateorprovince: '地址 1: 省/市/自治区',
address1_city: '地址 1: 市/县',
address1_county: '地址 1: 县',
accountid: '客户',
},
uiactions: {
},
},
main_grid: {
columns: {
accountname: '客户名称',
......@@ -542,44 +542,6 @@ export default {
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: '新建',
......@@ -622,4 +584,42 @@ export default {
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: '拷贝',
},
},
};
\ No newline at end of file
......@@ -265,6 +265,35 @@ export default {
uiactions: {
},
},
abstractinfo_form: {
details: {
group1: "联系人基本信息",
grouppanel1: "地址",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "联系人",
srfmajortext: "全名",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
fullname: "全名",
jobtitle: "职务",
emailaddress1: "电子邮件",
telephone1: "商务电话",
mobilephone: "移动电话",
fax: "传真",
address1_country: "国家/地区",
address1_stateorprovince: "省/市/自治区",
address1_city: "市/县",
address1_line1: "街道",
address1_postalcode: "邮政编码",
contactid: "联系人",
},
uiactions: {
},
},
detailinfo_form: {
details: {
group1: "个人信息",
......@@ -293,8 +322,6 @@ export default {
creditonhold: "信用冻结",
paymenttermscode: "付款方式",
shippingmethodcode: "送货方式",
originatingleadid: "原始潜在顾客",
transactioncurrencyid: "货币",
contactid: "联系人",
},
uiactions: {
......
......@@ -264,6 +264,35 @@ export default {
uiactions: {
},
},
abstractinfo_form: {
details: {
group1: '联系人基本信息',
grouppanel1: '地址',
formpage1: '基本信息',
srfupdatedate: '更新时间',
srforikey: '',
srfkey: '联系人',
srfmajortext: '全名',
srftempmode: '',
srfuf: '',
srfdeid: '',
srfsourcekey: '',
fullname: '全名',
jobtitle: '职务',
emailaddress1: '电子邮件',
telephone1: '商务电话',
mobilephone: '移动电话',
fax: '传真',
address1_country: '国家/地区',
address1_stateorprovince: '省/市/自治区',
address1_city: '市/县',
address1_line1: '街道',
address1_postalcode: '邮政编码',
contactid: '联系人',
},
uiactions: {
},
},
detailinfo_form: {
details: {
group1: '个人信息',
......@@ -292,8 +321,6 @@ export default {
creditonhold: '信用冻结',
paymenttermscode: '付款方式',
shippingmethodcode: '送货方式',
originatingleadid: '原始潜在顾客',
transactioncurrencyid: '货币',
contactid: '联系人',
},
uiactions: {
......
......@@ -52,8 +52,8 @@ export default {
},
views: {
quickcreate: {
caption: "任务",
title: '任务',
caption: "快速新建:任务",
title: '快速新建:任务',
},
editview: {
caption: "任务",
......@@ -72,10 +72,14 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
subject: "主题",
ownerid: "负责人",
owneridtype: "OwnerIdType",
owneridyominame: "OwnerIdYomiName",
subject: "主题",
description: "说明",
scheduledend: "截止日期",
actualdurationminutes: "持续时间",
prioritycode: "优先级",
regardingobjectid: "关于",
regardingobjectidyominame: "RegardingObjectIdYomiName",
regardingobjecttypecode: "RegardingObjectTypeCode",
......
......@@ -51,8 +51,8 @@ export default {
},
views: {
quickcreate: {
caption: '任务',
title: '任务',
caption: '快速新建:任务',
title: '快速新建:任务',
},
editview: {
caption: '任务',
......@@ -71,10 +71,14 @@ export default {
srfuf: '',
srfdeid: '',
srfsourcekey: '',
subject: '主题',
ownerid: '负责人',
owneridtype: 'OwnerIdType',
owneridyominame: 'OwnerIdYomiName',
subject: '主题',
description: '说明',
scheduledend: '截止日期',
actualdurationminutes: '持续时间',
prioritycode: '优先级',
regardingobjectid: '关于',
regardingobjectidyominame: 'RegardingObjectIdYomiName',
regardingobjecttypecode: 'RegardingObjectTypeCode',
......
......@@ -106,6 +106,43 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey: 'Task__PriorityCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{
id: '2',
label: 'High',
text: 'High',
"data":"",
"codename":"Item_2",
value: '2',
disabled: false,
},
{
id: '0',
label: 'Low',
text: 'Low',
"data":"",
"codename":"Item_0",
value: '0',
disabled: false,
},
{
id: '1',
label: 'Normal',
text: 'Normal',
"data":"",
"codename":"Item_1",
value: '1',
disabled: false,
},
]
},
{
srfkey: 'Contact__FamilyStatusCode',
emptytext: '未定义',
......
......@@ -280,8 +280,8 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag": "85781d107d628dfc6cdf9693797f073e"
},
"taskquickcreate": {
"title": "任务",
"caption": "任务",
"title": "快速新建:任务",
"caption": "快速新建:任务",
"viewtype": "DEOPTVIEW",
"viewmodule": "Base",
"viewname": "TaskQuickCreate",
......
......@@ -2,7 +2,7 @@
import { Component } from 'vue-property-decorator';
import ContactAbstractEditView9Base from './contact-abstract-edit-view9-base.vue';
import view_form from '@widgets/contact/quick-create-form/quick-create-form.vue';
import view_form from '@widgets/contact/abstract-info-form/abstract-info-form.vue';
@Component({
components: {
view_form,
......
<template>
<studio-view viewName="taskquickcreate" viewTitle="任务" class='deoptview task-quick-create'>
<studio-view viewName="taskquickcreate" viewTitle="快速新建:任务" class='deoptview task-quick-create'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
......
......@@ -7,7 +7,6 @@ export const PageComponents = {
Vue.component('sales-order-edit-view', () => import('@pages/sales/sales-order-edit-view/sales-order-edit-view.vue'));
Vue.component('account-edit-view', () => import('@pages/base/account-edit-view/account-edit-view.vue'));
Vue.component('fax-edit-view', () => import('@pages/base/fax-edit-view/fax-edit-view.vue'));
Vue.component('lead-pickup-view', () => import('@pages/sales/lead-pickup-view/lead-pickup-view.vue'));
Vue.component('incident-edit-view', () => import('@pages/service/incident-edit-view/incident-edit-view.vue'));
Vue.component('activity-pointer-edit-view', () => import('@pages/base/activity-pointer-edit-view/activity-pointer-edit-view.vue'));
Vue.component('lead-grid-view', () => import('@pages/sales/lead-grid-view/lead-grid-view.vue'));
......@@ -24,14 +23,12 @@ export const PageComponents = {
Vue.component('opportunity-grid-view', () => import('@pages/sales/opportunity-grid-view/opportunity-grid-view.vue'));
Vue.component('letter-edit-view', () => import('@pages/base/letter-edit-view/letter-edit-view.vue'));
Vue.component('goal-edit-view', () => import('@pages/sales/goal-edit-view/goal-edit-view.vue'));
Vue.component('transaction-currency-pickup-view', () => import('@pages/base/transaction-currency-pickup-view/transaction-currency-pickup-view.vue'));
Vue.component('account-address', () => import('@pages/base/account-address/account-address.vue'));
Vue.component('appointment-edit-view', () => import('@pages/base/appointment-edit-view/appointment-edit-view.vue'));
Vue.component('contact-tab-exp-view', () => import('@pages/base/contact-tab-exp-view/contact-tab-exp-view.vue'));
Vue.component('email-edit-view', () => import('@pages/base/email-edit-view/email-edit-view.vue'));
Vue.component('contact-pickup-grid-view', () => import('@pages/base/contact-pickup-grid-view/contact-pickup-grid-view.vue'));
Vue.component('goal-grid-view', () => import('@pages/sales/goal-grid-view/goal-grid-view.vue'));
Vue.component('transaction-currency-pickup-grid-view', () => import('@pages/base/transaction-currency-pickup-grid-view/transaction-currency-pickup-grid-view.vue'));
Vue.component('contact-grid-view', () => import('@pages/base/contact-grid-view/contact-grid-view.vue'));
Vue.component('service-appointment-edit-view', () => import('@pages/service/service-appointment-edit-view/service-appointment-edit-view.vue'));
Vue.component('account-grid-view', () => import('@pages/base/account-grid-view/account-grid-view.vue'));
......@@ -43,7 +40,6 @@ export const PageComponents = {
Vue.component('ibiz-list-grid-view', () => import('@pages/marketing/ibiz-list-grid-view/ibiz-list-grid-view.vue'));
Vue.component('product-grid-view', () => import('@pages/product/product-grid-view/product-grid-view.vue'));
Vue.component('sales-literature-edit-view', () => import('@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'));
Vue.component('lead-pickup-grid-view', () => import('@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'));
Vue.component('account-pickup-grid-view', () => import('@pages/base/account-pickup-grid-view/account-pickup-grid-view.vue'));
Vue.component('account-info', () => import('@pages/base/account-info/account-info.vue'));
Vue.component('account-major-contact', () => import('@pages/base/account-major-contact/account-major-contact.vue'));
......
......@@ -147,20 +147,6 @@ const router = new Router({
},
component: () => import('@pages/base/contact-abstract-edit-view9/contact-abstract-edit-view9.vue'),
},
{
path: 'leads/:lead?/pickupview/:pickupview?',
meta: {
caption: 'entities.lead.views.pickupview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/lead-pickup-view/lead-pickup-view.vue'),
},
{
path: 'incidents/:incident?/editview/:editview?',
meta: {
......@@ -398,20 +384,6 @@ const router = new Router({
},
component: () => import('@pages/sales/goal-edit-view/goal-edit-view.vue'),
},
{
path: 'transactioncurrencies/:transactioncurrency?/pickupview/:pickupview?',
meta: {
caption: 'entities.transactioncurrency.views.pickupview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'transactioncurrencies', parameterName: 'transactioncurrency' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/base/transaction-currency-pickup-view/transaction-currency-pickup-view.vue'),
},
{
path: 'accounts/:account?/address/:address?',
meta: {
......@@ -454,20 +426,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: {
......@@ -524,20 +482,6 @@ const router = new Router({
},
component: () => import('@pages/sales/goal-grid-view/goal-grid-view.vue'),
},
{
path: 'transactioncurrencies/:transactioncurrency?/pickupgridview/:pickupgridview?',
meta: {
caption: 'entities.transactioncurrency.views.pickupgridview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'transactioncurrencies', parameterName: 'transactioncurrency' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/base/transaction-currency-pickup-grid-view/transaction-currency-pickup-grid-view.vue'),
},
{
path: 'contacts/:contact?/gridview/:gridview?',
meta: {
......@@ -706,20 +650,6 @@ const router = new Router({
},
component: () => import('@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'),
},
{
path: 'leads/:lead?/pickupgridview/:pickupgridview?',
meta: {
caption: 'entities.lead.views.pickupgridview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'),
},
{
path: 'accounts/:account?/pickupgridview/:pickupgridview?',
meta: {
......@@ -1024,19 +954,6 @@ const router = new Router({
},
component: () => import('@pages/sales/lead-grid-view/lead-grid-view.vue'),
},
{
path: '/leads/:lead?/pickupview/:pickupview?',
meta: {
caption: 'entities.lead.views.pickupview.title',
info:'',
parameters: [
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/lead-pickup-view/lead-pickup-view.vue'),
},
{
path: '/accounts/:account?/accountinfo/:accountinfo?',
meta: {
......@@ -1258,19 +1175,6 @@ const router = new Router({
},
component: () => import('@pages/sales/goal-grid-view/goal-grid-view.vue'),
},
{
path: '/transactioncurrencies/:transactioncurrency?/pickupgridview/:pickupgridview?',
meta: {
caption: 'entities.transactioncurrency.views.pickupgridview.title',
info:'',
parameters: [
{ pathName: 'transactioncurrencies', parameterName: 'transactioncurrency' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/base/transaction-currency-pickup-grid-view/transaction-currency-pickup-grid-view.vue'),
},
{
path: '/accounts/:account?/editview/:editview?',
meta: {
......@@ -1336,19 +1240,6 @@ const router = new Router({
},
component: () => import('@pages/sales/opportunity-edit-view/opportunity-edit-view.vue'),
},
{
path: '/leads/:lead?/pickupgridview/:pickupgridview?',
meta: {
caption: 'entities.lead.views.pickupgridview.title',
info:'',
parameters: [
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'pickupgridview', parameterName: 'pickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'),
},
{
path: '/centeralportal/:centeralportal?',
meta: {
......@@ -1621,19 +1512,6 @@ const router = new Router({
},
component: () => import('@pages/sales/competitor-grid-view/competitor-grid-view.vue'),
},
{
path: '/transactioncurrencies/:transactioncurrency?/pickupview/:pickupview?',
meta: {
caption: 'entities.transactioncurrency.views.pickupview.title',
info:'',
parameters: [
{ pathName: 'transactioncurrencies', parameterName: 'transactioncurrency' },
{ pathName: 'pickupview', parameterName: 'pickupview' },
],
requireAuth: true,
},
component: () => import('@pages/base/transaction-currency-pickup-view/transaction-currency-pickup-view.vue'),
},
{
path: '/pricelevels/:pricelevel?/pickupgridview/:pickupgridview?',
meta: {
......
......@@ -72,16 +72,6 @@ export const viewstate: any = {
'2e17cb1d009dd49ac529319ac15319cd',
],
},
{
viewtag: '1bc48b15dbe69c5f30dafe489f58aacb',
viewmodule: 'Sales',
viewname: 'LeadPickupView',
viewaction: '',
viewdatachange: false,
refviews: [
'7d00f63c306adf3537efeabb3326095d',
],
},
{
viewtag: '1d3b94223a5d3f8ab1d2fe334c8c4afd',
viewmodule: 'Base',
......@@ -137,7 +127,6 @@ export const viewstate: any = {
'893e62d6fbdc4580de7e3e802aec9108',
'916febbb65be1c54dd42ccb9914fe973',
'1d3b94223a5d3f8ab1d2fe334c8c4afd',
'728b69e2de09e7920b86712bc17ea963',
'a5213905238dbc5d8e1a505029105cc9',
],
},
......@@ -256,8 +245,6 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'da3f8c1f20f440f3df54d6c13a8de586',
'1bc48b15dbe69c5f30dafe489f58aacb',
],
},
{
......@@ -270,15 +257,6 @@ export const viewstate: any = {
'7877d7e7e55fe21f48e8382e07579f33',
],
},
{
viewtag: '6d8a2615030eed5779caea69f7f001aa',
viewmodule: 'Base',
viewname: 'TransactionCurrencyPickupGridView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '6e18ac74e5685439110f9b4e534ee005',
viewmodule: 'Base',
......@@ -326,15 +304,6 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '7d00f63c306adf3537efeabb3326095d',
viewmodule: 'Sales',
viewname: 'LeadPickupGridView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '7FCD2E75-E34A-493C-922E-8AE47BCE08CA',
viewmodule: 'Ungroup',
......@@ -566,16 +535,6 @@ export const viewstate: any = {
'fc2117de593df9cc982bd802cbdb2154',
],
},
{
viewtag: 'da3f8c1f20f440f3df54d6c13a8de586',
viewmodule: 'Base',
viewname: 'TransactionCurrencyPickupView',
viewaction: '',
viewdatachange: false,
refviews: [
'6d8a2615030eed5779caea69f7f001aa',
],
},
{
viewtag: 'dd10cba0f2ded085120f7dc8eccc7c10',
viewmodule: 'Product',
......
......@@ -164,69 +164,6 @@ export default class AccountUIServiceBase extends UIService {
openDrawer(view, data);
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public async Account_Edit_Address(args: any[], context:any = {} ,params: any={}, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
let data: any = {};
let parentContext:any = {};
let parentViewParam:any = {};
const _this: any = actionContext;
const _args: any[] = Util.deepCopy(args);
const actionTarget: string | null = 'SINGLEKEY';
Object.assign(context, { account: '%account%' });
Object.assign(params, { accountid: '%account%' });
Object.assign(params, { accountname: '%accountname%' });
if(_this.context){
parentContext = _this.context;
}
if(_this.viewparams){
parentViewParam = _this.viewparams;
}
context = UIActionTool.handleContextParam(actionTarget,_args,parentContext,parentViewParam,context);
data = UIActionTool.handleActionParam(actionTarget,_args,parentContext,parentViewParam,params);
context = Object.assign({},actionContext.context,context);
let parentObj:any = {srfparentdename:srfParentDeName?srfParentDeName:null,srfparentkey:srfParentDeName?context[srfParentDeName.toLowerCase()]:null};
Object.assign(data,parentObj);
Object.assign(context,parentObj);
let deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'accounts', parameterName: 'account' },
];
const openDrawer = (view: any, data: any) => {
let container: Subject<any> = actionContext.$appdrawer.openDrawer(view, context,data);
container.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
const _this: any = actionContext;
if(window.opener){
window.opener.postMessage({status:'OK',identification:'WF'},Environment.uniteAddress);
window.close();
}
return result.datas;
});
}
const view: any = {
viewname: 'account-edit-address',
height: 0,
width: 450,
title: actionContext.$t('entities.account.views.edit_address.title'),
placement: 'DRAWER_RIGHT',
};
openDrawer(view, data);
}
/**
* 编辑
*
......
......@@ -5,12 +5,6 @@
地址信息
</span>
<span class="portlet-action">
<a @click="uiAction('u2ccbfc9', $event)">
</a>
</span>
</p>
<div class="portlet-with-title">
<account-address :viewdata="JSON.stringify(context)" :viewDefaultUsage="false" ></account-address>
......@@ -26,7 +20,6 @@ import { UIActionTool,Util } from '@/utils';
import AccountService from '@/service/account/account-service';
import PT_AddressService from './pt-address-portlet-service';
import AccountUIService from '@/uiservice/account/account-ui-service';
import { Environment } from '@/environments/environment';
......@@ -115,34 +108,6 @@ export default class AccountPT_AddressBase extends Vue implements ControlInterfa
public appEntityService: AccountService = new AccountService({ $store: this.$store });
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public dashboard_sysportlet2_u2ccbfc9_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) {
datas = [..._this.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:AccountUIService = new AccountUIService();
curUIService.Account_Edit_Address(datas,contextJO, paramJO, $event, xData,this,"Account");
}
/**
* 关闭视图
......@@ -266,16 +231,6 @@ export default class AccountPT_AddressBase extends Vue implements ControlInterfa
}
}
/**
* 执行界面行为
*
* @memberof PT_AddressBase
*/
public uiAction(tag:string,event:any){
if(Object.is(tag,'u2ccbfc9')){
this.dashboard_sysportlet2_u2ccbfc9_click(null,tag,event);
}
}
}
</script>
......
/**
* AbstractInfo 部件模型
*
* @export
* @class AbstractInfoModel
*/
export default class AbstractInfoModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof AbstractInfoModel
*/
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: 'contactid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'fullname',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'fullname',
prop: 'fullname',
dataType: 'TEXT',
},
{
name: 'jobtitle',
prop: 'jobtitle',
dataType: 'TEXT',
},
{
name: 'emailaddress1',
prop: 'emailaddress1',
dataType: 'TEXT',
},
{
name: 'telephone1',
prop: 'telephone1',
dataType: 'TEXT',
},
{
name: 'mobilephone',
prop: 'mobilephone',
dataType: 'TEXT',
},
{
name: 'fax',
prop: 'fax',
dataType: 'TEXT',
},
{
name: 'address1_country',
prop: 'address1_country',
dataType: 'TEXT',
},
{
name: 'address1_stateorprovince',
prop: 'address1_stateorprovince',
dataType: 'TEXT',
},
{
name: 'address1_city',
prop: 'address1_city',
dataType: 'TEXT',
},
{
name: 'address1_line1',
prop: 'address1_line1',
dataType: 'TEXT',
},
{
name: 'address1_postalcode',
prop: 'address1_postalcode',
dataType: 'TEXT',
},
{
name: 'contactid',
prop: 'contactid',
dataType: 'GUID',
},
{
name: 'contact',
prop: 'contactid',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import AbstractInfoBase from './abstract-info-form-base.vue';
@Component({
components: {
}
})
export default class AbstractInfo extends AbstractInfoBase {
}
</script>
\ No newline at end of file
......@@ -120,16 +120,6 @@ export default class DetailInfoModel {
prop: 'shippingmethodcode',
dataType: 'SSCODELIST',
},
{
name: 'originatingleadid',
prop: 'originatingleadid',
dataType: 'PICKUP',
},
{
name: 'transactioncurrencyid',
prop: 'transactioncurrencyid',
dataType: 'PICKUP',
},
{
name: 'contactid',
prop: 'contactid',
......
......@@ -2,8 +2,6 @@ import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service';
import ContactService from '@/service/contact/contact-service';
import DetailInfoModel from './detail-info-form-model';
import LeadService from '@/service/lead/lead-service';
import TransactionCurrencyService from '@/service/transaction-currency/transaction-currency-service';
/**
......@@ -43,22 +41,6 @@ export default class DetailInfoService extends ControlService {
this.model = new DetailInfoModel();
}
/**
* 潜在顾客服务对象
*
* @type {LeadService}
* @memberof DetailInfoService
*/
public leadService: LeadService = new LeadService();
/**
* 货币服务对象
*
* @type {TransactionCurrencyService}
* @memberof DetailInfoService
*/
public transactioncurrencyService: TransactionCurrencyService = new TransactionCurrencyService();
/**
* 处理数据
*
......@@ -98,12 +80,6 @@ export default class DetailInfoService extends ControlService {
*/
@Errorlog
public getItems(serviceName: string, interfaceName: string, context: any = {}, data: any, isloading?: boolean): Promise<any[]> {
if (Object.is(serviceName, 'LeadService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.leadService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'leadid', 'lead');
}
if (Object.is(serviceName, 'TransactionCurrencyService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.transactioncurrencyService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'transactioncurrencyid', 'transactioncurrency');
}
return Promise.reject([])
}
......
......@@ -561,7 +561,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: '错误', desc: 'LeadPickupGridView视图搜索表单loadAction参数未配置' });
this.$Notice.error({ title: '错误', desc: 'LeadGridView视图搜索表单loadAction参数未配置' });
return;
}
const arg: any = { ...opt };
......@@ -598,7 +598,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: '错误', desc: 'LeadPickupGridView视图搜索表单loaddraftAction参数未配置' });
this.$Notice.error({ title: '错误', desc: 'LeadGridView视图搜索表单loaddraftAction参数未配置' });
return;
}
const arg: any = { ...opt } ;
......
......@@ -258,6 +258,20 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof Main
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof Main
*/
@Prop() public opendata: any;
/**
* 显示处理提示
......@@ -632,7 +646,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){
this.$Notice.error({ title: '错误', desc: 'LeadPickupGridView视图表格fetchAction参数未配置' });
this.$Notice.error({ title: '错误', desc: 'LeadGridView视图表格fetchAction参数未配置' });
return;
}
if(pageReset){
......@@ -709,7 +723,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: '错误', desc: 'LeadPickupGridView视图表格removeAction参数未配置' });
this.$Notice.error({ title: '错误', desc: 'LeadGridView视图表格removeAction参数未配置' });
return;
}
let _datas:any[] = [];
......@@ -815,7 +829,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: '错误', desc: 'LeadPickupGridView视图表格fetchAction参数未配置' });
this.$Notice.error({ title: '错误', desc: 'LeadGridView视图表格fetchAction参数未配置' });
return;
}
if(!arg){
......@@ -1361,7 +1375,7 @@ export default class MainBase extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: '错误', desc: 'LeadPickupGridView视图表格createAction参数未配置' });
this.$Notice.error({ title: '错误', desc: 'LeadGridView视图表格createAction参数未配置' });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -1369,7 +1383,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: '错误', desc: 'LeadPickupGridView视图表格updateAction参数未配置' });
this.$Notice.error({ title: '错误', desc: 'LeadGridView视图表格updateAction参数未配置' });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.lead){
......
......@@ -55,11 +55,6 @@ export default class QuickCreateModel {
{
name: 'srfsourcekey',
},
{
name: 'subject',
prop: 'subject',
dataType: 'TEXT',
},
{
name: 'ownerid',
prop: 'ownerid',
......@@ -75,6 +70,31 @@ export default class QuickCreateModel {
prop: 'owneridyominame',
dataType: 'TEXT',
},
{
name: 'subject',
prop: 'subject',
dataType: 'TEXT',
},
{
name: 'description',
prop: 'description',
dataType: 'TEXT',
},
{
name: 'scheduledend',
prop: 'scheduledend',
dataType: 'DATETIME',
},
{
name: 'actualdurationminutes',
prop: 'actualdurationminutes',
dataType: 'INT',
},
{
name: 'prioritycode',
prop: 'prioritycode',
dataType: 'SSCODELIST',
},
{
name: 'regardingobjectid',
prop: 'regardingobjectid',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册