(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c08d9114"],{"21d8":function(t,e,r){"use strict";r.r(e);r("99af");var n=function(){var t=this,e=t._self._c;return e("a-card",{attrs:{border:!1}},[e("div",{staticClass:"project-content"},[t.projectList.length>0?e("div",{staticClass:"menu"},[e("h2",[e("a-icon",{attrs:{type:"file-text"}}),t._v("部门列表")],1),t.projectList.length>0?[t.visibleTree?e("a-tree",{attrs:{defaultExpandAll:!0,defaultExpandParent:!0,"tree-data":t.projectList,replaceFields:{children:"children",title:"deptName",key:"deptId",value:"deptId"}},on:{select:t.selectTree},scopedSlots:t._u([{key:"title",fn:function(e){var r=e.deptName;e.deptId;return[[t._v(t._s(r))]]}}],null,!1,2141744056)}):t._e()]:t._e()],2):t._e(),e("div",{staticClass:"right"},[e("a-table",{attrs:{columns:t.columns,"row-key":"deptId","data-source":t.tableData,loading:t.tableLoading,pagination:!1,scroll:{x:"max-content"}},scopedSlots:t._u([{key:"operation",fn:function(r,n){return[e("a-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.handleOrderDispatch(n)}}},[t._v("确认分配")])]}}])}),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)],1)])])},a=[],o=(r("d3b7"),r("b018")),i=r("3e83"),c=[{title:"部门",dataIndex:"dept.deptName",align:"left",ellipsis:!0},{title:"用户昵称",dataIndex:"nickName",align:"center",ellipsis:!0},{title:"用户名称",dataIndex:"userName",align:"center",ellipsis:!0},{title:"操作",dataIndex:"operation",align:"center",fixed:"right",scopedSlots:{customRender:"operation"},width:100}],u={mixins:[o["a"]],props:["modelData"],data:function(){return{columns:c,visibleTree:!0,queryUrl:"/api/system/user/list",queryParams:{},otherParams:{method:"get"},projectList:[],userId:null,searchValue:"",autoExpandParent:!0}},created:function(){this.getDept()},methods:{selectTree:function(t,e){this.queryParams.deptId=t.concat(e.halfCheckedKeys)[0],this.loadData()},getYdDit:function(){Object(i["Y"])().then((function(t){}))},getDept:function(){var t=this;Object(i["A"])({id:1}).then((function(e){200===e.code&&(t.projectList=t.listToTree(e.data,0,"deptId"))}))},handleOrderDispatch:function(t){var e=this,r=this;this.$confirm({title:"确认提示",content:"您确定要将该疑点清单分派给".concat(t.userId?" 【 "+t.nickName+" 】 ":"所选用户","吗"),okType:"danger",onOk:function(){var n={type:r.modelData.type,doubtId:r.modelData.doubtId,processorName:t.nickName,processorAccount:t.userName,operationId:1,operationName:"交办"};return new Promise((function(){Object(i["J"])(n).then((function(t){e.$notification.success({message:"成功",description:"分派成功！"}),e.$emit("closePop"),e.loadData()})).cache((function(t){e.$notification.error({message:"失败",description:t.msg})}))})).catch((function(){}))}})}}},d=u,s=(r("fea8"),r("2877")),l=Object(s["a"])(d,n,a,!1,null,"211e7b5f",null);e["default"]=l.exports},"3e83":function(t,e,r){"use strict";r.d(e,"w",(function(){return c})),r.d(e,"r",(function(){return u})),r.d(e,"z",(function(){return d})),r.d(e,"F",(function(){return s})),r.d(e,"G",(function(){return l})),r.d(e,"ab",(function(){return p})),r.d(e,"i",(function(){return f})),r.d(e,"gb",(function(){return m})),r.d(e,"B",(function(){return b})),r.d(e,"D",(function(){return h})),r.d(e,"E",(function(){return g})),r.d(e,"W",(function(){return v})),r.d(e,"c",(function(){return y})),r.d(e,"e",(function(){return j})),r.d(e,"I",(function(){return O})),r.d(e,"J",(function(){return I})),r.d(e,"K",(function(){return w})),r.d(e,"a",(function(){return N})),r.d(e,"C",(function(){return D})),r.d(e,"A",(function(){return P})),r.d(e,"x",(function(){return z})),r.d(e,"y",(function(){return S})),r.d(e,"u",(function(){return T})),r.d(e,"R",(function(){return q})),r.d(e,"Y",(function(){return k})),r.d(e,"n",(function(){return x})),r.d(e,"fb",(function(){return C})),r.d(e,"m",(function(){return Y})),r.d(e,"eb",(function(){return U})),r.d(e,"U",(function(){return _})),r.d(e,"V",(function(){return L})),r.d(e,"d",(function(){return M})),r.d(e,"f",(function(){return A})),r.d(e,"j",(function(){return $})),r.d(e,"X",(function(){return E})),r.d(e,"bb",(function(){return J})),r.d(e,"o",(function(){return R})),r.d(e,"Z",(function(){return H})),r.d(e,"l",(function(){return K})),r.d(e,"db",(function(){return Q})),r.d(e,"k",(function(){return F})),r.d(e,"cb",(function(){return G})),r.d(e,"M",(function(){return V})),r.d(e,"S",(function(){return B})),r.d(e,"T",(function(){return W})),r.d(e,"b",(function(){return X})),r.d(e,"p",(function(){return Z})),r.d(e,"h",(function(){return tt})),r.d(e,"g",(function(){return et})),r.d(e,"L",(function(){return rt})),r.d(e,"H",(function(){return nt})),r.d(e,"q",(function(){return at})),r.d(e,"O",(function(){return ot})),r.d(e,"Q",(function(){return it})),r.d(e,"N",(function(){return ct})),r.d(e,"P",(function(){return ut})),r.d(e,"v",(function(){return dt})),r.d(e,"t",(function(){return st})),r.d(e,"s",(function(){return lt}));r("99af");var n=r("bc3a"),a=r.n(n),o=r("b775"),i=r("9fb0");function c(t){return a.a.post("/api/water/user/ys/history/importExcel",t,{headers:{token:sessionStorage.getItem(i["a"]),"Content-Type":"multipart/form-data"}})}function u(t){return a.a.post("/api/water/user/bz/history/importExcel",t,{headers:{token:sessionStorage.getItem(i["a"]),"Content-Type":"multipart/form-data"}})}function d(t){var e=t.id;return Object(o["b"])({url:"/api/water/user/bz/now/".concat(e),method:"get"})}function s(t){var e=t.id;return Object(o["b"])({url:"/api/water/user/ys/history/".concat(e),method:"get"})}function l(t){var e=t.id;return Object(o["b"])({url:"/api/water/user/ys/now/".concat(e),method:"get"})}function p(t){var e=t.month,r=t.companyName,n=t.year;return Object(o["b"])({url:"/api/water/user/ys/now/cleaning?month=".concat(e,"&companyName=").concat(r,"&year=").concat(n),method:"get"})}function f(t){var e=t.month,r=t.companyName,n=t.year;return Object(o["b"])({url:"/api/water/user/bz/now/cleaning?month=".concat(e,"&companyName=").concat(r,"&year=").concat(n),method:"get"})}function m(t){return Object(o["b"])({url:"/api/water/bill/cleanse",method:"post",data:t})}function b(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 g(t){var e=t.id;return Object(o["b"])({url:"/api/doubt/ys/water/detail/".concat(e),method:"get"})}function v(t){var e=t.id,r=t.accNo,n=t.warnModelId,a=t.currentTime,i=t.lastTime,c=t.year,u=t.month;return Object(o["b"])({url:"/api/doubt/ys/workNumber?id=".concat(e,"&warnModelId=").concat(n,"&accNo=").concat(r,"&currentTime=").concat(a,"&lastTime=").concat(i,"&year=").concat(c,"&month=").concat(u),method:"get"})}function y(t){return Object(o["b"])({url:"/api/approval/bz/infos",method:"post",data:t})}function j(t){return Object(o["b"])({url:"/api/approval/ys/infos",method:"post",data:t})}function O(){return Object(o["b"])({url:"/api/warn/all",method:"get"})}function I(t){return Object(o["b"])({url:"/api/assign",method:"post",data:t})}function w(t){var e=t.type;return Object(o["b"])({url:"/api/approval/status?type=".concat(e),method:"get"})}function N(t){return Object(o["b"])({url:"/api/water/userinfo/save",method:"post",data:t})}function D(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/bz/his?recordId=".concat(e),method:"get"})}function P(){return Object(o["b"])({url:"/api/system/dept/list",method:"get"})}function z(t){var e=t.projectid,r=t.accNo;return Object(o["b"])({url:"/api/file/bz/list?projectid=".concat(e,"&accNo=").concat(r),method:"get"})}function S(t){var e=t.accNo,r=t.recordId;return Object(o["b"])({url:"/api/file/ys/list?accNo=".concat(e,"&recordId=").concat(r),method:"get"})}function T(t){var e=t.fileName;return Object(o["b"])({url:"/api/file/bz/download2?fileName=".concat(e),method:"get"})}function q(t){var e=t.id;return Object(o["b"])({url:"/api/white/user/remove?id=".concat(e),method:"get"})}function k(){return Object(o["b"])({url:"/api/system/dict/data/type/water_oper",method:"get"})}function x(t){var e=t.recordId,r=t.status;return Object(o["b"])({url:"/api/approval/bz/info?recordId=".concat(e,"&status=").concat(r),method:"get"})}function C(t){var e=t.recordId,r=t.status;return Object(o["b"])({url:"/api/approval/ys/info?recordId=".concat(e,"&status=").concat(r),method:"get"})}function Y(t){return Object(o["b"])({url:"/api/approval/bz/approval",method:"post",data:t})}function U(t){return Object(o["b"])({url:"/api/approval/ys/approval",method:"post",data:t})}function _(t){return Object(o["b"])({url:"/api/approval/bz/submit",method:"post",data:t})}function L(t){return Object(o["b"])({url:"/api/approval/ys/submit",method:"post",data:t})}function M(t){return Object(o["b"])({url:"/api/approval/bz/submits",method:"post",data:t})}function A(t){return Object(o["b"])({url:"/api/approval/ys/submits",method:"post",data:t})}function $(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/bz/staging?recordId=".concat(e),method:"get"})}function E(t){var e=t.id;return Object(o["b"])({url:"/api/doubt/ysAll/detail/".concat(e),method:"get"})}function J(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/ys/staging?recordId=".concat(e),method:"get"})}function R(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/bz/his?recordId=".concat(e),method:"get"})}function H(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/ys/his?recordId=".concat(e),method:"get"})}function K(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 F(t){var e=t.recordId,r=t.isSupervision;return Object(o["b"])({url:"/api/approval/bz/supervision?recordId=".concat(e,"&isSupervision=").concat(r),method:"get"})}function G(t){var e=t.recordId,r=t.isSupervision;return Object(o["b"])({url:"/api/approval/ys/supervision?recordId=".concat(e,"&isSupervision=").concat(r),method:"get"})}function V(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/ys/take?recordId=".concat(e),method:"get"})}function B(t){var e=t.recordId,r=t.doubtType;return Object(o["b"])({url:"/api/resetting?id=".concat(e,"&doubtType=").concat(r),method:"get"})}function W(t){var e=t.id,r=t.doubtType;return Object(o["b"])({url:"/api/withdraw?id=".concat(e,"&doubtType=").concat(r),method:"get"})}function X(t){return Object(o["b"])({url:"/api/white/submits",method:"post",data:t})}function Z(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 rt(t){return Object(o["b"])({url:"/api/record/change/upload",method:"post",data:t})}function nt(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 it(t){return Object(o["b"])({url:"/api/approval/ys/push",method:"post",data:t})}function ct(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/bz/look?recordId=".concat(e),method:"post"})}function ut(t){var e=t.recordId;return Object(o["b"])({url:"/api/approval/ys/look?recordId=".concat(e),method:"post"})}function dt(t){var e=t.fileUrl;return Object(o["b"])({url:"/api/open/getPreviewUrl?fileUrl=".concat(e),method:"get"})}function st(t){var e=t.fileUrl;return Object(o["b"])({url:"/api/file/model/ocr/image?url=".concat(e),method:"get"})}function lt(t){return Object(o["b"])({url:"/api/file/model/identity",method:"post",data:t})}},8600:function(t,e,r){},b018:function(t,e,r){"use strict";var n=r("5530"),a=(r("99af"),r("a15b"),r("d3b7"),r("ac1f"),r("5319"),r("c1df")),o=r.n(a),i={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,r={};for(var n in e)(e[n]||0===e[n])&&("rangeTime"===n?(r.beginTime=o()(e[n][0]).format("YYYY-MM-DD"),r.endTime=o()(e[n][1]).format("YYYY-MM-DD")):"f3"===n?r.startTime=o()(e[n]).format("YYYY-MM-DD"):r[n]=e[n]);this.queryParams=r,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,r="";if(e){var n=[];for(var a in e)e.hasOwnProperty(a)&&n.push("".concat(a,"=").concat(e[a]));r=-1!==r.indexOf("?")?"".concat(r,"&").concat(n.join("&")):"".concat(r,"?").concat(n.join("&"))}return r=r.replace(/null/g,""),r=r.replace(/undefined/g,""),r},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 r=this.otherParams.method||"POST",a="";"get"==r&&(a=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+a,method:r,data:"POST"==r?e:{},params:"GET"==r?e:{}}).then((function(e){if(Array.isArray(e.data)){var r=e.data;t.tableData=r}else if(e.data){var n=e.data,a=n.rows,o=n.total,i=n.records,c=n.items;t.tableData=a||i||c||[],t.total=o||0}else{var u=e.rows,d=e.total,s=e.records,l=e.items;t.tableData=u||s||l||[],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 r={},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&&(r.provinceId=e[0].code,r.provinceName=e[0].label,delete n.cityId,delete n.cityName,delete n.strictId,delete n.strictName),e&&2===e.length&&(r.cityId=e[1].code,r.cityName=e[1].label,delete n.strictId,delete n.strictName),e&&3===e.length&&(r.strictId=e[2].code,r.strictName=e[2].label),this.queryParams=Object.assign({},n,r)},rangDateChangeHandle:function(t,e){var r={},n=Object.assign({},this.queryParams);e&&e[0]&&(r.beginTime=e[0]),e&&e[1]&&(r.endTime=e[1]),"{}"===JSON.stringify(r)&&(delete n.beginTime,delete n.endTime),this.queryParams=Object.assign({},n,r)},handleDateQuickChange:function(t){t.startDate?(this.$set(this.queryParams,"rangDate",[o()(t.startDate),o()(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"]=i},fea8:function(t,e,r){"use strict";r("8600")}}]);