Files
wysite/hc-pos.sqygj.cn/static/js/chunk-4bee58a8.8556b7ac.js

1 line
63 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4bee58a8"],{3369:function(t,e,a){"use strict";a("eccf")},"3b61":function(t,e,a){},"43fc":function(t,e,a){},"49de":function(t,e,a){"use strict";a.d(e,"a",(function(){return i})),a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"j",(function(){return l})),a.d(e,"n",(function(){return r})),a.d(e,"m",(function(){return c})),a.d(e,"i",(function(){return d})),a.d(e,"o",(function(){return u})),a.d(e,"h",(function(){return p})),a.d(e,"p",(function(){return m})),a.d(e,"d",(function(){return g})),a.d(e,"r",(function(){return f})),a.d(e,"q",(function(){return v})),a.d(e,"e",(function(){return h})),a.d(e,"s",(function(){return _})),a.d(e,"f",(function(){return b})),a.d(e,"k",(function(){return k})),a.d(e,"l",(function(){return I})),a.d(e,"g",(function(){return w}));var s=a("b775");function i(t){return Object(s["a"])({url:"/appproject/category/add",method:"post",data:t})}function n(t){return Object(s["a"])({url:"/appproject/category/edit",method:"post",data:t})}function o(t){return Object(s["a"])({url:"/appproject/category/delete",method:"post",data:t})}function l(t){return Object(s["a"])({url:"/appproject/materiel/edit",method:"post",data:t})}function r(t){return Object(s["a"])({url:"/appproject/materiel/pageList",method:"post",data:t})}function c(t){return Object(s["a"])({url:"/appproject/MaterielProject/getChildGoods",method:"post",data:t})}function d(t){return Object(s["a"])({url:"/appproject/materiel/delete",method:"post",data:t})}function u(t){return Object(s["a"])({url:"/appproject/inventoryRecord/operateIn",method:"post",data:t})}function p(t){return Object(s["a"])({url:"/appproject/inventoryRecord/pageList",method:"post",data:t})}function m(t){return Object(s["a"])({url:"/appproject/inventoryRecord/operateOut",method:"post",data:t})}function g(t){return Object(s["a"])({url:"/appproject/inventoryRecord/diffPageList",method:"post",data:t})}function f(t){return Object(s["a"])({url:"/appproject/category/treeList",method:"post",data:t})}function v(t){return Object(s["a"])({url:"/appproject/MaterielProject/queryMaterielTypeTree",method:"post",data:t})}function h(t){return Object(s["a"])({url:"/appproject/inventoryRecord/diffPageList",method:"post",data:t})}function _(t){return Object(s["a"])({url:"/appproject/materiel/differenceLog/taskOrderRelatedList",method:"post",data:t})}function b(t){return Object(s["a"])({url:"/appproject/inventoryRecord/exportExcel",method:"post",responseType:"blob",data:t})}function k(t){return Object(s["a"])({url:"/appproject/materiel/exportExcel",method:"post",responseType:"blob",data:t})}function I(t,e){return Object(s["a"])({url:"/appproject/materiel/importExcel"+e,method:"post",isReturnResponse:!0,responseType:"blob",headers:{"Content-Type":"multipart/form-data;charset=UTF-8"},data:t})}function w(t,e){return Object(s["a"])({url:"/appproject/inventoryRecord/importExcel"+e,method:"post",isReturnResponse:!0,responseType:"blob",headers:{"Content-Type":"multipart/form-data;charset=UTF-8"},data:t})}},"5e98":function(t,e,a){"use strict";a("3b61")},"7d42":function(module,__webpack_exports__,__webpack_require__){"use strict";var _utils_dataDict__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("dce5");__webpack_exports__["a"]={props:{opentype:{type:String,default:"task"},tableData:{type:Array,default:[]},tools:{type:Boolean,default:!1},del:{type:Boolean,default:!1},search:{type:Boolean,default:!0},quote:{type:Boolean,default:!1},selection:{type:Boolean,default:!1},pageIndex:{type:Boolean,default:!1},page:{type:Boolean,default:!1}},data:function(){return{professionalList:_utils_dataDict__WEBPACK_IMPORTED_MODULE_0__["Ub"],taskType:_utils_dataDict__WEBPACK_IMPORTED_MODULE_0__["rc"],listLoading:!1,listTable:[],pageTotal:0,spaceTypeList:[],locationList:[],formInfo:{pageNumber:1,pageSize:5},selectionList:[]}},watch:{tableData:function(){}},mounted:function(){},methods:{handleSizeChange:function(t){this.formInfo.pageSize=t},handleCurrentChange:function(t){this.formInfo.pageNumber=t},formatType:function formatType(val){return val?eval(val).label:"-"},formatPlanType:function(t){if(t&&"0"!=t){var e=parseInt(t);return this.taskType[e-1].label}return"-"},thisTaskInfor:function(t,e){var a={type:t,data:e};this.$emit("tableClickInfor",a)},showOrderList:function(t){t.length>0&&this.$emit("updataOrderList",t)}}}},"803c":function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"viweTaskDetailes"},[a("el-page-header",{staticClass:"viweTaskDetailesHeader",attrs:{content:t.title},on:{back:t.goBack}}),t._v(" "),a("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[a("div",{staticClass:"planLst",attrs:{slot:"header"},slot:"header"},[a("span",{staticClass:"planTitle"},[t._v("任务基础信息")]),t._v(" "),a("div",[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:t.handleCancel}},[t._v("返回")]),t._v(" "),a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:function(e){t.fileSetDialog=!0}}},[t._v("查看文件")]),t._v(" "),a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"success",disabled:3!==t.data.status||null!==t.data.taskRate},on:{click:function(e){t.taskAuditDialog=!0}}},[t._v("质量评价")])],1)]),t._v(" "),a("div",{staticClass:"house-detail"},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-row",[a("el-col",{attrs:{span:8}},[t._v("\n 工单编号:"+t._s(t.data.taskNo)+"\n ")]),t._v(" "),a("el-col",{attrs:{span:8}},[t._v("\n 项目名称:"+t._s(t.data.projectName)+"\n ")]),t._v(" "),a("el-col",{attrs:{span:8}},[t._v("\n 负责岗位/资质证书:"+t._s(t.data.jobName)+"\n ")]),t._v(" "),a("el-col",{attrs:{span:8}},[t._v("\n 领取人:"+t._s(t.data.recipient)+"\n ")]),t._v(" "),a("el-col",{attrs:{span:8}},[t._v("\n 结束时间:"+t._s(t.data.taskEndDate)+"\n ")]),t._v(" "),a("el-col",{attrs:{span:8}},[t._v("\n 工单状态:"+t._s(t.data.statueName)+"\n ")]),t._v(" "),a("el-col",{attrs:{span:8}},[t._v("\n 工单计时:"+t._s(t.data.taskConsumingTime)+"\n ")]),t._v(" "),a("el-col",{attrs:{span:8}},[t._v("\n 工单频次:"+t._s(t.data.frequencyName)+"\n ")]),t._v(" "),a("el-col",{attrs:{span:8}},[t._v("\n 工单名称:"+t._s(t.data.taskName)+"\n ")]),t._v(" "),a("el-col",{attrs:{span:8}},[t._v("\n 开始时间:"+t._s(t.data.taskStartDate)+"\n ")]),t._v(" "),a("el-col",{attrs:{span:8}},[3===t.data.status||9===t.data.status?a("span",[null==t.data.taskRate?a("span",[t._v("审核状态:待审核")]):null!=t.data.taskRate?a("span",[t._v("审核状态:已审核")]):t._e()]):a("span",[t._v("审核状态:- ")])]),t._v(" "),a("el-col",{attrs:{span:8}},[t._v("\n 工单真实耗时:"+t._s(t.formatTaskTime(t.data.taskConsumingTime))+"\n ")]),t._v(" "),a("el-col",{attrs:{span:8}},[t._v("\n 完成所需时长(s)"+t._s(t.data.needTime)+"\n ")]),t._v(" "),a("el-col",{attrs:{span:8}},[t._v("\n 关联云豆:"+t._s(t.data.laborCost)+"\n ")]),t._v(" "),a("el-col",{attrs:{span:8}},[t._v("\n 综合评分: "),a("el-rate",{staticClass:"comprehensiveScore",attrs:{disabled:"","show-score":"","text-color":"#ff9900"},model:{value:t.data.comprehensiveScore,callback:function(e){t.$set(t.data,"comprehensiveScore",e)},expression:"data.comprehensiveScore"}})],1),t._v(" "),a("el-col",{attrs:{span:8}},[t._v("\n 默认要求描述:"+t._s("1"===t.data.defaultRequire?"无":"2"===t.data.defaultRequire?"文件":"-")+"\n ")])],1)],1)],1)],1)]),t._v(" "),a("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[a("workInfor",{ref:"workInfor",attrs:{opentype:t.opentype}})],1),t._v(" "),a("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[a("material-Detailed",{ref:"materialDetailed"})],1),t._v(" "),null!=t.data.taskRate?a("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[a("qualityStimate",{attrs:{dataInfo:t.data.workWarnRespDTO}})],1):t._e(),t._v(" "),10==t.data.planModel?a("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[a("taskVisitRecord",{ref:"taskVisitRecord",attrs:{taskInfor:t.data}})],1):t._e(),t._v(" "),a("el-dialog",{staticClass:"dialogHead checkOrder",attrs:{title:"计划工单审核","show-close":!0,"close-on-press-escape":!1,"close-on-click-modal":!1,"custom-class":"el-dialog-s","append-to-body":"",visible:t.taskAuditDialog,width:"30%"},on:{"update:visible":function(e){t.taskAuditDialog=e}}},[a("div",{staticClass:"grade"},[t._v("请选择审核评分")]),t._v(" "),a("div",{},[a("el-rate",{model:{value:t.taskRate,callback:function(e){t.taskRate=e},expression:"taskRate"}})],1),t._v(" "),a("div",{staticClass:"btnRate"},[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:t.submitOk}},[t._v("确定")]),t._v(" "),a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],on:{click:function(e){t.taskAuditDialog=!1}}},[t._v("取消")])],1)]),t._v(" "),a("el-dialog",{staticClass:"dialogHead checkOrder",attrs:{title:"文件集","show-close":!0,"close-on-press-escape":!1,"close-on-click-modal":!1,"custom-class":"el-dialog-s","append-to-body":"",visible:t.fileSetDialog,width:"30%"},on:{"update:visible":function(e){t.fileSetDialog=e}}},[t._l(t.fiellArr,(function(e){return a("div",{key:e.rulAddres},[a("div",{staticClass:"fontSize",on:{click:function(a){return t.downloadUp(e.rulAddres)}}},[t._v(t._s(e.urlName))])])})),t._v(" "),0==t.fiellArr.length?a("div",{staticStyle:{color:"#909399"}},[t._v("暂无数据")]):t._e(),t._v(" "),a("div",{staticClass:"tab-title"}),t._v(" "),a("div",{staticClass:"btnRate"},[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],on:{click:function(e){t.fileSetDialog=!1}}},[t._v("取消")])],1)],2)],1)},i=[],n=a("bd30"),o=a("d68f"),l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"materialDetailed"},[a("div",{staticClass:"header"},[t._m(0),t._v(" "),a("div",{staticClass:"rigth"},[a("span",{on:{click:t.handleSlow}},[t._v(" \n "+t._s(t.isShow?"收起":"展开")+"\n "),a("i",{class:{icons:!0,"el-icon-arrow-down":!t.isShow,"el-icon-arrow-up":t.isShow}})])])]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.isShow,expression:"isShow"}],staticStyle:{"padding-top":"20px"}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{border:"",data:t.listTable,"header-cell-style":t.headClass,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"#",align:"center",width:"50"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.$index+(t.query.pageNumber-1)*t.query.pageSize+1)+" ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"物料编码"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{attrs:{type:"primary"}},[t._v(t._s(e.row.codeNumber))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"物料名称"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.materielName))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"品牌"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.brand))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"单价"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.price))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center","show-overflow-tooltip":"",label:"领取数量"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.operateQuantity))])]}}])})],1),t._v(" "),a("div",{staticClass:"paginations"},[a("Pagination",{attrs:{total:t.pageTotal},on:{handleCurrentChange:t.handleCurrentChange,handleSizeChange:t.handleSizeChange}})],1)],1)])},r=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"left"},[a("span",{staticClass:"workOrderTitle"},[t._v("所选物料清单")])])}],c=a("333d"),d=a("49de"),u={name:"materialDetails",components:{Pagination:c["a"]},data:function(){return{pageTotal:0,isShow:!1,listLoading:!1,listTable:[],query:{pageNumber:1,pageSize:10}}},created:function(){this.headClass()},mounted:function(){},methods:{handleSlow:function(){this.isShow=!this.isShow},getlistData:function(t){var e=this;this.listLoading=!0;var a=t;this.query.communityUuid=a.projectUuid,this.query.taskOrderUuid=a.taskUuid,Object(d["e"])(this.query).then((function(t){0==t.code&&(e.listTable=t.data.records,e.pageTotal=t.data.rowsCount)})),this.listLoading=!1},handleSizeChange:function(t){this.query.pageSize=t.limit,this.getlistData()},handleCurrentChange:function(t){this.query.pageNumber=t.currentPage,this.getlistData()},headClass:function(){return"text-align:center;background:#FAFAFA;"}}},p=u,m=(a("e263"),a("829d")),g=Object(m["a"])(p,l,r,!1,null,"9cf41c22",null),f=g.exports,v=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"header"},[t._m(0),t._v(" "),a("div",{staticClass:"rigth"},[a("span",{on:{click:t.handleSlow}},[t._v(" "+t._s(t.isShow?"收起":"展开")),a("i",{class:{icons:!0,"el-icon-arrow-down":!t.isShow,"el-icon-arrow-up":t.isShow}})])])]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.isShow,expression:"isShow"}]},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],ref:"receivableTable",attrs:{border:"",data:t.listData,"header-cell-style":t.headClass}},[a("el-table-column",{attrs:{label:"#",align:"center",fixed:"","min-width":"50"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.$index+(t.query.pageNumber-1)*t.query.pageSize+1))]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"项目","min-width":"80","show-overflow-tooltip":"",fixed:""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.projectName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"管理区","min-width":"80","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.precinctName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"楼栋","min-width":"80","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.buildingName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"单元","min-width":"80","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.unitName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"房号","min-width":"80","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.roomNum)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"拜访时间","min-width":"160","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.visitTime)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"拜访对象","min-width":"80","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.houseMemberName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"拜访方式","min-width":"80","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("getItemType")(e.row.visitType,t.visitWayList))+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"拜访记录","min-width":"90","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.remark)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"欠费原因","min-width":"180","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.visitReason?a("span",[t._v(t._s(t._f("getItemType")(e.row.visitReason,t.appealList)))]):a("span",[t._v("无原因")])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"图片/视频","min-width":"100","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.viewClick(e.row)}}},[t._v("查看")])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"提交人","min-width":"90","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.memberName)+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"提交时间","min-width":"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.createTime)+"\n ")]}}])})],1),t._v(" "),a("div",{staticClass:"paginations"},[a("el-pagination",{attrs:{background:"","current-page":t.query.pageNumber,"page-sizes":[10,30,50],"page-size":t.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"update:currentPage":function(e){return t.$set(t.query,"pageNumber",e)},"update:current-page":function(e){return t.$set(t.query,"pageNumber",e)},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],1),t._v(" "),a("el-dialog",{attrs:{title:"照片/视频",visible:t.showMedia,width:"700px"},on:{"update:visible":function(e){t.showMedia=e}}},[a("div",{staticClass:"preview-img"},[a("h3",[t._v("照片:")]),t._v(" "),t._l(t.imgList,(function(e,s){return a("el-image",{key:s,staticStyle:{width:"100px",height:"100px"},attrs:{src:e,"preview-src-list":t.imgList}})})),t._v(" "),0==t.imgList.length?a("span",[t._v("无照片数据")]):t._e()],2),t._v(" "),a("div",{staticClass:"oerview-video"},[a("h3",[t._v("视频:")]),t._v(" "),""!=t.saveData.mediaUrl?a("div",{staticClass:"video-play",on:{click:t.playVideo}},[a("i",{staticClass:"el-icon-video-play"})]):a("span",[t._v("无视频数据")])]),t._v(" "),a("el-dialog",{attrs:{width:"40%",visible:t.showVideo,"before-close":t.closePlay,"append-to-body":""},on:{"update:visible":function(e){t.showVideo=e}}},[a("video",{attrs:{src:t.videoUrl,controls:"",autoplay:"",width:"100%"}})])],1)],1)},h=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"left"},[a("span",{staticClass:"workOrderTitle"},[t._v("拜访记录")])])}],_=a("8abc"),b=a("dce5"),k={name:"taskVisitRecord",props:["taskInfor"],data:function(){return{isShow:!1,listLoading:!1,visitWayList:b["zc"],appealList:b["n"],listData:[],total:0,query:{pageNumber:1,pageSize:10},showMedia:!1,showVideo:!1,saveData:"",imgList:[],videoUrl:""}},mounted:function(){this.headClass()},methods:{getlistData:function(){var t=this,e={relTaskNo:this.taskInfor.taskNo,projectUuid:this.taskInfor.projectUuid};e=Object.assign(e,this.query),this.listLoading=!0,Object(_["e"])(e).then((function(e){e.data&&e.data.records&&(t.listData=e.data.records,t.total=e.data.rowsCount,t.listLoading=!1)})).catch((function(e){t.listLoading=!1}))},viewClick:function(t){this.saveData=JSON.parse(JSON.stringify(t)),""!=this.saveData.pictureUrl?this.imgList=this.saveData.pictureUrl.split(","):this.imgList=[],this.showMedia=!0},playVideo:function(){this.videoUrl=this.saveData.mediaUrl,this.showVideo=!0},closePlay:function(){this.showVideo=!1,this.videoUrl=""},handleSizeChange:function(t){this.query.pageSize=t,this.getlistData()},handleCurrentChange:function(t){this.query.pageNumber=t,this.getlistData()},handleSlow:function(){this.isShow=!this.isShow},headClass:function(){return"text-align:center;background:#FAFAFA;"}}},I=k,w=(a("d8f5"),Object(m["a"])(I,v,h,!1,null,"24088d2d",null)),y=w.exports,C=a("f8b7"),S=a("bee7");function U(t){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U(t)}function x(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function L(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?x(Object(a),!0).forEach((function(e){O(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):x(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function O(t,e,a){return(e=T(e))in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function T(t){var e=R(t,"string");return"symbol"==U(e)?e:e+""}function R(t,e){if("object"!=U(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var s=a.call(t,e||"default");if("object"!=U(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var D={components:{InspectionItem:n["a"],materialDetailed:f,qualityStimate:o["a"],workInfor:S["a"],taskVisitRecord:y},props:{content:{type:String,default:""}},data:function(){return{title:"",data:{comprehensiveScore:0},fiellArr:[],taskAuditDialog:!1,fileSetDialog:!1,opentype:"task",standardList:[],taskRate:null}},created:function(){},methods:{goBack:function(){this.$emit("goBack")},viewTaskDetails:function(t){this.data=t,this.title=this.content+"计划工单详情",this.data.taskUuid&&this.getTaskDetailes()},viewFile:function(){this.fileSetDialog=!0,this.getTaskDetailes()},getTaskDetailes:function(){var t=this;console.log("getTaskDetailes"),Object(C["B"])({taskUuid:this.data.taskUuid}).then((function(e){if(t.data=e.data,t.data.taskRate){var a=JSON.parse(t.data.cautionLightNode);if(null==t.data.workWarnRespDTO){var s={warnType:null,memberName:t.data.recipient};t.data.workWarnRespDTO=L({},s)}t.data.workWarnRespDTO.planType=2,t.data.workWarnRespDTO.evaluationStar=t.data.taskRate,null==a?(t.data.workWarnRespDTO.accept=0,t.data.workWarnRespDTO.handle=0):(t.data.workWarnRespDTO.accept=a.accept?a.accept:0,t.data.workWarnRespDTO.handle=a.handle?a.handle:0)}t.data.comprehensiveScore=e.data.comprehensiveScore?Number(e.data.comprehensiveScore):0,t.$nextTick((function(){t.$refs.workInfor.getlistData(e.data),t.$refs.materialDetailed.getlistData(e.data),10===t.data.planModel&&t.$refs.taskVisitRecord.getlistData()})),t.data.fileList&&t.data.fileList.length>0&&t.getVideoAndNnnexUrl(t.data.fileList)}))},getVideoAndNnnexUrl:function(t){var e=this;this.fiellArr=[];var a=t||[];a.length>0&&a.forEach((function(t){var a={rulAddres:t.fullUrl,urlName:t.fileName,fileType:t.fileType};e.fiellArr.push(a)}))},downloadUp:function(t){window.open(t)},formatTaskTime:function(t){if(null==t)return"";var e=t.toFixed(0),a=0,s=0,i=0;e>60&&(a=parseInt(e/60),e=parseInt(e%60),a>60&&(s=parseInt(a/60),a=parseInt(a%60),s>24&&(i=parseInt(s/24),s=parseInt(s%24))));var n="";return e>=0&&(n=parseInt(e)+"秒"),a>0&&(n=parseInt(a)+"分"+parseInt(e)+"秒"),s>0&&(n=parseInt(s)+"小时"+parseInt(a)+"分"),i>0&&(n=parseInt(i)+"天"+parseInt(s)+"小时"),n},submitOk:function(){var t=this,e={id:this.data.id,taskRate:this.taskRate,operatorId:this.$store.state.user.userInfo.memberId,operatorName:this.$store.state.user.userInfo.memberName};Object(C["n"])(e).then((function(e){0===e.code&&t.$message({type:"success",message:"操作成功"}),t.getTaskDetailes(),t.taskAuditDialog=!1}))},taskDataList:function(t){var e=this,a={planUuid:t.planUuid,taskUuid:t.taskUuid};Object(C["s"])(a).then((function(t){t.data.forEach((function(t){t.isShow=!0})),e.standardList=t.data}))},handleCancel:function(){this.goBack()}}},j=D,N=(a("f725"),Object(m["a"])(j,s,i,!1,null,"6a6a5444",null));e["a"]=N.exports},"8abc":function(t,e,a){"use strict";a.d(e,"h",(function(){return i})),a.d(e,"b",(function(){return n})),a.d(e,"g",(function(){return o})),a.d(e,"e",(function(){return l})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return c})),a.d(e,"f",(function(){return d})),a.d(e,"d",(function(){return u}));var s=a("b775");function i(t){return Object(s["a"])({url:"/appproject/CarSubscribe/pageList",method:"POST",data:t})}function n(t){return Object(s["a"])({url:"/appproject/project/findApproveConfig",method:"POST",data:t})}function o(t){return Object(s["a"])({url:"/appproject/project/updateApproveConfig",method:"POST",data:t})}function l(t){return Object(s["a"])({url:"/appproject/CustomerVisit/pageList",method:"POST",data:t})}function r(t){return Object(s["a"])({url:"/appproject/ChargeReceivable/houseFeePage",method:"POST",data:t})}function c(t){return Object(s["a"])({url:"/appproject/CustomerVisit/export",method:"POST",responseType:"blob",data:t})}function d(t){return Object(s["a"])({url:"/appproject/CustomerVisit/removeVisitPlan",method:"POST",data:t})}function u(t){return Object(s["a"])({url:"/appproject/ChargeReceivable/houseFeePage/export",method:"POST",data:t})}},"9b1d":function(t,e,a){},bee7:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"materialDetailed"},[a("div",{staticClass:"header"},[t._m(0),t._v(" "),a("div",{staticClass:"rigth"},[a("span",{on:{click:t.handleSlow}},[t._v("\n "+t._s(t.isShow?"收起":"展开")+"\n "),a("i",{class:{icons:!0,"el-icon-arrow-down":!t.isShow,"el-icon-arrow-up":t.isShow}})])])]),t._v(" "),t._l(t.listTable,(function(e,s){return a("div",{directives:[{name:"show",rawName:"v-show",value:t.isShow,expression:"isShow"}],key:s,staticClass:"workInforItem"},[a("div",{staticClass:"workItemlocation",style:t.getColor(e)},[t._v("\n "+t._s(e.spaceName+"-"+e.location)+"\n "),t.isWeibao?a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(a){return t.viewImplementImg(e)}}},[t._v("执行图片")]):t._e(),t._v(" "),t.isWeibao?a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(a){return t.viewPositionImg(e)}}},[t._v("网格图片")]):t._e(),t._v(" "),t.isWeibao?t._e():a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(a){return t.checkResultsOfEnforcement(e)}}},[t._v("作业结果")]),t._v(" "),a("div",{staticClass:"rigth"},[a("span",{on:{click:function(e){return t.handleSlowList(s)}}},[t._v("\n "+t._s(e.isShow?"收起":"展开")+"\n "),a("i",{class:{icons:!0,"el-icon-arrow-down":!e.isShow,"el-icon-arrow-up":e.isShow}})])])],1),t._v(" "),a("el-tabs",{directives:[{name:"show",rawName:"v-show",value:e.isShow,expression:"item.isShow"}],attrs:{type:"border-card"}},t._l(e.planDeviceList,(function(e,s){return a("el-tab-pane",{key:s,staticClass:"workItemPane",attrs:{label:e.targetName}},[a("standardTable",{attrs:{tableData:e.standardRespDTOList,pageIndex:!0,page:!0},on:{tableClickInfor:t.tableClickInfor,updataOrderList:t.updataOrderList}})],1)})),1)],1)})),t._v(" "),a("el-dialog",{attrs:{title:"关联整改工单",visible:t.relationOrderVisible,width:"30%","close-on-press-escape":!1,"close-on-click-modal":!1,"destroy-on-close":"","show-close":!1,"custom-class":"el-dialog-s","append-to-body":""}},[t._l(t.relationOrderList,(function(e,s){return a("div",{key:s,staticClass:"orderNoClass",on:{click:function(a){return t.showOrderDetaoles(e)}}},[t._v("\n "+t._s(e)+"\n ")])})),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.relationOrderVisible=!1}}},[t._v("关闭")])],1)],2),t._v(" "),a("el-dialog",{attrs:{title:"关联整改工单详情",visible:t.relationOrderDetailesVisible,width:"70%","close-on-press-escape":!1,"close-on-click-modal":!1,"destroy-on-close":"","custom-class":"el-dialog-s","append-to-body":""}},[a("div",{},[a("workOrderDetails",{ref:"workOrderDetails",attrs:{content:""},on:{goBack:t.goBack,chcekWorkOrder:t.chcekWorkOrder}})],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.relationOrderDetailesVisible=!1}}},[t._v("关闭")])],1)]),t._v(" "),a("el-dialog",{attrs:{title:"执行图片",visible:t.dialogImgVisible,width:"30%","close-on-press-escape":!1,"close-on-click-modal":!1,"destroy-on-close":"","before-close":t.handleImgClose,"custom-class":"el-dialog-s","append-to-body":""},on:{"update:visible":function(e){t.dialogImgVisible=e}}},[a("div",{staticClass:"imgCarousel"},[t.imgList.length>0?a("el-carousel",{attrs:{interval:5e3,arrow:"always"}},t._l(t.imgList,(function(e,s){return a("el-carousel-item",{key:s},[a("div",{staticClass:"imgList"},t._l(e,(function(e,s){return a("div",{key:s,staticClass:"imgItem",on:{click:function(a){return t.queryStandByThisImg(e)}}},[a("el-image",{staticClass:"imges",attrs:{src:e.imageUrl}})],1)})),0)])})),1):a("div",{staticClass:"noImplementImg"},[t._v("暂无执行图片")])],1),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.dialogImgVisible=!1}}},[t._v("关闭")])],1)]),t._v(" "),t.dialogVisible?a("el-dialog",{attrs:{title:"执行记录",visible:t.dialogVisible,width:"80%","close-on-press-escape":!1,"close-on-click-modal":!1,"destroy-on-close":"","before-close":t.handleClose,"custom-class":"el-dialog-s","append-to-body":""},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{staticClass:"dialogContent"},[a("div",{staticClass:"dialogContent-item"},[a("div",{staticClass:"dialogContent-item-list"},[a("div",{staticClass:"dialogContent-item-list-itemTitle"},[t._v("\n 本次作业要求示例图片:\n ")]),t._v(" "),t.slImg.length>0?a("div",{staticClass:"dialogContent-item-list-itemConetnt"},t._l(t.slImg,(function(t,e){return a("div",{key:e,staticClass:"egImg"},[a("el-image",{staticClass:"egImgs",attrs:{src:t.imageUrl,"preview-src-list":[t.imageUrl]}})],1)})),0):a("div",{staticClass:"dialogContent-item-list-itemConetnt"},[t._v("\n 暂无示例图片\n ")]),t._v(" "),a("el-link",{attrs:{type:"primary"},on:{click:t.openExampleImgLibrary}},[t._v("\n 当前示例图片库:"+t._s(t.slImg.length+t.examplesImageUrl.length||0)+"张")])],1),t._v(" "),a("div",{staticClass:"dialogContent-item-list"},[a("div",{staticClass:"dialogContent-item-list-itemTitle"},[t._v("作业事项:")]),t._v(" "),a("div",{staticClass:"dialogContent-item-list-itemConetnt"},[t._v("\n "+t._s(t.taskInfo.eventName||"-")+"\n ")])]),t._v(" "),a("div",{staticClass:"dialogContent-item-list"},[a("div",{staticClass:"dialogContent-item-list-itemTitle"},[t._v("检查标准:")]),t._v(" "),a("div",{staticClass:"dialogContent-item-list-itemConetnt"},[t._v("\n "+t._s(t.taskInfo.checkStandard||"-")+"\n ")])]),t._v(" "),a("div",{staticClass:"dialogContent-item-list"},[a("div",{staticClass:"dialogContent-item-list-itemTitle"},[t._v("作业标准:")]),t._v(" "),a("div",{staticClass:"dialogContent-item-list-itemConetnt"},[t._v("\n "+t._s(t.taskInfo.proStandard||"-")+"\n ")])]),t._v(" "),a("div",{staticClass:"dialogContent-item-list"},[a("div",{staticClass:"dialogContent-item-list-itemTitle"},[t._v("\n "+t._s(1===t.taskInfo.executeResult?"不合格原因":"合格说明")+"\n ")]),t._v(" "),a("div",{staticClass:"dialogContent-item-list-itemConetnt"},[t._v("\n "+t._s(t.taskInfo.remark||"-")+"\n ")])])]),t._v(" "),a("div",{staticClass:"dialogContent-item"},[a("div",{staticClass:"dialogContent-item-list"},[a("div",{staticClass:"dialogContent-item-list-itemTitle"},[a("label",{class:0===t.imgType?"currentImg":"",on:{click:function(e){return t.getImgType(0)}}},[t._v("当前记录")]),t._v(" "),a("label",{class:1===t.imgType?"currentImg":"",on:{click:function(e){return t.getImgType(1)}}},[t._v("所有记录")])]),t._v(" "),0===t.imgType?a("div",{staticClass:"dialogContent-item-list-itemConetnt dialogContent-item-list-itemConetntImg2"},[a("p",[t._v("作业前:")]),t._v(" "),t._l(t.preImageUrlList,(function(t,e){return a("div",{key:e,staticClass:"egImg2"},[a("el-image",{staticClass:"executionImg",attrs:{src:t,"preview-src-list":[t]}})],1)})),t._v(" "),0===t.preImageUrlList.length?a("div",{staticClass:"noImgNotes"},[t._v("\n 暂无作业前图片\n ")]):t._e()],2):t._e(),t._v(" "),0===t.imgType?a("div",{staticClass:"dialogContent-item-list-itemConetnt dialogContent-item-list-itemConetntImg2"},[a("p",[t._v("作业后:")]),t._v(" "),t._l(t.imageUrlList,(function(e,s){return a("div",{key:s,staticClass:"egImg2"},[a("el-image",{staticClass:"executionImg",attrs:{src:e,"preview-src-list":[e]}}),t._v(" "),a("div",[a("el-checkbox",{attrs:{label:e},on:{change:t.handleCheckboxChange},model:{value:t.exampleCheckList,callback:function(e){t.exampleCheckList=e},expression:"exampleCheckList"}},[t._v("加入示例图片库")])],1),t._v(" "),a("span",{staticClass:"executionRes",style:{color:1===t.taskInfo.executeResult?"red":"yellow"}},[t._v(t._s(1===t.taskInfo.executeResult?"不合格":"合格"))])],1)})),t._v(" "),0===t.imageUrlList.length?a("div",{staticClass:"noImgNotes"},[t._v("\n 暂无作业后图片\n ")]):t._e()],2):t._e(),t._v(" "),1===t.imgType?a("div",{staticClass:"dialogContent-item-list-itemConetnt dialogContent-item-list-itemConetntImg2"},[t.paginatedAllImgList.length>0?a("div",[a("div",{staticClass:"allImgList"},t._l(t.paginatedAllImgList,(function(e,s){return a("div",{key:s,staticClass:"egImg2"},[a("el-image",{staticClass:"executionImg",attrs:{src:e.imageUrl,"preview-src-list":t.paginatedAllImgList.map((function(t){return t.imageUrl}))}}),t._v(" "),a("div",[a("el-checkbox",{attrs:{label:e.imageUrl},on:{change:t.handleCheckboxChange},model:{value:t.exampleCheckList,callback:function(e){t.exampleCheckList=e},expression:"exampleCheckList"}},[t._v("加入示例图片库")])],1),t._v(" "),a("span",{staticClass:"executionRes",style:{color:1===e.executeResult?"red":"yellow"}},[t._v(t._s(1===e.executeResult?"不合格":"合格"))])],1)})),0),t._v(" "),a("div",{staticClass:"allImgPagination"},[a("el-pagination",{attrs:{"current-page":t.allImgPage.currentPage,"page-sizes":[5,10,15,20],"page-size":t.allImgPage.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.allImgPage.total},on:{"size-change":t.handleAllImgSizeChange,"current-change":t.handleAllImgCurrentChange}})],1)]):a("div",{staticClass:"noImgNotes"},[t._v("暂无执行图片")])]):t._e()]),t._v(" "),a("div",{staticClass:"dialogContent-item-list"},[a("div",{staticClass:"dialogContent-item-list-itemTitle"},[t._v("\n 评价对象:"+t._s(t.taskInfo.targetName)+"\n ")]),t._v(" "),a("div",{staticClass:"dialogContent-item-list-itemTitle"},[t._v("执行评价:")]),t._v(" "),a("div",{staticClass:"dialogContent-item-list"},[a("div",{staticClass:"taskRate"},[a("el-rate",{attrs:{disabled:!(t.taskInfo.executeResult>0)||t.taskInfo.auditScore>0},model:{value:t.audit.taskRate,callback:function(e){t.$set(t.audit,"taskRate",e)},expression:"audit.taskRate"}})],1),t._v(" "),t.audit.taskRate<3?a("div",{staticClass:"taskMemo"},[a("el-input",{attrs:{disabled:!(t.taskInfo.executeResult>0)||t.taskInfo.auditScore>0,type:"textarea",rows:4,placeholder:"请输入内容"},model:{value:t.audit.memo,callback:function(e){t.$set(t.audit,"memo",e)},expression:"audit.memo"}})],1):t._e()])])])]),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")]),t._v(" "),t.taskInfo.auditScore?t._e():a("el-button",{attrs:{type:"primary",disabled:!(t.taskInfo.executeResult>0)},on:{click:function(e){return t.submitAudit(-1)}}},[t._v("提 交")])],1)]):t._e(),t._v(" "),a("el-dialog",{attrs:{title:"网格图片",visible:t.dialogPosVisible,width:"30%","close-on-press-escape":!1,"close-on-click-modal":!1,"destroy-on-close":"","before-close":t.handlePosImgClose,"custom-class":"el-dialog-s","append-to-body":""},on:{"update:visible":function(e){t.dialogPosVisible=e}}},[a("div",{staticClass:"imgCarousel"},[t.posiotionImg.length>0?a("div",{staticClass:"imgList"},t._l(t.posiotionImg,(function(t,e){return a("div",{key:e,staticClass:"imgItem"},[a("el-image",{staticClass:"imges",attrs:{src:t,"preview-src-list":[t]}})],1)})),0):a("div",{staticClass:"noImplementImg"},[t._v("暂无图片")])]),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.dialogPosVisible=!1}}},[t._v("关闭")])],1)]),t._v(" "),a("el-dialog",{attrs:{title:t.currentResultsObj.location+"-"+t.currentResultsObj.spaceName,visible:t.resultsOfEnforcementDialog,width:"1200px","close-on-press-escape":!1,"close-on-click-modal":!1,"destroy-on-close":"","before-close":t.resultshandlePosImgClose,"custom-class":"el-dialog-s","append-to-body":""},on:{"update:visible":function(e){t.resultsOfEnforcementDialog=e}}},[a("div",{staticClass:"currentResultsContent"},t._l(t.currentResulStandardList,(function(e,s){return a("div",{key:s,staticClass:"standardItem"},[a("div",{staticClass:"standardExamplesImage"},[a("p",{staticClass:"eventName"},[t._v("\n 作业事项:\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n "+t._s(e.eventName||"-")+"\n ")]),t._v(" "),a("div",{staticClass:"tdTooltipItem"},[t._v(t._s(e.eventName||"-"))])])],1),t._v(" "),e.examplesImageUrlList.length>0?a("div",{staticClass:"standardExamplesImageBox"},t._l(e.examplesImageUrlList,(function(s,i){return a("div",{key:i,staticClass:"standardImgItem"},[a("el-image",{staticClass:"locationEgImgItemImg",attrs:{src:s,fit:"fill","preview-src-list":e.examplesImageUrlList}}),t._v(" "),a("p",[t._v("当前作业示例图片")])],1)})),0):a("div",{staticClass:"standardExamplesImageBox"},[a("div",{staticClass:"noImgsNotes"},[t._v("暂无示例图片")])])]),t._v(" "),a("div",{staticClass:"standardImage"},[a("p",[t._v("作业图片-作业前:")]),t._v(" "),e.preImageUrlList.length>0?a("div",{staticClass:"standardExamplesImageBox"},t._l(e.preImageUrlList,(function(t,s){return a("div",{key:s,staticClass:"standardImgItem"},[a("el-image",{staticClass:"locationEgImgItemImg",attrs:{src:t,fit:"fill","preview-src-list":e.preImageUrlList}})],1)})),0):a("div",{staticClass:"standardExamplesImageBox"},[a("div",{staticClass:"noImgsNotes"},[t._v("暂无作业图片")])]),t._v(" "),a("p",[t._v("作业图片-作业后:")]),t._v(" "),e.imageUrlList.length>0?a("div",{staticClass:"standardExamplesImageBox"},t._l(e.imageUrlList,(function(s,i){return a("div",{key:i,staticClass:"standardImgItem"},[a("span",{staticClass:"executionRes",style:{color:1===e.executeResult?"red":"yellow"}},[t._v(t._s(1===e.executeResult?"不合格":"合格"))]),t._v(" "),a("el-image",{staticClass:"locationEgImgItemImg",attrs:{src:s,fit:"fill","preview-src-list":e.imageUrlList}})],1)})),0):a("div",{staticClass:"standardExamplesImageBox"},[a("div",{staticClass:"noImgsNotes"},[t._v("暂无作业图片")])])]),t._v(" "),a("div",{staticClass:"standardAuditScore"},[a("p",[t._v("作业评价:")]),t._v(" "),a("div",{staticClass:"auditScoreBox"},[a("div",{staticClass:"taskRate"},[a("el-rate",{attrs:{disabled:!(e.executeResult>0)||e.auditScore>0},on:{change:t.memoInput},model:{value:e.taskRate,callback:function(a){t.$set(e,"taskRate",a)},expression:"item.taskRate"}})],1),t._v(" "),e.taskRate<3?a("div",{staticClass:"taskMemo"},[a("el-input",{attrs:{type:"textarea",disabled:!(e.executeResult>0)||e.auditScore>0,rows:4,placeholder:"请输入内容"},on:{input:t.memoInput},model:{value:e.memo,callback:function(a){t.$set(e,"memo",a)},expression:"item.memo"}})],1):t._e()]),t._v(" "),e.auditScore?t._e():a("el-button",{attrs:{type:"primary",size:"small",disabled:!(e.executeResult>0)},on:{click:function(a){return t.submitStandAudit(s,e)}}},[t._v("提 交")])],1)])})),0),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.resultsOfEnforcementDialog=!1}}},[t._v("关闭")])],1)]),t._v(" "),a("el-dialog",{attrs:{title:"示例图片库",visible:t.exampleLibraryVisible,width:"60%","close-on-press-escape":!1,"close-on-click-modal":!1,"destroy-on-close":"","custom-class":"el-dialog-s","append-to-body":""},on:{"update:visible":function(e){t.exampleLibraryVisible=e}}},[a("div",{staticClass:"exampleLibraryContent"},[t.slImg.length>0||t.examplesImageUrl.length>0?a("div",{staticClass:"dialogContent-item-list-itemConetnt"},[t._l(t.slImg,(function(e,s){return a("div",{key:"slImg-"+s,staticClass:"egImg"},[a("el-image",{staticClass:"egImgs",attrs:{src:e.imageUrl,"preview-src-list":t.slImg.concat(t.examplesImageUrl).map((function(t){return t.imageUrl}))}})],1)})),t._v(" "),t._l(t.examplesImageUrl,(function(e,s){return a("div",{key:"examples-"+s,staticClass:"egImg"},[a("el-image",{staticClass:"egImgs",attrs:{src:e.imageUrl,"preview-src-list":t.slImg.concat(t.examplesImageUrl).map((function(t){return t.imageUrl}))}}),t._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.removeExampleLibraryImg(e)}}},[t._v("移除")])],1)}))],2):a("div",{staticClass:"dialogContent-item-list-itemConetnt"},[t._v("\n 暂无示例图片库图片\n ")])]),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.exampleLibraryVisible=!1}}},[t._v("关闭")])],1)])],2)},i=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"left"},[a("span",{staticClass:"workOrderTitle"},[t._v("作业信息")])])}],n=a("333d"),o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],ref:"dataTable",attrs:{border:"",data:t.tableData.slice((t.formInfo.pageNumber-1)*t.formInfo.pageSize,t.formInfo.pageNumber*t.formInfo.pageSize),"row-key":"standUuid","header-cell-style":{background:"#FAFAFA",color:"#606266"},"tooltip-effect":"dark"}},[t.selection?a("el-table-column",{attrs:{"show-overflow-tooltip":"","reserve-selection":!0,type:"selection",width:"55"}}):t._e(),t._v(" "),t.pageIndex?a("el-table-column",{attrs:{label:"序号",width:"50",align:"center",fixed:""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.$index+(t.formInfo.pageNumber-1)*t.formInfo.pageSize+1)+" ")])]}}],null,!1,1481381075)}):t._e(),t._v(" "),a("el-table-column",{attrs:{"min-width":"120",align:"center",fixed:"","show-overflow-tooltip":"",label:"作业对象类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1===e.row.targetType?"设备":2===e.row.targetType?"空间":3===e.row.targetType?"物品":"房屋")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{"min-width":"120",align:"center",fixed:"","show-overflow-tooltip":"",label:"作业对象"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 作业对象:"+t._s(e.row.targetName||"-")),a("br"),t._v("\n 参考频次:"+t._s(e.row.recomndFreqName||"-")),a("br"),t._v("\n 专业等级:"+t._s(e.row.professionalLevel||"-")),a("br"),t._v("\n 安全等级:"+t._s(e.row.dangerousLevel||"-")),a("br"),t._v("\n 温度:"+t._s(e.row.temperatureLevel||"-")),a("br"),t._v("\n 私密度:"+t._s(e.row.privacyLevel||"-")+"\n ")]),t._v(" "),a("div",{staticClass:"tdTooltipItem"},[t._v(t._s(e.row.targetName||"-"))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{"min-width":"120",align:"center","show-overflow-tooltip":"",label:"作业事项"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 作业事项:"+t._s(e.row.eventName||"-")),a("br"),t._v("\n 参考频次:"+t._s(e.row.recomndFreqName||"-")),a("br"),t._v("\n 专业等级:"+t._s(e.row.professionalLevel||"-")),a("br"),t._v("\n 安全等级:"+t._s(e.row.dangerousLevel||"-")),a("br"),t._v("\n 温度:"+t._s(e.row.temperatureLevel||"-")),a("br"),t._v("\n 私密度:"+t._s(e.row.privacyLevel||"-")+"\n ")]),t._v(" "),a("div",{staticClass:"tdTooltipItem"},[t._v(t._s(e.row.eventName||"-"))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"200",label:"作业标准","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 作业标准:"+t._s(e.row.proStandard||"-")),a("br"),t._v("\n 参考频次:"+t._s(e.row.recomndFreqName||"-")),a("br"),t._v("\n 专业等级:"+t._s(e.row.professionalLevel||"-")),a("br"),t._v("\n 安全等级:"+t._s(e.row.dangerousLevel||"-")),a("br"),t._v("\n 温度:"+t._s(e.row.temperatureLevel||"-")),a("br"),t._v("\n 私密度:"+t._s(e.row.privacyLevel||"-")+"\n ")]),t._v(" "),a("div",{staticClass:"tdTooltipItem"},[t._v(t._s(e.row.proStandard||"-"))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"200",label:"检查标准","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top-start"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n 检查标准:"+t._s(e.row.checkStandard||"-")),a("br"),t._v("\n 参考频次:"+t._s(e.row.recomndFreqName||"-")),a("br"),t._v("\n 专业等级:"+t._s(e.row.professionalLevel||"-")),a("br"),t._v("\n 安全等级:"+t._s(e.row.dangerousLevel||"-")),a("br"),t._v("\n 温度:"+t._s(e.row.temperatureLevel||"-")),a("br"),t._v("\n 私密度:"+t._s(e.row.privacyLevel||"-")+"\n ")]),t._v(" "),a("div",{staticClass:"tdTooltipItem"},[t._v(t._s(e.row.checkStandard||"-"))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.spuQuantity||0))]),t._v(" "),"add"!==t.opentype&&"edit"!==t.opentype&&"copy"!==t.opentype||1===t.attrData.planStatus||3===t.attrData.planStatus?t._e():a("i",{staticClass:"el-icon-edit editIcon",on:{click:function(a){return t.editClick(e.row,e.$index)}}})]}}])},[a("template",{slot:"header"},[t._v("\n 定量\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"数量,例如面积、窗户数量等",placement:"top-start"}},[a("i",{staticClass:"el-icon-question"})])],1)],2),t._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.spuSpend||0))]),t._v(" "),"add"!==t.opentype&&"edit"!==t.opentype&&"copy"!==t.opentype||1===t.attrData.planStatus||3===t.attrData.planStatus?t._e():a("i",{staticClass:"el-icon-edit editIcon",on:{click:function(a){return t.editClick(e.row,e.$index)}}})]}}])},[a("template",{slot:"header"},[t._v("\n 定价\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"工时单价",placement:"top-start"}},[a("i",{staticClass:"el-icon-question"})])],1)],2),t._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.spuLaborResource||0))])]}}])},[a("template",{slot:"header"},[t._v("\n 价值\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"人工成本SPU-R1 = SPU-Q*SPU-T*SPU-S/3600",placement:"top-start"}},[a("i",{staticClass:"el-icon-question"})])],1)],2),t._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"120",label:"上传照片"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1===e.row.isShowCapture?"是":"否")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"120",label:"允许相册"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(1===e.row.photoAlbum?"是":"否")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"130",label:"关联整改工单"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{class:e.row.orderList.length>0?"orderNoClass":"",on:{click:function(a){return t.showOrderList(e.row.orderList)}}},[t._v(t._s(e.row.orderList.length>0?e.row.orderList.length:0))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"100",label:"是否合格"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(0===e.row.executeResult?"未开始":1===e.row.executeResult?"不合格":"合格")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"150",fixed:"right",label:"评估结果"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("el-rate",{attrs:{value:t.row.auditScore?t.row.auditScore:0,disabled:"","show-score":"","text-color":"#ff9900"}})]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"100",label:"更新人"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.updateUserName||"-")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center","min-width":"100",label:"更新时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.updateDate||"-")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center","min-width":"150",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.thisTaskInfor(0,e.row)}}},[t._v("执行记录")])]}}])})],1),t._v(" "),t.page?a("div",{staticClass:"paginations"},[a("el-pagination",{attrs:{background:"","current-page":t.formInfo.pageNumber,"page-sizes":[10,30,50,100,200],"page-size":t.formInfo.pageSize,layout:"total, prev, pager, next, jumper",total:t.tableData.length},on:{"update:currentPage":function(e){return t.$set(t.formInfo,"pageNumber",e)},"update:current-page":function(e){return t.$set(t.formInfo,"pageNumber",e)},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1):t._e()],1)},l=[],r=a("7d42"),c=r["a"],d=(a("5e98"),a("829d")),u=Object(d["a"])(c,o,l,!1,null,null,null),p=u.exports,m=a("f8b7"),g=a("be2e"),f=a("bb77");function v(t){return k(t)||b(t)||_(t)||h()}function h(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _(t,e){if(t){if("string"==typeof t)return I(t,e);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?I(t,e):void 0}}function b(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function k(t){if(Array.isArray(t))return I(t)}function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,s=Array(e);a<e;a++)s[a]=t[a];return s}var w={name:"workInfor",props:["opentype"],components:{Pagination:n["a"],standardTable:p,workOrderDetails:f["default"]},data:function(){return{isWeibao:!1,data:{},pageTotal:0,isShow:!0,listLoading:!1,listTable:[],query:{planUuid:"",taskUuid:""},dialogImgVisible:!1,dialogVisible:!1,imgList:[],taskInfo:{},slImg:[],examplesImageUrl:[],imageUrlList:[],preImageUrlList:[],audit:{id:"",operatorId:this.$store.state.user.userInfo.memberId,operatorName:this.$store.state.user.userInfo.memberName,operatorPhone:this.$store.state.user.userInfo.accountName,operatorUuid:this.$store.state.user.userInfo.memberUuid,taskInspectionsStandardInfoId:0,taskUuid:0,standUuid:0,taskRate:0,memo:""},viewLocationgImgItem:{},imgType:0,allImgList:[],allImgListFlat:[],allImgPage:{currentPage:1,pageSize:5,total:0},dialogPosVisible:!1,posiotionImg:[],relationOrderVisible:!1,relationOrderList:[],relationOrderDetailesVisible:!1,resultsOfEnforcementDialog:!1,currentResultsObj:{},currentResulStandardList:[],exampleCheckList:[],exampleLibraryVisible:!1}},computed:{paginatedAllImgList:function(){var t=(this.allImgPage.currentPage-1)*this.allImgPage.pageSize,e=t+this.allImgPage.pageSize;return this.allImgListFlat.slice(t,e)}},created:function(){this.headClass()},mounted:function(){this.$parent.$parent.$parent.content&&this.$parent.$parent.$parent.content.indexOf("维保")>0?this.isWeibao=!0:this.isWeibao=!1},methods:{openExampleImgLibrary:function(){this.exampleLibraryVisible=!0},getColor:function(t){var e=!1;return e=t.planDeviceList.some((function(t){return t.standardRespDTOList.some((function(t){return 1===t.isShowCapture}))})),e?{color:"red"}:void 0},checkResultsOfEnforcement:function(t){var e=this;if(1!==this.data.status){this.currentResultsObj=t;var a=t,s=[],i=a.planDeviceList;i.map((function(t){var a=t.standardRespDTOList;a.map((function(t){var a=e.getImgList(t.examplesImageUrl),i=e.getImgList(t.imageUrl),n=e.getImgList(t.preImageUrl);s.push(Object.assign(t,{examplesImageUrlList:a,imageUrlList:i,preImageUrlList:n,taskRate:t.auditScore?t.auditScore:null,memo:t.auditRemark?t.auditRemark:null}))}))})),this.currentResulStandardList=s,console.log("this.currentResulStandardList",this.currentResulStandardList),this.resultsOfEnforcementDialog=!0,this.$forceUpdate()}else this.$message({type:"error",message:"该工单还未执行,暂无作业结果"})},resultshandlePosImgClose:function(){this.audit.taskRate=0,this.audit.taskUuid="",this.audit.standUuid="",this.audit.memo="",this.audit.taskInspectionsStandardInfoId="",this.audit.id="",this.resultsOfEnforcementDialog=!1},getImgList:function(t){var e=[];return e=t&&t.length>0?t.indexOf(";")>0?t.split(";"):[t]:[],e},memoInput:function(){this.$forceUpdate()},handleSlow:function(){this.isShow=!this.isShow},handleSlowList:function(t){var e=this,a=!this.listTable[t].isShow;this.$nextTick((function(){e.$set(e.listTable[t],"isShow",a)})),this.$forceUpdate()},getlistData:function(t){var e=this,a=t;this.data=t,this.query.planUuid=a.planUuid,this.query.taskUuid=a.taskUuid,this.listLoading=!0,Object(m["t"])(this.query).then((function(t){0==t.code&&(e.listTable=t.data,e.listTable.map((function(t){return t.isShow=!1})))})),this.listLoading=!1},handleSizeChange:function(t){this.query.pageSize=t.limit,this.getlistData(this.data)},handleCurrentChange:function(t){this.query.pageNumber=t.currentPage,this.getlistData(this.data)},headClass:function(){return"text-align:center;background:#FAFAFA;"},handleImgClose:function(){this.imgList=[],this.dialogImgVisible=!1},handlePosImgClose:function(){this.posiotionImg=[],this.dialogPosVisible=!1},handleClose:function(){this.exampleCheckList=[],this.imgType=0,this.allImgList=[],this.allImgListFlat=[],this.allImgPage={currentPage:1,pageSize:6,total:0},this.examplesImageUrl=[],this.slImg=[],this.dialogVisible=!1},chunkArray:function(t,e){for(var a=null,s=null,i=[],n=0;n<Math.ceil(t.length/e);n++)a=n*e,s=a+e,i.push(t.slice(a,s));return i},viewImplementImg:function(t){this.viewLocationgImgItem=t;var e=t.imageDataList;e.length>0?this.imgList=this.chunkArray(e,6):this.imgList=[],this.dialogImgVisible=!0},getImgType:function(t){this.imgType=t,this.exampleCheckList=[],1===t&&this.queryAllImgByStandard()},queryStandByThisImg:function(t){var e=this,a={locationId:this.viewLocationgImgItem.locationUuid,planUuid:this.query.planUuid,projectUuid:this.$store.state.community_uuid,standardUuid:t.standardUuid,targetUuid:t.targetUuid,taskUuid:this.query.taskUuid};Object(m["r"])(a).then((function(t){if(0===t.code){e.dialogImgVisible=!1;var a={type:0,data:t.data};e.imgType=0,e.tableClickInfor(a)}}))},queryAllImgByStandard:function(){var t=this,e=this.taskInfo,a={locationId:e.locationUuid,planUuid:e.planUuid,projectUuid:this.$store.state.community_uuid,standardUuid:e.standardUuid,targetUuid:e.targetUuid,taskUuid:e.taskUuid};Object(m["u"])(a).then((function(e){if(0===e.code){var a=e.data;a.length>0?(t.allImgListFlat=a,t.allImgPage.total=a.length,t.allImgPage.currentPage=1):(t.allImgListFlat=[],t.allImgPage.total=0)}}))},handleAllImgSizeChange:function(t){this.allImgPage.pageSize=t,this.allImgPage.currentPage=1},handleAllImgCurrentChange:function(t){this.allImgPage.currentPage=t},submitStandAudit:function(t,e){return 0===e.executeResult?(this.$message({type:"error",message:"请先执行作业标准之后再做评价!"}),!1):(console.log("val",e),e.taskRate?e.taskRate&&e.taskRate<3&&!e.memo?(this.$message({type:"error",message:"低于三分请输入评价"}),!1):(this.audit.taskRate=e.taskRate?e.taskRate:0,this.audit.taskUuid=e.taskUuid,this.audit.standUuid=e.standardUuid,this.audit.memo=e.memo,this.audit.taskInspectionsStandardInfoId=e.taskInspectionsStandardInfoId,this.audit.id=e.id,void this.submitAudit(t)):(this.$message({type:"error",message:"请选择评分"}),!1))},submitAudit:function(t){var e=this;if(-1===t&&0===this.taskInfo.executeResult)return this.$message({type:"error",message:"请先执行作业标准之后再做评价!"}),!1;this.audit.taskRate||this.$message({type:"error",message:"请选择评分"}),Object(m["P"])(this.audit).then((function(a){0===a.code?(e.$message({type:"success",message:"提交成功"}),e.handleClose(),t>=0&&(e.$set(e.currentResulStandardList[t],"auditScore",e.audit.taskRate),e.$set(e.currentResulStandardList[t],"auditRemark",e.audit.memo),e.$forceUpdate()),e.getlistData(e.data)):e.$message({type:"error",message:"提交失败"})}))},tableClickInfor:function(t){1!==this.data.status?(console.log("tableClickInfor",t),this.exampleCheckList=[],this.imgType=0,this.allImgList=[],this.allImgListFlat=[],this.allImgPage={currentPage:1,pageSize:5,total:0},this.slImg=[],this.examplesImageUrl=[],this.taskInfo=t.data,this.audit.taskRate=t.data.auditScore?t.data.auditScore:0,this.audit.taskUuid=t.data.taskUuid,this.audit.standUuid=t.data.standardUuid,this.audit.memo=t.data.auditRemark,this.audit.taskInspectionsStandardInfoId=t.data.taskInspectionsStandardInfoId,this.imageUrlList=t.data.imageUrl&&t.data.imageUrl.length>0?t.data.imageUrl.split(";"):[],this.preImageUrlList=t.data.preImageUrl&&t.data.preImageUrl.length>0?t.data.preImageUrl.split(";"):[],this.audit.id=t.data.id,this.getExampleImgList(),this.dialogVisible=!0):this.$message({type:"error",message:"该工单的执行标准还未执行,暂无执行记录"})},getExampleImgList:function(){var t=this;this.examplesImageUrl=[],this.slImg=[];var e={spaceUuid:this.taskInfo.spaceUuid,locationUuid:this.taskInfo.locationId,planUuid:this.taskInfo.planUuid,standardUuid:this.taskInfo.standardUuid,isPtuImage:1};Object(g["gb"])(e).then((function(e){0==e.code&&e.data&&(e.data.forEach((function(e){var a={imageUrl:e.examplesImageUrl,id:e.id};1==e.selected?t.examplesImageUrl.push(a):2==e.selected&&t.slImg.push(a)})),console.log(t.examplesImageUrl,"this.examplesImageUrl"),console.log(t.slImg,"this.slImg"))}))},handleCheckboxChange:function(){this.exampleCheckList.length>0&&this.setExampleImg(this.exampleCheckList)},setExampleImg:function(t){var e=this,a=t.map((function(t){return{imageUrl:t,id:t}})),s=v(this.examplesImageUrl);a.forEach((function(t){s.some((function(e){return e.imageUrl===t.imageUrl}))||s.push(t)}));var i={taskInspectionsStandardAddReqDTOS:s.map((function(t){return{spaceUuid:e.taskInfo.spaceUuid,locationId:e.taskInfo.locationId,planUuid:e.taskInfo.planUuid,standardUuid:e.taskInfo.standardUuid,examplesImageUrl:t.imageUrl,id:t.id}}))};Object(g["cb"])(i).then((function(t){e.$message({message:"设置成功!",type:"success"}),e.getExampleImgList(),e.exampleCheckList=[]}))},removeExampleImg:function(t){var e=this;console.log(t,"val"),this.slImg=this.slImg.filter((function(e){return!(e.imageUrl===t.imageUrl&&e.id===t.id)}));var a,s=[].concat(v(this.slImg),v(this.examplesImageUrl));a=0===s.length?{taskInspectionsStandardAddReqDTOS:[{spaceUuid:this.taskInfo.spaceUuid,locationId:this.taskInfo.locationId,planUuid:this.taskInfo.planUuid,standardUuid:this.taskInfo.standardUuid,examplesImageUrl:null,id:null}]}:{taskInspectionsStandardAddReqDTOS:s.map((function(t){return{spaceUuid:e.taskInfo.spaceUuid,locationId:e.taskInfo.locationId,planUuid:e.taskInfo.planUuid,standardUuid:e.taskInfo.standardUuid,examplesImageUrl:t.imageUrl,id:t.id}}))},Object(g["cb"])(a).then((function(t){e.$message({message:"移除成功!",type:"success"}),e.getExampleImgList()}))},removeExampleLibraryImg:function(t){var e=this;console.log(t,"val"),this.examplesImageUrl=this.examplesImageUrl.filter((function(e){return!(e.imageUrl===t.imageUrl&&e.id===t.id)}));var a,s=[].concat(v(this.slImg),v(this.examplesImageUrl));a=0===s.length?{taskInspectionsStandardAddReqDTOS:[{spaceUuid:this.taskInfo.spaceUuid,locationId:this.taskInfo.locationId,planUuid:this.taskInfo.planUuid,standardUuid:this.taskInfo.standardUuid,examplesImageUrl:null,id:null}]}:{taskInspectionsStandardAddReqDTOS:s.map((function(t){return{spaceUuid:e.taskInfo.spaceUuid,locationId:e.taskInfo.locationId,planUuid:e.taskInfo.planUuid,standardUuid:e.taskInfo.standardUuid,examplesImageUrl:t.imageUrl,id:t.id}}))},Object(g["cb"])(a).then((function(t){e.$message({message:"移除成功!",type:"success"}),e.getExampleImgList()}))},viewPositionImg:function(t){this.posiotionImg=t.locationImageDataList?t.locationImageDataList:[],this.dialogPosVisible=!0},updataOrderList:function(t){this.relationOrderList=t,this.relationOrderVisible=!0},showOrderDetaoles:function(t){var e=this,a={type:"new",postponeOrderNo:t};this.relationOrderDetailesVisible=!0,this.$nextTick((function(){e.$refs.workOrderDetails.getInfoLst(a)}))},chcekWorkOrder:function(t){},goBack:function(){this.relationOrderDetailesVisible=!1}}},y=w,C=(a("3369"),Object(d["a"])(y,s,i,!1,null,"0d515290",null));e["a"]=C.exports},d8f5:function(t,e,a){"use strict";a("43fc")},e263:function(t,e,a){"use strict";a("f35c")},eccf:function(t,e,a){},f35c:function(t,e,a){},f725:function(t,e,a){"use strict";a("9b1d")}}]);