Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
37a19871
提交
37a19871
编写于
7月 09, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chitanda 发布系统代码,修复面包屑导航,在浏览器级后退前进行为下异常
上级
c40f2a73
变更
13
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
501 行增加
和
437 行删除
+501
-437
data-dictionary.json
app_CRM/public/assets/json/data-dictionary.json
+37
-0
codelist_en_US.ts
app_CRM/src/locale/lanres/codelist/codelist_en_US.ts
+6
-0
codelist_zh_CN.ts
app_CRM/src/locale/lanres/codelist/codelist_zh_CN.ts
+6
-0
multi-pick-data_en_US.ts
.../lanres/entities/multi-pick-data/multi-pick-data_en_US.ts
+0
-2
multi-pick-data_zh_CN.ts
.../lanres/entities/multi-pick-data/multi-pick-data_zh_CN.ts
+0
-2
codelist.ts
app_CRM/src/mock/codelist/codelist.ts
+37
-0
lead-service-base.ts
app_CRM/src/service/lead/lead-service-base.ts
+369
-369
app-breadcrumb.tsx
.../studio-core/components/app-breadcrumb/app-breadcrumb.tsx
+1
-1
AppNavHistoryBase.ts
.../studio-core/service/app-nav-history/AppNavHistoryBase.ts
+29
-7
main-grid-base.tsx
.../src/widgets/multi-pick-data/main-grid/main-grid-base.tsx
+8
-16
main-grid-model.ts
.../src/widgets/multi-pick-data/main-grid/main-grid-model.ts
+1
-11
main-grid.html
app_CRM/src/widgets/multi-pick-data/main-grid/main-grid.html
+6
-28
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+1
-1
未找到文件。
app_CRM/public/assets/json/data-dictionary.json
浏览文件 @
37a19871
...
...
@@ -2914,6 +2914,43 @@
}
]
},
{
"srfkey"
:
"PickDataType"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"ACCOUNT"
,
"label"
:
"客户"
,
"text"
:
"客户"
,
"data"
:
""
,
"codename"
:
"Account"
,
"value"
:
"ACCOUNT"
,
"disabled"
:
false
}
,
{
"id"
:
"CONTACT"
,
"label"
:
"联系人"
,
"text"
:
"联系人"
,
"data"
:
""
,
"codename"
:
"Contact"
,
"value"
:
"CONTACT"
,
"disabled"
:
false
}
,
{
"id"
:
"LEAD"
,
"label"
:
"潜在客户"
,
"text"
:
"潜在客户"
,
"data"
:
""
,
"codename"
:
"Lead"
,
"value"
:
"LEAD"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"Account__AccountCategoryCode"
,
"emptytext"
:
"未定义"
,
...
...
app_CRM/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
37a19871
...
...
@@ -364,6 +364,12 @@ export default {
"2"
:
"送货地址"
,
"empty"
:
""
},
PickDataType
:
{
"ACCOUNT"
:
"客户"
,
"CONTACT"
:
"联系人"
,
"LEAD"
:
"潜在客户"
,
"empty"
:
""
},
Account__AccountCategoryCode
:
{
"2"
:
"标准"
,
"1"
:
"首选客户"
,
...
...
app_CRM/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
37a19871
...
...
@@ -364,6 +364,12 @@ export default {
"2"
:
"送货地址"
,
"empty"
:
""
,
},
PickDataType
:
{
"ACCOUNT"
:
"客户"
,
"CONTACT"
:
"联系人"
,
"LEAD"
:
"潜在客户"
,
"empty"
:
""
,
},
Account__AccountCategoryCode
:
{
"2"
:
"标准"
,
"1"
:
"首选客户"
,
...
...
app_CRM/src/locale/lanres/entities/multi-pick-data/multi-pick-data_en_US.ts
浏览文件 @
37a19871
...
...
@@ -28,8 +28,6 @@ export default {
pickdatatype
:
"数据类型"
,
userdata
:
"用户数据"
,
userdata2
:
"用户数据2"
,
userdata3
:
"用户数据3"
,
userdata4
:
"用户数据4"
,
pickdatainfo
:
"信息描述"
,
},
uiactions
:
{
...
...
app_CRM/src/locale/lanres/entities/multi-pick-data/multi-pick-data_zh_CN.ts
浏览文件 @
37a19871
...
...
@@ -27,8 +27,6 @@ export default {
pickdatatype
:
"数据类型"
,
userdata
:
"用户数据"
,
userdata2
:
"用户数据2"
,
userdata3
:
"用户数据3"
,
userdata4
:
"用户数据4"
,
pickdatainfo
:
"信息描述"
,
},
uiactions
:
{
...
...
app_CRM/src/mock/codelist/codelist.ts
浏览文件 @
37a19871
...
...
@@ -2922,6 +2922,43 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
"PickDataType"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"ACCOUNT"
,
label
:
"客户"
,
text
:
"客户"
,
"data"
:
""
,
"codename"
:
"Account"
,
value
:
"ACCOUNT"
,
disabled
:
false
,
},
{
id
:
"CONTACT"
,
label
:
"联系人"
,
text
:
"联系人"
,
"data"
:
""
,
"codename"
:
"Contact"
,
value
:
"CONTACT"
,
disabled
:
false
,
},
{
id
:
"LEAD"
,
label
:
"潜在客户"
,
text
:
"潜在客户"
,
"data"
:
""
,
"codename"
:
"Lead"
,
value
:
"LEAD"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"Account__AccountCategoryCode"
,
emptytext
:
"未定义"
,
...
...
app_CRM/src/service/lead/lead-service-base.ts
浏览文件 @
37a19871
此差异已折叠。
点击以展开。
app_CRM/src/studio-core/components/app-breadcrumb/app-breadcrumb.tsx
浏览文件 @
37a19871
...
...
@@ -135,7 +135,7 @@ export class AppBreadcrumb extends Vue {
}
items
.
push
(<
span
class=
{
{
'app-breadcrumb-item'
:
true
,
'last'
:
i
===
(
arr
.
length
-
1
)
}
}
>
{
(
!
indexMeta
&&
i
===
0
)
?
null
:
<
span
class=
"separator"
>
/
</
span
>
}
<
span
class=
"content"
on
-
click=
{
()
=>
this
.
click
(
item
.
to
)
}
>
{
this
.
$t
(
item
.
meta
?.
caption
)
}{
dropdown
?
null
:
(
item
.
meta
?.
info
&&
item
.
meta
?.
info
!==
''
)
?
` - ${item.meta?.info}`
:
''
}
</
span
>
<
span
class=
"content"
on
-
click=
{
()
=>
this
.
click
(
item
.
to
)
}
>
{
this
.
$t
(
item
.
meta
?.
caption
)
}{
dropdown
?
null
:
(
item
.
meta
?.
info
&&
item
.
meta
?.
info
!==
''
)
?
' - '
+
item
.
meta
?.
info
:
''
}
</
span
>
{
dropdown
?
<
span
class=
"select"
>
-
{
dropdown
}
</
span
>
:
null
}
</
span
>);
});
...
...
app_CRM/src/studio-core/service/app-nav-history/AppNavHistoryBase.ts
浏览文件 @
37a19871
...
...
@@ -102,18 +102,40 @@ export class AppNavHistoryBase {
*/
constructor
()
{
if
(
this
.
uiStateService
.
layoutState
.
styleMode
===
'STYLE2'
)
{
addEventListener
(
'hashchange'
,
({
oldURL
})
=>
{
const
hash
=
oldURL
.
substring
(
oldURL
.
indexOf
(
'#'
)
+
1
);
const
queryIndex
=
hash
.
indexOf
(
'?'
);
const
path
=
queryIndex
===
-
1
?
hash
:
hash
.
substring
(
0
,
queryIndex
);
const
queryStr
=
queryIndex
===
-
1
?
''
:
hash
.
substring
(
queryIndex
+
1
);
if
(
this
.
isRouteSame
({
path
,
query
:
!
isEmpty
(
queryStr
)
?
qs
.
parse
(
queryStr
)
:
{}
},
this
.
historyList
[
this
.
historyList
.
length
-
1
].
to
))
{
this
.
pop
();
addEventListener
(
'hashchange'
,
({
oldURL
,
newURL
})
=>
{
if
(
this
.
historyList
.
length
>
0
)
{
const
param
=
this
.
calcRouteParam
(
oldURL
);
const
param2
=
this
.
calcRouteParam
(
newURL
);
const
lastHistory
=
this
.
historyList
[
this
.
historyList
.
length
-
1
];
if
(
this
.
isRouteSame
(
param
,
lastHistory
.
to
))
{
this
.
pop
();
}
else
if
(
this
.
isRouteSame
(
param2
,
lastHistory
.
to
)
&&
this
.
historyList
.
length
>
1
)
{
const
item
=
this
.
historyList
[
this
.
historyList
.
length
-
2
];
if
(
this
.
isRouteSame
(
param
,
item
.
to
))
{
this
.
historyList
.
splice
(
this
.
historyList
.
length
-
2
,
1
);
}
}
}
});
}
}
/**
* 根据url计算路由参数
*
* @protected
* @param {string} url
* @returns {*}
* @memberof AppNavHistoryBase
*/
protected
calcRouteParam
(
url
:
string
):
any
{
const
hash
=
url
.
substring
(
url
.
indexOf
(
'#'
)
+
1
);
const
queryIndex
=
hash
.
indexOf
(
'?'
);
const
path
=
queryIndex
===
-
1
?
hash
:
hash
.
substring
(
0
,
queryIndex
);
const
queryStr
=
queryIndex
===
-
1
?
''
:
hash
.
substring
(
queryIndex
+
1
);
return
{
path
,
query
:
!
isEmpty
(
queryStr
)
?
qs
.
parse
(
queryStr
)
:
{}
};
}
/**
* 根据视图标识查找记录
*
...
...
app_CRM/src/widgets/multi-pick-data/main-grid/main-grid-base.tsx
浏览文件 @
37a19871
...
...
@@ -93,20 +93,6 @@ export class MainGridBase extends GridControllerBase {
show
:
true
,
util
:
'PX'
},
{
name
:
'userdata3'
,
label
:
'用户数据3'
,
langtag
:
'entities.multipickdata.main_grid.columns.userdata3'
,
show
:
true
,
util
:
'PX'
},
{
name
:
'userdata4'
,
label
:
'用户数据4'
,
langtag
:
'entities.multipickdata.main_grid.columns.userdata4'
,
show
:
true
,
util
:
'PX'
},
{
name
:
'pickdatainfo'
,
label
:
'信息描述'
,
...
...
@@ -152,8 +138,6 @@ export class MainGridBase extends GridControllerBase {
'pickdatatype'
:
false
,
'userdata'
:
false
,
'userdata2'
:
false
,
'userdata3'
:
false
,
'userdata4'
:
false
,
'pickdatainfo'
:
false
,
};
...
...
@@ -180,6 +164,14 @@ export class MainGridBase extends GridControllerBase {
*/
public
async
formatExcelData
(
filterVal
:
any
,
jsonData
:
any
,
codelistColumns
?:
any
[]):
Promise
<
any
>
{
return
super
.
formatExcelData
(
filterVal
,
jsonData
,
[
{
name
:
'pickdatatype'
,
srfkey
:
'PickDataType'
,
codelistType
:
'STATIC'
,
renderMode
:
'other'
,
textSeparator
:
'、'
,
valueSeparator
:
','
,
},
]);
}
...
...
app_CRM/src/widgets/multi-pick-data/main-grid/main-grid-model.ts
浏览文件 @
37a19871
...
...
@@ -41,16 +41,6 @@ export default class MainModel {
prop
:
'userdata2'
,
dataType
:
'TEXT'
,
},
{
name
:
'userdata3'
,
prop
:
'userdata3'
,
dataType
:
'TEXT'
,
},
{
name
:
'userdata4'
,
prop
:
'userdata4'
,
dataType
:
'TEXT'
,
},
{
name
:
'pickdataname'
,
prop
:
'pickdataname'
,
...
...
@@ -74,7 +64,7 @@ export default class MainModel {
{
name
:
'pickdatatype'
,
prop
:
'pickdatatype'
,
dataType
:
'
TEX
T'
,
dataType
:
'
SSCODELIS
T'
,
},
{
name
:
'multipickdata'
,
...
...
app_CRM/src/widgets/multi-pick-data/main-grid/main-grid.html
浏览文件 @
37a19871
...
...
@@ -24,7 +24,7 @@
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
</template>
<template
v-if=
"getColumnState('pickdataname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'pickdataname'"
:label=
"$t('entities.multipickdata.main_grid.columns.pickdataname')"
:width=
"1
0
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'pickdataname'"
:label=
"$t('entities.multipickdata.main_grid.columns.pickdataname')"
:width=
"1
5
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.multipickdata.main_grid.columns.pickdataname')}}
...
...
@@ -43,12 +43,14 @@
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.pickdatatype}}
</span>
<template
>
<codelist
:value=
"row.pickdatatype"
tag=
'PickDataType'
codelistType=
'STATIC'
></codelist>
</template>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('userdata')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'userdata'"
:label=
"$t('entities.multipickdata.main_grid.columns.userdata')"
:width=
"1
0
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'userdata'"
:label=
"$t('entities.multipickdata.main_grid.columns.userdata')"
:width=
"1
2
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.multipickdata.main_grid.columns.userdata')}}
...
...
@@ -60,7 +62,7 @@
</el-table-column>
</template>
<template
v-if=
"getColumnState('userdata2')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'userdata2'"
:label=
"$t('entities.multipickdata.main_grid.columns.userdata2')"
:width=
"1
0
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'userdata2'"
:label=
"$t('entities.multipickdata.main_grid.columns.userdata2')"
:width=
"1
2
0"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.multipickdata.main_grid.columns.userdata2')}}
...
...
@@ -71,30 +73,6 @@
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('userdata3')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'userdata3'"
:label=
"$t('entities.multipickdata.main_grid.columns.userdata3')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.multipickdata.main_grid.columns.userdata3')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.userdata3}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('userdata4')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'userdata4'"
:label=
"$t('entities.multipickdata.main_grid.columns.userdata4')"
:width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
<span
class=
"column-header "
>
{{$t('entities.multipickdata.main_grid.columns.userdata4')}}
</span>
</template>
<template
v-slot=
"{row,column,$index}"
>
<span>
{{row.userdata4}}
</span>
</template>
</el-table-column>
</template>
<template
v-if=
"getColumnState('pickdatainfo')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'pickdatainfo'"
:label=
"$t('entities.multipickdata.main_grid.columns.pickdatainfo')"
:min-width=
"100"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"{column}"
>
...
...
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
37a19871
...
...
@@ -6462,7 +6462,7 @@
<!--输出实体[MULTIPICKDATA]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-multipickdata-3
6
-77"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-multipickdata-3
9
-77"
>
<createTable
tableName=
"MULTIPICKDATA"
>
<column
name=
"PICKDATAID"
remarks=
""
type=
"VARCHAR(60)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_MULTIPICKDATA_PICKDATAID"
/>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录