2 lines
20 KiB
JavaScript
2 lines
20 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e7aff04c"],{4381:function(t,e,a){"use strict";a("d3b7"),a("caad"),a("2532"),a("d9e2");var s=a("4360"),i={inserted:function(t,e){var a=e.value,i=s["a"].getters&&s["a"].getters.butPermission;if(console.log(i,"roles"),!(a&&a instanceof Array&&a.length>0))throw new Error("need roles! Like v-permission=\"['admin','editor']\"");var o=a,n=i.some((function(t){return o.includes(t)}));if(console.log(n,"hasPermission"),n)s["a"].state.user.permissionFlag[o]=!1;else{s["a"].state.user.permissionFlag[o]=!0,console.log(s["a"].state.user.permissionFlag[o],"permissionRoles");var r=document.createElement("div");r.style.cursor="not-allowed",r.style.display="inline-block",t.style.pointerEvents="none",t.parentNode.insertBefore(r,t),t.parentNode&&t.parentNode.removeChild(t),r.appendChild(t),console.log(t,"permissionRoles")}}},o=function(t){t.directive("permission",i)};window.Vue&&(window["permission"]=i,Vue.use(o)),i.install=o;e["a"]=i},"9aca":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"filter-container",staticStyle:{"margin-bottom":"16px"}},[a("span",{staticClass:"btn-item",on:{click:t.goBack}},[a("i",{staticClass:"el-icon-upload2"}),t._v(t._s(t.$t("work.return")))]),5==t.$store.state.work.applyStatus?a("span",{staticClass:"btn-item",on:{click:t.getApply}},[a("i",{staticClass:"el-icon-upload2"}),t._v(t._s(t.$t("work.submit")))]):t._e()]),a("div",{staticClass:"app-container"},[a("div",{staticClass:"decorate"}),a("div",{staticClass:"baseInfo"},[a("div",{staticClass:"name"},[a("i",{staticClass:"iconfont icon-biaoti"}),a("span",[t._v(t._s(t.$t("cabinet.basicInfo")))])]),a("el-row",{staticClass:"row"},[a("el-col",{attrs:{span:6}},[a("span",{staticClass:"label"},[t._v(t._s(t.$t("work.taskName")))]),a("span",{staticClass:"value"},[t._v(" "+t._s(t.$store.state.work.taskForm.taskName)+" ")])]),a("el-col",{attrs:{span:6}},[a("span",{staticClass:"label"},[t._v(t._s(t.$t("startTime")))]),a("span",{staticClass:"value"},[t._v(" "+t._s(t.$store.state.work.taskForm.startTime)+" ")])]),a("el-col",{attrs:{span:6}},[a("span",{staticClass:"label"},[t._v(t._s(t.$t("work.recipient")))]),a("span",{staticClass:"value"},[t._v(" "+t._s(t.$store.state.work.taskForm.receiveName)+" ")])]),a("el-col",{attrs:{span:6}},[a("span",{staticClass:"label"},[t._v(t._s(t.$t("completionTime")))]),a("span",{staticClass:"value"},[t._v(" "+t._s(t.$store.state.work.taskForm.finishTime||"- -")+" ")])]),a("el-col",{attrs:{span:6}},[a("span",{staticClass:"label"},[t._v(t._s(t.$t("work.taskNum")))]),a("span",{staticClass:"value"},[t._v(" "+t._s(t.$store.state.work.taskForm.taskNum)+" ")])]),a("el-col",{attrs:{span:6}},[a("span",{staticClass:"label"},[t._v(t._s(t.$t("endTime")))]),a("span",{staticClass:"value"},[t._v(" "+t._s(t.$store.state.work.taskForm.deadline)+" ")])]),a("el-col",{attrs:{span:6}},[a("span",{staticClass:"label"},[t._v(t._s(t.$t("work.accepted")))]),a("span",{staticClass:"value"},[t._v(" "+t._s(t.$store.state.work.taskForm.checkName)+" ")])]),a("el-col",{attrs:{span:6}},[a("span",{staticClass:"label"},[t._v(t._s(t.$t("work.taskType")))]),a("span",{staticClass:"value"},[t._v(" "+t._s(t.getOrder(t.$store.state.work.taskForm.orderType))+" ")])]),a("el-col",{attrs:{span:24}},[a("span",{staticClass:"label"},[t._v(t._s(t.$t("work.remark")))]),a("span",{staticClass:"value"},[t._v(" "+t._s(this.$store.state.work.taskForm.remark)+" ")])])],1)],1),a("div",{staticClass:"table-container"},[a("div",{staticClass:"name"},[a("i",{staticClass:"iconfont icon-biaoti"}),a("span",[t._v(t._s(t.$t("work.deviceList")))])]),a("el-table",{attrs:{data:t.$store.state.work.equipmentList,"highlight-current-row":"","header-row-class-name":"table-header","row-class-name":"table-row"}},[a("el-table-column",{attrs:{property:"deviceName",align:"center",label:t.$t("device.deviceName")}}),a("el-table-column",{attrs:{property:"deviceId",align:"center",label:t.$t("device.deviceCode")}}),a("el-table-column",{attrs:{align:"center",label:t.$t("work.status")
|
||
|
//# sourceMappingURL=chunk-e7aff04c.cfb4f830.js.map
|