|
@ -5,6 +5,7 @@ |
|
|
@upload="$router.push('dataset/import')" |
|
|
@upload="$router.push('dataset/import')" |
|
|
@download="$router.push('dataset/export')" |
|
|
@download="$router.push('dataset/export')" |
|
|
@assign="dialogAssignment = true" |
|
|
@assign="dialogAssignment = true" |
|
|
|
|
|
@reset="dialogReset = true" |
|
|
/> |
|
|
/> |
|
|
<v-btn |
|
|
<v-btn |
|
|
class="text-capitalize ms-2" |
|
|
class="text-capitalize ms-2" |
|
@ -37,6 +38,9 @@ |
|
|
<v-dialog v-model="dialogAssignment"> |
|
|
<v-dialog v-model="dialogAssignment"> |
|
|
<form-assignment @assigned="assigned" @cancel="dialogAssignment = false" /> |
|
|
<form-assignment @assigned="assigned" @cancel="dialogAssignment = false" /> |
|
|
</v-dialog> |
|
|
</v-dialog> |
|
|
|
|
|
<v-dialog v-model="dialogReset"> |
|
|
|
|
|
<form-reset-assignment @cancel="dialogReset = false" @reset="resetAssignment" /> |
|
|
|
|
|
</v-dialog> |
|
|
</v-card-title> |
|
|
</v-card-title> |
|
|
<image-list |
|
|
<image-list |
|
|
v-if="project.isImageProject" |
|
|
v-if="project.isImageProject" |
|
@ -90,6 +94,7 @@ import DocumentList from '@/components/example/DocumentList.vue' |
|
|
import FormAssignment from '~/components/example/FormAssignment.vue' |
|
|
import FormAssignment from '~/components/example/FormAssignment.vue' |
|
|
import FormDelete from '@/components/example/FormDelete.vue' |
|
|
import FormDelete from '@/components/example/FormDelete.vue' |
|
|
import FormDeleteBulk from '@/components/example/FormDeleteBulk.vue' |
|
|
import FormDeleteBulk from '@/components/example/FormDeleteBulk.vue' |
|
|
|
|
|
import FormResetAssignment from '~/components/example/FormResetAssignment.vue' |
|
|
import ActionMenu from '~/components/example/ActionMenu.vue' |
|
|
import ActionMenu from '~/components/example/ActionMenu.vue' |
|
|
import AudioList from '~/components/example/AudioList.vue' |
|
|
import AudioList from '~/components/example/AudioList.vue' |
|
|
import ImageList from '~/components/example/ImageList.vue' |
|
|
import ImageList from '~/components/example/ImageList.vue' |
|
@ -105,7 +110,8 @@ export default Vue.extend({ |
|
|
ImageList, |
|
|
ImageList, |
|
|
FormAssignment, |
|
|
FormAssignment, |
|
|
FormDelete, |
|
|
FormDelete, |
|
|
FormDeleteBulk |
|
|
|
|
|
|
|
|
FormDeleteBulk, |
|
|
|
|
|
FormResetAssignment |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
layout: 'project', |
|
|
layout: 'project', |
|
@ -121,6 +127,7 @@ export default Vue.extend({ |
|
|
dialogDelete: false, |
|
|
dialogDelete: false, |
|
|
dialogDeleteAll: false, |
|
|
dialogDeleteAll: false, |
|
|
dialogAssignment: false, |
|
|
dialogAssignment: false, |
|
|
|
|
|
dialogReset: false, |
|
|
item: {} as ExampleListDTO, |
|
|
item: {} as ExampleListDTO, |
|
|
selected: [] as ExampleDTO[], |
|
|
selected: [] as ExampleDTO[], |
|
|
members: [] as MemberItem[], |
|
|
members: [] as MemberItem[], |
|
@ -216,6 +223,12 @@ export default Vue.extend({ |
|
|
async assigned() { |
|
|
async assigned() { |
|
|
this.dialogAssignment = false |
|
|
this.dialogAssignment = false |
|
|
this.item = await this.$services.example.list(this.projectId, this.$route.query) |
|
|
this.item = await this.$services.example.list(this.projectId, this.$route.query) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
async resetAssignment() { |
|
|
|
|
|
this.dialogReset = false |
|
|
|
|
|
await this.$repositories.assignment.reset(this.projectId) |
|
|
|
|
|
this.item = await this.$services.example.list(this.projectId, this.$route.query) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|