Commit 7b55dc63 by 胡悦

修改配置

1 parent 0a5d3b8d
......@@ -105,7 +105,7 @@ var mixin = {
// }
}
}
const URL = ' http://192.168.3.171:7300/mock/5be17454f31545347559d499/config'
const URL = 'http://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config'
const getConfig = (url = URL + '/business_data_config') => {
return new Promise(resolve => {
const xhr = new XMLHttpRequest()
......
......@@ -312,10 +312,10 @@ export default {
},
methods: {
back() {
this.$parent.to(['商户数据平台', '商户数据平台', '商户数据平台', '商户列表', '商户列表'])
this.$parent.to(['商户数据平台', '商户数据管理', '商户数据', '商户列表管理', '商户数据列表'])
},
goGroupDetail(row) {
this.$root.to(['商户数据平台', '商户数据平台', '商户数据平台', '商户分组', '*商户分组详情'], { groupId: row.id })
this.$root.to(['商户数据平台', '商户数据管理', '商户数据', '商户分组管理', '*商户分组详情'], { groupId: row.id })
},
goBusinessDetail(row) {
this.detailVisible()
......
......@@ -144,7 +144,7 @@ export default {
label: '详情',
type: 'text',
callback: (index, row) => {
this.$root.to(['商户数据平台', '商户数据平台', '商户数据平台', '商户分组', '*商户分组详情'], { groupId: row[index].id })
this.$root.to(['商户数据平台', '商户数据管理', '商户数据', '商户分组管理', '*商户分组详情'], { groupId: row[index].id })
}
}
]
......@@ -154,7 +154,6 @@ export default {
},
mounted() {
this.loadingGetList()
this.getBusinessList()
},
methods: {
loadingGetList() {
......@@ -174,7 +173,7 @@ export default {
request
.req(params)
.then(res => {
this.total = res.pagination.totalCount
res.pagination && (this.total = res.pagination.totalCount)
this.tableData.data = res.groupDicts
this.tableLoading = false
})
......@@ -206,6 +205,7 @@ export default {
},
dialog() {
this.dialogVisible = !this.dialogVisible
this.getBusinessList()
},
// 新增分组
handleSubmit(formName) {
......
......@@ -144,8 +144,8 @@ export default {
// item[j] = ''
// }
// }
item[merchantId] = ''
item[merchantType] = ''
item['merchantId'] = ''
item['merchantType'] = ''
})
}
}
......@@ -265,6 +265,7 @@ export default {
}
}
list = arr.filter(item => !index.includes(item.merchantId))
// list = [...arr].filter(item => [...this.addList].every(obj => obj.merchantId !== item.merchantId))
this.businessChildList = index.length ? list : arr
}).catch(err => {
notice.errorTips(err)
......
......@@ -309,7 +309,7 @@ export default {
}
},
merchantDetail(merchantId) {
this.$root.to(['商户数据平台', '商户数据平台', '商户数据平台', '商户列表', '*商户详情'], { merchantId: merchantId })
this.$root.to(['商户数据平台', '商户数据管理', '商户数据', '商户列表管理', '*商户详情'], { merchantId: merchantId })
}
}
}
......
......@@ -135,7 +135,7 @@ export default {
label: '详情',
type: 'text',
callback: (index, rows) => {
this.$root.to(['商户数据平台', '商户数据平台', '商户数据平台', '商户列表', '*商户详情'], { merchantId: rows[index].merchantId })
this.$root.to(['商户数据平台', '商户数据管理', '商户数据', '商户列表管理', '*商户详情'], { merchantId: rows[index].merchantId })
}
}]
},
......@@ -171,7 +171,7 @@ export default {
params.method = bizMethods.Search
request.req(params).then(res => {
this.ListTableData.data = res.merchants
this.totalCount = res.pagination.totalCount
res.pagination && (this.totalCount = res.pagination.totalCount)
resetSearch(this.merchantSearch)
this.tableLoading = false
}).catch(err => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!