mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 04:24:00 +00:00
8a28eb1790
This reverts merge request !5
39 lines
1.0 KiB
Vue
39 lines
1.0 KiB
Vue
<template>
|
|
<div class="row" ref="content">
|
|
<div class="col no-padding">
|
|
<div class="row">
|
|
<div class="col all-caps fs-13 bold" ref="title"></div>
|
|
</div>
|
|
<div class="row fs-12 m-t-5">
|
|
<div class="col" ref="message"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
title: '',
|
|
message: ''
|
|
}
|
|
},
|
|
methods: {
|
|
execute(){
|
|
this.$refs.title.innerHTML = this.title;
|
|
this.$refs.message.innerHTML = this.message;
|
|
|
|
let content = this.$refs.content;
|
|
|
|
new Noty({
|
|
type: 'error',
|
|
text: content.innerHTML.toString(),
|
|
timeout: 5000,
|
|
closeWith: ['button'],
|
|
layout: "bottomRight",
|
|
theme: "metroui"
|
|
}).show();
|
|
}
|
|
}
|
|
}
|
|
</script> |