修改菜单权限

This commit is contained in:
高嵩
2023-09-23 11:38:34 +08:00
parent 66dfaddd78
commit 5edcef950a
9 changed files with 876 additions and 867 deletions
@@ -116,6 +116,7 @@
<!-- <a class="text-operation" @click="viewProcessClick(record)">{{$t('viewProcess')}}</a>--> <!-- <a class="text-operation" @click="viewProcessClick(record)">{{$t('viewProcess')}}</a>-->
<!-- v-if="record.gatherResult == 'Completed'"--> <!-- v-if="record.gatherResult == 'Completed'"-->
<a class="text-operation" <a class="text-operation"
v-has="'regulatoryComments:evaluationResult'"
@click="evaluationResultsClick(record)">{{$t('evaluationResults')}}</a> @click="evaluationResultsClick(record)">{{$t('evaluationResults')}}</a>
<a class="text-operation" <a class="text-operation"
v-if="(record.gatherResult == 'Completed' && userInfoQuery.username == record.createBy) || administrators" v-if="(record.gatherResult == 'Completed' && userInfoQuery.username == record.createBy) || administrators"
@@ -14,7 +14,7 @@
</a-button> </a-button>
</template> </template>
<div class="table-operator-right"> <div class="table-operator-right">
<div @click="newlyAddedClick" class="operator-text"> <div @click="newlyAddedClick" v-has="'monthlyTitleTemplate:add'" class="operator-text">
<a-icon type="plus"/> <a-icon type="plus"/>
{{$t('newlyAdded')}} {{$t('newlyAdded')}}
</div> </div>
@@ -32,8 +32,8 @@
<span slot="operation" slot-scope="text,record,index"> <span slot="operation" slot-scope="text,record,index">
<a class="text-operation" @click="moveUpClick(record,index)">{{$t('moveUp')}}</a> <a class="text-operation" @click="moveUpClick(record,index)">{{$t('moveUp')}}</a>
<a class="text-operation" @click="moveDownClick(record,index)">{{$t('moveDown')}}</a> <a class="text-operation" @click="moveDownClick(record,index)">{{$t('moveDown')}}</a>
<a class="text-operation" @click="edit(record)">{{$t('edit')}}</a> <a class="text-operation" v-has="'monthlyTitleTemplate:edit'" @click="edit(record)">{{$t('edit')}}</a>
<a class="text-operation" @click="deleteLib(record)">{{$t('deleteLib')}}</a> <a class="text-operation" v-has="'monthlyTitleTemplate:delete'" @click="deleteLib(record)">{{$t('deleteLib')}}</a>
</span> </span>
</a-table> </a-table>
<div class="page" v-if="dataSource.length > 0"> <div class="page" v-if="dataSource.length > 0">
@@ -117,6 +117,7 @@
<!-- <a class="text-operation" @click="viewProcessClick(record)">{{$t('viewProcess')}}</a>--> <!-- <a class="text-operation" @click="viewProcessClick(record)">{{$t('viewProcess')}}</a>-->
<!-- v-if="record.flowStatus == 'Completed'"--> <!-- v-if="record.flowStatus == 'Completed'"-->
<a class="text-operation" <a class="text-operation"
v-has="'regulatoryAndTechnicalAssessment:evaluationResult'"
@click="evaluationResultsClick(record)">{{$t('evaluationResults')}}</a> @click="evaluationResultsClick(record)">{{$t('evaluationResults')}}</a>
<a class="text-operation" <a class="text-operation"
v-if="(record.flowStatus == 'Completed' && userInfoQuery.username == record.createBy) || administrators" v-if="(record.flowStatus == 'Completed' && userInfoQuery.username == record.createBy) || administrators"
@@ -17,8 +17,8 @@
</div> </div>
<div class="doc-detail-right"> <div class="doc-detail-right">
<div @click="UpdateLog" v-has="'bussLog:page'" class="operator-text-text" :title="$t('UpdateLog')"> <div @click="UpdateLog" v-has="'bussLog:page'" class="operator-text-text" :title="$t('UpdateLog')">
<a-icon type="reload"/> <a-icon type="reload" />
{{$t('UpdateLog')}} {{ $t('UpdateLog') }}
</div> </div>
<!-- <div @click="DocumentSplitting" v-has="'bussLog:splitting'" class="operator-text-text"--> <!-- <div @click="DocumentSplitting" v-has="'bussLog:splitting'" class="operator-text-text"-->
<!-- :title="$t('DocumentSplitting')">--> <!-- :title="$t('DocumentSplitting')">-->
@@ -37,21 +37,21 @@
<!-- </div>--> <!-- </div>-->
<div @click="KnowledgeDatabaseClick" v-has="'bussLog:database'" class="operator-text-text" <div @click="KnowledgeDatabaseClick" v-has="'bussLog:database'" class="operator-text-text"
:title="$t('problemKnowledgeBase')"> :title="$t('problemKnowledgeBase')">
<a-icon type="folder"/> <a-icon type="folder" />
{{$t('problemKnowledgeBase')}} {{ $t('problemKnowledgeBase') }}
</div> </div>
<div @click="CollectionClick({'collectFlag':collectFlag,'id':documentId})" <div @click="CollectionClick({'collectFlag':collectFlag,'id':documentId})"
v-has="'document:addCollect'" class="operator-text-text" v-has="'bussLog:collect'" class="operator-text-text"
:title="$t('Collection')"> :title="$t('Collection')">
<a-icon class="icon" type="star"/> <a-icon class="icon" type="star" />
{{collectFlag == '1'?$t('CancelCollection'):$t('Collection')}} {{ collectFlag == '1' ? $t('CancelCollection') : $t('Collection') }}
</div> </div>
<div @click="shareClick" v-has="'document:pullMessage'" class="operator-text-text" <div @click="shareClick" v-has="'bussLog:share'" class="operator-text-text"
:title="$t('share')"> :title="$t('share')">
<a-icon type="share-alt"/> <a-icon type="share-alt" />
{{$t('share')}} {{ $t('share') }}
</div> </div>
</div> </div>
</div> </div>
@@ -60,24 +60,25 @@
<div v-for="(item,index) in detailList" class="content-box"> <div v-for="(item,index) in detailList" class="content-box">
<div v-for="val in Object.keys(item)" class="content"> <div v-for="val in Object.keys(item)" class="content">
<div class="header-text fixedPosition"> <div class="header-text fixedPosition">
{{val}} {{ val }}
</div> </div>
<div class="content-text" v-if="val == $t('essentialInformation')"> <div class="content-text" v-if="val == $t('essentialInformation')">
<div class="text-field" <div class="text-field"
:class="{'text-content-button-one':ol.field_show_type == 8 ? true :false, :class="{'text-content-button-one':ol.field_show_type == 8 ? true :false,
'text-content-button-Two':index1 == 1 || index1 == 9? true:false}" 'text-content-button-Two':index1 == 1 || index1 == 9? true:false}"
v-for="(ol,index1) in item[val]"> v-for="(ol,index1) in item[val]">
<span v-if="ol.field_show_type == 10" class="text-field-left-Index" :title="ol.db_field_txt">{{ol.db_field_txt}}</span> <span v-if="ol.field_show_type == 10" class="text-field-left-Index"
<span v-else class="text-field-left" :title="ol.db_field_txt">{{ol.db_field_txt}}</span> :title="ol.db_field_txt">{{ ol.db_field_txt }}</span>
<span v-else class="text-field-left" :title="ol.db_field_txt">{{ ol.db_field_txt }}</span>
<span class="text-field-right text-field-right-text" v-if="index1 == 9" <span class="text-field-right text-field-right-text" v-if="index1 == 9"
:title="ol.value">{{ol.value ? ol.value : '--'}}</span> :title="ol.value">{{ ol.value ? ol.value : '--' }}</span>
<span class="text-field-right text-field-right-color" v-else-if="ol.urlClick" @click="urlClick(ol)" <span class="text-field-right text-field-right-color" v-else-if="ol.urlClick" @click="urlClick(ol)"
:title="ol.value">{{ol.value ? ol.value : '--'}}</span> :title="ol.value">{{ ol.value ? ol.value : '--' }}</span>
<span class="text-field-right" v-else-if="ol.field_show_type == 7"> <span class="text-field-right" v-else-if="ol.field_show_type == 7">
<a-button type="primary" class="button-text" <a-button type="primary" class="button-text"
v-if="ol.value && ol.value.length > 0" v-if="ol.value && ol.value.length > 0"
@click="clickButtonToUpload(ol.value)"> @click="clickButtonToUpload(ol.value)">
{{$t('viewUploadedFiles')}} {{ $t('viewUploadedFiles') }}
</a-button> </a-button>
<span v-else>--</span> <span v-else>--</span>
</span> </span>
@@ -88,18 +89,18 @@
@click="relatedClick(valItem)" @click="relatedClick(valItem)"
v-if="ol.list && ol.list.length > 0" v-if="ol.list && ol.list.length > 0"
v-for="valItem in ol.list"> v-for="valItem in ol.list">
{{valItem.title}} {{ valItem.title }}
</span> </span>
<span v-else>--</span> <span v-else>--</span>
</span> </span>
<span class="text-field-right" v-else :title="ol.value">{{ol.value ? ol.value : '--'}}</span> <span class="text-field-right" v-else :title="ol.value">{{ ol.value ? ol.value : '--' }}</span>
</div> </div>
</div> </div>
<div class="TextInformation" v-else-if="val == $t('textInformation')"> <div class="TextInformation" v-else-if="val == $t('textInformation')">
<div class="TextInformation-box" v-for="(ol,index1) in item[val]"> <div class="TextInformation-box" v-for="(ol,index1) in item[val]">
<div class="TextInformation-box-title fixedPosition"> <div class="TextInformation-box-title fixedPosition">
{{ol.db_field_txt}} {{ ol.db_field_txt }}
</div> </div>
<div class="TextInformation-box-box"> <div class="TextInformation-box-box">
<div class="TextInformation-box-box-text" <div class="TextInformation-box-box-text"
@@ -107,16 +108,18 @@
v-for="valItem in ol.value"> v-for="valItem in ol.value">
<span @click="pdfPreview(valItem)" <span @click="pdfPreview(valItem)"
:title="valItem.fileName" :title="valItem.fileName"
class="leftconteTdInformation">{{valItem.fileName}}</span> class="leftconteTdInformation">{{ valItem.fileName }}</span>
<a-icon class="leftconteTdInformation-icon" <a-icon class="leftconteTdInformation-icon"
@click="download(valItem)" @click="download(valItem)"
:title="$t('download')" :title="$t('download')"
type="vertical-align-bottom"/> v-has="'bussLog:downLoad'"
type="vertical-align-bottom" />
<a-icon class="leftconteTdInformation-icon" <a-icon class="leftconteTdInformation-icon"
@click="breakdown(valItem)" @click="breakdown(valItem)"
v-if="valItem.splitFlag == 1" v-if="valItem.splitFlag == 1"
v-has="'bussLog:standardBreakdownSheet'"
:title="$t('StandardBreakdown')" :title="$t('StandardBreakdown')"
type="profile"/> type="profile" />
</div> </div>
</div> </div>
</div> </div>
@@ -125,15 +128,16 @@
<div class="content-text" v-else> <div class="content-text" v-else>
<div class="text-field" :class="{'text-content-button-one':ol.field_show_type == 8 ? true :false}" <div class="text-field" :class="{'text-content-button-one':ol.field_show_type == 8 ? true :false}"
v-for="(ol,index1) in item[val]"> v-for="(ol,index1) in item[val]">
<span v-if="ol.field_show_type == 10" class="text-field-left-Index" :title="ol.db_field_txt">{{ol.db_field_txt}}</span> <span v-if="ol.field_show_type == 10" class="text-field-left-Index"
<span class="text-field-left" v-else :title="ol.db_field_txt">{{ol.db_field_txt}}</span> :title="ol.db_field_txt">{{ ol.db_field_txt }}</span>
<span class="text-field-left" v-else :title="ol.db_field_txt">{{ ol.db_field_txt }}</span>
<span class="text-field-right text-field-right-color" v-if="ol.urlClick" @click="urlClick(ol)" <span class="text-field-right text-field-right-color" v-if="ol.urlClick" @click="urlClick(ol)"
:title="ol.value">{{ol.value ? ol.value : '--'}}</span> :title="ol.value">{{ ol.value ? ol.value : '--' }}</span>
<span class="text-field-right" v-else-if="ol.field_show_type == 7"> <span class="text-field-right" v-else-if="ol.field_show_type == 7">
<a-button type="primary" class="button-text" <a-button type="primary" class="button-text"
v-if="ol.value && ol.value.length > 0" v-if="ol.value && ol.value.length > 0"
@click="clickButtonToUpload(ol.value)"> @click="clickButtonToUpload(ol.value)">
{{$t('viewUploadedFiles')}} {{ $t('viewUploadedFiles') }}
</a-button> </a-button>
<span v-else>--</span> <span v-else>--</span>
</span> </span>
@@ -144,19 +148,19 @@
:title="valItem.title" :title="valItem.title"
v-if="ol.list && ol.list.length > 0" v-if="ol.list && ol.list.length > 0"
v-for="valItem in ol.list"> v-for="valItem in ol.list">
{{valItem.title}} {{ valItem.title }}
</span> </span>
<span v-else>--</span> <span v-else>--</span>
</span> </span>
<span class="text-field-right" v-else :title="ol.value">{{ol.value ? ol.value : '--'}}</span> <span class="text-field-right" v-else :title="ol.value">{{ ol.value ? ol.value : '--' }}</span>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class='content-box'> <div class="content-box">
<div class="content"> <div class="content">
<div class="header-text fixedPosition"> <div class="header-text fixedPosition">
{{$t('DetailsPhasedImplementation')}} {{ $t('DetailsPhasedImplementation') }}
</div> </div>
<a-table <a-table
:pagination="false" :pagination="false"
@@ -248,7 +252,7 @@
> >
<span slot="operation" slot-scope="text,record"> <span slot="operation" slot-scope="text,record">
<a class="text" :title="text" @click="detailClick(record)"> <a class="text" :title="text" @click="detailClick(record)">
{{text && text.length > 18?text.slice(0,17)+'...':text}} {{ text && text.length > 18 ? text.slice(0, 17) + '...' : text }}
</a> </a>
</span> </span>
</a-table> </a-table>
@@ -262,7 +266,7 @@
> >
<template slot="footer"> <template slot="footer">
<a-button key="back" @click="visibleFile = false"> <a-button key="back" @click="visibleFile = false">
{{$t('cancel')}} {{ $t('cancel') }}
</a-button> </a-button>
</template> </template>
<a-table <a-table
@@ -278,18 +282,18 @@
:disabled="record.fileSuffix == '.pdf' || record.fileSuffix == '.docx' || record.fileSuffix == '.doc' :disabled="record.fileSuffix == '.pdf' || record.fileSuffix == '.docx' || record.fileSuffix == '.doc'
|| record.fileSuffix == '.jpg' || record.fileSuffix == '.png' || record.fileSuffix == '.gif'|| record.fileSuffix == '.jpeg' || record.fileSuffix == '.jpg' || record.fileSuffix == '.png' || record.fileSuffix == '.gif'|| record.fileSuffix == '.jpeg'
|| record.fileSuffix == '.xlsx' || record.fileSuffix == '.xls' ? false : true"> || record.fileSuffix == '.xlsx' || record.fileSuffix == '.xls' ? false : true">
{{$t('See')}} {{ $t('See') }}
</a> </a>
<a class="text" @click="download(record)"> <a class="text" @click="download(record)">
{{$t('download')}} {{ $t('download') }}
</a> </a>
<a class="text" @click="breakdown(record)" v-if="record.splitFlag == 1"> <a class="text" @click="breakdown(record)" v-if="record.splitFlag == 1">
{{$t('StandardBreakdown')}} {{ $t('StandardBreakdown') }}
</a> </a>
</span> </span>
</a-table> </a-table>
</a-modal> </a-modal>
<JLoading :loading="loading">{{$t('dataLoading')}}</JLoading> <JLoading :loading="loading">{{ $t('dataLoading') }}</JLoading>
<uploadFile ref="uploadFile" :isUploadFile="true" :disabled="true"></uploadFile> <uploadFile ref="uploadFile" :isUploadFile="true" :disabled="true"></uploadFile>
<libraryPush <libraryPush
:url="url" :url="url"
@@ -298,15 +302,15 @@
</div> </div>
</template> </template>
<script> <script>
import { getAction, postAction, downFile, downloadFile } from '@/api/manage' import { getAction, postAction, downFile, downloadFile } from '@/api/manage'
import { Base64 } from 'js-base64' import { Base64 } from 'js-base64'
import uploadFile from '@/components/uploadFile/file' import uploadFile from '@/components/uploadFile/file'
import libraryPush from '@/components/libraryPush/index' import libraryPush from '@/components/libraryPush/index'
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header' import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
import eventBUs from '../../../../common/event' import eventBUs from '../../../../common/event'
export default { export default {
name: 'docIndex', name: 'docIndex',
components: { components: {
uploadFile, uploadFile,
@@ -747,35 +751,35 @@
}) })
} }
} }
} }
</script> </script>
<style> <style>
.highlight-class { .highlight-class {
color: #00B3BE; color: #00B3BE;
} }
.uploadFile .ant-upload { .uploadFile .ant-upload {
display: none !important; display: none !important;
} }
.tooltipColor .ant-tooltip-inner { .tooltipColor .ant-tooltip-inner {
color: #333; color: #333;
background-color: #fff !important; background-color: #fff !important;
} }
.tooltipColor .ant-tooltip-arrow::before { .tooltipColor .ant-tooltip-arrow::before {
background-color: #fff; background-color: #fff;
} }
</style> </style>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@assets/less/common.less'; @import '~@assets/less/common.less';
body { body {
height: auto; height: auto;
transition: all .5s linear !important; transition: all .5s linear !important;
} }
.doc-detail { .doc-detail {
background: #fff; background: #fff;
height: 100%; height: 100%;
@@ -931,24 +935,24 @@
} }
} }
} }
} }
/*.detail-box {*/ /*.detail-box {*/
/* padding: 0 0 0 170px;*/ /* padding: 0 0 0 170px;*/
/* box-sizing: border-box;*/ /* box-sizing: border-box;*/
/*}*/ /*}*/
.detail-box { .detail-box {
padding: 0 110px 0 110px; padding: 0 110px 0 110px;
box-sizing: border-box; box-sizing: border-box;
} }
.page { .page {
text-align: right; text-align: right;
margin-top: 20px; margin-top: 20px;
} }
.operator-text-text { .operator-text-text {
cursor: pointer; cursor: pointer;
margin-right: 16px; margin-right: 16px;
font-size: 14px; font-size: 14px;
@@ -965,29 +969,29 @@
border-radius: 4px; border-radius: 4px;
line-height: 40px; line-height: 40px;
padding: 0 5px; padding: 0 5px;
} }
.content-box:last-child { .content-box:last-child {
margin-bottom: 20px; margin-bottom: 20px;
} }
.tableInformation { .tableInformation {
width: 100%; width: 100%;
height: auto; height: auto;
} }
.trInformation { .trInformation {
height: 56px; height: 56px;
} }
.tdInformation { .tdInformation {
border: 1px #eff1f3 solid; border: 1px #eff1f3 solid;
text-align: center; text-align: center;
} }
.LeftTdInformation { .LeftTdInformation {
width: 268px; width: 268px;
background: #f7f7f8; background: #f7f7f8;
color: #040B29; color: #040B29;
@@ -996,15 +1000,15 @@
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
} }
.conteTdInformation { .conteTdInformation {
color: #01A0AC; color: #01A0AC;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
} }
.leftconteTdInformation { .leftconteTdInformation {
max-width: calc(100% - 30px); max-width: calc(100% - 30px);
display: inline-block; display: inline-block;
text-overflow: ellipsis; text-overflow: ellipsis;
@@ -1014,16 +1018,16 @@
color: #01A0AC; color: #01A0AC;
cursor: pointer; cursor: pointer;
font-size: 14px; font-size: 14px;
} }
.leftconteTdInformation-icon { .leftconteTdInformation-icon {
color: #01A0AC; color: #01A0AC;
cursor: pointer; cursor: pointer;
margin-right: 6px; margin-right: 6px;
font-size: 14px; font-size: 14px;
} }
.rightTdInformation { .rightTdInformation {
width: 120px; width: 120px;
cursor: pointer; cursor: pointer;
color: #00B3BE; color: #00B3BE;
@@ -1035,17 +1039,17 @@
display: inline-block; display: inline-block;
position: absolute; position: absolute;
right: 30px; right: 30px;
} }
.Standard-breakdown { .Standard-breakdown {
display: inline-block; display: inline-block;
position: absolute; position: absolute;
right: 153px; right: 153px;
margin-top: 1px; margin-top: 1px;
cursor: pointer; cursor: pointer;
} }
.TextInformationContentcontentButton { .TextInformationContentcontentButton {
width: calc(100% - 268px); width: calc(100% - 268px);
text-align: center; text-align: center;
color: #01A0AC; color: #01A0AC;
@@ -1054,9 +1058,9 @@
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
} }
.TextInformationContentcontent { .TextInformationContentcontent {
width: calc(100% - 268px); width: calc(100% - 268px);
text-align: center; text-align: center;
color: #040B29; color: #040B29;
@@ -1065,39 +1069,39 @@
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
} }
.text-field-right-color { .text-field-right-color {
color: #00B3BE !important; color: #00B3BE !important;
cursor: pointer; cursor: pointer;
} }
/deep/ .ant-table-placeholder { /deep/ .ant-table-placeholder {
margin-top: 0px !important; margin-top: 0px !important;
} }
.text { .text {
margin-right: 10px margin-right: 10px
} }
.TextInformation { .TextInformation {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
} }
.TextInformation-box { .TextInformation-box {
width: calc(33.3% - 10px); width: calc(33.3% - 10px);
height: auto; height: auto;
display: inline-block; display: inline-block;
overflow: hidden; overflow: hidden;
margin-right: 15px; margin-right: 15px;
} }
.TextInformation-box:nth-child(3n) { .TextInformation-box:nth-child(3n) {
margin-right: 0; margin-right: 0;
} }
.TextInformation-box-title { .TextInformation-box-title {
background: #f3f6f6; background: #f3f6f6;
border-radius: 4px; border-radius: 4px;
width: 100%; width: 100%;
@@ -1108,33 +1112,33 @@
color: #040B29; color: #040B29;
font-weight: 500; font-weight: 500;
font-size: 14px; font-size: 14px;
} }
.TextInformation-box-box { .TextInformation-box-box {
width: 100%; width: 100%;
height: auto; height: auto;
padding: 10px 16px 10px 16px; padding: 10px 16px 10px 16px;
overflow: hidden; overflow: hidden;
} }
.TextInformation-box-box-text { .TextInformation-box-box-text {
width: 100%; width: 100%;
margin-right: 20px; margin-right: 20px;
height: 36px; height: 36px;
float: left; float: left;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.detail-content-right { .detail-content-right {
width: 212px; width: 212px;
position: fixed; position: fixed;
top: 120px; top: 120px;
right: 0; right: 0;
padding: 0 32px 0 0; padding: 0 32px 0 0;
} }
.detail-content-right-text { .detail-content-right-text {
color: #040B29; color: #040B29;
font-size: 14px; font-size: 14px;
/*font-weight: bolder;*/ /*font-weight: bolder;*/
@@ -1147,18 +1151,18 @@
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
} }
.detail-content-right-text-one { .detail-content-right-text-one {
padding: 0 0 0 20px; padding: 0 0 0 20px;
} }
.detail-content-right-text-color { .detail-content-right-text-color {
color: #01A0AC; color: #01A0AC;
border-left: 2px #01A0AC solid; border-left: 2px #01A0AC solid;
} }
.text-field-left-Index { .text-field-left-Index {
width: 114px; width: 114px;
display: inline-block; display: inline-block;
font-size: 14px; font-size: 14px;
@@ -1169,17 +1173,17 @@
overflow: hidden; overflow: hidden;
margin-right: 6px; margin-right: 6px;
float: left; float: left;
} }
.text-field-right-Index { .text-field-right-Index {
width: calc(100% - 130px); width: calc(100% - 130px);
display: inline-block; display: inline-block;
font-size: 14px; font-size: 14px;
word-break: break-word; word-break: break-word;
float: left; float: left;
} }
.text-field-right-color-text { .text-field-right-color-text {
width: calc(50% - 20px); width: calc(50% - 20px);
margin-right: 20px; margin-right: 20px;
font-size: 14px; font-size: 14px;
@@ -1190,15 +1194,15 @@
cursor: pointer; cursor: pointer;
/*font-weight: bold;*/ /*font-weight: bold;*/
color: #01A0AC; color: #01A0AC;
} }
::v-deep .ant-table-column-title { ::v-deep .ant-table-column-title {
font-weight: 400 !important; font-weight: 400 !important;
color: #040B29 !important; color: #040B29 !important;
} }
::v-deep .ant-table-column-title { ::v-deep .ant-table-column-title {
font-weight: 400 !important; font-weight: 400 !important;
color: #040B29 !important; color: #040B29 !important;
} }
</style> </style>
@@ -43,8 +43,7 @@
@click="cancleImports">{{$t('cancel')}} @click="cancleImports">{{$t('cancel')}}
</a-button> </a-button>
<a-button class="imports-btn imports-sub" type="primary" @click="handleSubmit" <a-button class="imports-btn imports-sub" type="primary" @click="handleSubmit"
:loading="loading" :loading="loading">{{$t('submit')}}
v-has="'split:sarFileSplitItems:importSplitResult'">{{$t('submit')}}
</a-button> </a-button>
</div> </div>
</div> </div>
@@ -68,8 +68,7 @@
<a-button class="split-btn" @click="cancelSplit" <a-button class="split-btn" @click="cancelSplit"
style='margin-right: 15px'>{{$t('cancel')}} style='margin-right: 15px'>{{$t('cancel')}}
</a-button> </a-button>
<a-button class="split-btn split-chai" type="primary" :loading="loading" @click="submitSplit" <a-button class="split-btn split-chai" type="primary" :loading="loading" @click="submitSplit">{{$t('submit')}}
v-has="'split:sarFileSplitInfo:add'">{{$t('submit')}}
</a-button> </a-button>
</div> </div>
</div> </div>
@@ -144,18 +144,23 @@
<!-- <a class="text-operation" @click="viewProcessClick(record)">{{$t('viewProcess')}}</a>--> <!-- <a class="text-operation" @click="viewProcessClick(record)">{{$t('viewProcess')}}</a>-->
<!-- v-if="record.flowStatus == 'Completed'"--> <!-- v-if="record.flowStatus == 'Completed'"-->
<a class="text-operation" <a class="text-operation"
v-has="'otasj:view'"
@click="detailclick(record)">{{$t('See')}}</a> @click="detailclick(record)">{{$t('See')}}</a>
<a class="text-operation" <a class="text-operation"
v-has="'otasj:maintenance'"
@click="maintenanceClick(record)">{{$t('maintenance')}}</a> @click="maintenanceClick(record)">{{$t('maintenance')}}</a>
<a class="text-operation" <a class="text-operation"
v-has="'otasj:endUpgrade'"
@click="endUpgrade(record , '0')" v-if="record.sjzt == '0' && record.bazt=='4'">{{$t('endUpgrade')}}</a> @click="endUpgrade(record , '0')" v-if="record.sjzt == '0' && record.bazt=='4'">{{$t('endUpgrade')}}</a>
<a class="text-operation" <a class="text-operation"
v-has="'otasj:upgradecompletion'"
@click="endUpgrade(record , '1')" v-if="record.sjzt == '1'">{{$t('upgradecompletion')}}</a> @click="endUpgrade(record , '1')" v-if="record.sjzt == '1'">{{$t('upgradecompletion')}}</a>
<a class="text-operation" <a class="text-operation"
v-has="'otasj:export'"
@click="handleExport(record)">{{$t('export')}}</a> @click="handleExport(record)">{{$t('export')}}</a>
<a class="text-operation" <a class="text-operation"
v-has="'regulatoryAndTechnicalAssessment:delete'" v-has="'otasj:delete'"
@click="deleteData(record)">{{$t('delete')}}</a> @click="deleteData(record)">{{$t('delete')}}</a>
</span> </span>
</a-table> </a-table>
@@ -119,10 +119,10 @@
<span slot="operation" slot-scope="text,record"> <span slot="operation" slot-scope="text,record">
<!-- <a class="text-operation" @click="viewProcessClick(record)">{{$t('viewProcess')}}</a>--> <!-- <a class="text-operation" @click="viewProcessClick(record)">{{$t('viewProcess')}}</a>-->
<!-- v-if="record.flowStatus == 'Completed'"--> <!-- v-if="record.flowStatus == 'Completed'"-->
<a class="text-operation" @click="detailclick(record)">{{ $t('See') }}</a> <a class="text-operation" v-has="'otacx:view'" @click="detailclick(record)">{{ $t('See') }}</a>
<a class="text-operation" @click="maintenanceClick(record)">{{ $t('maintenance') }}</a> <a class="text-operation" v-has="'otacx:maintenance'" @click="maintenanceClick(record)">{{ $t('maintenance') }}</a>
<a class="text-operation" @click="handleExport(record)">{{ $t('export') }}</a> <a class="text-operation" v-has="'otacx:export'" @click="handleExport(record)">{{ $t('export') }}</a>
<a class="text-operation" v-has="'regulatoryAndTechnicalAssessment:delete'" <a class="text-operation" v-has="'otacx:delete'"
@click="deleteData(record)">{{ $t('delete') }}</a> @click="deleteData(record)">{{ $t('delete') }}</a>
</span> </span>
</a-table> </a-table>
@@ -71,7 +71,7 @@
<div class="box-top" style="position: relative"> <div class="box-top" style="position: relative">
<!-- <span class="box-top-text">{{ $t('regulatoryCertificationTaskPlan') }}</span>--> <!-- <span class="box-top-text">{{ $t('regulatoryCertificationTaskPlan') }}</span>-->
<!-- <span class="box-top-text fullScreenView" @click="TaskPlanListClick">{{ $t('fullScreenView') }}</span>--> <!-- <span class="box-top-text fullScreenView" @click="TaskPlanListClick">{{ $t('fullScreenView') }}</span>-->
<span style="float: right" @click="handleExport" class="box-top-text-right"> <span style="float: right" @click="handleExport" v-has="'board:export'" class="box-top-text-right">
<a-icon type="export" :rotate="-90"/> <a-icon type="export" :rotate="-90"/>
{{ $t('export') }} {{ $t('export') }}
</span> </span>