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
a9b14e77
Commit
a9b14e77
authored
Jul 03, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
错误提示
parent
47ef3eec
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
75 additions
and
17 deletions
+75
-17
router.js
src/router.js
+14
-3
requireDetail.vue
src/views/bigbusiness/pages/requireDetail.vue
+20
-9
logined.vue
src/views/mobile/logined.vue
+41
-5
No files found.
src/router.js
View file @
a9b14e77
...
...
@@ -976,9 +976,20 @@ const router = new Router({
component
:
duijiephoneBusinessDetail
},
{
path
:
'/phoneRequireDetail'
,
name
:
"duijiephoneRequireDetail"
,
component
:
duijiephoneRequireDetail
path
:
'/phoneRequireDetail'
,
name
:
"duijiephoneRequireDetail"
,
component
:
articleList
,
children
:[
{
name
:
"duijiephoneRequireDetail"
,
path
:
"/phoneRequireDetail"
,
components
:{
default
:
resolve
=>
require
([
'views/mobile/requirement/reqDetail.vue'
],
resolve
).
catch
(
routerUtils
.
catchImport
),
other
:
resolve
=>
require
([
'views/bigbusiness/pages/requireDetail.vue'
],
resolve
).
catch
(
routerUtils
.
catchImport
)
}
}
]
},
{
path
:
'/mobileSearchResult'
,
...
...
src/views/bigbusiness/pages/requireDetail.vue
View file @
a9b14e77
...
...
@@ -665,17 +665,28 @@
};
api
.
getRequireDetailListAxios
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
0
){
this
.
detailInfo
=
res
.
result
;
this
.
detailInfo
.
targetList
=
res
.
result
.
targetLabel
?
res
.
result
.
targetLabel
.
split
(
','
):
""
;
this
.
detailInfo
.
targetIndustryList
=
res
.
result
.
targetIndustryStr
?
res
.
result
.
targetIndustryStr
.
split
(
','
).
join
(
" | "
):
""
;
this
.
detailInfo
.
sourceNationsList
=
res
.
result
.
sourceNationsStr
?
res
.
result
.
sourceNationsStr
.
join
(
" | "
):
""
;
if
(
res
.
result
.
annexFileMap
){
for
(
var
i
in
res
.
result
.
annexFileMap
){
this
.
detailInfo
.
annexFile
=
i
;
if
(
res
.
result
.
requirementStatus
==
"RA03"
){
this
.
detailInfo
=
res
.
result
;
this
.
detailInfo
.
targetList
=
res
.
result
.
targetLabel
?
res
.
result
.
targetLabel
.
split
(
','
):
""
;
this
.
detailInfo
.
targetIndustryList
=
res
.
result
.
targetIndustryStr
?
res
.
result
.
targetIndustryStr
.
split
(
','
).
join
(
" | "
):
""
;
this
.
detailInfo
.
sourceNationsList
=
res
.
result
.
sourceNationsStr
?
res
.
result
.
sourceNationsStr
.
join
(
" | "
):
""
;
if
(
res
.
result
.
annexFileMap
){
for
(
var
i
in
res
.
result
.
annexFileMap
){
this
.
detailInfo
.
annexFile
=
i
;
}
}
this
.
getUserInfoFunc
();
this
.
getCompanyInfoById
(
res
.
result
.
businessId
);
}
else
{
this
.
$alert
(
this
.
$t
(
"commonTitle.requireSaleOuDialog"
),
{
confirmButtonText
:
this
.
$t
(
"commonTips.confirm"
),
center
:
true
,
customClass
:
'alertDialog'
,
callback
:
action
=>
{
this
.
$router
.
push
(
"/bigBusiness/list"
)
}
});
}
this
.
getUserInfoFunc
();
this
.
getCompanyInfoById
(
res
.
result
.
businessId
);
}
else
{
this
.
$message
.
error
(
res
.
msg
);
}
...
...
src/views/mobile/logined.vue
View file @
a9b14e77
<
template
>
<div
:class=
"isMobile==1?'loginWrapper':'page-wrapper'"
<div
:class=
"isMobile==1?'loginWrapper':
isLeftShow?'page-wrapper-left':
'page-wrapper'"
:style=
"
{background:$route.name=='subjectList'?'#f6f6f6':'#fff'}">
<mobileTop
v-if=
"isMobile==1"
></mobileTop>
...
...
@@ -10,18 +10,25 @@
<page-top
v-show=
"istopShow"
v-else
:key=
'islogindata'
:initStyle=
"isInit"
:documentFront=
"documentFront"
:pathfrom=
"pathfrom"
:isShow=
"isShow"
:isOther=
"isOther"
@
aboutwebtn=
"aboutwebtn"
:numone=
"numone"
@
itemNav=
"sendItemNav"
></page-top>
<page-left
v-show=
"isLeftShow"
:documentFront=
"documentFront"
:pathfrom=
"pathfrom"
></page-left>
</div>
<div
class=
"loginformWrap"
:style=
"
{height:visible?'calc(100vh - 2.2rem)':'calc(100vh - 1rem)'}"
v-if="isMobile==1">
<router-view></router-view>
</div>
<div
class=
"page-content popper-boundaries"
v-
else
>
<div
class=
"page-content popper-boundaries"
v-
if=
"isMobile==0&&!isLeftShow"
>
<router-view
@
itemBtn=
"sendbtns"
/>
</div>
<div
class=
"page-content-left popper-boundaries"
ref=
"pageContent"
v-if=
"isMobile==0&&isLeftShow"
>
<router-view/>
<p
class=
"copyRight"
>
@2020 All Copyright Reserved By Techcode.com 冀ICP备15012625号-1
</p>
</div>
<tabCmpt
v-if=
"visible&&isMobile==1"
:isMargin=
"isMargin"
></tabCmpt>
<PageBottom
v-if=
"isMobile!=1"
@
itemBtn=
"sendbtn"
@
aboutwebtn=
"aboutwebtn"
style=
"z-index: 1;position: relative;"
></PageBottom>
<PageBottom
v-if=
"isMobile!=1
&&!isLeftShow
"
@
itemBtn=
"sendbtn"
@
aboutwebtn=
"aboutwebtn"
style=
"z-index: 1;position: relative;"
></PageBottom>
</div>
</
template
>
...
...
@@ -32,6 +39,7 @@
import
PageBottom
from
'../../components/index/PageBottom'
;
import
commonApi
from
'../../common/commonApi'
import
{
Toast
}
from
'mint-ui'
;
import
PageLeft
from
'../../components/index/PageLeft'
;
export
default
{
name
:
"logined"
,
...
...
@@ -39,7 +47,8 @@
mobileTop
,
tabCmpt
,
PageTop
,
PageBottom
PageBottom
,
PageLeft
},
data
()
{
return
{
...
...
@@ -55,6 +64,7 @@
pathfrom
:
""
,
documentFront
:
""
,
istopShow
:
true
,
isLeftShow
:
false
,
innerWidth
:
document
.
body
.
clientWidth
}
},
...
...
@@ -162,12 +172,18 @@
this
.
publicFun
.
setUserInfoCookie
(
"currentNav"
,
6
);
globalMsg
.
$emit
(
"sendIndex"
,
6
)
}
if
(
this
.
$route
.
name
==
"duijiephoneRequireDetail"
){
this
.
publicFun
.
setUserInfoCookie
(
"currentNav"
,
2
);
globalMsg
.
$emit
(
"sendIndex"
,
2
);
this
.
isLeftShow
=
true
;
this
.
isShow
=
false
;
}
}
}
},
created
(){
if
(
this
.
isMobile
==
0
){
if
(
this
.
isMobile
==
0
){
this
.
getDocumentFunc
();
if
(
this
.
indexwe
==
0
||
this
.
indexwe
>
2
||
this
.
indexwe
==-
2
)
{
this
.
isShow
=
true
;
...
...
@@ -185,6 +201,7 @@
this
.
isOther
=
true
;
})
}
this
.
routerLinkFunc
();
},
activated
(){
if
(
this
.
isMobile
==
0
){
...
...
@@ -286,4 +303,22 @@
overflow
:
hidden
;
}
}
.page-wrapper-left
{
overflow
:
hidden
;
.page-content-left
{
width
:
calc
(
100%
-
210px
);
margin-left
:
210px
;
margin-top
:
60px
;
position
:
relative
;
overflow
:
hidden
;
}
.copyRight
{
font-weight
:
400
;
color
:
#B8BBCD
;
font-size
:
12px
;
background
:
#ECECF2
;
height
:
48px
;
line-height
:
48px
;
}
}
</
style
>
\ No newline at end of file
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