|
|
|
@ -9,6 +9,7 @@ |
|
|
|
</div> |
|
|
|
<div class="right-top"> |
|
|
|
<el-button @click="cancel()">{{ $t('form.cancel') }}</el-button> |
|
|
|
<el-button @click="exportPDF()">{{ $t('form.export') }}</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="detail-title"><img src="@/assets/images/detail-title.png">{{ $t('page.business.resource.sj.sjxq') |
|
|
|
@ -157,7 +158,7 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { sj_info, tzList, jcgjList } from "@/api/business/sj/sj" |
|
|
|
import { sj_info, tzList, jcgjList, exportDetail } from "@/api/business/sj/sj" |
|
|
|
import JcgjList from "@/views/business/comps/common/JcgjList"; |
|
|
|
|
|
|
|
export default { |
|
|
|
@ -187,8 +188,16 @@ export default { |
|
|
|
created() { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
exportExcel() { |
|
|
|
alert('todo') |
|
|
|
exportPDF() { |
|
|
|
this.$modal.loading() |
|
|
|
exportDetail({ id: this.form.id,lang:this.$store.getters.language.split("_")[0],version:this.appTitle }).then(response => { |
|
|
|
window.open(process.env.VUE_APP_FILE_DOMAIN +response.msg) |
|
|
|
this.saveSimpleLog({name:this.form.bh,nameEn:this.form.bh,jcmc:'试剂导出',jcmcEn:'Reagent Export'}) |
|
|
|
this.$modal.closeLoading() |
|
|
|
}).finally(() => { |
|
|
|
this.$modal.closeLoading() |
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
jcgjListHandleQuery(val) { |
|
|
|
this.$modal.loading() |
|
|
|
|