(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-432d505b","chunk-3141c183","chunk-3141c183"],{"101e":function(t,e,a){"use strict";a("d136d")},"15e3":function(t,e,a){t.exports=a.p+"img/pdf.bccb93b7.png"},"3db6":function(t,e,a){t.exports=a.p+"img/img.de047efb.png"},"3e83":function(t,e,a){"use strict";a.d(e,"w",(function(){return l})),a.d(e,"r",(function(){return s})),a.d(e,"z",(function(){return d})),a.d(e,"F",(function(){return c})),a.d(e,"G",(function(){return p})),a.d(e,"ab",(function(){return u})),a.d(e,"i",(function(){return f})),a.d(e,"gb",(function(){return _})),a.d(e,"B",(function(){return v})),a.d(e,"D",(function(){return b})),a.d(e,"E",(function(){return I})),a.d(e,"W",(function(){return m})),a.d(e,"c",(function(){return h})),a.d(e,"e",(function(){return g})),a.d(e,"I",(function(){return y})),a.d(e,"J",(function(){return C})),a.d(e,"K",(function(){return O})),a.d(e,"a",(function(){return w})),a.d(e,"C",(function(){return j})),a.d(e,"A",(function(){return F})),a.d(e,"x",(function(){return T})),a.d(e,"y",(function(){return D})),a.d(e,"u",(function(){return x})),a.d(e,"R",(function(){return R})),a.d(e,"Y",(function(){return S})),a.d(e,"n",(function(){return N})),a.d(e,"fb",(function(){return M})),a.d(e,"m",(function(){return U})),a.d(e,"eb",(function(){return z})),a.d(e,"U",(function(){return k})),a.d(e,"V",(function(){return L})),a.d(e,"d",(function(){return A})),a.d(e,"f",(function(){return Y})),a.d(e,"j",(function(){return V})),a.d(e,"X",(function(){return q})),a.d(e,"bb",(function(){return P})),a.d(e,"o",(function(){return E})),a.d(e,"Z",(function(){return J})),a.d(e,"l",(function(){return B})),a.d(e,"db",(function(){return G})),a.d(e,"k",(function(){return H})),a.d(e,"cb",(function(){return K})),a.d(e,"M",(function(){return Q})),a.d(e,"S",(function(){return W})),a.d(e,"T",(function(){return X})),a.d(e,"b",(function(){return Z})),a.d(e,"p",(function(){return $})),a.d(e,"h",(function(){return tt})),a.d(e,"g",(function(){return et})),a.d(e,"L",(function(){return at})),a.d(e,"H",(function(){return nt})),a.d(e,"q",(function(){return it})),a.d(e,"O",(function(){return ot})),a.d(e,"Q",(function(){return rt})),a.d(e,"N",(function(){return lt})),a.d(e,"P",(function(){return st})),a.d(e,"v",(function(){return dt})),a.d(e,"t",(function(){return ct})),a.d(e,"s",(function(){return pt}));a("99af");var n=a("bc3a"),i=a.n(n),o=a("b775"),r=a("9fb0");function l(t){return i.a.post("/api/water/user/ys/history/importExcel",t,{headers:{token:sessionStorage.getItem(r["a"]),"Content-Type":"multipart/form-data"}})}function s(t){return i.a.post("/api/water/user/bz/history/importExcel",t,{headers:{token:sessionStorage.getItem(r["a"]),"Content-Type":"multipart/form-data"}})}function d(t){var e=t.id;return Object(o["b"])({url:"/api/water/user/bz/now/".concat(e),method:"get"})}function c(t){var e=t.id;return Object(o["b"])({url:"/api/water/user/ys/history/".concat(e),method:"get"})}function p(t){var e=t.id;return Object(o["b"])({url:"/api/water/user/ys/now/".concat(e),method:"get"})}function u(t){var e=t.month,a=t.companyName,n=t.year;return Object(o["b"])({url:"/api/water/user/ys/now/cleaning?month=".concat(e,"&companyName=").concat(a,"&year=").concat(n),method:"get"})}function f(t){var e=t.month,a=t.companyName,n=t.year;return Object(o["b"])({url:"/api/water/user/bz/now/cleaning?month=".concat(e,"&companyName=").concat(a,"&year=").concat(n),method:"get"})}function _(t){return Object(o["b"])({url:"/api/water/bill/cleanse",method:"post",data:t})}function v(t){var e=t.id;return Object(o["b"])({url:"/api/water/user/bz/history/".concat(e),method:"get"})}function b(t){var e=t.id;return Object(o["b"])({url:"/api/doubt/ys/detail/".concat(e),method:"get"})}function I(t){var e=t.id;return Object(o["b"])({url:"/api/doubt/ys/water/detail/".concat(e),method:"get"})}function m(t){var e=t.id,a=t.accNo,n=t.warnModelId,i=t.currentTime,r=t.lastTime,l=t.year,s=t.month;return Object(o["b"])({url:"/api/doubt/ys/workNumber?id=".concat(e,"&warnModelId=").concat(n,"&accNo=").concat(a,"&currentTime=").concat(i,"&lastTime=").concat(r,"&year=").concat(l,"&month=").concat(s),method:"get"})}function h(t){return Object(o["b"])({url:"/api/approval/bz/infos",method:"post",data:t})}function g(t){return Object(o["b"])({url:"/api/approval/ys/infos",method:"post",data:t})}function y(){return Object(o["b"])({url:"/api/warn/all",method:"get"})}function C(t){return Object(o["b"])({url:"/api/assign",method:"post",data:t})}function O(t){var e=t.type;return Object(o["b"])({url:"/api/approval/status?type=".concat(e),method:"get"})}function w(t){return Object(o["b"])({url:"/api/water/userinfo/save",method:"post",data:t})}function j(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/bz/his?recordId=".concat(e),method:"get"})}function F(){return Object(o["b"])({url:"/api/system/dept/list",method:"get"})}function T(t){var e=t.projectid,a=t.accNo;return Object(o["b"])({url:"/api/file/bz/list?projectid=".concat(e,"&accNo=").concat(a),method:"get"})}function D(t){var e=t.accNo,a=t.recordId;return Object(o["b"])({url:"/api/file/ys/list?accNo=".concat(e,"&recordId=").concat(a),method:"get"})}function x(t){var e=t.fileName;return Object(o["b"])({url:"/api/file/bz/download2?fileName=".concat(e),method:"get"})}function R(t){var e=t.id;return Object(o["b"])({url:"/api/white/user/remove?id=".concat(e),method:"get"})}function S(){return Object(o["b"])({url:"/api/system/dict/data/type/water_oper",method:"get"})}function N(t){var e=t.recordId,a=t.status;return Object(o["b"])({url:"/api/approval/bz/info?recordId=".concat(e,"&status=").concat(a),method:"get"})}function M(t){var e=t.recordId,a=t.status;return Object(o["b"])({url:"/api/approval/ys/info?recordId=".concat(e,"&status=").concat(a),method:"get"})}function U(t){return Object(o["b"])({url:"/api/approval/bz/approval",method:"post",data:t})}function z(t){return Object(o["b"])({url:"/api/approval/ys/approval",method:"post",data:t})}function k(t){return Object(o["b"])({url:"/api/approval/bz/submit",method:"post",data:t})}function L(t){return Object(o["b"])({url:"/api/approval/ys/submit",method:"post",data:t})}function A(t){return Object(o["b"])({url:"/api/approval/bz/submits",method:"post",data:t})}function Y(t){return Object(o["b"])({url:"/api/approval/ys/submits",method:"post",data:t})}function V(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/bz/staging?recordId=".concat(e),method:"get"})}function q(t){var e=t.id;return Object(o["b"])({url:"/api/doubt/ysAll/detail/".concat(e),method:"get"})}function P(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/ys/staging?recordId=".concat(e),method:"get"})}function E(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/bz/his?recordId=".concat(e),method:"get"})}function J(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/ys/his?recordId=".concat(e),method:"get"})}function B(t){return Object(o["b"])({url:"/api/approval/bz/upDown",method:"post",data:t})}function G(t){return Object(o["b"])({url:"/api/approval/ys/upDown",method:"post",data:t})}function H(t){var e=t.recordId,a=t.isSupervision;return Object(o["b"])({url:"/api/approval/bz/supervision?recordId=".concat(e,"&isSupervision=").concat(a),method:"get"})}function K(t){var e=t.recordId,a=t.isSupervision;return Object(o["b"])({url:"/api/approval/ys/supervision?recordId=".concat(e,"&isSupervision=").concat(a),method:"get"})}function Q(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/ys/take?recordId=".concat(e),method:"get"})}function W(t){var e=t.recordId,a=t.doubtType;return Object(o["b"])({url:"/api/resetting?id=".concat(e,"&doubtType=").concat(a),method:"get"})}function X(t){var e=t.id,a=t.doubtType;return Object(o["b"])({url:"/api/withdraw?id=".concat(e,"&doubtType=").concat(a),method:"get"})}function Z(t){return Object(o["b"])({url:"/api/white/submits",method:"post",data:t})}function $(t){var e=t.recordId;return Object(o["b"])({url:"/api/white/white/his?recordId=".concat(e),method:"get"})}function tt(t){return Object(o["b"])({url:"/api/white/infos",method:"post",data:t})}function et(t){return Object(o["b"])({url:"/api/white/approval",method:"post",data:t})}function at(t){return Object(o["b"])({url:"/api/record/change/upload",method:"post",data:t})}function nt(t){return Object(o["b"])({url:"/api/ocr/tencent",method:"post",data:t})}function it(t){var e=t.key;return Object(o["b"])({url:"/api/system/dict/data/type/".concat(e),method:"get"})}function ot(t){return Object(o["b"])({url:"/api/approval/bz/push",method:"post",data:t})}function rt(t){return Object(o["b"])({url:"/api/approval/ys/push",method:"post",data:t})}function lt(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/bz/look?recordId=".concat(e),method:"post"})}function st(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/ys/look?recordId=".concat(e),method:"post"})}function dt(t){var e=t.fileUrl;return Object(o["b"])({url:"/api/open/getPreviewUrl?fileUrl=".concat(e),method:"get"})}function ct(t){var e=t.fileUrl;return Object(o["b"])({url:"/api/file/model/ocr/image?url=".concat(e),method:"get"})}function pt(t){return Object(o["b"])({url:"/api/file/model/identity",method:"post",data:t})}},"4c2b":function(t,e,a){t.exports=a.p+"img/doc.1c249456.png"},"7a18":function(t,e,a){t.exports=a.p+"img/txt.f739312b.png"},b841:function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));a("99af");var n=a("bc3a"),i=a.n(n),o=(a("b775"),a("9fb0"));function r(t,e,a){return i.a.post("/api/open/upload/file?systemId=".concat(e,"&systemType=").concat(a),t,{headers:{Authorization:sessionStorage.getItem(o["a"]),"Content-Type":"multipart/form-data"}})}},c4493:function(t,e,a){t.exports=a.p+"img/file.303bad78.png"},d136d:function(t,e,a){},db12:function(t,a,n){"use strict";n.r(a);n("b0c0");var i=function(){var t=this,e=t._self._c;return t.detailInfo?e("div",{staticClass:"file-ocr-main"},[1==t.dataInfo.pageType?[e("div",{staticClass:"m-left"},[t._m(0),e("div",{staticClass:"details-info"},[e("a-spin",{attrs:{tip:"正在获取信息...",spinning:t.spinning2}},[e("div",{staticClass:"item"},[e("h5",[e("span",[t._v("系统信息")])]),e("p",[e("label",[t._v("户号：")]),e("span",[t._v(t._s(t.detailInfo.accNo?t.detailInfo.accNo:"--"))])]),e("p",[e("label",[t._v("水司ID：")]),e("span",[t._v(t._s(t.detailInfo.companyId?t.detailInfo.companyId:"--"))])]),e("p",[e("label",[t._v("水司名称：")]),e("span",[t._v(t._s(t.detailInfo.companyName?t.detailInfo.companyName:"--"))])]),e("p",[e("label",[t._v("清洗状态：")]),0==t.detailInfo.cleanseStatus?e("a-tag",{attrs:{color:"orange"}},[t._v("未清洗")]):t._e(),1==t.detailInfo.cleanseStatus?e("a-tag",{attrs:{color:"green"}},[t._v("正常")]):t._e(),2==t.detailInfo.cleanseStatus?e("a-tag",{attrs:{color:"red"}},[t._v("疑点")]):t._e()],1),e("p",[e("label",[t._v("存疑数量：")]),e("span",[t._v(t._s(t.detailInfo.doubtCount?t.detailInfo.doubtCount:0))])]),e("h5",[e("span",[t._v("安装信息")])]),e("p",[e("label",[t._v("水表号：")]),e("span",[t._v(t._s(t.detailInfo.waterMeterNo?t.detailInfo.waterMeterNo:"--"))])]),e("p",[e("label",[t._v("水表生产商：")]),e("span",[t._v(t._s(t.detailInfo.waterMeterProducer?t.detailInfo.waterMeterProducer:"--"))])]),e("p",[e("label",[t._v("水表口径：")]),e("span",[t._v(t._s(t.detailInfo.waterMeterSize?t.detailInfo.waterMeterSize:"--"))])]),e("p",[e("label",[t._v("水表类型：")]),e("span",[t._v(t._s(t.detailInfo.waterMeterType?t.detailInfo.waterMeterType:"--"))])]),e("p",[e("label",[t._v("水表安装日期：")]),e("span",[t._v(t._s(t.detailInfo.installDate?t.detailInfo.installDate:"--"))])]),e("p",[e("label",[t._v("水表安装位置：")]),e("span",[t._v(t._s(t.detailInfo.installLocation?t.detailInfo.installLocation:"--"))])]),e("p",[e("label",[t._v("安装年份：")]),e("span",[t._v(t._s(t.detailInfo.year?t.detailInfo.year:"--"))])]),e("p",[e("label",[t._v("安装月份：")]),e("span",[t._v(t._s(t.detailInfo.month?t.detailInfo.month:"--"))])]),e("h5",[e("span",[t._v("账单信息")])]),e("p",[e("label",[t._v("账单金额：")]),e("span",[t._v(t._s(t.detailInfo.amount?t.detailInfo.amount:"--"))])]),e("p",[e("label",[t._v("账单年份：")]),e("span",[t._v(t._s(t.detailInfo.billYear?t.detailInfo.billYear:"--"))])]),e("p",[e("label",[t._v("账单月份：")]),e("span",[t._v(t._s(t.detailInfo.billMonth?t.detailInfo.billMonth:"--"))])]),e("p",[e("label",[t._v("冲红减免：")]),e("span",[t._v(t._s(t.detailInfo.rushRedDerate?t.detailInfo.rushRedDerate:"--"))])]),e("p",[e("label",[t._v("冲红减免金额：")]),e("span",[t._v(t._s(t.detailInfo.rushRedDerateMoney?t.detailInfo.rushRedDerateMoney:0))])]),e("p",[e("label",[t._v("实际付款金额：")]),e("span",[t._v(t._s(t.detailInfo.amountActual?t.detailInfo.amountActual:0))])]),e("p",[e("label",[t._v("销账时间：")]),e("span",[t._v(t._s(t.detailInfo.chargeDate?t.detailInfo.chargeDate:"--"))])]),e("p",[e("label",[t._v("销账员Id：")]),e("span",[t._v(t._s(t.detailInfo.chargeUserId?t.detailInfo.chargeUserId:"--"))])]),e("p",[e("label",[t._v("销账员姓名：")]),e("span",[t._v(t._s(t.detailInfo.chargeUserName?t.detailInfo.chargeUserName:"--"))])]),e("h5",[e("span",[t._v("用户信息")])]),e("p",[e("label",[t._v("用户姓名：")]),e("span",[t._v(t._s(t.detailInfo.name?t.detailInfo.name:"--"))])]),e("p",[e("label",[t._v("户主手机号：")]),e("span",[t._v(t._s(t.detailInfo.phone?t.detailInfo.phone:"--"))])]),e("p",[e("label",[t._v("户主身份标识：")]),e("span",[t._v(t._s(t.detailInfo.idCard?t.detailInfo.idCard:"--"))])]),e("p",[e("label",[t._v("户主联系电话：")]),e("span",[t._v(t._s(t.detailInfo.mobile?t.detailInfo.mobile:"--"))])]),e("p",[e("label",[t._v("用户地址：")]),e("span",[t._v(t._s(t.detailInfo.userAddress?t.detailInfo.userAddress:"--"))])]),e("p",[e("label",[t._v("是否为居民：")]),e("span",[t._v(t._s(t.detailInfo.isResident&&1==t.detailInfo.isResident?"居民":"非居民"))])]),e("p",[e("label",[t._v("用户状态：")]),e("span",[t._v(t._s(t.detailInfo.userStatus?t.detailInfo.userStatus:"--"))])]),e("h5",[e("span",[t._v("用水信息")])]),e("p",[e("label",[t._v("用水人口：")]),e("span",[t._v(t._s(t.detailInfo.population?t.detailInfo.population:"--"))])]),e("p",[e("label",[t._v("用水状态：")]),e("span",[t._v(t._s(t.detailInfo.readStatus?t.detailInfo.readStatus:"--"))])]),e("p",[e("label",[t._v("水量：")]),e("span",[t._v(t._s(t.detailInfo.waterYield?t.detailInfo.waterYield:"--"))])]),e("p",[e("label",[t._v("用水性质名称：")]),e("span",[t._v(t._s(t.detailInfo.nature?t.detailInfo.nature:"--"))])]),e("p",[e("label",[t._v("用水性质编码：")]),e("span",[t._v(t._s(t.detailInfo.natureNo?t.detailInfo.natureNo:"--"))])]),e("h5",[e("span",[t._v("抄表信息")])]),e("p",[e("label",[t._v("本期行至：")]),e("span",[t._v(t._s(t.detailInfo.meterReadCurrent?t.detailInfo.meterReadCurrent:"--"))])]),e("p",[e("label",[t._v("本期抄表日：")]),e("span",[t._v(t._s(t.detailInfo.meterReadCurrentTime?t.detailInfo.meterReadCurrentTime:"--"))])]),e("p",[e("label",[t._v("上期行至：")]),e("span",[t._v(t._s(t.detailInfo.meterReadLast?t.detailInfo.meterReadLast:"--"))])]),e("p",[e("label",[t._v("上期抄表日：")]),e("span",[t._v(t._s(t.detailInfo.meterReadLastTime?t.detailInfo.meterReadLastTime:"--"))])]),e("p",[e("label",[t._v("抄表员ID：")]),e("span",[t._v(t._s(t.detailInfo.meterReaderId?t.detailInfo.meterReaderId:"--"))])]),e("p",[e("label",[t._v("抄表员姓名：")]),e("span",[t._v(t._s(t.detailInfo.meterReaderName?t.detailInfo.meterReaderName:"--"))])]),e("p",[e("label",[t._v("抄表方式：")]),e("span",[t._v(t._s(t.detailInfo.readMode?t.detailInfo.readMode:"--"))])]),e("p",[e("label",[t._v("抄表描述：")]),e("span",[t._v(t._s(t.detailInfo.readStatusMs?t.detailInfo.readStatusMs:"--"))])]),e("h5",[e("span",[t._v("其他信息")])]),e("p",[e("label",[t._v("备用时间：")]),e("span",[t._v(t._s(t.detailInfo.backupTime?t.detailInfo.backupTime:"--"))])]),e("p",[e("label",[t._v("监督系统工单ID：")]),e("span",[t._v(t._s(t.detailInfo.showId?t.detailInfo.showId:"--"))])]),e("p",[e("label",[t._v("普菲特ID：")]),e("span",[t._v(t._s(t.detailInfo.putId?t.detailInfo.putId:"--"))])])])])],1)]),e("div",{staticClass:"m-center"},[t._m(1),e("div",{staticClass:"m-file-ocr"},[e("div",{staticClass:"o-lt"},[e("div",{staticClass:"o-lt-head"},[e("span",{staticClass:"iconfont icon-shouqicaidan-l"}),e("a-upload",{attrs:{multiple:"","before-upload":function(e){return t.beforeUpload(e,"fileList")}}},[e("a-button",{staticClass:"up-btn",attrs:{type:"primary",size:"small"}},[t.uploading?t._e():e("i",{staticClass:"iconfont icon-daorufujian"}),t.uploading?e("a-icon",{attrs:{type:"loading"}}):t._e(),t._v("导入附件")],1)],1)],1),e("div",{staticClass:"file-box"},[t.detailInfo.sysFiles&&t.detailInfo.sysFiles.length>0?t._l(t.detailInfo.sysFiles,(function(a,i){return e("div",{key:i,staticClass:"img-item",class:t.fileIndex==i?"active":"",on:{click:function(e){return t.changeFile(a,i)}}},["pdf"==t.isFileType("."+a.fileFormat)?e("img",{attrs:{src:n("15e3")}}):"xls"==t.isFileType("."+a.fileFormat)?e("img",{attrs:{src:n("ea42")}}):"doc"==t.isFileType("."+a.fileFormat)?e("img",{attrs:{src:n("4c2b")}}):"txt"==t.isFileType("."+a.fileFormat)?e("img",{attrs:{src:n("7a18")}}):"img"==t.isFileType("."+a.fileFormat)?e("img",{attrs:{src:n("3db6")}}):e("img",{attrs:{src:n("c4493")}}),e("p",[e("span",[t._v(t._s(a.fileName)+"."+t._s(a.fileFormat))]),e("label",[t._v(t._s(a.createTime))])])])})):[e("h4",[t._v("暂无附件~")])]],2)]),e("div",{staticClass:"o-rt"},[e("div",{staticClass:"old-file"},[e("span",{staticClass:"tag"},[t._v("原附件")]),e("a-spin",{attrs:{tip:"正在获取附件...",spinning:t.spinning}},[e("iframe",{attrs:{src:t.fileSrc,frameborder:"0"}})])],1),e("div",{staticClass:"new-file"},[e("span",{staticClass:"tag"},[t._v("OCR文本识别")]),e("a-spin",{attrs:{tip:"正在识别附件...",spinning:t.spinning1}},[e("div",{staticClass:"ocr-text"},[t.errText?e("h4",{staticStyle:{"text-align":"center",color:"#b3b3b3",padding:"30px 0"}},[t._v(t._s(t.errText))]):[t.ocrData?[t._v(t._s(t.ocrData))]:[e("h4",{staticStyle:{"text-align":"center",color:"#b3b3b3",padding:"30px 0"}},[t._v("暂未识别到文本信息！")])]]],2)])],1)])])]),t._m(2)]:t._e(),2==t.dataInfo.pageType?[e("div",{staticClass:"m-left"},[t._m(3),e("div",{staticClass:"details-info"},[e("a-spin",{attrs:{tip:"正在获取信息...",spinning:t.spinning2}},[e("div",{staticClass:"item"},[e("h5",[e("span",[t._v("系统信息")])]),e("p",[e("label",[t._v("户号：")]),e("span",[t._v(t._s(t.detailInfo.accNo?t.detailInfo.accNo:"--"))])]),e("p",[e("label",[t._v("水司ID：")]),e("span",[t._v(t._s(t.detailInfo.companyId?t.detailInfo.companyId:"--"))])]),e("p",[e("label",[t._v("水司名称：")]),e("span",[t._v(t._s(t.detailInfo.companyName?t.detailInfo.companyName:"--"))])]),e("p",[e("label",[t._v("清洗状态：")]),0==t.detailInfo.cleanseStatus?e("a-tag",{attrs:{color:"orange"}},[t._v("未清洗")]):t._e(),1==t.detailInfo.cleanseStatus?e("a-tag",{attrs:{color:"green"}},[t._v("正常")]):t._e(),2==t.detailInfo.cleanseStatus?e("a-tag",{attrs:{color:"red"}},[t._v("疑点")]):t._e()],1),e("p",[e("label",[t._v("存疑数量：")]),e("span",[t._v(t._s(t.detailInfo.doubtCount?t.detailInfo.doubtCount:0))])]),e("h5",[e("span",[t._v("安装信息")])]),e("p",[e("label",[t._v("水表号：")]),e("span",[t._v(t._s(t.detailInfo.waterMeterNo?t.detailInfo.waterMeterNo:"--"))])]),e("p",[e("label",[t._v("水表生产商：")]),e("span",[t._v(t._s(t.detailInfo.waterMeterProducer?t.detailInfo.waterMeterProducer:"--"))])]),e("p",[e("label",[t._v("水表口径：")]),e("span",[t._v(t._s(t.detailInfo.waterMeterSize?t.detailInfo.waterMeterSize:"--"))])]),e("p",[e("label",[t._v("水表类型：")]),e("span",[t._v(t._s(t.detailInfo.waterMeterType?t.detailInfo.waterMeterType:"--"))])]),e("p",[e("label",[t._v("水表安装日期：")]),e("span",[t._v(t._s(t.detailInfo.installDate?t.detailInfo.installDate:"--"))])]),e("p",[e("label",[t._v("水表安装位置：")]),e("span",[t._v(t._s(t.detailInfo.installLocation?t.detailInfo.installLocation:"--"))])]),e("p",[e("label",[t._v("安装年份：")]),e("span",[t._v(t._s(t.detailInfo.year?t.detailInfo.year:"--"))])]),e("p",[e("label",[t._v("安装月份：")]),e("span",[t._v(t._s(t.detailInfo.month?t.detailInfo.month:"--"))])]),e("h5",[e("span",[t._v("账单信息")])]),e("p",[e("label",[t._v("账单金额：")]),e("span",[t._v(t._s(t.detailInfo.amount?t.detailInfo.amount:"--"))])]),e("p",[e("label",[t._v("账单年份：")]),e("span",[t._v(t._s(t.detailInfo.billYear?t.detailInfo.billYear:"--"))])]),e("p",[e("label",[t._v("账单月份：")]),e("span",[t._v(t._s(t.detailInfo.billMonth?t.detailInfo.billMonth:"--"))])]),e("p",[e("label",[t._v("冲红减免：")]),e("span",[t._v(t._s(t.detailInfo.rushRedDerate?t.detailInfo.rushRedDerate:"--"))])]),e("p",[e("label",[t._v("冲红减免金额：")]),e("span",[t._v(t._s(t.detailInfo.rushRedDerateMoney?t.detailInfo.rushRedDerateMoney:0))])]),e("p",[e("label",[t._v("实际付款金额：")]),e("span",[t._v(t._s(t.detailInfo.amountActual?t.detailInfo.amountActual:0))])]),e("p",[e("label",[t._v("销账时间：")]),e("span",[t._v(t._s(t.detailInfo.chargeDate?t.detailInfo.chargeDate:"--"))])]),e("p",[e("label",[t._v("销账员Id：")]),e("span",[t._v(t._s(t.detailInfo.chargeUserId?t.detailInfo.chargeUserId:"--"))])]),e("p",[e("label",[t._v("销账员姓名：")]),e("span",[t._v(t._s(t.detailInfo.chargeUserName?t.detailInfo.chargeUserName:"--"))])]),e("h5",[e("span",[t._v("用户信息")])]),e("p",[e("label",[t._v("用户姓名：")]),e("span",[t._v(t._s(t.detailInfo.name?t.detailInfo.name:"--"))])]),e("p",[e("label",[t._v("户主手机号：")]),e("span",[t._v(t._s(t.detailInfo.phone?t.detailInfo.phone:"--"))])]),e("p",[e("label",[t._v("户主身份标识：")]),e("span",[t._v(t._s(t.detailInfo.idCard?t.detailInfo.idCard:"--"))])]),e("p",[e("label",[t._v("户主联系电话：")]),e("span",[t._v(t._s(t.detailInfo.mobile?t.detailInfo.mobile:"--"))])]),e("p",[e("label",[t._v("用户地址：")]),e("span",[t._v(t._s(t.detailInfo.userAddress?t.detailInfo.userAddress:"--"))])]),e("p",[e("label",[t._v("是否为居民：")]),e("span",[t._v(t._s(t.detailInfo.isResident&&1==t.detailInfo.isResident?"居民":"非居民"))])]),e("p",[e("label",[t._v("用户状态：")]),e("span",[t._v(t._s(t.detailInfo.userStatus?t.detailInfo.userStatus:"--"))])]),e("h5",[e("span",[t._v("用水信息")])]),e("p",[e("label",[t._v("用水人口：")]),e("span",[t._v(t._s(t.detailInfo.population?t.detailInfo.population:"--"))])]),e("p",[e("label",[t._v("用水状态：")]),e("span",[t._v(t._s(t.detailInfo.readStatus?t.detailInfo.readStatus:"--"))])]),e("p",[e("label",[t._v("水量：")]),e("span",[t._v(t._s(t.detailInfo.waterYield?t.detailInfo.waterYield:"--"))])]),e("p",[e("label",[t._v("用水性质名称：")]),e("span",[t._v(t._s(t.detailInfo.nature?t.detailInfo.nature:"--"))])]),e("p",[e("label",[t._v("用水性质编码：")]),e("span",[t._v(t._s(t.detailInfo.natureNo?t.detailInfo.natureNo:"--"))])]),e("h5",[e("span",[t._v("抄表信息")])]),e("p",[e("label",[t._v("本期行至：")]),e("span",[t._v(t._s(t.detailInfo.meterReadCurrent?t.detailInfo.meterReadCurrent:"--"))])]),e("p",[e("label",[t._v("本期抄表日：")]),e("span",[t._v(t._s(t.detailInfo.meterReadCurrentTime?t.detailInfo.meterReadCurrentTime:"--"))])]),e("p",[e("label",[t._v("上期行至：")]),e("span",[t._v(t._s(t.detailInfo.meterReadLast?t.detailInfo.meterReadLast:"--"))])]),e("p",[e("label",[t._v("上期抄表日：")]),e("span",[t._v(t._s(t.detailInfo.meterReadLastTime?t.detailInfo.meterReadLastTime:"--"))])]),e("p",[e("label",[t._v("抄表员ID：")]),e("span",[t._v(t._s(t.detailInfo.meterReaderId?t.detailInfo.meterReaderId:"--"))])]),e("p",[e("label",[t._v("抄表员姓名：")]),e("span",[t._v(t._s(t.detailInfo.meterReaderName?t.detailInfo.meterReaderName:"--"))])]),e("p",[e("label",[t._v("抄表方式：")]),e("span",[t._v(t._s(t.detailInfo.readMode?t.detailInfo.readMode:"--"))])]),e("p",[e("label",[t._v("抄表描述：")]),e("span",[t._v(t._s(t.detailInfo.readStatusMs?t.detailInfo.readStatusMs:"--"))])]),e("h5",[e("span",[t._v("其他信息")])]),e("p",[e("label",[t._v("备用时间：")]),e("span",[t._v(t._s(t.detailInfo.backupTime?t.detailInfo.backupTime:"--"))])]),e("p",[e("label",[t._v("监督系统工单ID：")]),e("span",[t._v(t._s(t.detailInfo.showId?t.detailInfo.showId:"--"))])]),e("p",[e("label",[t._v("普菲特ID：")]),e("span",[t._v(t._s(t.detailInfo.putId?t.detailInfo.putId:"--"))])])])])],1)]),e("div",{staticClass:"m-center"},[t._m(4),e("div",{staticClass:"m-file-ocr"},[e("div",{staticClass:"o-lt"},[e("div",{staticClass:"o-lt-head"},[e("span",{staticClass:"iconfont icon-shouqicaidan-l"}),e("a-upload",{attrs:{multiple:"","before-upload":function(e){return t.beforeUpload(e,"fileList")}}},[e("a-button",{staticClass:"up-btn",attrs:{type:"primary",size:"small"}},[t.uploading?t._e():e("i",{staticClass:"iconfont icon-daorufujian"}),t.uploading?e("a-icon",{attrs:{type:"loading"}}):t._e(),t._v("导入附件")],1)],1)],1),e("div",{staticClass:"file-box"},[t.detailInfo.sysFiles&&t.detailInfo.sysFiles.length>0?t._l(t.detailInfo.sysFiles,(function(a,i){return e("div",{key:i,staticClass:"img-item",class:t.fileIndex==i?"active":"",on:{click:function(e){return t.changeFile(a,i)}}},["pdf"==t.isFileType("."+a.fileFormat)?e("img",{attrs:{src:n("15e3")}}):"xls"==t.isFileType("."+a.fileFormat)?e("img",{attrs:{src:n("ea42")}}):"doc"==t.isFileType("."+a.fileFormat)?e("img",{attrs:{src:n("4c2b")}}):"txt"==t.isFileType("."+a.fileFormat)?e("img",{attrs:{src:n("7a18")}}):"img"==t.isFileType("."+a.fileFormat)?e("img",{attrs:{src:n("3db6")}}):e("img",{attrs:{src:n("c4493")}}),e("p",[e("span",[t._v(t._s(a.fileName)+"."+t._s(a.fileFormat))]),e("label",[t._v(t._s(a.createTime))])])])})):[e("h4",[t._v("暂无附件~")])]],2)]),e("div",{staticClass:"o-rt"},[e("div",{staticClass:"old-file"},[e("span",{staticClass:"tag"},[t._v("原附件")]),e("a-spin",{attrs:{tip:"正在获取附件...",spinning:t.spinning}},[e("iframe",{attrs:{src:t.fileSrc,frameborder:"0"}})])],1),e("div",{staticClass:"new-file"},[e("span",{staticClass:"tag"},[t._v("OCR文本识别")]),e("a-spin",{attrs:{tip:"正在识别附件...",spinning:t.spinning1}},[e("div",{staticClass:"ocr-text"},[t.errText?e("h4",{staticStyle:{"text-align":"center",color:"#b3b3b3",padding:"30px 0"}},[t._v(t._s(t.errText))]):[t.ocrData?[t._v(t._s(t.ocrData))]:[e("h4",{staticStyle:{"text-align":"center",color:"#b3b3b3",padding:"30px 0"}},[t._v("暂未识别到文本信息！")])]]],2)])],1)])])]),t._m(5)]:t._e()],2):t._e()},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"m-head"},[e("label",[t._v("用水用户信息")]),e("span",{staticClass:"iconfont icon-shouqicaidan-l"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"m-head"},[e("label",[t._v("附件信息")]),e("span")])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"m-right"},[e("div",{staticClass:"m-head"},[e("label",[t._v("预警信息")]),e("span",{staticClass:"iconfont icon-shouqicaidan-r"})])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"m-head"},[e("label",[t._v("用水用户信息")]),e("span",{staticClass:"iconfont icon-shouqicaidan-l"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"m-head"},[e("label",[t._v("附件信息")]),e("span")])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"m-right"},[e("div",{staticClass:"m-head"},[e("label",[t._v("预警信息")]),e("span",{staticClass:"iconfont icon-shouqicaidan-r"})])])}],r=(n("d3b7"),n("159b"),n("b841")),l=n("3e83"),s=n("c1df"),d=n.n(s),c={props:["modelData","mode"],data:function(){return{moment:d.a,uploading:!1,detailInfo:null,idCardCHidden:!1,dataInfo:this.modelData,modelTitle:"查看附件",modelType:"file",modelVisible:!1,modelConfirmLoading:!1,iframeUrl:"",roleKey:"",selectImg:"",selectImgIndex:null,fileImgs:[],files:[],infoList:[],fileIndex:0,fileSrc:"",spinning:!0,spinning1:!0,spinning2:!0,ocrData:null,errText:""}},watch:{modelData:function(t,e){t&&t.id!=e.id&&(this.dataInfo=t,this.getDetil(this.dataInfo))}},mounted:function(){},created:function(){this.getDetil(this.modelData)},methods:{beforeUpload:function(t,e){var a=this;this.uploading=!0;var n=new FormData;return[t].forEach((function(t){n.append("file",t)})),Object(r["a"])(n,this.detailInfo.id,"报装").then((function(t){200===t.data.code&&(a.uploading=!1,a.getDetil(a.modelData))})).catch((function(t){a.uploading=!1,a.$notification.error({message:"失败",description:t.msg})})).finally((function(){a.uploading=!1})),!1},changeFile:function(t,e){this.fileIndex=e,this.fileSrc="",this.errText="",this.ocrData=null,this.fileViewFun(t.fileUrl),this.fileCORImgFun(t.fileUrl)},fileViewFun:function(t){var e=this;this.spinning=!0,Object(l["v"])({fileUrl:t}).then((function(t){e.spinning=!1,200==t.code&&(e.fileSrc=t.msg)})).catch((function(){e.spinning=!1}))},fileCORImgFun:function(t){var a=this;if(this.spinning1=!0,"img"!==this.isFileType(t))return this.spinning1=!1,void(this.errText="抱歉，文件识别功能暂未开放！");Object(l["t"])({fileUrl:t}).then((function(t){a.spinning1=!1,200==t.code?a.ocrData=t.data:a.errText=e.msg})).catch((function(t){a.spinning1=!1,a.errText=t.msg}))},fileCORFileFun:function(t){var e=this,a={systemId:t.systemId,systemType:t.systemType,fileUrls:[t.fileUrl]};this.spinning1=!0,Object(l["s"])(a).then((function(t){e.spinning1=!1})).catch((function(){e.spinning1=!1}))},getDetil:function(){var t=this;this.selectImg="",this.selectImgIndex=null,this.spinning2=!0,1===this.modelData.pageType?"now"==this.mode?Object(l["G"])({id:this.modelData.id}).then((function(e){t.spinning2=!1,200===e.code&&(t.detailInfo=e.data,t.detailInfo.sysFiles&&t.detailInfo.sysFiles.length>0?(t.fileViewFun(t.detailInfo.sysFiles[0].fileUrl),t.fileCORImgFun(t.detailInfo.sysFiles[0].fileUrl)):(t.spinning=!1,t.spinning1=!1,t.fileSrc="",t.errText="",t.ocrData=null))})).catch((function(){t.spinning2=!1})):Object(l["F"])({id:this.modelData.id}).then((function(e){t.spinning2=!1,200===e.code&&(t.detailInfo=e.data,t.detailInfo.sysFiles&&t.detailInfo.sysFiles.length>0?(t.fileViewFun(t.detailInfo.sysFiles[0].fileUrl),t.fileCORImgFun(t.detailInfo.sysFiles[0].fileUrl)):(t.spinning=!1,t.spinning1=!1,t.fileSrc="",t.errText="",t.ocrData=null))})).catch((function(){t.spinning2=!1})):2===this.modelData.pageType&&("now"==this.mode?Object(l["z"])({id:this.modelData.id}).then((function(e){t.spinning2=!1,200===e.code&&(t.detailInfo=e.data,t.detailInfo.sysFiles&&t.detailInfo.sysFiles.length>0?(t.fileViewFun(t.detailInfo.sysFiles[0].fileUrl),t.fileCORImgFun(t.detailInfo.sysFiles[0].fileUrl)):(t.spinning=!1,t.spinning1=!1,t.fileSrc="",t.errText="",t.ocrData=null))})).catch((function(){t.spinning2=!1})):Object(l["B"])({id:this.modelData.id}).then((function(e){t.spinning2=!1,200===e.code&&(t.detailInfo=e.data,t.detailInfo.sysFiles&&t.detailInfo.sysFiles.length>0?(t.fileViewFun(t.detailInfo.sysFiles[0].fileUrl),t.fileCORImgFun(t.detailInfo.sysFiles[0].fileUrl)):(t.spinning=!1,t.spinning1=!1,t.fileSrc="",t.errText="",t.ocrData=null))})).catch((function(){t.spinning2=!1})))}}},p=c,u=(n("101e"),n("2877")),f=Object(u["a"])(p,i,o,!1,null,"11998038",null);a["default"]=f.exports},ea42:function(t,e,a){t.exports=a.p+"img/xls.2355d70e.png"}}]);