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 个修改的文件
包含
52 行增加
和
22 行删除
+52
-22
View.vue
src/modules/user/goose/views/View.vue
+15
-7
View.vue
src/modules/user/peak/views/View.vue
+24
-10
View.vue
src/modules/user/zws/views/View.vue
+13
-5
没有找到文件。
src/modules/user/goose/views/View.vue
浏览文件 @
539e2a19
...
...
@@ -12,29 +12,32 @@ getGooseUserDetail(params).then(res => {
</
script
>
<
template
>
<el-row
justify=
"end"
>
<div
style=
"display: flex; justify-content: flex-end; margin-bottom: 20px"
>
<div
v-permission=
"'customer-dustess-view'"
>
<el-button
type=
"primary"
@
click=
"router.push(
{ path: '/user/chenfeng/detail', query: { id: gooseInfo.other_system_customer?.dustess } })"
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
>
</div>
<div
v-permission=
"'customer-wechat-view'"
>
<el-button
type=
"primary"
@
click=
"router.push(
{ path: '/user/weixin/detail', query: { id: gooseInfo.other_system_customer?.wechat } })"
v-if=
"gooseInfo.other_system_customer?.wechat !== null"
v-permission="'customer-wechat-view'
"
@
click=
"router.push(
{ path: '/user/weixin/detail', query: { id: gooseInfo.other_system_customer?.wechat } })
"
>企微渠道
</el-button
>
</div>
<div
v-permission=
"'customer-zws-view'"
>
<el-button
type=
"primary"
@
click=
"router.push(
{ path: '/user/zws/detail', query: { id: gooseInfo.other_system_customer?.zws } })"
v-if="gooseInfo.other_system_customer?.zws !== null"
v-permission="'customer-zws-view'"
>ZWS渠道
</el-button
>
</el-row>
</div>
</div>
<AppCard
title=
"基本信息"
>
<el-descriptions
:column=
"4"
>
<el-descriptions-item
label=
"用户姓名"
>
{{
gooseInfo
.
name
||
'-'
}}
</el-descriptions-item>
...
...
@@ -57,3 +60,8 @@ getGooseUserDetail(params).then(res => {
</el-descriptions>
</AppCard>
</
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'
const
route
=
useRoute
()
const
router
=
useRouter
()
const
infoList
:
any
=
ref
({})
const
params
:
any
=
{
id
:
route
.
query
.
id
}
getPeakUserDetail
(
params
).
then
(
res
=>
{
onMounted
(()
=>
{
const
params
:
any
=
{
id
:
route
.
query
.
id
}
getPeakUserDetail
(
params
).
then
(
res
=>
{
res
.
data
.
custom_fields
=
JSON
.
parse
(
res
.
data
.
custom_fields
)
infoList
.
value
=
res
.
data
})
})
</
script
>
<
template
>
<el-row
justify=
"end"
style=
"margin-bottom: 20px"
>
<div
style=
"display: flex; justify-content: flex-end; margin-bottom: 20px"
>
<div
v-permission=
"'customer-xiaoe-view'"
>
<el-button
type=
"primary"
@
click=
"router.push(
{ path: '/user/chenfeng/detail', query: { id: infoList.other_system_customer?.xiaoe } })"
v-if=
"infoList.other_system_customer?.xiaoe !== null"
v-permission="'customer-xiaoe-view'"
@
click=
"
router.push(
{ path: '/user/chenfeng/detail', query: { id: infoList.other_system_customer?.xiaoe || '' } })
"
>小鹅通渠道
</el-button
>
</div>
<div
v-permission=
"'customer-wechat-view'"
>
<el-button
type=
"primary"
@
click=
"router.push(
{ path: '/user/weixin/detail', query: { id: infoList.other_system_customer?.wechat } })"
v-if=
"infoList.other_system_customer?.wechat !== null"
v-permission="'customer-wechat-view'"
@
click=
"
router.push(
{ path: '/user/weixin/detail', query: { id: infoList.other_system_customer?.wechat || '' } })
"
>企微渠道
</el-button
>
</div>
<div
v-permission=
"'customer-zws-view'"
>
<el-button
type=
"primary"
@
click=
"router.push(
{ path: '/user/zws/detail', query: { id: infoList.other_system_customer?.zws } })"
v-if=
"infoList.other_system_customer?.zws !== null"
v-permission="'customer-zws-view'
"
@
click=
"router.push(
{ path: '/user/zws/detail', query: { id: infoList.other_system_customer?.zws || '' } })
"
>ZWS渠道
</el-button
>
</el-row>
</div>
</div>
<AppCard>
<el-descriptions
:column=
"4"
>
<el-descriptions-item
label=
"用户姓名"
>
{{
infoList
.
name
||
'-'
}}
</el-descriptions-item>
...
...
@@ -67,3 +76,8 @@ getPeakUserDetail(params).then(res => {
</el-descriptions>
</AppCard>
</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 = () => {
</
script
>
<
template
>
<el-row
justify=
"end"
>
<div
style=
"display: flex; justify-content: flex-end; margin-bottom: 20px"
>
<div
v-permission=
"'customer-dustess-view'"
>
<el-button
type=
"primary"
@
click=
"router.push(
{ path: '/user/chenfeng/detail', query: { id: zwsInfo?.other_system_customer?.dustess } })"
v-if="zwsInfo?.other_system_customer?.dustess !== null"
v-permission="'customer-dustess-view'"
>尘峰渠道
</el-button
>
</div>
<div
v-permission=
"'customer-xiaoe-view'"
>
<el-button
type=
"primary"
@
click=
"router.push(
{ path: '/user/xaioe/detail', query: { id: zwsInfo?.other_system_customer?.xiaoe } })"
v-if="zwsInfo?.other_system_customer?.xiaoe !== null"
v-permission="'customer-xiaoe-view'"
>小鹅通渠道
</el-button
>
</div>
<div
v-permission=
"'customer-wechat-view'"
>
<el-button
type=
"primary"
@
click=
"router.push(
{ path: '/user/weixin/detail', query: { id: zwsInfo?.other_system_customer?.wechat } })"
v-if="zwsInfo?.other_system_customer?.wechat !== null"
v-permission="'customer-wechat-view'"
>企微渠道
</el-button
>
</el-row>
</div>
</div>
<AppCard
title=
"基本信息"
style=
"margin-top: 20px"
>
<el-descriptions
:column=
"3"
border
>
<el-descriptions-item
label=
"用户姓名"
>
{{
zwsInfo
.
user_name
||
'-'
}}
</el-descriptions-item>
...
...
@@ -114,3 +117,8 @@ const handleView = () => {
<el-empty></el-empty>
</AppCard>
</
template
>
<
style
lang=
"scss"
scoped
>
.el-button
{
margin-right
:
10px
;
}
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论