Compare commits

..

2 Commits

Author SHA1 Message Date
zhenghl 3c6f16c7c2 Merge branch 'master' of http://47.107.61.133:3000/nm-project/aiccs 2026-01-14 17:35:06 +08:00
zhenghl fa68b55c71 除名修复增加文书下载 2026-01-14 17:35:00 +08:00
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)
} }
} }
} }