rev: 前端代码修改

This commit is contained in:
2023-04-13 15:16:47 +08:00
parent be46302f3d
commit c8c4eeea36
2 changed files with 7 additions and 7 deletions

View File

@@ -122,7 +122,7 @@
<!--如果想在工具栏加入更多按钮可以使用插槽方式 slot = 'left' or 'right'-->
<crudOperation :permission="permission">
<template slot="right">
<el-button
<!-- <el-button
slot="right"
class="filter-item"
type="info"
@@ -132,7 +132,7 @@
@click="sync()"
>
仓位同步
</el-button>
</el-button>-->
<el-button
slot="right"
class="filter-item"
@@ -264,7 +264,7 @@
{{ dict.label.sch_lock_type[scope.row.lock_type] }}
</template>
</el-table-column>
<el-table-column prop="vehicle_code" label="载具编码" />
<el-table-column prop="vehicle_code" label="载具编码" min-width="150" show-overflow-tooltip/>
<el-table-column prop="device_name" label="所属设备" min-width="110" show-overflow-tooltip />
<el-table-column prop="device_point_type" label="设备点位类型" width="120px">
<template slot-scope="scope">

View File

@@ -135,7 +135,7 @@
@selection-change="crud.selectionChangeHandler"
>
<el-table-column type="selection" width="55" />
<el-table-column prop="task_code" label="任务编码" />
<el-table-column prop="task_code" label="任务编码" min-width="120" show-overflow-tooltip/>
<el-table-column prop="task_type" label="任务类型" width="100">
<template slot-scope="scope">
{{ dict.label.sch_task_type[scope.row.task_type] }}
@@ -168,13 +168,13 @@
{{ dict.label.sch_acs_task_type[scope.row.acs_task_type] }}
</template>
</el-table-column>
<el-table-column v-permission="[]" label="操作" width="250px" align="center" fixed="right">
<el-table-column v-permission="[]" label="操作" align="center" fixed="right">
<template slot-scope="scope">
<el-button type="text" icon="el-icon-success" @click="handleCommand(scope.row, 'a')">完成</el-button>
<el-button type="text" icon="el-icon-success" @click="handleCommand(scope.row, 'b')">取消</el-button>
<!-- <el-button type="text" icon="el-icon-success" @click="handleCommand(scope.row, 'b')">取消</el-button>
<el-button type="text" icon="el-icon-success" @click="handleCommand(scope.row, 'c')">拉回</el-button>
<el-button type="text" icon="el-icon-success" @click="handleCommand(scope.row, 'd')">重发</el-button>
<el-button type="text" icon="el-icon-success" @click="handleCommand(scope.row, 'e')">详情</el-button>
<el-button type="text" icon="el-icon-success" @click="handleCommand(scope.row, 'e')">详情</el-button>-->
</template>
</el-table-column>
</el-table>