Skip to content

Commit

Permalink
feat: 降冷任务配置页面样式调整 #2564
Browse files Browse the repository at this point in the history
  • Loading branch information
lannoy0523 committed Nov 28, 2024
1 parent 3716717 commit a425d00
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<el-dialog title="创建降冷任务" :visible.sync="showDialog" :before-close="close">
<el-form ref="form" :rules="rules" :model="task" status-icon>
<el-form ref="form" :rules="rules" :model="task" status-icon label-position="left" label-width="80px">
<el-form-item label="任务类型" prop="type">
<el-select
v-model="task.type"
Expand Down Expand Up @@ -69,7 +69,7 @@
/>
</el-select>
</el-form-item>
<div v-if="showType !== 'GENERIC'&& showType !== 'DDC'">
<div v-if="showType !== 'GENERIC'&& showType !== 'DDC'" style="margin-left: -80px">
<el-form-item
v-for="(item,index) in task.content.packages"
:key="index"
Expand All @@ -79,36 +79,36 @@
<el-input
v-model="item.packageKey"
placeholder="请输入"
style="height: 40px; width: 120px"
style="height: 40px; width: 100px"
min="0"
/>
<span style="margin-left: 10px">包kEY正则:</span>
<el-input
v-model="item.packageKeyRegex"
placeholder="请输入"
style="height: 40px; width: 120px"
style="height: 40px; width: 100px"
min="0"
/>
<span style="margin-left: 10px">包版本:</span>
<el-input
v-model="item.versionList"
placeholder="请输入数据,按逗号分隔"
style="height: 40px; width: 200px"
style="height: 40px; width: 185px"
min="0"
@change="versionChange(index)"
/>
<span style="margin-left: 10px">包版本正则:</span>
<el-input
v-model="item.versionRegex"
placeholder="请输入"
style="height: 40px; width: 120px"
style="height: 40px; width: 100px"
min="0"
/>
<span style="margin-left: 10px">排除包版本:</span>
<el-input
v-model="item.excludeVersionList"
placeholder="请输入数据,按逗号分隔"
style="height: 40px; width: 200px"
style="height: 40px; width: 185px"
@change="excludeVersionChange(index)"
/>
<i
Expand All @@ -119,12 +119,12 @@
<i
v-if="index == task.content.packages.length - 1"
class="el-icon-circle-plus-outline"
style="margin: 0px 20px"
style="margin: 0px 10px"
@click.prevent="addDomain()"
/>
</el-form-item>
</div>
<div v-else>
<div v-else style="margin-left: -80px">
<el-form-item
v-for="(item,index) in task.content.paths"
:key="'path'+ index"
Expand Down

0 comments on commit a425d00

Please sign in to comment.