机床总图上传

This commit is contained in:
caoxinyu
2019-06-03 19:07:52 +08:00
parent 667b14bdda
commit a513a64ab0
4 changed files with 100 additions and 7 deletions

View File

@@ -194,10 +194,8 @@ export default {
},
// 在什么情况下需要查询上传的附件调用this.getFileData()即可根据
getFileData(machineDrawValue) {
console.log(machineDrawValue, 88)
this.hadFile = []
getFileData(machineDrawValue).then(res => {
console.log(res)
if (res.data.length > 0) {
res.data.map(item => {
this.hadFile.push({
@@ -492,4 +490,5 @@ a{
line-height: 30px;
display: inline-block;
color: #999;
}</style>
}
</style>