2 lines
13 KiB
JavaScript
2 lines
13 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-30dcbc0b"],{"19d9":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",{staticClass:"app-container"},[a("div",{staticClass:"decorate"}),a("div",{staticClass:"filter-container"},[t._t("default"),a("el-input",{staticClass:"filter-item",staticStyle:{width:"150px"},attrs:{placeholder:t.$t("work.taskName")},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleFilter.apply(null,arguments)}},model:{value:t.listQuery.search,callback:function(e){t.$set(t.listQuery,"search",e)},expression:"listQuery.search"}}),a("el-select",{staticClass:"filter-item",staticStyle:{width:"150px"},attrs:{placeholder:t.$t("device.typeName")},on:{change:t.handleFilter},model:{value:t.listQuery.deviceType,callback:function(e){t.$set(t.listQuery,"deviceType",e)},expression:"listQuery.deviceType"}},t._l(t.deviceType,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),a("el-select",{staticClass:"filter-item",staticStyle:{width:"150px"},attrs:{placeholder:t.$t("work.status"),clearable:""},on:{change:t.handleFilter},model:{value:t.listQuery.status,callback:function(e){t.$set(t.listQuery,"status",e)},expression:"listQuery.status"}},t._l(t.status,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),a("el-select",{staticClass:"filter-item",staticStyle:{width:"150px"},attrs:{placeholder:t.$t("work.taskType"),clearable:""},on:{change:t.handleFilter},model:{value:t.listQuery.orderType,callback:function(e){t.$set(t.listQuery,"orderType",e)},expression:"listQuery.orderType"}},t._l(t.options,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),a("el-date-picker",{staticClass:"filter-item",attrs:{type:"datetimerange","start-placeholder":t.$t("startTime"),"end-placeholder":t.$t("endTime"),"value-format":"yyyy-MM-dd HH:mm:ss",editable:!1},on:{change:t.handleFilter},model:{value:t.arrayTimeSearch,callback:function(e){t.arrayTimeSearch=e},expression:"arrayTimeSearch"}}),a("span",{staticClass:"btn-item",on:{click:t.handleFilter}},[a("i",{staticClass:"iconfont icon-sousuo"}),t._v(t._s(t.$t("btn.search"))+" ")]),a("span",{staticClass:"btn-item",on:{click:t.wipeCondition}},[a("i",{staticClass:"el-icon-refresh-left"}),t._v(t._s(t.$t("btn.resetting"))+" ")]),a("div",{staticClass:"control-container"},[a("span",{staticClass:"btn-item",on:{click:t.handleCreate}},[a("i",{staticClass:"iconfont icon-a-"}),t._v(t._s(t.$t("btn.add")))]),a("span",{staticClass:"btn-item delete",on:{click:t.handleDeletes}},[a("i",{staticClass:"iconfont icon-shanchu"}),t._v(t._s(t.$t("btn.delete")))])])],2),a("div",{staticClass:"table-container"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],attrs:{data:t.workForm,"max-height":"580","highlight-current-row":"","header-row-class-name":"table-header","row-class-name":"table-row"},on:{"selection-change":t.handleSelectionChange,"row-dblclick":t.handleUpdates}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),a("el-table-column",{attrs:{property:"taskName",align:"left",label:t.$t("work.taskName"),"show-overflow-tooltip":""}}),a("el-table-column",{attrs:{property:"receiveName",align:"left",label:t.$t("work.recipient")}}),a("el-table-column",{attrs:{property:"orderType",align:"left",label:t.$t("work.taskType")},scopedSlots:t._u([{key:"default",fn:function(e){return["1"===e.row.orderType?a("span",{staticClass:"use"},[t._v(" "+t._s(t.$t("work.install")))]):"3"===e.row.orderType?a("span",{staticClass:"use"},[t._v(" "+t._s(t.$t("work.dismantle"))+" ")]):"4"===e.row.orderType?a("span",{staticClass:"use"},[t._v(" "+t._s(t.$t("work.faults"))+" ")]):"5"===e.row.orderType.split(",")[0]?a("span",{staticClass:"otherUse"},[t._v(" "+t._s(t.$t("work.other")+"("+e.row.orderType.split(",")[1])+") ")]):a("span",{staticClass:"use"},[t._v(" "+t._s(e.row.orderType)+" ")])]}}])}),a("el-table-column"
|
||
|
//# sourceMappingURL=chunk-30dcbc0b.f4fb2811.js.map
|