提交 fb02dd61 authored 作者: junjie's avatar junjie

feat(fix):前端样式调整

上级 4fb36524
......@@ -119,11 +119,11 @@ export function fieldValues(fieldId) {
})
}
export function isKettleRunning() {
export function isKettleRunning(showLoading = true) {
return request({
url: '/dataset/group/isKettleRunning',
method: 'post',
loading: true
loading: showLoading
})
}
......
......@@ -158,7 +158,7 @@ export default {
}
</script>
<style lang="css">
<style lang="css" scoped>
.cron {
text-align: left;
padding: 10px;
......
......@@ -238,7 +238,9 @@ div:focus {
color: #23beef;
margin: 0 2px 0 0;
}
.el-popper{
position: fixed!important;
.showRightPanel{
.el-popper{
position: fixed!important;
}
}
......@@ -20,6 +20,7 @@ import Group from './group/Group'
import ChartHome from './data/ChartHome'
import ChartEdit from './view/ChartEdit'
import { removeClass } from '@/utils'
export default {
name: 'Chart',
......@@ -30,6 +31,9 @@ export default {
param: {}
}
},
mounted() {
removeClass(document.body, 'showRightPanel')
},
methods: {
switchComponent(c) {
this.param = c.param
......
......@@ -188,7 +188,7 @@ export default {
},
methods: {
kettleState() {
isKettleRunning().then(res => {
isKettleRunning(false).then(res => {
this.kettleRunning = res.data
})
},
......
......@@ -25,6 +25,7 @@ import AddSQL from './add/AddSQL'
import AddExcel from './add/AddExcel'
import AddCustom from './add/AddCustom'
import FieldEdit from './data/FieldEdit'
import { removeClass } from '@/utils'
export default {
name: 'DataSet',
......@@ -35,6 +36,9 @@ export default {
param: {}
}
},
mounted() {
removeClass(document.body, 'showRightPanel')
},
methods: {
switchComponent(c) {
this.param = c.param
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论