feat(fix):前端样式调整

This commit is contained in:
junjie 2021-06-02 18:49:14 +08:00
parent 4fb3652486
commit fb02dd6160
6 changed files with 16 additions and 6 deletions

View File

@ -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
}) })
} }

View File

@ -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;

View File

@ -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;
}
} }

View File

@ -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 {
param: {} param: {}
} }
}, },
mounted() {
removeClass(document.body, 'showRightPanel')
},
methods: { methods: {
switchComponent(c) { switchComponent(c) {
this.param = c.param this.param = c.param

View File

@ -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
}) })
}, },

View File

@ -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 {
param: {} param: {}
} }
}, },
mounted() {
removeClass(document.body, 'showRightPanel')
},
methods: { methods: {
switchComponent(c) { switchComponent(c) {
this.param = c.param this.param = c.param