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