Browse Source

feat: [试验管理] 进入试验参数修改

master
memorylkf 4 days ago
parent
commit
924b11e093
9 changed files with 22 additions and 51 deletions
  1. +4
    -12
      src/views/business/study/comp/syff.vue
  2. +1
    -1
      src/views/business/study/comp/syffList.vue
  3. +4
    -12
      src/views/business/study/comp/syj.vue
  4. +1
    -1
      src/views/business/study/comp/syjList.vue
  5. +1
    -0
      src/views/business/study/comp/syxx.vue
  6. +5
    -12
      src/views/business/study/comp/tbbd.vue
  7. +1
    -1
      src/views/business/study/comp/tbbdList.vue
  8. +4
    -11
      src/views/business/study/comp/ytbd.vue
  9. +1
    -1
      src/views/business/study/comp/ytbdList.vue

+ 4
- 12
src/views/business/study/comp/syff.vue View File

@ -3,7 +3,7 @@
<div class="tbbd-left" v-show="!showDetail">
<sbject :study="study" @change="changeSubject" />
</div>
<div class="tbbd-right" v-if="studyInfo.studySubjectId!=''">
<div class="tbbd-right" v-if="studyInfo.studySubjectId!='' && studyInfo.studySubjectId!=undefined">
<syffList :study="studyInfo" @showDetail="showDetailCallback"/>
</div>
</div>
@ -25,14 +25,10 @@ export default {
watch:{
study: {
immediate: true,
deep:true,
handler(v) {
this.studyInfo = {
studyId:v.id,
studyLeader:v.leader,
studySubjectId:''
}
this.studyInfo = v
},
deep: true,
},
},
components: {sbject, syffList},
@ -41,11 +37,7 @@ export default {
data() {
return {
showDetail:false,
studyInfo:{
studyId:this.study.id,
studyLeader:this.study.leader,
studySubjectId:''
}
studyInfo:{}
}
},
created() {},

+ 1
- 1
src/views/business/study/comp/syffList.vue View File

@ -107,7 +107,7 @@ export default {
handler(newVal) {
this.searchForm.studySn = newVal.sn
this.searchForm.studyMc = newVal.name
this.searchForm.studyId = newVal.studyId
this.searchForm.studyId = newVal.id
this.searchForm.studySubjectId = newVal.studySubjectId
this.leader = newVal.leader
this.search()

+ 4
- 12
src/views/business/study/comp/syj.vue View File

@ -4,7 +4,7 @@
<div class="tbbd-left" v-show="!showDetail">
<sbject :study="study" @change="changeSubject" />
</div>
<div class="tbbd-right" v-if="studyInfo.studySubjectId != ''">
<div class="tbbd-right" v-if="studyInfo.studySubjectId!='' && studyInfo.studySubjectId!=undefined">
<syjList :study="studyInfo" @showDetail="showDetailCallback" />
</div>
</div>
@ -25,15 +25,11 @@ export default {
},
watch: {
study: {
deep: true,
immediate: true,
handler(v) {
this.studyInfo = {
studyId: v.id,
studyLeader: v.leader,
studySubjectId: ''
}
this.studyInfo = v
},
deep: true,
},
},
components: { sbject, syjList },
@ -42,11 +38,7 @@ export default {
data() {
return {
showDetail: false,
studyInfo: {
studyId: this.study.id,
studyLeader: this.study.leader,
studySubjectId: ''
}
studyInfo: {}
}
},
created() { },

+ 1
- 1
src/views/business/study/comp/syjList.vue View File

@ -125,7 +125,7 @@ export default {
handler(newVal) {
this.searchForm.studySn = newVal.sn
this.searchForm.studyMc = newVal.name
this.searchForm.studyId = newVal.studyId
this.searchForm.studyId = newVal.id
this.searchForm.studySubjectId = newVal.studySubjectId
this.leader = newVal.leader
this.search()

+ 1
- 0
src/views/business/study/comp/syxx.vue View File

@ -76,6 +76,7 @@ export default {
watch: {
study: {
immediate: true,
deep:true,
handler(v) {
this.id = v.id
this.getStudyInfo()

+ 5
- 12
src/views/business/study/comp/tbbd.vue View File

@ -3,7 +3,7 @@
<div class="tbbd-left" v-show="!showDetail">
<sbject :study="study" @change="changeSubject" />
</div>
<div class="tbbd-right" v-if="studyInfo.studySubjectId!=''">
<div class="tbbd-right" v-if="studyInfo.studySubjectId!='' && studyInfo.studySubjectId!=undefined">
<tbbdList :study="studyInfo" @showDetail="showDetailCallback"/>
</div>
</div>
@ -25,13 +25,10 @@ export default {
watch:{
study: {
immediate: true,
deep:true,
handler(v) {
this.studyInfo = {
studyId:v.id,
studyLeader:v.leader,
studySubjectId:''
}
}
this.studyInfo = v
},
},
},
components: {sbject,tbbdList},
@ -40,11 +37,7 @@ export default {
data() {
return {
showDetail:false,
studyInfo:{
studyId:this.study.id,
studyLeader:this.study.leader,
studySubjectId:''
}
studyInfo:{}
}
},
created() {},

+ 1
- 1
src/views/business/study/comp/tbbdList.vue View File

@ -204,7 +204,7 @@ export default {
handler(newVal) {
this.searchForm.studySn = newVal.sn
this.searchForm.studyMc = newVal.name
this.searchForm.studyId = newVal.studyId
this.searchForm.studyId = newVal.id
this.searchForm.studySubjectId = newVal.studySubjectId
this.leader = newVal.leader
this.getIsMatchSubject()

+ 4
- 11
src/views/business/study/comp/ytbd.vue View File

@ -3,7 +3,7 @@
<div class="ytbd-left" v-show="!showDetail">
<sbject :study="study" :operate="true" @change="changeSubject" />
</div>
<div class="ytbd-right" v-if="studyInfo.studySubjectId!=''">
<div class="ytbd-right" v-if="studyInfo.studySubjectId!='' && studyInfo.studySubjectId!=undefined">
<ytbdList :study="studyInfo" @showDetail="showDetailCallback"/>
</div>
</div>
@ -25,12 +25,9 @@ export default {
watch:{
study: {
immediate: true,
deep:true,
handler(v) {
this.studyInfo = {
studyId:v.id,
studyLeader:v.leader,
studySubjectId:''
}
this.studyInfo = v
}
},
},
@ -40,11 +37,7 @@ export default {
data() {
return {
showDetail:false,
studyInfo:{
studyId:this.study.id,
studyLeader:this.study.leader,
studySubjectId:''
}
studyInfo:{}
}
},
created() {},

+ 1
- 1
src/views/business/study/comp/ytbdList.vue View File

@ -199,7 +199,7 @@ export default {
handler(newVal) {
this.searchForm.studySn = newVal.sn
this.searchForm.studyMc = newVal.name
this.searchForm.studyId = newVal.studyId
this.searchForm.studyId = newVal.id
this.searchForm.studySubjectId = newVal.studySubjectId
this.leader = newVal.leader
this.search()

Loading…
Cancel
Save