|
|
@@ -1,13 +1,13 @@
|
|
|
<!-- 持仓过户-我的转入-确认 -->
|
|
|
<template>
|
|
|
- <app-drawer title="密码验证" v-model:show="show" :loading="loading" :refresh="refresh">
|
|
|
+ <app-drawer :title="t('inout.in.verificationpwd')" v-model:show="show" :loading="loading" :refresh="refresh">
|
|
|
<el-form ref="formRef" class="el-form--vertical" :model="formData" :rules="formRules" @submit.prevent>
|
|
|
<el-form-item prop="password">
|
|
|
- <el-input type="password" placeholder="请输入登录密码" v-model="formData.password" />
|
|
|
+ <el-input type="password" :placeholder="t('inout.in.tips1')" v-model="formData.password" />
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="agree">
|
|
|
- <el-checkbox v-model="formData.agree">我已阅读并同意</el-checkbox>
|
|
|
- <span @click="openComponent('agreement')" style="cursor: pointer;">《持仓转让协议》</span>
|
|
|
+ <el-checkbox v-model="formData.agree">{{ t('inout.in.tips2') }}</el-checkbox>
|
|
|
+ <span @click="openComponent('agreement')" style="cursor: pointer;">{{ t('inout.in.tips3') }}</span>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<template #footer>
|
|
|
@@ -55,12 +55,12 @@ const formData = reactive({
|
|
|
const formRules: FormRules = {
|
|
|
password: [{
|
|
|
required: true,
|
|
|
- message: '请输入密码',
|
|
|
+ message: t('inout.in.tips7'),
|
|
|
validator: () => !!formData.password
|
|
|
}],
|
|
|
agree: [{
|
|
|
required: true,
|
|
|
- message: '请同意协议',
|
|
|
+ message: t('inout.in.tips6'),
|
|
|
validator: () => formData.agree
|
|
|
}]
|
|
|
}
|
|
|
@@ -85,15 +85,15 @@ const onSubmit = () => {
|
|
|
ApplyID: handleRequestBigNumber(props.selectedRow.applyid)
|
|
|
}
|
|
|
}).then(() => {
|
|
|
- ElMessage.success('确认成功')
|
|
|
+ ElMessage.success(t('common.tips15'))
|
|
|
onCancel(true)
|
|
|
}).catch((err) => {
|
|
|
- ElMessage.error('确认失败:' + err)
|
|
|
+ ElMessage.error(t('common.tips16') + err)
|
|
|
onCancel()
|
|
|
})
|
|
|
} else {
|
|
|
setTimeout(() => {
|
|
|
- ElMessage.warning('密码验证失败')
|
|
|
+ ElMessage.warning(t('inout.in.tips5'))
|
|
|
onCancel()
|
|
|
}, 1000)
|
|
|
}
|