Showing
2 changed files
with
11 additions
and
8 deletions
| ... | @@ -23,15 +23,16 @@ | ... | @@ -23,15 +23,16 @@ |
| 23 | <div class="mb20" ref="preReviewOptions" style="font-size: 12px; font-weight: 700"> | 23 | <div class="mb20" ref="preReviewOptions" style="font-size: 12px; font-weight: 700"> |
| 24 | <el-button type="primary" icon="el-icon-search" size="small" :loading="tableLoading" @click="preQuery(1)">搜 索 | 24 | <el-button type="primary" icon="el-icon-search" size="small" :loading="tableLoading" @click="preQuery(1)">搜 索 |
| 25 | </el-button> | 25 | </el-button> |
| 26 | - <el-button type="primary" icon="el-icon-plus" size="small" @click="dialogVisible = true">新增预审航班</el-button> | 26 | + <el-button type="primary" icon="el-icon-plus" size="small" @click="dialogVisible = true" |
| 27 | + v-hasPermi="['allocation:preReview:add']">新增预审航班</el-button> | ||
| 27 | <el-button type="primary" size="small" icon="el-icon-check" :disabled="selectData.length == 0" | 28 | <el-button type="primary" size="small" icon="el-icon-check" :disabled="selectData.length == 0" |
| 28 | - @click="preOption(1)"> | 29 | + @click="preOption(1)" v-hasPermi="['allocation:preReview:open']"> |
| 29 | 预审开启</el-button> | 30 | 预审开启</el-button> |
| 30 | <el-button type="primary" size="small" icon="el-icon-close" :disabled="selectData.length == 0" | 31 | <el-button type="primary" size="small" icon="el-icon-close" :disabled="selectData.length == 0" |
| 31 | - @click="preOption(0)"> | 32 | + @click="preOption(0)" v-hasPermi="['allocation:preReview:close']"> |
| 32 | 预审关闭</el-button> | 33 | 预审关闭</el-button> |
| 33 | <el-button type="danger" icon="el-icon-delete" size="small" :disabled="selectData.length == 0" | 34 | <el-button type="danger" icon="el-icon-delete" size="small" :disabled="selectData.length == 0" |
| 34 | - @click="preOption(2)">删 除 | 35 | + @click="preOption(2)" v-hasPermi="['allocation:preReview:delete']">删 除 |
| 35 | </el-button> | 36 | </el-button> |
| 36 | </div> | 37 | </div> |
| 37 | <Tables ref="preFlight" ductName="preFlight" :selection="true" :selectFixed="false" :order='true' | 38 | <Tables ref="preFlight" ductName="preFlight" :selection="true" :selectFixed="false" :order='true' | ... | ... |
| ... | @@ -34,14 +34,16 @@ | ... | @@ -34,14 +34,16 @@ |
| 34 | <div style="margin-bottom:10px"> | 34 | <div style="margin-bottom:10px"> |
| 35 | <el-button type="primary" icon="el-icon-search" size="small" :loading="loading" | 35 | <el-button type="primary" icon="el-icon-search" size="small" :loading="loading" |
| 36 | v-if="tableName != 'serviceCode'" @click="tableSelect(1)">查询</el-button> | 36 | v-if="tableName != 'serviceCode'" @click="tableSelect(1)">查询</el-button> |
| 37 | - <el-button type="primary" icon="el-icon-plus" size="small" @click="addDic({ status: 'add' })"> | 37 | + <el-button type="primary" icon="el-icon-plus" size="small" @click="addDic({ status: 'add' })" |
| 38 | + v-hasPermi="['system:dictionary:add']"> | ||
| 38 | {{ tableName === 'serviceCode' ? '新增父级' : '新增' }} | 39 | {{ tableName === 'serviceCode' ? '新增父级' : '新增' }} |
| 39 | </el-button> | 40 | </el-button> |
| 40 | - <el-button type="primary" icon="el-icon-plus" size="small" @click="addDic({ status: 'allAdd' })"> | 41 | + <el-button type="primary" icon="el-icon-plus" size="small" @click="addDic({ status: 'allAdd' })" |
| 42 | + v-hasPermi="['system:dictionary:add']"> | ||
| 41 | {{ tableName === 'serviceCode' ? '批量新增父级' : '批量新增' }} | 43 | {{ tableName === 'serviceCode' ? '批量新增父级' : '批量新增' }} |
| 42 | </el-button> | 44 | </el-button> |
| 43 | <el-button type="danger" icon="el-icon-delete" size="small" :disabled="nowSelect.length == 0" | 45 | <el-button type="danger" icon="el-icon-delete" size="small" :disabled="nowSelect.length == 0" |
| 44 | - @click="handleDelete">删除 | 46 | + @click="handleDelete" v-hasPermi="['system:dictionary:delete']">删除 |
| 45 | </el-button> | 47 | </el-button> |
| 46 | </div> | 48 | </div> |
| 47 | </el-form> | 49 | </el-form> |
| ... | @@ -58,7 +60,7 @@ | ... | @@ -58,7 +60,7 @@ |
| 58 | @click="upDate({ status: 'update', data: scope.row })">修改 | 60 | @click="upDate({ status: 'update', data: scope.row })">修改 |
| 59 | </el-button> --> | 61 | </el-button> --> |
| 60 | <el-button size="mini" type="text" style="color:#ff4949" icon="el-icon-delete" | 62 | <el-button size="mini" type="text" style="color:#ff4949" icon="el-icon-delete" |
| 61 | - @click="delDict(scope.row)">删除 | 63 | + @click="delDict(scope.row)" v-hasPermi="['system:dictionary:delete']">删除 |
| 62 | </el-button> | 64 | </el-button> |
| 63 | </template> | 65 | </template> |
| 64 | </el-table-column> | 66 | </el-table-column> | ... | ... |
-
Please register or login to post a comment