|
|
|
@ -43,7 +43,7 @@ |
|
|
|
<el-row class="add-box"> |
|
|
|
<el-col> |
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="add()" v-hasPermi="['business:studyFormPlan:xz']">{{ |
|
|
|
$t('page.business.study.studyFormPlan.xzbd') }}</el-button> |
|
|
|
$t('page.business.study.studyFormPlan.xzpzjhb') }}</el-button> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
@ -136,6 +136,8 @@ export default { |
|
|
|
watch: { |
|
|
|
study: { |
|
|
|
handler(newVal) { |
|
|
|
this.searchForm.studySn = newVal.sn |
|
|
|
this.searchForm.studyMc = newVal.name |
|
|
|
this.searchForm.studyId = newVal.studyId |
|
|
|
this.leader = newVal.leader |
|
|
|
this.search() |
|
|
|
@ -159,6 +161,8 @@ export default { |
|
|
|
studyId: '', |
|
|
|
bdbh: '', |
|
|
|
bdmc: '', |
|
|
|
studySn: '', |
|
|
|
studyMc: '', |
|
|
|
userId: '', |
|
|
|
userMc: '', |
|
|
|
cjsjjs: '', |
|
|
|
@ -210,7 +214,7 @@ export default { |
|
|
|
add() { |
|
|
|
this.showEdit = true |
|
|
|
this.$emit('showDetail', this.showEdit) |
|
|
|
this.$refs.Bj.edit({ studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }) |
|
|
|
this.$refs.Bj.edit({studySn:this.searchForm.studySn, studyMc:this.searchForm.studyMc, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }) |
|
|
|
}, |
|
|
|
edit(row) { |
|
|
|
this.showEdit = true |
|
|
|
|