Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
front-end-dev
techbook
Commits
8edeff63
Commit
8edeff63
authored
Apr 17, 2020
by
anxixi
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
49a3a737
dfb70153
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
24 deletions
+29
-24
list.vue
src/views/announce/pages/list.vue
+28
-22
searchRecord.vue
src/views/bigbusiness/pages/searchRecord.vue
+1
-2
No files found.
src/views/announce/pages/list.vue
View file @
8edeff63
...
...
@@ -149,39 +149,45 @@
messageIds
:
data
.
messageId
};
api
.
setHasReadAxios
(
params
).
then
((
res
)
=>
{
if
(
this
.
userInfo
.
empType
==
0
){
// 普通用户
if
(
this
.
publicFun
.
getUserDetailRoleFunc
()
==
1
){
if
(
data
.
requirementPurposeId
>
0
){
this
.
$router
.
push
({
path
:
"/recommenddetail"
,
query
:{
purposeId
:
data
.
requirementPurposeId
}})
if
(
data
.
toUserId
==
this
.
userInfo
.
empId
){
this
.
$router
.
push
({
path
:
"/bigBusiness/selfdetail"
,
query
:{
id
:
data
.
requirementPurposeId
}})
}
if
(
data
.
fromUserId
==
this
.
userInfo
.
empId
){
this
.
$router
.
push
({
path
:
"/recommenddetail"
,
query
:{
purposeId
:
data
.
requirementPurposeId
}})
}
}
if
(
data
.
projectPurposeId
>
0
){
this
.
$router
.
push
({
path
:
"/contentdetarl"
,
query
:{
purposeId
:
data
.
projectPurposeId
}})
if
(
data
.
toUserId
==
this
.
userInfo
.
empId
){
this
.
$router
.
push
({
path
:
"/contentdetarl"
,
query
:{
purposeId
:
data
.
projectPurposeId
}})
}
if
(
data
.
fromUserId
==
this
.
userInfo
.
empId
){
this
.
$router
.
push
({
path
:
"/bigBusiness/intentiondetail"
,
query
:{
id
:
data
.
projectPurposeId
}})
}
}
}
else
if
(
this
.
userInfo
.
empType
==
1
){
//销售运营
if
(
this
.
publicFun
.
isgetUserRoleFunc
(
2
)){
if
(
data
.
requirementPurposeId
>
0
){
this
.
$router
.
push
({
path
:
"/
bigBusiness/selfdetail"
,
query
:{
id
:
data
.
requirementPurposeId
}})
this
.
$router
.
push
({
path
:
"/
projectinside"
,
query
:{
purposeId
:
data
.
requirementPurposeId
,
type
:
0
}})
}
if
(
data
.
projectPurposeId
>
0
){
this
.
$router
.
push
({
path
:
"/
bigBusiness/intentiondetail"
,
query
:{
id
:
data
.
projectPurposeId
}})
this
.
$router
.
push
({
path
:
"/
projectinside"
,
query
:{
purposeId
:
data
.
projectPurposeId
,
type
:
1
}})
}
}
else
{
if
(
this
.
userInfo
.
roleList
[
0
].
roleType
==
2
){
if
(
data
.
requirementPurposeId
>
0
){
this
.
$router
.
push
({
path
:
"/projectinside"
,
query
:{
purposeId
:
data
.
requirementPurposeId
,
type
:
0
}})
}
if
(
data
.
projectPurposeId
>
0
){
this
.
$router
.
push
({
path
:
"/projectinside"
,
query
:{
purposeId
:
data
.
projectPurposeId
,
type
:
1
}})
}
}
else
if
(
this
.
userInfo
.
roleList
[
0
].
roleType
==
5
){
if
(
data
.
requirementPurposeId
>
0
){
this
.
$router
.
push
({
path
:
"/saleproject/active"
,
query
:{
id
:
data
.
requirementPurposeId
,
type
:
0
}})
}
if
(
data
.
projectPurposeId
>
0
){
this
.
$router
.
push
({
path
:
"/saleproject/active"
,
query
:{
id
:
data
.
projectPurposeId
,
type
:
1
}})
}
if
(
this
.
publicFun
.
isgetUserRoleFunc
(
5
)){
if
(
data
.
requirementPurposeId
>
0
){
this
.
$router
.
push
({
path
:
"/saleproject/active"
,
query
:{
id
:
data
.
requirementPurposeId
,
type
:
0
}})
}
if
(
data
.
projectPurposeId
>
0
){
this
.
$router
.
push
({
path
:
"/saleproject/active"
,
query
:{
id
:
data
.
projectPurposeId
,
type
:
1
}})
}
}
})
...
...
src/views/bigbusiness/pages/searchRecord.vue
View file @
8edeff63
...
...
@@ -64,8 +64,7 @@
if
(
this
.
$store
.
state
.
searchResult
.
has
(
this
.
$route
.
path
))
{
this
.
currentIndex
=
this
.
$store
.
state
.
searchResult
.
get
(
this
.
$route
.
path
);
}
else
{
if
(
this
.
userInfo
.
empType
==
0
)
this
.
currentIndex
=
2
;
else
this
.
currentIndex
=
1
;
this
.
currentIndex
=
1
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment