【修改】修改样式
This commit is contained in:
@@ -283,7 +283,7 @@ export default {
|
|||||||
// cancelButtonText: '取消',
|
// cancelButtonText: '取消',
|
||||||
// type: 'warning'
|
// type: 'warning'
|
||||||
// }).then(() => {
|
// }).then(() => {
|
||||||
this.$api.report.reportDownload({fileId: this.file.fileId, reportId: this.row.id}).then(res => {
|
this.$api.report.reportDownload({ reportId: this.row.id}).then(res => {
|
||||||
downloadFile(res)
|
downloadFile(res)
|
||||||
})
|
})
|
||||||
// })
|
// })
|
||||||
|
|||||||
@@ -152,7 +152,7 @@
|
|||||||
:current-page="q.pageNo"
|
:current-page="q.pageNo"
|
||||||
:page-sizes="[5, 10, 20]"
|
:page-sizes="[5, 10, 20]"
|
||||||
:page-size="q.pageSize"
|
:page-size="q.pageSize"
|
||||||
layout="total, sizes, prev, pager, next, jumper"
|
layout="total, sizes, prev, pager, next"
|
||||||
:total="total"/>
|
:total="total"/>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@@ -541,7 +541,7 @@ export default {
|
|||||||
onSuccess(res, file,fileList){
|
onSuccess(res, file,fileList){
|
||||||
if(res.ok){
|
if(res.ok){
|
||||||
// this.fileList.push({url:res.data.fullurl})//以前的错误代码
|
// this.fileList.push({url:res.data.fullurl})//以前的错误代码
|
||||||
debugger
|
|
||||||
this.fileList=fileList
|
this.fileList=fileList
|
||||||
this.form.fileList = this.fileList.map(item=>{
|
this.form.fileList = this.fileList.map(item=>{
|
||||||
return {
|
return {
|
||||||
@@ -549,14 +549,12 @@ export default {
|
|||||||
fileName:item.response?item.response.data.name:item.name
|
fileName:item.response?item.response.data.name:item.name
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.fileList= this.form.fileList.map(item=>{
|
|
||||||
return {
|
|
||||||
id:item.fileId,
|
|
||||||
name:item.fileName
|
|
||||||
}
|
|
||||||
})
|
|
||||||
this.$refs.processFormRef.clearValidate(['fileList'])
|
this.$refs.processFormRef.clearValidate(['fileList'])
|
||||||
this.handleCurrentChange(1)
|
if( this.form.fileList[fileList.length-1].fileId ){
|
||||||
|
this.handleCurrentChange(1)
|
||||||
|
console.log( this.form.fileList,"444")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
console.log( res," this.fileList3")
|
console.log( res," this.fileList3")
|
||||||
},
|
},
|
||||||
@@ -717,8 +715,7 @@ export default {
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
.table {
|
.table {
|
||||||
width: 500px;
|
|
||||||
margin: 0 14px 0 13px;
|
|
||||||
min-height: 200px;
|
min-height: 200px;
|
||||||
::v-deep .vxe-table--body-wrapper{
|
::v-deep .vxe-table--body-wrapper{
|
||||||
height: 200px;
|
height: 200px;
|
||||||
|
|||||||
Reference in New Issue
Block a user