修改手机端任务办理中英文title

This commit is contained in:
范强强
2023-08-03 16:47:12 +08:00
parent 2197035766
commit 8a46f9ad82
4 changed files with 73 additions and 12 deletions
+13
View File
@@ -1912,4 +1912,17 @@ module.exports = {
logOutOfLogin:'Logout', logOutOfLogin:'Logout',
tips:'Alert', tips:'Alert',
areYouLogout:'Confirm to logout', areYouLogout:'Confirm to logout',
viewFileOne:'View File',
standardOne:'Standard',
thereProcessInProgressDeletion:'There is a process in progress. Do you want to confirm the deletion',
processInitiation:'Process Initiation',
responsibiltyConfirmation:'Responsibilty Confirmation',
complianceConfirmationOne:'Compliance Confirmation',
complianceReviewOne:'Compliance Review',
supplementarySubmissionOne:'Supplementary Submission',
supplementaryReview:'Supplementary Review',
listRelease:'List Release',
processInitiationOne:'Process Initiation',
taskHandlingOne:'Task Handling',
taskReview:'Task Review',
} }
+13
View File
@@ -3868,4 +3868,17 @@ module.exports = {
logOutOfLogin:'退出登录', logOutOfLogin:'退出登录',
tips:'提示', tips:'提示',
areYouLogout:'确认退出登录吗', areYouLogout:'确认退出登录吗',
viewFileOne:'查看文件',
standardOne:'标准',
thereProcessInProgressDeletion:'有流程正在进行是否确认删除',
processInitiation:'发起流程',
responsibiltyConfirmation:'任务责任确认',
complianceConfirmationOne:'符合性确认',
complianceReviewOne:'符合性审查',
supplementarySubmissionOne:'补充提交',
supplementaryReview:'补充审查',
listRelease:'清单校核',
processInitiationOne:'任务发起',
taskHandlingOne:'任务办理',
taskReview:'任务审查',
} }
@@ -148,7 +148,7 @@
{{queryForm.deliveryResult}} {{queryForm.deliveryResult}}
</div> </div>
</van-collapse-item> </van-collapse-item>
<van-collapse-item :title="$route.query.TaskKeyName" v-if="!isDisplay" name="5"> <van-collapse-item :title="TaskKeyName[$route.query.taskDefinitionKey]" v-if="!isDisplay" name="5">
<van-form @submit="onSubmit" ref="form"> <van-form @submit="onSubmit" ref="form">
<div class="resultofhandlingClass" <div class="resultofhandlingClass"
v-if="$route.query.taskDefinitionKey == 'Task Review' || v-if="$route.query.taskDefinitionKey == 'Task Review' ||
@@ -347,6 +347,14 @@
'To be tracked': this.$t('toBeTracked'), 'To be tracked': this.$t('toBeTracked'),
'NA': this.$t('NA') 'NA': this.$t('NA')
}, },
TaskKeyName: {
'List Release': this.$t('listRelease'),
'Task initiation': this.$t('processInitiationOne'),
'Task responsibility confirmation': this.$t('responsibiltyConfirmation'),
'Task handling': this.$t('taskHandlingOne'),
'Task Review': this.$t('taskReview'),
'Supplementary Submission': this.$t('supplementarySubmissionOne')
},
textLoading: this.$t('loading'), textLoading: this.$t('loading'),
queryForm: {}, queryForm: {},
queryData: {}, queryData: {},
@@ -87,7 +87,8 @@
{{item.name}} {{item.name}}
</div> </div>
<div class="van-text-status"> <div class="van-text-status">
<span class="van-text-color" :class="statusClass[item.operatorResult]" v-if="statusName[item.operatorResult]"> <span class="van-text-color" :class="statusClass[item.operatorResult]"
v-if="statusName[item.operatorResult]">
{{statusName[item.operatorResult]}} {{statusName[item.operatorResult]}}
</span> </span>
</div> </div>
@@ -112,7 +113,7 @@
</van-step> </van-step>
</van-steps> </van-steps>
</van-collapse-item> </van-collapse-item>
<van-collapse-item :title="$route.query.TaskKeyName" name="4" v-if="!queryData.isDisplay"> <van-collapse-item :title="TaskKeyName[queryData.TaskKey]" name="4" v-if="!queryData.isDisplay">
<van-form @submit="onSubmit" ref="form"> <van-form @submit="onSubmit" ref="form">
<div class="resultofhandlingClass" style="margin-bottom: 0.1rem"> <div class="resultofhandlingClass" style="margin-bottom: 0.1rem">
<span>{{$t('resultofhandling')}}</span> <span>{{$t('resultofhandling')}}</span>
@@ -243,9 +244,9 @@
'To be tracked': 'trackedClass', 'To be tracked': 'trackedClass',
'NA': 'NAClass' 'NA': 'NAClass'
}, },
statusName:{ statusName: {
'Accepted': this.$t('accept'), 'Accepted': this.$t('accept'),
'Rejected':this.$t('refuse'), 'Rejected': this.$t('refuse'),
'Transfer': this.$t('turnToDo'), 'Transfer': this.$t('turnToDo'),
'Returned': this.$t('sendBack'), 'Returned': this.$t('sendBack'),
'Adopt': this.$t('adopt'), 'Adopt': this.$t('adopt'),
@@ -274,7 +275,18 @@
fileList: [], fileList: [],
uploadAction: window._CONFIG['domianURL'] + '/phone/sys/common/upload', uploadAction: window._CONFIG['domianURL'] + '/phone/sys/common/upload',
examineTitle: '', examineTitle: '',
isAdopt: false isAdopt: false,
TaskKeyName: {
'fqlc': this.$t('processInitiation'),
'zrrqr': this.$t('responsibiltyConfirmation'),
'dezrrqr': this.$t('responsibiltyConfirmation'),
'zrrtjjfw': this.$t('complianceConfirmationOne'),
'dezrrtjjfw': this.$t('complianceConfirmationOne'),
'fggcssh': this.$t('complianceReviewOne'),
'zrrbctjfq': this.$t('supplementarySubmissionOne'),
'zrrbctjxg': this.$t('supplementarySubmissionOne'),
'fggcsbcsh': this.$t('supplementaryReview')
}
} }
}, },
mounted() { mounted() {
@@ -292,10 +304,10 @@
if (!this.isBrowser()) { if (!this.isBrowser()) {
Dialog.alert({ Dialog.alert({
message: '未授权用户 <br> Unauthorized User', message: '未授权用户 <br> Unauthorized User',
theme: 'round-button', theme: 'round-button'
}).then(() => { }).then(() => {
// on close // on close
}); })
return return
} }
let url = kkFileView(item.fileName, item.id) let url = kkFileView(item.fileName, item.id)
@@ -313,13 +325,13 @@
if (!this.isBrowser()) { if (!this.isBrowser()) {
Dialog.alert({ Dialog.alert({
message: '未授权用户 <br> Unauthorized User', message: '未授权用户 <br> Unauthorized User',
theme: 'round-button', theme: 'round-button'
}).then(() => { }).then(() => {
// on close // on close
}); })
return return
} }
let url = kkFileView(item.approvalFileName[index],item.approvalFile[index]) let url = kkFileView(item.approvalFileName[index], item.approvalFile[index])
if (url) { if (url) {
this.$router.push({ this.$router.push({
path: '/phoneProblemKnowledgeBaseFile', path: '/phoneProblemKnowledgeBaseFile',
@@ -383,9 +395,23 @@
this.queryBy.projectLibraryId = row.projectLibraryId this.queryBy.projectLibraryId = row.projectLibraryId
this.queryBy.id = row.projectTaskInventoryId this.queryBy.id = row.projectTaskInventoryId
this.queryProjectLawsInventoryInfo() this.queryProjectLawsInventoryInfo()
this.getQueryTaskId()
} }
}, },
getQueryTaskId() {
let query = {
projectLawsInventoryId: this.queryData.projectTaskInventoryId,
flowType: this.queryData.flowType
}
getAction('/todoCenter/projectProcess/queryTaskId', query).then((res) => {
if (res.success) {
this.queryData.taskIds = res.result
} else {
this.queryData.taskIds = ''
}
this.queryData = { ...this.queryData }
})
},
queryTaskDetailByTask(callback) { queryTaskDetailByTask(callback) {
this.loading = true this.loading = true
getAction(this.url.queryTaskDetailByTaskIds, { taskIds: this.queryData.taskIds }).then((res) => { getAction(this.url.queryTaskDetailByTaskIds, { taskIds: this.queryData.taskIds }).then((res) => {
@@ -985,6 +1011,7 @@
font-size: 0.38rem; font-size: 0.38rem;
margin-left: 0.06rem; margin-left: 0.06rem;
} }
.content-box-text-color { .content-box-text-color {
color: #01A0AC; color: #01A0AC;
} }