You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
12 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-358bdb7c"],{"48e8":function(t,e,r){"use strict";r.d(e,"O",(function(){return u})),r.d(e,"P",(function(){return a})),r.d(e,"c",(function(){return o})),r.d(e,"e",(function(){return i})),r.d(e,"Q",(function(){return d})),r.d(e,"R",(function(){return s})),r.d(e,"W",(function(){return c})),r.d(e,"Y",(function(){return l})),r.d(e,"X",(function(){return m})),r.d(e,"Z",(function(){return f})),r.d(e,"bb",(function(){return p})),r.d(e,"ab",(function(){return h})),r.d(e,"f",(function(){return b})),r.d(e,"l",(function(){return T})),r.d(e,"m",(function(){return q})),r.d(e,"g",(function(){return w})),r.d(e,"d",(function(){return O})),r.d(e,"b",(function(){return y})),r.d(e,"S",(function(){return v})),r.d(e,"V",(function(){return E})),r.d(e,"U",(function(){return G})),r.d(e,"T",(function(){return k})),r.d(e,"a",(function(){return P})),r.d(e,"G",(function(){return S})),r.d(e,"L",(function(){return g})),r.d(e,"I",(function(){return D})),r.d(e,"H",(function(){return C})),r.d(e,"i",(function(){return N})),r.d(e,"j",(function(){return I})),r.d(e,"M",(function(){return _})),r.d(e,"o",(function(){return B})),r.d(e,"N",(function(){return x})),r.d(e,"J",(function(){return R})),r.d(e,"q",(function(){return A})),r.d(e,"n",(function(){return L})),r.d(e,"p",(function(){return Q})),r.d(e,"K",(function(){return j})),r.d(e,"D",(function(){return z})),r.d(e,"C",(function(){return J})),r.d(e,"F",(function(){return V})),r.d(e,"E",(function(){return $})),r.d(e,"h",(function(){return F})),r.d(e,"u",(function(){return M})),r.d(e,"B",(function(){return U})),r.d(e,"t",(function(){return W})),r.d(e,"y",(function(){return H})),r.d(e,"v",(function(){return K})),r.d(e,"A",(function(){return X})),r.d(e,"w",(function(){return Y})),r.d(e,"x",(function(){return Z})),r.d(e,"z",(function(){return tt})),r.d(e,"gb",(function(){return et})),r.d(e,"ob",(function(){return rt})),r.d(e,"mb",(function(){return nt})),r.d(e,"hb",(function(){return ut})),r.d(e,"jb",(function(){return at})),r.d(e,"db",(function(){return ot})),r.d(e,"ib",(function(){return it})),r.d(e,"cb",(function(){return dt})),r.d(e,"fb",(function(){return st})),r.d(e,"kb",(function(){return ct})),r.d(e,"lb",(function(){return lt})),r.d(e,"nb",(function(){return mt})),r.d(e,"eb",(function(){return ft})),r.d(e,"k",(function(){return pt})),r.d(e,"s",(function(){return ht})),r.d(e,"r",(function(){return bt}));var n=r("b775");r("2c37");function u(t){return n["a"].request({method:"GET",url:"/userArticleOut/countArticleOutNow",params:t})}function a(t){return n["a"].request({method:"GET",url:"/userArticleOut/countPerformed",params:t})}function o(t){return n["a"].request({method:"GET",url:"/complaintPraise/countComplaintNew",params:t})}function i(t){return n["a"].request({method:"GET",url:"/complaintPraise/countPraiseNew",params:t})}function d(t){return n["a"].request({method:"GET",url:"/userDecoration/countDecorationNow",params:t})}function s(t){return n["a"].request({method:"GET",url:"/userDecoration/countPerformed",params:t})}function c(t){return n["a"].request({method:"GET",url:"/vote/countVoteExpectedStart",params:t})}function l(t){return n["a"].request({method:"GET",url:"/vote/findDetailById",params:t})}function m(t){return n["a"].request({method:"GET",url:"/vote/findById",params:t})}function f(t){return n["a"].request({method:"POST",url:"/vote/insert",data:t})}function p(t){return n["a"].request({method:"POST",url:"/vote/update",data:t})}function h(t){return n["a"].request({method:"POST",url:"/vote/release",data:t})}function b(t){return n["a"].request({method:"GET",url:"/advice/findById",params:t})}function T(t){return n["a"].request({method:"GET",url:"/complaintPraise/findById",params:t})}function q(t){return n["a"].request({method:"POST",url:"/complaintPraise/insertDetail",data:t})}function w(t){return n["a"].request({method:"POST",url:"/advice/insertDetail",data:t})}function O(t){return n["a"].request({method:"GET",url:"/advice/countConsultNew",params:t})}function y(t){return n["a"].request({method:"GET",url:"/advice/countAdviceNew",params:t})}function v(t){return n["a"].request({method:"POST",url:"/visitors/cancel",data:t})}function E(t){return n["a"].request({method:"POST",url:"/visitors/update",data:t})}function G(t){return n["a"].request({method:"GET",url:"/visitors/listDetail",params:t})}function k(t){return n["a"].request({method:"GET",url:"/visitors/findById",params:t})}function P(t){return n["a"].request({method:"POST",url:"/doorQRCode/addQrCode",data:t})}function S(t){return n["a"].request({method:"POST",url:"/doorQRCode/removeQrCode",data:t})}function g(t){return n["a"].request({method:"GET",url:"/reportRepair/findRepairDetail",params:t})}function D(t){return n["a"].request({method:"POST",url:"/repairEngineering/insert",data:t})}function C(t){return n["a"].request({method:"GET",url:"/repairEngineering/findById",params:t})}function N(t){return n["a"].request({method:"POST",url:"/article/insert",data:t})}function I(t){return n["a"].request({method:"POST",url:"/article/update",data:t})}function _(t){return n["a"].request({method:"POST",url:"/reportRepair/insert",data:t})}function B(t){return n["a"].request({method:"POST",url:"/dispatch/dispatch",data:t})}function x(t){return n["a"].request({method:"POST",url:"/reportRepair/update",data:t})}function R(t){return n["a"].request({method:"GET",url:"/dispatch/repairWorkOrderDetail",params:t})}function A(t){return n["a"].request({method:"POST",url:"/dispatch/revisit",data:t})}function L(t){return n["a"].request({method:"POST",url:"/dispatch/cancel",data:t})}function Q(t){return n["a"].request({method:"GET",url:"/dispatch/findSysUserLikeActualName",params:t})}function j(t){return n["a"].request({method:"GET",url:"/reportRepair/findById",params:t})}function z(t){return n["a"].request({method:"POST",url:"/questionnaire/insert",data:t})}function J(t){return n["a"].request({method:"GET",url:"/questionnaire/findById",params:t})}function V(t){return n["a"].request({method:"POST",url:"/questionnaire/update",data:t})}function $(t){return n["a"].request({method:"GET",url:"/questionnaire/reportAnalysis",params:t})}function F(t){return n["a"].request({method:"GET",url:"/article/findById",params:t})}function M(t){return n["a"].request({method:"POST",url:"/gambit/insert",data:t})}function U(t){return n["a"].request({method:"POST",url:"/gambit/update",data:t})}function W(t){return n["a"].request({method:"GET",url:"/gambit/findById",params:t})}function H(t){return n["a"].request({method:"GET",url:"/gambitTheme/findCommentByThemeId",params:t})}function K(t){return n["a"].request({method:"GET",url:"/gambitTheme/deleteCommentByCommentId",params:t})}function X(t){return n["a"].request({method:"POST",url:"/gambitTheme/recovery",data:t})}function Y(t){return n["a"].request({method:"GET",url:"/gambitTheme/enableComment",params:t})}function Z(t){return n["a"].request({method:"GET",url:"/gambitTheme/enableTheme",params:t})}function tt(t){return n["a"].request({method:"GET",url:"/gambitTheme/list",params:t})}function et(t){return n["a"].request({method:"GET",url:"/workOrderType/list",params:t})}function rt(t){return n["a"].request({method:"POST",url:"/workOrderType/update",data:t})}function nt(t){return n["a"].request({method:"POST",url:"/workOrderType/insert",data:t})}function ut(t){return n["a"].request({method:"GET",url:"/workOrderType/delete",params:t})}function at(t){return n["a"].request({method:"POST",url:"/workOrderTypeDetail/insert",data:t})}function ot(t){return n["a"].request({method:"POST",url:"/workOrderTimeLimit/insert",data:t})}function it(t){return n["a"].request({method:"POST",url:"/workOrderTypeDetail/delete",data:t})}function dt(t){return n["a"].request({method:"GET",url:"/workOrderTimeLimit/findById",params:t})}function st(t){return n["a"].request({method:"POST",url:"/workOrderTimeLimit/update",data:t})}function ct(t){return n["a"].request({method:"POST",url:"/workOrderTypeDetail/update",data:t})}function lt(t){return n["a"].request({method:"GET",url:"/workOrderTypeDetail/findById",params:t})}function mt(t){return n["a"].request({method:"GET",url:"/workOrderTypeDetail/list",params:t})}function ft(t){return n["a"].request({method:"GET",url:"/workOrderTimeLimit/list",params:t})}function pt(t){return n["a"].request({method:"POST",url:"/borrow/remind",data:t})}function ht(t){return n["a"].request({method:"GET",url:"/gambit/enableGambit",params:t})}function bt(t){return n["a"].request({method:"GET",url:"/gambit/disableGambit",params:t})}},ef25:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"main-content"},[t._m(0),e("div",{staticClass:"content"},[e("div",{},[e("VueTable",{ref:"table",attrs:{config:t.config},on:{tableCheck:t.tableCheck},scopedSlots:t._u([{key:"borrowDate",fn:function(r){return[e("div",[t._v(t._s(Number(r.data.borrowDate/24).toFixed(1)+"天"))])]}},{key:"remake",fn:function(r){return[e("div",[r.data.remake?e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:r.data.remake,placement:"bottom-end"}},[e("el-button",{staticClass:"init-text",attrs:{type:"text"}},[e("span",{staticClass:"el-icon-warning-outline",staticStyle:{"font-size":"24px"}})])],1):e("span",[t._v("-")])],1)]}}])},[e("template",{slot:"tabs"},[e("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-tab-pane",{attrs:{label:"全部",name:"0"}}),e("el-tab-pane",{attrs:{label:"出借中",name:"1"}}),e("el-tab-pane",{attrs:{label:"已还",name:"2"}})],1)],1),e("template",{slot:"footer"},[e("div",{staticClass:"table-footer"},[e("button",{on:{click:function(e){return t.msg(t.table_row)}}},[t._v("提醒")])])])],2)],1)])])},u=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"main-titel"},[e("span",[t._v("物品借还")])])}],a=r("48e8"),o={data(){return{table_row:[],activeName:"0",config:{thead:[{label:"序号",type:"index",width:"80"},{label:"物品名称",prop:"name",width:"120"},{label:"物品编号",prop:"code",width:"auto"},{label:"借用人",prop:"borrowName",width:"auto"},{label:"联系方式",prop:"tel",width:"130"},{label:"出借时间",prop:"beginDate",width:"130"},{label:"归还时间",prop:"endDate",width:"180"},{label:"出借时长",prop:"borrowDate",width:"180",type:"slot",slotName:"borrowDate"},{label:"借取状态",prop:"borrowStatus",width:"auto",type:"function",callback:(t,e)=>{switch(t.borrowStatus){case 1:return"出借中";case 2:return"已还"}}},{label:"物品状态",prop:"status",width:"auto",type:"function",callback:(t,e)=>{switch(t.status){case 1:return"正常";case 2:return"报损"}}},{label:"备注",prop:"remake",width:"auto",type:"slot",slotName:"remake"}],table_data:[],url:"borrowList",search_item:[{type:"Input",label:"物品名称",placeholder:"请输入",prop:"name"},{type:"Input",label:"借用人",placeholder:"请输入",prop:"borrowName"},{type:"Input",label:"联系方式",placeholder:"请输入",prop:"tel"},{type:"startDate",label:"借用时间",placeholder:"请选择开始日期",prop:"beginDate"},{type:"endDate",label:"借用时间",placeholder:"请选择结束时间",prop:"endDate"}],data:{pageNum:1,size:10}}}},methods:{handleClick(t,e){let r=null;r=0!=this.activeName?this.activeName:null;const n={pageNum:1,size:10,borrowStatus:r};this.$refs.table.requestData(n)},tableCheck(t){this.table_row=t},msg(t){1==t.length?Object(a["k"])({borrowId:t[0].id,sysMessage:{title:"物品归还提醒",content:"您有一件物品借取还未归还"}}).then(t=>{t.status&&this.$message.success(t.message)}):this.$message.error("只能对一条记录进行操作")}}},i=o,d=r("2877"),s=Object(d["a"])(i,n,u,!1,null,null,null);e["default"]=s.exports}}]);
//# sourceMappingURL=chunk-358bdb7c.0bc8667f.js.map