Compare commits

...

2 Commits

3 changed files with 18 additions and 2 deletions

View File

@ -34,6 +34,11 @@
<el-input v-model="form.remRemark" type="textarea" style="display:inline-block;width:1000px" :autosize="{ minRows: 3, maxRows: 6 }" disabled />
</el-form-item>
</el-row>
<el-row>
<el-form-item label="文书" class="bt0">
<el-button type="primary" @click="downLoadFile">下载</el-button>
</el-form-item>
</el-row>
<el-row>
<el-form-item label="材料列表" class="bt0">
<ul style="list-style:none;padding:0;margin:5px">
@ -420,6 +425,10 @@ export default {
this.$message.error(res.msg)
}
})
},
downLoadFile() {
const fileUrl = `${process.env.VUE_APP_BASE_API}/expelled/downloadDoc?attachType=1&bizId=${this.bizId}`
window.open(fileUrl)
}
}
}

View File

@ -147,8 +147,6 @@
</template>
<script>
import { downLoadFile } from '@/api/punishment';
import { expelledRepairGetBiz } from '@/api/除名公告'
import Vue from 'vue'
export default {
data() {

View File

@ -34,6 +34,11 @@
<el-input v-model="form.remRemark" type="textarea" style="display:inline-block;width:1000px" :autosize="{ minRows: 3, maxRows: 6 }" disabled />
</el-form-item>
</el-row>
<el-row>
<el-form-item label="文书" class="bt0">
<el-button type="primary" @click="downLoadFile">下载</el-button>
</el-form-item>
</el-row>
<el-row>
<el-form-item label="材料列表" class="bt0">
<ul style="list-style:none;padding:0;margin:5px">
@ -411,6 +416,10 @@ export default {
showEntbaseList() {
this.showEntbase = true
},
downLoadFile() {
const fileUrl = `${process.env.VUE_APP_BASE_API}/expelled/downloadDoc?attachType=1&bizId=${this.bizId}`
window.open(fileUrl)
},
//
removeFile(file) {
removeAttachementById(file.id).then(res => {