42 lines
828 B
JavaScript
42 lines
828 B
JavaScript
|
Vue.component('module-one-1-1', {
|
||
|
template:`
|
||
|
<div class="screen-module">
|
||
|
<div class="screen-one-1-1">
|
||
|
<div class="module-title">
|
||
|
<span>{{label}}</span>
|
||
|
<component :is="name" :businessdata="businessdata" :label="label" :projectid="projectid" v-if="amplify"></component>
|
||
|
</div>
|
||
|
<slot></slot>
|
||
|
</div>
|
||
|
</div>
|
||
|
`,
|
||
|
props: {
|
||
|
label:{
|
||
|
type:String
|
||
|
},
|
||
|
amplify:{
|
||
|
type:Boolean
|
||
|
},
|
||
|
name:{
|
||
|
type:String
|
||
|
},
|
||
|
projectid:{
|
||
|
type:Number
|
||
|
},
|
||
|
businessdata:{
|
||
|
type:Object
|
||
|
}
|
||
|
},
|
||
|
|
||
|
data() {
|
||
|
return {
|
||
|
|
||
|
};
|
||
|
},
|
||
|
methods: {
|
||
|
|
||
|
},
|
||
|
watch:{
|
||
|
|
||
|
},
|
||
|
})
|