除名修复增加文书下载

This commit is contained in:
zhenghl 2026-01-14 17:35:00 +08:00
parent 165fe988ef
commit fa68b55c71
1 changed files with 12 additions and 0 deletions

View File

@ -92,6 +92,12 @@
{{ detailInfo?.repairInfo?.remark || '' }} {{ detailInfo?.repairInfo?.remark || '' }}
</td> </td>
</tr> </tr>
<tr>
<th>文书</th>
<td>
<el-button type="primary" @click="downLoadFile">下载</el-button>
</td>
</tr>
</table> </table>
</div> </div>
</div> </div>
@ -141,7 +147,9 @@
</template> </template>
<script> <script>
import { downLoadFile } from '@/api/punishment';
import { expelledRepairGetBiz } from '@/api/除名公告' import { expelledRepairGetBiz } from '@/api/除名公告'
import Vue from 'vue'
export default { export default {
data() { data() {
return { return {
@ -190,6 +198,10 @@ export default {
}).catch(() => { }).catch(() => {
this.loading = false this.loading = false
}) })
},
downLoadFile() {
const fileUrl = `${process.env.VUE_APP_BASE_API}/expelled/downloadDoc?attachType=1&bizId=${this.bizId}`
window.open(fileUrl)
} }
} }
} }