Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
d511223f
提交
d511223f
编写于
6月 18, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
58e0bd4c
变更
32
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
32 个修改的文件
包含
7398 行增加
和
37 行删除
+7398
-37
contact_en_US.ts
...ntral/src/locale/lanres/entities/contact/contact_en_US.ts
+2
-2
contact_zh_CN.ts
...ntral/src/locale/lanres/entities/contact/contact_zh_CN.ts
+2
-2
ibiz-list_en_US.ts
...l/src/locale/lanres/entities/ibiz-list/ibiz-list_en_US.ts
+1
-0
ibiz-list_zh_CN.ts
...l/src/locale/lanres/entities/ibiz-list/ibiz-list_zh_CN.ts
+1
-0
contact-info-address.vue
.../pages/base/contact-info-address/contact-info-address.vue
+1
-1
contact-info-market.vue
...rc/pages/base/contact-info-market/contact-info-market.vue
+1
-1
ibiz-list-option-view-base.vue
...ting/ibiz-list-option-view/ibiz-list-option-view-base.vue
+554
-0
ibiz-list-option-view.less
...arketing/ibiz-list-option-view/ibiz-list-option-view.less
+9
-0
ibiz-list-option-view.vue
...marketing/ibiz-list-option-view/ibiz-list-option-view.vue
+19
-0
page-register.ts
...usinessCentral/src/pages/ungroup/central/page-register.ts
+1
-0
router.ts
app_BusinessCentral/src/pages/ungroup/central/router.ts
+27
-0
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+11
-0
ibiz-list-ui-service-base.ts
...tral/src/uiservice/ibiz-list/ibiz-list-ui-service-base.ts
+48
-0
inner-pickip-grid-base.vue
...gets/account/inner-pickip-grid/inner-pickip-grid-base.vue
+38
-3
address-info-form-base.vue
...gets/contact/address-info-form/address-info-form-base.vue
+1663
-0
address-info-form-model.ts
...gets/contact/address-info-form/address-info-form-model.ts
+96
-0
address-info-form-service.ts
...ts/contact/address-info-form/address-info-form-service.ts
+371
-0
address-info-form.less
.../widgets/contact/address-info-form/address-info-form.less
+4
-0
address-info-form.vue
...c/widgets/contact/address-info-form/address-info-form.vue
+14
-0
market-info-form-base.vue
...idgets/contact/market-info-form/market-info-form-base.vue
+1634
-0
market-info-form-model.ts
...idgets/contact/market-info-form/market-info-form-model.ts
+91
-0
market-info-form-service.ts
...gets/contact/market-info-form/market-info-form-service.ts
+371
-0
market-info-form.less
...rc/widgets/contact/market-info-form/market-info-form.less
+4
-0
market-info-form.vue
...src/widgets/contact/market-info-form/market-info-form.vue
+14
-0
abstract-edit-form-base.vue
.../ibiz-list/abstract-edit-form/abstract-edit-form-base.vue
+1826
-0
abstract-edit-form-model.ts
.../ibiz-list/abstract-edit-form/abstract-edit-form-model.ts
+121
-0
abstract-edit-form-service.ts
...biz-list/abstract-edit-form/abstract-edit-form-service.ts
+383
-0
abstract-edit-form.less
...gets/ibiz-list/abstract-edit-form/abstract-edit-form.less
+4
-0
abstract-edit-form.vue
...dgets/ibiz-list/abstract-edit-form/abstract-edit-form.vue
+14
-0
view-list-abs-portlet-base.vue
...list/view-list-abs-portlet/view-list-abs-portlet-base.vue
+45
-0
quick-create-by-list-form-base.vue
...ck-create-by-list-form/quick-create-by-list-form-base.vue
+9
-9
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+19
-19
未找到文件。
app_BusinessCentral/src/locale/lanres/entities/contact/contact_en_US.ts
浏览文件 @
d511223f
...
...
@@ -308,7 +308,7 @@ export default {
uiactions
:
{
},
},
address_form
:
{
address
info
_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
formpage1
:
"基本信息"
,
...
...
@@ -353,7 +353,7 @@ export default {
uiactions
:
{
},
},
market_form
:
{
market
info
_form
:
{
details
:
{
group1
:
"联系人基本信息"
,
formpage1
:
"基本信息"
,
...
...
app_BusinessCentral/src/locale/lanres/entities/contact/contact_zh_CN.ts
浏览文件 @
d511223f
...
...
@@ -307,7 +307,7 @@ export default {
uiactions
:
{
},
},
address_form
:
{
address
info
_form
:
{
details
:
{
group1
:
'联系人基本信息'
,
formpage1
:
'基本信息'
,
...
...
@@ -352,7 +352,7 @@ export default {
uiactions
:
{
},
},
market_form
:
{
market
info
_form
:
{
details
:
{
group1
:
'联系人基本信息'
,
formpage1
:
'基本信息'
,
...
...
app_BusinessCentral/src/locale/lanres/entities/ibiz-list/ibiz-list_en_US.ts
浏览文件 @
d511223f
...
...
@@ -89,6 +89,7 @@ export default {
cost
:
"成本"
,
owneridyominame
:
"负责人"
,
description
:
"说明"
,
transactioncurrencyid
:
"货币"
,
listid
:
"列表"
,
},
uiactions
:
{
...
...
app_BusinessCentral/src/locale/lanres/entities/ibiz-list/ibiz-list_zh_CN.ts
浏览文件 @
d511223f
...
...
@@ -88,6 +88,7 @@ export default {
cost
:
'成本'
,
owneridyominame
:
'负责人'
,
description
:
'说明'
,
transactioncurrencyid
:
'货币'
,
listid
:
'列表'
,
},
uiactions
:
{
...
...
app_BusinessCentral/src/pages/base/contact-info-address/contact-info-address.vue
浏览文件 @
d511223f
...
...
@@ -2,7 +2,7 @@
import
{
Component
}
from
'vue-property-decorator'
;
import
ContactInfo_AddressBase
from
'./contact-info-address-base.vue'
;
import
view_form
from
'@widgets/contact/address-
form/address
-form.vue'
;
import
view_form
from
'@widgets/contact/address-
info-form/address-info
-form.vue'
;
@
Component
({
components
:
{
view_form
,
...
...
app_BusinessCentral/src/pages/base/contact-info-market/contact-info-market.vue
浏览文件 @
d511223f
...
...
@@ -2,7 +2,7 @@
import
{
Component
}
from
'vue-property-decorator'
;
import
ContactInfo_MarketBase
from
'./contact-info-market-base.vue'
;
import
view_form
from
'@widgets/contact/market-
form/market
-form.vue'
;
import
view_form
from
'@widgets/contact/market-
info-form/market-info
-form.vue'
;
@
Component
({
components
:
{
view_form
,
...
...
app_BusinessCentral/src/pages/marketing/ibiz-list-option-view/ibiz-list-option-view-base.vue
0 → 100644
浏览文件 @
d511223f
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/marketing/ibiz-list-option-view/ibiz-list-option-view.less
0 → 100644
浏览文件 @
d511223f
.option-view {
--option-view: 0;
}
// 避免空文件,后台不让空文件过
.ibiz-list-option-view {
--ibiz-list-option-view: 0;
}
app_BusinessCentral/src/pages/marketing/ibiz-list-option-view/ibiz-list-option-view.vue
0 → 100644
浏览文件 @
d511223f
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBizListOptionViewBase
from
'./ibiz-list-option-view-base.vue'
;
import
view_form
from
'@widgets/ibiz-list/abstract-edit-form/abstract-edit-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
IBizListOptionView
extends
IBizListOptionViewBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/pages/ungroup/central/page-register.ts
浏览文件 @
d511223f
...
...
@@ -61,6 +61,7 @@ export const PageComponents = {
Vue
.
component
(
'list-account-quick-create-by-list'
,
()
=>
import
(
'@pages/marketing/list-account-quick-create-by-list/list-account-quick-create-by-list.vue'
));
Vue
.
component
(
'campaign-list-edit-view'
,
()
=>
import
(
'@pages/marketing/campaign-list-edit-view/campaign-list-edit-view.vue'
));
Vue
.
component
(
'account-pickup-grid-view'
,
()
=>
import
(
'@pages/base/account-pickup-grid-view/account-pickup-grid-view.vue'
));
Vue
.
component
(
'ibiz-list-option-view'
,
()
=>
import
(
'@pages/marketing/ibiz-list-option-view/ibiz-list-option-view.vue'
));
Vue
.
component
(
'product-edit-quick-create'
,
()
=>
import
(
'@pages/product/product-edit-quick-create/product-edit-quick-create.vue'
));
Vue
.
component
(
'list-lead-quick-create-by-list'
,
()
=>
import
(
'@pages/marketing/list-lead-quick-create-by-list/list-lead-quick-create-by-list.vue'
));
Vue
.
component
(
'account-info'
,
()
=>
import
(
'@pages/base/account-info/account-info.vue'
));
...
...
app_BusinessCentral/src/pages/ungroup/central/router.ts
浏览文件 @
d511223f
...
...
@@ -1171,6 +1171,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/account-pickup-grid-view/account-pickup-grid-view.vue'
),
},
{
path
:
'ibizlists/:ibizlist?/optionview/:optionview?'
,
meta
:
{
caption
:
'entities.ibizlist.views.optionview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'ibizlists'
,
parameterName
:
'ibizlist'
},
{
pathName
:
'optionview'
,
parameterName
:
'optionview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/marketing/ibiz-list-option-view/ibiz-list-option-view.vue'
),
},
{
path
:
'products/:product?/edit_quickcreate/:edit_quickcreate?'
,
meta
:
{
...
...
@@ -1888,6 +1902,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/service/incident-edit-view/incident-edit-view.vue'
),
},
{
path
:
'/ibizlists/:ibizlist?/optionview/:optionview?'
,
meta
:
{
caption
:
'entities.ibizlist.views.optionview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizlists'
,
parameterName
:
'ibizlist'
},
{
pathName
:
'optionview'
,
parameterName
:
'optionview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/marketing/ibiz-list-option-view/ibiz-list-option-view.vue'
),
},
{
path
:
'/campaigns/:campaign?/info_head/:info_head?'
,
meta
:
{
...
...
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
d511223f
...
...
@@ -62,6 +62,16 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'0707e5c30c6ebfff55c733f4185d212e'
,
viewmodule
:
'Marketing'
,
viewname
:
'IBizListOptionView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'da3f8c1f20f440f3df54d6c13a8de586'
,
],
},
{
viewtag
:
'072d39d4184205e68a5c66fabe32b55e'
,
viewmodule
:
'Marketing'
,
...
...
@@ -700,6 +710,7 @@ export const viewstate: any = {
viewdatachange
:
false
,
refviews
:
[
'aa79d35850f36fbc1a5085353ecd5af5'
,
'0707e5c30c6ebfff55c733f4185d212e'
,
'2eba43abd437c023437f1f2effb1fccb'
,
'a95d7d9111bc13a8b73a11ee1e4ff92a'
,
'893e62d6fbdc4580de7e3e802aec9108'
,
...
...
app_BusinessCentral/src/uiservice/ibiz-list/ibiz-list-ui-service-base.ts
浏览文件 @
d511223f
...
...
@@ -96,6 +96,54 @@ export default class IBizListUIServiceBase extends UIService {
public
initDeMainStateMap
(){
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
IBizList_Edit_Abstract
(
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
,
{
ibizlist
:
'%ibizlist%'
});
Object
.
assign
(
params
,
{
listid
:
'%ibizlist%'
});
Object
.
assign
(
params
,
{
listname
:
'%listname%'
});
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
:
'ibizlists'
,
parameterName
:
'ibizlist'
},
{
pathName
:
'optionview'
,
parameterName
:
'optionview'
},
];
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
actionContext
.
$viewTool
.
buildUpRoutePath
(
actionContext
.
$route
,
context
,
deResParameters
,
parameters
,
_args
,
data
);
actionContext
.
$router
.
push
(
routePath
);
return
null
;
}
openIndexViewTab
(
data
);
}
/**
* 获取指定数据的重定向页面
...
...
app_BusinessCentral/src/widgets/account/inner-pickip-grid/inner-pickip-grid-base.vue
浏览文件 @
d511223f
...
...
@@ -51,6 +51,41 @@
<el-table-column></el-table-column>
</
template
>
</el-table>
<row
class=
'grid-pagination'
v-show=
"items.length > 0"
>
<page
class=
'pull-right'
@
on-change=
"pageOnChange($event)"
@
on-page-size-change=
"onPageSizeChange($event)"
:transfer=
"true"
:total=
"totalrow"
show-sizer
:current=
"curPage"
:page-size=
"limit"
:page-size-opts=
"[10, 20, 30, 40, 50, 60, 70, 80, 90, 100]"
show-elevator
show-total
>
<span>
<span
class=
"page-column"
>
<poptip
transfer
placement=
"top-start"
>
<i-button
icon=
"md-menu"
>
{{$t('app.gridpage.choicecolumns')}}
</i-button>
<div
slot=
"content"
>
<
template
v-for=
"col in allColumns"
>
<div
:key=
"col.name"
><el-checkbox
v-model=
"col.show"
@
change=
"onColChange()"
>
{{
$t
(
col
.
langtag
)
}}
</el-checkbox></div>
</
template
>
</div>
</poptip>
</span>
<span
v-if=
"selections.length > 0"
class=
"batch-toolbar"
>
</span>
<span
class=
"page-button"
><i-button
icon=
"md-refresh"
:title=
"$t('app.gridpage.refresh')"
@
click=
"pageRefresh()"
></i-button></span>
<span>
{{$t('app.gridpage.show')}}
<span>
<
template
v-if=
"items.length === 1"
>
1
</
template
>
<
template
v-else
>
<span>
{{
(
curPage
-
1
)
*
limit
+
1
}}
-
{{
totalrow
>
curPage
*
limit
?
curPage
*
limit
:
totalrow
}}
</span>
</
template
>
</span>
{{$t('app.gridpage.records')}},{{$t('app.gridpage.totle')}}
{{totalrow}}
{{$t('app.gridpage.records')}}
</span>
</span>
</page>
</row>
</i-form>
</div>
</template>
...
...
@@ -288,7 +323,7 @@ export default class InnerPickipBase extends Vue implements ControlInterface {
* @type {boolean}
* @memberof InnerPickip
*/
public
isEnablePagingBar
:
boolean
=
fals
e
;
public
isEnablePagingBar
:
boolean
=
tru
e
;
/**
* 是否禁用排序
...
...
@@ -320,7 +355,7 @@ export default class InnerPickipBase extends Vue implements ControlInterface {
* @type {number}
* @memberof InnerPickip
*/
public
limit
:
number
=
6
0
;
public
limit
:
number
=
2
0
;
/**
* 是否显示标题
...
...
@@ -328,7 +363,7 @@ export default class InnerPickipBase extends Vue implements ControlInterface {
* @type {boolean}
* @memberof InnerPickip
*/
public
isHideHeader
:
boolean
=
tru
e
;
public
isHideHeader
:
boolean
=
fals
e
;
/**
* 是否默认选中第一条数据
...
...
app_BusinessCentral/src/widgets/contact/address-info-form/address-info-form-base.vue
0 → 100644
浏览文件 @
d511223f
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/contact/address-info-form/address-info-form-model.ts
0 → 100644
浏览文件 @
d511223f
/**
* AddressInfo 部件模型
*
* @export
* @class AddressInfoModel
*/
export
default
class
AddressInfoModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof AddressInfoModel
*/
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
:
'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
app_BusinessCentral/src/widgets/contact/address-info-form/address-info-form-service.ts
0 → 100644
浏览文件 @
d511223f
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/contact/address-info-form/address-info-form.less
0 → 100644
浏览文件 @
d511223f
.form {
--form: 0px;
}
// this is less
app_BusinessCentral/src/widgets/contact/address-info-form/address-info-form.vue
0 → 100644
浏览文件 @
d511223f
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
AddressInfoBase
from
'./address-info-form-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
AddressInfo
extends
AddressInfoBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/widgets/contact/market-info-form/market-info-form-base.vue
0 → 100644
浏览文件 @
d511223f
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/contact/market-info-form/market-info-form-model.ts
0 → 100644
浏览文件 @
d511223f
/**
* MarketInfo 部件模型
*
* @export
* @class MarketInfoModel
*/
export
default
class
MarketInfoModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof MarketInfoModel
*/
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
:
'originatingleadname'
,
prop
:
'originatingleadname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'lastusedincampaign'
,
prop
:
'lastusedincampaign'
,
dataType
:
'DATETIME'
,
},
{
name
:
'donotsendmm'
,
prop
:
'donotsendmm'
,
dataType
:
'YESNO'
,
},
{
name
:
'shippingmethodcode'
,
prop
:
'shippingmethodcode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'contactid'
,
prop
:
'contactid'
,
dataType
:
'GUID'
,
},
{
name
:
'contact'
,
prop
:
'contactid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_BusinessCentral/src/widgets/contact/market-info-form/market-info-form-service.ts
0 → 100644
浏览文件 @
d511223f
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/contact/market-info-form/market-info-form.less
0 → 100644
浏览文件 @
d511223f
.form {
--form: 0px;
}
// this is less
app_BusinessCentral/src/widgets/contact/market-info-form/market-info-form.vue
0 → 100644
浏览文件 @
d511223f
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
MarketInfoBase
from
'./market-info-form-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
MarketInfo
extends
MarketInfoBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/widgets/ibiz-list/abstract-edit-form/abstract-edit-form-base.vue
0 → 100644
浏览文件 @
d511223f
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/ibiz-list/abstract-edit-form/abstract-edit-form-model.ts
0 → 100644
浏览文件 @
d511223f
/**
* AbstractEdit 部件模型
*
* @export
* @class AbstractEditModel
*/
export
default
class
AbstractEditModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof AbstractEditModel
*/
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
:
'listid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'listname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
name
:
'listname'
,
prop
:
'listname'
,
dataType
:
'TEXT'
,
},
{
name
:
'type'
,
prop
:
'type'
,
dataType
:
'YESNO'
,
},
{
name
:
'purpose'
,
prop
:
'purpose'
,
dataType
:
'TEXT'
,
},
{
name
:
'membertype'
,
prop
:
'membertype'
,
dataType
:
'INT'
,
},
{
name
:
'source'
,
prop
:
'source'
,
dataType
:
'TEXT'
,
},
{
name
:
'transactioncurrencyname'
,
prop
:
'transactioncurrencyname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'cost'
,
prop
:
'cost'
,
dataType
:
'BIGDECIMAL'
,
},
{
name
:
'owneridyominame'
,
prop
:
'owneridyominame'
,
dataType
:
'TEXT'
,
},
{
name
:
'description'
,
prop
:
'description'
,
dataType
:
'TEXT'
,
},
{
name
:
'transactioncurrencyid'
,
prop
:
'transactioncurrencyid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'listid'
,
prop
:
'listid'
,
dataType
:
'GUID'
,
},
{
name
:
'ibizlist'
,
prop
:
'listid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_BusinessCentral/src/widgets/ibiz-list/abstract-edit-form/abstract-edit-form-service.ts
0 → 100644
浏览文件 @
d511223f
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/ibiz-list/abstract-edit-form/abstract-edit-form.less
0 → 100644
浏览文件 @
d511223f
.form {
--form: 0px;
}
// this is less
app_BusinessCentral/src/widgets/ibiz-list/abstract-edit-form/abstract-edit-form.vue
0 → 100644
浏览文件 @
d511223f
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
AbstractEditBase
from
'./abstract-edit-form-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
AbstractEdit
extends
AbstractEditBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/widgets/ibiz-list/view-list-abs-portlet/view-list-abs-portlet-base.vue
浏览文件 @
d511223f
...
...
@@ -5,6 +5,12 @@
摘要信息
</span>
<span
class=
"portlet-action"
>
<a
@
click=
"uiAction('u07129a4', $event)"
>
<span>
编辑
</span>
</a>
</span>
</p>
<div
class=
"portlet-with-title"
>
<ibiz-list-info-abstract
:viewdata=
"JSON.stringify(context)"
:viewDefaultUsage=
"false"
></ibiz-list-info-abstract>
...
...
@@ -20,6 +26,7 @@ import { UIActionTool,Util } from '@/utils';
import
IBizListService
from
'@/service/ibiz-list/ibiz-list-service'
;
import
View_ListAbsService
from
'./view-list-abs-portlet-service'
;
import
IBizListUIService
from
'@/uiservice/ibiz-list/ibiz-list-ui-service'
;
import
{
Environment
}
from
'@/environments/environment'
;
...
...
@@ -108,6 +115,34 @@ export default class IBizListView_ListAbsBase extends Vue implements ControlInte
public
appEntityService
:
IBizListService
=
new
IBizListService
({
$store
:
this
.
$store
});
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
dashboard_sysportlet1_u07129a4_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
:
IBizListUIService
=
new
IBizListUIService
();
curUIService
.
IBizList_Edit_Abstract
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBizList"
);
}
/**
* 关闭视图
...
...
@@ -231,6 +266,16 @@ export default class IBizListView_ListAbsBase extends Vue implements ControlInte
}
}
/**
* 执行界面行为
*
* @memberof View_ListAbsBase
*/
public
uiAction
(
tag
:
string
,
event
:
any
){
if
(
Object
.
is
(
tag
,
'u07129a4'
)){
this
.
dashboard_sysportlet1_u07129a4_click
(
null
,
tag
,
event
);
}
}
}
</
script
>
...
...
app_BusinessCentral/src/widgets/list-account/quick-create-by-list-form/quick-create-by-list-form-base.vue
浏览文件 @
d511223f
...
...
@@ -9,25 +9,25 @@
<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=
"TOP"
>
<app-picker
:formState=
"formState"
<app-picker
-select-view
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.entity2name.disabled"
name='entity2name'
:disabled="detailsModel.entity2name.disabled"
name='entity2name'
deMajorField='accountname'
deKeyField='account'
:service="service"
:acParams="{ serviceName: 'AccountService', interfaceName: 'FetchDefault'}"
valueitem='entity2id'
:value="data.entity2name"
editortype="dropdown"
style=""
: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>
</app-picker-select-view>
</app-form-item>
</i-col>
...
...
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
d511223f
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录