Commit 627a9fe2 by cwq0219

修改提示信息

1 parent e7a3cc84
...@@ -348,7 +348,8 @@ export default { ...@@ -348,7 +348,8 @@ export default {
this.IdChange[0] = 0 this.IdChange[0] = 0
}).catch(err => { }).catch(err => {
this.IdChange[0] = 0 this.IdChange[0] = 0
notice.errorTips(err) console.log(err)
notice.errorTips('查询失败')
}) })
}, },
assignBasicInfo() { assignBasicInfo() {
...@@ -375,10 +376,10 @@ export default { ...@@ -375,10 +376,10 @@ export default {
this.staffTableData.data = res.merchantPersonals this.staffTableData.data = res.merchantPersonals
this.IdChange[1] = 0 this.IdChange[1] = 0
this.staffLoading = false this.staffLoading = false
}).catch(err => { }).catch(() => {
this.IdChange[1] = 0 this.IdChange[1] = 0
this.staffLoading = false this.staffLoading = false
notice.errorTips(err) notice.errorTips('查询失败')
}) })
}, },
// 分组信息 // 分组信息
...@@ -389,10 +390,10 @@ export default { ...@@ -389,10 +390,10 @@ export default {
this.groupTableData.data = res.merchantGroups this.groupTableData.data = res.merchantGroups
this.IdChange[2] = 0 this.IdChange[2] = 0
this.groupLoading = false this.groupLoading = false
}).catch(err => { }).catch(() => {
this.IdChange[2] = 0 this.IdChange[2] = 0
this.groupLoading = false this.groupLoading = false
notice.errorTips(err) notice.errorTips('查询失败')
}) })
}, },
// 分组信息-详情 // 分组信息-详情
...@@ -403,8 +404,8 @@ export default { ...@@ -403,8 +404,8 @@ export default {
request.req(params).then(res => { request.req(params).then(res => {
res.parentMerchantLevel && (this.parentLevelTableData.data = [res.parentMerchantLevel]) res.parentMerchantLevel && (this.parentLevelTableData.data = [res.parentMerchantLevel])
res.childMerchantLevels && (this.childLevelTableData.data = res.childMerchantLevels) res.childMerchantLevels && (this.childLevelTableData.data = res.childMerchantLevels)
}).catch(err => { }).catch(() => {
notice.errorTips(err) notice.errorTips('查询失败')
}) })
}, },
detailVisible() { detailVisible() {
......
...@@ -175,7 +175,8 @@ export default { ...@@ -175,7 +175,8 @@ export default {
resetSearch(this.merchantSearch) resetSearch(this.merchantSearch)
this.tableLoading = false this.tableLoading = false
}).catch(err => { }).catch(err => {
notice.errorTips(err) console.log(err)
notice.errorTips('查询失败')
resetSearch(this.merchantSearch) resetSearch(this.merchantSearch)
this.tableLoading = false this.tableLoading = false
}) })
...@@ -190,7 +191,7 @@ export default { ...@@ -190,7 +191,7 @@ export default {
this.loadingGetList() this.loadingGetList()
}).catch(err => { }).catch(err => {
console.log(err) console.log(err)
notice.errorTips(err) notice.errorTips('新增失败')
}) })
}, },
// 接口请求-end // 接口请求-end
......
...@@ -149,8 +149,9 @@ export default { ...@@ -149,8 +149,9 @@ export default {
this.tableData.data = res.merchantDictList this.tableData.data = res.merchantDictList
this.tableLoading = false this.tableLoading = false
}).catch(err => { }).catch(err => {
console.log(err)
this.tableLoading = false this.tableLoading = false
notice.errorTips(err) notice.errorTips('查询失败')
}) })
}, },
businessCreate() { businessCreate() {
...@@ -161,7 +162,8 @@ export default { ...@@ -161,7 +162,8 @@ export default {
this.showDialog() this.showDialog()
this.loadingGetList() this.loadingGetList()
}).catch(err => { }).catch(err => {
notice.errorTips(err) console.log(err)
notice.errorTips('新增失败')
}) })
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!