Files
starRiverProperty/frontend/front_acs.bak20231027/static/js/chunk-0cc49681.4c9bd65e.js
T
反编译工作区 0c56a3e599 chore(frontend): add static frontend build artifacts (portal, front_acs, etc.)
Made-with: Cursor

Former-commit-id: 571c9a99ee26d90505e550c287eb8ad8d743ff8d
2026-04-27 13:40:23 +08:00

1 line
15 KiB
JavaScript

(window["webpackJsonp_ninca-crk-access-control"]=window["webpackJsonp_ninca-crk-access-control"]||[]).push([["chunk-0cc49681"],{"1fbb":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("CwMainLayout",{staticClass:"common-idf",attrs:{loading:t.loading},scopedSlots:t._u([{key:"op-header",fn:function(){return[e("CwHeaderLayout",{attrs:{showBottomLine:""},scopedSlots:t._u([{key:"op",fn:function(){return[e("CwOp",{attrs:{items:t.opItems}})]},proxy:!0}])},[e("CwSearchForm",{attrs:{formItems:t.formItems,options:t.options,ruleForm:t.searchList}})],1)]},proxy:!0}])},[e("InCardWrap",{ref:"cardwrap",attrs:{data:t.tableData,query:t.searchList,paginationAttrs:t.paginationAttrs},on:{"pagination-change":function(e){return t.getList(!1)}},scopedSlots:t._u([{key:"default",fn:function(a){return[e("Card",t._b({},"Card",a,!1))]}}])}),e("Detail",{ref:"refDetail"})],1)},r=[],s=a("5530"),n=a("c7eb"),o=a("1da1"),c=a("2909"),l=a("d4ec"),d=a("bee2"),u=a("262e"),p=a("2caf"),f=(a("99af"),a("9ab4")),h=a("4d8e"),b=a("7650"),m=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("in-card-qz",{attrs:{row:t.row,cardAttrs:t.cardAttrs,tops:t.tops,contents:t.contents,pics:t.pics}})},v=[],y=a("60a3"),O=function(t){Object(u["a"])(a,t);var e=Object(p["a"])(a);function a(){var t;return Object(l["a"])(this,a),t=e.apply(this,arguments),t.cardAttrs={style:{height:"100%"}},t}return Object(d["a"])(a,[{key:"tops",get:function(){return{attrs:{style:{background:"#fff",color:"#000"}},left:{attrs:{style:{color:this.row.issucees?" #2B986D":"#F53640"}},text:this.row.issucees?"开门成功":"开门失败"},right:{text:this.row.recognitionTimeStr}}}},{key:"pics",get:function(){var t=this.row.isGuardCard||this.row.isApp;return[{bigimgAttrs:{src:this.row.faceImage,maskText:"抓拍照"},wrapAttrs:{style:{display:t?"none":"block"}}},{bigimgAttrs:{src:this.row.registerImage,maskText:"注册照"},wrapAttrs:{style:{display:t||!this.row.issucees?"none":"block"}}},{bigimgAttrs:{src:this.row.panoramaImage,maskText:"全景照"},wrapAttrs:{style:{width:"100%",display:t?"block":"none"}}}]}},{key:"contents",get:function(){!this.row.isGuardCard&&this.row.isApp;var t=Object(s["a"])({},this.row.openDoorTypeObj);return[{type:"cell",attrs:{label:"开门方式"},render:function(e){return e("in-tag",{attrs:t})}},{type:"cell",attrs:{text:this.row.personName,label:"人员姓名"}},{type:"cell",attrs:{text:this.row.organizationNamesStr||"",label:"部门"}},{type:"cell",attrs:{text:this.row.deviceName,label:"设备名称"}},{type:"cell",attrs:{text:this.row.areaName,label:"安装区域"}},{type:"cell",attrs:{text:this.row.operateName,label:"操作者"},hidden:!this.row.isApp},{type:"cell",attrs:{text:this.row.recognitionNo,label:"卡号"},hidden:!this.row.isGuardCard,wrapAttrs:{style:{color:this.row.issucees?"#2B986D":"#F53640"}}}]}}]),a}(y["h"]);Object(f["a"])([Object(y["e"])({type:Object})],O.prototype,"row",void 0),O=Object(f["a"])([Object(y["a"])({inheritAttrs:!1,components:{}})],O);var j=O,w=j,g=a("2877"),x=Object(g["a"])(w,m,v,!1,null,"4c3b0f7c",null),C=x.exports,_=a("2453"),k=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("CwModal",{ref:"infoModal",staticClass:"detail-modal",class:{add_modal:t.typeObj.add},attrs:{width:"610px",title:t.ops.title,submitLoading:t.loading,showFooter:!1},on:{closes:t.close}},[e("div",{staticClass:"top"},[e("div",{staticClass:"top-left"},[e("CwBigimg",{attrs:{isZoom:!1,maskText:"全景照",src:t.addList.panoramaImage}})],1),t.addList.isGuardCard||t.addList.isApp?t._e():e("ul",{staticClass:"top-right"},[e("li",[e("CwBigimg",{attrs:{isZoom:!1,maskText:"抓拍照",src:t.addList.faceImage}})],1),e("li",[e("CwBigimg",{attrs:{isZoom:!1,maskText:"注册照",src:t.addList.registerImage}})],1)])]),e("div",{staticClass:"detail-content"},[e("div",{staticClass:"detail-content-top"},[e("CwDataTable",{staticStyle:{"border-right":"none"}},[e("CwDataTableItem",{attrs:{leftText:"开门结果",leftWidth:t.leftWidth}},[t._v(t._s(t.addList.issucees?"开门成功":"开门失败"))]),e("CwDataTableItem",{attrs:{leftText:"测温信息",leftWidth:t.leftWidth}},[t._v(t._s(t.addList.tempScore))])],1),e("CwDataTable",{staticStyle:{"border-left":"none"}},[e("CwDataTableItem",{attrs:{leftText:"开门方式",leftWidth:t.leftWidth}},[t._v(t._s(t.addList.openDoorTypeObj&&t.addList.openDoorTypeObj.label))]),e("CwDataTableItem",{attrs:{leftText:"温度阈值",leftWidth:t.leftWidth}},[t._v(t._s(t.addList.tempThreshol))])],1)],1),e("div",{staticClass:"detail-conetent-bottom"},[e("CwDataTable",{staticStyle:{"border-top":"none"}},[t.addList.isGuardCard||t.addList.isApp?t._e():e("CwDataTableItem",{attrs:{leftText:"人员姓名",leftWidth:t.leftWidth}},[t._v(" "+t._s(t.addList.personName)+" ")]),e("CwDataTableItem",{attrs:{leftText:"安装区域",leftWidth:t.leftWidth}},[t._v(t._s(t.addList.areaName))]),e("CwDataTableItem",{attrs:{leftText:"设备名称",leftWidth:t.leftWidth}},[t._v(t._s(t.addList.deviceName))]),e("CwDataTableItem",{attrs:{leftText:"设备型号",leftWidth:t.leftWidth}},[t._v(t._s(t.addList.deviceTypeName))]),e("CwDataTableItem",{attrs:{leftText:"开门时间",leftWidth:t.leftWidth}},[t._v(t._s(t.addList.recognitionTimeStr))])],1)],1)])])},T=[],A=a("48b1"),D=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"cw-data-table",style:{width:t.width}},[t._t("default")],2)},L=[],I=function(t){Object(u["a"])(a,t);var e=Object(p["a"])(a);function a(){return Object(l["a"])(this,a),e.apply(this,arguments)}return Object(d["a"])(a)}(y["h"]);Object(f["a"])([Object(y["e"])({type:String,default:"100%"})],I.prototype,"width",void 0),I=Object(f["a"])([y["a"]],I);var W=I,F=W,S=(a("7e09"),Object(g["a"])(F,D,L,!1,null,"6bab537e",null)),N=S.exports,P=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"cw-data-table-item"},[e("div",{staticClass:"cell-left",style:{width:t.leftWidth}},[e("div",{staticClass:"text"},[t._t("left",(function(){return[t._v(t._s(t.leftText))]}))],2)]),e("div",{staticClass:"cell-right"},[e("div",{staticClass:"text"},[t._t("default")],2)])])},M=[],R=function(t){Object(u["a"])(a,t);var e=Object(p["a"])(a);function a(){return Object(l["a"])(this,a),e.apply(this,arguments)}return Object(d["a"])(a)}(y["h"]);Object(f["a"])([Object(y["e"])({type:String,default:""})],R.prototype,"leftText",void 0),Object(f["a"])([Object(y["e"])({type:String,default:"150px"})],R.prototype,"leftWidth",void 0),R=Object(f["a"])([y["a"]],R);var E=R,H=E,G=(a("f449"),Object(g["a"])(H,P,M,!1,null,"7f14fbe2",null)),$=G.exports,B=function(t){Object(u["a"])(a,t);var e=Object(p["a"])(a);function a(){var t;return Object(l["a"])(this,a),t=e.apply(this,arguments),t.leftWidth="110px",t.addList={},t}return Object(d["a"])(a,[{key:"getDetail",value:function(){var t=Object(o["a"])(Object(n["a"])().mark((function t(e,a){return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})));function e(e,a){return t.apply(this,arguments)}return e}()}]),a}(Object(y["c"])(Object(A["a"])()));Object(f["a"])([Object(y["g"])()],B.prototype,"cwform",void 0),B=Object(f["a"])([Object(y["a"])({components:{CwDataTable:N,CwDataTableItem:$}})],B);var U=B,Z=U,q=(a("90ff"),Object(g["a"])(Z,k,T,!1,null,"2bf8fd56",null)),z=q.exports,J=a("a705"),Y=function(t){Object(u["a"])(a,t);var e=Object(p["a"])(a);function a(){var t;return Object(l["a"])(this,a),t=e.apply(this,arguments),t.tableData=[],t.searchList={timeRange:t.GFinitDay(7),personName:"",recordResult:"",openDoorTypeCode:""},t.options={recordResult:t.GFgetTypeConfig("RECOGNITION_RESULT",{type:"select"}),openDoorTypeCode:t.GFgetTypeConfig("OPEN_DOOR_TYPE",{type:"select"})},t}return Object(d["a"])(a,[{key:"created",value:function(){this.getList()}},{key:"opItems",get:function(){return[{type:"button",command:"export",label:"导出",btnAttrs:{type:"primary"}}]}},{key:"formItems",get:function(){return[{type:"input",name:"displayUrl",showHidden:!0},{type:"selectday",name:"timeRange",itemAttrs:{label:"抓拍时间"},colAttrs:{style:"width:auto"},contentAttrs:{disabledDateStart:365}},{type:"input",name:"personName",itemAttrs:{label:"人员姓名"},contentAttrs:{clearable:!0,placeholder:"请输入人员姓名"}}].concat(Object(c["a"])(this.deviceFormItems),[{type:"select",name:"openDoorTypeCode",itemAttrs:{label:"开门方式"},contentAttrs:{clearable:!0,placeholder:"开门方式"}},{type:"select",name:"recordResult",itemAttrs:{label:"开门结果"},contentAttrs:{clearable:!0,placeholder:"开门结果"}}])}},{key:"getData",value:function(){var t=Object(o["a"])(Object(n["a"])().mark((function t(e){var a,i,r;return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,_["a"].openpage(e,{_this:this,loading:"loading"});case 2:a=t.sent,i=a.total,r=a.datas,this.paginationAttrs.total=i,this.tableData=r;case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"exportClick",value:function(){var t=Object(o["a"])(Object(n["a"])().mark((function t(){var e;return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=Object(s["a"])({},this.searchList),t.next=3,_["a"].openExport(e);case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"cardClick",value:function(t){var e=t.row;this.refDetail.showModal({type:"view",title:"开门记录详情"},e)}}]),a}(Object(y["c"])(Object(h["tableMixin"])(),Object(b["a"])({name:"searchList"})));Object(f["a"])([Object(y["e"])({type:String,default:""})],Y.prototype,"name",void 0),Object(f["a"])([Object(y["g"])()],Y.prototype,"refDetail",void 0),Y=Object(f["a"])([Object(y["a"])({components:{Card:C,Detail:z,ImgUploader:J["a"]}})],Y);var K=Y,Q=K,V=(a("71b8"),Object(g["a"])(Q,i,r,!1,null,"84804246",null));e["default"]=V.exports},"48b1":function(t,e,a){"use strict";var i=a("c7eb"),r=a("1da1"),s=a("5530"),n=a("d4ec"),o=a("bee2"),c=a("257e"),l=a("262e"),d=a("2caf"),u=(a("d3b7"),a("159b"),a("14d9"),a("3ca3"),a("ddb0"),a("9ab4")),p=a("a53c"),f=a("144b"),h=a("3c4e"),b=a.n(h),m=a("60a3"),v=function(t,e,a){return e},y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.modal,a=void 0===e?"infoModal":e,c=t.getDetail,p=void 0===c?"getDetail":c,h=t.addList,y=void 0===h?"addList":h,O=t.changeData,j=void 0===O?"changeData":O,w=function(t){Object(l["a"])(c,t);var e=Object(d["a"])(c);function c(){var t;return Object(n["a"])(this,c),t=e.apply(this,arguments),t.loading=!1,t.ops={},t.oldList={},t.addList={},t.showFooter=!0,t.mixinHidden=null,t}return Object(o["a"])(c,[{key:"mounted",value:function(){this.oldList=Object(s["a"])({},this[y])}},{key:"loadingChange",value:function(t){this.$emit("update:loading",t),this.$emit("loading",t)}},{key:"dealOther",value:function(t,e){}},{key:"showModal",value:function(){var t=Object(r["a"])(Object(i["a"])().mark((function t(){var e,s,n,o,c,l,d=this,u=arguments;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=u.length>0&&void 0!==u[0]?u[0]:{},s=u.length>1&&void 0!==u[1]?u[1]:{},n=u.length>2?u[2]:void 0,this.mixinHidden=n,o=Object.assign({cover:!0},e),this.ops=o,c=this[j]?this[j](s,o):s,this.addList=o.cover?b()(this.oldList,c,{arrayMerge:v}):b()(this.oldList,c),this.dealOther&&this.dealOther(this.addList,o),l=this.$refs[a],t.next=12,this.$nextTick(Object(r["a"])(Object(i["a"])().mark((function t(){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.t0=d[p],!t.t0){t.next=4;break}return t.next=4,d[p](d.addList,o);case 4:l&&l.show();case 5:case"end":return t.stop()}}),t)}))));case 12:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"closeModal",value:function(){var t=this,e=this.$refs[a];e.hide().then((function(){t.loading=!1,t.mixinHidden&&t.mixinHidden()}))}}]),c}(m["h"]);return Object(u["a"])([Object(m["i"])("loading")],w.prototype,"loadingChange",null),w=Object(u["a"])([Object(m["a"])({components:{CwModal:f["a"]}})],w),w};e["a"]=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.assign({modal:"infoModal"},t),a=e.modal,f=void 0===a?"infoModal":a,h=e.form,b=void 0===h?"cwform":h,v=e.formItems,O=void 0===v?"formItems":v,j=function(){var t={};return"string"===typeof O?t[O]=function(t){this.delPlaceholderData(t)}:Array.isArray(O)&&O.forEach((function(e){t[e]=function(t){this.delPlaceholderData(t)}})),t},w=function(t){Object(l["a"])(a,t);var e=Object(d["a"])(a);function a(){var t;return Object(n["a"])(this,a),t=e.apply(this,arguments),t.p1=Object(c["a"])(t),t.ops={},t.formAttrsW={},t}return Object(o["a"])(a,[{key:"typeObj",get:function(){var t=this.ops.type;return{add:"add"===t,edit:"edit"===t,view:"view"===t,o1:"o1"===t,o2:"o2"===t,o3:"o3"===t}}},{key:"formAttrs",get:function(){return Object(s["a"])({disabled:this.typeObj.view,inline:!1},this.formAttrsW||{})}},{key:"dealOther",value:function(){var t=this;this.typeObj.view&&(this.showFooter=!1),"string"===typeof O?this.delPlaceholder(O):Array.isArray(O)&&O.forEach((function(e){t.delPlaceholder(e)}))}},{key:"delPlaceholder",value:function(t){this[t]&&"view"===this.ops.type&&this[t].forEach((function(t){t.contentAttrs&&t.contentAttrs.placeholder&&(t.contentAttrs.placeholder="")}))}},{key:"delPlaceholderData",value:function(t){t&&"view"===this.ops.type&&t.forEach((function(t){t.contentAttrs&&t.contentAttrs.placeholder&&(t.contentAttrs.placeholder="")}))}},{key:"getData",value:function(t){return this.typeObj.add?t[0]:this.typeObj.edit?t[1]:this.typeObj.view?t[2]:void 0}},{key:"validateForm",value:function(){var t=Object(r["a"])(Object(i["a"])().mark((function t(e){var a,r;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,a=this.$refs[e],t.next=4,a&&a.validate();case 4:return r=t.sent,t.abrupt("return",r);case 8:throw t.prev=8,t.t0=t["catch"](0),t.t0;case 11:case"end":return t.stop()}}),t,this,[[0,8]])})));function e(e){return t.apply(this,arguments)}return e}()},{key:"validateFormAll",value:function(){var t=this;if(Array.isArray(b)){var e=[];return b.forEach((function(a){e.push(t.validateForm(a))})),Promise.all(e)}return this.validateForm(b)}},{key:"closeModal",value:function(t){var e=this;this.modalRef.hide().then((function(){e.loading=!1,e.resetForm(),e.$emit("getList"),setTimeout((function(){e.mixinHidden&&e.mixinHidden()}),500),t&&t()}))}},{key:"close",value:function(){var t=this;setTimeout((function(){t.resetForm(),t.mixinHidden&&t.mixinHidden()}),500)}},{key:"resetForm",value:function(){var t=this;Array.isArray(b)?b.forEach((function(e){var a=t.$refs[e];a&&a.resetForm()})):this.formRef&&this.formRef.resetForm()}}]),a}(Object(m["c"])(y(Object(s["a"])({},e))));return Object(u["a"])([Object(m["f"])("p")],w.prototype,"p1",void 0),Object(u["a"])([Object(m["b"])({default:{}})],w.prototype,"p",void 0),Object(u["a"])([Object(m["g"])(f)],w.prototype,"modalRef",void 0),Object(u["a"])([Object(m["g"])(b)],w.prototype,"formRef",void 0),w=Object(u["a"])([Object(m["a"])({components:{CwForm:p["a"]},watch:Object(s["a"])({},j())})],w),w}},"71b8":function(t,e,a){"use strict";a("9b71")},"71cc":function(t,e,a){},7727:function(t,e,a){},"7e09":function(t,e,a){"use strict";a("71cc")},"90ff":function(t,e,a){"use strict";a("7727")},"9b71":function(t,e,a){},d56f:function(t,e,a){},f449:function(t,e,a){"use strict";a("d56f")}}]);