From 91a23c1acb0c22b45160958da546690f1c1e62f4 Mon Sep 17 00:00:00 2001 From: saeid Date: Thu, 18 Jul 2019 17:48:56 +0430 Subject: [PATCH] edit --- public/js/vue/app.js | 27 ++++++++++--------- .../vue/components/modal/testresult/Show.vue | 8 +++--- resources/js/vue/views/TestType/List.vue | 2 +- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/public/js/vue/app.js b/public/js/vue/app.js index 39a64aa3..750fe7d3 100644 --- a/public/js/vue/app.js +++ b/public/js/vue/app.js @@ -43,7 +43,7 @@ /******/ /******/ // script path function /******/ function jsonpScriptSrc(chunkId) { -/******/ return __webpack_require__.p + "js/vue/chunks/" + ({}[chunkId]||chunkId) + "." + {"0":"b47d9eaedcbd0f34d95c","1":"1a2ec2568db9e0d01036","2":"4f5525aabb9601dde4be","3":"02c941910d5eee1fceff","4":"df99230719144eec9812","5":"29e184ef07c70ad44e82","6":"69bcd2ede72cd73c9641","7":"f650eb3451c4fda7fd36","8":"8e259fe897cde698bfc3","9":"5059ce6d2ab207088c31","10":"1222a2375fd940705a78","11":"a447fe0b0f0e846ad8b1","12":"ab3efed496c91cd795a5","13":"dfe16420782798d2be26","14":"0f6eeb76c4839e34f069","15":"ea55482413b70efcb3f7","16":"a81c0a25caa8d6957a37","17":"39ae6a640f4f7aee70ef","18":"b836f822bb8c2a3c29b5","19":"c27e4577cf5fbce49df4","20":"5ebb0d270ca28e346931","21":"4eab9f986d73cdfc57b2","22":"fe932b8a08410d22e341","23":"f3007a2471055701da84","24":"d46a5a5f496271a8198c","25":"5e531b62fd7cb4562c0d","26":"6e22d603717ae274cade","27":"761ae3a587940d12282a"}[chunkId] + ".js" +/******/ return __webpack_require__.p + "js/vue/chunks/" + ({}[chunkId]||chunkId) + "." + {"0":"b47d9eaedcbd0f34d95c","1":"1a2ec2568db9e0d01036","2":"4f5525aabb9601dde4be","3":"02c941910d5eee1fceff","4":"df99230719144eec9812","5":"29e184ef07c70ad44e82","6":"69bcd2ede72cd73c9641","7":"f650eb3451c4fda7fd36","8":"eabf5a08b18800ed091b","9":"5059ce6d2ab207088c31","10":"1222a2375fd940705a78","11":"a447fe0b0f0e846ad8b1","12":"ab3efed496c91cd795a5","13":"dfe16420782798d2be26","14":"0f6eeb76c4839e34f069","15":"ea55482413b70efcb3f7","16":"a81c0a25caa8d6957a37","17":"39ae6a640f4f7aee70ef","18":"b836f822bb8c2a3c29b5","19":"c27e4577cf5fbce49df4","20":"5ebb0d270ca28e346931","21":"4eab9f986d73cdfc57b2","22":"fe932b8a08410d22e341","23":"f3007a2471055701da84","24":"d46a5a5f496271a8198c","25":"5e531b62fd7cb4562c0d","26":"6e22d603717ae274cade","27":"761ae3a587940d12282a"}[chunkId] + ".js" /******/ } /******/ /******/ // The require function @@ -4049,6 +4049,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope }), created: function created() { this.data = this.getModalProperties.result.data.data; + console.log(this.data); }, computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_1__["mapGetters"])("modal", ["getModalProperties"])) }); @@ -18821,9 +18822,7 @@ var render = function() { [ _c( "material-card", - { - attrs: { color: "black", title: "Submit Test Result", id: "printMe" } - }, + { attrs: { color: "black", title: "Show Test Result", id: "printMe" } }, [ _c( "v-layout", @@ -19130,14 +19129,18 @@ var render = function() { _c( "v-layout", { staticClass: "ml-4", attrs: { row: "", wrap: "" } }, - [ - _c("v-flex", { attrs: { xs12: "", md6: "", sm6: "" } }, [ - _c("img", { - staticStyle: { width: "100%" }, - attrs: { src: "/" + _vm.data.imagePath } - }) - ]) - ], + _vm._l(_vm.data.title_image, function(img, key) { + return _c( + "v-flex", + { key: key, attrs: { xs12: "", md6: "", sm6: "" } }, + [ + _c("img", { + staticStyle: { width: "100%" }, + attrs: { src: "/" + img.path } + }) + ] + ) + }), 1 ) ], diff --git a/resources/js/vue/components/modal/testresult/Show.vue b/resources/js/vue/components/modal/testresult/Show.vue index 93631739..d7cd98d8 100644 --- a/resources/js/vue/components/modal/testresult/Show.vue +++ b/resources/js/vue/components/modal/testresult/Show.vue @@ -1,7 +1,7 @@