Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
8cc04c8bcf
|
|
@ -413,6 +413,14 @@ export default {
|
||||||
handleSave(isAutoCommit, isCheck = false) {
|
handleSave(isAutoCommit, isCheck = false) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
if (this.IsOnlyUploadFile && !isCheck) {
|
if (this.IsOnlyUploadFile && !isCheck) {
|
||||||
|
if (!this.form.UserName) {
|
||||||
|
this.$message.warning(this.$t("trials:researchForm:message:notUserName"))
|
||||||
|
return resolve(false)
|
||||||
|
}
|
||||||
|
if (!this.form.Phone) {
|
||||||
|
this.$message.warning(this.$t("trials:researchForm:message:notPhone"))
|
||||||
|
return resolve(false)
|
||||||
|
}
|
||||||
if (!this.form.CommonUploadRecordId) {
|
if (!this.form.CommonUploadRecordId) {
|
||||||
this.$message.warning(this.$t("trials:researchForm:message:notCommonUploadRecordId"))
|
this.$message.warning(this.$t("trials:researchForm:message:notCommonUploadRecordId"))
|
||||||
return resolve(false)
|
return resolve(false)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue