Commit ac802734 by jack

修复搜索不到商户信息

1 parent 9d9dc539
...@@ -335,7 +335,6 @@ export default { ...@@ -335,7 +335,6 @@ export default {
} }
if (m.isImported == 1 || m.isImported == 0) { if (m.isImported == 1 || m.isImported == 0) {
console.log('jjjjjjjj')
this.uploadError = m this.uploadError = m
this.fileInfo = m.msg this.fileInfo = m.msg
this.$refs.upload.clearFiles() this.$refs.upload.clearFiles()
......
...@@ -222,7 +222,7 @@ export default { ...@@ -222,7 +222,7 @@ export default {
let o = res.data || [] let o = res.data || []
let m = o[0] || {} let m = o[0] || {}
if (m.url) { if (m.url || m.failCount > 0 || m.cause) {
this.$refs.upload.clearFiles() this.$refs.upload.clearFiles()
this.uploadError = m; this.uploadError = m;
return false return false
...@@ -232,6 +232,7 @@ export default { ...@@ -232,6 +232,7 @@ export default {
/**手动上传文件 */ /**手动上传文件 */
uploadInfoToServer: function () { uploadInfoToServer: function () {
let _this = this;
let o = this.fileInfo let o = this.fileInfo
if (!o) { if (!o) {
return false return false
...@@ -239,6 +240,14 @@ export default { ...@@ -239,6 +240,14 @@ export default {
let oParams = JSON.parse(o) let oParams = JSON.parse(o)
DEVICEIMEISTOKEIMPORT(oParams).then((res) => { DEVICEIMEISTOKEIMPORT(oParams).then((res) => {
console.log(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!