|
|
@ -55,7 +55,7 @@ |
|
|
<el-row :gutter="10" class="mb8"> |
|
|
<el-row :gutter="10" class="mb8"> |
|
|
<el-col :span="1.5"> |
|
|
<el-col :span="1.5"> |
|
|
<!-- 更新物资库 --> |
|
|
<!-- 更新物资库 --> |
|
|
<el-button type="primary" @click="handlePlff" v-hasPermi="['business:resource:gsp:gxwzk']">{{ |
|
|
|
|
|
|
|
|
<el-button type="primary" @click="handleGxwzk" v-hasPermi="['business:resource:gsp:gxwzk']">{{ |
|
|
$t('page.business.resource.gsp.gxwzk') }}</el-button> |
|
|
$t('page.business.resource.gsp.gxwzk') }}</el-button> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="1.5"> |
|
|
<el-col :span="1.5"> |
|
|
@ -289,6 +289,10 @@ export default { |
|
|
]), |
|
|
]), |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
// 更新试剂库 |
|
|
|
|
|
handleGxwzk() { |
|
|
|
|
|
this.saveSimpleLog({jcmc:'更新物资库',jcmcEn:'Refresh'}) |
|
|
|
|
|
}, |
|
|
//导出 |
|
|
//导出 |
|
|
exportExcel() { |
|
|
exportExcel() { |
|
|
let that = this |
|
|
let that = this |
|
|
@ -402,6 +406,7 @@ export default { |
|
|
a.href = uri + window.btoa(unescape(encodeURIComponent(exportTemplate))) |
|
|
a.href = uri + window.btoa(unescape(encodeURIComponent(exportTemplate))) |
|
|
a.click() |
|
|
a.click() |
|
|
that.$modal.closeLoading() |
|
|
that.$modal.closeLoading() |
|
|
|
|
|
this.saveSimpleLog({name:'',nameEn:'',jcmc:'供试品导出',jcmcEn:'Test Item Export'}) |
|
|
}).finally(() => { |
|
|
}).finally(() => { |
|
|
that.$modal.closeLoading() |
|
|
that.$modal.closeLoading() |
|
|
}) |
|
|
}) |
|
|
|