|
|
@ -61,9 +61,9 @@ |
|
|
</el-row> |
|
|
</el-row> |
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="list"> |
|
|
<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.cjsj')" align="center" prop="createTime" width="140" /> |
|
|
<el-table-column :label="$t('page.business.form.cjr')" align="center" prop="userMc" width="100" /> |
|
|
<el-table-column :label="$t('page.business.form.cjr')" align="center" prop="userMc" width="100" /> |
|
|
|
|
|
|
|
|
@ -105,11 +105,13 @@ |
|
|
<el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:nonTrialFormPre:sh']" |
|
|
<el-button type="text" @click="audit(scope.row)" v-hasPermi="['business:nonTrialFormPre:sh']" |
|
|
v-if="scope.row.bdzt === 3">{{ $t('page.business.form.audit') }}</el-button> |
|
|
v-if="scope.row.bdzt === 3">{{ $t('page.business.form.audit') }}</el-button> |
|
|
</template> |
|
|
</template> |
|
|
<template v-if="scope.row.bdzt === 5&&id==scope.row.userId"> |
|
|
|
|
|
<el-button type="text" @click="gb(scope.row)">{{ $t('page.business.study.studyFormPre.guanbi') }}</el-button> |
|
|
|
|
|
|
|
|
<template v-if="scope.row.bdzt === 5 && id == scope.row.userId"> |
|
|
|
|
|
<el-button type="text" @click="gb(scope.row)">{{ $t('page.business.study.studyFormPre.guanbi') |
|
|
|
|
|
}}</el-button> |
|
|
</template> |
|
|
</template> |
|
|
<template v-if="scope.row.bdzt === 9&&id==scope.row.sjshryId"> |
|
|
|
|
|
<el-button type="text" @click="qrgb(scope.row)">{{ $t('page.business.study.studyFormPre.qrgb') }}</el-button> |
|
|
|
|
|
|
|
|
<template v-if="scope.row.bdzt === 9 && id == scope.row.sjshryId"> |
|
|
|
|
|
<el-button type="text" @click="qrgb(scope.row)">{{ $t('page.business.study.studyFormPre.qrgb') |
|
|
|
|
|
}}</el-button> |
|
|
</template> |
|
|
</template> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
@ -126,9 +128,9 @@ |
|
|
<!-- 审核 --> |
|
|
<!-- 审核 --> |
|
|
<Sh v-show="showAudit" key="Sh" ref="Sh" @close="shClose" /> |
|
|
<Sh v-show="showAudit" key="Sh" ref="Sh" @close="shClose" /> |
|
|
<!-- 关闭 --> |
|
|
<!-- 关闭 --> |
|
|
<Gb key="Gb" ref="Gb" @callback="search" /> |
|
|
|
|
|
|
|
|
<Gb key="Gb" ref="Gb" @callback="search" /> |
|
|
<!-- 确认关闭 --> |
|
|
<!-- 确认关闭 --> |
|
|
<Qrgb key="Qrgb" ref="Qrgb" @callback="search" /> |
|
|
|
|
|
|
|
|
<Qrgb key="Qrgb" ref="Qrgb" @callback="search" /> |
|
|
<el-dialog :title="$t('page.business.study.studyFormPre.xjbd')" :visible.sync="open" width="500px" append-to-body |
|
|
<el-dialog :title="$t('page.business.study.studyFormPre.xjbd')" :visible.sync="open" width="500px" append-to-body |
|
|
:close-on-click-modal="false"> |
|
|
:close-on-click-modal="false"> |
|
|
<el-form ref="form" label-width="120px"> |
|
|
<el-form ref="form" label-width="120px"> |
|
|
@ -179,7 +181,8 @@ |
|
|
|
|
|
|
|
|
<el-dialog :title="$t('page.business.study.studyFormPre.yulan')" :visible.sync="openPreview" width="80%" |
|
|
<el-dialog :title="$t('page.business.study.studyFormPre.yulan')" :visible.sync="openPreview" width="80%" |
|
|
append-to-body :close-on-click-modal="false"> |
|
|
append-to-body :close-on-click-modal="false"> |
|
|
<TemplateTable ref="templateTable" :sn="formDatePreview.templateSn" v-if="openPreview" :templateData="formDatePreview" fillType="detail" /> |
|
|
|
|
|
|
|
|
<TemplateTable ref="templateTable" :sn="formDatePreview.templateSn" v-if="openPreview" |
|
|
|
|
|
:templateData="formDatePreview" fillType="detail" /> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
<Sign ref="fsySignRef" @callback="doSign" /> |
|
|
<Sign ref="fsySignRef" @callback="doSign" /> |
|
|
@ -190,7 +193,8 @@ |
|
|
<script> |
|
|
<script> |
|
|
import { checkPermi, checkRole } from "@/utils/permission"; |
|
|
import { checkPermi, checkRole } from "@/utils/permission"; |
|
|
import { nonTrial_checkSd, nonTrial_sd } from "@/api/business/form/nonTrial" |
|
|
import { nonTrial_checkSd, nonTrial_sd } from "@/api/business/form/nonTrial" |
|
|
import { studyFormPre_list, studyFormPre_info,studyFormPre_studyList, studyFormPre_studyFormPreList } from '@/api/business/study/studyFormPre' |
|
|
|
|
|
|
|
|
import { studyFormPre_list, studyFormPre_info, studyFormPre_studyList, studyFormPre_studyFormPreList } from '@/api/business/study/studyFormPre' |
|
|
|
|
|
import { studyMethod_getReadAllMethodStatus } from '@/api/business/study/studyMethod' |
|
|
import TemplateTable from '@/views/business/comps/template/TemplateTable'; |
|
|
import TemplateTable from '@/views/business/comps/template/TemplateTable'; |
|
|
import Bj from "@/views/business/study/comp/ytbd/Bj"; |
|
|
import Bj from "@/views/business/study/comp/ytbd/Bj"; |
|
|
import Xq from "@/views/business/study/comp/ytbd/Xq"; |
|
|
import Xq from "@/views/business/study/comp/ytbd/Xq"; |
|
|
@ -232,7 +236,7 @@ export default { |
|
|
deep: true |
|
|
deep: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
components: { Qrgb,Gb,Bj, Xq, Sh, SelectDeptUser, TemplateTable, Sign }, |
|
|
|
|
|
|
|
|
components: { Qrgb, Gb, Bj, Xq, Sh, SelectDeptUser, TemplateTable, Sign }, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
formCount: 0, |
|
|
formCount: 0, |
|
|
@ -304,7 +308,7 @@ export default { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
previewFzbd() { |
|
|
previewFzbd() { |
|
|
this.$modal.loading() |
|
|
|
|
|
|
|
|
this.$modal.loading() |
|
|
studyFormPre_info({ id: this.formXz.formPreId }).then(response => { |
|
|
studyFormPre_info({ id: this.formXz.formPreId }).then(response => { |
|
|
this.formDatePreview = _.merge({}, response.data, { |
|
|
this.formDatePreview = _.merge({}, response.data, { |
|
|
studySn: this.searchForm.studySn, |
|
|
studySn: this.searchForm.studySn, |
|
|
@ -359,7 +363,12 @@ export default { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
showAdd() { |
|
|
showAdd() { |
|
|
this.open = true |
|
|
|
|
|
|
|
|
this.$modal.loading() |
|
|
|
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
|
|
|
this.open = true |
|
|
|
|
|
}).finally(() => { |
|
|
|
|
|
this.$modal.closeLoading() |
|
|
|
|
|
}) |
|
|
}, |
|
|
}, |
|
|
userChange(val) { |
|
|
userChange(val) { |
|
|
this.searchForm.userId = val.id |
|
|
this.searchForm.userId = val.id |
|
|
@ -401,9 +410,14 @@ export default { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
edit(row) { |
|
|
edit(row) { |
|
|
this.showEdit = true |
|
|
|
|
|
this.$emit('showDetail', this.showEdit) |
|
|
|
|
|
this.$refs.Bj.edit(row) |
|
|
|
|
|
|
|
|
this.$modal.loading() |
|
|
|
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
|
|
|
this.showEdit = true |
|
|
|
|
|
this.$emit('showDetail', this.showEdit) |
|
|
|
|
|
this.$refs.Bj.edit(row) |
|
|
|
|
|
}).finally(() => { |
|
|
|
|
|
this.$modal.closeLoading() |
|
|
|
|
|
}) |
|
|
}, |
|
|
}, |
|
|
bjClose() { |
|
|
bjClose() { |
|
|
this.showEdit = false |
|
|
this.showEdit = false |
|
|
@ -431,10 +445,20 @@ export default { |
|
|
this.$refs.Sh.show(row) |
|
|
this.$refs.Sh.show(row) |
|
|
}, |
|
|
}, |
|
|
gb(row) { |
|
|
gb(row) { |
|
|
this.$refs.Gb.show(row) |
|
|
|
|
|
|
|
|
this.$modal.loading() |
|
|
|
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
|
|
|
this.$refs.Gb.show(row) |
|
|
|
|
|
}).finally(() => { |
|
|
|
|
|
this.$modal.closeLoading() |
|
|
|
|
|
}) |
|
|
}, |
|
|
}, |
|
|
qrgb(row) { |
|
|
qrgb(row) { |
|
|
this.$refs.Qrgb.show(row) |
|
|
|
|
|
|
|
|
this.$modal.loading() |
|
|
|
|
|
studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId }).then(response => { |
|
|
|
|
|
this.$refs.Qrgb.show(row) |
|
|
|
|
|
}).finally(() => { |
|
|
|
|
|
this.$modal.closeLoading() |
|
|
|
|
|
}) |
|
|
}, |
|
|
}, |
|
|
sdsy() { |
|
|
sdsy() { |
|
|
this.$modal.loading() |
|
|
this.$modal.loading() |
|
|
|