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
14 KiB
2 lines
14 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-71b6ac67"],{"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 i})),r.d(e,"e",(function(){return o})),r.d(e,"Q",(function(){return d})),r.d(e,"R",(function(){return l})),r.d(e,"W",(function(){return s})),r.d(e,"Y",(function(){return c})),r.d(e,"X",(function(){return m})),r.d(e,"Z",(function(){return f})),r.d(e,"bb",(function(){return h})),r.d(e,"ab",(function(){return p})),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 O})),r.d(e,"d",(function(){return v})),r.d(e,"b",(function(){return w})),r.d(e,"S",(function(){return y})),r.d(e,"V",(function(){return E})),r.d(e,"U",(function(){return G})),r.d(e,"T",(function(){return S})),r.d(e,"a",(function(){return g})),r.d(e,"G",(function(){return k})),r.d(e,"L",(function(){return P})),r.d(e,"I",(function(){return C})),r.d(e,"H",(function(){return _})),r.d(e,"i",(function(){return D})),r.d(e,"j",(function(){return I})),r.d(e,"M",(function(){return V})),r.d(e,"o",(function(){return B})),r.d(e,"N",(function(){return N})),r.d(e,"J",(function(){return x})),r.d(e,"q",(function(){return F})),r.d(e,"n",(function(){return j})),r.d(e,"p",(function(){return R})),r.d(e,"K",(function(){return A})),r.d(e,"D",(function(){return L})),r.d(e,"C",(function(){return $})),r.d(e,"F",(function(){return Q})),r.d(e,"E",(function(){return z})),r.d(e,"h",(function(){return J})),r.d(e,"u",(function(){return U})),r.d(e,"B",(function(){return W})),r.d(e,"t",(function(){return H})),r.d(e,"y",(function(){return K})),r.d(e,"v",(function(){return M})),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 it})),r.d(e,"ib",(function(){return ot})),r.d(e,"cb",(function(){return dt})),r.d(e,"fb",(function(){return lt})),r.d(e,"kb",(function(){return st})),r.d(e,"lb",(function(){return ct})),r.d(e,"nb",(function(){return mt})),r.d(e,"eb",(function(){return ft})),r.d(e,"k",(function(){return ht})),r.d(e,"s",(function(){return pt})),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 i(t){return n["a"].request({method:"GET",url:"/complaintPraise/countComplaintNew",params:t})}function o(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 l(t){return n["a"].request({method:"GET",url:"/userDecoration/countPerformed",params:t})}function s(t){return n["a"].request({method:"GET",url:"/vote/countVoteExpectedStart",params:t})}function c(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 h(t){return n["a"].request({method:"POST",url:"/vote/update",data:t})}function p(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 O(t){return n["a"].request({method:"POST",url:"/advice/insertDetail",data:t})}function v(t){return n["a"].request({method:"GET",url:"/advice/countConsultNew",params:t})}function w(t){return n["a"].request({method:"GET",url:"/advice/countAdviceNew",params:t})}function y(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 S(t){return n["a"].request({method:"GET",url:"/visitors/findById",params:t})}function g(t){return n["a"].request({method:"POST",url:"/doorQRCode/addQrCode",data:t})}function k(t){return n["a"].request({method:"POST",url:"/doorQRCode/removeQrCode",data:t})}function P(t){return n["a"].request({method:"GET",url:"/reportRepair/findRepairDetail",params:t})}function C(t){return n["a"].request({method:"POST",url:"/repairEngineering/insert",data:t})}function _(t){return n["a"].request({method:"GET",url:"/repairEngineering/findById",params:t})}function D(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 V(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 N(t){return n["a"].request({method:"POST",url:"/reportRepair/update",data:t})}function x(t){return n["a"].request({method:"GET",url:"/dispatch/repairWorkOrderDetail",params:t})}function F(t){return n["a"].request({method:"POST",url:"/dispatch/revisit",data:t})}function j(t){return n["a"].request({method:"POST",url:"/dispatch/cancel",data:t})}function R(t){return n["a"].request({method:"GET",url:"/dispatch/findSysUserLikeActualName",params:t})}function A(t){return n["a"].request({method:"GET",url:"/reportRepair/findById",params:t})}function L(t){return n["a"].request({method:"POST",url:"/questionnaire/insert",data:t})}function $(t){return n["a"].request({method:"GET",url:"/questionnaire/findById",params:t})}function Q(t){return n["a"].request({method:"POST",url:"/questionnaire/update",data:t})}function z(t){return n["a"].request({method:"GET",url:"/questionnaire/reportAnalysis",params:t})}function J(t){return n["a"].request({method:"GET",url:"/article/findById",params:t})}function U(t){return n["a"].request({method:"POST",url:"/gambit/insert",data:t})}function W(t){return n["a"].request({method:"POST",url:"/gambit/update",data:t})}function H(t){return n["a"].request({method:"GET",url:"/gambit/findById",params:t})}function K(t){return n["a"].request({method:"GET",url:"/gambitTheme/findCommentByThemeId",params:t})}function M(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 it(t){return n["a"].request({method:"POST",url:"/workOrderTimeLimit/insert",data:t})}function ot(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 lt(t){return n["a"].request({method:"POST",url:"/workOrderTimeLimit/update",data:t})}function st(t){return n["a"].request({method:"POST",url:"/workOrderTypeDetail/update",data:t})}function ct(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 ht(t){return n["a"].request({method:"POST",url:"/borrow/remind",data:t})}function pt(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})}},"7b3a":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"main-content"},[t._m(0),e("div",{staticClass:"content"},[e("div",{staticClass:"content-btn"},[e("el-button",{staticClass:"init-button",attrs:{icon:"el-icon-plus"},on:{click:function(e){return t.add()}}},[t._v("添加设备二维码")])],1),e("div",{},[e("VueTable",{ref:"table",attrs:{config:t.config},on:{tableCheck:t.tableCheck}},[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"}})],1)],1),e("template",{slot:"footer"},[e("div",{staticClass:"table-footer"},[e("button",{on:{click:function(e){return t.del(t.table_row)}}},[t._v("删除")])])])],2)],1),e("Drawer",{attrs:{drawerTitle:"添加设备二维码",drawerVrisible:t.add_vrisible},on:{drawerClose:t.addClose}},[e("div",{staticStyle:{padding:"30px"}},[e("FromCard",[e("template",{slot:"title"},[t._v("设备二维码信息")]),[e("VueForm",{ref:"addForm",attrs:{formObj:t.addForm},scopedSlots:t._u([{key:"hours",fn:function(){return[e("el-select",{staticStyle:{width:"30%","margin-right":"16px"},attrs:{filterable:"",placeholder:"幢"},model:{value:t.buildValue,callback:function(e){t.buildValue=e},expression:"buildValue"}},t._l(t.buildOptions,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),e("el-select",{staticStyle:{width:"30%","margin-right":"16px"},attrs:{filterable:"",placeholder:"单元"},model:{value:t.unitValue,callback:function(e){t.unitValue=e},expression:"unitValue"}},t._l(t.unitOptions,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),e("el-select",{staticStyle:{width:"30%"},attrs:{filterable:"",placeholder:"房间号"},model:{value:t.hoursValue,callback:function(e){t.hoursValue=e},expression:"hoursValue"}},t._l(t.hoursOptions,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)]},proxy:!0}])})]],2)],1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("button",{staticClass:"btn-orange",on:{click:function(e){return t.addSubmit()}}},[e("span",[e("i",{staticClass:"el-icon-circle-check"}),t._v("提交")])]),e("button",{staticClass:"btn-gray",on:{click:t.addClose}},[e("span",[t._v("取消")])])])])],1)])])},u=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"main-titel"},[e("span",[t._v("门禁二维码")])])}],a=r("48e8"),i=r("2b74"),o={data(){return{buildValue:null,buildOptions:[],unitValue:null,unitOptions:[],hoursValue:null,hoursOptions:[],add_vrisible:!1,edit_vrisible:!1,addDate:null,addForm:{ruleForm:{estateId:null},rules:{},form_item:[{type:"Slot",label:"房屋信息",placeholder:"请输入",width:"70%",slotName:"hours",prop:"estateId"},{type:"Input",label:"用户姓名",placeholder:"请输入",width:"100%",prop:"name"},{type:"Int",label:"手机号",placeholder:"请输入",width:"100%",prop:"tel"},{type:"Input",label:"身份证号",placeholder:"请输入",width:"100%",prop:"idCard"},{type:"DateTime",label:"生效时间",placeholder:"请选择开始日期",width:"100%",prop:"startTime"},{type:"DateTime",label:"失效时间",placeholder:"请选择结束时间",width:"100%",prop:"endTime"}]},table_row:[],imglist:[],activeName:"0",config:{thead:[{label:"序号",type:"index",width:"80"},{label:"房产名称",prop:"roomName",width:"auto"},{label:"用户姓名",prop:"name",width:"130"},{label:"手机号",prop:"tel",width:"auto"},{label:"身份证号",prop:"idCard",width:"auto"},{label:"生效时间",prop:"startTime",width:"auto"},{label:"失效时间",prop:"endTime",width:"auto"},{label:"创建人姓名",prop:"createName",width:"130"},{label:"创建时间",prop:"createDate",width:"auto"}],table_data:[],url:"doorQRCodeList",search_item:[{type:"Int",label:"手机号",placeholder:"请输入",prop:"tel"}],data:{pageNum:1,size:10}}}},mounted(){Object(i["m"])().then(t=>{this.buildOptions=t})},methods:{add(){this.add_vrisible=!0},addClose(){this.$refs.addForm.reset(),this.add_vrisible=!1,this.buildValue=null},addSubmit(){let t={...this.addForm.ruleForm};Object(a["a"])(t).then(t=>{t.status&&(this.$message({message:t.message,type:"success"}),this.$refs.table.loadData(),this.addClose())})},unitData(t){let e={id:t};Object(i["v"])(e).then(t=>{this.unitOptions=t})},hoursData(t){let e={id:t};Object(i["w"])(e).then(t=>{console.log(t),this.hoursOptions=t})},handleClick(t,e){let r=null;r=0!=this.activeName?this.activeName:null;const n={pageNum:1,size:10,status:r};this.$refs.table.requestData(n)},tableCheck(t){this.table_row=t},del(t){if(t.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(()=>{let e={id:t[0].id,estateId:t[0].estateId,tel:t[0].tel};Object(a["G"])(e).then(t=>{console.log(t),this.$refs.table.loadData()})}).catch(t=>{})}else this.$message.error("请选中需要删除的数据")}},watch:{buildValue:{handler(t){this.unitData(t),this.unitValue=null},deep:!0},unitValue:{handler(t){this.hoursData(t),this.hoursValue=null},deep:!0},hoursValue:{handler(t){this.addForm.ruleForm.estateId=t,console.log(this.addForm.ruleForm.estateId)},deep:!0}}},d=o,l=r("2877"),s=Object(l["a"])(d,n,u,!1,null,null,null);e["default"]=s.exports}}]);
|
|
//# sourceMappingURL=chunk-71b6ac67.297cf644.js.map
|