部分页面国际化
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
72f2e0a459
commit
8483e02a3b
|
@ -106,16 +106,16 @@ export default {
|
|||
},
|
||||
hospitalFormRules: {
|
||||
HospitalName: [
|
||||
{ required: true, message: "请输入医院名称", trigger: "blur" },
|
||||
{ required: true, message: 'Please specify', trigger: "blur" },
|
||||
],
|
||||
HospitalCode: [
|
||||
{ required: true, message: "请输入医院编码", trigger: "blur" },
|
||||
{ required: true, message: 'Please specify', trigger: "blur" },
|
||||
],
|
||||
// HospitalLogoPath: [
|
||||
// { required: true, message: "请上传医院logo", trigger: "blur" },
|
||||
// ],
|
||||
TrialKeepCount: [
|
||||
{ required: true, message: "请输入未激活项目数", trigger: "blur" },
|
||||
{ required: true, message: 'Please specify', trigger: "blur" },
|
||||
],
|
||||
// HospitalAliasName: [
|
||||
// { required: true, message: "请输入医院别称", trigger: "blur" },
|
||||
|
|
|
@ -24,10 +24,10 @@
|
|||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="getList">
|
||||
查询
|
||||
{{ $t('common:button:search') }}
|
||||
</el-button>
|
||||
<el-button type="primary" icon="el-icon-plus" size="mini" @click="handleAdd">
|
||||
新增
|
||||
{{ $t('common:button:add') }}
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
@ -83,7 +83,7 @@
|
|||
@pagination="getList" />
|
||||
</div>
|
||||
</div>
|
||||
<el-dialog top="3vh" :title="status === 'edit' ? '编辑' : '新增'" :visible.sync="visible" width="450px"
|
||||
<el-dialog top="3vh" :title="status === 'edit' ? $t('common:action:edit') : $t('common:button:new')" :visible.sync="visible" width="450px"
|
||||
:close-on-click-modal="false" :close-on-press-escape="false" :append-to-body="true">
|
||||
<el-form ref="hospitalGroupForm" size="small" :model="from" :rules="rules" label-width="100px">
|
||||
<el-form-item :label="$t('system:hospital:group:Code')" prop="Code">
|
||||
|
@ -273,7 +273,7 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(row) {
|
||||
this.$confirm('是否确认删除?', {
|
||||
this.$confirm(this.$t('system:hospital:message:handleDelete'), {
|
||||
type: 'warning',
|
||||
distinguishCancelAndClose: true,
|
||||
}).then(() => {
|
||||
|
|
|
@ -22,10 +22,10 @@
|
|||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="getList">
|
||||
查询
|
||||
{{ $t('common:button:search') }}
|
||||
</el-button>
|
||||
<el-button type="primary" icon="el-icon-plus" size="mini" @click="handleAdd">
|
||||
新增
|
||||
{{ $t('common:button:new') }}
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
@ -83,7 +83,8 @@
|
|||
@pagination="getList" />
|
||||
</div>
|
||||
</div>
|
||||
<el-dialog top="3vh" :title="status === 'edit' ? '编辑' : '新增'" :visible.sync="visible" :fullscreen="true">
|
||||
<el-dialog top="3vh" :title="status === 'edit' ? $t('common:action:edit') : $t('common:button:new')"
|
||||
:visible.sync="visible" :fullscreen="true">
|
||||
<system-hospital v-if="visible" :status="status" :rowData="rowData" @getList="getList" @close="close" />
|
||||
</el-dialog>
|
||||
</div>
|
||||
|
@ -177,7 +178,7 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
handleDelete(row) {
|
||||
this.$confirm('是否确认删除?', {
|
||||
this.$confirm(this.$t('system:hospital:message:handleDelete'), {
|
||||
type: 'warning',
|
||||
distinguishCancelAndClose: true,
|
||||
}).then(() => {
|
||||
|
|
|
@ -137,8 +137,8 @@ export default {
|
|||
const isValidFile = this.fileValid(file.name, ["png", "jpg", "jpeg"]);
|
||||
if (isValidFile) {
|
||||
this.fileList = [];
|
||||
} else {
|
||||
this.$alert("请上传PNG/JPG/JPEG文件");
|
||||
} else { //请上传PNG/JPG/JPEG文件
|
||||
this.$alert(this.$t("system:hospital:uploadLog:verificationFormat"));
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
|
|
@ -271,7 +271,7 @@ export default {
|
|||
handleAdd() {
|
||||
this.$nextTick(() => {
|
||||
this.$refs['i18nForm'].openDialog(
|
||||
this.$t("system:l18n:button:add"),
|
||||
this.$t("common:button:new"),
|
||||
{},
|
||||
this.PublishVersionList,
|
||||
'add'
|
||||
|
@ -290,7 +290,7 @@ export default {
|
|||
handleEdit(row) {
|
||||
this.$nextTick(() => {
|
||||
this.$refs['i18nForm'].openDialog(
|
||||
this.$t("system:l18n:button:edit"),
|
||||
this.$t("common:button:edit"),
|
||||
row,
|
||||
this.PublishVersionList,
|
||||
'update'
|
||||
|
|
|
@ -75,8 +75,9 @@
|
|||
<el-select v-if="scope.row.Type === 'calculation' && scope.row.DictionaryCode"
|
||||
v-model="tumorEvaluationObj[task.VisitTaskId]" size="mini"
|
||||
@change="(val) => handleTumorEvaluationChange(val, task.VisitTaskId)">
|
||||
<el-option v-for="item of $d[scope.row.DictionaryCode]" :key="item.id" :value="item.value"
|
||||
:label="item.label" />
|
||||
<template v-for="item of $d[scope.row.DictionaryCode]">
|
||||
<el-option :key="item.id" :value="item.value" :label="item.label" v-if="item.value !== -1" />
|
||||
</template>
|
||||
</el-select>
|
||||
</template>
|
||||
<template v-else-if="index === 0 && CriterionType === 10 && scope.row.QuestionType === 21">
|
||||
|
|
Loading…
Reference in New Issue