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.
1 line
22 KiB
1 line
22 KiB
|
3 years ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-de247fe8"],{"0a5a":function(t,e,a){"use strict";a.d(e,"b",(function(){return s})),a.d(e,"d",(function(){return n})),a.d(e,"c",(function(){return c})),a.d(e,"a",(function(){return r}));var i=a("b775");function s(t){return Object(i["a"])({url:"/api/admin/visit/index",method:"get",params:t})}function n(t){return Object(i["a"])({method:"get",url:"/api/admin/visit/show",params:t})}function c(t){return Object(i["a"])({method:"post",url:"/api/admin/visit/save",data:t})}function r(t){return Object(i["a"])({method:"get",url:"/api/admin/visit/destroy",params:t})}},"22a7":function(t,e,a){"use strict";a.d(e,"b",(function(){return s})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return c}));var i=a("b775");function s(t){return Object(i["a"])({url:"/api/admin/gate/visit-list",method:"get",params:t})}function n(t){return Object(i["a"])({url:"/api/admin/gate/user-list",method:"get",params:t})}function c(t){return Object(i["a"])({url:"/api/admin/gate/use-code",method:"get",params:t})}},"6ef8":function(t,e,a){},b3d3:function(t,e,a){"use strict";a("6ef8")},c119:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"gatewrap"},[a("div",{staticClass:"gateRight"},[a("span",[t._v(" "+t._s(t.gateName)),a("span",{on:{click:function(e){t.gateShow=!0}}},[t._v("切换")])]),a("span",{on:{click:t.screen}},[t._v(t._s(t.fullscreen?"取消全屏":"打开全屏"))])]),a("div",{staticClass:"gatecode"},[a("div",[t._v(" 拜访日期: "),a("el-date-picker",{staticStyle:{width:"400px","vertical-align":"middle"},attrs:{"value-format":"yyyy-MM-dd",type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.selectRangeM},model:{value:t.selectRange,callback:function(e){t.selectRange=e},expression:"selectRange"}})],1),a("div",[t._v(" 核验销码: "),a("el-input",{ref:"codeInput",staticStyle:{width:"160px","margin-right":"10px"},attrs:{clearable:"",size:"mini",placeholder:"请输入核销码或扫码"},model:{value:t.select.code,callback:function(e){t.$set(t.select,"code",e)},expression:"select.code"}})],1),a("div",[t._v(" 身份证件: "),a("el-input",{ref:"idInput",staticStyle:{width:"160px","margin-right":"10px"},attrs:{clearable:"",size:"mini",placeholder:"请输入身份证"},model:{value:t.select.idcard,callback:function(e){t.$set(t.select,"idcard",e)},expression:"select.idcard"}}),a("el-button",{attrs:{type:"primary"},on:{click:t.getIdcard}},[t._v("查询身份证")])],1),a("div",[a("el-button",{staticClass:"getButton",attrs:{type:"primary"},on:{click:t.getList}},[t._v("查询")])],1)])]),a("showVisit",{ref:"showVisit",on:{refresh:t.clearCode}}),a("el-dialog",{attrs:{title:"请先选择门岗人员",visible:t.gateShow,width:"60%","close-on-click-modal":!1,"show-close":!1},on:{"update:visible":function(e){t.gateShow=e}}},[a("el-radio-group",{model:{value:t.gateAdminId,callback:function(e){t.gateAdminId=e},expression:"gateAdminId"}},t._l(t.gateData,(function(e){return a("el-radio",{attrs:{label:e.id,border:""}},[t._v(t._s(e.name))])})),1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:t.confirmGate}},[t._v("确 定")])],1)],1)],1)},s=[],n=a("c7eb"),c=a("b85c"),r=a("1da1"),o=(a("d81d"),a("b0c0"),a("a78e")),l=a.n(o),d=a("bc3a"),u=a.n(d),m=a("fcc0"),f=a("22a7"),p={components:{showVisit:m["default"]},data:function(){return{fullscreen:!1,clientHeight:0,gateShow:!1,gateAdminId:"",gateName:"",gateData:[],gateUser:{},selectRange:[],select:{page:1,rows:10,keyword:"",audit_status:"",start_date:"",end_date:"",is_export:0,code:"",idcard:""},data:[]}},computed:{},mounted:function(){},created:function(){this.getUserList(),this.getToday()},methods:{init:function(){var t=document.documentElement.clientHeight;this.clientHeight=t},getToday:function(){var t=new Date,e=this.$moment(t).format("YYYY-MM-DD");this.select.start_date=e,this.select.end_date=e,this.selectRange=[e,e]},
|