@burh/nuxt-core 1.0.216 → 1.0.218
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
rounded
|
|
19
19
|
size="md"
|
|
20
20
|
type="primary"
|
|
21
|
-
class="
|
|
21
|
+
class="ml-auto badge-bg-color badge-font">
|
|
22
22
|
opcional
|
|
23
23
|
</badge>
|
|
24
24
|
<el-select
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
:key="job.id"
|
|
38
38
|
></el-option>
|
|
39
39
|
</el-select>
|
|
40
|
-
<span></span>
|
|
41
40
|
</div>
|
|
42
41
|
|
|
43
42
|
<div class="col-6">
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
</div>
|
|
79
79
|
|
|
80
80
|
<validation-provider
|
|
81
|
+
v-if="isModalOpen"
|
|
81
82
|
tag="div"
|
|
82
83
|
class="pb-3"
|
|
83
84
|
name="Texto da mensagem"
|
|
@@ -181,7 +182,20 @@ export default {
|
|
|
181
182
|
watch: {
|
|
182
183
|
templates(newValue) {
|
|
183
184
|
this.models = newValue;
|
|
185
|
+
},
|
|
186
|
+
isModalOpen(newValue) {
|
|
187
|
+
if (!newValue) {
|
|
188
|
+
this.templates = null
|
|
189
|
+
this.models = this.templates
|
|
190
|
+
this.messageTitle = null
|
|
191
|
+
this.receiver = null
|
|
192
|
+
this.message = ''
|
|
193
|
+
this.saveModel = false
|
|
194
|
+
this.modelName = null
|
|
195
|
+
this.allNumbers = []
|
|
196
|
+
}
|
|
184
197
|
}
|
|
198
|
+
|
|
185
199
|
},
|
|
186
200
|
data() {
|
|
187
201
|
return {
|