部分问题修复
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2024-04-29 10:29:57 +08:00
parent 99318cdf3b
commit 53336c5a7c
6 changed files with 44 additions and 12 deletions

View File

@ -65,11 +65,38 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6" style="text-align: right"> <el-col :span="6" style="text-align: right">
<i
:title="
isVerify === null
? $t('passwordReset:button:verify')
: isVerify
? $t('passwordReset:button:verifySuccess')
: $t('passwordReset:button:Failed')
"
:class="
isVerify === null
? 'el-icon-question'
: isVerify
? 'el-icon-success'
: 'el-icon-error'
"
:style="{
marginRight: '5px',
color:
isVerify === null
? '#909399'
: isVerify
? '#67c23a'
: '#f56c6c',
}"
></i>
<!-- 校验 --> <!-- 校验 -->
<el-button <el-button
size="small" size="small"
type="primary" type="primary"
style="width: 80%" :style="{
width: '80%',
}"
:disabled=" :disabled="
form.VerificationCode === '' || form.EmailOrPhone === '' form.VerificationCode === '' || form.EmailOrPhone === ''
" "
@ -200,6 +227,7 @@ export default {
UserId: "", UserId: "",
UserType: "", UserType: "",
}, },
isVerify: null,
users: [], users: [],
CheckPass: "", CheckPass: "",
rules: { rules: {
@ -307,9 +335,12 @@ export default {
.then((res) => { .then((res) => {
this.formLoading = false; this.formLoading = false;
this.users = res.Result; this.users = res.Result;
this.isVerify = true;
this.$message.success(this.$t("passwordReset:button:verifySuccess"));
}) })
.catch(() => { .catch(() => {
this.formLoading = false; this.formLoading = false;
this.isVerify = false;
}); });
}, },
handleEmailChange() { handleEmailChange() {

View File

@ -133,7 +133,7 @@ export default {
CheckCode: [ CheckCode: [
{ {
required: true, required: true,
message: this.$t("common:ruleMessage:specify"), message: this.$t("recompose:tip:inputCheckCode"),
trigger: "blur", trigger: "blur",
}, },
], ],

View File

@ -105,7 +105,7 @@ export default {
trigger: "blur", trigger: "blur",
}, },
{ {
pattern: /[a-zA-Z]/, pattern: /[a-zA-Z0-9]/,
message: this.$t("common:ruleMessage:CalledAEPattern"), message: this.$t("common:ruleMessage:CalledAEPattern"),
trigger: "blur", trigger: "blur",
}, },

View File

@ -404,9 +404,10 @@ export default {
this.loading = true; this.loading = true;
let res = await getVisitPatientStudyList(data); let res = await getVisitPatientStudyList(data);
this.loading = false; this.loading = false;
console.log(res);
if (res.IsSuccess) { if (res.IsSuccess) {
this.list = res.Result.CurrentPageData; this.list = res.Result;
this.total = res.Result.TotalCount; // this.total = res.Result.TotalCount;
if (flag) { if (flag) {
this.$nextTick(() => { this.$nextTick(() => {
this.handleAllSelect(); this.handleAllSelect();

View File

@ -216,10 +216,12 @@
min-width="100" min-width="100"
fixed="right" fixed="right"
v-if=" v-if="
hasPermi(['trials:trials-panel:hirVisit:edit']) || hasPermi([
hasPermi(['trials:trials-panel:hirVisit:submit']) || 'trials:trials-panel:hirVisit:edit',
hasPermi(['trials:trials-panel:hirVisit:remove']) || 'trials:trials-panel:hirVisit:submit',
hasPermi(['trials:trials-panel:hirVisit:downlaod']) 'trials:trials-panel:hirVisit:remove',
'trials:trials-panel:hirVisit:downlaod',
])
" "
> >
<template slot-scope="scope"> <template slot-scope="scope">
@ -250,7 +252,7 @@
icon="el-icon-delete" icon="el-icon-delete"
v-hasPermi="['trials:trials-panel:hirVisit:remove']" v-hasPermi="['trials:trials-panel:hirVisit:remove']"
@click.stop="remove(scope.row)" @click.stop="remove(scope.row)"
:disabled="Number(scope.row.SubmitState) > 0" :disabled="Number(scope.row.SubmitState) > 1"
:title="$t('common:button:delete')" :title="$t('common:button:delete')"
/> />
<!--下载报告--> <!--下载报告-->

View File

@ -124,7 +124,6 @@
label="Called AE" label="Called AE"
show-overflow-tooltip show-overflow-tooltip
min-width="140" min-width="140"
sortable="custom"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span <span
@ -144,7 +143,6 @@
label="Calling AE" label="Calling AE"
show-overflow-tooltip show-overflow-tooltip
min-width="140" min-width="140"
sortable="custom"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span <span