This repository was archived by the owner on Mar 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +42
-23
lines changed
Expand file tree Collapse file tree 4 files changed +42
-23
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,9 @@ export default {
215215 v-model =" updateFormModel.muteRule"
216216 :placeholder =" $t('robot.robotSecretPlaceholder')"
217217 ></el-input >
218- <el-tag v-else type =" info" >{{ $t('robot.consts.nomute') }}</el-tag >
218+ <el-tag v-else type =" info" size =" small" style =" margin-right : 10px " >{{
219+ $t('robot.consts.nomute')
220+ }}</el-tag >
219221 <el-dropdown
220222 size =" small"
221223 split-button
@@ -269,7 +271,7 @@ export default {
269271 type =" textarea"
270272 rows =" 8"
271273 ></el-input >
272- <el-tag v-else type =" info" >{{
274+ <el-tag v-else type =" info" size = " small " style = " margin-right : 10 px " >{{
273275 $t('robot.consts.defaultTemplate')
274276 }}</el-tag >
275277 <el-button
Original file line number Diff line number Diff line change @@ -158,16 +158,23 @@ onMounted(() => {
158158 ></el-input >
159159 </el-form-item >
160160 <el-form-item :label =" $t('project.alertConfig')" prop =" globalRobot" >
161- <span >{{ $t('project.ui.globalRobot') }}</span >
162- <el-switch v-model =" project.globalRobot" class =" mb-2" />
163- <br />
164- <span >{{ $t('project.ui.testsuiteDefaultAlertRobotIds') }}</span
165- ><el-switch
166- v-model =" project.testsuiteAlertRobotIds"
167- class =" mb-2"
168- :inactive-value =" []"
169- :active-value =" null"
170- />
161+ <div style =" display : flex ; align-items : center " >
162+ <el-switch v-model =" project.globalRobot" class =" mb-2" />
163+ <span style =" margin-left : 10px " >{{
164+ $t('project.ui.globalRobot')
165+ }}</span >
166+ </div >
167+ <div style =" display : flex ; align-items : center " >
168+ <el-switch
169+ v-model =" project.testsuiteAlertRobotIds"
170+ class =" mb-2"
171+ :inactive-value =" []"
172+ :active-value =" null"
173+ />
174+ <span style =" margin-left : 10px " >{{
175+ $t('project.ui.testsuiteDefaultAlertRobotIds')
176+ }}</span >
177+ </div >
171178 <template v-if =" project .testsuiteAlertRobotIds != null " >
172179 <el-select
173180 v-model =" project.testsuiteAlertRobotIds"
Original file line number Diff line number Diff line change @@ -436,13 +436,19 @@ onMounted(() => {
436436 <el-form-item
437437 prop =" alertRobotIds"
438438 :label =" $t('testSuitesTS.ui.alertRobotIds')"
439- ><span >{{ $t('testSuitesTS.ui.defaultAlertRobotIds') }}</span >
440- <el-switch
441- v-model =" testSuite.alertRobotIds"
442- class =" mb-2"
443- :inactive-value =" []"
444- :active-value =" null"
445- /><template v-if =" testSuite .alertRobotIds != null " >
439+ >
440+ <div style =" display : flex ; align-items : center " >
441+ <el-switch
442+ v-model =" testSuite.alertRobotIds"
443+ class =" mb-2"
444+ :inactive-value =" []"
445+ :active-value =" null"
446+ />
447+ <span style =" margin-left : 10px " >{{
448+ $t('testSuitesTS.ui.defaultAlertRobotIds')
449+ }}</span >
450+ </div >
451+ <template v-if =" testSuite .alertRobotIds != null " >
446452 <el-select
447453 v-model =" testSuite.alertRobotIds"
448454 multiple
Original file line number Diff line number Diff line change @@ -104,30 +104,34 @@ onMounted(() => {
104104 </el-table-column >
105105 <el-table-column :label =" $t('robot.muteRule')" align =" center"
106106 ><template #default =" scope " >
107- <el-tag v-if =" !scope.row.muteRule" type =" info" >{{
107+ <el-tag v-if =" !scope.row.muteRule" size = " small " type =" info" >{{
108108 $t('robot.consts.nomute')
109109 }}</el-tag >
110110 <el-popover v-else trigger =" hover" width =" auto" >
111111 <template #default >
112112 <pre >{{ scope.row.muteRule }}</pre >
113113 </template >
114114 <template #reference >
115- <el-tag >{{ $t('robot.consts.customTemplate') }}</el-tag >
115+ <el-tag size =" small" >{{
116+ $t('robot.consts.customTemplate')
117+ }}</el-tag >
116118 </template >
117119 </el-popover >
118120 </template >
119121 </el-table-column >
120122 <el-table-column :label =" $t('robot.template')" align =" center"
121123 ><template #default =" scope " >
122- <el-tag v-if =" !scope.row.template" type =" info" >{{
124+ <el-tag v-if =" !scope.row.template" size = " small " type =" info" >{{
123125 $t('robot.consts.defaultTemplate')
124126 }}</el-tag
125127 ><el-popover v-else trigger =" hover" width =" auto" >
126128 <template #default >
127129 <pre >{{ scope.row.template }}</pre >
128130 </template >
129131 <template #reference >
130- <el-tag >{{ $t('robot.consts.customTemplate') }}</el-tag >
132+ <el-tag size =" small" >{{
133+ $t('robot.consts.customTemplate')
134+ }}</el-tag >
131135 </template >
132136 </el-popover >
133137 </template >
You can’t perform that action at this time.
0 commit comments