Add basic support for "executing" mode, in model-crud
This commit is contained in:
parent
d1b503fd41
commit
2f58da7df3
|
@ -15,12 +15,16 @@
|
|||
<li v-if="mode == 'viewing'">
|
||||
{{ renderHeaderLabel(record) }}
|
||||
</li>
|
||||
<li v-if="mode == 'editing' || mode == 'deleting'">
|
||||
<router-link :to="getRowPathPrefix() + '/' + record.uuid">{{ renderHeaderLabel(record) }}</router-link>
|
||||
<li v-if="mode == 'editing' || mode == 'executing' || mode == 'deleting'">
|
||||
<!-- <router-link :to="getRowPathPrefix() + '/' + record.uuid">{{ renderHeaderLabel(record) }}</router-link> -->
|
||||
<router-link :to="getModelPathPrefix() + '/' + record.uuid">{{ renderHeaderLabel(record) }}</router-link>
|
||||
</li>
|
||||
<li v-if="mode == 'editing'">
|
||||
Edit
|
||||
</li>
|
||||
<li v-if="mode == 'executing'">
|
||||
Execute
|
||||
</li>
|
||||
<li v-if="mode == 'deleting'">
|
||||
Delete
|
||||
</li>
|
||||
|
|
Loading…
Reference in a new issue