File tree Expand file tree Collapse file tree 6 files changed +84
-38
lines changed
Expand file tree Collapse file tree 6 files changed +84
-38
lines changed Original file line number Diff line number Diff line change 244244 </el-table-column >
245245 <el-table-column
246246 :label =" $t('views.agentManage.manage')"
247- width =" 360px "
247+ width =" 280px "
248248 fixed =" right"
249249 >
250250 <template slot-scope="{ row }">
Original file line number Diff line number Diff line change 7474 width =" 200"
7575 :label =" $t('views.sysInfo.operation')"
7676 align =" center"
77+ fixed =" right"
7778 >
7879 <template slot-scope="scope">
7980 <div class =" table-btn-box" >
Original file line number Diff line number Diff line change 184184 <el-table-column
185185 prop =" "
186186 :label =" $t('views.hookPage.address')"
187- width =" 100 "
187+ width =" 200 "
188188 align =" center"
189189 :fixed =" tableData.length ? 'right' : false"
190190 >
191191 <template slot-scope="scope">
192- <el-button
193- type =" text"
194- size =" small"
195- style =" color : #4a72ae "
196- @click =" editRow(scope.row)"
197- >
198- {{ $t('views.hookPage.edit') }}
199- </el-button >
200- <el-popconfirm
201- :title =" $t('views.hookPage.delpop')"
202- @confirm =" changeStatus(scope.row, 'delete')"
203- >
192+ <div class =" table-btn-box" >
204193 <el-button
205- slot =" reference"
206- size =" small"
207- style =" margin-left : 6px ; color : #f56262 "
208194 type =" text"
209- >{{ $t('views.hookPage.del') }}</el-button
195+ size =" small"
196+ style =" color : #4a72ae "
197+ @click =" editRow(scope.row)"
210198 >
211- </el-popconfirm >
199+ {{ $t('views.hookPage.edit') }}
200+ </el-button >
201+ <span class =" l" > | </span >
202+ <el-popconfirm
203+ :title =" $t('views.hookPage.delpop')"
204+ @confirm =" changeStatus(scope.row, 'delete')"
205+ >
206+ <el-button
207+ slot =" reference"
208+ size =" small"
209+ style =" color : #f56262 "
210+ type =" text"
211+ >{{ $t('views.hookPage.del') }}</el-button
212+ >
213+ </el-popconfirm >
214+ </div >
212215 </template >
213216 </el-table-column >
214217 </el-table >
@@ -916,4 +919,23 @@ export default class HookTable extends VueBase {
916919 }
917920 }
918921}
922+ .table-btn-box {
923+ display : flex ;
924+ justify-content : center ;
925+ align-items : center ;
926+ position : relative ;
927+ .el-button {
928+ box-sizing : border-box ;
929+ font-size : 14px ;
930+ }
931+ .l {
932+ color : #38435a ;
933+ line-height : 14px ;
934+ padding : 4px 4px 8px 4px ;
935+ display : inline-block ;
936+ }
937+ .el-button + .el-button {
938+ margin-left : 0 ;
939+ }
940+ }
919941 </style >
Original file line number Diff line number Diff line change 181181 prop =" address"
182182 :label =" $t('views.hookPage.address')"
183183 align =" center"
184- width =" 100 "
184+ width =" 200 "
185185 :fixed =" tableData.length ? 'right' : false"
186186 >
187187 <template slot-scope="scope">
188- <el-button
189- type =" text"
190- size =" small"
191- style =" color : #4a72ae "
192- @click =" editRow(scope.row)"
193- >
194- {{ $t('views.hookPage.edit') }}
195- </el-button >
196- <el-popconfirm
197- :title =" $t('views.hookPage.delpop')"
198- @confirm =" changeStatus(scope.row, 'delete')"
199- >
188+ <div class =" table-btn-box" >
200189 <el-button
201- slot =" reference"
202- style =" margin-left : 6px ; color : #f56262 "
203- size =" small"
204190 type =" text"
205- >{{ $t('views.hookPage.del') }}</el-button
191+ size =" small"
192+ style =" color : #4a72ae "
193+ @click =" editRow(scope.row)"
206194 >
207- </el-popconfirm >
195+ {{ $t('views.hookPage.edit') }}
196+ </el-button >
197+ <span class =" l" > | </span >
198+ <el-popconfirm
199+ :title =" $t('views.hookPage.delpop')"
200+ @confirm =" changeStatus(scope.row, 'delete')"
201+ >
202+ <el-button
203+ slot =" reference"
204+ style =" color : #f56262 "
205+ size =" small"
206+ type =" text"
207+ >{{ $t('views.hookPage.del') }}</el-button
208+ >
209+ </el-popconfirm >
210+ </div >
208211 </template >
209212 </el-table-column >
210213 </el-table >
@@ -963,4 +966,23 @@ export default class HookTable extends VueBase {
963966 }
964967 }
965968}
969+ .table-btn-box {
970+ display : flex ;
971+ justify-content : center ;
972+ align-items : center ;
973+ position : relative ;
974+ .el-button {
975+ box-sizing : border-box ;
976+ font-size : 14px ;
977+ }
978+ .l {
979+ color : #38435a ;
980+ line-height : 14px ;
981+ padding : 4px 4px 8px 4px ;
982+ display : inline-block ;
983+ }
984+ .el-button + .el-button {
985+ margin-left : 0 ;
986+ }
987+ }
966988 </style >
Original file line number Diff line number Diff line change 119119 prop =" address"
120120 :label =" $t('views.scaManage.address')"
121121 align =" center"
122- width =" 100 "
122+ width =" 200 "
123123 :fixed =" tableData.length ? 'right' : false"
124124 >
125125 <template slot-scope="scope">
Original file line number Diff line number Diff line change 5656 <el-table-column
5757 :label =" $t('views.templateManage.settings')"
5858 align =" center"
59+ width =" 200px"
5960 >
6061 <template slot-scope="{ row }">
6162 <div class =" table-btn-box" >
You can’t perform that action at this time.
0 commit comments