This commit is contained in:
Henry Jordan
2021-01-28 19:22:03 +00:00
parent 75ad0b0388
commit 92da3047ec

View File

@@ -47,11 +47,11 @@ import api from "../../../api/index";
export default { export default {
name: "ButtonFleft", name: "ButtonFleft",
props: { props: {
data: Object, data: Object
}, },
components: { components: {
Tabs, Tabs,
Tab, Tab
}, },
data() { data() {
return { return {
@@ -69,31 +69,31 @@ export default {
perPage: 200, perPage: 200,
filterable: true, filterable: true,
pagination: { pagination: {
show: false, show: false
}, },
headings: { headings: {
key: this.$i18n.t("ID_NAME"), key: this.$i18n.t("ID_NAME"),
value: this.$i18n.t("ID_FIELD_DYNAFORM_TEXT"), value: this.$i18n.t("ID_FIELD_DYNAFORM_TEXT")
}, }
}, },
optionsTriggers: { optionsTriggers: {
perPage: 200, perPage: 200,
filterable: true, filterable: true,
pagination: { pagination: {
show: false, show: false
}, },
headings: { headings: {
name: this.$i18n.t("ID_NAME"), name: this.$i18n.t("ID_NAME"),
execution: this.$i18n.t("ID_EXECUTION"), execution: this.$i18n.t("ID_EXECUTION")
}, }
}, },
optionsDebugVars: { optionsDebugVars: {
selected: "all", selected: "all",
options: [ options: [
{ text: this.$i18n.t("ID_OPT_ALL"), value: "all" }, { text: this.$i18n.t("ID_OPT_ALL"), value: "all" },
{ text: this.$i18n.t("ID_DYNAFORM"), value: "dyn" }, { text: this.$i18n.t("ID_DYNAFORM"), value: "dyn" },
{ text: this.$i18n.t("ID_SYSTEM"), value: "sys" }, { text: this.$i18n.t("ID_SYSTEM"), value: "sys" }
], ]
}, },
}; };
}, },
@@ -124,7 +124,7 @@ export default {
_.forIn(response.data.data[0], function (value, key) { _.forIn(response.data.data[0], function (value, key) {
dt.push({ dt.push({
key, key,
value, value
}); });
}); });
this.dataTable = dt; this.dataTable = dt;
@@ -153,8 +153,8 @@ export default {
*/ */
changeOption(opt) { changeOption(opt) {
this.getDebugVars({ filter: opt }); this.getDebugVars({ filter: opt });
}, }
}, }
}; };
</script> </script>