当PM只有一个课题组时,拉取影像时,不需要选择课题组
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
c8c64946a0
commit
c34200db19
|
@ -686,14 +686,20 @@ export default {
|
||||||
this.group_model.title = this.$t('trials:inspection:dialogTitle:collect')
|
this.group_model.title = this.$t('trials:inspection:dialogTitle:collect')
|
||||||
} else {
|
} else {
|
||||||
this.group_model.title = this.$t('trials:inspection:dialogTitle:pull')
|
this.group_model.title = this.$t('trials:inspection:dialogTitle:pull')
|
||||||
|
if (this.hospitalGroupList.length === 1) {
|
||||||
|
this.form.HospitalGroupIdList = [this.hospitalGroupList[0].Id]
|
||||||
|
return this.pullImage()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.group_model.visible = true
|
this.group_model.visible = true
|
||||||
},
|
},
|
||||||
// 拉取pacs数据
|
// 拉取pacs数据
|
||||||
async pullImage() {
|
async pullImage() {
|
||||||
try {
|
try {
|
||||||
|
if (this.$refs.groupFrom) {
|
||||||
let validate = await this.$refs.groupFrom.validate()
|
let validate = await this.$refs.groupFrom.validate()
|
||||||
if (!validate) return false
|
if (!validate) return false
|
||||||
|
}
|
||||||
if (this.groupStatus === 1) return this.handleSaveGroup()
|
if (this.groupStatus === 1) return this.handleSaveGroup()
|
||||||
let row = this.currentData
|
let row = this.currentData
|
||||||
let data = {
|
let data = {
|
||||||
|
|
Loading…
Reference in New Issue