Skip to content

Commit

Permalink
refactor: 权限申请单据表格宽度占整行
Browse files Browse the repository at this point in the history
  • Loading branch information
luofann committed Jan 15, 2024
1 parent 9a7b04c commit d5e20ad
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ config/local_settings.py
#blueapps/
.codecc
build.yml
.vscode
.vscode

pre-*-bkcodeai
30 changes: 30 additions & 0 deletions bkcodeai.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"crignore_file_patterns": [
"out/",
"dist/",
"assets/",
"images/",
"package.json",
"package-lock.json",
"yarn.lock",
".env.*",
"*.env",
"*.map",
"*.yml",
"*.yaml",
"*.min.js",
"libs/",
"static/",
"doc/",
"docs/",
"*.mo",
"*.po",
"*.ini",
"*.toml",
"*.json",
"*.xml",
"*.lock",
"*.md",
"*.txt"
]
}
3 changes: 2 additions & 1 deletion frontend/pc/src/components/renderview/tags/TagTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
<bk-table
ref="tagTable"
:data="form.value"
:border="true">
:border="true"
:max-height="500">
<bk-table-column
v-for="(item) in column"
:key="item.key"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<template v-for="(item, index) in firstStateFields">
<div v-if="item.showFeild"
:key="index"
class="bk-field-line">
:class="['bk-field-line', { 'full-line': item.type === 'CUSTOM-FORM' }]">
<fields-done
:item="item"
:basic-info-type="basicInfoType"
Expand All @@ -45,7 +45,7 @@
<bk-form :label-width="200" form-type="vertical" :ext-cls="'bk-ext-form'">
<div v-for="(item, index) in tableFields"
:key="index"
class="bk-field-line">
:class="['bk-field-line', { 'full-line': item.type === 'CUSTOM-FORM' }]">
<!-- 静态展示 -->
<template v-if="!item.isEdit">
<fields-done
Expand Down Expand Up @@ -187,6 +187,9 @@
padding: 4px;
font-size: 14px;
display: inline-block;
&.full-line {
width: 100%;
}
}
.bk-field-half {
width: 50%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<template>
<div class="log-list" v-bkloading="{ isLoading: loading }">
<div class="ticket-process-content" :style="!isShowSla ? 'height: calc(100vh - 430px);' : 'height: calc(100vh - 310px);'">
<div class="ticket-process">
<div v-if="openFunction.FLOW_PREVIEW" class="ticket-process">
<i class="bk-itsm-icon icon-basic-info" @click="viewProcess"> {{ $t(`m["查看完整流程"]`) }}</i>
</div>
<bk-timeline
Expand Down Expand Up @@ -110,6 +110,7 @@
},
...mapState({
nodeList: (state) => state.deployOrder.nodeList,
openFunction: state => state.openFunction,
}),
token() {
return this.$route.query.token;
Expand Down

0 comments on commit d5e20ad

Please sign in to comment.