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