国际化问题

uat_us
熊飞 2024-02-21 15:43:31 +08:00
parent f09901bcf6
commit 9033119fb1
4 changed files with 6 additions and 4 deletions

BIN
src/assets/pic-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -148,7 +148,7 @@ import { mapGetters, mapMutations } from 'vuex'
import TopLang from './topLang' import TopLang from './topLang'
// import NoticeMarquee from '../trials/trials-layout/components/noticeMarquee' // import NoticeMarquee from '../trials/trials-layout/components/noticeMarquee'
import Vcode from 'vue-puzzle-vcode' import Vcode from 'vue-puzzle-vcode'
import Img1 from '@/assets/pic-1.png' import Img1 from '@/assets/pic-2.png'
export default { export default {
name: 'Login', name: 'Login',
components: { TopLang, Vcode }, components: { TopLang, Vcode },

View File

@ -23,7 +23,7 @@
v-if="(state === 1 && hasPermi(['role:spm','role:cpm']))" v-if="(state === 1 && hasPermi(['role:spm','role:cpm']))"
type="primary" type="primary"
size="small" size="small"
@click="handleSubmit2" @click="handleSubmit"
> >
{{ $t('trials:researchForm:button:auditPasses') }} {{ $t('trials:researchForm:button:auditPasses') }}
</el-button> </el-button>

View File

@ -120,8 +120,8 @@ export default {
Description: '', Description: '',
IsBaseLine: false, IsBaseLine: false,
// BlindName: '', // BlindName: '',
VisitWindowLeft: 0, VisitWindowLeft: -3,
VisitWindowRight: 0, VisitWindowRight: 3,
IsConfirmed: false, IsConfirmed: false,
IsDeleted: false, IsDeleted: false,
IsHaveFirstConfirmed: false IsHaveFirstConfirmed: false
@ -173,6 +173,8 @@ export default {
this.$refs.visitPlanForm.validate((valid) => { this.$refs.visitPlanForm.validate((valid) => {
if (valid) { if (valid) {
this.isDisabled = true this.isDisabled = true
if (!this.form.VisitWindowLeft) this.form.VisitWindowLeft = 0
if (!this.form.VisitWindowRight) this.form.VisitWindowRight = 0
addOrUpdateVisitStage(this.form).then((res) => { addOrUpdateVisitStage(this.form).then((res) => {
this.isDisabled = false this.isDisabled = false
this.$emit('getList') this.$emit('getList')