(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-602039db"],{"3e83":function(t,e,n){"use strict";n.d(e,"w",(function(){return u})),n.d(e,"r",(function(){return i})),n.d(e,"z",(function(){return s})),n.d(e,"F",(function(){return d})),n.d(e,"G",(function(){return p})),n.d(e,"ab",(function(){return l})),n.d(e,"i",(function(){return f})),n.d(e,"gb",(function(){return b})),n.d(e,"B",(function(){return m})),n.d(e,"D",(function(){return h})),n.d(e,"E",(function(){return v})),n.d(e,"W",(function(){return y})),n.d(e,"c",(function(){return g})),n.d(e,"e",(function(){return O})),n.d(e,"I",(function(){return j})),n.d(e,"J",(function(){return w})),n.d(e,"K",(function(){return _})),n.d(e,"a",(function(){return I})),n.d(e,"C",(function(){return C})),n.d(e,"A",(function(){return N})),n.d(e,"x",(function(){return k})),n.d(e,"y",(function(){return z})),n.d(e,"u",(function(){return S})),n.d(e,"R",(function(){return T})),n.d(e,"Y",(function(){return x})),n.d(e,"n",(function(){return D})),n.d(e,"fb",(function(){return M})),n.d(e,"m",(function(){return Y})),n.d(e,"eb",(function(){return $})),n.d(e,"U",(function(){return U})),n.d(e,"V",(function(){return H})),n.d(e,"d",(function(){return J})),n.d(e,"f",(function(){return Z})),n.d(e,"j",(function(){return E})),n.d(e,"X",(function(){return L})),n.d(e,"bb",(function(){return P})),n.d(e,"o",(function(){return A})),n.d(e,"Z",(function(){return B})),n.d(e,"l",(function(){return F})),n.d(e,"db",(function(){return q})),n.d(e,"k",(function(){return G})),n.d(e,"cb",(function(){return K})),n.d(e,"M",(function(){return Q})),n.d(e,"S",(function(){return R})),n.d(e,"T",(function(){return V})),n.d(e,"b",(function(){return W})),n.d(e,"p",(function(){return X})),n.d(e,"h",(function(){return tt})),n.d(e,"g",(function(){return et})),n.d(e,"L",(function(){return nt})),n.d(e,"H",(function(){return rt})),n.d(e,"q",(function(){return at})),n.d(e,"O",(function(){return ot})),n.d(e,"Q",(function(){return ct})),n.d(e,"N",(function(){return ut})),n.d(e,"P",(function(){return it})),n.d(e,"v",(function(){return st})),n.d(e,"t",(function(){return dt})),n.d(e,"s",(function(){return pt}));n("99af");var r=n("bc3a"),a=n.n(r),o=n("b775"),c=n("9fb0");function u(t){return a.a.post("/api/water/user/ys/history/importExcel",t,{headers:{token:sessionStorage.getItem(c["a"]),"Content-Type":"multipart/form-data"}})}function i(t){return a.a.post("/api/water/user/bz/history/importExcel",t,{headers:{token:sessionStorage.getItem(c["a"]),"Content-Type":"multipart/form-data"}})}function s(t){var e=t.id;return Object(o["b"])({url:"/api/water/user/bz/now/".concat(e),method:"get"})}function d(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 l(t){var e=t.month,n=t.companyName,r=t.year;return Object(o["b"])({url:"/api/water/user/ys/now/cleaning?month=".concat(e,"&companyName=").concat(n,"&year=").concat(r),method:"get"})}function f(t){var e=t.month,n=t.companyName,r=t.year;return Object(o["b"])({url:"/api/water/user/bz/now/cleaning?month=".concat(e,"&companyName=").concat(n,"&year=").concat(r),method:"get"})}function b(t){return Object(o["b"])({url:"/api/water/bill/cleanse",method:"post",data:t})}function m(t){var e=t.id;return Object(o["b"])({url:"/api/water/user/bz/history/".concat(e),method:"get"})}function h(t){var e=t.id;return Object(o["b"])({url:"/api/doubt/ys/detail/".concat(e),method:"get"})}function v(t){var e=t.id;return Object(o["b"])({url:"/api/doubt/ys/water/detail/".concat(e),method:"get"})}function y(t){var e=t.id,n=t.accNo,r=t.warnModelId,a=t.currentTime,c=t.lastTime,u=t.year,i=t.month;return Object(o["b"])({url:"/api/doubt/ys/workNumber?id=".concat(e,"&warnModelId=").concat(r,"&accNo=").concat(n,"&currentTime=").concat(a,"&lastTime=").concat(c,"&year=").concat(u,"&month=").concat(i),method:"get"})}function g(t){return Object(o["b"])({url:"/api/approval/bz/infos",method:"post",data:t})}function O(t){return Object(o["b"])({url:"/api/approval/ys/infos",method:"post",data:t})}function j(){return Object(o["b"])({url:"/api/warn/all",method:"get"})}function w(t){return Object(o["b"])({url:"/api/assign",method:"post",data:t})}function _(t){var e=t.type;return Object(o["b"])({url:"/api/approval/status?type=".concat(e),method:"get"})}function I(t){return Object(o["b"])({url:"/api/water/userinfo/save",method:"post",data:t})}function C(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/bz/his?recordId=".concat(e),method:"get"})}function N(){return Object(o["b"])({url:"/api/system/dept/list",method:"get"})}function k(t){var e=t.projectid,n=t.accNo;return Object(o["b"])({url:"/api/file/bz/list?projectid=".concat(e,"&accNo=").concat(n),method:"get"})}function z(t){var e=t.accNo,n=t.recordId;return Object(o["b"])({url:"/api/file/ys/list?accNo=".concat(e,"&recordId=").concat(n),method:"get"})}function S(t){var e=t.fileName;return Object(o["b"])({url:"/api/file/bz/download2?fileName=".concat(e),method:"get"})}function T(t){var e=t.id;return Object(o["b"])({url:"/api/white/user/remove?id=".concat(e),method:"get"})}function x(){return Object(o["b"])({url:"/api/system/dict/data/type/water_oper",method:"get"})}function D(t){var e=t.recordId,n=t.status;return Object(o["b"])({url:"/api/approval/bz/info?recordId=".concat(e,"&status=").concat(n),method:"get"})}function M(t){var e=t.recordId,n=t.status;return Object(o["b"])({url:"/api/approval/ys/info?recordId=".concat(e,"&status=").concat(n),method:"get"})}function Y(t){return Object(o["b"])({url:"/api/approval/bz/approval",method:"post",data:t})}function $(t){return Object(o["b"])({url:"/api/approval/ys/approval",method:"post",data:t})}function U(t){return Object(o["b"])({url:"/api/approval/bz/submit",method:"post",data:t})}function H(t){return Object(o["b"])({url:"/api/approval/ys/submit",method:"post",data:t})}function J(t){return Object(o["b"])({url:"/api/approval/bz/submits",method:"post",data:t})}function Z(t){return Object(o["b"])({url:"/api/approval/ys/submits",method:"post",data:t})}function E(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/bz/staging?recordId=".concat(e),method:"get"})}function L(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 A(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/bz/his?recordId=".concat(e),method:"get"})}function B(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/ys/his?recordId=".concat(e),method:"get"})}function F(t){return Object(o["b"])({url:"/api/approval/bz/upDown",method:"post",data:t})}function q(t){return Object(o["b"])({url:"/api/approval/ys/upDown",method:"post",data:t})}function G(t){var e=t.recordId,n=t.isSupervision;return Object(o["b"])({url:"/api/approval/bz/supervision?recordId=".concat(e,"&isSupervision=").concat(n),method:"get"})}function K(t){var e=t.recordId,n=t.isSupervision;return Object(o["b"])({url:"/api/approval/ys/supervision?recordId=".concat(e,"&isSupervision=").concat(n),method:"get"})}function Q(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/ys/take?recordId=".concat(e),method:"get"})}function R(t){var e=t.recordId,n=t.doubtType;return Object(o["b"])({url:"/api/resetting?id=".concat(e,"&doubtType=").concat(n),method:"get"})}function V(t){var e=t.id,n=t.doubtType;return Object(o["b"])({url:"/api/withdraw?id=".concat(e,"&doubtType=").concat(n),method:"get"})}function W(t){return Object(o["b"])({url:"/api/white/submits",method:"post",data:t})}function X(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 nt(t){return Object(o["b"])({url:"/api/record/change/upload",method:"post",data:t})}function rt(t){return Object(o["b"])({url:"/api/ocr/tencent",method:"post",data:t})}function at(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 ct(t){return Object(o["b"])({url:"/api/approval/ys/push",method:"post",data:t})}function ut(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/bz/look?recordId=".concat(e),method:"post"})}function it(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/ys/look?recordId=".concat(e),method:"post"})}function st(t){var e=t.fileUrl;return Object(o["b"])({url:"/api/open/getPreviewUrl?fileUrl=".concat(e),method:"get"})}function dt(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})}},6379:function(t,e,n){},"8f43":function(t,e,n){"use strict";n("6379")},cf96:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"div-group"},[e("div",{staticClass:"table-page-search-wrapper"},[e("a-form",{attrs:{layout:"inline"}},[e("a-row",{attrs:{type:"flex",gutter:24}},[e("a-col",{attrs:{md:10,sm:24}},[e("a-form-item",{attrs:{label:"年份(必选)"}},[e("a-date-picker",{staticStyle:{width:"100%"},attrs:{format:"YYYY",mode:"year",placeholder:"选择年份",open:t.yearShowOne},on:{openChange:t.openChangeOne,panelChange:t.panelChangeOne},model:{value:t.params.year,callback:function(e){t.$set(t.params,"year",e)},expression:"params.year"}})],1)],1),e("a-col",{attrs:{md:10,sm:24}},[e("a-form-item",{attrs:{label:"选择月份(必选)"}},[e("a-select",{attrs:{allowClear:"",placeholder:"选择月份"},model:{value:t.params.month,callback:function(e){t.$set(t.params,"month",e)},expression:"params.month"}},[e("a-select-option",{attrs:{value:""}},[t._v("全部")]),e("a-select-option",{attrs:{value:"1"}},[t._v("1月")]),e("a-select-option",{attrs:{value:"2"}},[t._v("2月")]),e("a-select-option",{attrs:{value:"3"}},[t._v("3月")]),e("a-select-option",{attrs:{value:"4"}},[t._v("4月")]),e("a-select-option",{attrs:{value:"5"}},[t._v("5月")]),e("a-select-option",{attrs:{value:"6"}},[t._v("6月")]),e("a-select-option",{attrs:{value:"7"}},[t._v("7月")]),e("a-select-option",{attrs:{value:"8"}},[t._v("8月")]),e("a-select-option",{attrs:{value:"9"}},[t._v("9月")]),e("a-select-option",{attrs:{value:"10"}},[t._v("10月")]),e("a-select-option",{attrs:{value:"11"}},[t._v("11月")]),e("a-select-option",{attrs:{value:"12"}},[t._v("12月")])],1)],1)],1),e("a-col",{attrs:{md:10,sm:24}},[e("a-form-item",{attrs:{label:"所属企业"}},[e("a-select",{attrs:{allowClear:"",placeholder:"选择企业"},model:{value:t.params.companyName,callback:function(e){t.$set(t.params,"companyName",e)},expression:"params.companyName"}},[e("a-select-option",{attrs:{value:""}},[t._v("全部")]),t._l(t.userList,(function(n){return e("a-select-option",{key:n,attrs:{value:n}},[t._v(t._s(n))])}))],2)],1)],1),e("a-col",[e("span",{staticClass:"table-page-search-submitButtons"},[e("a-button",{attrs:{type:"primary"},on:{click:t.success}},[t._v("开始清洗")])],1)])],1)],1)],1),e("div",{staticClass:"withdraw"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.showMsg,expression:"showMsg"}],staticClass:"msg"},[e("h3",[t._v("清洗结果")]),t.cleanseCount||t.total?[e("p",[t._v("已完成数据清洗"),e("span",[t._v(t._s(t.total))]),t._v("条，其中"),e("span",[t._v(t._s(t.cleanseCount))]),t._v("条疑点数据 "),t.cleanseCount>0?[t._v(" ，请尽快处理。 "),4==t.modelData.type||5==t.modelData.type?e("a-button",{attrs:{type:"danger"},on:{click:function(e){return t.moduleHref("/sjcj/yd/lh")}}},[t._v("去处理")]):e("a-button",{attrs:{type:"danger"},on:{click:function(e){return t.moduleHref("/sjcj/yd/sf")}}},[t._v("去处理")])]:t._e()],2)]:[t._v(" 数据已清洗！ ")]],2)]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.pop,expression:"pop"}],staticClass:"pop"},[e("div",{staticClass:"loading"}),t._v("数据清洗中，请耐心等待... ")])])},a=[],o=n("5530"),c=n("c7eb"),u=n("1da1"),i=(n("d3b7"),n("25f0"),n("3e83")),s=n("c1df"),d=n.n(s),p={props:["modelData"],data:function(){return{params:{year:"",month:null,companyName:""},cleanseCount:0,total:0,yearShowOne:!1,showMsg:!1,pop:!1,userList:["市集团纪委领导","市集团纪委账号","运管中心","杭州湾水务公司","海曙水务公司","江北水务公司","镇海水务公司","鄞州水务公司"]}},watch:{},created:function(){return Object(u["a"])(Object(c["a"])().mark((function t(){return Object(c["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))()},methods:{moduleHref:function(t){this.$router.push({path:t})},openChangeOne:function(t){t&&(this.yearShowOne=!0)},panelChangeOne:function(t){this.params.year=d()(t._d.toString()).format("YYYY"),this.yearShowOne=!1},success:function(){var t=this;this.params.year&&this.params.month?(this.pop=!0,4==this.modelData.type?Object(i["ab"])(this.params).then((function(e){200===e.code&&(t.pop=!1,t.showMsg=!0,t.cleanseCount=e.data.statusTwoCount,t.total=e.data.statusZeroCount)})):5==this.modelData.type?Object(i["i"])(this.params).then((function(e){200===e.code&&(t.pop=!1,t.showMsg=!0,t.cleanseCount=e.data.statusTwoCount,t.total=e.data.statusZeroCount)})):Object(i["gb"])(this.params).then((function(e){200===e.code&&(t.pop=!1,t.showMsg=!0,t.cleanseCount=e.data.statusTwoCount,t.total=e.data.statusZeroCount)}))):this.$notification.warning({message:"提示",description:"请先选择年份和月份！"})},onSubmit:function(){var t=this;return new Promise((function(e,n){t.$refs.ruleForm.validate((function(r){if(!r)return n(),!1;Object(i["a"])(Object(o["a"])({},t.form)).then((function(n){t.$notification.success({message:"成功",description:"{}"==JSON.stringify(t.modelData)?"新增成功":"修改成功"}),e()})).catch((function(e){t.$notification.error({message:"失败",description:e.msg}),n()}))}))}))}}},l=p,f=(n("8f43"),n("2877")),b=Object(f["a"])(l,r,a,!1,null,"62b03815",null);e["default"]=b.exports}}]);