|
@@ -119,7 +119,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="备注" align="center" prop="remarks" :show-overflow-tooltip="true"/>
|
|
|
- <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
|
|
|
+ <el-table-column label="操作" align="center" fixed="right" width="180" class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
size="mini"
|
|
@@ -129,6 +129,22 @@
|
|
|
v-hasPermi="['production:region:edit']"
|
|
|
>下载
|
|
|
</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-edit"
|
|
|
+ @click="handleUpdate(scope.row)"
|
|
|
+ v-hasPermi="['production:inspection:edit']"
|
|
|
+ >修改
|
|
|
+ </el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-delete"
|
|
|
+ @click="handleDelete(scope.row)"
|
|
|
+ v-hasPermi="['production:inspection:remove']"
|
|
|
+ >删除
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -534,6 +550,8 @@ export default {
|
|
|
const id = row.id || this.ids
|
|
|
getRegion(id).then(response => {
|
|
|
this.form = response.data;
|
|
|
+ if (this.form.staffId != null)
|
|
|
+ this.form.staffId = this.form.staffId.split(",");
|
|
|
this.open = true;
|
|
|
this.title = "修改区域列台账";
|
|
|
});
|