新增受试者正则修改
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-03-24 16:41:04 +08:00
parent 4f38b77a53
commit 3bfab54ef1
3 changed files with 3 additions and 3 deletions

View File

@ -132,7 +132,7 @@
clearable clearable
@input=" @input="
addSubjectForm.SubjectCode = addSubjectForm.SubjectCode.replace( addSubjectForm.SubjectCode = addSubjectForm.SubjectCode.replace(
/[^0-9a-zA-Z]/g, /[^0-9a-zA-Z\_\-]/g,
'' ''
) )
" "

View File

@ -475,6 +475,7 @@ export default {
} }
}, },
async getList() { async getList() {
if (!this.searchData.TrialId) return false
if (!this.searchData.PacsDicomAEId) if (!this.searchData.PacsDicomAEId)
return this.$message.warning( return this.$message.warning(
this.$t('trials:inspection:pullImage:message:mustPacsDicomAEId') this.$t('trials:inspection:pullImage:message:mustPacsDicomAEId')
@ -535,7 +536,6 @@ export default {
}, },
// //
async getAEList(f = false) { async getAEList(f = false) {
if (!this.searchData.TrialId) return false
let data = { let data = {
CalledAE: null, CalledAE: null,
IP: null, IP: null,

View File

@ -145,7 +145,7 @@
clearable clearable
@input=" @input="
addSubjectForm2.SubjectCode = addSubjectForm2.SubjectCode =
addSubjectForm2.SubjectCode.replace(/[^0-9a-zA-Z]/g, '') addSubjectForm2.SubjectCode.replace(/[^0-9a-zA-Z\_\-]/g, '')
" "
@focus="errMessage = null" @focus="errMessage = null"
></el-input> ></el-input>