Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -63,35 +63,42 @@
|
|||||||
</a-form>
|
</a-form>
|
||||||
</div>
|
</div>
|
||||||
<div class="table-operator">
|
<div class="table-operator">
|
||||||
|
<!-- // 认证工程师 homo-->
|
||||||
|
<!-- // 工程接口人 sdt-->
|
||||||
|
<!-- // 填写人 dre-->
|
||||||
|
<!-- // R&H Studio studio-->
|
||||||
|
<!-- // R&H Manager manager-->
|
||||||
|
<!-- // 系统管理员 admin-->
|
||||||
|
<!-- // 游客 guest-->
|
||||||
<a-popconfirm overlayClassName='popconfirm' placement="bottomRight">
|
<a-popconfirm overlayClassName='popconfirm' placement="bottomRight">
|
||||||
<template slot="title" id="popconfirm">
|
<template slot="title" id="popconfirm">
|
||||||
<!-- 退回-->
|
<!-- 退回-->
|
||||||
<div @click="returnDataJurisdiction" class="operator-text-title">
|
<div @click="returnDataJurisdiction" class="operator-text-title" v-if='currentPersonRole == "sdt" || currentPersonRole == "homo"'>
|
||||||
<a-icon type="delete"/>
|
<a-icon type="delete"/>
|
||||||
{{$t('sendBack')}}
|
{{$t('sendBack')}}
|
||||||
</div>
|
</div>
|
||||||
<!-- 下发收集 -->
|
<!-- 下发收集 -->
|
||||||
<div @click="distributionAndCollectionJurisdiction" class="operator-text-title">
|
<div @click="distributionAndCollectionJurisdiction" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
||||||
<a-icon type="solution"/>
|
<a-icon type="solution"/>
|
||||||
{{$t('distributionAndCollection')}}
|
{{$t('distributionAndCollection')}}
|
||||||
</div>
|
</div>
|
||||||
<!-- 冻结配置-->
|
<!-- 冻结配置-->
|
||||||
<div @click="freezeConfiguration" class="operator-text-title">
|
<div @click="freezeConfiguration" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
||||||
<a-icon type="solution"/>
|
<a-icon type="solution"/>
|
||||||
{{$t('FreezeConfiguration')}}
|
{{$t('FreezeConfiguration')}}
|
||||||
</div>
|
</div>
|
||||||
<!-- 同步上报库 -->
|
<!-- 同步上报库 -->
|
||||||
<div @click="handleSynchronousReportLibraryJurisdiction" class="operator-text-title">
|
<div @click="handleSynchronousReportLibraryJurisdiction" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
||||||
<a-icon type="setting"/>
|
<a-icon type="setting"/>
|
||||||
{{$t('SynchronousReportLibrary')}}
|
{{$t('SynchronousReportLibrary')}}
|
||||||
</div>
|
</div>
|
||||||
<!-- 强制撤回-->
|
<!-- 强制撤回-->
|
||||||
<div @click="compulsoryWithdrawaljurisdiction" class="operator-text-title">
|
<div @click="compulsoryWithdrawaljurisdiction" class="operator-text-title" v-if='currentPersonRole == "homo" || currentPersonRole == "sdt" ||currentPersonRole == "dre"'>
|
||||||
<a-icon type="delete"/>
|
<a-icon type="delete"/>
|
||||||
{{$t('CompulsoryWithdrawal')}}
|
{{$t('CompulsoryWithdrawal')}}
|
||||||
</div>
|
</div>
|
||||||
<!-- 分配填写人-->
|
<!-- 分配填写人-->
|
||||||
<div @click="assignedBy" class="operator-text-title">
|
<div @click="assignedBy" class="operator-text-title" v-if='currentPersonRole == "sdt" '>
|
||||||
<a-icon type="copy"/>
|
<a-icon type="copy"/>
|
||||||
{{$t('Assignedby')}}
|
{{$t('Assignedby')}}
|
||||||
</div>
|
</div>
|
||||||
@@ -111,7 +118,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-popconfirm>
|
</a-popconfirm>
|
||||||
<!-- 添加-->
|
<!-- 添加-->
|
||||||
<div @click="handleAdd" class="operator-text">
|
<div @click="handleAdd" class="operator-text" v-if='currentPersonRole == "homo"'>
|
||||||
<a-icon type="plus"/>
|
<a-icon type="plus"/>
|
||||||
{{$t('addTo')}}
|
{{$t('addTo')}}
|
||||||
</div>
|
</div>
|
||||||
@@ -121,7 +128,7 @@
|
|||||||
{{$t('submit')}}
|
{{$t('submit')}}
|
||||||
</div>
|
</div>
|
||||||
<!-- 批量删除-->
|
<!-- 批量删除-->
|
||||||
<div @click="handleDelJurisdiction" class="operator-text">
|
<div @click="handleDelJurisdiction" class="operator-text" v-if='currentPersonRole == "homo"'>
|
||||||
<a-icon type="delete"/>
|
<a-icon type="delete"/>
|
||||||
{{$t('BatchDelete')}}
|
{{$t('BatchDelete')}}
|
||||||
</div>
|
</div>
|
||||||
@@ -260,6 +267,13 @@ export default {
|
|||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return{
|
return{
|
||||||
|
// 认证工程师 homo
|
||||||
|
// 工程接口人 sdt
|
||||||
|
// 填写人 dre
|
||||||
|
// R&H Studio studio
|
||||||
|
// R&H Manager manager
|
||||||
|
// 系统管理员 admin
|
||||||
|
// 游客 guest
|
||||||
columns:[
|
columns:[
|
||||||
{
|
{
|
||||||
title: this.$t('title'),
|
title: this.$t('title'),
|
||||||
@@ -343,6 +357,7 @@ export default {
|
|||||||
areaVisibleTaskCutOffTime: false, // 截至时间弹框
|
areaVisibleTaskCutOffTime: false, // 截至时间弹框
|
||||||
areaVisiblereferenceparameter: false, // 引用参数弹框
|
areaVisiblereferenceparameter: false, // 引用参数弹框
|
||||||
areaVisibsynchronous: false, // 同步上报库弹框
|
areaVisibsynchronous: false, // 同步上报库弹框
|
||||||
|
currentPersonRole: '', // 当前人角色
|
||||||
wrapperCol: {
|
wrapperCol: {
|
||||||
xs: { span: 24 },
|
xs: { span: 24 },
|
||||||
sm: { span: 14 }
|
sm: { span: 14 }
|
||||||
|
|||||||
Reference in New Issue
Block a user