修改冀北问题

This commit is contained in:
GGJ
2024-09-24 16:23:55 +08:00
parent b1a88a7cda
commit f95dc42b3f
7 changed files with 63 additions and 56 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div>
<el-drawer v-model="drawer" size="1000px">
<el-drawer v-model="drawer" size="60%">
<div class="box mt20">
<el-upload :show-file-list="false" action="" :auto-upload="false" class="ml10" :on-change="choose"
v-if="information">
@@ -53,10 +53,10 @@ const open = (row: any) => {
// console.log('🚀 ~ open ~ row:', row)
// url.value = row
drawer.value = true
getFileNameAndFilePath({ filePath: row }).then(res => {
url.value = res.data.url
})
url.value = `/api-doc/excelreport` + row
// getFileNameAndFilePath({ filePath: row }).then(res => {
// url.value = res.data.url
// })
}
// 上传
const choose = (e: any) => {

View File

@@ -4,7 +4,7 @@
<TableHeader ref="TableHeaderRef" datePicker>
<template #operation>
<el-button icon="el-icon-Plus" type="primary" @click="addUser" v-if="information">新增</el-button>
<el-button icon="el-icon-View" type="primary" @click="checkOutTheCriteria">查看标准</el-button>
<el-button icon="el-icon-View" type="primary" @click="checkOutTheCriteria">查看常见治理措施</el-button>
<!-- <el-upload :show-file-list="false" action="" :auto-upload="false" class="ml10" :on-change="choose"
v-if="information">