Compare commits

...

3 Commits

Author SHA1 Message Date
wangruidong
a2e964d953 fix: adhoc and playbook detail page display many '-' 2024-11-22 15:23:47 +08:00
zhaojisen
0ad4945b10 fixed: Fixed an issue where the Form button was hidden 2024-11-22 15:21:59 +08:00
wangruidong
fcdd090e2d fix: run playbook job with no variable 2024-11-21 22:05:18 +08:00
5 changed files with 9 additions and 9 deletions

View File

@@ -52,7 +52,7 @@ export default {
<style lang="scss" scoped>
.app-main {
background-color: #f3f3f4;
height: 100% !important;
height: 100vh !important;
width: 100%;
position: relative;
overflow: auto;

View File

@@ -116,8 +116,7 @@ export default {
<style lang="scss" scoped>
.page {
height: calc(100vh - 50px);
//overflow-y: hidden;
overflow-y: hidden;
overflow-x: hidden;
.el-alert {
@@ -127,9 +126,8 @@ export default {
.page-content {
height: calc(100% - 20px);
//Todo)) 注释掉的原因:当页面动态高度变化时就会导致页面最下方的按钮被 hidden
//overflow-x: hidden;
//overflow-y: auto !important;
overflow-x: hidden;
overflow-y: auto !important;
::v-deep > div {
margin-bottom: 50px;

View File

@@ -99,6 +99,7 @@ export default {
data?.variable.map(item => {
delete item.job
delete item.playbook
delete item.id
return item
})
updateForm({ variable: data.variable })

View File

@@ -1,7 +1,7 @@
<template>
<el-row :gutter="20">
<el-col :md="16" :sm="24">
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
<AutoDetailCard :excludes="excludes" :object="object" :url="url" />
</el-col>
</el-row>
</template>
@@ -21,7 +21,8 @@ export default {
},
data() {
return {
url: `/api/v1/ops/adhocs/${this.object.id}/`
url: `/api/v1/ops/adhocs/${this.object.id}/`,
excludes: ['variable']
}
},
computed: {

View File

@@ -23,7 +23,7 @@ export default {
return {
url: `/api/v1/ops/playbooks/${this.object.id}/`,
excludes: [
'path', 'create_method', 'vcs_url'
'variable', 'path', 'create_method', 'vcs_url'
]
}
},