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

xignzi006 发布系统代码

上级 e8346a7b
...@@ -40,7 +40,6 @@ export default { ...@@ -40,7 +40,6 @@ export default {
srfdeid: "", srfdeid: "",
srfsourcekey: "", srfsourcekey: "",
entity2name: "客户", entity2name: "客户",
entity2id: "客户",
relationshipsid: "关系标识", relationshipsid: "关系标识",
}, },
uiactions: { uiactions: {
......
...@@ -39,7 +39,6 @@ export default { ...@@ -39,7 +39,6 @@ export default {
srfdeid: '', srfdeid: '',
srfsourcekey: '', srfsourcekey: '',
entity2name: '客户', entity2name: '客户',
entity2id: '客户',
relationshipsid: '关系标识', relationshipsid: '关系标识',
}, },
uiactions: { uiactions: {
......
...@@ -1417,20 +1417,6 @@ const router = new Router({ ...@@ -1417,20 +1417,6 @@ const router = new Router({
}, },
component: () => import('@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'), component: () => import('@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'),
}, },
{
path: 'accounts/:account?/innerpickupgridview/:innerpickupgridview?',
meta: {
caption: 'entities.account.views.innerpickupgridview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'innerpickupgridview', parameterName: 'innerpickupgridview' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-inner-pickup-grid-view/account-inner-pickup-grid-view.vue'),
},
{ {
path: 'contacts/:contact?/leads/:lead?/listleads/:listlead?/gridview/:gridview?', path: 'contacts/:contact?/leads/:lead?/listleads/:listlead?/gridview/:gridview?',
meta: { meta: {
...@@ -1778,20 +1764,6 @@ const router = new Router({ ...@@ -1778,20 +1764,6 @@ const router = new Router({
}, },
component: () => import('@pages/service/incident-grid-view/incident-grid-view.vue'), component: () => import('@pages/service/incident-grid-view/incident-grid-view.vue'),
}, },
{
path: 'accounts/:account?/innerpickupview/:innerpickupview?',
meta: {
caption: 'entities.account.views.innerpickupview.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'innerpickupview', parameterName: 'innerpickupview' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-inner-pickup-view/account-inner-pickup-view.vue'),
},
{ {
path: 'ibizlists/:ibizlist?/quickcreate/:quickcreate?', path: 'ibizlists/:ibizlist?/quickcreate/:quickcreate?',
meta: { meta: {
......
...@@ -695,7 +695,6 @@ export const viewstate: any = { ...@@ -695,7 +695,6 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'054fb10ed157549dc619f06af1c21a31',
], ],
}, },
{ {
......
...@@ -9,24 +9,6 @@ ...@@ -9,24 +9,6 @@
<i-col v-show="detailsModel.entity2name.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.entity2name.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='entity2name' :itemRules="this.rules.entity2name" class='' :caption="$t('entities.listaccount.quickcreatebylist_form.details.entity2name')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.entity2name.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='entity2name' :itemRules="this.rules.entity2name" class='' :caption="$t('entities.listaccount.quickcreatebylist_form.details.entity2name')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.entity2name.error" :isEmptyCaption="false" labelPos="LEFT">
<app-picker-select-view
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.entity2name.disabled"
name='entity2name'
deMajorField='accountname'
deKeyField='account'
:service="service"
valueitem='entity2id'
:value="data.entity2name"
:pickupView="{ viewname: 'account-inner-pickup-view', title: $t('entities.account.views.innerpickupview.title'), deResParameters: [], parameters: [{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'innerpickupview', parameterName: 'innerpickupview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker-select-view>
</app-form-item> </app-form-item>
...@@ -343,7 +325,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa ...@@ -343,7 +325,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
srfdeid: null, srfdeid: null,
srfsourcekey: null, srfsourcekey: null,
entity2name: null, entity2name: null,
entity2id: null,
relationshipsid: null, relationshipsid: null,
listaccount:null, listaccount:null,
}; };
...@@ -441,12 +422,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa ...@@ -441,12 +422,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
{ required: false, type: 'string', message: '客户 值不能为空', trigger: 'change' }, { required: false, type: 'string', message: '客户 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '客户 值不能为空', trigger: 'blur' }, { required: false, type: 'string', message: '客户 值不能为空', trigger: 'blur' },
], ],
entity2id: [
{ type: 'string', message: '客户 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '客户 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '客户 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '客户 值不能为空', trigger: 'blur' },
],
relationshipsid: [ relationshipsid: [
{ type: 'string', message: '关系标识 值必须为字符串类型', trigger: 'change' }, { type: 'string', message: '关系标识 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '关系标识 值必须为字符串类型', trigger: 'blur' }, { type: 'string', message: '关系标识 值必须为字符串类型', trigger: 'blur' },
...@@ -483,8 +458,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa ...@@ -483,8 +458,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
srfsourcekey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srfsourcekey', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 }) srfsourcekey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srfsourcekey', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
, ,
entity2name: new FormItemModel({ caption: '客户', detailType: 'FORMITEM', name: 'entity2name', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 }) entity2name: new FormItemModel({ caption: '客户', detailType: 'FORMITEM', name: 'entity2name', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
entity2id: new FormItemModel({ caption: '客户', detailType: 'FORMITEM', name: 'entity2id', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
, ,
relationshipsid: new FormItemModel({ caption: '关系标识', detailType: 'FORMITEM', name: 'relationshipsid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 }) relationshipsid: new FormItemModel({ caption: '关系标识', detailType: 'FORMITEM', name: 'relationshipsid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
, ,
...@@ -598,18 +571,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa ...@@ -598,18 +571,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
this.formDataChange({ name: 'entity2name', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'entity2name', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 entity2id 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof QuickCreateByList
*/
@Watch('data.entity2id')
onEntity2idChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'entity2id', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 relationshipsid 值 * 监控表单属性 relationshipsid 值
* *
...@@ -670,7 +631,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa ...@@ -670,7 +631,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
} }
/** /**
......
...@@ -60,11 +60,6 @@ export default class QuickCreateByListModel { ...@@ -60,11 +60,6 @@ export default class QuickCreateByListModel {
prop: 'entity2name', prop: 'entity2name',
dataType: 'PICKUPTEXT', dataType: 'PICKUPTEXT',
}, },
{
name: 'entity2id',
prop: 'entity2id',
dataType: 'PICKUP',
},
{ {
name: 'relationshipsid', name: 'relationshipsid',
prop: 'relationshipsid', prop: 'relationshipsid',
......
...@@ -2,7 +2,6 @@ import { Http,Util,Errorlog } from '@/utils'; ...@@ -2,7 +2,6 @@ import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service'; import ControlService from '@/widgets/control-service';
import ListAccountService from '@/service/list-account/list-account-service'; import ListAccountService from '@/service/list-account/list-account-service';
import QuickCreateByListModel from './quick-create-by-list-form-model'; import QuickCreateByListModel from './quick-create-by-list-form-model';
import AccountService from '@/service/account/account-service';
/** /**
...@@ -42,14 +41,6 @@ export default class QuickCreateByListService extends ControlService { ...@@ -42,14 +41,6 @@ export default class QuickCreateByListService extends ControlService {
this.model = new QuickCreateByListModel(); this.model = new QuickCreateByListModel();
} }
/**
* 客户服务对象
*
* @type {AccountService}
* @memberof QuickCreateByListService
*/
public accountService: AccountService = new AccountService();
/** /**
* 处理数据 * 处理数据
* *
...@@ -89,9 +80,6 @@ export default class QuickCreateByListService extends ControlService { ...@@ -89,9 +80,6 @@ export default class QuickCreateByListService extends ControlService {
*/ */
@Errorlog @Errorlog
public getItems(serviceName: string, interfaceName: string, context: any = {}, data: any, isloading?: boolean): Promise<any[]> { public getItems(serviceName: string, interfaceName: string, context: any = {}, data: any, isloading?: boolean): Promise<any[]> {
if (Object.is(serviceName, 'AccountService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.accountService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'accountid', 'account');
}
return Promise.reject([]) return Promise.reject([])
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册