Commit 7a3469a1 by caoyanzhi

update: errorCode

parent c3e71199
......@@ -184,7 +184,7 @@ export default {
methods: {
getDefaultSelected(val) {
this.axios.get(`${this.baseUrl}/gic-member-tag-web/member-tag-group/queryGroupByIds?requestProject=${this.projectName}&memberTagGroupIds=${val}`).then(res => {
if (res.data.errorCode == 1) {
if (res.data.errorCode == 0) {
this.defaultSelected = res.data.result;
this.handleSelectionChange(this.defaultSelected);
}
......
......@@ -172,7 +172,7 @@ export default {
this.axios
.get(url)
.then(res => {
if (res.data.errorCode == 1) {
if (res.data.errorCode == 0) {
res.data.result.result.forEach(item => (item.activeName = this.activeName));
this.tableData = res.data.result.result;
this.totalCount = res.data.result.totalCount;
......
......@@ -245,7 +245,7 @@ export default {
} else if (this.memberType == 1) {
this.axios.get(`/gic-member-tag-web/member-tag-group/queryGroupByIds?requestProject=memberTag&memberTagGroupIds=${this.filterJson}`).then(res => {
const { errorCode, result } = res.data;
if (errorCode == 1 && Array.isArray(result)) {
if (errorCode == 0 && Array.isArray(result)) {
this.comparative.options = [
{
label: '客户分组',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment