UPDATE ROUTE in CASE DETAIL

This commit is contained in:
Henry Jordan
2020-12-07 18:52:12 +00:00
parent ee8ea68901
commit a39a54cc10
7 changed files with 362 additions and 300 deletions

View File

@@ -53,7 +53,7 @@
</div>
<br />
<h6 class="card-subtitle mb-2 text-muted">{{ data.titleActions }}</h6>
<div v-if=data.btnType class="container v-case-summary-center">
<div v-if="data.btnType" class="container v-case-summary-center">
<button
type="button"
class="btn btn-success btn-sm"

View File

@@ -59,6 +59,7 @@ export default {
icon: {
pdf: "fas fa-file-pdf",
doc: "fas fa-file-word",
png: "fas fa-picture-o",
},
};
},

View File

@@ -12,29 +12,30 @@
</template>
<script>
import { Tabs, Tab } from 'vue-slim-tabs'
import { Tabs, Tab } from "vue-slim-tabs";
export default {
props: {
data: Object
data: Object,
},
components: {
Tabs, Tab
Tabs,
Tab,
},
data() {
return {
0: function() {
0: function () {
console.log(this.data.items[0].appUid);
}
},
};
},
methods: {
selectedTab(e, index) {
if (index === 0) {
console.log("fabio")
console.log("fabio");
}
}
},
},
}
};
</script>
<style src="vue-slim-tabs/themes/default.css"></style>