|
@@ -2,7 +2,7 @@
|
|
|
* @Author: wanglj wanglijie@dashoo.cn
|
|
* @Author: wanglj wanglijie@dashoo.cn
|
|
|
* @Date: 2025-03-24 09:17:15
|
|
* @Date: 2025-03-24 09:17:15
|
|
|
* @LastEditors: wanglj wanglijie@dashoo.cn
|
|
* @LastEditors: wanglj wanglijie@dashoo.cn
|
|
|
- * @LastEditTime: 2025-04-11 17:31:14
|
|
|
|
|
|
|
+ * @LastEditTime: 2025-04-15 19:27:30
|
|
|
* @FilePath: \labsop_h5\src\view\instr\detail.vue
|
|
* @FilePath: \labsop_h5\src\view\instr\detail.vue
|
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
|
-->
|
|
-->
|
|
@@ -116,6 +116,7 @@
|
|
|
const expenseRemindApi = useExpenseRemindApi()
|
|
const expenseRemindApi = useExpenseRemindApi()
|
|
|
const fundApi = useFundApi()
|
|
const fundApi = useFundApi()
|
|
|
const dictApi = useDictApi()
|
|
const dictApi = useDictApi()
|
|
|
|
|
+ const claimApi = useClaimApi()
|
|
|
const expenseApi = useExpenseApi()
|
|
const expenseApi = useExpenseApi()
|
|
|
const configApi = useConfigApi()
|
|
const configApi = useConfigApi()
|
|
|
const fundCardApi = useFundCardApi()
|
|
const fundCardApi = useFundCardApi()
|
|
@@ -346,7 +347,16 @@
|
|
|
const onPreview = (url: string) => {
|
|
const onPreview = (url: string) => {
|
|
|
showImagePreview([url])
|
|
showImagePreview([url])
|
|
|
}
|
|
}
|
|
|
- const onClickButton = async () => {}
|
|
|
|
|
|
|
+ const onClickButton = async () => {
|
|
|
|
|
+ const [err, res]:ToResponse = await to(rebateApi.exportPrintDataPDF({id: state.form.id}))
|
|
|
|
|
+ if (err) return
|
|
|
|
|
+ const link = document.createElement('a')
|
|
|
|
|
+ link.href = 'http://192.168.0.215:36000' + res.data
|
|
|
|
|
+ link.target = '_blank'
|
|
|
|
|
+ link.style.display = 'none'
|
|
|
|
|
+ document.body.append(link)
|
|
|
|
|
+ link.click()
|
|
|
|
|
+ }
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
const id = route.query.id ? +route.query.id : 0
|
|
const id = route.query.id ? +route.query.id : 0
|
|
|
const remindId = route.query.remindId ? +route.query.remindId : 0
|
|
const remindId = route.query.remindId ? +route.query.remindId : 0
|