Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit eee108da
authored
Aug 03, 2023
by
怪兽?别跑
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
路由调整
1 parent
41cff143
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
16 deletions
vue3-lw-pc/src/config.js
vue3-lw-pc/src/views/customerManage/dimission/allocatedStaffDetailList.vue
vue3-lw-pc/src/config.js
View file @
eee108d
...
...
@@ -23,6 +23,7 @@ const common = {
COOKIEEXPIRES
:
0.5
,
// token在Cookie中存储的天数,默认0.5天
WORK_WEIXIN_CONFIG_ROUTE_NAME
:
'EnterpriseWechat'
,
// 企业微信设置页面路由名称, 用于router 通过name判断与跳转,避免使用path不易于扩展
CUSTOMER_DETAIL_ROUTE_NAME
:
'customerDetail'
,
// 客户详情页面路由name,同上
GROUP_DETAIL_ROUTE_PATH
:
'/groupManage/customerGroupManage/groupDetail'
,
// 客群详情
DEFAULT_H5_PIC
:
env
.
DOMAIN
+
'/static/PIC.png'
,
DEFAULT_H5_ART
:
env
.
DOMAIN
+
'/static/ARTICAL.png'
,
// 文章默认封面
DEFAULT_H5_TP
:
env
.
DOMAIN
+
'/static/TEXT_PIC.png'
,
// 图文默认封面
...
...
@@ -39,16 +40,16 @@ const common = {
entry
:
env
.
DOMAIN
+
'/microStore/'
,
container
:
'#micro-app'
,
// activeRule: (location) => location.hash.startsWith('#/microStore'),
activeRule
:
env
.
BASE_URL
.
slice
(
env
.
BASE_URL
.
indexOf
(
'/'
))
+
'microStore'
,
// eg:/vue/microStore
}
,
}
,
activeRule
:
env
.
BASE_URL
.
slice
(
env
.
BASE_URL
.
indexOf
(
'/'
))
+
'microStore'
// eg:/vue/microStore
}
}
}
// 以下仅用于系统信息展示,不作为项目变量使用,请勿在代码中使用
const
project
=
{
_version
:
'v5.x'
,
// 当前版本信息
_packDateTime
:
__PACK_DATETIME__
,
// 打包时间
_env
:
process
.
env
.
VUE_APP_ENV
,
// 前端系统环境模式
_env
:
process
.
env
.
VUE_APP_ENV
// 前端系统环境模式
}
let
config
=
{
...
...
@@ -67,12 +68,12 @@ let config = {
services
:
{
wecom
:
'/open'
,
// system: 'http://192.168.4.168:6180',
common
:
'/common'
,
common
:
'/common'
},
get
headers
()
{
return
{
Authorization
:
'Bearer '
+
getToken
()
}
}
,
}
}
const
lwConfig
=
window
.
lwConfig
||
{}
// 线上动态配置,用于覆盖系统默认常量的配置信息
...
...
vue3-lw-pc/src/views/customerManage/dimission/allocatedStaffDetailList.vue
View file @
eee108d
...
...
@@ -57,6 +57,19 @@
.
catch
(()
=>
{
this
.
loading
=
false
})
},
gotoRoute
(
row
)
{
if
(
this
.
type
==
'customer'
)
{
this
.
$router
.
push
({
name
:
window
.
lwConfig
.
CUSTOMER_DETAIL_ROUTE_NAME
,
query
:
{
externalUserid
:
row
.
externalUserid
,
userId
:
row
.
firstUserId
,
isDelete
:
true
}
})
}
else
{
this
.
$router
.
push
({
path
:
window
.
lwConfig
.
GROUP_DETAIL_ROUTE_PATH
,
query
:
{
chatId
:
row
.
chatId
}
})
}
}
}
}
...
...
@@ -72,16 +85,7 @@
<el-table-column
prop=
"allocateTime"
label=
"分配时间"
show-overflow-tooltip
></el-table-column>
<el-table-column
label=
"操作"
width=
"100"
>
<template
#
default=
"
{ row }">
<el-button
v-hasPermi=
"['customerManage:dimission:edit']"
@
click=
"
$router.push(
{
name: window.lwConfig.CUSTOMER_DETAIL_ROUTE_NAME,
query: { externalUserid: row.externalUserid, userId: row.firstUserId, isDelete: true }
})
"
text
>
<el-button
v-hasPermi=
"['customerManage:dimission:edit']"
@
click=
"gotoRoute(row)"
text
>
查看
</el-button>
</
template
>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment