forked from github/dataease
feat(fix):前端样式调整
This commit is contained in:
parent
4fb3652486
commit
fb02dd6160
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user