RXSWIN按钮权限
This commit is contained in:
@@ -75,32 +75,37 @@
|
||||
</a-row>
|
||||
</a-form>
|
||||
<div class="table-operator">
|
||||
<div class="operator-text" @click="handleAdd" v-has="'dict:add'">
|
||||
<!-- 新增-->
|
||||
<div class="operator-text" @click="handleAdd" v-has="'rxswin:add'">
|
||||
<a-icon type="plus"/>
|
||||
{{$t('newlyAdded')}}
|
||||
</div>
|
||||
<div @click="handleModule" v-has="'projectRelatedPersonnel:exportTemplate'" class="operator-text">
|
||||
<!-- 模板下载-->
|
||||
<div @click="handleModule" v-has="'rxswin:templatedownload'" class="operator-text">
|
||||
<a-icon type="download"/>
|
||||
{{$t('templateDownload')}}
|
||||
</div>
|
||||
<div @click="handleExport" v-has="'projectRelatedPersonnel:exportXls'" class="operator-text">
|
||||
<!-- 导出-->
|
||||
<div @click="handleExport" v-has="'rxswin:export'" class="operator-text">
|
||||
<a-icon type="export" :rotate="-90"/>
|
||||
{{$t('export')}}
|
||||
</div>
|
||||
<!-- 导入-->
|
||||
<div class="operator-text"
|
||||
v-has="'projectRelatedPersonnel:importExcel'">
|
||||
<ImportFile :url="url" :projectId="$route.query.id" :isTrue="true" :accept="'.xls'"
|
||||
v-has="'rxswin:Import'">
|
||||
<ImportFile :url="url" :accept="'.xls'"
|
||||
@getList="getPersonnelList"/>
|
||||
</div>
|
||||
<!-- 批量删除-->
|
||||
<div class="operator-text"
|
||||
@click="batDeleteClick"
|
||||
v-has="'projectRelatedPersonnel:setting'">
|
||||
v-has="'rxswin:batchdelete'">
|
||||
<a-icon type="delete"/>
|
||||
{{$t('BatchDelete')}}
|
||||
</div>
|
||||
<!-- 调取-->
|
||||
<div @click="transferClick"
|
||||
v-has="'dummyInventoryInfo:copyInfoByIds'"
|
||||
v-has="'rxswin:fetch'"
|
||||
class="operator-text">
|
||||
<a-icon type="profile"/>
|
||||
{{$t('Transfer')}}
|
||||
@@ -121,10 +126,10 @@
|
||||
:loading="loading"
|
||||
>
|
||||
<span slot="operation" slot-scope="record">
|
||||
<a class="text" v-has="'projectRelatedPersonnel:edit'" @click="edit(record)">
|
||||
<a class="text" v-has="'rxswin:edit'" @click="edit(record)">
|
||||
{{$t('edit')}}
|
||||
</a>
|
||||
<a class="text" v-has="'projectRelatedPersonnel:edit'" @click="del(record)">
|
||||
<a class="text" v-has="'rxswin:delete'" @click="del(record)">
|
||||
{{$t('delete')}}
|
||||
</a>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user