@@ -10,7 +10,8 @@
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
class="inline-block max-sm:mt-3 px-6 mr-3 py-2.5 bg-blue-600 text-white font-medium text-xs rounded shadow-md">
|
||||
class="inline-block max-sm:mt-3 px-6 mr-3 py-2.5 bg-blue-600 text-white font-medium text-xs rounded shadow-md"
|
||||
@click="openModal('changeStatus')">
|
||||
Status wächseln
|
||||
</button>
|
||||
<button
|
||||
@@ -113,6 +114,7 @@
|
||||
</template>
|
||||
<script>
|
||||
import { moveToNextStep } from '../../service/ContractsService'
|
||||
import { mapActions } from 'vuex'
|
||||
|
||||
export default {
|
||||
props: {
|
||||
@@ -122,6 +124,7 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
...mapActions(['openModal']),
|
||||
async nextStep() {
|
||||
await moveToNextStep(this.contract.id)
|
||||
.then(resp => {
|
||||
|
||||
Reference in New Issue
Block a user