Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-user
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-user
Commits
f1e0bed8
提交
f1e0bed8
authored
9月 14, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
updates
上级
0259b09d
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
46 行增加
和
51 行删除
+46
-51
List.vue
src/modules/channel/views/List.vue
+2
-3
List.vue
src/modules/user/all/views/List.vue
+7
-12
List.vue
src/modules/user/goose/views/List.vue
+1
-2
View.vue
src/modules/user/goose/views/View.vue
+4
-6
List.vue
src/modules/user/peak/views/List.vue
+1
-1
View.vue
src/modules/user/peak/views/View.vue
+17
-12
List.vue
src/modules/user/wechat/views/List.vue
+1
-2
View.vue
src/modules/user/wechat/views/View.vue
+6
-8
List.vue
src/modules/user/zws/views/List.vue
+2
-3
View.vue
src/modules/user/zws/views/View.vue
+5
-2
没有找到文件。
src/modules/channel/views/List.vue
浏览文件 @
f1e0bed8
...
...
@@ -7,7 +7,6 @@ getConditionList({ channel: true }).then(res => {
t
.
push
({
id
:
res
.
data
.
channel
.
tags
.
indexOf
(
cur
),
name
:
cur
})
return
t
},
[])
console
.
log
(
tagsList
.
value
)
})
// 列表配置
...
...
@@ -79,12 +78,12 @@ const listOptions = $computed(() => {
})
</
script
>
<
template
>
<AppCard
title=
"渠道信息"
>
<AppCard
title=
"
BP
渠道信息"
>
<AppList
v-bind=
"listOptions"
ref=
"appList"
>
<template
v-slot:createTime=
"
{ params }">
<el-date-picker
v-model=
"params.createTime"
type=
"date
time
range"
type=
"daterange"
start-placeholder=
"创建开始时间"
end-placeholder=
"创建结束时间"
value-format=
"yyyy-MM-dd HH-mm-ss"
...
...
src/modules/user/all/views/List.vue
浏览文件 @
f1e0bed8
<
script
setup
lang=
"ts"
>
import
{
useInfoStore
}
from
'@/stores/index
'
import
{
checkPermission
}
from
'@/utils/permission
'
import
shortcuts
from
'@/utils/shortcut'
import
{
getConditionList
,
getAllUserList
}
from
'../api'
const
router
=
useRouter
()
const
store
=
useInfoStore
()
const
list
=
store
.
info
console
.
log
(
list
)
const
projectList
=
ref
([])
const
systemList
=
ref
([])
getConditionList
({
all
:
true
}).
then
(
res
=>
{
projectList
.
value
=
res
.
data
.
all
.
projects
systemList
.
value
=
res
.
data
.
all
.
system_id
console
.
log
(
res
)
})
// 列表配置
...
...
@@ -83,7 +78,7 @@ const listOptions = $computed(() => {
label
:
'用户来源'
,
prop
:
'system_id'
,
computed
(
row
:
any
)
{
if
(
row
.
row
.
system_id
===
'zws'
)
{
if
(
row
.
row
.
system_id
===
'zws'
&&
checkPermission
(
''
)
)
{
return
'zws'
}
else
if
(
row
.
row
.
system_id
===
'wechat'
)
{
return
'企微'
...
...
@@ -101,13 +96,13 @@ const listOptions = $computed(() => {
})
const
handleDetail
=
(
row
:
any
)
=>
{
if
(
row
.
system_id
===
'zws'
)
{
if
(
row
.
system_id
===
'zws'
&&
checkPermission
(
'customer-zws-view'
)
)
{
router
.
push
(
`/user/zws/detail/?id=
${
row
.
id
}
`
)
}
else
if
(
row
.
system_id
===
'wechat'
)
{
}
else
if
(
row
.
system_id
===
'wechat'
&&
checkPermission
(
'customer-wechat-view'
)
)
{
router
.
push
(
`/user/weixin/detail/?id=
${
row
.
id
}
`
)
}
else
if
(
row
.
system_id
===
'dustess'
)
{
}
else
if
(
row
.
system_id
===
'dustess'
&&
checkPermission
(
'customer-dustess-view'
)
)
{
router
.
push
(
`/user/chenfeng/detail/?id=
${
row
.
id
}
`
)
}
else
if
(
row
.
system_id
===
'xiaoe'
)
{
}
else
if
(
row
.
system_id
===
'xiaoe'
&&
checkPermission
(
'customer-xiaoe-view'
)
)
{
router
.
push
(
`/user/xiaoetong/detail/?id=
${
row
.
id
}
`
)
}
}
...
...
@@ -118,7 +113,7 @@ const handleDetail = (row: any) => {
<template
v-slot:timeRange=
"
{ params }">
<el-date-picker
v-model=
"params.timeRange"
type=
"date
time
range"
type=
"daterange"
:shortcuts=
"shortcuts"
range-separator=
"To"
start-placeholder=
"创建开始时间"
...
...
src/modules/user/goose/views/List.vue
浏览文件 @
f1e0bed8
...
...
@@ -13,7 +13,6 @@ getConditionList({ xiaoe: true }).then(res => {
t
.
push
({
id
:
res
.
data
.
xiaoe
.
province_map
.
indexOf
(
cur
),
name
:
cur
})
return
t
},
[])
console
.
log
(
provinceMapList
.
value
)
salesList
.
value
=
res
.
data
.
xiaoe
.
sales
})
...
...
@@ -124,7 +123,7 @@ const listOptions = $computed(() => {
<template
v-slot:timeRange=
"
{ params }">
<el-date-picker
v-model=
"params.timeRange"
type=
"date
time
range"
type=
"daterange"
:shortcuts=
"shortcuts"
range-separator=
"To"
start-placeholder=
"创建开始时间"
...
...
src/modules/user/goose/views/View.vue
浏览文件 @
f1e0bed8
...
...
@@ -2,14 +2,9 @@
import
{
getGooseUserDetail
}
from
'../api'
const
route
=
useRoute
()
const
router
=
useRouter
()
const
props
=
defineProps
<
Props
>
()
interface
Props
{
id
:
string
}
const
gooseInfo
:
any
=
ref
({})
const
params
:
any
=
{
id
:
route
.
query
.
id
||
props
.
id
}
getGooseUserDetail
(
params
).
then
(
res
=>
{
getGooseUserDetail
({
id
:
route
.
query
.
id
}).
then
(
res
=>
{
gooseInfo
.
value
=
res
.
data
})
</
script
>
...
...
@@ -20,18 +15,21 @@ getGooseUserDetail(params).then(res => {
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'"
>尘峰渠道
</el-button
>
<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'"
>企微渠道
</el-button
>
<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>
...
...
src/modules/user/peak/views/List.vue
浏览文件 @
f1e0bed8
...
...
@@ -103,7 +103,7 @@ const listOptions = $computed(() => {
<template
v-slot:timeRange=
"
{ params }">
<el-date-picker
v-model=
"params.timeRange"
type=
"date
time
range"
type=
"daterange"
:shortcuts=
"shortcuts"
range-separator=
"To"
start-placeholder=
"创建开始时间"
...
...
src/modules/user/peak/views/View.vue
浏览文件 @
f1e0bed8
<
script
setup
lang=
"ts"
>
import
{
getPeakUserDetail
}
from
'../api'
interface
Props
{
id
:
string
}
const
route
=
useRoute
()
const
router
=
useRouter
()
const
props
=
defineProps
<
Props
>
()
const
infoList
:
any
=
ref
({})
const
params
:
any
=
{
id
:
route
.
query
.
id
||
props
.
id
}
getPeakUserDetail
(
params
).
then
(
res
=>
{
getPeakUserDetail
({
id
:
route
.
query
.
id
}).
then
(
res
=>
{
res
.
data
.
custom_fields
=
JSON
.
parse
(
res
.
data
.
custom_fields
)
infoList
.
value
=
res
.
data
})
...
...
@@ -20,18 +16,21 @@ getPeakUserDetail(params).then(res => {
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'"
>小鹅通渠道
</el-button
>
<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'"
>企微渠道
</el-button
>
<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'"
>ZWS渠道
</el-button
>
</el-row>
...
...
@@ -39,9 +38,12 @@ getPeakUserDetail(params).then(res => {
<el-descriptions
:column=
"4"
>
<el-descriptions-item
label=
"用户姓名"
>
{{
infoList
.
name
||
'-'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"联系电话"
>
<span
v-for=
"(item, index) in infoList.mobiles"
:key=
"index"
>
{{
item
}}
</span>
<template
v-if=
"infoList.mobiles && infoList.mobiles.length > 0"
>
<span
v-for=
"(item, index) in infoList.mobiles"
:key=
"index"
>
{{
item
}}
</span>
</
template
>
<span
v-else
>
-
</span>
</el-descriptions-item>
<el-descriptions-item
label=
"性别"
>
{{ infoList.gender || '-' }}
</el-descriptions-item>
<el-descriptions-item
label=
"邮箱"
>
{{ infoList.email || '-' }}
</el-descriptions-item>
...
...
@@ -54,9 +56,12 @@ getPeakUserDetail(params).then(res => {
<el-descriptions-item
label=
"创建时间"
>
{{ infoList.createtime || '-' }}
</el-descriptions-item>
<el-descriptions-item></el-descriptions-item>
<el-descriptions-item
label=
"备注"
>
<span
v-for=
"(item, index) in infoList.custom_fields"
:key=
"index"
>
{{
item
}}
</span>
<
template
v-if=
"infoList.custom_fields && infoList.custom_fields.length > 0"
>
<span
v-for=
"(item, index) in infoList.custom_fields"
:key=
"index"
>
{{
item
}}
</span>
</
template
>
<span
v-else
>
-
</span>
</el-descriptions-item>
</el-descriptions>
</AppCard>
...
...
src/modules/user/wechat/views/List.vue
浏览文件 @
f1e0bed8
...
...
@@ -15,7 +15,6 @@ getConditionList({ wechat: true }).then(res => {
})
return
item
})
console
.
log
(
tagsList
.
value
,
'123123123'
)
})
// 列表配置
...
...
@@ -121,7 +120,7 @@ const listOptions = $computed(() => {
<
template
v-slot:timeRange=
"{ params }"
>
<el-date-picker
v-model=
"params.timeRange"
type=
"date
time
range"
type=
"daterange"
:shortcuts=
"shortcuts"
range-separator=
"To"
start-placeholder=
"创建开始时间"
...
...
src/modules/user/wechat/views/View.vue
浏览文件 @
f1e0bed8
...
...
@@ -2,15 +2,10 @@
import
{
getwechatUserDetail
}
from
'../api'
const
route
=
useRoute
()
const
router
=
useRouter
()
const
props
=
defineProps
<
Props
>
()
interface
Props
{
id
:
string
}
const
wechatFollow
:
any
=
ref
([])
const
other_system_customers
:
any
=
ref
({})
const
params
:
any
=
{
id
:
route
.
query
.
id
||
props
.
id
}
getwechatUserDetail
(
params
).
then
(
res
=>
{
getwechatUserDetail
({
id
:
route
.
query
.
id
}).
then
(
res
=>
{
const
{
follow
,
other_system_customer
,
...
info
}
=
res
.
data
other_system_customers
.
value
=
other_system_customer
wechatFollow
.
value
=
res
.
data
.
follow
.
map
((
item
:
any
)
=>
{
...
...
@@ -26,22 +21,25 @@ getwechatUserDetail(params).then(res => {
type=
"primary"
@
click=
"router.push(
{ path: '/user/chenfeng/detail', query: { id: other_system_customers.dustess } })"
v-if="other_system_customers.dustess !== null"
v-permission="'customer-dustess-view'"
>尘峰渠道
</el-button
>
<el-button
type=
"primary"
@
click=
"router.push(
{ path: '/user/xiaoe/detail', query: { id: other_system_customers.xiaoe } })"
v-if="other_system_customers.xiaoe !== null"
v-permission="'customer-xiaoe-view'"
>小鹅通渠道
</el-button
>
<el-button
type=
"primary"
@
click=
"router.push(
{ path: '/user/zws/detail', query: { id: other_system_customers.zws } })"
v-if="other_system_customers.zws !== null"
v-permission="'customer-zws-view'"
>ZWS渠道
</el-button
>
</el-row>
<
div
v-for=
"(item, index) in wechatFollow"
:key=
"index"
style=
"margin-top: 20px
"
>
<
el-card
v-for=
"(item, index) in wechatFollow"
:key=
"index"
style=
"margin-top: 20px; background: rgb(248 248 248)
"
>
<AppCard
:title=
"`基本信息$
{index + 1}`">
<el-descriptions
:column=
"4"
>
<el-descriptions-item
label=
"微信昵称"
>
{{
item
.
wechatInfo
.
name
||
'-'
}}
</el-descriptions-item>
...
...
@@ -64,5 +62,5 @@ getwechatUserDetail(params).then(res => {
</el-descriptions>
<el-empty
v-else
></el-empty>
</AppCard>
</
div
>
</
el-card
>
</
template
>
src/modules/user/zws/views/List.vue
浏览文件 @
f1e0bed8
...
...
@@ -6,7 +6,6 @@ const projectsList = ref([])
const
applicationList
=
ref
([])
const
channelsList
=
ref
([])
getConditionList
({
zws
:
true
}).
then
(
res
=>
{
console
.
log
(
res
.
data
.
zws
.
application_status_map
)
agentsList
.
value
=
res
.
data
.
zws
.
agents
projectsList
.
value
=
res
.
data
.
zws
.
projects
applicationList
.
value
=
res
.
data
.
zws
.
application_status_map
...
...
@@ -121,7 +120,7 @@ const listOptions = $computed(() => {
<template
v-slot:createTime=
"
{ params }">
<el-date-picker
v-model=
"params.createTime"
type=
"date
time
range"
type=
"daterange"
:shortcuts=
"shortcuts"
range-separator=
"To"
start-placeholder=
"创建开始时间"
...
...
@@ -131,7 +130,7 @@ const listOptions = $computed(() => {
<
template
v-slot:updatedTime=
"{ params }"
>
<el-date-picker
v-model=
"params.updatedTime"
type=
"date
time
range"
type=
"daterange"
:shortcuts=
"shortcuts"
range-separator=
"To"
start-placeholder=
"创建开始时间"
...
...
src/modules/user/zws/views/View.vue
浏览文件 @
f1e0bed8
...
...
@@ -37,23 +37,26 @@ const handleView = () => {
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
>
<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
>
<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>
<AppCard
title=
"基本信息"
style=
"margin-top: 20px"
>
<el-descriptions
:column=
"
4"
>
<el-descriptions
:column=
"
3"
border
>
<el-descriptions-item
label=
"用户姓名"
>
{{
zwsInfo
.
user_name
||
'-'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"性别"
>
{{
zwsInfo
.
gender_name
||
'-'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"学历"
>
{{
zwsInfo
.
degree_name
||
'-'
}}
</el-descriptions-item>
...
...
@@ -67,9 +70,9 @@ const handleView = () => {
<el-descriptions-item
label=
"微信"
>
{{
zwsInfo
.
wechat
||
'-'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"QQ"
>
{{
zwsInfo
.
qq
||
'-'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"系统账号"
>
{{
zwsInfo
.
user_id
||
'-'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"报名地址"
>
{{
zwsInfo
.
referrer
||
'-'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"终端"
>
{{
zwsInfo
.
device_name
||
'-'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"所在城市"
>
{{
zwsInfo
.
city_name
||
'-'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"报名地址"
>
{{
zwsInfo
.
referrer
||
'-'
}}
</el-descriptions-item>
</el-descriptions>
</AppCard>
<AppCard
title=
"状态信息"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论