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
42f3a4a9
Commit
42f3a4a9
authored
Jul 03, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需求试一下
parent
45b9abe8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
26 deletions
+40
-26
requireDetail.vue
src/views/bigbusiness/pages/requireDetail.vue
+18
-12
reqDetail.vue
src/views/mobile/requirement/reqDetail.vue
+22
-14
No files found.
src/views/bigbusiness/pages/requireDetail.vue
View file @
42f3a4a9
...
@@ -810,27 +810,33 @@
...
@@ -810,27 +810,33 @@
}
else
{
}
else
{
this
.
isOneSelf
=
false
;
this
.
isOneSelf
=
false
;
}
}
if
(
this
.
detailInfo
.
requirementStatus
==
"RA03"
){
this
.
getStatusFunc
();
}
else
{
this
.
$alert
(
this
.
$t
(
"commonTitle.requireSaleOuDialog"
),
{
confirmButtonText
:
this
.
$t
(
"commonTips.confirm"
),
center
:
true
,
customClass
:
'alertDialog'
,
callback
:
action
=>
{
this
.
$router
.
push
(
"/bigBusiness/list"
)
}
});
}
}
}
}
}
else
{
else
{
this
.
getStatusFunc
();
this
.
isShare
=
true
;
this
.
isShare
=
true
;
this
.
navTitleList
=
[
"title"
,
"customerInfo"
];
this
.
navTitleList
=
[
"title"
,
"customerInfo"
];
}
}
},
},
//状态是否正常
getStatusFunc
(){
if
(
this
.
detailInfo
.
requirementStatus
==
"RA03"
){
}
else
{
this
.
$alert
(
this
.
$t
(
"commonTitle.requireSaleOuDialog"
),
{
confirmButtonText
:
this
.
$t
(
"commonTips.confirm"
),
center
:
true
,
customClass
:
'alertDialog'
,
callback
:
action
=>
{
this
.
$router
.
push
(
"/bigBusiness/list"
)
}
});
}
},
//是否已经自推荐
//是否已经自推荐
isHasSelfFunc
(){
isHasSelfFunc
(){
let
params
=
this
.
$route
.
query
.
id
;
let
params
=
this
.
$route
.
query
.
id
;
...
...
src/views/mobile/requirement/reqDetail.vue
View file @
42f3a4a9
...
@@ -169,6 +169,24 @@
...
@@ -169,6 +169,24 @@
})
})
},
},
//状态是否正常
getStatusFunc
(){
if
(
this
.
detailInfo
.
requirementStatus
==
"RA03"
){
}
else
{
MessageBox
({
title
:
""
,
message
:
this
.
$t
(
"commonTitle.requireSaleOuDialog"
),
confirmButtonText
:
this
.
$t
(
"commonTips.confirm"
)
}).
then
(
action
=>
{
if
(
action
==
'confirm'
)
{
globalMsg
.
$emit
(
"sendContactIndex"
,
2
)
globalMsg
.
$emit
(
'sendSelected'
,
"contact"
);
this
.
$router
.
push
({
path
:
"/tabconnect"
,
query
:{
tabIndex
:
2
}});
}
})
}
},
//获取用户信息
//获取用户信息
getUserInfoFunc
(){
getUserInfoFunc
(){
var
userInfo
=
this
.
publicFun
.
getCookie
(
"userInfo"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"userInfo"
)))
:
""
;
var
userInfo
=
this
.
publicFun
.
getCookie
(
"userInfo"
)
?
JSON
.
parse
(
this
.
Base64
.
decode
(
this
.
publicFun
.
getCookie
(
"userInfo"
)))
:
""
;
...
@@ -209,24 +227,14 @@
...
@@ -209,24 +227,14 @@
}
else
{
}
else
{
this
.
isOneSelf
=
false
;
this
.
isOneSelf
=
false
;
}
}
if
(
this
.
detailInfo
.
requirementStatus
==
"RA03"
){
this
.
getStatusFunc
();
}
else
{
MessageBox
({
title
:
""
,
message
:
this
.
$t
(
"commonTitle.requireSaleOuDialog"
),
confirmButtonText
:
this
.
$t
(
"commonTips.confirm"
)
}).
then
(
action
=>
{
if
(
action
==
'confirm'
)
{
globalMsg
.
$emit
(
"sendContactIndex"
,
2
)
globalMsg
.
$emit
(
'sendSelected'
,
"contact"
);
this
.
$router
.
push
({
path
:
"/tabconnect"
,
query
:{
tabIndex
:
2
}});
}
})
}
}
}
}
else
{
this
.
getStatusFunc
();
}
}
},
},
handleToCom
(){
handleToCom
(){
...
...
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