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