rev:界面优化
This commit is contained in:
@@ -12,13 +12,13 @@
|
||||
<!--表格渲染-->
|
||||
<el-table ref="table" v-loading="crud.loading" :data="crud.data" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
|
||||
<el-table-column :selectable="checkboxT" type="selection" width="55" />
|
||||
<el-table-column show-overflow-tooltip prop="name" :label="$t('Auto.table.name')" />
|
||||
<el-table-column :show-overflow-tooltip="false" prop="code" :label="$t('Auto.table.code')" width="200" />
|
||||
<el-table-column show-overflow-tooltip prop="status" :label="$t('Auto.table.status')" />
|
||||
<el-table-column show-overflow-tooltip prop="thread_name" :label="$t('Auto.table.thread_name')" />
|
||||
<el-table-column show-overflow-tooltip prop="thread_state" :label="$t('Auto.table.thread_state')" />
|
||||
<el-table-column show-overflow-tooltip prop="usedStatus" :label="$t('Auto.table.usedStatus')" />
|
||||
<el-table-column show-overflow-tooltip prop="stopMessage" width="90px" :label="$t('Auto.table.stopMessage')" />
|
||||
<el-table-column show-overflow-tooltip prop="name" :label="$t('Auto.table.name')" :min-width="flexWidth('name',crud.data,$t('Auto.table.name'))"/>
|
||||
<el-table-column :show-overflow-tooltip="false" prop="code" :label="$t('Auto.table.code')" :min-width="flexWidth('code',crud.data,$t('Auto.table.code'))" />
|
||||
<el-table-column show-overflow-tooltip prop="status" :label="$t('Auto.table.status')" :min-width="flexWidth('status',crud.data,$t('Auto.table.status'))" />
|
||||
<el-table-column show-overflow-tooltip prop="thread_name" :label="$t('Auto.table.thread_name')" :min-width="flexWidth('thread_name',crud.data,$t('Auto.table.thread_name'))"/>
|
||||
<el-table-column show-overflow-tooltip prop="thread_state" :label="$t('Auto.table.thread_state')" :min-width="flexWidth('thread_state',crud.data,$t('Auto.table.thread_state'))" />
|
||||
<el-table-column show-overflow-tooltip prop="usedStatus" :label="$t('Auto.table.usedStatus')" :min-width="flexWidth('usedStatus',crud.data,$t('Auto.table.usedStatus'))" />
|
||||
<el-table-column show-overflow-tooltip prop="stopMessage" :label="$t('Auto.table.stopMessage')" :min-width="flexWidth('stopMessage',crud.data,$t('Auto.table.stopMessage'))" />
|
||||
<el-table-column v-permission="['admin','timing:edit','timing:del']" :label="$t('Auto.table.operate')" width="170px" align="center" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<el-button v-permission="['admin','timing:edit']" style="margin-left: -2px" type="text" size="mini" @click="start(scope.row.code)">{{ $t('common.firing') }}</el-button>
|
||||
|
||||
Reference in New Issue
Block a user