Commit ac802734 by jack

修复搜索不到商户信息

1 parent 9d9dc539
......@@ -335,7 +335,6 @@ export default {
}
if (m.isImported == 1 || m.isImported == 0) {
console.log('jjjjjjjj')
this.uploadError = m
this.fileInfo = m.msg
this.$refs.upload.clearFiles()
......
......@@ -222,7 +222,7 @@ export default {
let o = res.data || []
let m = o[0] || {}
if (m.url) {
if (m.url || m.failCount > 0 || m.cause) {
this.$refs.upload.clearFiles()
this.uploadError = m;
return false
......@@ -232,6 +232,7 @@ export default {
/**手动上传文件 */
uploadInfoToServer: function () {
let _this = this;
let o = this.fileInfo
if (!o) {
return false
......@@ -239,6 +240,14 @@ export default {
let oParams = JSON.parse(o)
DEVICEIMEISTOKEIMPORT(oParams).then((res) => {
console.log(res)
_this.fileLoading = false
if (res.returnCode == 0) {
_this.closeDialog()
_this.$Util.Info({
message: '导入成功',
type: 'success',
})
}
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!