Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
DolphinScheduler
提交
2838254c
DolphinScheduler
项目概览
apache
/
DolphinScheduler
上一次同步 1 年多
通知
706
Star
9572
Fork
3514
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
DolphinScheduler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
2838254c
编写于
9月 24, 2020
作者:
X
xingchun-chen
提交者:
GitHub
9月 24, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #3803 from break60/1.3.3-release
[fixBug-3792][ui]Click on the sidebar to adapt the width of the pie c…
上级
dce518c3
387437a6
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
23 addition
and
5 deletion
+23
-5
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/processStateCount.vue
.../pages/projects/pages/index/_source/processStateCount.vue
+7
-2
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/taskCtatusCount.vue
...me/pages/projects/pages/index/_source/taskCtatusCount.vue
+6
-1
dolphinscheduler-ui/src/js/conf/home/store/projects/mutations.js
...scheduler-ui/src/js/conf/home/store/projects/mutations.js
+6
-0
dolphinscheduler-ui/src/js/conf/home/store/projects/state.js
dolphinscheduler-ui/src/js/conf/home/store/projects/state.js
+1
-1
dolphinscheduler-ui/src/js/module/components/secondaryMenu/secondaryMenu.vue
.../src/js/module/components/secondaryMenu/secondaryMenu.vue
+3
-1
未找到文件。
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/processStateCount.vue
浏览文件 @
2838254c
...
...
@@ -19,7 +19,7 @@
<div
v-show=
"!msg"
>
<div
class=
"data-area"
v-spin=
"isSpin"
style=
"height: 430px;"
>
<div
class=
"col-md-7"
>
<div
id=
"process-state-pie"
style=
"height:260px;margin-top: 100px;"
></div>
<div
id=
"process-state-pie"
style=
"
width:100%;
height:260px;margin-top: 100px;"
></div>
</div>
<div
class=
"col-md-5"
>
<div
class=
"table-small-model"
>
...
...
@@ -52,6 +52,8 @@
import
{
mapActions
}
from
'
vuex
'
import
{
pie
}
from
'
./chartConfig
'
import
Chart
from
'
@/module/ana-charts
'
import
echarts
from
'
echarts
'
import
store
from
'
@/conf/home/store
'
import
mNoData
from
'
@/module/components/noData/noData
'
import
{
stateType
}
from
'
@/conf/home/pages/projects/pages/_source/instanceConditions/common
'
export
default
{
...
...
@@ -87,7 +89,7 @@
value
:
v
.
count
}
})
const
myChart
=
Chart
.
pie
(
'
#process-state-pie
'
,
this
.
processStateList
,
{
title
:
''
})
const
myChart
=
Chart
.
pie
(
'
#process-state-pie
'
,
this
.
processStateList
,
{
title
:
''
})
myChart
.
echart
.
setOption
(
pie
)
// 首页不允许跳转
if
(
this
.
searchParams
.
projectId
)
{
...
...
@@ -112,6 +114,9 @@
this
.
isSpin
=
false
})
}
},
'
$store.state.projects.sideBar
'
:
function
()
{
echarts
.
init
(
document
.
getElementById
(
'
process-state-pie
'
)).
resize
()
}
},
beforeCreate
()
{
...
...
dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/taskCtatusCount.vue
浏览文件 @
2838254c
...
...
@@ -19,7 +19,7 @@
<div
v-show=
"!msg"
>
<div
class=
"data-area"
v-spin=
"isSpin"
style=
"height: 430px;"
>
<div
class=
"col-md-7"
>
<div
id=
"task-status-pie"
style=
"height:260px;margin-top: 100px;"
></div>
<div
id=
"task-status-pie"
style=
"
width:100%;
height:260px;margin-top: 100px;"
></div>
</div>
<div
class=
"col-md-5"
>
<div
class=
"table-small-model"
>
...
...
@@ -54,6 +54,8 @@
import
{
mapActions
}
from
'
vuex
'
import
{
pie
}
from
'
./chartConfig
'
import
Chart
from
'
@/module/ana-charts
'
import
echarts
from
'
echarts
'
import
store
from
'
@/conf/home/store
'
import
mNoData
from
'
@/module/components/noData/noData
'
import
{
stateType
}
from
'
@/conf/home/pages/projects/pages/_source/instanceConditions/common
'
...
...
@@ -117,6 +119,9 @@
this
.
isSpin
=
false
})
}
},
'
$store.state.projects.sideBar
'
:
function
()
{
echarts
.
init
(
document
.
getElementById
(
'
task-status-pie
'
)).
resize
()
}
},
beforeCreate
()
{
...
...
dolphinscheduler-ui/src/js/conf/home/store/projects/mutations.js
浏览文件 @
2838254c
...
...
@@ -16,4 +16,10 @@
*/
export
default
{
/**
* set sideBar
* */
setSideBar
(
state
,
payload
)
{
state
.
sideBar
=
payload
},
}
dolphinscheduler-ui/src/js/conf/home/store/projects/state.js
浏览文件 @
2838254c
...
...
@@ -15,5 +15,5 @@
* limitations under the License.
*/
export
default
{
sideBar
:
1
}
dolphinscheduler-ui/src/js/module/components/secondaryMenu/secondaryMenu.vue
浏览文件 @
2838254c
...
...
@@ -55,7 +55,7 @@
</template>
<
script
>
import
menu
from
'
./_source/menu
'
import
store
from
'
@/conf/home/store
'
export
default
{
name
:
'
secondary-menu
'
,
data
()
{
...
...
@@ -85,8 +85,10 @@
this
.
isTogHide
=
!
this
.
isTogHide
if
(
this
.
isTogHide
)
{
sessionStorage
.
setItem
(
'
isLeft
'
,
0
)
store
.
commit
(
'
projects/setSideBar
'
,
0
)
}
else
{
sessionStorage
.
setItem
(
'
isLeft
'
,
1
)
store
.
commit
(
'
projects/setSideBar
'
,
1
)
}
}
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录