|
|
|
@ -76,9 +76,9 @@ |
|
|
|
</el-row> |
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="list"> |
|
|
|
<el-table-column :label="$t('page.business.form.bh')" prop="bdbh" :show-overflow-tooltip="true"/> |
|
|
|
<el-table-column :label="$t('page.business.form.bdmc')" prop="bdmc" :show-overflow-tooltip="true"/> |
|
|
|
<el-table-column :label="$t('page.business.form.xtmbmc')" prop="templateMc" :show-overflow-tooltip="true"/> |
|
|
|
<el-table-column :label="$t('page.business.form.bh')" prop="bdbh" :show-overflow-tooltip="true" /> |
|
|
|
<el-table-column :label="$t('page.business.form.bdmc')" prop="bdmc" :show-overflow-tooltip="true" /> |
|
|
|
<el-table-column :label="$t('page.business.form.xtmbmc')" prop="templateMc" :show-overflow-tooltip="true" /> |
|
|
|
<el-table-column :label="$t('page.business.form.cjsj')" align="center" prop="createTime" width="140" /> |
|
|
|
<el-table-column :label="$t('page.business.form.gsr')" align="center" prop="userMc" width="100" /> |
|
|
|
<el-table-column :label="$t('page.business.form.status')" prop="status" align="center" width="100"> |
|
|
|
@ -172,6 +172,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import { studySubject_isMatchSubject, studySubject_isQa } from "@/api/business/study/studySubject" |
|
|
|
import { studyMethod_getReadAllMethodStatus } from '@/api/business/study/studyMethod' |
|
|
|
import { studyFormFill_list } from '@/api/business/study/studyFormFill' |
|
|
|
import Bj from "./tbbd/Bj"; |
|
|
|
import Xq from "./tbbd/Xq"; |
|
|
|
@ -252,7 +253,9 @@ export default { |
|
|
|
currentRow: null |
|
|
|
} |
|
|
|
}, |
|
|
|
created() { this.getIsQa() }, |
|
|
|
created() { |
|
|
|
this.getIsQa() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
getIsMatchSubject() { |
|
|
|
studySubject_isMatchSubject({ studySubjectId: this.searchForm.studySubjectId }).then(response => { |
|
|
|
@ -264,25 +267,49 @@ export default { |
|
|
|
this.isQa = response.data |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
ghgsr(row) { |
|
|
|
this.currentRow = row |
|
|
|
this.$refs.selectDeptUserDialog.show(null, null) |
|
|
|
this.$modal.loading() |
|
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
|
this.currentRow = row |
|
|
|
this.$refs.selectDeptUserDialog.show(null, null) |
|
|
|
}).finally(() => { |
|
|
|
this.$modal.closeLoading() |
|
|
|
}) |
|
|
|
}, |
|
|
|
ghgsrChange(val) { |
|
|
|
this.$refs.Ghgsr.show({ id: this.currentRow.id, userId: val.id, userMc: val.name }) |
|
|
|
}, |
|
|
|
jq(row) { |
|
|
|
this.$refs.Jq.show(row) |
|
|
|
this.$modal.loading() |
|
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
|
this.$refs.Jq.show(row) |
|
|
|
}).finally(() => { |
|
|
|
this.$modal.closeLoading() |
|
|
|
}) |
|
|
|
}, |
|
|
|
qrfz(row) { |
|
|
|
this.$refs.Qrfz.show(row) |
|
|
|
this.$modal.loading() |
|
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
|
this.$refs.Qrfz.show(row) |
|
|
|
}).finally(() => { |
|
|
|
this.$modal.closeLoading() |
|
|
|
}) |
|
|
|
}, |
|
|
|
gc(row) { |
|
|
|
this.$refs.Gc.show(row) |
|
|
|
this.$modal.loading() |
|
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
|
this.$refs.Gc.show(row) |
|
|
|
}).finally(() => { |
|
|
|
this.$modal.closeLoading() |
|
|
|
}) |
|
|
|
}, |
|
|
|
fz(row) { |
|
|
|
this.$refs.Fz.show(row) |
|
|
|
this.$modal.loading() |
|
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
|
this.$refs.Fz.show(row) |
|
|
|
}).finally(() => { |
|
|
|
this.$modal.closeLoading() |
|
|
|
}) |
|
|
|
}, |
|
|
|
userChange(val) { |
|
|
|
this.searchForm.userId = val.id |
|
|
|
@ -323,24 +350,33 @@ export default { |
|
|
|
// this.showEdit = true |
|
|
|
// this.$emit('showDetail', this.showEdit) |
|
|
|
// this.$refs.Bj.edit({ studySn:this.searchForm.studySn, studyMc:this.searchForm.studyMc,studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }) |
|
|
|
|
|
|
|
let params=caesarCipher(JSON.stringify({ |
|
|
|
url: this.$route.fullPath, |
|
|
|
studyId: this.searchForm.studyId, |
|
|
|
id:null |
|
|
|
})) |
|
|
|
this.$tab.openPage(this.$t('page.business.study.studyFormFill.xzbd'), '/study/formFillBj/'+params) |
|
|
|
this.$modal.loading() |
|
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }).then(response => { |
|
|
|
let params = caesarCipher(JSON.stringify({ |
|
|
|
url: this.$route.fullPath, |
|
|
|
studyId: this.searchForm.studyId, |
|
|
|
id: null |
|
|
|
})) |
|
|
|
this.$tab.openPage(this.$t('page.business.study.studyFormFill.xzbd'), '/study/formFillBj/' + params) |
|
|
|
}).finally(() => { |
|
|
|
this.$modal.closeLoading() |
|
|
|
}) |
|
|
|
}, |
|
|
|
edit(row) { |
|
|
|
// this.showEdit = true |
|
|
|
// this.$emit('showDetail', this.showEdit) |
|
|
|
// this.$refs.Bj.edit(row) |
|
|
|
let params=caesarCipher(JSON.stringify({ |
|
|
|
url: this.$route.fullPath, |
|
|
|
studyId: this.searchForm.studyId, |
|
|
|
formId:row.id |
|
|
|
})) |
|
|
|
this.$tab.openPage(row.bdmc, '/study/formFillBj/' +params) |
|
|
|
this.$modal.loading() |
|
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }).then(response => { |
|
|
|
let params = caesarCipher(JSON.stringify({ |
|
|
|
url: this.$route.fullPath, |
|
|
|
studyId: this.searchForm.studyId, |
|
|
|
formId: row.id |
|
|
|
})) |
|
|
|
this.$tab.openPage(row.bdmc, '/study/formFillBj/' + params) |
|
|
|
}).finally(() => { |
|
|
|
this.$modal.closeLoading() |
|
|
|
}) |
|
|
|
}, |
|
|
|
bjClose() { |
|
|
|
this.showEdit = false |
|
|
|
@ -373,9 +409,14 @@ export default { |
|
|
|
this.$refs.Sy.show(row) |
|
|
|
}, |
|
|
|
fh(row) { |
|
|
|
this.showFh = true |
|
|
|
this.$emit('showDetail', this.showFh) |
|
|
|
this.$refs.Fh.show(row) |
|
|
|
this.$modal.loading() |
|
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }).then(response => { |
|
|
|
this.showFh = true |
|
|
|
this.$emit('showDetail', this.showFh) |
|
|
|
this.$refs.Fh.show(row) |
|
|
|
}).finally(() => { |
|
|
|
this.$modal.closeLoading() |
|
|
|
}) |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
|