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
17 KiB
2 lines
17 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9746ff5e"],{a9ff:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"main-content"},[e._m(0),t("div",{staticClass:"content"},[t("div",{staticClass:"content-btn"},[t("el-button",{staticClass:"init-button",attrs:{icon:"el-icon-plus"},on:{click:function(t){return e.add()}}},[e._v("新增包裹")])],1),t("div",{},[t("VueTable",{ref:"table",attrs:{config:e.config},on:{tableCheck:e.tableCheck}},[t("template",{slot:"tabs"},[t("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:"全部",name:"0"}}),t("el-tab-pane",{attrs:{label:"未领取",name:"1"}}),t("el-tab-pane",{attrs:{label:"已领取",name:"2"}})],1)],1),t("template",{slot:"footer"},[t("div",{staticClass:"table-footer"},[t("button",{on:{click:function(t){return e.detail(e.table_row)}}},[e._v("编辑")]),t("button",{on:{click:function(t){return e.del(e.table_row)}}},[e._v("删除")])])])],2)],1),t("Drawer",{attrs:{drawerTitle:"新增包裹",drawerVrisible:e.add_vrisible},on:{drawerClose:e.addClose}},[t("div",{staticStyle:{padding:"30px"}},[t("FromCard",[t("template",{slot:"title"},[e._v("快递信息")]),[t("VueForm",{ref:"addForm",attrs:{formObj:e.addForm},scopedSlots:e._u([{key:"date",fn:function(){return[t("el-time-picker",{attrs:{"is-range":"","range-separator":"至","value-format":"HH:MM:SS","start-placeholder":"开始时间","end-placeholder":"结束时间",placeholder:"选择时间范围"},on:{change:e.dateTimeChange},model:{value:e.addDate,callback:function(t){e.addDate=t},expression:"addDate"}})]},proxy:!0}])})]],2)],1),t("div",{attrs:{slot:"footer"},slot:"footer"},[t("button",{staticClass:"btn-orange",on:{click:function(t){return e.addSubmit()}}},[t("span",[t("i",{staticClass:"el-icon-circle-check"}),e._v("提交")])]),t("button",{staticClass:"btn-gray",on:{click:e.addClose}},[t("span",[e._v("取消")])])])]),t("Drawer",{attrs:{drawerTitle:"编辑包裹",drawerVrisible:e.detail_vrisible},on:{drawerClose:e.detailClose}},[t("div",{staticStyle:{padding:"30px"}},[t("FromCard",[t("template",{slot:"title"},[e._v("快递信息")]),[t("VueForm",{ref:"detailForm",attrs:{formObj:e.detailForm},scopedSlots:e._u([{key:"date",fn:function(){return[t("el-time-picker",{attrs:{"is-range":"","range-separator":"至","value-format":"HH:MM:SS","start-placeholder":"开始时间","end-placeholder":"结束时间",placeholder:"选择时间范围"},on:{change:e.dateTimeChange},model:{value:e.addDate,callback:function(t){e.addDate=t},expression:"addDate"}})]},proxy:!0}])})]],2)],1),t("div",{attrs:{slot:"footer"},slot:"footer"},[t("button",{staticClass:"btn-orange",on:{click:function(t){return e.detailSubmit()}}},[t("span",[t("i",{staticClass:"el-icon-circle-check"}),e._v("提交")])]),t("button",{staticClass:"btn-gray",on:{click:e.detailClose}},[t("span",[e._v("取消")])])])])],1)])])},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"main-titel"},[t("span",[e._v("包裹代收")])])}],u=r("d63a"),i={data(){return{add_vrisible:!1,detail_vrisible:!1,addDate:null,addForm:{ruleForm:{code:null,addresseeName:null,addresseeTel:null,address:null,placePosition:null},form_item:[{type:"Input",label:"包裹编号",placeholder:"请输入",width:"50%",prop:"code"},{type:"Input",label:"收件人名称",placeholder:"请输入",width:"50%",prop:"addresseeName"},{type:"Input",label:"收件人联系方式",placeholder:"请输入",width:"100%",prop:"addresseeTel"},{type:"Input",label:"收件人地址",placeholder:"请输入",width:"100%",prop:"address"},{type:"Input",label:"放置位置",placeholder:"请输入",width:"100%",prop:"placePosition"}]},detailForm:{ruleForm:{code:null,addresseeName:null,addresseeTel:null,address:null,placePosition:null,id:null},form_item:[{type:"Input",label:"包裹编号",placeholder:"请输入",width:"50%",prop:"code"},{type:"Input",label:"收件人名称",placeholder:"请输入",width:"50%",prop:"addresseeName"},{type:"Input",label:"收件人联系方式",placeholder:"请输入",width:"100%",prop:"addresseeTel"},{type:"Input",label:"收件人地址",placeholder:"请输入",width:"100%",prop:"address"},{type:"Input",label:"放置位置",placeholder:"请输入",width:"100%",prop:"placePosition"}]},table_row:[],imglist:[],activeName:"0",config:{thead:[{label:"序号",type:"index",width:"80"},{label:"包裹单号",prop:"code",width:"auto"},{label:"收件人",prop:"addresseeName",width:"auto"},{label:"联系方式",prop:"addresseeTel",width:"auto"},{label:"收件地址",prop:"address",width:"auto"},{label:"状态",prop:"status",width:"auto",type:"function",callback(e,t){switch(e.status){case 1:return"未领取";case 2:return"已领取"}}},{label:"领取时间",prop:"receiveDate",width:"220"},{label:"送达时间",prop:"createDate",width:"220"}],table_data:[],url:"packageCollectionList",search_item:[{type:"Input",label:"包裹单号",placeholder:"请输入",prop:"code"},{type:"Input",label:"收件人姓名",placeholder:"请输入",prop:"addresseeName"},{type:"Input",label:"收件人方式",placeholder:"请输入",prop:"addresseeTel"},{type:"Input",label:"收件人地址",placeholder:"请输入",prop:"address"},{type:"select",label:"状态",placeholder:"请选择",prop:"status",options:[{value:1,label:"未领取"},{value:2,label:"已领取"}]},{type:"picker",label:"送达时间",placeholder:"请输入",prop:"date",startDate:"createDateStart",endDate:"createDateEnd",width:"280px"}],data:{pageNum:1,size:10}}}},methods:{add(){this.add_vrisible=!0},addClose(){this.$refs.addForm.reset(),this.add_vrisible=!1},addSubmit(){let e={...this.addForm.ruleForm};Object(u["eb"])(e).then(e=>{e.status&&(this.$message({message:e.message,type:"success"}),this.$refs.table.loadData(),this.addClose())})},detail(e){1!=e.length?this.$message({message:"只能编辑一条数据",type:"error"}):(this.detail_vrisible=!0,console.log(e[0].id),this.detailForm.ruleForm.id=e[0].id,Object(u["db"])({id:e[0].id}).then(e=>{console.log(e.data),this.detailForm.ruleForm.code=e.data.code,this.detailForm.ruleForm.addresseeName=e.data.addresseeName,this.detailForm.ruleForm.addresseeTel=e.data.addresseeTel,this.detailForm.ruleForm.address=e.data.address,this.detailForm.ruleForm.placePosition=e.data.placePosition}))},detailClose(){this.$refs.detailForm.reset(),this.detail_vrisible=!1},detailSubmit(){let e={...this.detailForm.ruleForm,id:this.detailForm.ruleForm.id};Object(u["fb"])(e).then(e=>{e.status&&(this.$message({message:e.message,type:"success"}),this.$refs.table.loadData(),this.detailClose())})},dateTimeChange(e){this.addForm.ruleForm.openStartDate=e[0],this.addForm.ruleForm.openEndDate=e[1]},handleClick(e,t){let r=null;r=0!=this.activeName?this.activeName:null;const n={pageNum:1,size:10,status:r};this.$refs.table.requestData(n)},tableCheck(e){this.table_row=e},del(e){if(e.length){let e=[];for(let t=0;t<this.table_row.length;t++)e.push(this.table_row[t].id);this.$confirm("是否确认删除?删除不可恢复","删除",{confirmButtonText:"确定",cancelButtonText:"取消",confirmButtonClass:"confirmButton",cancelButtonClass:"cancelButton"}).then(()=>{this.$refs.table.tableDelete(e)}).catch(e=>{})}else this.$message.error("请选中需要删除的数据")}}},o=i,d=r("2877"),s=Object(d["a"])(o,n,a,!1,null,null,null);t["default"]=s.exports},d63a:function(e,t,r){"use strict";r.d(t,"n",(function(){return a})),r.d(t,"e",(function(){return u})),r.d(t,"qb",(function(){return i})),r.d(t,"rb",(function(){return o})),r.d(t,"q",(function(){return d})),r.d(t,"r",(function(){return s})),r.d(t,"s",(function(){return l})),r.d(t,"h",(function(){return c})),r.d(t,"o",(function(){return m})),r.d(t,"p",(function(){return f})),r.d(t,"l",(function(){return p})),r.d(t,"k",(function(){return h})),r.d(t,"j",(function(){return b})),r.d(t,"m",(function(){return T})),r.d(t,"f",(function(){return g})),r.d(t,"i",(function(){return q})),r.d(t,"g",(function(){return y})),r.d(t,"vb",(function(){return P})),r.d(t,"ub",(function(){return S})),r.d(t,"bb",(function(){return v})),r.d(t,"cb",(function(){return O})),r.d(t,"ab",(function(){return w})),r.d(t,"G",(function(){return C})),r.d(t,"I",(function(){return k})),r.d(t,"F",(function(){return F})),r.d(t,"D",(function(){return E})),r.d(t,"K",(function(){return I})),r.d(t,"N",(function(){return _})),r.d(t,"J",(function(){return G})),r.d(t,"M",(function(){return D})),r.d(t,"H",(function(){return B})),r.d(t,"sb",(function(){return M})),r.d(t,"tb",(function(){return N})),r.d(t,"L",(function(){return x})),r.d(t,"E",(function(){return A})),r.d(t,"W",(function(){return R})),r.d(t,"X",(function(){return $})),r.d(t,"T",(function(){return j})),r.d(t,"Z",(function(){return V})),r.d(t,"Y",(function(){return H})),r.d(t,"V",(function(){return z})),r.d(t,"U",(function(){return J})),r.d(t,"R",(function(){return L})),r.d(t,"P",(function(){return U})),r.d(t,"Q",(function(){return K})),r.d(t,"S",(function(){return Q})),r.d(t,"eb",(function(){return W})),r.d(t,"db",(function(){return X})),r.d(t,"fb",(function(){return Y})),r.d(t,"O",(function(){return Z})),r.d(t,"u",(function(){return ee})),r.d(t,"v",(function(){return te})),r.d(t,"x",(function(){return re})),r.d(t,"t",(function(){return ne})),r.d(t,"w",(function(){return ae})),r.d(t,"z",(function(){return ue})),r.d(t,"A",(function(){return ie})),r.d(t,"C",(function(){return oe})),r.d(t,"y",(function(){return de})),r.d(t,"B",(function(){return se})),r.d(t,"hb",(function(){return le})),r.d(t,"ib",(function(){return ce})),r.d(t,"gb",(function(){return me})),r.d(t,"jb",(function(){return fe})),r.d(t,"ob",(function(){return pe})),r.d(t,"pb",(function(){return he})),r.d(t,"nb",(function(){return be})),r.d(t,"c",(function(){return Te})),r.d(t,"d",(function(){return ge})),r.d(t,"a",(function(){return qe})),r.d(t,"b",(function(){return ye})),r.d(t,"kb",(function(){return Pe})),r.d(t,"mb",(function(){return Se})),r.d(t,"lb",(function(){return ve})),r.d(t,"wb",(function(){return Oe}));var n=r("b775");r("2c37");function a(e){return n["a"].request({method:"POST",url:"/facilitiesManage/insert",data:e})}function u(e){return n["a"].request({method:"POST",url:"facilitiesAppointment/update",data:e})}function i(e){return n["a"].request({method:"POST",url:"sysOperations/insert",data:e})}function o(e){return n["a"].request({method:"POST",url:"sysOperations/update",data:e})}function d(e){return n["a"].request({method:"POST",url:"facilitiesPlan/insert",data:e})}function s(e){return n["a"].request({method:"POST",url:"facilitiesPlan/open",data:e})}function l(e){return n["a"].request({method:"POST",url:"facilitiesPlan/stop",data:e})}function c(e){return n["a"].request({method:"GET",url:"/facilitiesCategory/list",params:e})}function m(e){return n["a"].request({method:"GET",url:"/facilitiesManage/list",params:e})}function f(e){return n["a"].request({method:"POST",url:"/facilitiesManage/update",data:e})}function p(e){return n["a"].request({method:"GET",url:"/facilitiesMaintenanceRecord/list",params:e})}function h(e){return n["a"].request({method:"POST",url:"/facilitiesMaintenanceRecord/insert",data:e})}function b(e){return n["a"].request({method:"POST",url:"/facilitiesMaintenanceRecord/delete",data:e})}function T(e){return n["a"].request({method:"GET",url:"/facilitiesManage/findDetailById",params:e})}function g(e){return n["a"].request({method:"GET",url:"/facilitiesCategory/findDetailById",params:e})}function q(e){return n["a"].request({method:"POST",url:"/facilitiesCategory/update",data:e})}function y(e){return n["a"].request({method:"POST",url:"/facilitiesCategory/insert",data:e})}function P(e){return n["a"].request({method:"POST",url:"/userDecorationNew/examine",data:e})}function S(e){return n["a"].request({method:"POST",url:"/userDecorationNew/assign",data:e})}function v(e){return n["a"].request({method:"POST",url:"/ownersCommittee/insert",data:e})}function O(e){return n["a"].request({method:"POST",url:"/ownersCommittee/update",data:e})}function w(e){return n["a"].request({method:"GET",url:"/ownersCommittee/findById",params:e})}function C(e){return n["a"].request({method:"POST",url:"/inspectionPoint/insert",data:e})}function k(e){return n["a"].request({method:"POST",url:"/inspectionPoint/update",data:e})}function F(e){return n["a"].request({method:"GET",url:"/inspectionPoint/findById",params:e})}function E(e){return n["a"].request({method:"POST",url:"/inspectionPlan/insert",data:e})}function I(e){return n["a"].request({method:"POST",url:"/inspectionRoute/insert",data:e})}function _(e){return n["a"].request({method:"POST",url:"/inspectionRoute/update",data:e})}function G(e){return n["a"].request({method:"GET",url:"/inspectionRoute/findById",params:e})}function D(e){return n["a"].request({method:"GET",url:"/inspectionRoute/list",params:e})}function B(e){return n["a"].request({method:"GET",url:"/inspectionPoint/list",params:e})}function M(e){return n["a"].request({method:"GET",url:"/sysOrganization/findAllDepartment",params:e})}function N(e){return n["a"].request({method:"GET",url:"/sysUser/list",params:e})}function x(e){return n["a"].request({method:"GET",url:"/inspectionRoute/isEnable",params:e})}function A(e){return n["a"].request({method:"GET",url:"/inspectionPlan/isEnable",params:e})}function R(e){return n["a"].request({method:"GET",url:"/material/list",params:e})}function $(e){return n["a"].request({method:"GET",url:"/materialRecord/findById",params:e})}function j(e){return n["a"].request({method:"POST",url:"/material/insert",data:e})}function V(e){return n["a"].request({method:"POST",url:"/material/update",data:e})}function H(e){return n["a"].request({method:"POST",url:"/materialRecord/insert",data:e})}function z(e){return n["a"].request({method:"POST",url:"/materialInventory/insert",data:e})}function J(e){return n["a"].request({method:"GET",url:"/materialInventory/findById",params:e})}function L(e){return n["a"].request({method:"POST",url:"/keyManagement/insert",data:e})}function U(e){return n["a"].request({method:"POST",url:"/keyBorrow/examine",data:e})}function K(e){return n["a"].request({method:"GET",url:"/keyManagement/findById",params:e})}function Q(e){return n["a"].request({method:"POST",url:"/keyManagement/update",data:e})}function W(e){return n["a"].request({method:"POST",url:"/packageCollection/insert",data:e})}function X(e){return n["a"].request({method:"GET",url:"/packageCollection/findById",params:e})}function Y(e){return n["a"].request({method:"POST",url:"/packageCollection/update",data:e})}function Z(e){return n["a"].request({method:"POST",url:"/interview/insert",data:e})}function ee(e){return n["a"].request({method:"POST",url:"/greenArea/insert",data:e})}function te(e){return n["a"].request({method:"GET",url:"/greenArea/list",params:e})}function re(e){return n["a"].request({method:"POST",url:"/greenTask/insert",data:e})}function ne(e){return n["a"].request({method:"GET",url:"/greenArea/findById",params:e})}function ae(e){return n["a"].request({method:"POST",url:"/greenArea/update",data:e})}function ue(e){return n["a"].request({method:"POST",url:"/hygieneArea/insert",data:e})}function ie(e){return n["a"].request({method:"GET",url:"/hygieneArea/list",params:e})}function oe(e){return n["a"].request({method:"POST",url:"/hygieneTask/insert",data:e})}function de(e){return n["a"].request({method:"GET",url:"/hygieneArea/findById",params:e})}function se(e){return n["a"].request({method:"POST",url:"/hygieneArea/update",data:e})}function le(e){return n["a"].request({method:"POST",url:"/regulationManagement/insert",data:e})}function ce(e){return n["a"].request({method:"GET",url:"/regulationManagement/release",params:e})}function me(e){return n["a"].request({method:"GET",url:"/regulationManagement/findById",params:e})}function fe(e){return n["a"].request({method:"POST",url:"/regulationManagement/update",data:e})}function pe(e){return n["a"].request({method:"POST",url:"/serviceBrowsing/insert",data:e})}function he(e){return n["a"].request({method:"POST",url:"/serviceBrowsing/update",data:e})}function be(e){return n["a"].request({method:"GET",url:"/serviceBrowsing/findById",params:e})}function Te(e){return n["a"].request({method:"POST",url:"/communityIntroduction/insert",data:e})}function ge(e){return n["a"].request({method:"POST",url:"/communityIntroduction/update",data:e})}function qe(e){return n["a"].request({method:"GET",url:"/communityIntroduction/enable",params:e})}function ye(e){return n["a"].request({method:"GET",url:"/communityIntroduction/findById",params:e})}function Pe(e){return n["a"].request({method:"POST",url:"/securityManagement/insert",data:e})}function Se(e){return n["a"].request({method:"POST",url:"/securityManagement/update",data:e})}function ve(e){return n["a"].request({method:"GET",url:"/securityManagement/list",params:e})}function Oe(e){return n["a"].request({method:"GET",url:"/userDecorationNew/list",params:e})}}}]);
|
|
//# sourceMappingURL=chunk-9746ff5e.78b2661a.js.map
|