Commit 7226e3d9 by 怪兽?别跑

update

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