Newer
Older
eryuan_iris_temperature_front / laser_ptz / static / js / chunk-a033.9284867a.js
[wangxitong] on 30 May 2022 5 KB first commit
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-a033"],{"/JYW":function(e,t,r){"use strict";r.r(t);var i=r("P251"),n={name:"AddIrisOld",data:function(){return{irisForm:{personId:"",idCardNo:"",image_zy0:"",image_yy0:"",image_zy1:"",image_yy1:""},iframeMsg:"",type:""}},mounted:function(){var e=this;window.vueDefined=function(t){e.receiveParamsFromHtml(t)},this.resetForm(),this.$route.query.personId&&(this.irisForm.personId=this.$route.query.personId),this.$route.query.idCardNo&&(this.irisForm.idCardNo=this.$route.query.idCardNo),this.$route.query.type&&(this.type=this.$route.query.type)},activated:function(){var e=this;window.vueDefined=function(t){e.receiveParamsFromHtml(t)},this.resetForm(),this.$route.query.personId&&(this.irisForm.personId=this.$route.query.personId),this.$route.query.idCardNo&&(this.irisForm.idCardNo=this.$route.query.idCardNo),this.$route.query.type&&(this.type=this.$route.query.type)},methods:{beforeRouteLeave:function(e,t,r){window.frames.iframeMap.closeDev(),r()},resetForm:function(){this.irisForm={personId:"",idCardNo:"",image_zy0:"",image_yy0:"",image_zy1:"",image_yy1:""}},receiveParamsFromHtml:function(e){"saveIrisData"===e?this.saveIrisData():this.iframeMsg=e},saveIrisData:function(){var e=this;this.irisForm.personId&&this.irisForm.idCardNo?(this.irisForm.image_zy0=window.frames.iframeMap.image0,this.irisForm.image_zy1=window.frames.iframeMap.image1,this.irisForm.image_yy0=window.frames.iframeMap.image2,this.irisForm.image_yy1=window.frames.iframeMap.image3,Object(i.u)(this.irisForm).then(function(t){200===t.code&&(e.$message.success("保存虹膜成功"),e.resetForm(),"visitor"===e.type?e.$router.push({path:"/visitor"}):e.$router.push({path:"/staff"}))})):this.$message.error("人员信息为空,请退回重试")}}},o=(r("06z9"),r("KHd+")),a=Object(o.a)(n,function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"app-container"},[t("div",{staticClass:"iframeMsg"},[this._v(this._s(this.iframeMsg))]),this._v(" "),this._m(0)])},[function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("iframe",{staticStyle:{"z-index":"-1"},attrs:{name:"iframeMap2",scrolling:"no",width:"100%",height:"450",frameBorder:"no",src:"static/eye/eye.html"}})])}],!1,null,"d98cf256",null);a.options.__file="addIris.vue";t.default=a.exports},"06z9":function(e,t,r){"use strict";var i=r("X8gn");r.n(i).a},P251:function(e,t,r){"use strict";r.d(t,"l",function(){return a}),r.d(t,"k",function(){return s}),r.d(t,"j",function(){return u}),r.d(t,"h",function(){return d}),r.d(t,"m",function(){return c}),r.d(t,"f",function(){return m}),r.d(t,"g",function(){return p}),r.d(t,"n",function(){return f}),r.d(t,"a",function(){return h}),r.d(t,"t",function(){return l}),r.d(t,"v",function(){return y}),r.d(t,"e",function(){return g}),r.d(t,"b",function(){return b}),r.d(t,"d",function(){return v}),r.d(t,"c",function(){return _}),r.d(t,"u",function(){return w}),r.d(t,"w",function(){return j}),r.d(t,"p",function(){return O}),r.d(t,"r",function(){return F}),r.d(t,"s",function(){return I}),r.d(t,"q",function(){return P}),r.d(t,"o",function(){return $}),r.d(t,"i",function(){return z});var i=r("t3Un"),n=r("Qyje"),o=r.n(n);function a(e){return Object(i.a)({url:"/person/getPhoto",method:"get",params:{personId:e}})}function s(e){return Object(i.a)({url:"/person/irisList",method:"get",params:e})}function u(e){return Object(i.a)({url:"/person/irisListPage",method:"get",params:e})}function d(e){return Object(i.a)({url:"/acsPersonGroupRelationship/groupPersonList",method:"get",params:e})}function c(e){return Object(i.a)({url:"/dict/code/sysSex",method:"get",params:e})}function m(e){return Object(i.a)({url:"/dict/code/dutyType",method:"get",params:e})}function p(e){return Object(i.a)({url:"/dict/code/nationType",method:"get",params:e})}function f(){return Object(i.a)({url:"person/getVisitorCode",method:"get"})}function h(e){return Object(i.a)({url:"person/irisAdd",method:"post",data:e})}function l(e){return Object(i.a)({url:"/person/detail/"+e,method:"get"})}function y(e){return Object(i.a)({url:"person/irisUpdate",method:"post",data:e})}function g(e){return Object(i.a)({url:"person/batchIrisDelete",method:"post",timeout:6e4,params:{ids:e},paramsSerializer:function(e){return o.a.stringify(e,{indices:!1})}})}function b(e){return Object(i.a)({url:"person/batchExport",method:"get",timeout:12e4,params:e,responseType:"blob"})}function v(e){var t=new FormData;return t.append("file",e),Object(i.a)({url:"person/batchPersonImport",method:"post",headers:{"Content-Type":"multipart/form-data"},data:t})}function _(e){var t=new FormData;return t.append("file",e),Object(i.a)({url:"person/batchImport",method:"post",headers:{"Content-Type":"multipart/form-data"},data:t})}function w(e){var t=new FormData;return t.append("image_zy0",e.image_zy0),t.append("image_zy1",e.image_zy1),t.append("image_yy0",e.image_yy0),t.append("image_yy1",e.image_zy0),t.append("personId",e.personId),t.append("idCardNo",e.idCardNo),Object(i.a)({url:"irisData/add",method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded"},data:t})}function j(e,t){return Object(i.a)({url:"person/updateData",method:"post",params:{personIds:e,deviceIds:t},paramsSerializer:function(e){return o.a.stringify(e,{indices:!1})}})}function O(e,t,r){return Object(i.a)({url:"acsPersonGroupRelationship/add",method:"post",timeout:6e4,params:{groupName:e,description:t},data:r})}function F(e){return Object(i.a)({url:"acsPersonGroup/listPage",method:"get",params:e})}function I(e,t,r,n){return Object(i.a)({url:"acsPersonGroupRelationship/update",method:"post",timeout:6e4,params:{groupName:t,description:r,id:e},data:n})}function P(e){return Object(i.a)({url:"acsPersonGroup/batchDelete",method:"post",timeout:6e4,params:{acsPersonGroupIds:e},paramsSerializer:function(e){return o.a.stringify(e,{indices:!1})}})}function $(e){return Object(i.a)({url:"acsPersonGroupRelationship/groupListPage",method:"get",params:e})}function z(){return Object(i.a)({url:"acsPersonGroup/list",method:"get"})}},X8gn:function(e,t,r){}}]);