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

feat(fix):前端样式调整

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