用户导入,物品导入
This commit is contained in:
@@ -265,19 +265,18 @@ export default {
|
||||
_format += "_";
|
||||
}
|
||||
}
|
||||
console.log(_format)
|
||||
formData.append("format", _format);
|
||||
// request({
|
||||
// url: '/gorse/bulk/items',
|
||||
// method: 'put',
|
||||
// data: formData
|
||||
// }).then(res => {
|
||||
// if(res.data && res.data.RowAffected) {
|
||||
// _this.$message.success(`成功导入${res.data.RowAffected}条记录`);
|
||||
// } else {
|
||||
// _this.$message.warning("导入异常");
|
||||
// }
|
||||
// });
|
||||
request({
|
||||
url: '/gorse/bulk/items',
|
||||
method: 'put',
|
||||
data: formData
|
||||
}).then(res => {
|
||||
if(res.data && res.data.RowAffected) {
|
||||
_this.$message.success(`成功导入${res.data.RowAffected}条记录`);
|
||||
} else {
|
||||
_this.$message.warning("导入异常");
|
||||
}
|
||||
});
|
||||
});
|
||||
},
|
||||
backBtn() {
|
||||
|
||||
Reference in New Issue
Block a user