Css adjustments on metadatum input types.

This commit is contained in:
Mateus Machado Luna 2018-10-31 09:48:51 -03:00
parent 260537eb36
commit 8a97d9919b
6 changed files with 15 additions and 2 deletions

View File

@ -267,6 +267,7 @@ export default {
]),
...mapGetters('bulkedition', [
'getItemIdInSequence',
'getActionResult',
'getGroup',
'getLastUpdated'
]),
@ -297,7 +298,15 @@ export default {
}
}).then(() => {
this.isExecutingBulkEdit = false;
// this.finalizeProcedure(criterion);
let actionResult = this.getActionResult();
console.log(actionResult);
if(actionResult.constructor.name === 'Object' && (actionResult.data && actionResult.data.status.toString().split('')[0] != 2) || actionResult.error_message) {
console.log("Xiii, deu ruim :(");
} else {
console.log("Tudo bem por aqui.");
}
}).catch(() => this.isExecutingBulkEdit = false);
}

View File

@ -585,6 +585,7 @@ export default {
font-style: italic;
font-weight: bold;
color: $danger;
margin-left: 0.5rem;
}
.controls {
position: absolute;

View File

@ -888,6 +888,7 @@ export default {
font-style: italic;
font-weight: bold;
color: $danger;
margin-left: 0.5rem;
}
.controls {
position: absolute;

View File

@ -33,7 +33,7 @@
vertical-align: top;
}
.required-metadatum-asterisk {
color: $gray3;
color: $gray5;
&.is-danger {
color: $danger;
}

View File

@ -1,6 +1,7 @@
<template>
<div :class="{ 'is-flex': metadatum.metadatum.multiple != 'yes' || maxtags != undefined }">
<b-taginput
expanded
:disabled="disabled"
:id="id"
v-model="selected"

View File

@ -1,6 +1,7 @@
<template>
<div>
<b-select
expanded
:disabled="disabled"
:id = "id"
:placeholder="$i18n.get('label_selectbox_init')"