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