(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-29ef8320"],{"258b":function(t,r,e){},"3e83":function(t,r,e){"use strict";e.d(r,"w",(function(){return u})),e.d(r,"r",(function(){return i})),e.d(r,"z",(function(){return d})),e.d(r,"F",(function(){return l})),e.d(r,"G",(function(){return s})),e.d(r,"ab",(function(){return p})),e.d(r,"i",(function(){return f})),e.d(r,"gb",(function(){return b})),e.d(r,"B",(function(){return m})),e.d(r,"D",(function(){return h})),e.d(r,"E",(function(){return v})),e.d(r,"W",(function(){return g})),e.d(r,"c",(function(){return j})),e.d(r,"e",(function(){return O})),e.d(r,"I",(function(){return y})),e.d(r,"J",(function(){return w})),e.d(r,"K",(function(){return I})),e.d(r,"a",(function(){return _})),e.d(r,"C",(function(){return z})),e.d(r,"A",(function(){return k})),e.d(r,"x",(function(){return N})),e.d(r,"y",(function(){return C})),e.d(r,"u",(function(){return D})),e.d(r,"R",(function(){return T})),e.d(r,"Y",(function(){return M})),e.d(r,"n",(function(){return S})),e.d(r,"fb",(function(){return x})),e.d(r,"m",(function(){return U})),e.d(r,"eb",(function(){return E})),e.d(r,"U",(function(){return F})),e.d(r,"V",(function(){return J})),e.d(r,"d",(function(){return L})),e.d(r,"f",(function(){return P})),e.d(r,"j",(function(){return q})),e.d(r,"X",(function(){return A})),e.d(r,"bb",(function(){return $})),e.d(r,"o",(function(){return B})),e.d(r,"Z",(function(){return G})),e.d(r,"l",(function(){return H})),e.d(r,"db",(function(){return K})),e.d(r,"k",(function(){return Q})),e.d(r,"cb",(function(){return R})),e.d(r,"M",(function(){return V})),e.d(r,"S",(function(){return W})),e.d(r,"T",(function(){return X})),e.d(r,"b",(function(){return Y})),e.d(r,"p",(function(){return Z})),e.d(r,"h",(function(){return tt})),e.d(r,"g",(function(){return rt})),e.d(r,"L",(function(){return et})),e.d(r,"H",(function(){return nt})),e.d(r,"q",(function(){return ot})),e.d(r,"O",(function(){return at})),e.d(r,"Q",(function(){return ct})),e.d(r,"N",(function(){return ut})),e.d(r,"P",(function(){return it})),e.d(r,"v",(function(){return dt})),e.d(r,"t",(function(){return lt})),e.d(r,"s",(function(){return st}));e("99af");var n=e("bc3a"),o=e.n(n),a=e("b775"),c=e("9fb0");function u(t){return o.a.post("/api/water/user/ys/history/importExcel",t,{headers:{token:sessionStorage.getItem(c["a"]),"Content-Type":"multipart/form-data"}})}function i(t){return o.a.post("/api/water/user/bz/history/importExcel",t,{headers:{token:sessionStorage.getItem(c["a"]),"Content-Type":"multipart/form-data"}})}function d(t){var r=t.id;return Object(a["b"])({url:"/api/water/user/bz/now/".concat(r),method:"get"})}function l(t){var r=t.id;return Object(a["b"])({url:"/api/water/user/ys/history/".concat(r),method:"get"})}function s(t){var r=t.id;return Object(a["b"])({url:"/api/water/user/ys/now/".concat(r),method:"get"})}function p(t){var r=t.month,e=t.companyName,n=t.year;return Object(a["b"])({url:"/api/water/user/ys/now/cleaning?month=".concat(r,"&companyName=").concat(e,"&year=").concat(n),method:"get"})}function f(t){var r=t.month,e=t.companyName,n=t.year;return Object(a["b"])({url:"/api/water/user/bz/now/cleaning?month=".concat(r,"&companyName=").concat(e,"&year=").concat(n),method:"get"})}function b(t){return Object(a["b"])({url:"/api/water/bill/cleanse",method:"post",data:t})}function m(t){var r=t.id;return Object(a["b"])({url:"/api/water/user/bz/history/".concat(r),method:"get"})}function h(t){var r=t.id;return Object(a["b"])({url:"/api/doubt/ys/detail/".concat(r),method:"get"})}function v(t){var r=t.id;return Object(a["b"])({url:"/api/doubt/ys/water/detail/".concat(r),method:"get"})}function g(t){var r=t.id,e=t.accNo,n=t.warnModelId,o=t.currentTime,c=t.lastTime,u=t.year,i=t.month;return Object(a["b"])({url:"/api/doubt/ys/workNumber?id=".concat(r,"&warnModelId=").concat(n,"&accNo=").concat(e,"&currentTime=").concat(o,"&lastTime=").concat(c,"&year=").concat(u,"&month=").concat(i),method:"get"})}function j(t){return Object(a["b"])({url:"/api/approval/bz/infos",method:"post",data:t})}function O(t){return Object(a["b"])({url:"/api/approval/ys/infos",method:"post",data:t})}function y(){return Object(a["b"])({url:"/api/warn/all",method:"get"})}function w(t){return Object(a["b"])({url:"/api/assign",method:"post",data:t})}function I(t){var r=t.type;return Object(a["b"])({url:"/api/approval/status?type=".concat(r),method:"get"})}function _(t){return Object(a["b"])({url:"/api/water/userinfo/save",method:"post",data:t})}function z(t){var r=t.recordId;return Object(a["b"])({url:"/api/approval/bz/his?recordId=".concat(r),method:"get"})}function k(){return Object(a["b"])({url:"/api/system/dept/list",method:"get"})}function N(t){var r=t.projectid,e=t.accNo;return Object(a["b"])({url:"/api/file/bz/list?projectid=".concat(r,"&accNo=").concat(e),method:"get"})}function C(t){var r=t.accNo,e=t.recordId;return Object(a["b"])({url:"/api/file/ys/list?accNo=".concat(r,"&recordId=").concat(e),method:"get"})}function D(t){var r=t.fileName;return Object(a["b"])({url:"/api/file/bz/download2?fileName=".concat(r),method:"get"})}function T(t){var r=t.id;return Object(a["b"])({url:"/api/white/user/remove?id=".concat(r),method:"get"})}function M(){return Object(a["b"])({url:"/api/system/dict/data/type/water_oper",method:"get"})}function S(t){var r=t.recordId,e=t.status;return Object(a["b"])({url:"/api/approval/bz/info?recordId=".concat(r,"&status=").concat(e),method:"get"})}function x(t){var r=t.recordId,e=t.status;return Object(a["b"])({url:"/api/approval/ys/info?recordId=".concat(r,"&status=").concat(e),method:"get"})}function U(t){return Object(a["b"])({url:"/api/approval/bz/approval",method:"post",data:t})}function E(t){return Object(a["b"])({url:"/api/approval/ys/approval",method:"post",data:t})}function F(t){return Object(a["b"])({url:"/api/approval/bz/submit",method:"post",data:t})}function J(t){return Object(a["b"])({url:"/api/approval/ys/submit",method:"post",data:t})}function L(t){return Object(a["b"])({url:"/api/approval/bz/submits",method:"post",data:t})}function P(t){return Object(a["b"])({url:"/api/approval/ys/submits",method:"post",data:t})}function q(t){var r=t.recordId;return Object(a["b"])({url:"/api/approval/bz/staging?recordId=".concat(r),method:"get"})}function A(t){var r=t.id;return Object(a["b"])({url:"/api/doubt/ysAll/detail/".concat(r),method:"get"})}function $(t){var r=t.recordId;return Object(a["b"])({url:"/api/approval/ys/staging?recordId=".concat(r),method:"get"})}function B(t){var r=t.recordId;return Object(a["b"])({url:"/api/approval/bz/his?recordId=".concat(r),method:"get"})}function G(t){var r=t.recordId;return Object(a["b"])({url:"/api/approval/ys/his?recordId=".concat(r),method:"get"})}function H(t){return Object(a["b"])({url:"/api/approval/bz/upDown",method:"post",data:t})}function K(t){return Object(a["b"])({url:"/api/approval/ys/upDown",method:"post",data:t})}function Q(t){var r=t.recordId,e=t.isSupervision;return Object(a["b"])({url:"/api/approval/bz/supervision?recordId=".concat(r,"&isSupervision=").concat(e),method:"get"})}function R(t){var r=t.recordId,e=t.isSupervision;return Object(a["b"])({url:"/api/approval/ys/supervision?recordId=".concat(r,"&isSupervision=").concat(e),method:"get"})}function V(t){var r=t.recordId;return Object(a["b"])({url:"/api/approval/ys/take?recordId=".concat(r),method:"get"})}function W(t){var r=t.recordId,e=t.doubtType;return Object(a["b"])({url:"/api/resetting?id=".concat(r,"&doubtType=").concat(e),method:"get"})}function X(t){var r=t.id,e=t.doubtType;return Object(a["b"])({url:"/api/withdraw?id=".concat(r,"&doubtType=").concat(e),method:"get"})}function Y(t){return Object(a["b"])({url:"/api/white/submits",method:"post",data:t})}function Z(t){var r=t.recordId;return Object(a["b"])({url:"/api/white/white/his?recordId=".concat(r),method:"get"})}function tt(t){return Object(a["b"])({url:"/api/white/infos",method:"post",data:t})}function rt(t){return Object(a["b"])({url:"/api/white/approval",method:"post",data:t})}function et(t){return Object(a["b"])({url:"/api/record/change/upload",method:"post",data:t})}function nt(t){return Object(a["b"])({url:"/api/ocr/tencent",method:"post",data:t})}function ot(t){var r=t.key;return Object(a["b"])({url:"/api/system/dict/data/type/".concat(r),method:"get"})}function at(t){return Object(a["b"])({url:"/api/approval/bz/push",method:"post",data:t})}function ct(t){return Object(a["b"])({url:"/api/approval/ys/push",method:"post",data:t})}function ut(t){var r=t.recordId;return Object(a["b"])({url:"/api/approval/bz/look?recordId=".concat(r),method:"post"})}function it(t){var r=t.recordId;return Object(a["b"])({url:"/api/approval/ys/look?recordId=".concat(r),method:"post"})}function dt(t){var r=t.fileUrl;return Object(a["b"])({url:"/api/open/getPreviewUrl?fileUrl=".concat(r),method:"get"})}function lt(t){var r=t.fileUrl;return Object(a["b"])({url:"/api/file/model/ocr/image?url=".concat(r),method:"get"})}function st(t){return Object(a["b"])({url:"/api/file/model/identity",method:"post",data:t})}},"9e22":function(t,r,e){"use strict";e.r(r);e("b0c0");var n=function(){var t=this,r=t._self._c;return r("a-form-model",{ref:"ruleForm",staticClass:"form-add",attrs:{model:t.form,rules:t.rules,labelCol:{span:24},wrapperCol:{span:24}}},[r("div",{staticClass:"info"},[r("div",{staticClass:"item"},[r("h3",[t._v("当前预警等级：")]),r("div",{staticClass:"cur-model"},[r("p",[t._v("预警等级： "),3==t.modelData.warnModel.grade?r("a-tag",{staticStyle:{color:"red !important"},attrs:{color:"red"}},[t._v("红色")]):1==t.modelData.warnModel.grade?r("a-tag",{staticStyle:{color:"blue !important"},attrs:{color:"blue"}},[t._v("蓝色")]):r("a-tag",{staticStyle:{color:"orange !important"},attrs:{color:"orange"}},[t._v("黄色")])],1),r("p",[t._v("模型名称： "),r("span",{style:{color:t.getColor(t.modelData.warnModel.grade)}},[t._v(t._s(t.modelData.warnModel.name))])]),r("p",[t._v("触发条件： "),r("span",{style:{color:t.getColor(t.modelData.warnModel.grade)}},[t._v(t._s(t.modelData.warnModel.condi))])])])]),r("div",{staticClass:"item"},[r("h3",[t._v("升/降级预警等级："),r("span",[t._v("您已选择降级为黄色预警")])]),r("div",{staticClass:"cur-model"},[r("a-form-model-item",{attrs:{prop:"modelId"}},[r("a-select",{attrs:{placeholder:"请选择"},on:{change:t.chengeTypeName},model:{value:t.form.grade,callback:function(r){t.$set(t.form,"grade",r)},expression:"form.grade"}},t._l(t.list,(function(e,n){return r("a-select-option",{key:n,attrs:{value:e.id}},[t._v(t._s(e.name))])})),1)],1)],1)]),r("div",{staticClass:"item"},[r("h3",[t._v("原因说明：")]),r("div",{staticClass:"cur-model"},[r("a-form-model-item",{attrs:{prop:"remark"}},[r("a-textarea",{attrs:{value:t.form.remark,placeholder:"请输入",rows:4}})],1)],1)])])])},o=[],a=(e("5530"),e("d3b7"),e("3e83")),c={props:["modelData"],data:function(){return{detailInfo:[],form:{grade:null,modelId:null,recordId:null,remark:"",status:0},rules:{modelId:[{required:!0,message:"请选择升/降模型",trigger:"change"}]},list:[]}},computed:{},watch:{},created:function(){this.form.grade=this.modelData.warnModel.grade,this.form.recordId=this.modelData.id,this.modelData.id&&this.getModelList()},methods:{getModelList:function(){var t=this;Object(a["n"])({recordId:this.modelData.id,status:""}).then((function(r){200===r.code&&(t.list=r.data)}))},chengeTypeName:function(t){},onSubmit:function(){var t=this;return new Promise((function(r,e){t.$refs.ruleForm.validate((function(t){return t?void 0:(e(),!1)}))}))}}},u=c,i=(e("fe14"),e("2877")),d=Object(i["a"])(u,n,o,!1,null,"22505a76",null);r["default"]=d.exports},fe14:function(t,r,e){"use strict";e("258b")}}]);