|
|
@ -11,18 +11,18 @@ export default {
|
|
|
|
computed: {
|
|
|
|
computed: {
|
|
|
|
color() {
|
|
|
|
color() {
|
|
|
|
if (this.status === 0) {
|
|
|
|
if (this.status === 0) {
|
|
|
|
return "danger"
|
|
|
|
return "danger";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (this.status === 1) {
|
|
|
|
if (this.status === 1) {
|
|
|
|
return "primary"
|
|
|
|
return "primary";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (this.status === 2) {
|
|
|
|
if (this.status === 2) {
|
|
|
|
return "warning"
|
|
|
|
return "warning";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return "secondary"
|
|
|
|
return "secondary";
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
text() {
|
|
|
|
text() {
|
|
|
@ -41,11 +41,11 @@ export default {
|
|
|
|
return this.$t("Unknown");
|
|
|
|
return this.$t("Unknown");
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
<style scoped>
|
|
|
|
span {
|
|
|
|
span {
|
|
|
|
width: 64px;
|
|
|
|
min-width: 64px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|