Commit a3904d69 authored by tanjunxin's avatar tanjunxin

fix: 隐藏生产报工新增修改删除按钮

parent 0d38140f
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8">
<el-col :span="1.5"> <!-- <el-col :span="1.5">
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd" <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
v-hasPermi="['mes:pro:feedback:add']">{{ $t('common.add') }}</el-button> v-hasPermi="['mes:pro:feedback:add']">{{ $t('common.add') }}</el-button>
</el-col> </el-col>
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<el-col :span="1.5"> <el-col :span="1.5">
<el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete" <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
v-hasPermi="['mes:pro:feedback:remove']">{{ $t('common.del') }}</el-button> v-hasPermi="['mes:pro:feedback:remove']">{{ $t('common.del') }}</el-button>
</el-col> </el-col> -->
<el-col :span="1.5"> <el-col :span="1.5">
<el-button type="warning" plain icon="el-icon-printer" size="mini" :disabled="single" @click="handleQrcode" <el-button type="warning" plain icon="el-icon-printer" size="mini" :disabled="single" @click="handleQrcode"
v-hasPermi="['mes:pro:feedback:edit']">{{$t('打印二维码')}}</el-button> v-hasPermi="['mes:pro:feedback:edit']">{{$t('打印二维码')}}</el-button>
...@@ -87,10 +87,10 @@ ...@@ -87,10 +87,10 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-query" @click="handleView(scope.row)" <el-button size="mini" type="text" icon="el-icon-query" @click="handleView(scope.row)"
v-hasPermi="['mes:pro:feedback:query']">{{$t('查看')}}</el-button> v-hasPermi="['mes:pro:feedback:query']">{{$t('查看')}}</el-button>
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" <!-- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
v-hasPermi="['mes:pro:feedback:edit']">{{ $t('common.edit') }}</el-button> v-hasPermi="['mes:pro:feedback:edit']">{{ $t('common.edit') }}</el-button>
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
v-hasPermi="['mes:pro:feedback:remove']">{{ $t('common.del') }}</el-button> v-hasPermi="['mes:pro:feedback:remove']">{{ $t('common.del') }}</el-button> -->
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -546,7 +546,7 @@ export default { ...@@ -546,7 +546,7 @@ export default {
return return
} }
this.selectRow.forEach((s, i) => { this.selectRow.forEach((s, i) => {
listNextProcess({ taskId: s.taskId }).then(workunit => { listNextProcess({ taskId: s.taskId }).then(workunit => {
workunitName = workunit.data.workunitName; workunitName = workunit.data.workunitName;
detail.push({ detail.push({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment