Commit db06d81f by 杨北旺

修改关联企微接口参数传值

1 parent fee03a0b
...@@ -174,24 +174,24 @@ export default { ...@@ -174,24 +174,24 @@ export default {
}, },
// 批量关联 // 批量关联
handleMutiGL() { handleMutiGL() {
// if (!this.dataList.length) { if (!this.dataList.length) {
// this.$message({ this.$message({
// message: '请选择', message: '请选择',
// type: 'warning' type: 'warning'
// }) })
// return return
// } }
let merchantIds = [1, 2, 3, 5, 6] let merchantIds = []
let departmentIds = [7, 8, 9, 10, 11] let departmentIds = []
let departNames = ['name', '222', '555', '666'] let departNames = []
let arrpara1 = [] let arrpara1 = []
let arrpara2 = [] let arrpara2 = []
let arrpara3 = [] let arrpara3 = []
// this.dataList.forEach(item => { this.dataList.forEach(item => {
// merchantIds.push(item.merchantId) merchantIds.push(item.merchantId)
// departmentIds.push(item.departmentId) departmentIds.push(item.departmentId)
// departNames.push(item.departmentName) departNames.push(item.departmentName)
// }) })
merchantIds.forEach((item, index) => { merchantIds.forEach((item, index) => {
let keyval = `list[${index}].merchantId` let keyval = `list[${index}].merchantId`
let val = item let val = item
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!