邮件通知更新调研表去除更新调研表按钮
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
ecf4c74259
commit
a13ddf70b4
|
|
@ -39,11 +39,11 @@
|
|||
</el-form-item>
|
||||
<el-form-item v-if="form.TrialSiteId && isHaveSiteSurveyRecord" label="" style="text-align:right;">
|
||||
<!-- 更新调研表 -->
|
||||
<el-link v-if="!form.IsUpdate" type="primary" @click="form.IsUpdate = true">
|
||||
<el-link v-if="!form.IsUpdate && isNeedUpload" type="primary" @click="form.IsUpdate = true">
|
||||
{{ $t('trials:researchForm:button:updateQsForm') }}
|
||||
</el-link>
|
||||
<!-- 取消更新调研表 form.ReplaceUserEmailOrPhone = '' -->
|
||||
<el-link v-else type="primary" @click="form.IsUpdate = false;">
|
||||
<el-link v-if="form.IsUpdate && isNeedUpload" type="primary" @click="form.IsUpdate = false;">
|
||||
{{ $t('trials:researchForm:button:cancelUpdateQsForm') }}
|
||||
</el-link>
|
||||
</el-form-item>
|
||||
|
|
@ -190,7 +190,8 @@ export default {
|
|||
msg: '',
|
||||
lang: 'zh',
|
||||
isHaveSiteSurveyRecord: false,
|
||||
isUpload: false
|
||||
isUpload: false,
|
||||
isNeedUpload: true
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
|
@ -219,6 +220,9 @@ export default {
|
|||
} else {
|
||||
this.form.EmailOrPhone = oldEMail
|
||||
}
|
||||
if ((email && email !== 'null') || (oldEMail && oldEMail !== 'null')) {
|
||||
this.isNeedUpload = false
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue