This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
</style> | |
<template> | |
<li> | |
<div :class="{bold: isFolder}" @click="toggle" @dblclick="changeType"> | |
{{model.name}} | |
<span v-if="isFolder">[{{open ? '-' : '+'}}]</span> | |
</div> | |
<ul v-show="open" v-if="isFolder"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
</style> | |
<template> | |
<item class="item" :model="treeData"> </item> | |
</template> | |
<script> | |
import item from './Item.vue'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
</style> | |
<template> | |
</template> | |
<script> | |
import Item from './Item.vue'; | |
export default { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
</style> | |
<template> | |
<li> | |
<div :class="{bold: isFolder}" @click="toggle" @dblclick="changeType"> | |
{{model.name}} | |
<span v-if="isFolder">[{{open ? '-' : '+'}}]</span> | |
</div> | |
<ul v-show="open" v-if="isFolder"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
</style> | |
<template> | |
</template> | |
<script> | |
Vue.component('item', require('./Item.vue')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
</style> | |
<template> | |
<li> | |
<div :class="{bold: isFolder}" @click="toggle" @dblclick="changeType"> | |
{{model.name}} | |
<span v-if="isFolder">[{{open ? '-' : '+'}}]</span> | |
</div> | |
<ul v-show="open" v-if="isFolder"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
</style> | |
<template> | |
<div class="col-lg-6"> | |
<!-- Mega Form --> | |
<div class="block block-bordered"> | |
<div class="block-header bg-gray-lighter"> | |
<h3 class="block-title">Create Campaign</h3> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
</style> | |
<template> | |
</template> | |
<script> | |
console.log("test"); | |
export default { | |
props: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
</style> | |
<template> | |
<script type="text/x-template" id="item-template"> | |
<li> | |
<div :class="{bold: isFolder}" @click="toggle" @dblclick="changeType"> | |
{{model.name}} | |
<span v-if="isFolder">[{{open ? '-' : '+'}}]</span> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Traits; | |
use Ramsey\Uuid\Uuid; | |
use Illuminate\Database\Eloquent\ModelNotFoundException; | |
/** | |
* Trait UuidModel | |
* @package App\Traits |