Commit 7226e3d9 by 怪兽?别跑

update

1 parent 6ebfee71
......@@ -79,3 +79,11 @@ export function getTableExport(data) {
params: data
})
}
// 数据明细
export function getCustomerInLink(data) {
return request({
url: service + '/findLinkWeCustomer',
params: data
})
}
......@@ -59,27 +59,32 @@
</template>
<script>
import SearchTitle from '../components/SearchTitle.vue'
import { getCustomerInLink } from './api'
export default {
data() {
return {
manList: [],
query: {
pageSize: 10,
pageNum: 1,
userIds: ''
weUserId: ''
},
total: 0,
userNames: '',
dialogVisible: false,
userArray: []
userArray: [],
list: []
}
},
components: {
SearchTitle
},
methods: {
getData() {},
getData(data) {
getCustomerInLink(Object.assign({}, this.query, data)).then((res) => {
this.list = res.rows
this.total = res.total
})
},
goRoute(row) {
let { externalUserid, firstUserId: userId } = row
this.$router.push({
......@@ -94,7 +99,7 @@
return obj.name
})
.join(',')
this.query.userIds = this.userArray
this.query.weUserId = this.userArray
.map(function (obj, index) {
return obj.userId
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!