除名修复增加文书下载
This commit is contained in:
parent
165fe988ef
commit
fa68b55c71
|
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue