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
db1afa43
Commit
db1afa43
authored
Jul 03, 2023
by
caixingbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*
parent
5c78a12c
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
19 deletions
+20
-19
.env.development
dsk-operate-ui/.env.development
+2
-2
.env.production
dsk-operate-ui/.env.production
+2
-2
.env.staging
dsk-operate-ui/.env.staging
+2
-2
package.json
dsk-operate-ui/package.json
+1
-1
Logo.vue
dsk-operate-ui/src/layout/components/Sidebar/Logo.vue
+3
-3
index.vue
dsk-operate-ui/src/views/detail/party-a/index.vue
+0
-1
index.vue
dsk-operate-ui/src/views/detail/party-b/index.vue
+9
-7
vue.config.js
dsk-operate-ui/vue.config.js
+1
-1
No files found.
dsk-operate-ui/.env.development
View file @
db1afa43
# 页面标题
# 页面标题
VUE_APP_TITLE =
央企经营
系统
VUE_APP_TITLE =
数字化经营履约全生命链路管理
系统
# 开发环境配置
# 开发环境配置
ENV = 'development'
ENV = 'development'
#
央企经营
系统/开发环境
#
数字化经营履约全生命链路管理
系统/开发环境
VUE_APP_BASE_API = '/dev-api'
VUE_APP_BASE_API = '/dev-api'
# 路由懒加载
# 路由懒加载
...
...
dsk-operate-ui/.env.production
View file @
db1afa43
# 页面标题
# 页面标题
VUE_APP_TITLE =
央企经营
系统
VUE_APP_TITLE =
数字化经营履约全生命链路管理
系统
# 生产环境配置
# 生产环境配置
ENV = 'production'
ENV = 'production'
#
央企经营
系统/生产环境
#
数字化经营履约全生命链路管理
系统/生产环境
VUE_APP_BASE_API = '/prod-api'
VUE_APP_BASE_API = '/prod-api'
dsk-operate-ui/.env.staging
View file @
db1afa43
# 页面标题
# 页面标题
VUE_APP_TITLE =
央企经营
系统
VUE_APP_TITLE =
数字化经营履约全生命链路管理
系统
NODE_ENV = production
NODE_ENV = production
# 测试环境配置
# 测试环境配置
ENV = 'staging'
ENV = 'staging'
#
央企经营
系统/测试环境
#
数字化经营履约全生命链路管理
系统/测试环境
VUE_APP_BASE_API = '/stage-api'
VUE_APP_BASE_API = '/stage-api'
dsk-operate-ui/package.json
View file @
db1afa43
{
{
"name"
:
"ruoyi"
,
"name"
:
"ruoyi"
,
"version"
:
"3.8.5"
,
"version"
:
"3.8.5"
,
"description"
:
"
央企经营
系统"
,
"description"
:
"
数字化经营履约全生命链路管理
系统"
,
"author"
:
"若依"
,
"author"
:
"若依"
,
"license"
:
"MIT"
,
"license"
:
"MIT"
,
"scripts"
:
{
"scripts"
:
{
...
...
dsk-operate-ui/src/layout/components/Sidebar/Logo.vue
View file @
db1afa43
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
</router-link>
</router-link>
<router-link
v-else
key=
"expand"
class=
"sidebar-logo-link"
to=
"/"
>
<router-link
v-else
key=
"expand"
class=
"sidebar-logo-link"
to=
"/"
>
<img
v-if=
"logo"
:src=
"logo"
class=
"sidebar-logo"
/>
<img
v-if=
"logo"
:src=
"logo"
class=
"sidebar-logo"
/>
<h1
class=
"
sidebar-title"
:style=
"
{
color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">
{{
title
}}
</h1>
<h1
class=
"
text-cl1 sidebar-title"
:style=
"
{ width: '98px',
color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">
{{
title
}}
</h1>
</router-link>
</router-link>
</transition>
</transition>
</div>
</div>
...
@@ -35,7 +35,7 @@ export default {
...
@@ -35,7 +35,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
title
:
'
央企经营
系统'
,
title
:
'
数字化经营履约全生命链路管理
系统'
,
logo
:
logoImg
logo
:
logoImg
}
}
}
}
...
@@ -70,7 +70,7 @@ export default {
...
@@ -70,7 +70,7 @@ export default {
width
:
16px
;
width
:
16px
;
height
:
23px
;
height
:
23px
;
vertical-align
:
middle
;
vertical-align
:
middle
;
margin-right
:
12
px
;
margin-right
:
3
px
;
}
}
&
.sidebar-title
{
&
.sidebar-title
{
...
...
dsk-operate-ui/src/views/detail/party-a/index.vue
View file @
db1afa43
...
@@ -281,7 +281,6 @@ export default {
...
@@ -281,7 +281,6 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.part-container
{
.part-container
{
min-width
:
1300px
;
padding
:
0
;
padding
:
0
;
}
}
.part-main
{
.part-main
{
...
...
dsk-operate-ui/src/views/detail/party-b/index.vue
View file @
db1afa43
...
@@ -12,10 +12,9 @@ export default {
...
@@ -12,10 +12,9 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
// 是否加载
中
loading
:
false
,
// 是否加载
完成
navHeight
:
68
,
// iframe
距离顶部距离
px
navHeight
:
68
,
// iframe
以为的高度
px
iframeHight
:
window
.
innerHeight
,
// iframe高度
iframeHight
:
window
.
innerHeight
,
// iframe高度
scrollTop
:
0
,
// 滚动条距离内部页面顶部距离
domain
:
'https://pre-plug.jiansheku.com'
,
domain
:
'https://pre-plug.jiansheku.com'
,
// domain: 'http://192.168.60.30:3300',
// domain: 'http://192.168.60.30:3300',
ak
:
'aec7b3ff2y2q8x6t49a7e2c463ce21912'
// 需要携带的sdkId
ak
:
'aec7b3ff2y2q8x6t49a7e2c463ce21912'
// 需要携带的sdkId
...
@@ -51,11 +50,11 @@ export default {
...
@@ -51,11 +50,11 @@ export default {
_this
.
iframeHight
=
data
.
height
_this
.
iframeHight
=
data
.
height
_this
.
loading
=
false
_this
.
loading
=
false
}
}
// 点击
栏目名及子标签
动态设置滚动高度
// 点击
企业详情页 栏目名
动态设置滚动高度
if
(
data
.
scrollHeight
)
{
if
(
data
.
scrollHeight
)
{
window
.
scrollTo
(
sc
,
parseInt
(
data
.
scrollHeight
)
+
_this
.
navHeight
+
15
)
window
.
scrollTo
(
sc
,
parseInt
(
data
.
scrollHeight
)
+
_this
.
navHeight
+
15
)
}
}
// 点击
下拉
子标签动态设置滚动高度
// 点击
企业详情页 栏目下
子标签动态设置滚动高度
if
(
data
.
clientHeight
)
{
if
(
data
.
clientHeight
)
{
window
.
scrollTo
(
sc
,
sc
-
30
)
window
.
scrollTo
(
sc
,
sc
-
30
)
}
}
...
@@ -63,17 +62,20 @@ export default {
...
@@ -63,17 +62,20 @@ export default {
if
(
data
.
initHeight
||
data
.
initHeight
===
0
)
{
if
(
data
.
initHeight
||
data
.
initHeight
===
0
)
{
window
.
scrollTo
(
sc
,
data
.
initHeight
)
window
.
scrollTo
(
sc
,
data
.
initHeight
)
}
}
// 根据子页面弹窗显示隐藏控制当前页面是否固定不可滚动
if
(
data
.
scrollDisabled
)
{
document
.
body
.
style
.
overflow
=
data
.
scrollDisabled
}
}
}
})
})
},
},
scrolling
()
{
scrolling
()
{
// 滚动条距文档顶部的距离
// 滚动条距文档顶部的距离
const
scrollTop
=
window
.
pageYOffset
||
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
const
scrollTop
=
window
.
pageYOffset
||
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
this
.
scrollTop
=
scrollTop
// 准备传值
// 准备传值
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
const
ifa
=
this
.
$refs
.
companyIframe
const
ifa
=
this
.
$refs
.
companyIframe
ifa
.
contentWindow
.
postMessage
({
'scrollTop'
:
this
.
scrollTop
,
'navHeight'
:
this
.
navHeight
},
'*'
)
ifa
.
contentWindow
.
postMessage
({
'scrollTop'
:
scrollTop
},
'*'
)
})
})
}
}
}
}
...
...
dsk-operate-ui/vue.config.js
View file @
db1afa43
...
@@ -7,7 +7,7 @@ function resolve(dir) {
...
@@ -7,7 +7,7 @@ function resolve(dir) {
const
CompressionPlugin
=
require
(
'compression-webpack-plugin'
)
const
CompressionPlugin
=
require
(
'compression-webpack-plugin'
)
const
name
=
process
.
env
.
VUE_APP_TITLE
||
'
央企经营
系统'
// 网页标题
const
name
=
process
.
env
.
VUE_APP_TITLE
||
'
数字化经营履约全生命链路管理
系统'
// 网页标题
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
80
// 端口
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
80
// 端口
// vue.config.js 配置说明
// vue.config.js 配置说明
...
...
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