(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-56188869","chunk-6eb7443f","chunk-79fa405c"],{"1d14":function(e,t,a){"use strict";a("f6080")},"3e83":function(e,t,a){"use strict";a.d(t,"w",(function(){return s})),a.d(t,"r",(function(){return c})),a.d(t,"z",(function(){return d})),a.d(t,"F",(function(){return l})),a.d(t,"G",(function(){return u})),a.d(t,"ab",(function(){return p})),a.d(t,"i",(function(){return m})),a.d(t,"gb",(function(){return f})),a.d(t,"B",(function(){return h})),a.d(t,"D",(function(){return b})),a.d(t,"E",(function(){return v})),a.d(t,"W",(function(){return y})),a.d(t,"c",(function(){return g})),a.d(t,"e",(function(){return _})),a.d(t,"I",(function(){return w})),a.d(t,"J",(function(){return I})),a.d(t,"K",(function(){return O})),a.d(t,"a",(function(){return S})),a.d(t,"C",(function(){return T})),a.d(t,"A",(function(){return P})),a.d(t,"x",(function(){return j})),a.d(t,"y",(function(){return D})),a.d(t,"u",(function(){return k})),a.d(t,"R",(function(){return q})),a.d(t,"Y",(function(){return x})),a.d(t,"n",(function(){return M})),a.d(t,"fb",(function(){return N})),a.d(t,"m",(function(){return Y})),a.d(t,"eb",(function(){return C})),a.d(t,"U",(function(){return R})),a.d(t,"V",(function(){return z})),a.d(t,"d",(function(){return U})),a.d(t,"f",(function(){return $})),a.d(t,"j",(function(){return L})),a.d(t,"X",(function(){return K})),a.d(t,"bb",(function(){return F})),a.d(t,"o",(function(){return G})),a.d(t,"Z",(function(){return E})),a.d(t,"l",(function(){return A})),a.d(t,"db",(function(){return B})),a.d(t,"k",(function(){return W})),a.d(t,"cb",(function(){return V})),a.d(t,"M",(function(){return H})),a.d(t,"S",(function(){return J})),a.d(t,"T",(function(){return Q})),a.d(t,"b",(function(){return X})),a.d(t,"p",(function(){return Z})),a.d(t,"h",(function(){return ee})),a.d(t,"g",(function(){return te})),a.d(t,"L",(function(){return ae})),a.d(t,"H",(function(){return ne})),a.d(t,"q",(function(){return re})),a.d(t,"O",(function(){return ie})),a.d(t,"Q",(function(){return oe})),a.d(t,"N",(function(){return se})),a.d(t,"P",(function(){return ce})),a.d(t,"v",(function(){return de})),a.d(t,"t",(function(){return le})),a.d(t,"s",(function(){return ue}));a("99af");var n=a("bc3a"),r=a.n(n),i=a("b775"),o=a("9fb0");function s(e){return r.a.post("/api/water/user/ys/history/importExcel",e,{headers:{token:sessionStorage.getItem(o["a"]),"Content-Type":"multipart/form-data"}})}function c(e){return r.a.post("/api/water/user/bz/history/importExcel",e,{headers:{token:sessionStorage.getItem(o["a"]),"Content-Type":"multipart/form-data"}})}function d(e){var t=e.id;return Object(i["b"])({url:"/api/water/user/bz/now/".concat(t),method:"get"})}function l(e){var t=e.id;return Object(i["b"])({url:"/api/water/user/ys/history/".concat(t),method:"get"})}function u(e){var t=e.id;return Object(i["b"])({url:"/api/water/user/ys/now/".concat(t),method:"get"})}function p(e){var t=e.month,a=e.companyName,n=e.year;return Object(i["b"])({url:"/api/water/user/ys/now/cleaning?month=".concat(t,"&companyName=").concat(a,"&year=").concat(n),method:"get"})}function m(e){var t=e.month,a=e.companyName,n=e.year;return Object(i["b"])({url:"/api/water/user/bz/now/cleaning?month=".concat(t,"&companyName=").concat(a,"&year=").concat(n),method:"get"})}function f(e){return Object(i["b"])({url:"/api/water/bill/cleanse",method:"post",data:e})}function h(e){var t=e.id;return Object(i["b"])({url:"/api/water/user/bz/history/".concat(t),method:"get"})}function b(e){var t=e.id;return Object(i["b"])({url:"/api/doubt/ys/detail/".concat(t),method:"get"})}function v(e){var t=e.id;return Object(i["b"])({url:"/api/doubt/ys/water/detail/".concat(t),method:"get"})}function y(e){var t=e.id,a=e.accNo,n=e.warnModelId,r=e.currentTime,o=e.lastTime,s=e.year,c=e.month;return Object(i["b"])({url:"/api/doubt/ys/workNumber?id=".concat(t,"&warnModelId=").concat(n,"&accNo=").concat(a,"&currentTime=").concat(r,"&lastTime=").concat(o,"&year=").concat(s,"&month=").concat(c),method:"get"})}function g(e){return Object(i["b"])({url:"/api/approval/bz/infos",method:"post",data:e})}function _(e){return Object(i["b"])({url:"/api/approval/ys/infos",method:"post",data:e})}function w(){return Object(i["b"])({url:"/api/warn/all",method:"get"})}function I(e){return Object(i["b"])({url:"/api/assign",method:"post",data:e})}function O(e){var t=e.type;return Object(i["b"])({url:"/api/approval/status?type=".concat(t),method:"get"})}function S(e){return Object(i["b"])({url:"/api/water/userinfo/save",method:"post",data:e})}function T(e){var t=e.recordId;return Object(i["b"])({url:"/api/approval/bz/his?recordId=".concat(t),method:"get"})}function P(){return Object(i["b"])({url:"/api/system/dept/list",method:"get"})}function j(e){var t=e.projectid,a=e.accNo;return Object(i["b"])({url:"/api/file/bz/list?projectid=".concat(t,"&accNo=").concat(a),method:"get"})}function D(e){var t=e.accNo,a=e.recordId;return Object(i["b"])({url:"/api/file/ys/list?accNo=".concat(t,"&recordId=").concat(a),method:"get"})}function k(e){var t=e.fileName;return Object(i["b"])({url:"/api/file/bz/download2?fileName=".concat(t),method:"get"})}function q(e){var t=e.id;return Object(i["b"])({url:"/api/white/user/remove?id=".concat(t),method:"get"})}function x(){return Object(i["b"])({url:"/api/system/dict/data/type/water_oper",method:"get"})}function M(e){var t=e.recordId,a=e.status;return Object(i["b"])({url:"/api/approval/bz/info?recordId=".concat(t,"&status=").concat(a),method:"get"})}function N(e){var t=e.recordId,a=e.status;return Object(i["b"])({url:"/api/approval/ys/info?recordId=".concat(t,"&status=").concat(a),method:"get"})}function Y(e){return Object(i["b"])({url:"/api/approval/bz/approval",method:"post",data:e})}function C(e){return Object(i["b"])({url:"/api/approval/ys/approval",method:"post",data:e})}function R(e){return Object(i["b"])({url:"/api/approval/bz/submit",method:"post",data:e})}function z(e){return Object(i["b"])({url:"/api/approval/ys/submit",method:"post",data:e})}function U(e){return Object(i["b"])({url:"/api/approval/bz/submits",method:"post",data:e})}function $(e){return Object(i["b"])({url:"/api/approval/ys/submits",method:"post",data:e})}function L(e){var t=e.recordId;return Object(i["b"])({url:"/api/approval/bz/staging?recordId=".concat(t),method:"get"})}function K(e){var t=e.id;return Object(i["b"])({url:"/api/doubt/ysAll/detail/".concat(t),method:"get"})}function F(e){var t=e.recordId;return Object(i["b"])({url:"/api/approval/ys/staging?recordId=".concat(t),method:"get"})}function G(e){var t=e.recordId;return Object(i["b"])({url:"/api/approval/bz/his?recordId=".concat(t),method:"get"})}function E(e){var t=e.recordId;return Object(i["b"])({url:"/api/approval/ys/his?recordId=".concat(t),method:"get"})}function A(e){return Object(i["b"])({url:"/api/approval/bz/upDown",method:"post",data:e})}function B(e){return Object(i["b"])({url:"/api/approval/ys/upDown",method:"post",data:e})}function W(e){var t=e.recordId,a=e.isSupervision;return Object(i["b"])({url:"/api/approval/bz/supervision?recordId=".concat(t,"&isSupervision=").concat(a),method:"get"})}function V(e){var t=e.recordId,a=e.isSupervision;return Object(i["b"])({url:"/api/approval/ys/supervision?recordId=".concat(t,"&isSupervision=").concat(a),method:"get"})}function H(e){var t=e.recordId;return Object(i["b"])({url:"/api/approval/ys/take?recordId=".concat(t),method:"get"})}function J(e){var t=e.recordId,a=e.doubtType;return Object(i["b"])({url:"/api/resetting?id=".concat(t,"&doubtType=").concat(a),method:"get"})}function Q(e){var t=e.id,a=e.doubtType;return Object(i["b"])({url:"/api/withdraw?id=".concat(t,"&doubtType=").concat(a),method:"get"})}function X(e){return Object(i["b"])({url:"/api/white/submits",method:"post",data:e})}function Z(e){var t=e.recordId;return Object(i["b"])({url:"/api/white/white/his?recordId=".concat(t),method:"get"})}function ee(e){return Object(i["b"])({url:"/api/white/infos",method:"post",data:e})}function te(e){return Object(i["b"])({url:"/api/white/approval",method:"post",data:e})}function ae(e){return Object(i["b"])({url:"/api/record/change/upload",method:"post",data:e})}function ne(e){return Object(i["b"])({url:"/api/ocr/tencent",method:"post",data:e})}function re(e){var t=e.key;return Object(i["b"])({url:"/api/system/dict/data/type/".concat(t),method:"get"})}function ie(e){return Object(i["b"])({url:"/api/approval/bz/push",method:"post",data:e})}function oe(e){return Object(i["b"])({url:"/api/approval/ys/push",method:"post",data:e})}function se(e){var t=e.recordId;return Object(i["b"])({url:"/api/approval/bz/look?recordId=".concat(t),method:"post"})}function ce(e){var t=e.recordId;return Object(i["b"])({url:"/api/approval/ys/look?recordId=".concat(t),method:"post"})}function de(e){var t=e.fileUrl;return Object(i["b"])({url:"/api/open/getPreviewUrl?fileUrl=".concat(t),method:"get"})}function le(e){var t=e.fileUrl;return Object(i["b"])({url:"/api/file/model/ocr/image?url=".concat(t),method:"get"})}function ue(e){return Object(i["b"])({url:"/api/file/model/identity",method:"post",data:e})}},"42d3":function(e,t,a){"use strict";a.r(t);a("99af");var n=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{height:"calc(100vh - 360px)"},attrs:{border:!1}},[t("div",{staticClass:"table-page-search-wrapper"},[t("a-form",{attrs:{layout:"inline"}},[t("a-row",{attrs:{type:"flex",gutter:24}},[t("a-col",{attrs:{md:3,sm:24}},[t("a-form-item",{attrs:{label:"户号"}},[t("a-input",{attrs:{placeholder:"户号/用户名"},model:{value:e.queryParams.accNo,callback:function(t){e.$set(e.queryParams,"accNo",t)},expression:"queryParams.accNo"}})],1)],1),t("a-col",{attrs:{md:4,sm:24}},[t("a-form-item",{attrs:{label:"选择区域"}},[t("a-select",{attrs:{allowClear:"",placeholder:"请选择"},model:{value:e.queryParams.companyName,callback:function(t){e.$set(e.queryParams,"companyName",t)},expression:"queryParams.companyName"}},[t("a-select-option",{attrs:{value:""}},[e._v("全部")]),e._l(e.districtCompany,(function(a,n){return t("a-select-option",{key:n,attrs:{value:a}},[e._v(e._s(a))])}))],2)],1)],1),t("a-col",{attrs:{md:3,sm:24}},[t("a-form-item",{attrs:{label:"预警等级"}},[t("a-select",{attrs:{allowClear:"",placeholder:"请选择"},model:{value:e.queryParams.grade,callback:function(t){e.$set(e.queryParams,"grade",t)},expression:"queryParams.grade"}},[t("a-select-option",{attrs:{value:""}},[e._v("全部")]),t("a-select-option",{attrs:{value:1}},[e._v("蓝色")]),t("a-select-option",{attrs:{value:2}},[e._v("黄色")]),t("a-select-option",{attrs:{value:3}},[e._v("红色")])],1)],1)],1),t("a-col",{attrs:{md:7,sm:24}},[t("a-form-item",{staticClass:"change-year",attrs:{label:"工单日期"}},[t("a-radio-group",{attrs:{value:e.yearState,"button-style":"solid"},on:{change:e.handleYearChange}},[t("a-radio-button",{attrs:{value:"YYYY-MM-DD"}},[e._v(" 年/月/日 ")]),t("a-radio-button",{attrs:{value:"YYYY-MM"}},[e._v(" 年/月 ")])],1),["YYYY-MM-DD"==e.yearState?t("a-date-picker",{attrs:{placeholder:"开始日期",format:"YYYY-MM-DD"},on:{change:function(t){return e.changeStartTime(t,"createTime")}},model:{value:e.queryParams.createTime,callback:function(t){e.$set(e.queryParams,"createTime",t)},expression:"queryParams.createTime"}}):e._e(),"YYYY-MM"==e.yearState?t("a-month-picker",{attrs:{placeholder:"开始日期",format:"YYYY-MM"},on:{change:function(t){return e.changeStartTime(t,"createTime")}},model:{value:e.queryParams.createTime,callback:function(t){e.$set(e.queryParams,"createTime",t)},expression:"queryParams.createTime"}}):e._e(),"YYYY-MM-DD"==e.yearState?t("a-date-picker",{attrs:{placeholder:"结束日期",format:"YYYY-MM-DD"},on:{change:function(t){return e.changeStartTime(t,"backupTime")}},model:{value:e.queryParams.backupTime,callback:function(t){e.$set(e.queryParams,"backupTime",t)},expression:"queryParams.backupTime"}}):e._e(),"YYYY-MM"==e.yearState?t("a-month-picker",{attrs:{placeholder:"结束日期",format:"YYYY-MM"},on:{change:function(t){return e.changeStartTime(t,"backupTime")}},model:{value:e.queryParams.backupTime,callback:function(t){e.$set(e.queryParams,"backupTime",t)},expression:"queryParams.backupTime"}}):e._e()]],2)],1),t("a-col",{attrs:{md:4,sm:24}},[t("a-form-item",{attrs:{label:"免预警时段"}},[t("a-select",{attrs:{allowClear:"",placeholder:"请选择"},model:{value:e.queryParams.exemptWarnPeriod,callback:function(t){e.$set(e.queryParams,"exemptWarnPeriod",t)},expression:"queryParams.exemptWarnPeriod"}},[t("a-select-option",{attrs:{value:""}},[e._v("全部")]),t("a-select-option",{attrs:{value:"3"}},[e._v("3个月")]),t("a-select-option",{attrs:{value:"6"}},[e._v("6个月")]),t("a-select-option",{attrs:{value:"12"}},[e._v("12个月")])],1)],1)],1),t("a-col",[t("span",{staticClass:"table-page-search-submitButtons"},[t("a-button",{staticStyle:{"margin-left":"8px"},attrs:{type:"primary"},on:{click:e.handleSubmit}},[e._v("查询")]),t("a-button",{staticStyle:{"margin-left":"8px"},on:{click:e.handleReset}},[e._v("重置")])],1)])],1)],1)],1),t("a-table",{attrs:{columns:e.columns,"row-key":"id","data-source":e.tableData,loading:e.tableLoading,pagination:!1,scroll:{x:"max-content"}},scopedSlots:e._u([{key:"id",fn:function(a,n,r){return[t("span",[e._v(e._s(parseInt(r)+1))])]}},{key:"nowGrade",fn:function(a){return[a?[3==a?t("a-tag",{attrs:{color:"red"}},[e._v("红色")]):1==a?t("a-tag",{attrs:{color:"blue"}},[e._v("蓝色")]):t("a-tag",{attrs:{color:"orange"}},[e._v("黄色")])]:t("span",[e._v("--")])]}},{key:"warnModelTy",fn:function(a){return[t("span",[e._v(e._s("Ys"==a?"营收":"报装"))])]}},{key:"actualSituation",fn:function(a){return[t("a-popover",{attrs:{placement:"bottomLeft"},scopedSlots:e._u([{key:"content",fn:function(){return[t("p",{staticClass:"ant-popover-p"},[e._v(e._s(a))])]},proxy:!0},{key:"title",fn:function(){return[t("span",[e._v("实际情况")])]},proxy:!0}],null,!0)},[t("span",{staticStyle:{cursor:"pointer"}},[e._v(e._s(a&&a.length>22?a.substring(0,22)+"...":a))])])]}},{key:"operation",fn:function(a,n){return[t("a",{staticStyle:{color:"#1890ff"},on:{click:function(t){return e.handleShowModel("detail_bmd",!0,n)}}},[e._v("查看详情")]),-1!=e.rolesE.indexOf(e.roleKey)?[t("a-divider",{attrs:{type:"vertical"}}),t("a",{staticStyle:{color:"#ff4949"},on:{click:function(t){return e.handleDelBmd(n.id)}}},[e._v("移除")])]:e._e()]}}])}),t("div",{staticStyle:{"text-align":"right","margin-top":"24px"}},[t("a-pagination",{attrs:{total:e.total,"show-size-changer":"","show-quick-jumper":"","show-total":function(t){return"共".concat(t,"条记录  第 ").concat(e.pageNum,"页")}},on:{change:e.handleCurrentChange,showSizeChange:e.onPageShowSizeChange},model:{value:e.pageNum,callback:function(t){e.pageNum=t},expression:"pageNum"}})],1),t("a-modal",{attrs:{title:e.modelTitle,width:"detail_bmd"==e.modelType?"1200px":"800px",destroyOnClose:!0,maskClosable:!1,visible:e.modelVisible,"confirm-loading":e.modelConfirmLoading},on:{ok:e.handleModelOk,cancel:function(t){e.modelVisible=!1}}},["proces"==e.modelType?t("componentProces",{ref:"addOrEditForm",attrs:{modelData:e.modelData}}):e._e(),"detail_bmd"==e.modelType?t("componentDetailBmd",{attrs:{modelData:e.modelData}}):e._e(),t("div",{attrs:{slot:"footer"},slot:"footer"},[t("a-button",{on:{click:function(t){e.modelVisible=!1}}},[e._v(e._s("audit"==e.modelType?"取消":"关闭"))])],1)],1)],1)},r=[],i=a("5530"),o=(a("d81d"),a("d3b7"),a("ac1f"),a("25f0"),a("6062"),a("3ca3"),a("5319"),a("ddb0"),a("8ded"),a("2f62")),s=a("b018"),c=a("b1e6"),d=a("f481"),l=a("3e83"),u=a("c1df"),p=a.n(u),m=[{title:"序号",dataIndex:"id",align:"center",width:70,scopedSlots:{customRender:"id"}},{title:"户号",dataIndex:"accNo",align:"center",width:100,scopedSlots:{customRender:"accNo"}},{title:"用户名",dataIndex:"name",align:"center",width:180,scopedSlots:{customRender:"name"}},{title:"水司名称",dataIndex:"companyName",key:"district",width:170,align:"center"},{title:"预警等级",dataIndex:"grade",align:"center",width:160,scopedSlots:{customRender:"nowGrade"}},{title:"模型名称",dataIndex:"warnModel.name",align:"center",width:200,scopedSlots:{customRender:"warnModel.name"}},{title:"关注领域",dataIndex:"warnModel.item",align:"center",scopedSlots:{customRender:"warnModel.name"}},{title:"预警类型",dataIndex:"warnModelTy",align:"center",scopedSlots:{customRender:"warnModelTy"}},{title:"免预警时段",dataIndex:"exemptWarnPeriod",align:"center"},{title:"免预警开始时间",dataIndex:"startDate",align:"center"},{title:"免预警结束时间",dataIndex:"endTime",align:"center"},{title:"预警时间",dataIndex:"warning",align:"center"},{title:"实际情况",dataIndex:"actualSituation",align:"center",width:160,scopedSlots:{customRender:"actualSituation"}},{title:"操作",dataIndex:"operation",align:"center",fixed:"right",scopedSlots:{customRender:"operation"},width:160}],f={name:"my_ys",props:["todayType","pageName","isOverTime","assignStatus"],mixins:[s["a"]],components:{componentProces:c["default"],componentDetailBmd:d["default"]},data:function(){return{columns:m,showTable:!0,queryUrl:"",modelType:"detail",modelTitle:"查看信息",modelData:{},modelVisible:!1,modelConfirmLoading:!1,queryParams:{accNo:"",grade:"",warnModelId:null,createTime:null,backupTime:null,companyName:"",exemptWarnPeriod:""},otherParams:{method:"get"},yearShowOne:!1,selectedRowId:0,detailsShow:!0,fullScreen:!1,userInfo:{},rolesA:["leader","supervise"],rolesB:["supervises"],rolesC:["operate"],rolesC_sub:["operates"],rolesD_Parent:["branch:super"],rolesD:["branch:audi"],rolesE:["branch:oper"],roleKey:"",userName:"",auditStatus:null,isGrade:null,modelList:[],statusList:[],visibleSubmit:!1,submitForm:{recordId:null,remark:"",status:11},selectedRowKeys:[],selectedRow:[],mergeObj:null,hasSelected:!1,showFormSub:!1,yearState:"YYYY-MM-DD"}},mounted:function(){this.userName=this.$store.state.user.info.userName,this.roleKey=this.$store.state.user.roles[this.$store.state.user.roles.length-1].roleKey,-1!=this.rolesE.indexOf(this.roleKey)?this.queryParams.type=1:-1!=this.rolesD.indexOf(this.roleKey)||-1!=this.rolesD_Parent.indexOf(this.roleKey)?this.queryParams.type=2:-1!=this.rolesB.indexOf(this.roleKey)?this.queryParams.type=4:-1!=this.rolesA.indexOf(this.roleKey)||-1!=this.rolesC.indexOf(this.roleKey)?this.queryParams.type="":-1!=this.rolesC_sub.indexOf(this.roleKey)&&(this.queryParams.type=3),this.todayType&&(this.queryParams.todayType=this.todayType),this.isOverTime&&(this.queryParams.isOverTime=this.isOverTime),this.queryUrl="/api/white/user/page",this.loadData(),this.getStatue(this.queryParams.type)},computed:Object(i["a"])({},Object(o["c"])(["districtDit","districtCompany"])),created:function(){this.districtCompany.length||this.getRegionCompanyList({dataKey:"districtCompany"}),this.getModel()},methods:Object(i["a"])(Object(i["a"])({},Object(o["b"])(["getDictionaryTypeList","getRegionCompanyList"])),{},{handleDelBmd:function(e){var t=this;this.$confirm({title:"确认提示",content:"您确定要移除当前所选白名单吗？",okType:"danger",onOk:function(){return new Promise((function(){Object(l["R"])({id:e}).then((function(e){200===e.code&&(t.$notification.success({message:"成功",description:"移除成功"}),t.loadData())})).cache((function(e){t.$notification.error({message:"失败",description:e.msg})}))})).catch((function(){}))}})},handleYearChange:function(e){this.yearState=e.target.value,this.queryParams.createTime&&(this.queryParams.createTime=p()(this.queryParams.createTime.toString()).format(e.target.value)),this.queryParams.backupTime&&(this.queryParams.backupTime=p()(this.queryParams.backupTime.toString()).format(e.target.value))},changeStartTime:function(e,t){e&&e._d?this.queryParams[t]=p()(e._d.toString()).format(this.yearState):this.queryParams[t]=null},handleExport:function(){var e=this,t="/api/doubt/ys/selectListExcel"+this.setUrlQuery({query:this.queryParams});this.$confirm({title:"是否确认导出?",content:"此操作将导出当前所有".concat(e.queryParams.todayType?"营收日更新数据":"营收历史数据","！"),onOk:function(){e.download(t.replace(/null/g,""),{},"".concat(e.queryParams.todayType?"营收日更新数据":"营收历史数据","_").concat((new Date).getTime(),".xlsx"),"get")},onCancel:function(){}})},handleCurrentChange:function(e){this.selectedRowKeys=[],this.selectedRow=[],this.loadData()},downLoad:function(e){this.$refs[e].downLoad()},selectTalbe:function(){var e=this;this.$confirm({title:"确认提示",content:"是否合并处理！",okText:"合并统一处理",okType:"primary",cancelText:"批量分开处理",onOk:function(){e.mergeObj=1,e.handleShowModel("form",!0,{})},onCancel:function(){e.mergeObj=2,e.handleShowModel("form",!0,{})}})},onSelectChange:function(e,t){if(e.length>0){var a=t.map((function(e){return e.nowGrade}));this.isAllElementssame(a)?(this.selectedRowKeys=e,this.selectedRow=t.map((function(e){return{recordId:e.id,status:e.nowGrade}})),this.hasSelected=!0):this.$notification.warning({message:"提示",description:"批处理只能选择同一种预警！"})}else this.selectedRowKeys=e,this.selectedRow=[],this.hasSelected=!1},isAllElementssame:function(e){return 1===new Set(e).size},OkSubmit:function(){var e=this;this.submitForm.remark?Object(l["eb"])(this.submitForm).then((function(t){200==t.code&&e.loadData()})):this.$notification.warning({message:"提示",description:"请填写理由"})},sumJ:function(e){this.visibleSubmit=!0,this.submitForm.recordId=e},close:function(){var e=this;this.detailsShow=!1,this.detailsShow=!1,this.showTable=!1,this.fullScreen=!1,setTimeout((function(){e.showTable=!0}),5)},goHis:function(e){this.$router.push({path:e})},getStatue:function(e){var t=this;Object(l["K"])({type:e||""}).then((function(e){200===e.code&&(t.statusList=e.data)}))},getModel:function(){var e=this;Object(l["I"])().then((function(t){e.modelList=t.data.YS}))},joinVital:function(e){var t=this;this.$confirm({title:"确认提示",content:"您确定要将当前疑点订单设为督办吗？",okType:"danger",onOk:function(){return new Promise((function(){Object(l["cb"])({recordId:e.id,isSupervision:1}).then((function(e){t.$notification.success({message:"成功",description:"操作成功"}),t.loadData()})).cache((function(e){t.$notification.error({message:"失败",description:e.msg})}))})).catch((function(){}))}})},chengeGrade:function(e){this.isGrade=e},changeAuditStatue:function(e){this.auditStatus=e},handleClickRow:function(e,t){var a=this;return{on:{click:function(){a.modelData=Object(i["a"])(Object(i["a"])({},e),{},{pageType:1}),a.selectedRowId=e.id,a.detailsShow=!0}}}},rowClassName:function(e,t){return e.id===this.selectedRowId?"row-active":""},moduleHref:function(e){this.$router.push({path:e})},openChangeOne:function(e){e&&(this.yearShowOne=!0)},panelChangeOne:function(e){this.queryParams.year=p()(e._d.toString()).format("YYYY"),this.yearShowOne=!1},handleReset:function(){this.queryParams.accNo="",this.queryParams.grade="",this.queryParams.isEnd="",this.queryParams.warnModelId=null,this.queryParams.createTime=null,this.queryParams.backupTime=null,this.queryParams.companyName="",this.queryParams.exemptWarnPeriod="",this.loadData()},handleModelOk:function(){var e=this;this.modelConfirmLoading=!0,this.$refs.addOrEditForm.onSubmit().then((function(t){e.loadData(),e.modelVisible=!1})).catch((function(e){})).finally((function(){e.modelConfirmLoading=!1}))},handleSubmit:function(){this.pageNum=1,this.loadData()},handleShowModel:function(e,t,a){var n={modelType:e,modelVisible:!0,modelTitle:"查看详情",modelData:{},objectId:null};"detail"==e?(n.modelData.pageType=1,n.modelData.id=a.id):"audit"==e?(n.modelTitle="审核工单",n.modelData=Object.assign({},a,{pageType:1})):"form"==e?(n.modelTitle="处理疑点清单",n.modelData=Object.assign({},a,{pageType:1})):"detail_bmd"==e?(n.modelTitle="查看白名单用户详情",n.modelData=Object.assign({},a)):(n.modelData=Object.assign({},a,{pageType:1,id:a.recordId}),n.modelTitle=t?"查看进度":"提交处理"),Object.assign(this,n)}})},h=f,b=(a("9f48"),a("2877")),v=Object(b["a"])(h,n,r,!1,null,"bbc79c7c",null);t["default"]=v.exports},"5c63":function(e,t,a){e.exports=a.p+"img/txt.f739312b.png"},6630:function(e,t,a){},"9f48":function(e,t,a){"use strict";a("6630")},af4b:function(e,t,a){e.exports=a.p+"img/doc.1c249456.png"},b018:function(e,t,a){"use strict";var n=a("5530"),r=(a("99af"),a("a15b"),a("d3b7"),a("ac1f"),a("5319"),a("c1df")),i=a.n(r),o={data:function(){return{advanced:!1,exportLoading:!1,selectedRowKeys:[],pageNum:1,pageSize:10,total:0,tableData:[],tableLoading:!1,queryParams:{},otherParams:{}}},mounted:function(){this.isCancelHttp||this.loadData()},methods:{handleSubmit:function(e){e&&e.preventDefault();var t=this.queryParams,a={};for(var n in t)(t[n]||0===t[n])&&("rangeTime"===n?(a.beginTime=i()(t[n][0]).format("YYYY-MM-DD"),a.endTime=i()(t[n][1]).format("YYYY-MM-DD")):"f3"===n?a.startTime=i()(t[n]).format("YYYY-MM-DD"):a[n]=t[n]);this.queryParams=a,1!==this.pageNum&&(this.pageNum=1),this.loadData()},handleReset:function(){"{}"!==JSON.stringify(this.queryParams)&&(this.queryParams={},this.handleSubmit())},toggleAdvanced:function(){this.advanced=!this.advanced},setUrlQuery:function(e){var t=e.query,a="";if(t){var n=[];for(var r in t)t.hasOwnProperty(r)&&n.push("".concat(r,"=").concat(t[r]));a=-1!==a.indexOf("?")?"".concat(a,"&").concat(n.join("&")):"".concat(a,"?").concat(n.join("&"))}return a=a.replace(/null/g,""),a=a.replace(/undefined/g,""),a},loadData:function(){var e=this;if(this.queryUrl||this.otherParams.queryUrl){var t=Object.assign({pageNum:this.pageNum,pageSize:this.otherParams.pageSize?this.otherParams.pageSize:this.pageSize},this.queryParams,this.otherParams);this.tableLoading=!0;var a=this.otherParams.method||"POST",r="";"get"==a&&(r=this.setUrlQuery({query:Object(n["a"])(Object(n["a"])({},this.queryParams),{},{pageNum:this.pageNum,pageSize:this.queryParams.pageSize?this.queryParams.pageSize:this.pageSize})})),this.$http({url:this.otherParams.queryUrl||this.queryUrl+r,method:a,data:"POST"==a?t:{},params:"GET"==a?t:{}}).then((function(t){if(Array.isArray(t.data)){var a=t.data;e.tableData=a}else if(t.data){var n=t.data,r=n.rows,i=n.total,o=n.records,s=n.items;e.tableData=r||o||s||[],e.total=i||0}else{var c=t.rows,d=t.total,l=t.records,u=t.items;e.tableData=c||l||u||[],e.total=d||0}e.tableData.length>0&&(e.selectedRowId=e.tableData[0].id)})).catch((function(t){e.$notification.error({message:"失败",description:t.msg})})).finally((function(){e.tableLoading=!1}))}},handleCurrentChange:function(e){this.loadData()},onPageShowSizeChange:function(e,t){Object.assign(this,{pageNum:e,pageSize:t}),this.loadData()},onSelectChange:function(e){this.selectedRowKeys=e},pcsChangeHandle:function(e,t){var a={},n=Object.assign({},this.queryParams);t||(delete n.provinceId,delete n.provinceName,delete n.cityId,delete n.cityName,delete n.strictId,delete n.strictName),t&&1===t.length&&(a.provinceId=t[0].code,a.provinceName=t[0].label,delete n.cityId,delete n.cityName,delete n.strictId,delete n.strictName),t&&2===t.length&&(a.cityId=t[1].code,a.cityName=t[1].label,delete n.strictId,delete n.strictName),t&&3===t.length&&(a.strictId=t[2].code,a.strictName=t[2].label),this.queryParams=Object.assign({},n,a)},rangDateChangeHandle:function(e,t){var a={},n=Object.assign({},this.queryParams);t&&t[0]&&(a.beginTime=t[0]),t&&t[1]&&(a.endTime=t[1]),"{}"===JSON.stringify(a)&&(delete n.beginTime,delete n.endTime),this.queryParams=Object.assign({},n,a)},handleDateQuickChange:function(e){e.startDate?(this.$set(this.queryParams,"rangDate",[i()(e.startDate),i()(e.endDate)]),this.queryParams.beginTime=e.startDate,this.queryParams.endTime=e.endDate):(delete this.queryParams.beginTime,delete this.queryParams.endTime,this.$set(this.queryParams,"rangDate",void 0))}}};t["a"]=o},b1e6:function(e,t,a){"use strict";a.r(t);a("fb6a");var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ant-card"},[t("a-spin",{attrs:{spinning:e.spinning}},[e.list.length>0?t("div",{staticClass:"info"},[t("h2",[e._v("白名单审核进度跟踪")]),t("div",{staticClass:"progress"},e._l(e.list,(function(n,r){return t("div",{key:r,staticClass:"item",class:n.isEnd?"is-end":""},[t("h3",[e._v(e._s(n.statusName)+" "),t("span",[e._v(e._s(n.sendTime))])]),t("h4",[e._v("水司名称："+e._s(n.senderDeptName))]),t("h4",[e._v("操作人："+e._s(n.senderRoleName))]),t("h4",[e._v("申请理由："+e._s(n.applyReason?n.applyReason:"暂无"))]),t("h4",[e._v("领导意见："+e._s(n.actualSituation?n.actualSituation:"暂无"))]),t("h4",[e._v("审核人意见："+e._s(n.auditOpinion?n.auditOpinion:"暂无"))]),n.files&&n.files.length>0?[t("h4",[e._v("图片说明：")]),t("div",{staticClass:"img-group"},[e._l(n.files,(function(n,r){return["img"==e.isFileType(n.fileUrl)?t("div",{key:r},[t("viewer",{ref:"viewer",refInFor:!0,staticClass:"viewer",attrs:{images:n.files},on:{inited:function(t){return e.$viewer=t}}},[t("img",{attrs:{src:n.fileUrl}})])],1):e._e(),"pdf"==e.isFileType(n.fileUrl)?t("div",{key:r,on:{click:function(t){return e.viewerFile(n.fileUrl)}}},[t("img",{attrs:{src:a("b9de")}}),t("p",[e._v(e._s(n.fileUrl.slice(n.fileUrl.lastIndexOf("/")+1)))])]):e._e(),"xls"==e.isFileType(n.fileUrl)?t("div",{key:r,on:{click:function(t){return e.viewerFile(n.fileUrl)}}},[t("img",{attrs:{src:a("ffdb")}}),t("p",[e._v(e._s(n.fileUrl.slice(n.fileUrl.lastIndexOf("/")+1)))])]):e._e(),"doc"==e.isFileType(n.fileUrl)?t("div",{key:r,on:{click:function(t){return e.viewerFile(n.fileUrl)}}},[t("img",{attrs:{src:a("af4b")}}),t("p",[e._v(e._s(n.fileUrl.slice(n.fileUrl.lastIndexOf("/")+1)))])]):e._e(),"txt"==e.isFileType(n.fileUrl)?t("div",{key:r,on:{click:function(t){return e.viewerFile(n.fileUrl)}}},[t("img",{attrs:{src:a("5c63")}}),t("p",[e._v(e._s(n.fileUrl.slice(n.fileUrl.lastIndexOf("/")+1)))])]):e._e()]}))],2)]:e._e()],2)})),0)]):t("div",[t("p",{staticStyle:{padding:"10px 22px"}},[e._v("暂无处理进度！")])])])],1)},r=[],i=a("3e83"),o={props:["modelData"],data:function(){return{list:[],spinning:!0}},computed:{},watch:{},created:function(){(this.modelData.id||this.modelData.recordId)&&this.getDetil()},methods:{viewerFile:function(e){window.open(e,"_blank")},getDetil:function(e){var t=this;Object(i["p"])({recordId:this.modelData.id?this.modelData.id:this.modelData.recordId}).then((function(e){200===e.code&&(t.spinning=!1,t.list=e.data)}))},changeAudit:function(e){this.$emit("changeAudit",e.target.value)}}},s=o,c=(a("f39b"),a("2877")),d=Object(c["a"])(s,n,r,!1,null,"e0ddefb6",null);t["default"]=d.exports},b9de:function(e,t,a){e.exports=a.p+"img/pdf.bccb93b7.png"},de1d:function(e,t,a){},f39b:function(e,t,a){"use strict";a("de1d")},f481:function(e,t,a){"use strict";a.r(t);a("b0c0");var n=function(){var e=this,t=e._self._c;return e.detailInfo?t("a-card",[t("div",{staticClass:"info"},[t("div",{staticClass:"title"},[3==e.detailInfo.nowGrade?t("span",{staticStyle:{color:"#f5222d"}},[e._v("模型名称："+e._s(e.detailInfo.warnModel.name))]):1==e.detailInfo.nowGrade?t("span",{staticStyle:{color:"#096dd9"}},[e._v("模型名称："+e._s(e.detailInfo.warnModel.name))]):t("span",{staticStyle:{color:"#fa8c16"}},[e._v("模型名称："+e._s(e.detailInfo.warnModel.name))])]),t("div",{staticClass:"row"},[t("div",{staticClass:"item"},[t("p",[t("span",[e._v("预警等级：")]),3==e.detailInfo.nowGrade?t("a-tag",{attrs:{color:"red"}},[e._v("红色")]):1==e.detailInfo.nowGrade?t("a-tag",{attrs:{color:"blue"}},[e._v("蓝色")]):t("a-tag",{attrs:{color:"orange"}},[e._v("黄色")])],1),3==e.detailInfo.nowGrade?t("p",{staticStyle:{color:"#f5222d"}},[t("span",[e._v("触发条件：")]),e._v(e._s(e.detailInfo.warnModel.condi?e.detailInfo.warnModel.condi:"--"))]):1==e.detailInfo.nowGrade?t("p",{staticStyle:{color:"#096dd9"}},[t("span",[e._v("触发条件：")]),e._v(e._s(e.detailInfo.warnModel.condi?e.detailInfo.warnModel.condi:"--"))]):t("p",{staticStyle:{color:"#fa8c16"}},[t("span",[e._v("触发条件：")]),e._v(e._s(e.detailInfo.warnModel.condi?e.detailInfo.warnModel.condi:"--"))]),3==e.detailInfo.nowGrade?t("p",{staticStyle:{color:"#f5222d"}},[t("span",[e._v("预警规则模型描述：")]),e._v(e._s(e.detailInfo.warnModel.descr?e.detailInfo.warnModel.descr:"--"))]):1==e.detailInfo.nowGrade?t("p",{staticStyle:{color:"#096dd9"}},[t("span",[e._v("预警规则模型描述：")]),e._v(e._s(e.detailInfo.warnModel.descr?e.detailInfo.warnModel.descr:"--"))]):t("p",{staticStyle:{color:"#fa8c16"}},[t("span",[e._v("预警规则模型描述：")]),e._v(e._s(e.detailInfo.warnModel.descr?e.detailInfo.warnModel.descr:"--"))]),t("p",[t("span",[e._v("所属领域：")]),e._v(e._s(e.detailInfo.warnModel.domain?e.detailInfo.warnModel.domain:"--"))]),t("p",[t("span",[e._v("问题频次：")]),e._v(e._s(e.detailInfo.warnModel.freq?e.detailInfo.warnModel.freq:"--"))]),t("p",[t("span",[e._v("监督事项：")]),e._v(e._s(e.detailInfo.warnModel.item?e.detailInfo.warnModel.item:"--"))]),t("p",[t("span",[e._v("面向业务：")]),e._v(e._s(e.detailInfo.warnModel.orientBusiness?e.detailInfo.warnModel.orientBusiness:"--"))]),t("p",[t("span",[e._v("面向对象：")]),e._v(e._s(e.detailInfo.warnModel.orientObject?e.detailInfo.warnModel.orientObject:"--"))]),t("p",[t("span",[e._v("所属环节：")]),e._v(e._s(e.detailInfo.warnModel.proced?e.detailInfo.warnModel.proced:"--"))])]),t("div",{staticClass:"item"},[t("p",[t("span",[e._v("户号：")]),t("font",[e._v(e._s(e.detailInfo.accNo?e.detailInfo.accNo:"--"))])],1),t("p",[t("span",[e._v("用户名：")]),t("font",[e._v(e._s(e.detailInfo.name?e.detailInfo.name:"--"))])],1),t("p",[t("span",[e._v("水司名称：")]),t("font",[e._v(e._s(e.detailInfo.companyName?e.detailInfo.companyName:"--"))])],1),t("p",[t("span",[e._v("所属区域：")]),t("font",[e._v(e._s(e.detailInfo.region?e.detailInfo.region:"--"))])],1),t("p",[t("span",[e._v("免预警时段：")]),t("font",[e._v(e._s(e.detailInfo.exemptWarnPeriod?e.detailInfo.exemptWarnPeriod+"个月":"--"))])],1),t("p",[t("span",[e._v("免预警开始时间：")]),t("font",[e._v(e._s(e.detailInfo.startDate?e.detailInfo.startDate:"--"))])],1),t("p",[t("span",[e._v("免预警结束时间：")]),t("font",[e._v(e._s(e.detailInfo.endTime?e.detailInfo.endTime:"--"))])],1),t("p",[t("span",[e._v("预警时间：")]),t("font",[e._v(e._s(e.detailInfo.warning?e.detailInfo.warning:"--"))])],1)]),t("div",{staticClass:"item"},[t("p",[t("span",[e._v("申请人名称：")]),t("font",[e._v(e._s(e.detailInfo.nickName?e.detailInfo.nickName:"--"))])],1),t("p",[t("span",[e._v("申请人账号：")]),t("font",[e._v(e._s(e.detailInfo.nickNumber?e.detailInfo.nickNumber:"--"))])],1),t("p",[t("span",[e._v("申请理由：")]),t("font",[e._v(e._s(e.detailInfo.applyReason?e.detailInfo.applyReason:"--"))])],1),t("p",[t("span",[e._v("领导意见：")]),t("font",[e._v(e._s(e.detailInfo.actualSituation?e.detailInfo.actualSituation:"--"))])],1),t("p",[t("span",[e._v("审核人账号：")]),t("font",[e._v(e._s(e.detailInfo.approvalNumber?e.detailInfo.approvalNumber:"--"))])],1),t("p",[t("span",[e._v("审核人名称：")]),t("font",[e._v(e._s(e.detailInfo.approvalName?e.detailInfo.approvalName:"--"))])],1),t("p",[t("span",[e._v("审核人意见：")]),t("font",[e._v(e._s(e.detailInfo.auditOpinion?e.detailInfo.auditOpinion:"--"))])],1)])])])]):e._e()},r=[],i=(a("3e83"),{props:["modelData"],data:function(){return{detailInfo:this.modelData}},created:function(){},methods:{}}),o=i,s=(a("1d14"),a("2877")),c=Object(s["a"])(o,n,r,!1,null,"7122ce32",null);t["default"]=c.exports},f6080:function(e,t,a){},ffdb:function(e,t,a){e.exports=a.p+"img/xls.2355d70e.png"}}]);