Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
jinhui.wang
2022-07-25 10:48:57 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7bceb174dfa1ea35c4f7b817dd4f1099d2aed477
7bceb174
1 parent
efc124e3
权限增加,删除验证
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
15 deletions
src/views/basicInformation/flightInformationMaintenance/index.vue
src/views/systemConfig/dictionaryConfig/index.vue
src/views/basicInformation/flightInformationMaintenance/index.vue
View file @
7bceb17
...
...
@@ -314,17 +314,17 @@ export default {
trigger: "blur",
},
],
route: [
{
required: true,
message: "航班线路不能为空",
trigger: "blur",
},
{
pattern: /^(([\~A-Z]{3,4})(\-[A-Z]{3,4})+)(;{1,1}(([\~A-Z]{3,4})(\-[A-Z]{3,4})+)){0,}$/,
message: "请输入正确得航班线路"
}
]
//
route: [
//
{
//
required: true,
//
message: "航班线路不能为空",
//
trigger: "blur",
//
},
//
{
//
pattern: /^(([\~A-Z]{3,4})(\-[A-Z]{3,4})+)(;{1,1}(([\~A-Z]{3,4})(\-[A-Z]{3,4})+)){0,}$/,
//
message: "请输入正确得航班线路"
//
}
//
]
},
//原航班规则数据
findAllFltDatList: [],
...
...
src/views/systemConfig/dictionaryConfig/index.vue
View file @
7bceb17
...
...
@@ -79,7 +79,7 @@
@click="upDate({ status: 'update', data: scope.row })">修改
</el-button> -->
<el-button size="mini" type="text" style="color:#ff4949" icon="el-icon-delete"
@click="delDict(scope.row)">删除
@click="delDict(scope.row)"
v-hasPermi="['system:dictionary:delete']"
>删除
</el-button>
</template>
</el-table-column>
...
...
@@ -104,7 +104,7 @@
@click="upDate({ status: 'update', data: props.row })">修改
</el-button> -->
<el-button size="mini" type="text" style="color:#ff4949" icon="el-icon-delete"
@click="delDict(scope.row)">
@click="delDict(scope.row)"
v-hasPermi="['system:dictionary:delete']"
>
删除
</el-button>
</template>
...
...
@@ -118,13 +118,15 @@
<template slot-scope="scope">
<el-button class="mr5" v-if="scope.row.serviceCodeMapperList" size="mini" type="text"
icon="el-icon-plus"
@click="addDic({ status: 'childrenAdd', data: scope.row.chineseName })">新增子集
@click="addDic({ status: 'childrenAdd', data: scope.row.chineseName })"
v-hasPermi="['system:dictionary:add']">新增子集
</el-button>
<!-- <el-button class="mr5" size="mini" type="text" icon="el-icon-edit"
@click="upDate({ status: 'update', data: scope.row })">修改
</el-button> -->
<el-button v-if="!scope.row.serviceCodeMapperList" size="mini" type="text"
style="color:#ff4949" icon="el-icon-delete" @click="delDict(scope.row)">删除
style="color:#ff4949" icon="el-icon-delete" @click="delDict(scope.row)"
v-hasPermi="['system:dictionary:delete']">删除
</el-button>
</template>
</el-table-column>
...
...
Please
register
or
login
to post a comment