(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-429018fb","chunk-3141c183","chunk-3141c183"],{"15e3":function(t,e,i){t.exports=i.p+"img/pdf.bccb93b7.png"},2909:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var a=i("6b75");function n(t){if(Array.isArray(t))return Object(a["a"])(t)}i("a4d3"),i("e01a"),i("d28b"),i("a630"),i("d3b7"),i("3ca3"),i("ddb0");function s(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}var l=i("06c5");function o(){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 r(t){return n(t)||s(t)||Object(l["a"])(t)||o()}},"2cef":function(t,e,i){},"3db6":function(t,e,i){t.exports=i.p+"img/img.de047efb.png"},"3e83":function(t,e,i){"use strict";i.d(e,"A",(function(){return o})),i.d(e,"t",(function(){return r})),i.d(e,"D",(function(){return c})),i.d(e,"J",(function(){return d})),i.d(e,"K",(function(){return f})),i.d(e,"o",(function(){return p})),i.d(e,"gb",(function(){return u})),i.d(e,"i",(function(){return m})),i.d(e,"mb",(function(){return _})),i.d(e,"F",(function(){return v})),i.d(e,"H",(function(){return h})),i.d(e,"I",(function(){return b})),i.d(e,"cb",(function(){return I})),i.d(e,"c",(function(){return g})),i.d(e,"e",(function(){return y})),i.d(e,"M",(function(){return F})),i.d(e,"N",(function(){return x})),i.d(e,"O",(function(){return T})),i.d(e,"a",(function(){return C})),i.d(e,"G",(function(){return w})),i.d(e,"E",(function(){return O})),i.d(e,"B",(function(){return j})),i.d(e,"C",(function(){return k})),i.d(e,"y",(function(){return D})),i.d(e,"V",(function(){return S})),i.d(e,"eb",(function(){return R})),i.d(e,"n",(function(){return N})),i.d(e,"lb",(function(){return P})),i.d(e,"m",(function(){return z})),i.d(e,"kb",(function(){return M})),i.d(e,"ab",(function(){return U})),i.d(e,"bb",(function(){return L})),i.d(e,"d",(function(){return A})),i.d(e,"f",(function(){return q})),i.d(e,"j",(function(){return B})),i.d(e,"db",(function(){return V})),i.d(e,"hb",(function(){return Y})),i.d(e,"p",(function(){return E})),i.d(e,"fb",(function(){return $})),i.d(e,"l",(function(){return J})),i.d(e,"jb",(function(){return K})),i.d(e,"k",(function(){return H})),i.d(e,"ib",(function(){return G})),i.d(e,"Q",(function(){return Q})),i.d(e,"W",(function(){return W})),i.d(e,"X",(function(){return X})),i.d(e,"b",(function(){return Z})),i.d(e,"q",(function(){return tt})),i.d(e,"h",(function(){return et})),i.d(e,"g",(function(){return it})),i.d(e,"P",(function(){return at})),i.d(e,"L",(function(){return nt})),i.d(e,"s",(function(){return st})),i.d(e,"S",(function(){return lt})),i.d(e,"U",(function(){return ot})),i.d(e,"R",(function(){return rt})),i.d(e,"T",(function(){return ct})),i.d(e,"z",(function(){return dt})),i.d(e,"w",(function(){return ft})),i.d(e,"v",(function(){return pt})),i.d(e,"u",(function(){return ut})),i.d(e,"x",(function(){return mt})),i.d(e,"r",(function(){return _t}));i("99af");var a=i("bc3a"),n=i.n(a),s=i("b775"),l=i("9fb0");function o(t){return n.a.post("/api/water/user/ys/history/importExcel",t,{headers:{token:sessionStorage.getItem(l["a"]),"Content-Type":"multipart/form-data"}})}function r(t){return n.a.post("/api/water/user/bz/history/importExcel",t,{headers:{token:sessionStorage.getItem(l["a"]),"Content-Type":"multipart/form-data"}})}function c(t){var e=t.id;return Object(s["b"])({url:"/api/water/user/bz/now/".concat(e),method:"get"})}function d(t){var e=t.id;return Object(s["b"])({url:"/api/water/user/ys/history/".concat(e),method:"get"})}function f(t){var e=t.id;return Object(s["b"])({url:"/api/water/user/ys/now/".concat(e),method:"get"})}function p(t){var e=t.id;return Object(s["b"])({url:"/api/warn/model/status/".concat(e),method:"get"})}function u(t){var e=t.month,i=t.companyName,a=t.year;return Object(s["b"])({url:"/api/water/user/ys/now/cleaning?month=".concat(e,"&companyName=").concat(i,"&year=").concat(a),method:"get"})}function m(t){var e=t.month,i=t.companyName,a=t.year;return Object(s["b"])({url:"/api/water/user/bz/now/cleaning?month=".concat(e,"&companyName=").concat(i,"&year=").concat(a),method:"get"})}function _(t){return Object(s["b"])({url:"/api/water/bill/cleanse",method:"post",data:t})}function v(t){var e=t.id;return Object(s["b"])({url:"/api/water/user/bz/history/".concat(e),method:"get"})}function h(t){var e=t.id;return Object(s["b"])({url:"/api/doubt/ys/detail/".concat(e),method:"get"})}function b(t){var e=t.id;return Object(s["b"])({url:"/api/doubt/ys/water/detail/".concat(e),method:"get"})}function I(t){var e=t.id,i=t.accNo,a=t.warnModelId,n=t.currentTime,l=t.lastTime,o=t.year,r=t.month;return Object(s["b"])({url:"/api/doubt/ys/workNumber?id=".concat(e,"&warnModelId=").concat(a,"&accNo=").concat(i,"&currentTime=").concat(n,"&lastTime=").concat(l,"&year=").concat(o,"&month=").concat(r),method:"get"})}function g(t){return Object(s["b"])({url:"/api/approval/bz/infos",method:"post",data:t})}function y(t){return Object(s["b"])({url:"/api/approval/ys/infos",method:"post",data:t})}function F(){return Object(s["b"])({url:"/api/warn/all",method:"get"})}function x(t){return Object(s["b"])({url:"/api/assign",method:"post",data:t})}function T(t){var e=t.type;return Object(s["b"])({url:"/api/approval/status?type=".concat(e),method:"get"})}function C(t){return Object(s["b"])({url:"/api/water/userinfo/save",method:"post",data:t})}function w(t){var e=t.recordId;return Object(s["b"])({url:"/api/approval/bz/his?recordId=".concat(e),method:"get"})}function O(){return Object(s["b"])({url:"/api/system/dept/list",method:"get"})}function j(t){var e=t.projectid,i=t.accNo;return Object(s["b"])({url:"/api/file/bz/list?projectid=".concat(e,"&accNo=").concat(i),method:"get"})}function k(t){var e=t.accNo,i=t.recordId;return Object(s["b"])({url:"/api/file/ys/list?accNo=".concat(e,"&recordId=").concat(i),method:"get"})}function D(t){var e=t.fileName;return Object(s["b"])({url:"/api/file/bz/download2?fileName=".concat(e),method:"get"})}function S(t){var e=t.id;return Object(s["b"])({url:"/api/white/user/remove?id=".concat(e),method:"get"})}function R(){return Object(s["b"])({url:"/api/system/dict/data/type/water_oper",method:"get"})}function N(t){var e=t.recordId,i=t.status;return Object(s["b"])({url:"/api/approval/bz/info?recordId=".concat(e,"&status=").concat(i),method:"get"})}function P(t){var e=t.recordId,i=t.status;return Object(s["b"])({url:"/api/approval/ys/info?recordId=".concat(e,"&status=").concat(i),method:"get"})}function z(t){return Object(s["b"])({url:"/api/approval/bz/approval",method:"post",data:t})}function M(t){return Object(s["b"])({url:"/api/approval/ys/approval",method:"post",data:t})}function U(t){return Object(s["b"])({url:"/api/approval/bz/submit",method:"post",data:t})}function L(t){return Object(s["b"])({url:"/api/approval/ys/submit",method:"post",data:t})}function A(t){return Object(s["b"])({url:"/api/approval/bz/submits",method:"post",data:t})}function q(t){return Object(s["b"])({url:"/api/approval/ys/submits",method:"post",data:t})}function B(t){var e=t.recordId;return Object(s["b"])({url:"/api/approval/bz/staging?recordId=".concat(e),method:"get"})}function V(t){var e=t.id;return Object(s["b"])({url:"/api/doubt/ysAll/detail/".concat(e),method:"get"})}function Y(t){var e=t.recordId;return Object(s["b"])({url:"/api/approval/ys/staging?recordId=".concat(e),method:"get"})}function E(t){var e=t.recordId;return Object(s["b"])({url:"/api/approval/bz/his?recordId=".concat(e),method:"get"})}function $(t){var e=t.recordId;return Object(s["b"])({url:"/api/approval/ys/his?recordId=".concat(e),method:"get"})}function J(t){return Object(s["b"])({url:"/api/approval/bz/upDown",method:"post",data:t})}function K(t){return Object(s["b"])({url:"/api/approval/ys/upDown",method:"post",data:t})}function H(t){var e=t.recordId,i=t.isSupervision;return Object(s["b"])({url:"/api/approval/bz/supervision?recordId=".concat(e,"&isSupervision=").concat(i),method:"get"})}function G(t){var e=t.recordId,i=t.isSupervision;return Object(s["b"])({url:"/api/approval/ys/supervision?recordId=".concat(e,"&isSupervision=").concat(i),method:"get"})}function Q(t){var e=t.recordId;return Object(s["b"])({url:"/api/approval/ys/take?recordId=".concat(e),method:"get"})}function W(t){var e=t.recordId,i=t.doubtType;return Object(s["b"])({url:"/api/resetting?id=".concat(e,"&doubtType=").concat(i),method:"get"})}function X(t){var e=t.id,i=t.doubtType;return Object(s["b"])({url:"/api/withdraw?id=".concat(e,"&doubtType=").concat(i),method:"get"})}function Z(t){return Object(s["b"])({url:"/api/white/submits",method:"post",data:t})}function tt(t){var e=t.recordId;return Object(s["b"])({url:"/api/white/white/his?recordId=".concat(e),method:"get"})}function et(t){return Object(s["b"])({url:"/api/white/infos",method:"post",data:t})}function it(t){return Object(s["b"])({url:"/api/white/approval",method:"post",data:t})}function at(t){return Object(s["b"])({url:"/api/record/change/upload",method:"post",data:t})}function nt(t){return Object(s["b"])({url:"/api/ocr/tencent",method:"post",data:t})}function st(t){var e=t.key;return Object(s["b"])({url:"/api/system/dict/data/type/".concat(e),method:"get"})}function lt(t){return Object(s["b"])({url:"/api/approval/bz/push",method:"post",data:t})}function ot(t){return Object(s["b"])({url:"/api/approval/ys/push",method:"post",data:t})}function rt(t){var e=t.recordId;return Object(s["b"])({url:"/api/approval/bz/look?recordId=".concat(e),method:"post"})}function ct(t){var e=t.recordId;return Object(s["b"])({url:"/api/approval/ys/look?recordId=".concat(e),method:"post"})}function dt(t){var e=t.fileUrl;return Object(s["b"])({url:"/api/open/getPreviewUrl?fileUrl=".concat(e),method:"get"})}function ft(t){var e=t.fileUrl;return Object(s["b"])({url:"/api/file/model/ocr/image?url=".concat(e),method:"get"})}function pt(t){return Object(s["b"])({url:"/api/file/model/identity",method:"post",data:t})}function ut(t){var e=t.documentUrl,i=t.refresh;return Object(s["b"])({url:"/api/ocr/text/content?documentUrl=".concat(e,"&refresh=").concat(i),method:"get"})}function mt(t){var e=t.imageUrl,i=t.refresh;return Object(s["b"])({url:"/api/ocr/description?图片url=".concat(e,"&refresh=").concat(i),method:"get"})}function _t(t){return Object(s["b"])({url:"/api/sys/file/".concat(t),method:"get"})}},"4c2b":function(t,e,i){t.exports=i.p+"img/doc.1c249456.png"},"7a18":function(t,e,i){t.exports=i.p+"img/txt.f739312b.png"},"9c3c":function(t,e,i){"use strict";i("2cef")},b841:function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));i("99af");var a=i("bc3a"),n=i.n(a),s=(i("b775"),i("9fb0"));function l(t,e,i,a){return n.a.post("/api/open/upload/file?systemId=".concat(e,"&systemType=").concat(i,"&fileType=").concat(a),t,{headers:{Authorization:sessionStorage.getItem(s["a"]),"Content-Type":"multipart/form-data"}})}},c4493:function(t,e,i){t.exports=i.p+"img/file.303bad78.png"},db12:function(t,i,a){"use strict";a.r(i);a("b0c0");var n=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.showLeft?e("div",{staticClass:"m-left-body"},[e("div",{staticClass:"m-head"},[e("label",[t._v("用水用户信息")]),e("span",{staticClass:"iconfont icon-shouqicaidan-l",on:{click:function(e){t.showLeft=!t.showLeft}}})]),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("a-tooltip",{attrs:{placement:"right"},scopedSlots:t._u([{key:"title",fn:function(){return[e("span",[t._v("点击展开用水用户信息")])]},proxy:!0}],null,!1,1764542556)},[e("a-button",{staticClass:"show-btn",attrs:{type:"primary",size:"small"},on:{click:function(e){t.showLeft=!t.showLeft}}},[e("span",{staticClass:"iconfont icon-shouqicaidan-l"})])],1)],1),e("div",{staticClass:"m-center",class:t.fileFull?"file-full":""},[e("div",{staticClass:"m-head"},[e("label",[t._v("附件信息")]),e("span",{staticClass:"exit",on:{click:function(e){t.fileFull=!t.fileFull}}},[t.fileFull?e("a-icon",{attrs:{type:"fullscreen"}}):e("a-icon",{attrs:{type:"fullscreen-exit"}}),t._v(t._s(t.fileFull?"退出全屏":"全屏"))],1)]),e("div",{staticClass:"m-file-ocr"},[e("div",{staticClass:"o-lt"},[e("div",{staticClass:"o-lt-head"},[e("div",{staticClass:"btn-group"},[e("a-select",{staticClass:"type-btn",attrs:{size:"small"},on:{change:t.changeFileType},model:{value:t.fileParams.fileType,callback:function(e){t.$set(t.fileParams,"fileType",e)},expression:"fileParams.fileType"}},[e("a-select-option",{attrs:{value:"证书"}},[t._v("证书")]),e("a-select-option",{attrs:{value:"文本"}},[t._v("文本/合同")]),e("a-select-option",{attrs:{value:"图片"}},[t._v("图片")])],1),e("a-upload",{attrs:{multiple:"","before-upload":function(e){return t.beforeUpload(e,"fileList")},accept:t.accept}},[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.sysFilesAll.length>0?["图片"==t.fileParams.fileType?[t.detailInfo.sysFiles&&t.detailInfo.sysFiles.image&&t.detailInfo.sysFiles.image.length>0?[t._m(0),t._l(t.detailInfo.sysFiles.image,(function(i,n){return e("div",{key:i.id,staticClass:"img-item",class:t.fileIndex==i.id+"_"+n?"active":""},[e("div",{staticClass:"img-box",on:{click:function(e){return t.changeFile(i,n)}}},["pdf"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("15e3")}}):"xls"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("ea42")}}):"doc"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("4c2b")}}):"txt"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("7a18")}}):"img"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("3db6")}}):e("img",{attrs:{src:a("c4493")}}),e("p",[e("span",[t._v(t._s(i.fileName)+"."+t._s(i.fileFormat))]),e("label",[t._v(t._s(i.createTime))])])]),e("a-popconfirm",{attrs:{placement:"left","ok-text":"删除","cancel-text":"取消"},on:{confirm:function(e){return e.stopPropagation(),t.confirm(i.id)}},scopedSlots:t._u([{key:"title",fn:function(){return[t._v(" 是否删除该附件？ ")]},proxy:!0}],null,!0)},[e("i",{staticClass:"iconfont icon-shanchubeifen2"})])],1)}))]:[e("h4",[t._v("暂无图片!")])]]:t._e(),"证书"==t.fileParams.fileType?[t.detailInfo.sysFiles&&t.detailInfo.sysFiles.certificate&&t.detailInfo.sysFiles.certificate.length>0?[t._m(1),t._l(t.detailInfo.sysFiles.certificate,(function(i,n){return e("div",{key:i.id,staticClass:"img-item",class:t.fileIndex==i.id+"_"+n?"active":""},[e("div",{staticClass:"img-box",on:{click:function(e){return t.changeFile(i,n)}}},["pdf"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("15e3")}}):"xls"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("ea42")}}):"doc"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("4c2b")}}):"txt"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("7a18")}}):"img"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("3db6")}}):e("img",{attrs:{src:a("c4493")}}),e("p",[e("span",[t._v(t._s(i.fileName)+"."+t._s(i.fileFormat))]),e("label",[t._v(t._s(i.createTime))])])]),e("a-popconfirm",{attrs:{placement:"left","ok-text":"删除","cancel-text":"取消"},on:{confirm:function(e){return e.stopPropagation(),t.confirm(i.id)}},scopedSlots:t._u([{key:"title",fn:function(){return[t._v(" 是否删除该附件？ ")]},proxy:!0}],null,!0)},[e("i",{staticClass:"iconfont icon-shanchubeifen2"})])],1)}))]:[e("h4",[t._v("暂无证书!")])]]:t._e(),"文本"==t.fileParams.fileType?[t.detailInfo.sysFiles&&t.detailInfo.sysFiles.text&&t.detailInfo.sysFiles.text.length>0?[t._m(2),t._l(t.detailInfo.sysFiles.text,(function(i,n){return e("div",{key:i.id,staticClass:"img-item",class:t.fileIndex==i.id+"_"+n?"active":""},[e("div",{staticClass:"img-box",on:{click:function(e){return t.changeFile(i,n)}}},["pdf"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("15e3")}}):"xls"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("ea42")}}):"doc"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("4c2b")}}):"txt"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("7a18")}}):"img"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("3db6")}}):e("img",{attrs:{src:a("c4493")}}),e("p",[e("span",[t._v(t._s(i.fileName)+"."+t._s(i.fileFormat))]),e("label",[t._v(t._s(i.createTime))])])]),e("a-popconfirm",{attrs:{placement:"left","ok-text":"删除","cancel-text":"取消"},on:{confirm:function(e){return e.stopPropagation(),t.confirm(i.id)}},scopedSlots:t._u([{key:"title",fn:function(){return[t._v(" 是否删除该附件？ ")]},proxy:!0}],null,!0)},[e("i",{staticClass:"iconfont icon-shanchubeifen2"})])],1)}))]:[e("h4",[t._v("暂无文本/合同!")])]]:t._e()]:[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}},[t.fileSrc?[e("iframe",{attrs:{src:t.fileSrc,frameborder:"0"}})]:e("p",{staticStyle:{display:"flex","align-items":"center","justify-content":"center",height:"200px",color:"#b3b3b3"}},[t._v("暂无附件!")])],2)],1),e("div",{staticClass:"new-file"},[e("span",{staticClass:"tag"},["证书"==t.fileParams.fileType?[t._v("证书语义")]:t._e(),"文本"==t.fileParams.fileType?[t._v("文本/合同语义")]:t._e(),"图片"==t.fileParams.fileType?[t._v("图片语义")]:t._e()],2),e("div",{staticClass:"view-content"},[t.showBtn?e("div",{staticStyle:{padding:"40px","padding-top":"80px",display:"flex","align-items":"center","justify-content":"center"}},[e("a-button",{attrs:{type:"primary",size:"large"},on:{click:t.setFileOcr}},[t._v("点击识别附件内容")])],1):[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))]),e("a-button",{staticClass:"refresh-btn",attrs:{type:"primary",icon:"reload",size:"small"},on:{click:t.refreshFileOcr}},[t._v("刷新")])]:[t.ocrData?[t._v(" "+t._s(t.ocrData)+" ")]:[e("h4",{staticStyle:{"text-align":"center",color:"#b3b3b3",padding:"30px 0"}},[t._v("暂未识别到文本信息！")]),e("a-button",{staticClass:"refresh-btn",attrs:{type:"primary",icon:"reload",size:"small"},on:{click:t.refreshFileOcr}},[t._v("刷新")])]]],2)])]],2)])])])]),e("div",{staticClass:"m-right"},[t.showRight?e("div",{staticClass:"m-left-body"},[e("div",{staticClass:"m-head"},[e("label",[t._v("预警信息")]),e("span",{staticClass:"iconfont icon-shouqicaidan-r",on:{click:function(e){t.showRight=!t.showRight}}})])]):e("a-tooltip",{attrs:{placement:"left"},scopedSlots:t._u([{key:"title",fn:function(){return[e("span",[t._v("点击展开预警信息")])]},proxy:!0}],null,!1,371978653)},[e("a-button",{staticClass:"show-btn",attrs:{type:"primary",size:"small"},on:{click:function(e){t.showRight=!t.showRight}}},[e("span",{staticClass:"iconfont icon-shouqicaidan-r"})])],1)],1)]:t._e(),2==t.dataInfo.pageType?[e("div",{staticClass:"m-left"},[t.showLeft?e("div",{staticClass:"m-left-body"},[e("div",{staticClass:"m-head"},[e("label",[t._v("用水用户信息")]),e("span",{staticClass:"iconfont icon-shouqicaidan-l",on:{click:function(e){t.showLeft=!t.showLeft}}})]),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("a-tooltip",{attrs:{placement:"right"},scopedSlots:t._u([{key:"title",fn:function(){return[e("span",[t._v("点击展开用水用户信息")])]},proxy:!0}],null,!1,1764542556)},[e("a-button",{staticClass:"show-btn",attrs:{type:"primary",size:"small"},on:{click:function(e){t.showLeft=!t.showLeft}}},[e("span",{staticClass:"iconfont icon-shouqicaidan-l"})])],1)],1),e("div",{staticClass:"m-center",class:t.fileFull?"file-full":""},[e("div",{staticClass:"m-head"},[e("label",[t._v("附件信息")]),e("span",{staticClass:"exit",on:{click:function(e){t.fileFull=!t.fileFull}}},[t.fileFull?e("a-icon",{attrs:{type:"fullscreen"}}):e("a-icon",{attrs:{type:"fullscreen-exit"}}),t._v(t._s(t.fileFull?"退出全屏":"全屏"))],1)]),e("div",{staticClass:"m-file-ocr"},[e("div",{staticClass:"o-lt"},[e("div",{staticClass:"o-lt-head"},[e("div",{staticClass:"btn-group"},[e("a-select",{staticClass:"type-btn",attrs:{size:"small"},on:{change:t.changeFileType},model:{value:t.fileParams.fileType,callback:function(e){t.$set(t.fileParams,"fileType",e)},expression:"fileParams.fileType"}},[e("a-select-option",{attrs:{value:"证书"}},[t._v("证书")]),e("a-select-option",{attrs:{value:"文本"}},[t._v("文本/合同")]),e("a-select-option",{attrs:{value:"图片"}},[t._v("图片")])],1),e("a-upload",{attrs:{multiple:"","before-upload":function(e){return t.beforeUpload(e,"fileList")},accept:t.accept}},[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.sysFilesAll.length>0?["图片"==t.fileParams.fileType?[t.detailInfo.sysFiles&&t.detailInfo.sysFiles.image&&t.detailInfo.sysFiles.image.length>0?[t._m(3),t._l(t.detailInfo.sysFiles.image,(function(i,n){return e("div",{key:i.id,staticClass:"img-item",class:t.fileIndex==i.id+"_"+n?"active":""},[e("div",{staticClass:"img-box",on:{click:function(e){return t.changeFile(i,n)}}},["pdf"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("15e3")}}):"xls"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("ea42")}}):"doc"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("4c2b")}}):"txt"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("7a18")}}):"img"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("3db6")}}):e("img",{attrs:{src:a("c4493")}}),e("p",[e("span",[t._v(t._s(i.fileName)+"."+t._s(i.fileFormat))]),e("label",[t._v(t._s(i.createTime))])])]),e("a-popconfirm",{attrs:{placement:"left","ok-text":"删除","cancel-text":"取消"},on:{confirm:function(e){return e.stopPropagation(),t.confirm(i.id)}},scopedSlots:t._u([{key:"title",fn:function(){return[t._v(" 是否删除该附件？ ")]},proxy:!0}],null,!0)},[e("i",{staticClass:"iconfont icon-shanchubeifen2"})])],1)}))]:[e("h4",[t._v("暂无图片!")])]]:t._e(),"证书"==t.fileParams.fileType?[t.detailInfo.sysFiles&&t.detailInfo.sysFiles.certificate&&t.detailInfo.sysFiles.certificate.length>0?[t._m(4),t._l(t.detailInfo.sysFiles.certificate,(function(i,n){return e("div",{key:i.id,staticClass:"img-item",class:t.fileIndex==i.id+"_"+n?"active":""},[e("div",{staticClass:"img-box",on:{click:function(e){return t.changeFile(i,n)}}},["pdf"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("15e3")}}):"xls"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("ea42")}}):"doc"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("4c2b")}}):"txt"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("7a18")}}):"img"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("3db6")}}):e("img",{attrs:{src:a("c4493")}}),e("p",[e("span",[t._v(t._s(i.fileName)+"."+t._s(i.fileFormat))]),e("label",[t._v(t._s(i.createTime))])])]),e("a-popconfirm",{attrs:{placement:"left","ok-text":"删除","cancel-text":"取消"},on:{confirm:function(e){return e.stopPropagation(),t.confirm(i.id)}},scopedSlots:t._u([{key:"title",fn:function(){return[t._v(" 是否删除该附件？ ")]},proxy:!0}],null,!0)},[e("i",{staticClass:"iconfont icon-shanchubeifen2"})])],1)}))]:[e("h4",[t._v("暂无证书!")])]]:t._e(),"文本"==t.fileParams.fileType?[t.detailInfo.sysFiles&&t.detailInfo.sysFiles.text&&t.detailInfo.sysFiles.text.length>0?[t._m(5),t._l(t.detailInfo.sysFiles.text,(function(i,n){return e("div",{key:i.id,staticClass:"img-item",class:t.fileIndex==i.id+"_"+n?"active":""},[e("div",{staticClass:"img-box",on:{click:function(e){return t.changeFile(i,n)}}},["pdf"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("15e3")}}):"xls"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("ea42")}}):"doc"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("4c2b")}}):"txt"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("7a18")}}):"img"==t.isFileType("."+i.fileFormat)?e("img",{attrs:{src:a("3db6")}}):e("img",{attrs:{src:a("c4493")}}),e("p",[e("span",[t._v(t._s(i.fileName)+"."+t._s(i.fileFormat))]),e("label",[t._v(t._s(i.createTime))])])]),e("a-popconfirm",{attrs:{placement:"left","ok-text":"删除","cancel-text":"取消"},on:{confirm:function(e){return e.stopPropagation(),t.confirm(i.id)}},scopedSlots:t._u([{key:"title",fn:function(){return[t._v(" 是否删除该附件？ ")]},proxy:!0}],null,!0)},[e("i",{staticClass:"iconfont icon-shanchubeifen2"})])],1)}))]:[e("h4",[t._v("暂无文本/合同!")])]]:t._e()]:[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}},[t.fileSrc?[e("iframe",{attrs:{src:t.fileSrc,frameborder:"0"}})]:e("p",{staticStyle:{display:"flex","align-items":"center","justify-content":"center",height:"200px",color:"#b3b3b3"}},[t._v("暂无附件!")])],2)],1),e("div",{staticClass:"new-file"},[e("span",{staticClass:"tag"},["证书"==t.fileParams.fileType?[t._v("证书语义")]:t._e(),"文本"==t.fileParams.fileType?[t._v("文本/合同语义")]:t._e(),"图片"==t.fileParams.fileType?[t._v("图片语义")]:t._e()],2),e("div",{staticClass:"view-content"},[t.showBtn?e("div",{staticStyle:{padding:"40px","padding-top":"80px",display:"flex","align-items":"center","justify-content":"center"}},[e("a-button",{attrs:{type:"primary",size:"large"},on:{click:t.setFileOcr}},[t._v("点击识别附件内容")])],1):[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))]),e("a-button",{staticClass:"refresh-btn",attrs:{type:"primary",icon:"reload",size:"small"},on:{click:t.refreshFileOcr}},[t._v("刷新")])]:[t.ocrData?[t._v(" "+t._s(t.ocrData)+" ")]:[e("h4",{staticStyle:{"text-align":"center",color:"#b3b3b3",padding:"30px 0"}},[t._v("暂未识别到文本信息！")]),e("a-button",{staticClass:"refresh-btn",attrs:{type:"primary",icon:"reload",size:"small"},on:{click:t.refreshFileOcr}},[t._v("刷新")])]]],2)])]],2)])])])]),e("div",{staticClass:"m-right"},[t.showRight?e("div",{staticClass:"m-left-body"},[e("div",{staticClass:"m-head"},[e("label",[t._v("预警信息")]),e("span",{staticClass:"iconfont icon-shouqicaidan-r",on:{click:function(e){t.showRight=!t.showRight}}})])]):e("a-tooltip",{attrs:{placement:"left"},scopedSlots:t._u([{key:"title",fn:function(){return[e("span",[t._v("点击展开预警信息")])]},proxy:!0}],null,!1,371978653)},[e("a-button",{staticClass:"show-btn",attrs:{type:"primary",size:"small"},on:{click:function(e){t.showRight=!t.showRight}}},[e("span",{staticClass:"iconfont icon-shouqicaidan-r"})])],1)],1)]:t._e()],2):t._e()},s=[function(){var t=this,e=t._self._c;return e("h5",[e("span",[t._v("图片")])])},function(){var t=this,e=t._self._c;return e("h5",[e("span",[t._v("证书")])])},function(){var t=this,e=t._self._c;return e("h5",[e("span",[t._v("文本/合同")])])},function(){var t=this,e=t._self._c;return e("h5",[e("span",[t._v("图片")])])},function(){var t=this,e=t._self._c;return e("h5",[e("span",[t._v("证书")])])},function(){var t=this,e=t._self._c;return e("h5",[e("span",[t._v("文本/合同")])])}],l=a("2909"),o=(a("a4d3"),a("e01a"),a("99af"),a("d3b7"),a("159b"),a("b841")),r=a("3e83"),c=a("c1df"),d=a.n(c),f={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:"",errText:"",fileFull:!1,fileParams:{fileType:"证书"},showLeft:!0,showRight:!0,accept:"",FileObj:{},showBtn:!0}},watch:{modelData:function(t,e){t&&t.id!=e.id&&(this.dataInfo=t,this.getDetil())}},mounted:function(){},created:function(){this.getDetil()},methods:{confirm:function(t){var e=this;Object(r["r"])(t).then((function(t){e.$notification.success({message:"成功",description:"删除成功"}),e.getDetil(!0)})).cache((function(t){e.$notification.error({message:"失败",description:t.msg})}))},changeFileType:function(t){this.accept="图片"===t?".jpg,.jpeg,.png,.gif,.tif,.bmp,.webp":"",this.ocrData="",this.showBtn=!0,this.changeFileOcr()},handleMenuClick:function(t){this.fileParams.fileType=t.key},beforeUpload:function(t,e){var i=this;this.uploading=!0;var a=new FormData;return[t].forEach((function(t){a.append("file",t)})),Object(o["a"])(a,this.detailInfo.id,1===this.dataInfo.pageType?"营收":"报装",this.fileParams.fileType).then((function(t){200===t.data.code&&(i.uploading=!1,i.ocrData="",i.showBtn=!0,i.getDetil(!0))})).catch((function(t){i.uploading=!1,i.$notification.error({message:"失败",description:t.msg})})).finally((function(){i.uploading=!1})),!1},changeFile:function(t,e){this.fileIndex=t.id+"_"+e,this.fileSrc="",this.errText="",this.ocrData=null,this.FileObj=t,this.fileViewFun(t.fileUrl),this.showBtn=!0},setFileOcr:function(){this.showBtn=!1,"图片"===this.fileParams.fileType?this.fileCORImgDescriptionFun(this.FileObj,1):this.fileCORAllFileFun(this.FileObj,1)},refreshFileOcr:function(){"图片"===this.fileParams.fileType?this.fileCORImgDescriptionFun(this.FileObj,1):this.fileCORAllFileFun(this.FileObj,1)},fileViewFun:function(t){var e=this;this.spinning=!0,Object(r["z"])({fileUrl:t}).then((function(t){e.spinning=!1,200==t.code&&(e.fileSrc=t.msg)})).catch((function(){e.spinning=!1}))},fileCORImgFun:function(t){var i=this;if(this.spinning1=!0,"img"!==this.isFileType(t))return this.spinning1=!1,void(this.errText="抱歉，文件识别功能暂未开放！");Object(r["w"])({fileUrl:t}).then((function(t){i.spinning1=!1,200==t.code?i.ocrData=t.data:i.errText=e.msg})).catch((function(t){i.spinning1=!1,i.errText=t.msg}))},fileCORFileFun:function(t){var e=this,i={systemId:t.systemId,systemType:t.systemType,fileUrls:[t.fileUrl]};this.spinning1=!0,Object(r["v"])(i).then((function(t){e.spinning1=!1})).catch((function(){e.spinning1=!1}))},fileCORAllFileFun:function(t,i){var a=this;this.ocrData="",this.spinning1=!0,Object(r["u"])({documentUrl:t.fileUrl,refresh:i||""}).then((function(t){a.spinning1=!1,200==t.code?a.ocrData=t.data:a.errText=e.msg})).catch((function(){a.ocrData="",a.spinning1=!1}))},fileCORImgDescriptionFun:function(t,i){var a=this;this.ocrData="",this.spinning1=!0,Object(r["x"])({imageUrl:t.fileUrl,refresh:i||""}).then((function(t){a.spinning1=!1,200==t.code?a.ocrData=t.data.description:a.errText=e.msg})).catch((function(){a.ocrData="",a.spinning1=!1}))},setInfo:function(t,e){var i,a,n,s,o;(this.detailInfo=t,this.accept="",this.detailInfo.sysFiles.certificate?this.detailInfo.sysFilesAll=[].concat(Object(l["a"])(this.detailInfo.sysFiles.certificate),Object(l["a"])(this.detailInfo.sysFiles.text),Object(l["a"])(this.detailInfo.sysFiles.image)):this.detailInfo.sysFilesAll=[],this.detailInfo.sysFilesAll.length>0)?(e||this.fileViewFun(this.detailInfo.sysFilesAll[0].fileUrl),(null===(i=this.detailInfo.sysFiles)||void 0===i?void 0:i.certificate.length)>0&&!e&&(this.fileParams.fileType="证书"),0==(null===(a=this.detailInfo.sysFiles)||void 0===a?void 0:a.certificate.length)&&(null===(n=this.detailInfo.sysFiles)||void 0===n?void 0:n.text.length)>0&&!e&&(this.fileParams.fileType="文本"),0!=(null===(s=this.detailInfo.sysFiles)||void 0===s?void 0:s.certificate.length)||0!=(null===(o=this.detailInfo.sysFiles)||void 0===o?void 0:o.text.length)||e||(this.fileParams.fileType="图片",this.accept=".jpg,.jpeg,.png,.gif,.tif,.bmp,.webp"),this.fileIndex=this.detailInfo.sysFilesAll[0].id+"_0",e||(this.FileObj=this.detailInfo.sysFilesAll[0]),e&&this.changeFileOcr()):(e||(this.fileParams.fileType="证书"),this.fileIndex=0,this.spinning=!1,this.spinning1=!1,this.fileSrc="",this.errText="",this.ocrData=null)},changeFileOcr:function(){"证书"==this.fileParams.fileType&&(this.detailInfo.sysFiles.certificate&&this.detailInfo.sysFiles.certificate.length>0?(this.fileIndex=this.detailInfo.sysFiles.certificate[0].id+"_0",this.FileObj=this.detailInfo.sysFiles.certificate[0],this.fileViewFun(this.detailInfo.sysFiles.certificate[0].fileUrl)):this.fileSrc=""),"文本"==this.fileParams.fileType&&(this.detailInfo.sysFiles.text&&this.detailInfo.sysFiles.text.length>0?(this.fileIndex=this.detailInfo.sysFiles.text[0].id+"_0",this.FileObj=this.detailInfo.sysFiles.text[0],this.fileViewFun(this.detailInfo.sysFiles.text[0].fileUrl)):this.fileSrc=""),"图片"==this.fileParams.fileType&&(this.detailInfo.sysFiles.image&&this.detailInfo.sysFiles.image.length>0?(this.fileIndex=this.detailInfo.sysFiles.image[0].id+"_0",this.FileObj=this.detailInfo.sysFiles.image[0],this.fileViewFun(this.detailInfo.sysFiles.image[0].fileUrl)):this.fileSrc="")},getDetil:function(t){var e=this;this.selectImg="",this.selectImgIndex=null,this.spinning2=!0,1===this.modelData.pageType?"now"==this.mode?Object(r["K"])({id:this.modelData.id}).then((function(i){e.spinning2=!1,200===i.code&&e.setInfo(i.data,t)})).catch((function(){e.spinning2=!1})):Object(r["J"])({id:this.modelData.id}).then((function(i){e.spinning2=!1,200===i.code&&e.setInfo(i.data,t)})).catch((function(){e.spinning2=!1})):2===this.modelData.pageType&&("now"==this.mode?Object(r["D"])({id:this.modelData.id}).then((function(i){e.spinning2=!1,200===i.code&&e.setInfo(i.data,t)})).catch((function(){e.spinning2=!1})):Object(r["F"])({id:this.modelData.id}).then((function(i){e.spinning2=!1,200===i.code&&e.setInfo(i.data,t)})).catch((function(){e.spinning2=!1})))}}},p=f,u=(a("9c3c"),a("2877")),m=Object(u["a"])(p,n,s,!1,null,"fadeaf2c",null);i["default"]=m.exports},ea42:function(t,e,i){t.exports=i.p+"img/xls.2355d70e.png"}}]);