mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-10 00:40:30 +08:00
0c56a3e599
Made-with: Cursor Former-commit-id: 571c9a99ee26d90505e550c287eb8ad8d743ff8d
1 line
16 KiB
JavaScript
1 line
16 KiB
JavaScript
(window["webpackJsonp_ninca-crk-visitor-management"]=window["webpackJsonp_ninca-crk-visitor-management"]||[]).push([["chunk-6420c5b2"],{"015a":function(t,e,n){},"0fed":function(t,e,n){"use strict";var r=n("4a7f"),c=n.n(r);c.a},"169f":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("CwMainLayout",{staticClass:"default-device"},[n("GuestSetting"),n("QrSetting"),n("MiniProgram"),n("DefaultDevice")],1)},c=[],a=(n("d3b7"),n("4ae1"),n("25f0"),n("276c")),i=n("920b"),o=n("e1a7"),u=n("f20d"),s=n("9ab4"),f=n("60a3"),l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("in-form-block",{staticClass:"default-device",attrs:{label:"通用设置"}},[n("in-form-block",{attrs:{label:"访客默认设备",textAttrs:t.textAttrs,contentAttrs:t.contentAttrs},scopedSlots:t._u([{key:"head",fn:function(){return[n("el-button",{staticStyle:{"margin-left":"5px"},attrs:{type:"text"},on:{click:t.editClick}},[t._v("编辑")])]},proxy:!0}])},[n("deviceItem",{attrs:{title:"访客默认设备",datas:t.datas},on:{edit:t.editClick}})],1),n("EditDevice",{ref:"refDevice",on:{getList:t.getData}})],1)},p=[],b=(n("96cf"),n("c964")),h=n("e954"),v=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"device-item"},[n("div",{staticClass:"content"},t._l(t.datas,(function(e){return n("SettingTag",{key:e.id,attrs:{title:e.deviceName}},[t._v(t._s(e.deviceName))])})),1)])},d=[],y=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-tag",t._g(t._b({staticClass:"setting-tag cw-no-wrap",attrs:{color:"rgba(0,120,212,0.1)"}},"el-tag",t.$attrs,!1),t.$listeners),[t._t("default")],2)},O=[];function g(t){function e(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}return function(){var n,r=Object(u["a"])(t);if(e()){var c=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return Object(o["a"])(this,n)}}var j=function(t){Object(i["a"])(n,t);var e=g(n);function n(){return Object(a["a"])(this,n),e.apply(this,arguments)}return n}(f["h"]);j=Object(s["a"])([f["a"]],j);var m=j,R=m,S=(n("9917"),n("2877")),_=Object(S["a"])(R,y,O,!1,null,"587e0ff0",null),D=_.exports;function x(t){function e(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}return function(){var n,r=Object(u["a"])(t);if(e()){var c=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return Object(o["a"])(this,n)}}var k=function(t){Object(i["a"])(n,t);var e=x(n);function n(){return Object(a["a"])(this,n),e.apply(this,arguments)}return Object(h["a"])(n,[{key:"editClick",value:function(){this.$emit("edit")}}]),n}(f["h"]);Object(s["a"])([Object(f["e"])({default:"",type:String})],k.prototype,"title",void 0),Object(s["a"])([Object(f["e"])({default:function(){return[]},type:Array})],k.prototype,"datas",void 0),k=Object(s["a"])([Object(f["a"])({components:{SettingTag:D}})],k);var C=k,w=C,E=(n("0fed"),Object(S["a"])(w,v,d,!1,null,"debe530e",null)),I=E.exports,P=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("CwModal",{ref:"infoModal",staticClass:"select-device",class:{add_modal:t.typeObj.add},attrs:{width:"600px",title:t.ops.title,submitLoading:t.loading,showFooter:!t.typeObj.view},on:{confirm:t.submitFrom,closes:t.close}},[n("DeviceSelect",{model:{value:t.selectDatas,callback:function(e){t.selectDatas=e},expression:"selectDatas"}})],1)},T=[],$=(n("d81d"),n("48b1")),M=n("3243"),A=n("5b02");function L(t){function e(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}return function(){var n,r=Object(u["a"])(t);if(e()){var c=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return Object(o["a"])(this,n)}}var K=function(t){Object(i["a"])(n,t);var e=L(n);function n(){var t;return Object(a["a"])(this,n),t=e.apply(this,arguments),t.userType=t.GFgetTypeConfig("USER_TYPE",{getValue:"ORG"}),t.addList={},t.selectDatas=[],t}return Object(h["a"])(n,[{key:"getDetail",value:function(t){this.selectDatas=t}},{key:"submitFrom",value:function(){var t=this,e=this.selectDatas.map((function(t){return t.id})),n={deviceIds:e};M["a"].defaultEdit(n,{loading:"loading",_this:this}).then((function(e){t.closeModal()}))}}]),n}(Object(f["c"])(Object($["a"])()));K=Object(s["a"])([Object(f["a"])({components:{DeviceSelect:A["a"]}})],K);var G=K,V=G,F=Object(S["a"])(V,P,T,!1,null,"0bb096ce",null),N=F.exports;function Q(t){function e(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}return function(){var n,r=Object(u["a"])(t);if(e()){var c=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return Object(o["a"])(this,n)}}var Y=function(t){Object(i["a"])(n,t);var e=Q(n);function n(){var t;return Object(a["a"])(this,n),t=e.apply(this,arguments),t.datas=[],t.textAttrs={bold:!1,borderLeft:!1},t.contentAttrs={style:{"background-color":"#fff"}},t}return Object(h["a"])(n,[{key:"created",value:function(){this.getData()}},{key:"getData",value:function(){var t=Object(b["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,M["a"].defaultQuery();case 2:this.datas=t.sent;case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"editClick",value:function(){this.refDevice.showModal({type:"add",title:"编辑访客默认设备"},this.GFdeepclone(this.datas))}}]),n}(f["h"]);Object(s["a"])([Object(f["g"])()],Y.prototype,"refDevice",void 0),Y=Object(s["a"])([Object(f["a"])({components:{deviceItem:I,EditDevice:N}})],Y);var U=Y,q=U,H=Object(S["a"])(q,l,p,!1,null,null,null),J=H.exports,W=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("in-form-block",{staticClass:"guest-setting",attrs:{label:"访客机注册设置"}},[n("CommonSetting",t._b({},"CommonSetting",t.infoObj,!1))],1)},X=[],Z=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"common-setting"},[n("div",{staticClass:"common-title"},[n("span",{staticClass:"text"},[t._v(t._s(t.title))]),n("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},on:{change:t.valueChange},model:{value:t.searchList.configValue,callback:function(e){t.$set(t.searchList,"configValue",e)},expression:"searchList.configValue"}})],1),n("div",{staticClass:"tip"},[t._v(t._s(t.tip))])])},z=[],B=n("f3f3"),tt=n("2ff6");function et(t){function e(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}return function(){var n,r=Object(u["a"])(t);if(e()){var c=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return Object(o["a"])(this,n)}}var nt={getSetting:"/visitor/config/query",setting:"/visitor/config/edit"},rt=function(t){Object(i["a"])(n,t);var e=et(n);function n(){return Object(a["a"])(this,n),e.apply(this,arguments)}return Object(h["a"])(n,[{key:"getSetting",value:function(){var t=Object(b["a"])(regeneratorRuntime.mark((function t(e){var n,r,c,a=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=a.length>1&&void 0!==a[1]?a[1]:{},r=Object.assign(e,{}),t.next=4,this.$ajax(nt.getSetting,r,Object(B["a"])({},n));case 4:return c=t.sent,t.abrupt("return",this.rGet(c.data[0]));case 6:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"setting",value:function(){var t=Object(b["a"])(regeneratorRuntime.mark((function t(e){var n,r,c,a=arguments;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=a.length>1&&void 0!==a[1]?a[1]:{},r=Object.assign(e,{}),t.next=4,this.$ajax(nt.setting,r,Object(B["a"])({tip:"设置成功"},n));case 4:return c=t.sent,t.abrupt("return",c.data);case 6:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()}]),n}(tt["a"]),ct=new rt;function at(t){function e(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}return function(){var n,r=Object(u["a"])(t);if(e()){var c=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return Object(o["a"])(this,n)}}var it=function(t){Object(i["a"])(n,t);var e=at(n);function n(){var t;return Object(a["a"])(this,n),t=e.apply(this,arguments),t.searchList={configValue:"0"},t}return Object(h["a"])(n,[{key:"mounted",value:function(){this.getData()}},{key:"valueChange",value:function(){var t=this,e=Object(B["a"])({},this.searchList,{configKey:this.configKey});ct.setting(e).then((function(e){t.getData()}))}},{key:"getData",value:function(){var t=Object(b["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,ct.getSetting({configKey:this.configKey});case 2:e=t.sent,e&&(this.searchList=e);case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}]),n}(f["h"]);Object(s["a"])([Object(f["e"])({type:String,default:""})],it.prototype,"title",void 0),Object(s["a"])([Object(f["e"])({type:String,default:""})],it.prototype,"tip",void 0),Object(s["a"])([Object(f["e"])({type:String,default:""})],it.prototype,"configKey",void 0),it=Object(s["a"])([f["a"]],it);var ot=it,ut=ot,st=(n("effb"),Object(S["a"])(ut,Z,z,!1,null,"ba5810aa",null)),ft=st.exports;function lt(t){function e(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}return function(){var n,r=Object(u["a"])(t);if(e()){var c=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return Object(o["a"])(this,n)}}var pt=function(t){Object(i["a"])(n,t);var e=lt(n);function n(){var t;return Object(a["a"])(this,n),t=e.apply(this,arguments),t.infoObj={title:"访客机注册审核",tip:"启用后,在访客机上注册的访客会出现在审核列表当中,通过审核后,访客进入。",configKey:"VISITOR_REGISTER_AUDIT"},t}return n}(f["h"]);pt=Object(s["a"])([Object(f["a"])({components:{CommonSetting:ft}})],pt);var bt=pt,ht=bt,vt=Object(S["a"])(ht,W,X,!1,null,"ee0dc59e",null),dt=vt.exports,yt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"qr-setting"},[n("in-form-block",{attrs:{label:"二维码注册设置"}},[n("CommonSetting",t._b({},"CommonSetting",t.infoObjSms,!1))],1),n("in-form-block",{attrs:{showHead:!1}},[n("CommonSetting",t._b({},"CommonSetting",t.infoObjNoSms,!1))],1)],1)},Ot=[];function gt(t){function e(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}return function(){var n,r=Object(u["a"])(t);if(e()){var c=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return Object(o["a"])(this,n)}}var jt=function(t){Object(i["a"])(n,t);var e=gt(n);function n(){var t;return Object(a["a"])(this,n),t=e.apply(this,arguments),t.infoObjSms={title:"注册成功短信通知",tip:"通知内容:您于 2020-5-20 10:00(拜访时间) 访问 云从科技(组织名) 的申请已通过,欢迎您的拜访。",configKey:"VISITOR_REG_SUCCESS_SMS_NOTIFY"},t.infoObjNoSms={title:"注册失败短信通知",tip:"通知内容:通知内容:您于 2020-5-20 :10:00(拜访时间) 访问 云从科技(组织名) 的申请未通过,请联系管理员了解详情",configKey:"VISITOR_REG_FAIL_SMS_NOTIFY"},t}return n}(f["h"]);jt=Object(s["a"])([Object(f["a"])({components:{CommonSetting:ft}})],jt);var mt=jt,Rt=mt,St=(n("4737"),Object(S["a"])(Rt,yt,Ot,!1,null,"5a104f5e",null)),_t=St.exports,Dt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("in-form-block",{staticClass:"mini-setting",attrs:{label:"小程序二维码下载"}},[n("div",{staticClass:"mini-setting-wrap"},[n("div",{staticClass:"text"},[t._v("轻舟云智通微信小程序二维码,扫码可直接进入当前企业服务")]),n("el-button",{attrs:{type:"primary"},on:{click:t.download}},[t._v("下载二维码")])],1)])},xt=[];function kt(t){function e(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}return function(){var n,r=Object(u["a"])(t);if(e()){var c=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return Object(o["a"])(this,n)}}var Ct=function(t){Object(i["a"])(n,t);var e=kt(n);function n(){var t;return Object(a["a"])(this,n),t=e.apply(this,arguments),t.configKey="YZT_WX_MINI_PROGRAM_QRCODE_PATH",t}return Object(h["a"])(n,[{key:"download",value:function(){ct.getSetting({configKey:this.configKey}).then((function(t){window.open(t.configValue)}))}}]),n}(f["h"]);Ct=Object(s["a"])([f["a"]],Ct);var wt=Ct,Et=wt,It=(n("8f0d"),Object(S["a"])(Et,Dt,xt,!1,null,"45bedf1c",null)),Pt=It.exports;function Tt(t){function e(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}return function(){var n,r=Object(u["a"])(t);if(e()){var c=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return Object(o["a"])(this,n)}}var $t=function(t){Object(i["a"])(n,t);var e=Tt(n);function n(){return Object(a["a"])(this,n),e.apply(this,arguments)}return n}(f["h"]);$t=Object(s["a"])([Object(f["a"])({components:{DefaultDevice:J,GuestSetting:dt,QrSetting:_t,MiniProgram:Pt}})],$t);var Mt=$t,At=Mt,Lt=Object(S["a"])(At,r,c,!1,null,"50c14a00",null);e["default"]=Lt.exports},3085:function(t,e,n){},"425d":function(t,e,n){},4737:function(t,e,n){"use strict";var r=n("015a"),c=n.n(r);c.a},"4a7f":function(t,e,n){},8328:function(t,e,n){},"8f0d":function(t,e,n){"use strict";var r=n("8328"),c=n.n(r);c.a},9917:function(t,e,n){"use strict";var r=n("3085"),c=n.n(r);c.a},a434:function(t,e,n){"use strict";var r=n("23e7"),c=n("23cb"),a=n("a691"),i=n("50c4"),o=n("7b0b"),u=n("65f0"),s=n("8418"),f=n("1dde"),l=n("ae40"),p=f("splice"),b=l("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,v=Math.min,d=9007199254740991,y="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!p||!b},{splice:function(t,e){var n,r,f,l,p,b,O=o(this),g=i(O.length),j=c(t,g),m=arguments.length;if(0===m?n=r=0:1===m?(n=0,r=g-j):(n=m-2,r=v(h(a(e),0),g-j)),g+n-r>d)throw TypeError(y);for(f=u(O,r),l=0;l<r;l++)p=j+l,p in O&&s(f,l,O[p]);if(f.length=r,n<r){for(l=j;l<g-r;l++)p=l+r,b=l+n,p in O?O[b]=O[p]:delete O[b];for(l=g;l>g-r+n;l--)delete O[l-1]}else if(n>r)for(l=g-r;l>j;l--)p=l+r-1,b=l+n-1,p in O?O[b]=O[p]:delete O[b];for(l=0;l<n;l++)O[l+j]=arguments[l+2];return O.length=g-r+n,f}})},effb:function(t,e,n){"use strict";var r=n("425d"),c=n.n(r);c.a}}]); |