mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-14 03:51:07 +03:30
Show And Barcode
This commit is contained in:
Vendored
+25
-2
@@ -111,6 +111,11 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
|
||||
@@ -137,6 +142,10 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
||||
sortable: false,
|
||||
text: "Date",
|
||||
value: "date"
|
||||
}, {
|
||||
sortable: false,
|
||||
text: "Verify",
|
||||
value: "verify"
|
||||
}, {
|
||||
sortable: false,
|
||||
text: "Action",
|
||||
@@ -149,8 +158,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
||||
};
|
||||
},
|
||||
created: function created() {
|
||||
if (this.$route.name == 'NotVerifyTestResult') {
|
||||
this.load(1, 'NotVerified');
|
||||
if (this.$route.name == "NotVerifyTestResult") {
|
||||
this.load(1, "NotVerified");
|
||||
} else {
|
||||
this.load();
|
||||
}
|
||||
@@ -272,9 +281,17 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
||||
return remove;
|
||||
}()
|
||||
}),
|
||||
computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__["mapGetters"])("modal", ["getModalResult"])),
|
||||
watch: {
|
||||
currentPage: function currentPage(page) {
|
||||
this.load(page);
|
||||
},
|
||||
getModalResult: function getModalResult(testResult) {
|
||||
for (var key in this.items) {
|
||||
if (this.items.hasOwnProperty(key) && this.items[key].id == testResult.id) {
|
||||
this.items[key] = testResult;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -492,6 +509,12 @@ var render = function() {
|
||||
[_vm._v(_vm._s(item.created_at))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "title font-weight-light" },
|
||||
[_vm._v(_vm._s(item.verified))]
|
||||
),
|
||||
_vm._v(" "),
|
||||
_c(
|
||||
"td",
|
||||
{ staticClass: "text-xs-right" },
|
||||
|
||||
Reference in New Issue
Block a user