Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-user
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-user
Commits
539e2a19
提交
539e2a19
authored
9月 15, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
updates
上级
a7e6e3a6
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
103 行增加
和
73 行删除
+103
-73
View.vue
src/modules/user/goose/views/View.vue
+31
-23
View.vue
src/modules/user/peak/views/View.vue
+41
-27
View.vue
src/modules/user/zws/views/View.vue
+31
-23
没有找到文件。
src/modules/user/goose/views/View.vue
浏览文件 @
539e2a19
...
@@ -12,29 +12,32 @@ getGooseUserDetail(params).then(res => {
...
@@ -12,29 +12,32 @@ getGooseUserDetail(params).then(res => {
</
script
>
</
script
>
<
template
>
<
template
>
<el-row
justify=
"end"
>
<div
style=
"display: flex; justify-content: flex-end; margin-bottom: 20px"
>
<el-button
<div
v-permission=
"'customer-dustess-view'"
>
type=
"primary"
<el-button
@
click=
"router.push(
{ path: '/user/chenfeng/detail', query: { id: gooseInfo.other_system_customer?.dustess } })"
type=
"primary"
v-if="gooseInfo?.other_system_customer?.dustess !== null"
v-if=
"gooseInfo?.other_system_customer?.dustess !== null"
v-permission="'customer-dustess-view'"
@
click=
"router.push(
{ path: '/user/chenfeng/detail', query: { id: gooseInfo.other_system_customer?.dustess } })"
>尘峰渠道
</el-button
>尘峰渠道
</el-button
>
>
<el-button
</div>
type=
"primary"
<div
v-permission=
"'customer-wechat-view'"
>
@
click=
"router.push(
{ path: '/user/weixin/detail', query: { id: gooseInfo.other_system_customer?.wechat } })"
<el-button
v-if="gooseInfo.other_system_customer?.wechat !== null"
type=
"primary"
v-permission="'customer-wechat-view'"
v-if=
"gooseInfo.other_system_customer?.wechat !== null"
>企微渠道
</el-button
@
click=
"router.push(
{ path: '/user/weixin/detail', query: { id: gooseInfo.other_system_customer?.wechat } })"
>
>企微渠道
</el-button
<el-button
>
type=
"primary"
</div>
@
click=
"router.push(
{ path: '/user/zws/detail', query: { id: gooseInfo.other_system_customer?.zws } })"
<div
v-permission=
"'customer-zws-view'"
>
v-if="gooseInfo.other_system_customer?.zws !== null"
<el-button
v-permission="'customer-zws-view'"
type=
"primary"
>ZWS渠道
</el-button
@
click=
"router.push(
{ path: '/user/zws/detail', query: { id: gooseInfo.other_system_customer?.zws } })"
>
v-if="gooseInfo.other_system_customer?.zws !== null"
</el-row>
>ZWS渠道
</el-button
>
</div>
</div>
<AppCard
title=
"基本信息"
>
<AppCard
title=
"基本信息"
>
<el-descriptions
:column=
"4"
>
<el-descriptions
:column=
"4"
>
<el-descriptions-item
label=
"用户姓名"
>
{{
gooseInfo
.
name
||
'-'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"用户姓名"
>
{{
gooseInfo
.
name
||
'-'
}}
</el-descriptions-item>
...
@@ -57,3 +60,8 @@ getGooseUserDetail(params).then(res => {
...
@@ -57,3 +60,8 @@ getGooseUserDetail(params).then(res => {
</el-descriptions>
</el-descriptions>
</AppCard>
</AppCard>
</
template
>
</
template
>
<
style
lang=
"scss"
scoped
>
.el-button
{
margin-right
:
10px
;
}
</
style
>
src/modules/user/peak/views/View.vue
浏览文件 @
539e2a19
...
@@ -4,37 +4,46 @@ import { getPeakUserDetail } from '../api'
...
@@ -4,37 +4,46 @@ import { getPeakUserDetail } from '../api'
const
route
=
useRoute
()
const
route
=
useRoute
()
const
router
=
useRouter
()
const
router
=
useRouter
()
const
infoList
:
any
=
ref
({})
const
infoList
:
any
=
ref
({})
const
params
:
any
=
{
id
:
route
.
query
.
id
}
onMounted
(()
=>
{
getPeakUserDetail
(
params
).
then
(
res
=>
{
const
params
:
any
=
{
id
:
route
.
query
.
id
}
res
.
data
.
custom_fields
=
JSON
.
parse
(
res
.
data
.
custom_fields
)
getPeakUserDetail
(
params
).
then
(
res
=>
{
infoList
.
value
=
res
.
data
res
.
data
.
custom_fields
=
JSON
.
parse
(
res
.
data
.
custom_fields
)
infoList
.
value
=
res
.
data
})
})
})
</
script
>
</
script
>
<
template
>
<
template
>
<el-row
justify=
"end"
style=
"margin-bottom: 20px"
>
<div
style=
"display: flex; justify-content: flex-end; margin-bottom: 20px"
>
<el-button
<div
v-permission=
"'customer-xiaoe-view'"
>
type=
"primary"
<el-button
@
click=
"router.push(
{ path: '/user/chenfeng/detail', query: { id: infoList.other_system_customer?.xiaoe } })"
type=
"primary"
v-if="infoList.other_system_customer?.xiaoe !== null"
v-if=
"infoList.other_system_customer?.xiaoe !== null"
v-permission="'customer-xiaoe-view'"
@
click=
"
>小鹅通渠道
</el-button
router.push(
{ path: '/user/chenfeng/detail', query: { id: infoList.other_system_customer?.xiaoe || '' } })
>
"
<el-button
>小鹅通渠道
</el-button
type=
"primary"
>
@
click=
"router.push(
{ path: '/user/weixin/detail', query: { id: infoList.other_system_customer?.wechat } })"
</div>
v-if="infoList.other_system_customer?.wechat !== null"
<div
v-permission=
"'customer-wechat-view'"
>
v-permission="'customer-wechat-view'"
<el-button
>企微渠道
</el-button
type=
"primary"
>
v-if=
"infoList.other_system_customer?.wechat !== null"
<el-button
@
click=
"
type=
"primary"
router.push(
{ path: '/user/weixin/detail', query: { id: infoList.other_system_customer?.wechat || '' } })
@
click=
"router.push(
{ path: '/user/zws/detail', query: { id: infoList.other_system_customer?.zws } })"
"
v-if="infoList.other_system_customer?.zws !== null"
>企微渠道
</el-button
v-permission="'customer-zws-view'"
>
>ZWS渠道
</el-button
</div>
>
<div
v-permission=
"'customer-zws-view'"
>
</el-row>
<el-button
type=
"primary"
v-if=
"infoList.other_system_customer?.zws !== null"
@
click=
"router.push(
{ path: '/user/zws/detail', query: { id: infoList.other_system_customer?.zws || '' } })"
>ZWS渠道
</el-button
>
</div>
</div>
<AppCard>
<AppCard>
<el-descriptions
:column=
"4"
>
<el-descriptions
:column=
"4"
>
<el-descriptions-item
label=
"用户姓名"
>
{{
infoList
.
name
||
'-'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"用户姓名"
>
{{
infoList
.
name
||
'-'
}}
</el-descriptions-item>
...
@@ -67,3 +76,8 @@ getPeakUserDetail(params).then(res => {
...
@@ -67,3 +76,8 @@ getPeakUserDetail(params).then(res => {
</el-descriptions>
</el-descriptions>
</AppCard>
</AppCard>
</template>
</template>
<
style
lang=
"scss"
scoped
>
.el-button
{
margin-right
:
10px
;
}
</
style
>
src/modules/user/zws/views/View.vue
浏览文件 @
539e2a19
...
@@ -29,29 +29,32 @@ const handleView = () => {
...
@@ -29,29 +29,32 @@ const handleView = () => {
</
script
>
</
script
>
<
template
>
<
template
>
<el-row
justify=
"end"
>
<div
style=
"display: flex; justify-content: flex-end; margin-bottom: 20px"
>
<el-button
<div
v-permission=
"'customer-dustess-view'"
>
type=
"primary"
<el-button
@
click=
"router.push(
{ path: '/user/chenfeng/detail', query: { id: zwsInfo?.other_system_customer?.dustess } })"
type=
"primary"
v-if="zwsInfo?.other_system_customer?.dustess !== null"
@
click=
"router.push(
{ path: '/user/chenfeng/detail', query: { id: zwsInfo?.other_system_customer?.dustess } })"
v-permission="'customer-dustess-view'"
v-if="zwsInfo?.other_system_customer?.dustess !== null"
>尘峰渠道
</el-button
>尘峰渠道
</el-button
>
>
<el-button
</div>
type=
"primary"
<div
v-permission=
"'customer-xiaoe-view'"
>
@
click=
"router.push(
{ path: '/user/xaioe/detail', query: { id: zwsInfo?.other_system_customer?.xiaoe } })"
<el-button
v-if="zwsInfo?.other_system_customer?.xiaoe !== null"
type=
"primary"
v-permission="'customer-xiaoe-view'"
@
click=
"router.push(
{ path: '/user/xaioe/detail', query: { id: zwsInfo?.other_system_customer?.xiaoe } })"
>小鹅通渠道
</el-button
v-if="zwsInfo?.other_system_customer?.xiaoe !== null"
>
>小鹅通渠道
</el-button
<el-button
>
type=
"primary"
</div>
@
click=
"router.push(
{ path: '/user/weixin/detail', query: { id: zwsInfo?.other_system_customer?.wechat } })"
<div
v-permission=
"'customer-wechat-view'"
>
v-if="zwsInfo?.other_system_customer?.wechat !== null"
<el-button
v-permission="'customer-wechat-view'"
type=
"primary"
>企微渠道
</el-button
@
click=
"router.push(
{ path: '/user/weixin/detail', query: { id: zwsInfo?.other_system_customer?.wechat } })"
>
v-if="zwsInfo?.other_system_customer?.wechat !== null"
</el-row>
>企微渠道
</el-button
>
</div>
</div>
<AppCard
title=
"基本信息"
style=
"margin-top: 20px"
>
<AppCard
title=
"基本信息"
style=
"margin-top: 20px"
>
<el-descriptions
:column=
"3"
border
>
<el-descriptions
:column=
"3"
border
>
<el-descriptions-item
label=
"用户姓名"
>
{{
zwsInfo
.
user_name
||
'-'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"用户姓名"
>
{{
zwsInfo
.
user_name
||
'-'
}}
</el-descriptions-item>
...
@@ -114,3 +117,8 @@ const handleView = () => {
...
@@ -114,3 +117,8 @@ const handleView = () => {
<el-empty></el-empty>
<el-empty></el-empty>
</AppCard>
</AppCard>
</
template
>
</
template
>
<
style
lang=
"scss"
scoped
>
.el-button
{
margin-right
:
10px
;
}
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论