@@ -785,7 +810,7 @@ export default {
} else {
var arr = value.split('|')
if (new Set(arr).size !== arr.length) {
- callback(new Error('选项不允许存在相同值'))
+ callback(new Error(this.$t('trials:readingUnit:qsList:message:msg0')))
} else {
callback()
}
@@ -840,34 +865,34 @@ export default {
ClassifyAlgorithms: null,
},
rules: {
- Type: [{ required: true, message: '请选择', trigger: 'blur' }],
- LesionType: [{ required: true, message: '请选择', trigger: 'blur' }],
+ Type: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }],
+ LesionType: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }],
// QuestionName: [
// { required: true, message: '请注明', trigger: 'blur' },
// { max: 300, message: '最大长度为 300' },
// ],
- QuestionGenre: [{ required: true, message: '请选择', trigger: 'blur' }],
+ QuestionGenre: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }],
TypeValue: [
- { required: true, message: '请注明', trigger: 'blur' },
+ { required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'blur' },
{ validator: validateTypeVal, trigger: 'blur' },
- { max: 500, message: '最大长度为 500' },
+ { max: 500, message: `${this.$t('common:ruleMessage:maxLength')} 500` },
],
DictionaryCode: [
- { required: true, message: '请选择', trigger: 'blur' },
+ { required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' },
],
- ShowQuestion: [{ required: true, message: '请选择', trigger: 'blur' }],
- IsRequired: [{ required: true, message: '请选择', trigger: 'blur' }],
- ParentId: [{ required: true, message: '请选择', trigger: 'blur' }],
+ ShowQuestion: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }],
+ IsRequired: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }],
+ ParentId: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }],
ParentTriggerValueList: [
- { required: true, message: '请选择', trigger: 'blur' },
+ { required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' },
],
- RelevanceId: [{ required: true, message: '请选择', trigger: 'blur' }],
+ RelevanceId: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }],
RelevanceValueList: [
- { required: true, message: '请选择', trigger: 'blur' },
+ { required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' },
],
GroupName: [
- { required: true, message: '请注明', trigger: 'blur' },
- { max: 50, message: '最大长度为 50' },
+ { required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'blur' },
+ { max: 50, message: `${this.$t('common:ruleMessage:maxLength')} 50` },
],
// ExportIdentification: [
// { required: true, message: '请选择', trigger: 'blur' },
diff --git a/src/views/dictionary/template/components/CriterionsBaseData.vue b/src/views/dictionary/template/components/CriterionsBaseData.vue
index 817f745c..01854a2b 100644
--- a/src/views/dictionary/template/components/CriterionsBaseData.vue
+++ b/src/views/dictionary/template/components/CriterionsBaseData.vue
@@ -1,13 +1,15 @@
-
+
+
-
+
+
-
+
+
-
+
+
-
+
+
@@ -27,7 +29,7 @@
type="primary"
@click="handlePreview"
>
- 预览
+ {{ $t('common:button:preview') }}
- 添加
+ {{ $t('common:button:add') }}
@@ -49,61 +51,70 @@
stripe
@sort-change="handleSortByColumn"
>
+
+
+
+
+
+
{{ $fd('Criterion_Question_Type',scope.row.Type) }}
-
-
- {{ $fd('QuestionRequired',scope.row.IsRequired) }}
-
-
+
{{ $fd('ShowQuestion',scope.row.ShowQuestion) }}
+
+
+
+ {{ $fd('QuestionRequired',scope.row.IsRequired) }}
+
+
+
@@ -111,9 +122,10 @@
{{ $fd('YesOrNo', scope.row.IsJudgeQuestion) }}
+
@@ -129,9 +141,10 @@
show-overflow-tooltip
>
-->
+
@@ -153,7 +166,7 @@
@@ -185,7 +198,7 @@
- 编辑
+ {{ $t('trials:readingUnit:qsList:title:edit') }}
- 查看
+ {{ $t('trials:readingUnit:qsList:title:view') }}
- 表格问题
+ {{ $t('trials:readingUnit:qsList:title:tableQs') }}
- 删除
+ {{ $t('trials:readingUnit:qsList:title:delete') }}
-
+
+
-
+
+
@@ -361,19 +376,19 @@ export default {
handleAdd() {
this.rowData = { ReadingQuestionCriterionSystemId: this.criterionId, Id: ''}
this.type = 'add'
- this.addOrEdit.title = '添加'
+ this.addOrEdit.title = this.$t('common:button:new')
this.addOrEdit.visible = true
- },
+ },
handleLook(row) {
this.rowData = { ...row }
this.type = 'look'
- this.addOrEdit.title = '查看'
+ this.addOrEdit.title = this.$t('common:button:view')
this.addOrEdit.visible = true
},
handleEdit(row) {
this.rowData = { ...row }
this.type = 'edit'
- this.addOrEdit.title = '编辑'
+ this.addOrEdit.title = this.$t('common:button:edit')
this.addOrEdit.visible = true
},
handleDelete(row) {
@@ -388,7 +403,7 @@ export default {
this.loading = false
if (res.IsSuccess) {
this.getList()
- this.$message.success('删除成功!')
+ this.$message.success(this.$t('common:message:deletedSuccessfully'))
}
}).catch(() => { this.loading = false })
})
diff --git a/src/views/dictionary/template/components/CriterionsTmp.vue b/src/views/dictionary/template/components/CriterionsTmp.vue
index 32e2f9ce..d71e7e8e 100644
--- a/src/views/dictionary/template/components/CriterionsTmp.vue
+++ b/src/views/dictionary/template/components/CriterionsTmp.vue
@@ -325,7 +325,7 @@ export default {
deleteReadingQuestionCriterionSystem(row.Id).then(res => {
this.loading = false
if (res.IsSuccess) {
- this.$message.success(this.$t('common:message:savedSuccessfully'))
+ this.$message.success(this.$t('common:message:deletedSuccessfully'))
this.getList()
}
}).catch(() => { this.loading = false })
diff --git a/src/views/dictionary/template/components/EvaluationOfGlobalConfig.vue b/src/views/dictionary/template/components/EvaluationOfGlobalConfig.vue
index 6a6689e0..83de361b 100644
--- a/src/views/dictionary/template/components/EvaluationOfGlobalConfig.vue
+++ b/src/views/dictionary/template/components/EvaluationOfGlobalConfig.vue
@@ -1,10 +1,13 @@
- 阅片规则
-
+
+ {{ $t('dictionary:template:globalConfig:readingRules') }}
+
+
{{ $fd('YesOrNo', IsMustGlobalReading) }}
+
- 配置
+ {{ $t('dictionary:template:globalConfig:config') }}
- 名称
+
+ {{ $t('dictionary:template:globalConfig:name') }}
+
- 配置
+ {{ $t('dictionary:template:globalConfig:config') }}
-
+
+
+
{{scope.$index + 1}}
+
+
+
@@ -70,9 +80,10 @@
{{ $fd('YesOrNo', scope.row.IsBaseLineUse) }}
+
@@ -93,12 +104,14 @@
>
-
+
+
{{ item.label }}
-
+
+
+
+
+
@@ -138,9 +154,10 @@
{{$fd('YesOrNo', scope.row.IsBaseLineUse)}}
+
@@ -156,8 +173,12 @@
- 取消
- 保存
+
+ {{ $t('common:button:cancel') }}
+
+
+ {{ $t('common:button:save') }}
+
@@ -186,8 +207,8 @@ export default {
rowData: {},
activeName: '0',
addOrEdit: { visible: false, title: '' },
- preview: { visible: false, title: 'eCRF预览' },
- config: { visible: false, title: '评估更新类型', appendToBody: true, width: '600px', configType: 0 },
+ // preview: { visible: false, title: 'eCRF预览' },
+ config: { visible: false, title: this.$t('dictionary:template:globalConfig:updateType'), appendToBody: true, width: '600px', configType: 0 },
selectedList: [],
IsMustGlobalReading: false,
form: {
@@ -269,10 +290,10 @@ export default {
this.config.configType = n
this.form.IsMustGlobalReading = this.IsMustGlobalReading
if (n === 1) {
- this.config.title = '是否必须全局阅片'
+ this.config.title = this.$t('dictionary:template:globalConfig:isMustGlobalReading')
this.config.visible = true
} else {
- this.config.title = '评估更新类型'
+ this.config.title = this.$t('dictionary:template:globalConfig:updateType')
this.config.visible = true
this.$nextTick(() => {
var a = this.$d.GlobalAssessType.filter(v => {
@@ -322,8 +343,4 @@ export default {
}
-
+
diff --git a/src/views/dictionary/template/components/EvaluationOfOncologyConfig.vue b/src/views/dictionary/template/components/EvaluationOfOncologyConfig.vue
index f95ef251..25030240 100644
--- a/src/views/dictionary/template/components/EvaluationOfOncologyConfig.vue
+++ b/src/views/dictionary/template/components/EvaluationOfOncologyConfig.vue
@@ -1,10 +1,13 @@
- 阅片规则
-
+
+ {{ $t('dictionary:template:globalConfig:readingRules') }}
+
+
{{ $fd('YesOrNo', IsOncologyReading)}}
+
- 配置
+ {{ $t('dictionary:template:globalConfig:config') }}
- 阅片问题
+
+ {{ $t('dictionary:template:oncologyConfig:reviewQs') }}
+
- 配置
+ {{ $t('dictionary:template:globalConfig:config') }}
-
+
+
+
{{scope.$index + 1}}
+
+
@@ -60,12 +69,14 @@
-
+
+
{{ item.label }}
-
+
+
+
+
@@ -96,8 +109,12 @@
- 取消
- 保存
+
+ {{ $t('common:button:cancel') }}
+
+
+ {{ $t('common:button:save') }}
+
@@ -129,8 +146,7 @@ export default {
rowData: {},
activeName: '0',
addOrEdit: { visible: false, title: '' },
- preview: { visible: false, title: 'eCRF预览' },
- config: { visible: false, title: '肿瘤学阅片结果', appendToBody: true, width: '600px', configType: 0 },
+ config: { visible: false, title: this.$t('dictionary:template:oncologyConfig:reviewResult'), appendToBody: true, width: '600px', configType: 0 },
selectedList: [],
OncologyAssessType: [],
IsOncologyReading: true
@@ -177,10 +193,10 @@ export default {
handleAdd(n) {
this.config.configType = n
if (n === 1) {
- this.config.title = '是否肿瘤学阅片'
+ this.config.title = this.$t('dictionary:template:oncologyConfig:isOncologyReading')
this.config.visible = true
} else {
- this.config.title = '肿瘤学阅片结果'
+ this.config.title = this.$t('dictionary:template:oncologyConfig:reviewResult')
this.config.visible = true
this.$nextTick(() => {
var a = this.OncologyAssessType.filter(v => {
@@ -221,9 +237,3 @@ export default {
}
}
-
-
diff --git a/src/views/dictionary/template/components/LesionTypeForm.vue b/src/views/dictionary/template/components/LesionTypeForm.vue
index b6aa2d8b..aa21479a 100644
--- a/src/views/dictionary/template/components/LesionTypeForm.vue
+++ b/src/views/dictionary/template/components/LesionTypeForm.vue
@@ -8,7 +8,8 @@
:rules="rules"
>
-
+
+
-
+
+
+
{{ $fd('LesionType',scope.row.LesionType) }}
+
{{ $fd('OrganType',scope.row.OrganType) }}
-
+
@@ -163,18 +165,18 @@ export default {
// 新增
handleAdd() {
this.rowData = { CriterionId: this.criterionId }
- this.editDialog.title = '新增'
+ this.editDialog.title = this.$t('common:button:new')
this.editDialog.visible = true
},
// 编辑
handleEdit(row) {
this.rowData = { ...row }
- this.editDialog.title = '编辑'
+ this.editDialog.title = this.$t('common:button:edit')
this.editDialog.visible = true
},
// 删除
handleDelete(row) {
- this.$confirm('是否确认删除', {
+ this.$confirm(this.$t('trials:readingUnit:baseDataCfg:message:deleteConfirm'), {
type: 'warning',
distinguishCancelAndClose: true
})
@@ -185,7 +187,7 @@ export default {
this.loading = false
if (res.IsSuccess) {
this.getList()
- this.$message.success('删除成功!')
+ this.$message.success(this.$t('common:message:deletedSuccessfully'))
}
}).catch(() => { this.loading = false })
})
diff --git a/src/views/dictionary/template/components/OrganForm.vue b/src/views/dictionary/template/components/OrganForm.vue
index 7ace7401..10c1af05 100644
--- a/src/views/dictionary/template/components/OrganForm.vue
+++ b/src/views/dictionary/template/components/OrganForm.vue
@@ -3,13 +3,13 @@
ref="organForm"
v-loading="loading"
:model="form"
- label-width="100px"
+ label-width="120px"
size="small"
:rules="rules"
>
-
+
@@ -21,35 +21,37 @@
/>
-
+
+
-
+
+
-
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
+
-
+
{{ item.label }}
-
+
-
+
-
+
+
-
+
+
-
+
+
-
+
+
@@ -54,7 +58,7 @@
size="mini"
@click="lesionType.visible = true"
>
- 病灶关联配置
+ {{ this.$t('dictionary:template:basicData:config') }}
@@ -91,7 +95,7 @@
+
+
+
{{ $fd('ReadingYesOrNo', scope.row.IsLymphNodes) }}
+
{{ $fd('YesOrNo', scope.row.IsCanEditPosition) }}
+
+
@@ -203,13 +213,13 @@
@@ -227,7 +237,7 @@
:visible.sync="editDialog.visible"
:close-on-click-modal="false"
:title="editDialog.title"
- width="500px"
+ width="600px"
custom-class="base-dialog-wrapper"
append-to-body
>
@@ -273,9 +283,9 @@
size="small"
>
-
+
-
+
+
{qsTypeChange(val, form)})"
@@ -24,9 +25,10 @@
/>
+
+
- 公有属性
-
+
+ {{$t('trials:readingUnit:title:publicProperties')}}
+
+
{isShowQuestionChange(val, form)})"
@@ -70,7 +75,7 @@
-
+
-
+
+
-
+
-
+
@@ -182,8 +188,9 @@
+
{{ item.label }}
+
+
+
-
+
+
-
+
+
-
- 私有属性
+
+ {{$t('trials:readingUnit:title:privateProperties')}}
-
+
+
+
@@ -315,9 +329,10 @@
/>
+
@@ -330,7 +345,8 @@
/>
-
+
+
+
-
+
+
+
-
+
@@ -487,9 +507,10 @@
+
@@ -497,9 +518,10 @@
:value="item.Id"/>
+
@@ -598,7 +620,7 @@ export default {
} else {
var arr = value.split('|')
if (new Set(arr).size !== arr.length) {
- callback(new Error('选项不允许存在相同值'))
+ callback(new Error(this.$t('trials:readingUnit:qsList:message:msg0')))
} else {
callback()
}
@@ -649,26 +671,26 @@ export default {
},
rules: {
Type: [
- { required: true, message: '请选择', trigger: 'blur' }
+ { required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }
],
// QuestionName: [{ required: true, message: '请注明', trigger: 'blur' },
// { max: 300, message: '最大长度为 300' }],
- TypeValue: [{ required: true, message: '请注明', trigger: 'blur' },
+ TypeValue: [{ required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'blur' },
{ validator: validateTypeVal, trigger: 'blur' },
- { max: 200, message: '最大长度为 200' }],
- ShowQuestion: [{ required: true, message: '请选择', trigger: 'blur' }],
- IsRequired: [{ required: true, message: '请选择', trigger: 'blur' }],
- ParentId: [{ required: true, message: '请选择', trigger: 'blur' }],
+ { max: 200, message: `${this.$t('common:ruleMessage:maxLength')} 200` }],
+ ShowQuestion: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }],
+ IsRequired: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }],
+ ParentId: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }],
ParentTriggerValueList: [
- { required: true, message: '请选择', trigger: 'blur' }
+ { required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }
],
- RelevanceId: [{ required: true, message: '请选择', trigger: 'blur' }],
- RelevanceValueList: [{ required: true, message: '请选择', trigger: 'blur' }],
- DataTableName: [{ required: true, message: '请选择', trigger: 'blur' }],
- DataTableColumn: [{ required: true, message: '请选择', trigger: 'blur' }],
+ RelevanceId: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }],
+ RelevanceValueList: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }],
+ DataTableName: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }],
+ DataTableColumn: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }],
// DictionaryCode: [{ required: true, message: '请选择', trigger: 'blur' }],
- DependParentId: [{ required: true, message: '请选择', trigger: 'blur' }],
+ DependParentId: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' }],
// ExportIdentification: [
// { required: true, message: this.$t('common:ruleMessage:select'), trigger: 'blur' },
// ],
diff --git a/src/views/dictionary/template/components/TableQsList.vue b/src/views/dictionary/template/components/TableQsList.vue
index 2a087a48..2b789790 100644
--- a/src/views/dictionary/template/components/TableQsList.vue
+++ b/src/views/dictionary/template/components/TableQsList.vue
@@ -10,7 +10,7 @@
type="primary"
@click="handleAdd"
>
- 新增
+ {{$t('common:button:new')}}
@@ -20,24 +20,28 @@
size="small"
height="500"
>
+
+
+
+
@@ -61,9 +65,10 @@
min-width="110"
/>
-->
+
@@ -71,9 +76,10 @@
{{ $fd('ShowQuestion',scope.row.ShowQuestion) }}
+
@@ -125,7 +131,7 @@
@@ -178,9 +184,10 @@
-->
+
@@ -190,7 +197,7 @@
@@ -201,7 +208,7 @@
size="mini"
@click="handleLook(scope.row)"
>
- 查看
+ {{ $t('trials:readingPeriod:button:view') }}
- 编辑
+ {{ $t('common:button:edit') }}
- 删除
+ {{ $t('common:button:delete') }}
@@ -295,7 +302,7 @@ export default {
handleLook(row) {
this.type = 'look'
this.rowData = { ...row }
- this.addOrEdit.title = '编辑'
+ this.addOrEdit.title = this.$t('common:button:edit')
this.addOrEdit.visible = true
},
getList() {
@@ -308,13 +315,13 @@ export default {
handleAdd() {
this.type = 'add'
this.rowData = {}
- this.addOrEdit.title = '添加'
+ this.addOrEdit.title = this.$t('common:button:new')
this.addOrEdit.visible = true
},
handleEdit(row) {
this.type = 'edit'
this.rowData = { ...row }
- this.addOrEdit.title = '编辑'
+ this.addOrEdit.title = this.$t('common:button:edit')
this.addOrEdit.visible = true
},
handleDelete(row) {
@@ -329,7 +336,7 @@ export default {
this.loading = false
if (res.IsSuccess) {
this.getList()
- this.$message.success('删除成功!')
+ this.$message.success(this.$t('common:message:deletedSuccessfully'))
}
}).catch(() => { this.loading = false })
})