Changes
This commit is contained in:
@@ -107,6 +107,17 @@
|
||||
<!-- v-hasPermi="['queue:srgv:export']"-->
|
||||
<!-- >导出</el-button>-->
|
||||
<!-- </el-col>-->
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="danger"
|
||||
plain
|
||||
icon="el-icon-delete"
|
||||
size="mini"
|
||||
:disabled="multiple"
|
||||
@click="handleDelete()"
|
||||
v-hasPermi="['queue:srgv:remove']"
|
||||
>删除队列</el-button>
|
||||
</el-col>
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
||||
@@ -167,6 +178,17 @@
|
||||
<!-- >删除</el-button>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="100">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['queue:srgv:remove']"
|
||||
>删除队列</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
<pagination
|
||||
@@ -355,7 +377,7 @@ export default {
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
const guids = row.guid || this.ids
|
||||
const guids = row && row.guid ? row.guid : this.ids
|
||||
this.$modal.confirm('是否确认删除四向小车任务队列编号为"' + guids + '"的数据项?').then(function() {
|
||||
return delSrgv(guids)
|
||||
}).then(() => {
|
||||
|
||||
Reference in New Issue
Block a user