Showing
2 changed files
with
17 additions
and
15 deletions
| ... | @@ -314,17 +314,17 @@ export default { | ... | @@ -314,17 +314,17 @@ export default { |
| 314 | trigger: "blur", | 314 | trigger: "blur", |
| 315 | }, | 315 | }, |
| 316 | ], | 316 | ], |
| 317 | - route: [ | 317 | + // route: [ |
| 318 | - { | 318 | + // { |
| 319 | - required: true, | 319 | + // required: true, |
| 320 | - message: "航班线路不能为空", | 320 | + // message: "航班线路不能为空", |
| 321 | - trigger: "blur", | 321 | + // trigger: "blur", |
| 322 | - }, | 322 | + // }, |
| 323 | - { | 323 | + // { |
| 324 | - pattern: /^(([\~A-Z]{3,4})(\-[A-Z]{3,4})+)(;{1,1}(([\~A-Z]{3,4})(\-[A-Z]{3,4})+)){0,}$/, | 324 | + // pattern: /^(([\~A-Z]{3,4})(\-[A-Z]{3,4})+)(;{1,1}(([\~A-Z]{3,4})(\-[A-Z]{3,4})+)){0,}$/, |
| 325 | - message: "请输入正确得航班线路" | 325 | + // message: "请输入正确得航班线路" |
| 326 | - } | 326 | + // } |
| 327 | - ] | 327 | + // ] |
| 328 | }, | 328 | }, |
| 329 | //原航班规则数据 | 329 | //原航班规则数据 |
| 330 | findAllFltDatList: [], | 330 | findAllFltDatList: [], | ... | ... |
| ... | @@ -79,7 +79,7 @@ | ... | @@ -79,7 +79,7 @@ |
| 79 | @click="upDate({ status: 'update', data: scope.row })">修改 | 79 | @click="upDate({ status: 'update', data: scope.row })">修改 |
| 80 | </el-button> --> | 80 | </el-button> --> |
| 81 | <el-button size="mini" type="text" style="color:#ff4949" icon="el-icon-delete" | 81 | <el-button size="mini" type="text" style="color:#ff4949" icon="el-icon-delete" |
| 82 | - @click="delDict(scope.row)">删除 | 82 | + @click="delDict(scope.row)" v-hasPermi="['system:dictionary:delete']">删除 |
| 83 | </el-button> | 83 | </el-button> |
| 84 | </template> | 84 | </template> |
| 85 | </el-table-column> | 85 | </el-table-column> |
| ... | @@ -104,7 +104,7 @@ | ... | @@ -104,7 +104,7 @@ |
| 104 | @click="upDate({ status: 'update', data: props.row })">修改 | 104 | @click="upDate({ status: 'update', data: props.row })">修改 |
| 105 | </el-button> --> | 105 | </el-button> --> |
| 106 | <el-button size="mini" type="text" style="color:#ff4949" icon="el-icon-delete" | 106 | <el-button size="mini" type="text" style="color:#ff4949" icon="el-icon-delete" |
| 107 | - @click="delDict(scope.row)"> | 107 | + @click="delDict(scope.row)" v-hasPermi="['system:dictionary:delete']"> |
| 108 | 删除 | 108 | 删除 |
| 109 | </el-button> | 109 | </el-button> |
| 110 | </template> | 110 | </template> |
| ... | @@ -118,13 +118,15 @@ | ... | @@ -118,13 +118,15 @@ |
| 118 | <template slot-scope="scope"> | 118 | <template slot-scope="scope"> |
| 119 | <el-button class="mr5" v-if="scope.row.serviceCodeMapperList" size="mini" type="text" | 119 | <el-button class="mr5" v-if="scope.row.serviceCodeMapperList" size="mini" type="text" |
| 120 | icon="el-icon-plus" | 120 | icon="el-icon-plus" |
| 121 | - @click="addDic({ status: 'childrenAdd', data: scope.row.chineseName })">新增子集 | 121 | + @click="addDic({ status: 'childrenAdd', data: scope.row.chineseName })" |
| 122 | + v-hasPermi="['system:dictionary:add']">新增子集 | ||
| 122 | </el-button> | 123 | </el-button> |
| 123 | <!-- <el-button class="mr5" size="mini" type="text" icon="el-icon-edit" | 124 | <!-- <el-button class="mr5" size="mini" type="text" icon="el-icon-edit" |
| 124 | @click="upDate({ status: 'update', data: scope.row })">修改 | 125 | @click="upDate({ status: 'update', data: scope.row })">修改 |
| 125 | </el-button> --> | 126 | </el-button> --> |
| 126 | <el-button v-if="!scope.row.serviceCodeMapperList" size="mini" type="text" | 127 | <el-button v-if="!scope.row.serviceCodeMapperList" size="mini" type="text" |
| 127 | - style="color:#ff4949" icon="el-icon-delete" @click="delDict(scope.row)">删除 | 128 | + style="color:#ff4949" icon="el-icon-delete" @click="delDict(scope.row)" |
| 129 | + v-hasPermi="['system:dictionary:delete']">删除 | ||
| 128 | </el-button> | 130 | </el-button> |
| 129 | </template> | 131 | </template> |
| 130 | </el-table-column> | 132 | </el-table-column> | ... | ... |
-
Please register or login to post a comment