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-18 17:32:50 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7e6fbf7016a916d59705ed349d68e19b15a596d9
7e6fbf70
1 parent
0e75ab24
按钮权限增加
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
src/views/allocationConfig/preReview/index.vue
src/views/systemConfig/dictionaryConfig/index.vue
src/views/allocationConfig/preReview/index.vue
View file @
7e6fbf7
...
...
@@ -23,15 +23,16 @@
<div class="mb20" ref="preReviewOptions" style="font-size: 12px; font-weight: 700">
<el-button type="primary" icon="el-icon-search" size="small" :loading="tableLoading" @click="preQuery(1)">搜 索
</el-button>
<el-button type="primary" icon="el-icon-plus" size="small" @click="dialogVisible = true">新增预审航班</el-button>
<el-button type="primary" icon="el-icon-plus" size="small" @click="dialogVisible = true"
v-hasPermi="['allocation:preReview:add']">新增预审航班</el-button>
<el-button type="primary" size="small" icon="el-icon-check" :disabled="selectData.length == 0"
@click="preOption(1)">
@click="preOption(1)"
v-hasPermi="['allocation:preReview:open']"
>
预审开启</el-button>
<el-button type="primary" size="small" icon="el-icon-close" :disabled="selectData.length == 0"
@click="preOption(0)">
@click="preOption(0)"
v-hasPermi="['allocation:preReview:close']"
>
预审关闭</el-button>
<el-button type="danger" icon="el-icon-delete" size="small" :disabled="selectData.length == 0"
@click="preOption(2)">删 除
@click="preOption(2)"
v-hasPermi="['allocation:preReview:delete']"
>删 除
</el-button>
</div>
<Tables ref="preFlight" ductName="preFlight" :selection="true" :selectFixed="false" :order='true'
...
...
src/views/systemConfig/dictionaryConfig/index.vue
View file @
7e6fbf7
...
...
@@ -34,14 +34,16 @@
<div style="margin-bottom:10px">
<el-button type="primary" icon="el-icon-search" size="small" :loading="loading"
v-if="tableName != 'serviceCode'" @click="tableSelect(1)">查询</el-button>
<el-button type="primary" icon="el-icon-plus" size="small" @click="addDic({ status: 'add' })">
<el-button type="primary" icon="el-icon-plus" size="small" @click="addDic({ status: 'add' })"
v-hasPermi="['system:dictionary:add']">
{{ tableName === 'serviceCode' ? '新增父级' : '新增' }}
</el-button>
<el-button type="primary" icon="el-icon-plus" size="small" @click="addDic({ status: 'allAdd' })">
<el-button type="primary" icon="el-icon-plus" size="small" @click="addDic({ status: 'allAdd' })"
v-hasPermi="['system:dictionary:add']">
{{ tableName === 'serviceCode' ? '批量新增父级' : '批量新增' }}
</el-button>
<el-button type="danger" icon="el-icon-delete" size="small" :disabled="nowSelect.length == 0"
@click="handleDelete">删除
@click="handleDelete"
v-hasPermi="['system:dictionary:delete']"
>删除
</el-button>
</div>
</el-form>
...
...
@@ -58,7 +60,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>
...
...
Please
register
or
login
to post a comment