Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Issue 594 n7 #622

Merged
merged 2 commits into from
Oct 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion client/src/components/cellRender.vue
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ export default {
this.schemainstance.entity[index]['entity'] = await this.getChildEntity(entity.type)
}
}
this.schemainstance.data.push(this.currentPopTipData)
// this.schemainstance.data.push(this.currentPopTipData)
this.schemainstance.data[0] = this.item.obj
this.dataModal = true
this.$Spin.hide()
}).catch(err => {
Expand Down
10 changes: 7 additions & 3 deletions client/src/pages/flow/analytics.vue
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,10 @@ export default {
'$search': query,
$group: '_uuid'
}
if (this.$store.state.role === 2) {
params._creatorid = this.$store.state.user._id
params.subscriptionId = this.$store.state.subscription
}
if (sort !== undefined || sort !== null) {
if (sort === 'asc') {
params['$sort[' + sort + ']'] = 1
Expand Down Expand Up @@ -479,8 +483,8 @@ export default {
$limit: this.limit,
$group: '_uuid',
'subscriptionId': this.$store.state.subscription,
'_creatorId': this.$store.state.subscription,
'$sort[_createdAt]': 1
'_creatorid': this.$store.state.user._id,
'$sort[_createdAt]': -1
}
}

Expand Down Expand Up @@ -721,7 +725,7 @@ export default {
key = '_uuid'
title = 'ID'
}
console.log('OBJ: ', obj)
// console.log('OBJ: ', obj)
cols.push({
title: title,
key: key,
Expand Down