|
|
@ -69,7 +69,7 @@ |
|
|
<div class="tbbd-content"> |
|
|
<div class="tbbd-content"> |
|
|
<el-row class="add-box"> |
|
|
<el-row class="add-box"> |
|
|
<el-col> |
|
|
<el-col> |
|
|
<el-button type="primary" icon="el-icon-plus" v-if="isMatchSubject" @click="add()" v-hasPermi="['business:nonTrialFormFill:xz']">{{ |
|
|
|
|
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="add()" v-hasPermi="['business:nonTrialFormFill:xz']">{{ |
|
|
$t('page.business.study.studyFormFill.xzbd') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.xzbd') }}</el-button> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
@ -169,7 +169,6 @@ |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import { studySubject_isMatchSubject } from "@/api/business/study/studySubject" |
|
|
|
|
|
import { studyFormFill_list } from '@/api/business/study/studyFormFill' |
|
|
import { studyFormFill_list } from '@/api/business/study/studyFormFill' |
|
|
import Bj from "@/views/business/study/comp/tbbd/Bj"; |
|
|
import Bj from "@/views/business/study/comp/tbbd/Bj"; |
|
|
import Xq from "@/views/business/study/comp/tbbd/Xq"; |
|
|
import Xq from "@/views/business/study/comp/tbbd/Xq"; |
|
|
@ -207,7 +206,6 @@ export default { |
|
|
this.searchForm.studyId = newVal.studyId |
|
|
this.searchForm.studyId = newVal.studyId |
|
|
this.searchForm.studySubjectId = newVal.studySubjectId |
|
|
this.searchForm.studySubjectId = newVal.studySubjectId |
|
|
this.leader = newVal.leader |
|
|
this.leader = newVal.leader |
|
|
// this.getIsMatchSubject() |
|
|
|
|
|
this.search() |
|
|
this.search() |
|
|
}, |
|
|
}, |
|
|
immediate: true, |
|
|
immediate: true, |
|
|
@ -217,7 +215,6 @@ export default { |
|
|
components: { Ghgsr, Fh, Fz, Bj, Xq, Qrfz, Sy, Jq, Gc, SelectDeptUser, SelectDeptUserDialog }, |
|
|
components: { Ghgsr, Fh, Fz, Bj, Xq, Qrfz, Sy, Jq, Gc, SelectDeptUser, SelectDeptUserDialog }, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
isMatchSubject:false, |
|
|
|
|
|
leader: null, |
|
|
leader: null, |
|
|
showFh: false, |
|
|
showFh: false, |
|
|
showAudit: false, |
|
|
showAudit: false, |
|
|
@ -250,11 +247,6 @@ export default { |
|
|
}, |
|
|
}, |
|
|
created() { }, |
|
|
created() { }, |
|
|
methods: { |
|
|
methods: { |
|
|
getIsMatchSubject() { |
|
|
|
|
|
studySubject_isMatchSubject({studySubjectId:this.searchForm.studySubjectId }).then(response => { |
|
|
|
|
|
this.isMatchSubject=response.data |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
ghgsr(row) { |
|
|
ghgsr(row) { |
|
|
this.currentRow = row |
|
|
this.currentRow = row |
|
|
this.$refs.selectDeptUserDialog.show(null, null) |
|
|
this.$refs.selectDeptUserDialog.show(null, null) |
|
|
|