Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
609b4495
提交
609b4495
编写于
6月 30, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
d07a3421
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
158 行增加
和
1 行删除
+158
-1
activity-pointer-redirect-view-base.tsx
...ter-redirect-view/activity-pointer-redirect-view-base.tsx
+100
-0
activity-pointer-redirect-view.html
...pointer-redirect-view/activity-pointer-redirect-view.html
+5
-0
activity-pointer-redirect-view.less
...pointer-redirect-view/activity-pointer-redirect-view.less
+5
-0
activity-pointer-redirect-view.vue
...-pointer-redirect-view/activity-pointer-redirect-view.vue
+25
-0
page-register.ts
app_CRM/src/pages/ungroup/central/page-register.ts
+1
-1
router.ts
app_CRM/src/pages/ungroup/central/router.ts
+12
-0
state.ts
app_CRM/src/store/modules/view-action/state.ts
+10
-0
未找到文件。
app_CRM/src/pages/base/activity-pointer-redirect-view/activity-pointer-redirect-view-base.tsx
0 → 100644
浏览文件 @
609b4495
import
{
Subject
}
from
'rxjs'
;
import
{
WizardViewBase
}
from
'@/studio-core'
;
import
ActivityPointerService
from
'@/service/activity-pointer/activity-pointer-service'
;
import
UIService
from
'@/uiservice/ui-service'
;
/**
* 活动数据重定向视图视图基类
*
* @export
* @class ActivityPointerRedirectViewBase
* @extends {WizardViewBase}
*/
export
class
ActivityPointerRedirectViewBase
extends
WizardViewBase
{
/**
* 实体服务对象
*
* @type {ActivityPointerService}
* @memberof ActivityPointerRedirectViewBase
*/
protected
appEntityService
:
ActivityPointerService
=
new
ActivityPointerService
;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof ActivityPointerRedirectViewBase
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof ActivityPointerRedirectViewBase
*/
protected
model
:
any
=
{
srfCaption
:
'entities.activitypointer.views.redirectview.caption'
,
srfTitle
:
'entities.activitypointer.views.redirectview.title'
,
srfSubTitle
:
'entities.activitypointer.views.redirectview.subtitle'
,
dataInfo
:
''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof ActivityPointerRedirectViewBase
*/
protected
containerModel
:
any
=
{
};
/**
* 视图唯一标识
*
* @protected
* @type {string}
* @memberof ViewBase
*/
protected
viewtag
:
string
=
'899dbdcf77250023245eb323c6cdeb05'
;
/**
* 引擎初始化
*
* @public
* @memberof ActivityPointerRedirectViewBase
*/
public
engineInit
():
void
{
}
/**
* 初始化视图
*
* @memberof ActivityPointerRedirectViewBase
*/
public
async
viewCreated
(){
const
{
srfkey
:
srfkey
,
srfappde
:
srfappde
}
=
this
.
viewparams
;
const
uiService
:
UIService
=
new
UIService
();
const
targetService
:
any
=
await
uiService
.
getService
(
srfappde
.
toLowerCase
());
targetService
.
getRDAppView
(
srfkey
,
true
).
then
((
res
:
any
)
=>
{
if
(
res
&&
res
.
viewname
&&
res
.
srfappde
){
const
path
:
string
=
`/
${
res
.
srfappde
}
/
${
srfkey
}
/
${
res
.
viewname
}
`
;
this
.
$router
.
push
({
path
:
path
});
}
else
{
console
.
error
(
"未查找到重定向视图"
)
}
})
}
}
\ No newline at end of file
app_CRM/src/pages/base/activity-pointer-redirect-view/activity-pointer-redirect-view.html
0 → 100644
浏览文件 @
609b4495
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode("VIEW.vue").code} [in template "TEMPLCODE_zh_CN" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEREDIRECTVIEW_STYLE2]发布代码[VIEW.vue]
\ No newline at end of file
app_CRM/src/pages/base/activity-pointer-redirect-view/activity-pointer-redirect-view.less
0 → 100644
浏览文件 @
609b4495
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode().code} [in template "TEMPLCODE_zh_CN" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEREDIRECTVIEW_STYLE2]发布代码[VIEW.less]
\ No newline at end of file
app_CRM/src/pages/base/activity-pointer-redirect-view/activity-pointer-redirect-view.vue
0 → 100644
浏览文件 @
609b4495
<
template
src=
"./activity-pointer-redirect-view.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { ActivityPointerRedirectViewBase } from './activity-pointer-redirect-view-base';
/**
* 活动数据重定向视图视图
*
* @export
* @class ActivityPointerRedirectView
* @extends {ActivityPointerRedirectViewBase}
*/
@Component({
components: {
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
}
})
@VueLifeCycleProcessing()
export default class ActivityPointerRedirectView extends ActivityPointerRedirectViewBase { }
</script>
app_CRM/src/pages/ungroup/central/page-register.ts
浏览文件 @
609b4495
...
...
@@ -9,7 +9,6 @@ export const PageComponents = {
Vue
.
component
(
'account-edit-view'
,
()
=>
import
(
'@pages/base/account-edit-view/account-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-redirect-view'
,
()
=>
import
(
'@pages/base/activity-pointer-redirect-view/activity-pointer-redirect-view.vue'
));
Vue
.
component
(
'product-pickup-view'
,
()
=>
import
(
'@pages/product/product-pickup-view/product-pickup-view.vue'
));
Vue
.
component
(
'quote-info-abstract'
,
()
=>
import
(
'@pages/sales/quote-info-abstract/quote-info-abstract.vue'
));
Vue
.
component
(
'contact-info-book'
,
()
=>
import
(
'@pages/base/contact-info-book/contact-info-book.vue'
));
...
...
@@ -147,6 +146,7 @@ export const PageComponents = {
Vue
.
component
(
'account-inner-pickup-grid-view'
,
()
=>
import
(
'@pages/base/account-inner-pickup-grid-view/account-inner-pickup-grid-view.vue'
));
Vue
.
component
(
'contact-edit-address'
,
()
=>
import
(
'@pages/base/contact-edit-address/contact-edit-address.vue'
));
Vue
.
component
(
'campaign-response-quick-create'
,
()
=>
import
(
'@pages/marketing/campaign-response-quick-create/campaign-response-quick-create.vue'
));
Vue
.
component
(
'activity-pointer-redirect-view'
,
()
=>
import
(
'@pages/base/activity-pointer-redirect-view/activity-pointer-redirect-view.vue'
));
Vue
.
component
(
'account-edit-introduction'
,
()
=>
import
(
'@pages/base/account-edit-introduction/account-edit-introduction.vue'
));
Vue
.
component
(
'contact-edit-book'
,
()
=>
import
(
'@pages/base/contact-edit-book/contact-edit-book.vue'
));
Vue
.
component
(
'campaign-summary'
,
()
=>
import
(
'@pages/marketing/campaign-summary/campaign-summary.vue'
));
...
...
app_CRM/src/pages/ungroup/central/router.ts
浏览文件 @
609b4495
...
...
@@ -4476,6 +4476,18 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/account-inner-pickup-view/account-inner-pickup-view.vue'
),
},
{
path
:
'activitypointerredirectview/:activitypointerredirectview?'
,
meta
:
{
caption
:
'entities.activitypointer.views.redirectview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'activitypointerredirectview'
,
parameterName
:
'activitypointerredirectview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/activity-pointer-redirect-view/activity-pointer-redirect-view.vue'
),
},
...
indexRoutes
,
],
},
...
...
app_CRM/src/store/modules/view-action/state.ts
浏览文件 @
609b4495
...
...
@@ -904,6 +904,16 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'899dbdcf77250023245eb323c6cdeb05'
,
viewmodule
:
'Base'
,
viewname
:
'ActivityPointerRedirectView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'f84a705f33385d5999fcfb69124932d4'
,
],
},
{
viewtag
:
'8b173077897bf865fe035e56073b763d'
,
viewmodule
:
'Ungroup'
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录