Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage

This commit is contained in:
wangzhijiang
2022-10-13 11:11:14 +08:00
11 changed files with 129 additions and 91 deletions
+65 -59
View File
@@ -193,8 +193,13 @@ module.exports = {
OperationLog: 'Operation Log', OperationLog: 'Operation Log',
SearchLog: 'Search Log', SearchLog: 'Search Log',
enterSearchKeyword: 'Please enter a search keyword', enterSearchKeyword: 'Please enter a search keyword',
enterSearchContent:'Please enter Search Content',
enterStandard:'Please enter Number',
entertitle:'Please enter Title',
OperationType: 'Operation Type', OperationType: 'Operation Type',
selectOperationType: 'Please select Operation type', selectOperationType: 'Please select Operation type',
selectProblemClassification:'Please select Classification',
selectMarket:'Please select Market',
RequestMethod: 'Request Method', RequestMethod: 'Request Method',
RequestParameters: 'Request Parameters', RequestParameters: 'Request Parameters',
logManagementPage: 'This is the log management page', logManagementPage: 'This is the log management page',
@@ -386,7 +391,7 @@ module.exports = {
DocumentComparison: 'Doc Comparison', DocumentComparison: 'Doc Comparison',
KnowledgeDatabase: 'Q&A Knowledge', KnowledgeDatabase: 'Q&A Knowledge',
StandardDetails: 'Standard Details', StandardDetails: 'Standard Details',
whole: 'Whole', whole: 'All',
DocumentLibrary: 'Document Library', DocumentLibrary: 'Document Library',
GeneralExportInformation: 'General export information', GeneralExportInformation: 'General export information',
CustomizeExportInformation: 'Customize export information', CustomizeExportInformation: 'Customize export information',
@@ -500,7 +505,7 @@ module.exports = {
ProcessName: 'Process Name', ProcessName: 'Process Name',
ProcessType: 'Process Type', ProcessType: 'Process Type',
AddProcess: 'Add Process', AddProcess: 'Add Process',
RelatedItems: 'Relevant Project', RelatedItems: 'Project',
Sponsor: 'Creator', Sponsor: 'Creator',
CurrentProcessor: 'Current Processor', CurrentProcessor: 'Current Processor',
LastProcessor: 'Last Processor', LastProcessor: 'Last Processor',
@@ -721,7 +726,7 @@ module.exports = {
directoryName: 'Catalogue Name', directoryName: 'Catalogue Name',
batch: 'Batch', batch: 'Batch',
uploadTime: 'Upload Time', uploadTime: 'Upload Time',
enclosure: 'Enclosure', enclosure: 'Attachments',
// 认证 // 认证
// 认证状态 // 认证状态
timeOperation: 'You have permission to operate this button.', timeOperation: 'You have permission to operate this button.',
@@ -916,7 +921,7 @@ module.exports = {
deliveryHistory: 'Delivery History', deliveryHistory: 'Delivery History',
projectDeliveryRequirements: 'Project delivery requirements', projectDeliveryRequirements: 'Project delivery requirements',
personLiableConfirm: 'PersonLiable Confirm', personLiableConfirm: 'PersonLiable Confirm',
complianceResults: 'Compliance Results', complianceResults: 'Feedback',
noData: 'No Data', noData: 'No Data',
confirmOperation: 'Confirm Operation', confirmOperation: 'Confirm Operation',
sponsorReview: 'Sponsor Review', sponsorReview: 'Sponsor Review',
@@ -983,25 +988,25 @@ module.exports = {
taskConfirmationResponsiblePerson: 'Task confirmation of responsible person', taskConfirmationResponsiblePerson: 'Task confirmation of responsible person',
or: 'or', or: 'or',
warningTime: 'Warning Time', warningTime: 'Warning Time',
RegulationMonthlyManagement: 'Regulation Monthly Management', RegulationMonthlyManagement: 'Manage Monthly Report',
RegulationMonthlyFill: 'Regulation Monthly Fill', RegulationMonthlyFill: 'Fill in Monthly Report',
RegulationMonthlyName: 'Regulation monthly name', RegulationMonthlyName: 'Report Name',
monthlyLanguage: 'Monthly Language', monthlyLanguage: 'Language',
releaseStatus: 'Release Status', releaseStatus: 'Release Status',
uploadedBy: 'Uploaded By', uploadedBy: 'Uploaded By',
uploadMonthly: 'Upload Monthly', uploadMonthly: 'Upload Report',
chapterContents: 'Chapter Contents', chapterContents: 'Chapter',
chineseTitle: 'Chinese Title', chineseTitle: 'Chinese Title',
englishTitle: 'English Title', englishTitle: 'English Title',
regulatoryContact: 'Regulatory Contact', regulatoryContact: 'Reg. Contact',
exportStatus: 'Export Status', exportStatus: 'Export Status',
monthlyTitleTemplate: 'Monthly Title Template', monthlyTitleTemplate: 'Title Template',
monthlyIntegrationAndExport: 'Monthly integration and export', monthlyIntegrationAndExport: 'Export Report',
addContent: 'Add Content', addContent: 'Add Content',
editContent: 'Edit Content', editContent: 'Edit Content',
viewContent: 'View Content', viewContent: 'View Content',
fillInTheMonth: 'Fill in the month', fillInTheMonth: 'Filled in (Month)',
monthSelection: 'Month Selection', monthSelection: 'Select Month',
bringInStandardInformation: 'Bring in standard Information', bringInStandardInformation: 'Bring in standard Information',
contentTemplate: 'Content Template', contentTemplate: 'Content Template',
moveUp: 'Move Up', moveUp: 'Move Up',
@@ -1009,32 +1014,32 @@ module.exports = {
vehicleType: 'Vehicle Type', vehicleType: 'Vehicle Type',
usage: 'Usage', usage: 'Usage',
implementationModel: 'Implementation Model', implementationModel: 'Implementation Model',
primaryCoverageCn: 'Primary Coverage (Cn)', primaryCoverageCn: 'Description (Cn)',
primaryCoverageEn: 'Primary Coverage (En)', primaryCoverageEn: 'Description (En)',
workProgressCn: 'NIO Work Progress (Cn)', workProgressCn: 'NIO Work Progress (Cn)',
workProgressEn: 'NIO Work Progress (En)', workProgressEn: 'NIO Work Progress (En)',
initiatingProcess: 'Initiating Process', initiatingProcess: 'Initiate Process',
collectResults: 'Collect Results', collectResults: 'Collect Results',
dateOfInitiation: 'Date Of Initiation', dateOfInitiation: 'Date Of Initiation',
closingDate: 'Closing Date', closingDate: 'Due Date',
viewProcess: 'View Process', viewProcess: 'View Process',
evaluationResults: 'Evaluation Results', evaluationResults: 'Evaluation Results',
Assessor: 'Assessor', Assessor: 'Assessor',
collectionOfRegulatoryOpinions: 'Collection Of Regulatory Opinions', collectionOfRegulatoryOpinions: 'Collection Of Regulatory Opinions',
collectionOfRegulatoryOpinionsProcess: 'Collection Of Regulatory Opinions Process', collectionOfRegulatoryOpinionsProcess: 'Collection Of Regulatory Opinions Process',
feedbackInformation: 'Feedback Information', feedbackInformation: 'Feedback',
relevantSections: 'Relevant Sections', relevantSections: 'Chapter',
questionsSuggestions: 'Questions Or Suggestions', questionsSuggestions: 'Questions/Suggestions',
reason: 'Reason', reason: 'Reason',
proposedTime: 'Proposed Time', proposedTime: 'Proposed Time',
feedbackPoint: 'Feedback Point', feedbackPoint: 'Feedback Point',
link: 'Link', link: 'Link',
planNoChinese: 'Plan No.', planNoChinese: 'Plan No.',
standardNameCn: 'Standard Name Cn', standardNameCn: 'Standard Title Cn',
standardNameEn: 'Standard Name En', standardNameEn: 'Standard Title En',
deadlineForComments: 'Deadline for comments', deadlineForComments: 'Deadline for Comments',
standardNo: 'Standard No', standardNo: 'Standard No',
implemenDate: 'Implementation Date', implemenDate: 'Effective Date',
// 上报库 // 上报库
Enable: 'Enable', Enable: 'Enable',
Latestupdatetime: 'Latest Update Time', Latestupdatetime: 'Latest Update Time',
@@ -1115,7 +1120,7 @@ module.exports = {
PreHomoNotification: 'Pre-Homo Notification', PreHomoNotification: 'Pre-Homo Notification',
ValidationComplianceNotification: 'Validation Compliance Notification', ValidationComplianceNotification: 'Validation Compliance Notification',
RegulationTaskConfirmationNotification: 'Regulation Task Confirmation Notification', RegulationTaskConfirmationNotification: 'Regulation Task Confirmation Notification',
evaluationMethod: 'Evaluation method', evaluationMethod: 'Check Method',
uploadRelevantMaterials: 'Upload relevant materials', uploadRelevantMaterials: 'Upload relevant materials',
processBackground: 'Process Background', processBackground: 'Process Background',
selectedStandard: 'Selected Standard', selectedStandard: 'Selected Standard',
@@ -1123,13 +1128,13 @@ module.exports = {
pleaseSelectStandardFirst: 'Please select a standard first', pleaseSelectStandardFirst: 'Please select a standard first',
RelevantMaterials: 'RelevantMaterials', RelevantMaterials: 'RelevantMaterials',
evaluatorFeedback: 'Evaluator Feedback', evaluatorFeedback: 'Evaluator Feedback',
nameTechnicalDocument: 'Name of technical document', nameTechnicalDocument: 'Technical Document',
chapter: 'Chapter', chapter: 'Chapter',
problemDescription: 'Problem Description', problemDescription: 'Problem Description',
filingExternalOpinions: 'Filing of external opinions', filingExternalOpinions: 'Filing of external opinions',
regulatoryTechnicalEvaluationResults: 'Regulatory technical evaluation results', regulatoryTechnicalEvaluationResults: 'Regulatory technical evaluation results',
initiateProcessForCurrentStandard: 'Initiate process for current standard', initiateProcessForCurrentStandard: 'Initiate process for current standard',
engineerFeedbackResults: 'Engineer feedback results', engineerFeedbackResults: 'Engineer Feedback',
fileExport: 'File Export', fileExport: 'File Export',
feedbackTime: 'Feedback Time', feedbackTime: 'Feedback Time',
regulatoryTechnologyAssessmentProcess: 'Regulatory technology assessment process', regulatoryTechnologyAssessmentProcess: 'Regulatory technology assessment process',
@@ -1147,29 +1152,30 @@ module.exports = {
releaseSituation: 'Release situation', releaseSituation: 'Release situation',
comparisonResults: 'Comparison results', comparisonResults: 'Comparison results',
Published: 'Published', Published: 'Published',
initiateComparison: 'Initiate comparison', initiateComparison: 'Initiate Comparison',
translationLanguage: 'Translation language', translationLanguage: 'Translation language',
translationResults: 'Translation results', translationResults: 'Translation results',
conversionTime: 'Conversion time', conversionTime: 'Conversion time',
category: 'Category', category: 'Category',
RegulatoryProcessEvaluationResults: 'Regulatory Process Evaluation Results', RegulatoryProcessEvaluationResults: 'Regulatory Process Evaluation Results',
ViewConformanceResults: 'View Conformance Results', ViewConformanceResults: 'View Conformance Results',
CommentsCollectionResultsForReference: 'Comments Collection Results For', CommentsCollectionResultsForReference: 'Opinion Collection Results',
TechnicalEvaluationResultsForReference: 'Technical Evaluation Results For', TechnicalEvaluationResultsForReference: 'Technical Assessment Results',
ComplianceConfirmationRecord: 'Compliance Confirmation Record', ComplianceConfirmationRecord: 'Compliance Confirmation Record',
complianceConfirmation: 'Compliance Confirmation', complianceConfirmation: 'Compliance Confirmation',
noComparisonDocumentSelected: 'No comparison document selected', noComparisonDocumentSelected: 'No comparison document selected',
RemarkInfo: 'Remarks Info', RemarkInfo: 'Remarks Info',
initiateDocumentComparison: 'Initiate Document Comparison', initiateDocumentComparison: 'Initiate Document Comparison',
comparativeComments: 'Comparative Comments', comparativeComments: 'Comparative Comments',
viewTheComparisonResults: 'View The Comparison Results', viewTheComparisonResults: 'View Results',
addFullTextComment: 'Add Full Text Comment', addFullTextComment: 'Full Text Comment',
turnOffAutomaticMatching: 'Turn Off Automatic Matching', turnOffAutomaticMatching: 'Turn Off Auto Match',
Deriveconformanceresults: 'Derive Conformance Results', Deriveconformanceresults: 'Export Results',
Regulatorycompliancekanban: 'Regulatory Compliance Kanban', Regulatorycompliancekanban: 'Regulatory Compliance Kanban',
exportComparisonReport: 'Export Comparison Report', exportComparisonReport: 'Export Comparison Report',
comparisonDifferenceComment: 'Comparison Difference Comment', comparisonDifferenceComment: 'Comparison Difference Comment',
fullTextComments: 'Full text comments', fullTextComments: 'Full Text Comment',
pleaseEnterfullTextComments:'Please enter Full Text Comment',
fileDeclaration: 'File Declaration', fileDeclaration: 'File Declaration',
FileForDetails: 'File For Details', FileForDetails: 'File For Details',
Converting: 'Converting', Converting: 'Converting',
@@ -1177,7 +1183,7 @@ module.exports = {
convertFailed: 'Convert Failed', convertFailed: 'Convert Failed',
standardData: 'Standard Data', standardData: 'Standard Data',
Theorganization: 'The Organization', Theorganization: 'The Organization',
Addingfolder: 'Adding a folder', Addingfolder: 'Create New Folder',
Addingsubfolders: 'Adding Subfolders', Addingsubfolders: 'Adding Subfolders',
Editfolder: 'Edit Folder', Editfolder: 'Edit Folder',
Deletefolders: 'Delete Folders', Deletefolders: 'Delete Folders',
@@ -1188,8 +1194,8 @@ module.exports = {
Openpersonnel: 'Open Personnel', Openpersonnel: 'Open Personnel',
originalText: 'Original Text', originalText: 'Original Text',
translatedText: 'Translated Text', translatedText: 'Translated Text',
Administrativeprivileges: 'Administrativ Pprivileges', Administrativeprivileges: 'Administrative Permissions',
Checkthepermissions: 'Check The Permissions', Checkthepermissions: 'Read Permissions',
onlyFilesUploaded: 'Only.Docx,.Doc files can be uploaded', onlyFilesUploaded: 'Only.Docx,.Doc files can be uploaded',
selectDirectorylocation: 'Please select the directory location to add the folder', selectDirectorylocation: 'Please select the directory location to add the folder',
Fileuploaded: 'File uploaded, please wait', Fileuploaded: 'File uploaded, please wait',
@@ -1199,10 +1205,10 @@ module.exports = {
Parametercollection: 'Parameter Collection', Parametercollection: 'Parameter Collection',
Collectlist: 'Colle Ctlist', Collectlist: 'Colle Ctlist',
Statisticalmodels: 'Statisti Calmodels', Statisticalmodels: 'Statisti Calmodels',
Inthecollection: 'In the collection', Inthecollection: 'During collection',
Notatthe: 'Not at the', Notatthe: 'Not started',
Thepercentage: 'The Percentage', Thepercentage: 'The Percentage',
problemKnowledgeBase: 'Problem Knowledge Base', problemKnowledgeBase: 'Q&A Knowledge',
recentHotSpots: 'Recent Hot Spots', recentHotSpots: 'Recent Hot Spots',
disseminationMaterials: 'Dissemination Materials', disseminationMaterials: 'Dissemination Materials',
informationSafety: 'Information Safety', informationSafety: 'Information Safety',
@@ -1211,10 +1217,10 @@ module.exports = {
productHighlights: 'Product Highlights', productHighlights: 'Product Highlights',
financialReimbursement: 'Financial Reimbursement', financialReimbursement: 'Financial Reimbursement',
classificationMaintenance: 'Classification Maintenance', classificationMaintenance: 'Classification Maintenance',
managePublishing: 'Manage Publishing', managePublishing: 'Release Management',
displayPermission: 'Display permission', displayPermission: 'Display Permission',
authorizedUser: 'Authorized user', authorizedUser: 'Authorized user',
problemClassification: 'Problem classification', problemClassification: 'Problem Classification',
market: 'Market', market: 'Market',
documentNumber: 'Document Number', documentNumber: 'Document Number',
documentTitle: 'Document Title', documentTitle: 'Document Title',
@@ -1225,23 +1231,23 @@ module.exports = {
dre: 'Dre', dre: 'Dre',
applicableInstructionsMarketList: 'Applicable instructions of market list', applicableInstructionsMarketList: 'Applicable instructions of market list',
pleaseSelectTheDataCompared: 'Please select the data to be compared', pleaseSelectTheDataCompared: 'Please select the data to be compared',
problemLabel: 'Problem label', problemLabel: 'Topic Tag',
personCharge: 'Person in charge', personCharge: 'Person in charge',
addLabel: 'Add Label', addLabel: 'Add Tag',
editLabel: 'Edit Label', editLabel: 'Edit Label',
applicableMarket: 'Applicable market', applicableMarket: 'Applicable Market',
templateMaintenance: 'Template maintenance', templateMaintenance: 'Template Maintenance',
associatedWebsite: 'Associated website', associatedWebsite: 'Associated website',
dropDownOptions: 'Drop down options', dropDownOptions: 'Drop down options',
dropDownOptionMaintenance: 'Drop down option maintenance', dropDownOptionMaintenance: 'Drop down option maintenance',
displayInformation: 'Display information', displayInformation: 'Display Information',
addComparison: 'Add comparison', addComparison: 'Add Comparison',
showOrNot: 'Show or not', showOrNot: 'Show or not',
comparisonMarket: 'Comparison Market', comparisonMarket: 'Comparison Market',
share: 'Share', share: 'Share',
simplifiedChinese:'Simplified Chinese', simplifiedChinese:'Simplified Chinese',
uploadOnly:'Upload only', uploadOnly:'Upload only',
turnOnAutoMatch:'Turn on auto match', turnOnAutoMatch:'Turn On Auto Match',
Adjustareasofresponsibility:'Adjust areas of responsibility', Adjustareasofresponsibility:'Adjust areas of responsibility',
regulatoryTechnicalAssessment:'Regulatory Technical Assessment', regulatoryTechnicalAssessment:'Regulatory Technical Assessment',
punctuationmark:'You can only enter English punctuation marks except the # sign and commas', punctuationmark:'You can only enter English punctuation marks except the # sign and commas',
@@ -1267,8 +1273,8 @@ module.exports = {
onlyTheDataWhoseStatusNotInitiatedAcceptedChanged:'Only the data whose list confirmation status is accepted and the task list status is not initiated or the task list status is accepted can be changed', onlyTheDataWhoseStatusNotInitiatedAcceptedChanged:'Only the data whose list confirmation status is accepted and the task list status is not initiated or the task list status is accepted can be changed',
thereTitleWhichCannotBeDeleted:'There are new contents under this title, which cannot be deleted', thereTitleWhichCannotBeDeleted:'There are new contents under this title, which cannot be deleted',
industryInformationDynamicTemplate:'Industry information dynamic template', industryInformationDynamicTemplate:'Industry information dynamic template',
relatedFields:'Related fields', relatedFields:'Relaevant Area',
relatedFieldsEn:'Related fields (English)', relatedFieldsEn:'Relaevant Area (English)',
source:'Source', source:'Source',
sourceEn:'Source (English)', sourceEn:'Source (English)',
onlyone:'Only one merge delimiter can be entered', onlyone:'Only one merge delimiter can be entered',
@@ -1308,9 +1314,9 @@ module.exports = {
inRecentYear2:'In recent 2 year', inRecentYear2:'In recent 2 year',
selectAll:'Select All', selectAll:'Select All',
importLocalDisassemblyOrder:'Import local disassembly order', importLocalDisassemblyOrder:'Import local disassembly order',
notExport:'Not export', notExport:'Not exported',
hasBeenExport:'Has been export', hasBeenExport:'Exported',
firstLevelDirectory:'First level directory', firstLevelDirectory:'Primary Directory',
deselectAll:'Deselect All', deselectAll:'Deselect All',
classification:'Classification', classification:'Classification',
consistentAssessment:'Consistent', consistentAssessment:'Consistent',
@@ -1319,6 +1325,6 @@ module.exports = {
viewAll:'View All', viewAll:'View All',
endProcess:'End Process', endProcess:'End Process',
thereForTheCurrentlySelectedData:'There is no standard breakdown for the currently selected data', thereForTheCurrentlySelectedData:'There is no standard breakdown for the currently selected data',
secondaryDirectory:'Secondary directory', secondaryDirectory:'Secondary Directory',
OnlyPersonsCanBeSelected:'The maximum upper limit is exceeded; Only 100 persons can be selected', OnlyPersonsCanBeSelected:'The maximum upper limit is exceeded; Only 100 persons can be selected',
} }
+6
View File
@@ -195,8 +195,13 @@ module.exports = {
OperationLog: '操作日志', OperationLog: '操作日志',
SearchLog: '搜索日志', SearchLog: '搜索日志',
enterSearchKeyword: '请输入搜索关键词', enterSearchKeyword: '请输入搜索关键词',
enterSearchContent:'请输入搜索内容',
enterStandard:'请输入编号',
enterTitle:'请输入标题',
OperationType: '操作类型', OperationType: '操作类型',
selectOperationType: '请选择操作类型', selectOperationType: '请选择操作类型',
selectProblemClassification:'请选择问题分类',
selectMarket:'请选择市场',
RequestMethod: '请求方法', RequestMethod: '请求方法',
RequestParameters: '请求参数', RequestParameters: '请求参数',
logManagementPage: '这是日志管理页面', logManagementPage: '这是日志管理页面',
@@ -1173,6 +1178,7 @@ module.exports = {
exportComparisonReport: '导出对比报告', exportComparisonReport: '导出对比报告',
comparisonDifferenceComment: '对比差异评论', comparisonDifferenceComment: '对比差异评论',
fullTextComments: '全文评论', fullTextComments: '全文评论',
pleaseEnterfullTextComments:'请输入全文评论',
fileDeclaration: '文件说明', fileDeclaration: '文件说明',
FileForDetails: '文件详情', FileForDetails: '文件详情',
Converting: '转换中', Converting: '转换中',
@@ -60,7 +60,7 @@
<span style="cursor: pointer" <span style="cursor: pointer"
@click="fileClick(resultData.fileNameRight,resultData.fileIdRight)">{{resultData.fileNameRight}}</span> @click="fileClick(resultData.fileNameRight,resultData.fileIdRight)">{{resultData.fileNameRight}}</span>
</div> </div>
<div class="detail-content-header-content-rightOne"> <div class="detail-content-header-content-rightOne" :title="$t('comparisonDifferenceComment')">
{{$t('comparisonDifferenceComment')}} {{$t('comparisonDifferenceComment')}}
</div> </div>
<div class="detail-content-header-content-right" v-if="!isDisplay"> <div class="detail-content-header-content-right" v-if="!isDisplay">
@@ -162,7 +162,7 @@
<span>{{$t('fullTextComments')}}</span> <span>{{$t('fullTextComments')}}</span>
</div> </div>
<a-form-model-item class="itemModel" style="width: calc(100% - 113px)" prop="comment"> <a-form-model-item class="itemModel" style="width: calc(100% - 113px)" prop="comment">
<a-textarea :placeholder="$t('pleaseEnter')+$t('fullTextComments')" <a-textarea :placeholder="$t('pleaseEnterfullTextComments')"
v-model.trim="formInlineText.comment" v-model.trim="formInlineText.comment"
:rows="4"/> :rows="4"/>
</a-form-model-item> </a-form-model-item>
@@ -494,6 +494,7 @@
.operator-text-text { .operator-text-text {
cursor: pointer; cursor: pointer;
margin-right: 53px; margin-right: 53px;
max-width: 138px;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #040B29; color: #040B29;
@@ -137,7 +137,7 @@
<span>{{$t('fullTextComments')}}</span> <span>{{$t('fullTextComments')}}</span>
</div> </div>
<a-form-model-item class="itemModel" style="width: calc(100% - 113px)" prop="comment"> <a-form-model-item class="itemModel" style="width: calc(100% - 113px)" prop="comment">
<a-textarea :placeholder="$t('pleaseEnter')+$t('fullTextComments')" <a-textarea :placeholder="$t('PleaseEnter')+' '+$t('fullTextComments')"
v-model.trim="formInlineText.comment" v-model.trim="formInlineText.comment"
:rows="4"/> :rows="4"/>
</a-form-model-item> </a-form-model-item>
@@ -8,7 +8,7 @@
<div class="title-text" :title="$t('standard')"> <div class="title-text" :title="$t('standard')">
<span>{{$t('standard')}}</span> <span>{{$t('standard')}}</span>
</div> </div>
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standard')" <a-input class="box-input" :placeholder="$t('enterStandard')"
v-model="queryParam.serialNumber"></a-input> v-model="queryParam.serialNumber"></a-input>
</div> </div>
</a-col> </a-col>
@@ -17,7 +17,7 @@
<div class="title-text" :title="$t('title')"> <div class="title-text" :title="$t('title')">
<span>{{$t('title')}}</span> <span>{{$t('title')}}</span>
</div> </div>
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('title')" <a-input class="box-input" :placeholder="$t('entertitle')"
v-model="queryParam.title"></a-input> v-model="queryParam.title"></a-input>
</div> </div>
</a-col> </a-col>
@@ -42,11 +42,11 @@
</a-form> </a-form>
</div> </div>
<div class="table-operator"> <div class="table-operator">
<div @click="initiatingProcessClick" class="operator-text"> <div @click="initiatingProcessClick" v-has="'documentComparison:Initiate'" class="operator-text">
<a-icon type="apartment"/> <a-icon type="apartment"/>
{{$t('initiateComparison')}} {{$t('initiateComparison')}}
</div> </div>
<div @click="BatchDelete" class="operator-text"> <div @click="BatchDelete" v-has="'documentComparison:batchDelete'" class="operator-text">
<a-icon type="delete"/> <a-icon type="delete"/>
{{$t('BatchDelete')}} {{$t('BatchDelete')}}
</div> </div>
@@ -67,15 +67,15 @@
<span slot="operation" slot-scope="text,record"> <span slot="operation" slot-scope="text,record">
<a class="text-operation" @click="comparisonResultsClick(record)">{{$t('comparisonResults')}}</a> <a class="text-operation" @click="comparisonResultsClick(record)">{{$t('comparisonResults')}}</a>
<a class="text-operation" <a class="text-operation"
v-if="record.createBy == userInfoQuery.username" v-if="record.createBy == userInfoQuery.username || administrators"
@click="subscribe(record)"> @click="subscribe(record)">
{{!record.releaseState || record.releaseState == 'draft' ? $t('release') :$t('withdraw')}} {{!record.releaseState || record.releaseState == 'draft' ? $t('release') :$t('withdraw')}}
</a> </a>
<a class="text-operation" <a class="text-operation"
v-if="record.createBy == userInfoQuery.username && record.releaseState == 'draft'" v-if="(record.createBy == userInfoQuery.username || administrators) && record.releaseState == 'draft'"
@click="edit(record)">{{$t('edit')}}</a> @click="edit(record)">{{$t('edit')}}</a>
<a class="text-operation" <a class="text-operation"
v-if="record.createBy == userInfoQuery.username && record.releaseState == 'draft'" v-if="(record.createBy == userInfoQuery.username || administrators) && record.releaseState == 'draft'"
@click="deleteData(record)">{{$t('delete')}}</a> @click="deleteData(record)">{{$t('delete')}}</a>
</span> </span>
<span slot="serialNumberRight" :title="text" slot-scope="text,record"> <span slot="serialNumberRight" :title="text" slot-scope="text,record">
@@ -132,10 +132,11 @@
pageNo: 1, pageNo: 1,
queryParam: {}, queryParam: {},
userInfoQuery: {}, userInfoQuery: {},
administrators:false,
selectedRowKeysRecord: [], selectedRowKeysRecord: [],
columns: [ columns: [
{ {
title: this.$t('standard') + 1, title: this.$t('standard') + ' 1',
align: 'center', align: 'center',
dataIndex: 'serialNumberLeft', dataIndex: 'serialNumberLeft',
width: 170, width: 170,
@@ -143,7 +144,7 @@
scopedSlots: { customRender: 'serialNumberLeft' } scopedSlots: { customRender: 'serialNumberLeft' }
}, },
{ {
title: this.$t('title') + 1, title: this.$t('title') + ' 1',
align: 'center', align: 'center',
dataIndex: 'titleLeft', dataIndex: 'titleLeft',
width: 170, width: 170,
@@ -151,7 +152,7 @@
scopedSlots: { customRender: 'serialNumberLeft' } scopedSlots: { customRender: 'serialNumberLeft' }
}, },
{ {
title: this.$t('TextStatus') + 1, title: this.$t('TextStatus') + ' 1',
align: 'center', align: 'center',
width: 200, width: 200,
ellipsis: true, ellipsis: true,
@@ -166,7 +167,7 @@
// scopedSlots: { customRender: 'fileNameLeft' } // scopedSlots: { customRender: 'fileNameLeft' }
// }, // },
{ {
title: this.$t('standard') + 2, title: this.$t('standard') + ' 2',
align: 'center', align: 'center',
dataIndex: 'serialNumberRight', dataIndex: 'serialNumberRight',
ellipsis: true, ellipsis: true,
@@ -174,7 +175,7 @@
width: 170 width: 170
}, },
{ {
title: this.$t('title') + 2, title: this.$t('title') + ' 2',
align: 'center', align: 'center',
dataIndex: 'titleRight', dataIndex: 'titleRight',
scopedSlots: { customRender: 'serialNumberRight' }, scopedSlots: { customRender: 'serialNumberRight' },
@@ -182,7 +183,7 @@
width: 170 width: 170
}, },
{ {
title: this.$t('TextStatus') + 2, title: this.$t('TextStatus') + ' 2',
align: 'center', align: 'center',
width: 200, width: 200,
ellipsis: true, ellipsis: true,
@@ -233,6 +234,14 @@
this.queryParam = { ...this.queryParam } this.queryParam = { ...this.queryParam }
} }
this.userInfoQuery = this.userInfo() this.userInfoQuery = this.userInfo()
this.administrators = false
if (this.userInfo().userRoleList && this.userInfo().userRoleList.length > 0) {
this.userInfo().userRoleList.forEach(res => {
if (res.roleCode == 'admin') {
this.administrators = true
}
})
}
this.getList() this.getList()
}, },
methods: { methods: {
@@ -59,15 +59,15 @@
</a-form> </a-form>
</div> </div>
<div class="table-operator"> <div class="table-operator">
<div @click="uploadClick" class="operator-text"> <div @click="uploadClick" v-has="'documentTranslation:upload'" class="operator-text">
<a-icon type="cloud-upload"/> <a-icon type="cloud-upload"/>
{{$t('upload1')}} {{$t('upload1')}}
</div> </div>
<div @click="RetrieveFilesClick" class="operator-text"> <div @click="RetrieveFilesClick" v-has="'documentTranslation:retrieval'" class="operator-text">
<a-icon type="database"/> <a-icon type="database"/>
{{$t('RetrieveFiles')}} {{$t('RetrieveFiles')}}
</div> </div>
<div @click="BatchDelete" class="operator-text"> <div @click="BatchDelete" v-has="'documentTranslation:batchDeletion'" class="operator-text">
<a-icon type="delete"/> <a-icon type="delete"/>
{{$t('BatchDelete')}} {{$t('BatchDelete')}}
</div> </div>
@@ -86,18 +86,22 @@
> >
<!-- --> <!-- -->
<span slot="operation" slot-scope="text,record"> <span slot="operation" slot-scope="text,record">
<a class="text-operation" @click="viewClick(record)">{{$t('view')}}</a> <a class="text-operation"
v-has="'documentTranslation:view'"
@click="viewClick(record)">{{$t('view')}}</a>
<!-- <a class="text-operation" @click="checkClick(record)">{{$t('check')}}</a>--> <!-- <a class="text-operation" @click="checkClick(record)">{{$t('check')}}</a>-->
<a class="text-operation" <a class="text-operation"
v-if="record.createBy == userInfoQuery.username" v-if="record.createBy == userInfoQuery.username || administrators"
@click="subscribe(record)"> @click="subscribe(record)">
{{!record.releaseCondition || record.releaseCondition == 'draft' ? $t('release') :$t('withdraw')}} {{!record.releaseCondition || record.releaseCondition == 'draft' ? $t('release') :$t('withdraw')}}
</a> </a>
<a class="text-operation" <a class="text-operation"
v-has="'documentTranslation:download'"
v-if="record.translationResult == 'Translation done'" v-if="record.translationResult == 'Translation done'"
@click="downloadData(record)">{{$t('download')}}</a> @click="downloadData(record)">{{$t('download')}}</a>
<a class="text-operation" <a class="text-operation"
v-if="record.createBy == userInfoQuery.username && record.releaseCondition == 'draft'" v-has="'documentTranslation:delete'"
v-if="(record.createBy == userInfoQuery.username || administrators) && record.releaseCondition == 'draft'"
@click="deleteData(record)">{{$t('delete')}}</a> @click="deleteData(record)">{{$t('delete')}}</a>
</span> </span>
<span slot="standardTitle" slot-scope="text,record" :title="text"> <span slot="standardTitle" slot-scope="text,record" :title="text">
@@ -158,6 +162,7 @@
queryParam: {}, queryParam: {},
userInfoQuery: {}, userInfoQuery: {},
selectedRowKeysRecord: [], selectedRowKeysRecord: [],
administrators:false,
columns: [ columns: [
{ {
title: this.$t('standard'), title: this.$t('standard'),
@@ -233,6 +238,14 @@
} }
this.getList() this.getList()
this.userInfoQuery = this.userInfo() this.userInfoQuery = this.userInfo()
this.administrators = false
if (this.userInfo().userRoleList && this.userInfo().userRoleList.length > 0) {
this.userInfo().userRoleList.forEach(res => {
if (res.roleCode == 'admin') {
this.administrators = true
}
})
}
}, },
methods: { methods: {
...mapGetters(['userInfo']), ...mapGetters(['userInfo']),
@@ -5,7 +5,7 @@
<div class="text-left-wrap"> <div class="text-left-wrap">
<div class="text-left-select"> <div class="text-left-select">
<span class="text-sel" :title="$t('problemClassification')">{{$t('problemClassification')}}</span> <span class="text-sel" :title="$t('problemClassification')">{{$t('problemClassification')}}</span>
<a-select :placeholder="$t('PleaseSelect')+$t('problemClassification')" <a-select :placeholder="$t('selectProblemClassification')"
class="text-select" class="text-select"
mode="multiple" mode="multiple"
:getPopupContainer="triggerNode=> triggerNode.parentNode" :getPopupContainer="triggerNode=> triggerNode.parentNode"
@@ -23,7 +23,7 @@
<div class="text-left-select"> <div class="text-left-select">
<span class="text-sel" :title="$t('market')">{{$t('market')}}</span> <span class="text-sel" :title="$t('market')">{{$t('market')}}</span>
<j-multi-select-tag class="text-select" v-model="queryParamOne.target_market" <j-multi-select-tag class="text-select" v-model="queryParamOne.target_market"
:placeholder="$t('PleaseSelect')+$t('market')" :placeholder="$t('selectMarket')"
:type="'select'" :type="'select'"
:triggerChange="false" :dictCode="'region'"/> :triggerChange="false" :dictCode="'region'"/>
</div> </div>
@@ -26,7 +26,7 @@
v-else-if="active === $t('whole') || active === $t('problemKnowledgeBase') v-else-if="active === $t('whole') || active === $t('problemKnowledgeBase')
|| active === $t('monthlyReportRegulations')" || active === $t('monthlyReportRegulations')"
class="inputSearch" class="inputSearch"
:placeholder="$t('pleaseEnter')+$t('searchContent')" :placeholder="$t('enterSearchContent')"
></a-input> ></a-input>
<a-button class="textSearch" <a-button class="textSearch"
v-if="active === $t('DocumentLibrary')" v-if="active === $t('DocumentLibrary')"
@@ -18,7 +18,7 @@
<div class="title-text"> <div class="title-text">
<span class="Required">*</span> <span class="Required">*</span>
<span class="title-text-text" <span class="title-text-text"
:title="$t('file')">{{$t('file')}}</span> :title="$t('fileName')">{{$t('fileName')}}</span>
</div> </div>
<a-form-model-item class="itemModel" prop="fileKey"> <a-form-model-item class="itemModel" prop="fileKey">
<a-button type="primary" class="button-text" <a-button type="primary" class="button-text"
+4 -4
View File
@@ -61,10 +61,10 @@
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :md="6" :sm="8"> <a-col :md="6" :sm="8">
<div class="box-title-text"> <div class="box-title-text">
<div class="title-text" :title="$t('file')"> <div class="title-text" :title="$t('fileName')">
<span>{{ $t('file') }}</span> <span>{{ $t('fileName') }}</span>
</div> </div>
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('file')" <a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('fileName')"
v-model="queryParams.fileName"></a-input> v-model="queryParams.fileName"></a-input>
</div> </div>
</a-col> </a-col>
@@ -359,7 +359,7 @@ export default {
], ],
columns: [ columns: [
{ {
title: this.$t('file'), title: this.$t('fileName'),
align: 'center', align: 'center',
dataIndex: 'fileName', dataIndex: 'fileName',
scopedSlots: { customRender: 'fileName' }, scopedSlots: { customRender: 'fileName' },
@@ -8,11 +8,14 @@
:url="url"/> :url="url"/>
</div> </div>
<div class="table-operator"> <div class="table-operator">
<div @click="handleCompare" class="operator-text"> <div @click="handleCompare" v-has="'regulatoryEarlyWarning:push'"
class="operator-text">
<a-icon type="rocket" :rotate="45"/> <a-icon type="rocket" :rotate="45"/>
{{$t('Push')}} {{$t('Push')}}
</div> </div>
<div @click="handleExport" class="operator-text"> <div @click="handleExport"
v-has="'regulatoryEarlyWarning:export'"
class="operator-text">
<a-icon type="export" :rotate="-90"/> <a-icon type="export" :rotate="-90"/>
{{$t('export')}} {{$t('export')}}
</div> </div>