Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
d4ab5cfd
提交
d4ab5cfd
编写于
6月 18, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
e8346a7b
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
0 行增加
和
88 行删除
+0
-88
list-account_en_US.ts
...locale/lanres/entities/list-account/list-account_en_US.ts
+0
-1
list-account_zh_CN.ts
...locale/lanres/entities/list-account/list-account_zh_CN.ts
+0
-1
router.ts
app_BusinessCentral/src/pages/ungroup/central/router.ts
+0
-28
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+0
-1
quick-create-by-list-form-base.vue
...ck-create-by-list-form/quick-create-by-list-form-base.vue
+0
-40
quick-create-by-list-form-model.ts
...ck-create-by-list-form/quick-create-by-list-form-model.ts
+0
-5
quick-create-by-list-form-service.ts
...-create-by-list-form/quick-create-by-list-form-service.ts
+0
-12
未找到文件。
app_BusinessCentral/src/locale/lanres/entities/list-account/list-account_en_US.ts
浏览文件 @
d4ab5cfd
...
...
@@ -40,7 +40,6 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
entity2name
:
"客户"
,
entity2id
:
"客户"
,
relationshipsid
:
"关系标识"
,
},
uiactions
:
{
...
...
app_BusinessCentral/src/locale/lanres/entities/list-account/list-account_zh_CN.ts
浏览文件 @
d4ab5cfd
...
...
@@ -39,7 +39,6 @@ export default {
srfdeid
:
''
,
srfsourcekey
:
''
,
entity2name
:
'客户'
,
entity2id
:
'客户'
,
relationshipsid
:
'关系标识'
,
},
uiactions
:
{
...
...
app_BusinessCentral/src/pages/ungroup/central/router.ts
浏览文件 @
d4ab5cfd
...
...
@@ -1417,20 +1417,6 @@ const router = new Router({
},
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?'
,
meta
:
{
...
...
@@ -1778,20 +1764,6 @@ const router = new Router({
},
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?'
,
meta
:
{
...
...
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
d4ab5cfd
...
...
@@ -695,7 +695,6 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'054fb10ed157549dc619f06af1c21a31'
,
],
},
{
...
...
app_BusinessCentral/src/widgets/list-account/quick-create-by-list-form/quick-create-by-list-form-base.vue
浏览文件 @
d4ab5cfd
...
...
@@ -9,24 +9,6 @@
<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-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>
...
...
@@ -343,7 +325,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
srfdeid
:
null
,
srfsourcekey
:
null
,
entity2name
:
null
,
entity2id
:
null
,
relationshipsid
:
null
,
listaccount
:
null
,
};
...
...
@@ -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
:
'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
:
[
{
type
:
'string'
,
message
:
'关系标识 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'关系标识 值必须为字符串类型'
,
trigger
:
'blur'
},
...
...
@@ -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
})
,
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
})
,
...
...
@@ -598,18 +571,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
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 值
*
...
...
@@ -670,7 +631,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
}
/**
...
...
app_BusinessCentral/src/widgets/list-account/quick-create-by-list-form/quick-create-by-list-form-model.ts
浏览文件 @
d4ab5cfd
...
...
@@ -60,11 +60,6 @@ export default class QuickCreateByListModel {
prop
:
'entity2name'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'entity2id'
,
prop
:
'entity2id'
,
dataType
:
'PICKUP'
,
},
{
name
:
'relationshipsid'
,
prop
:
'relationshipsid'
,
...
...
app_BusinessCentral/src/widgets/list-account/quick-create-by-list-form/quick-create-by-list-form-service.ts
浏览文件 @
d4ab5cfd
...
...
@@ -2,7 +2,6 @@ import { Http,Util,Errorlog } from '@/utils';
import
ControlService
from
'@/widgets/control-service'
;
import
ListAccountService
from
'@/service/list-account/list-account-service'
;
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 {
this
.
model
=
new
QuickCreateByListModel
();
}
/**
* 客户服务对象
*
* @type {AccountService}
* @memberof QuickCreateByListService
*/
public
accountService
:
AccountService
=
new
AccountService
();
/**
* 处理数据
*
...
...
@@ -89,9 +80,6 @@ export default class QuickCreateByListService extends ControlService {
*/
@
Errorlog
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
([])
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录