Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
0a4e2edc
Commit
0a4e2edc
authored
Jun 21, 2023
by
huangjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://192.168.60.201/root/dsk-operate-sys
parents
077dabaa
3edac885
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
index.vue
dsk-operate-ui/src/views/detail/party-b/index.vue
+6
-5
No files found.
dsk-operate-ui/src/views/detail/party-b/index.vue
View file @
0a4e2edc
...
...
@@ -13,10 +13,11 @@ export default {
data
()
{
return
{
loading
:
false
,
// 是否加载中
navHeight
:
68
,
// iframe距离顶部距离px
iframeHight
:
window
.
innerHeight
,
// iframe高度
scrollTop
:
0
,
// 滚动条距离内部页面顶部距离
//
domain: 'https://pre-plug.jiansheku.com',
domain
:
'http://192.168.60.30:3300'
,
domain
:
'https://pre-plug.jiansheku.com'
,
//
domain: 'http://192.168.60.30:3300',
ak
:
'aec7b3ff2y2q8x6t49a7e2c463ce21912'
// 需要携带的sdkId
}
},
...
...
@@ -28,7 +29,7 @@ export default {
this
.
src
=
`
${
this
.
domain
}
/enterprise/
${
this
.
$route
.
params
.
id
}
?ak=
${
this
.
ak
}
`
}
if
(
this
.
$route
.
name
==
'Personnel'
){
//人员详情
this
.
src
=
`
${
this
.
domain
}
/personnel/
${
this
.
$route
.
params
.
id
}
.html?ak=
${
this
.
ak
}
&referrer=true
`
this
.
src
=
`
${
this
.
domain
}
/personnel/
${
this
.
$route
.
params
.
id
}
.html?ak=
${
this
.
ak
}
`
}
}
},
...
...
@@ -53,7 +54,7 @@ export default {
}
// 点击栏目名及子标签动态设置滚动高度
if
(
data
.
scrollHeight
)
{
window
.
scrollTo
(
sc
,
parseInt
(
data
.
scrollHeight
)
+
83
)
window
.
scrollTo
(
sc
,
parseInt
(
data
.
scrollHeight
)
+
_this
.
navHeight
+
15
)
}
// 点击下拉子标签动态设置滚动高度
if
(
data
.
clientHeight
)
{
...
...
@@ -69,7 +70,7 @@ export default {
// 准备传值
this
.
$nextTick
(()
=>
{
const
ifa
=
this
.
$refs
.
companyIframe
ifa
.
contentWindow
.
postMessage
({
'scrollTop'
:
this
.
scrollTop
},
'*'
)
ifa
.
contentWindow
.
postMessage
({
'scrollTop'
:
this
.
scrollTop
,
'navHeight'
:
this
.
navHeight
},
'*'
)
})
}
}
...
...
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