Commit 6fd1f1f0 authored by 晓彤's avatar 晓彤

更新菜单

parent 195947f1
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<el-card> <el-card>
<!-- 顶部搜索栏 --> <!-- 顶部搜索栏 -->
<div class="top"> <div class="top">
<el-button type="primary" icon="el-icon-circle-plus-outline" @click="addPipeline">新增</el-button> <el-button type="primary" icon="el-icon-circle-plus-outline" @click="addPipeline" v-permission="('qa:process:add')">新增</el-button>
</div> </div>
<el-table :data="dingRobotList" border style="width: 100%"> <el-table :data="dingRobotList" border style="width: 100%">
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
<el-table-column prop="dingRobot.createTime" label="创建时间" width="180px"></el-table-column> <el-table-column prop="dingRobot.createTime" label="创建时间" width="180px"></el-table-column>
<el-table-column label="操作"> <el-table-column label="操作">
<slot slot-scope="scope"> <slot slot-scope="scope">
<el-button type="primary" size="small" @click="openEditDialog(scope.row)">编辑</el-button> <el-button type="primary" size="small" @click="openEditDialog(scope.row)" v-permission="('qa:process:edit')">编辑</el-button>
<el-button type="warning" size="small" @click="openSendSmokingDialog(scope.row)">冒烟测试</el-button> <el-button type="warning" size="small" @click="openSendSmokingDialog(scope.row)" v-permission="('qa:process:smoke')">冒烟测试</el-button>
<el-button type="success" size="small" @click="openSendDialog(scope.row)">发送进度</el-button> <el-button type="success" size="small" @click="openSendDialog(scope.row)" v-permission="('qa:process:schedule')">发送进度</el-button>
<el-button type="danger" size="small" @click="delProjectRobot(scope.row.dingRobot.id)">删除</el-button> <el-button type="danger" size="small" @click="delProjectRobot(scope.row.dingRobot.id)" v-permission="('qa:process:del')">删除</el-button>
</slot> </slot>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
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