(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-305f32d6","chunk-2d21f841"],{"0014":function(e,t,A){"use strict";A("a1fa")},"00ee":function(e,t,A){"use strict";var a=A("b622"),s=a("toStringTag"),r={};r[s]="z",e.exports="[object z]"===String(r)},"03ed":function(e,t,A){},"047a":function(e,t,A){},"05b2":function(e,t,A){"use strict";A("6e39")},"061d":function(e,t,A){"use strict";A("c279")},"07e9":function(e,t,A){},"0955":function(e,t,A){"use strict";A("8c51")},"0c3a":function(e,t,A){"use strict";A("582a")},"0cb2":function(e,t,A){"use strict";var a=A("e330"),s=A("7b0b"),r=Math.floor,i=a("".charAt),o=a("".replace),l=a("".slice),n=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,A,a,d,p){var h=A+e.length,u=a.length,m=c;return void 0!==d&&(d=s(d),m=n),o(p,m,(function(s,o){var n;switch(i(o,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,A);case"'":return l(t,h);case"<":n=d[l(o,1,-1)];break;default:var c=+o;if(0===c)return s;if(c>u){var p=r(c/10);return 0===p?s:p<=u?void 0===a[p-1]?i(o,1):a[p-1]+i(o,1):s}n=a[c-1]}return void 0===n?"":n}))}},"0d26":function(e,t,A){"use strict";var a=A("e330"),s=Error,r=a("".replace),i=function(e){return String(new s(e).stack)}("zxcasd"),o=/\n\s*at [^:]*:[^\n]*/,l=o.test(i);e.exports=function(e,t){if(l&&"string"==typeof e&&!s.prepareStackTrace)while(t--)e=r(e,o,"");return e}},"0f79":function(e,t,A){},"10ff":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("section",{staticClass:"staffBoxFlex"},[t("div",{staticClass:"staffTitle"},[t("strong",[e._v("详细信息")]),t("em",[e.flag?t("i",{on:{click:e.edit}},[e._v("编辑")]):e._e(),e.flag?e._e():t("i",{on:{click:e.save}},[e._v("保存")])])]),t("div",{staticClass:"staffContext staffOffice"},[t("el-form",{ref:"form",attrs:{"label-position":"right","label-width":"150px",rules:e.rules,model:e.formList}},[t("el-row",{attrs:{gutter:50}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"性别:",prop:"sex"}},[e.flag?t("span",[e._v(e._s("Male"==e.formList.sex?"男":"")+e._s("Female"==e.formList.sex?"女":""))]):e._e(),e.flag?e._e():t("el-select",{attrs:{clearable:""},model:{value:e.formList.sex,callback:function(t){e.$set(e.formList,"sex",t)},expression:"formList.sex"}},[t("el-option",{attrs:{label:"男",value:"Male"}}),t("el-option",{attrs:{label:"女",value:"Female"}})],1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"出生日期:",prop:"birthdate"}},[e.flag||"IdCard"==e.userInfo.credential.credentialType?t("span",[e._v(e._s(e.formList.birthdate))]):e._e(),e.flag||"IdCard"===e.userInfo.credential.credentialType?e._e():t("el-date-picker",{attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",clearable:"",placeholder:"选择日期"},model:{value:e.formList.birthdate,callback:function(t){e.$set(e.formList,"birthdate",t)},expression:"formList.birthdate"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"民族:",prop:"nation"}},[e.flag?t("span",[e._v(e._s(e.formList.nation))]):e._e(),e.flag?e._e():t("el-select",{attrs:{clearable:""},model:{value:e.formList.nation,callback:function(t){e.$set(e.formList,"nation",t)},expression:"formList.nation"}},e._l(e.nationArr,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.label}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"文化程度:",prop:"education"}},[e.flag?t("span",[e._v(e._s(e.formList.education))]):e._e(),e.flag?e._e():t("el-select",{attrs:{clearable:""},model:{value:e.formList.education,callback:function(t){e.$set(e.formList,"education",t)},expression:"formList.education"}},e._l(e.educationArr,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.label}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"政治面貌:",prop:"politicsStatus"}},[e.flag?t("span",[e._v(e._s(e.formList.politicsStatus))]):e._e(),e.flag?e._e():t("el-select",{attrs:{clearable:""},model:{value:e.formList.politicsStatus,callback:function(t){e.$set(e.formList,"politicsStatus",t)},expression:"formList.politicsStatus"}},e._l(e.politicalStatusArr,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.label}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"户籍类型:",prop:"householdType"}},[e.flag?t("span",[e._v(e._s(e.formList.householdType))]):e._e(),e.flag?e._e():t("el-select",{attrs:{clearable:""},model:{value:e.formList.householdType,callback:function(t){e.$set(e.formList,"householdType",t)},expression:"formList.householdType"}},[t("el-option",{attrs:{label:"城镇",value:"城镇"}}),t("el-option",{attrs:{label:"农村",value:"农村"}})],1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"身高(CM):",prop:"stature"}},[e.flag?t("span",[e._v(e._s(e.formList.stature))]):e._e(),e.flag?e._e():t("el-input",{attrs:{type:"number",placeholder:"请输入",clearable:""},model:{value:e.formList.stature,callback:function(t){e.$set(e.formList,"stature",t)},expression:"formList.stature"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"籍贯:",prop:"nativePlace"}},[e.flag?t("span",[e._v(e._s(e.formList.nativePlaceStr))]):e._e(),e.flag?e._e():t("el-cascader",{attrs:{options:e.cityOptions,props:e.props,clearable:""},model:{value:e.formList.nativePlace,callback:function(t){e.$set(e.formList,"nativePlace",t)},expression:"formList.nativePlace"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"兵役情况:",prop:"militaryStatus"}},[e.flag?t("span",[e._v(e._s(e.formList.militaryStatus))]):e._e(),e.flag?e._e():t("el-select",{attrs:{clearable:""},model:{value:e.formList.militaryStatus,callback:function(t){e.$set(e.formList,"militaryStatus",t)},expression:"formList.militaryStatus"}},[t("el-option",{attrs:{label:"未服",value:"未服"}}),t("el-option",{attrs:{label:"服过",value:"服过"}})],1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"婚姻状况:",prop:"maritalStatus"}},[e.flag?t("span",[e._v(e._s(e.formList.maritalStatus))]):e._e(),e.flag?e._e():t("el-select",{attrs:{clearable:""},model:{value:e.formList.maritalStatus,callback:function(t){e.$set(e.formList,"maritalStatus",t)},expression:"formList.maritalStatus"}},[t("el-option",{attrs:{label:"未婚",value:"未婚"}}),t("el-option",{attrs:{label:"已婚",value:"已婚"}}),t("el-option",{attrs:{label:"离异",value:"离异"}}),t("el-option",{attrs:{label:"丧偶",value:"丧偶"}}),t("el-option",{attrs:{label:"其他",value:"其他"}})],1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"紧急联系人姓名:",prop:"emergencyContact"}},[e.flag?t("span",[e._v(e._s(e.formList.emergencyContact))]):e._e(),e.flag?e._e():t("el-input",{attrs:{placeholder:"请输入",clearable:""},model:{value:e.formList.emergencyContact,callback:function(t){e.$set(e.formList,"emergencyContact",t)},expression:"formList.emergencyContact"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"紧急联系人电话:",prop:"emergencyPhone"}},[e.flag?t("span",[e._v(e._s(e.formList.emergencyPhone))]):e._e(),e.flag?e._e():t("el-input",{attrs:{type:"number",placeholder:"请输入",clearable:""},model:{value:e.formList.emergencyPhone,callback:function(t){e.$set(e.formList,"emergencyPhone",t)},expression:"formList.emergencyPhone"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"驾照等级:",prop:"licenseLevel"}},[e.flag?t("span",[e._v(e._s(e.formList.licenseLevel))]):e._e(),e.flag?e._e():t("el-select",{attrs:{clearable:""},model:{value:e.formList.licenseLevel,callback:function(t){e.$set(e.formList,"licenseLevel",t)},expression:"formList.licenseLevel"}},[t("el-option",{attrs:{label:"无",value:"无"}}),t("el-option",{attrs:{label:"A1",value:"A1"}}),t("el-option",{attrs:{label:"A2",value:"A2"}}),t("el-option",{attrs:{label:"A3",value:"A3"}}),t("el-option",{attrs:{label:"B1",value:"B1"}}),t("el-option",{attrs:{label:"B2",value:"B2"}}),t("el-option",{attrs:{label:"C1",value:"C1"}}),t("el-option",{attrs:{label:"C2",value:"C2"}}),t("el-option",{attrs:{label:"C3",value:"C3"}}),t("el-option",{attrs:{label:"C4",value:"C4"}}),t("el-option",{attrs:{label:"C5",value:"C5"}}),t("el-option",{attrs:{label:"C6",value:"C6"}}),t("el-option",{attrs:{label:"D",value:"D"}}),t("el-option",{attrs:{label:"E",value:"E"}}),t("el-option",{attrs:{label:"F",value:"F"}}),t("el-option",{attrs:{label:"M",value:"M"}}),t("el-option",{attrs:{label:"N",value:"N"}}),t("el-option",{attrs:{label:"P",value:"P"}})],1)],1)],1),e.envTypeFlag?t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"疾病史:",prop:"diseasesHistory"}},[e.flag?t("span",[e._v(e._s(e.formList.diseasesHistory))]):e._e(),e.flag?e._e():t("el-input",{attrs:{placeholder:"请输入",clearable:""},model:{value:e.formList.diseasesHistory,callback:function(t){e.$set(e.formList,"diseasesHistory",t)},expression:"formList.diseasesHistory"}})],1)],1):e._e(),e.envTypeFlag?t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"从业年限:",prop:"workYear"}},[e.flag?t("span",[e._v(e._s(e.formList.workYear))]):e._e(),e.flag?e._e():t("el-input",{attrs:{type:"number",placeholder:"请输入",clearable:""},model:{value:e.formList.workYear,callback:function(t){e.$set(e.formList,"workYear",t)},expression:"formList.workYear"}},[t("template",{slot:"append"},[e._v("年")])],2)],1)],1):e._e(),e.showExtend?t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"所属单位:",prop:"unitKey"}},[e.flag?t("span",[e._v(e._s(e.formList.unitKey))]):e._e(),e.flag?e._e():t("el-input",{attrs:{placeholder:"请输入",clearable:""},on:{input:e.onChange},model:{value:e.formList.unitKey,callback:function(t){e.$set(e.formList,"unitKey",t)},expression:"formList.unitKey"}})],1)],1):e._e(),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"现住地址:",prop:"placeOfNowStraddress"}},[e.flag?t("span",[e._v(e._s(e.formList.placeOfNowStraddressString))]):e._e(),e.flag?e._e():t("el-cascader",{attrs:{options:e.cityOptions,clearable:""},on:{change:e.changeCity},model:{value:e.formList.placeOfNowStrCity,callback:function(t){e.$set(e.formList,"placeOfNowStrCity",t)},expression:"formList.placeOfNowStrCity"}}),e.flag?e._e():t("el-input",{attrs:{placeholder:"请输入详细地址",clearable:""},model:{value:e.formList.placeOfNowStraddress,callback:function(t){e.$set(e.formList,"placeOfNowStraddress",t)},expression:"formList.placeOfNowStraddress"}})],1)],1),e.showExtend?t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"兴趣爱好或擅长技能:",prop:"hobbiesKey"}},[e.flag?t("span",[e._v(e._s(e.formList.hobbiesKey))]):e._e(),e.flag?e._e():t("el-input",{attrs:{placeholder:"请输入",clearable:""},on:{input:e.onChange},model:{value:e.formList.hobbiesKey,callback:function(t){e.$set(e.formList,"hobbiesKey",t)},expression:"formList.hobbiesKey"}})],1)],1):e._e(),e.showExtend&&"中共党员"===e.formList.politicsStatus?t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"所属单位党组织名称:",prop:"orgKey"}},[e.flag?t("span",[e._v(e._s(e.formList.orgKey))]):e._e(),e.flag?e._e():t("el-input",{attrs:{placeholder:"请输入",clearable:""},on:{input:e.onChange},model:{value:e.formList.orgKey,callback:function(t){e.$set(e.formList,"orgKey",t)},expression:"formList.orgKey"}})],1)],1):e._e(),e.showExtend?t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"工作组:",prop:"workTeamKey"}},[e.flag?t("span",[e._v(e._s(e.formList.workTeamKey))]):e._e(),e.flag?e._e():t("el-select",{attrs:{clearable:""},on:{change:e.onChange},model:{value:e.formList.workTeamKey,callback:function(t){e.$set(e.formList,"workTeamKey",t)},expression:"formList.workTeamKey"}},[t("el-option",{attrs:{label:"情报信息收集",value:"情报信息收集",checked:"",disable:""}}),t("el-option",{attrs:{label:"治安巡逻防控",value:"治安巡逻防控"}}),t("el-option",{attrs:{label:"安全防范管理",value:"安全防范管理"}}),t("el-option",{attrs:{label:"基础信息采集",value:"基础信息采集"}}),t("el-option",{attrs:{label:"矛盾纠纷化解",value:"矛盾纠纷化解"}}),t("el-option",{attrs:{label:"重点人员帮教管控",value:"重点人员帮教管控"}}),t("el-option",{attrs:{label:"法律教育宣传",value:"法律教育宣传"}})],1)],1)],1):e._e(),e.showExtend?t("el-col",[t("el-form-item",{attrs:{label:"备注:",prop:"remarkKey"}},[e.flag?t("span",[e._v(e._s(e.formList.remarkKey))]):e._e(),e.flag?e._e():t("el-input",{attrs:{type:"textarea",rows:3,placeholder:"请输入内容",clearable:""},on:{input:e.onChange},model:{value:e.formList.remarkKey,callback:function(t){e.$set(e.formList,"remarkKey",t)},expression:"formList.remarkKey"}})],1)],1):e._e()],1)],1)],1)])},s=[],r=(A("d9e2"),A("14d9"),A("821e")),i={data(){let e=(e,t,A)=>{console.log(e),console.log(this.formList.placeOfNowStrCity),this.formList.placeOfNowStrCity&&0!=this.formList.placeOfNowStrCity.length&&""!=this.formList.placeOfNowStrCity[0]&&Boolean(this.formList.placeOfNowStraddress)?A():A(new Error("影响到相关证件的准确性,请务必填写"))};return{userInfo:{},formList:{},cityOptions:[],politicalStatusArr:[],educationArr:[],nationArr:[],sexArr:[],rules:{sex:[{required:!0,message:"必须填",trigger:"change"}],birthdate:[{required:!0,message:"必须填",trigger:"change"}],nation:[{required:!0,message:"必须填",trigger:"change"}],education:[{required:!0,message:"必须填",trigger:"change"}],politicsStatus:[{required:!0,message:"必须填",trigger:"change"}],stature:[{required:!0,message:"必须填",trigger:"change"}],nativePlace:[{required:!0,message:"必须填",trigger:"change"}],militaryStatus:[{required:!0,message:"必须填",trigger:"change"}],maritalStatus:[{required:!0,message:"必须填",trigger:"change"}],emergencyContact:[{required:!0,message:"必须填",trigger:"change"}],emergencyPhone:[{required:!0,message:"必须填",trigger:"change"}],placeOfNowStraddress:[{validator:e,required:!0,message:"影响到相关证件的准确性,请务必填写",trigger:"blur"}]},props:{label:"label",value:"label"},flag:!0,vals:[],homeTemplateBoradType:localStorage.getItem("homeTemplateBoradType")||"",envTypeFlag:!0,showExtend:!0}},mounted(){this.employessBaseInfo(),this.sassdictList(),this.cityOptionsList(),this.EnvFlag()},methods:{EnvFlag(){"rtpayTemplate"==this.homeTemplateBoradType&&(this.envTypeFlag=!1)},edit(){this.flag=!1},onChange(){this.$forceUpdate()},getExtensionValue(e){var t;const A=null===(t=this.formList.extensionList)||void 0===t?void 0:t.find(t=>t.extensionKey===e);return(null===A||void 0===A?void 0:A.extensionValue)||""},employessBaseInfo(){let e=this.$parent.$parent.staffinfo,t={domainId:this.$route.query.domainId};console.log(this.formList.placeOfNow),Object(r["pb"])(e,t).then(e=>{200==e.status&&(this.userInfo=e.data.userInfo,this.headPhoto=e.data.userInfo.headPhoto,this.formList=JSON.parse(JSON.stringify(e.data.userInfo)),Array.isArray(this.formList.nativePlace)||(this.formList.nativePlace=this.formList.nativePlace&&this.formList.nativePlace.split(","),this.formList.nativePlaceStr=this.formList.nativePlace&&this.formList.nativePlace.join(",")),this.formList.placeOfNow&&(this.formList.placeOfNowStraddressString=this.formList.placeOfNow.province.name+""+this.formList.placeOfNow.city.name+this.formList.placeOfNow.district.name+(this.formList.placeOfNow.address?this.formList.placeOfNow.address:""),this.formList.placeOfNowStrCity=[this.formList.placeOfNow.province.code,this.formList.placeOfNow.city.code,this.formList.placeOfNow.district.code],this.$set(this.formList,"placeOfNowStraddress",this.formList.placeOfNow.address),console.log(this.formList.placeOfNowStraddress)),this.formList.extensionList.length>0&&(this.formList.hobbiesKey=this.getExtensionValue("兴趣爱好或擅长技能"),this.formList.orgKey=this.getExtensionValue("所属单位党组织名称"),this.formList.unitKey=this.getExtensionValue("所属单位"),this.formList.workTeamKey=this.getExtensionValue("工作组"),this.formList.remarkKey=this.getExtensionValue("备注")),this.showExtend="140500"===this.formList.envRegionCode)})},sassdictList(){Object(r["Wb"])().then(e=>{200==e.status&&(console.log(e.data),this.politicalStatusArr=e.data.politicalStatus,this.educationArr=e.data.education,this.nationArr=e.data.nation,this.sexArr=e.data.sex)})},cityOptionsList(){Object(r["P"])().then(e=>{200==e.status&&(console.log(e.data),this.cityOptions=e.data)})},changeCity(e){console.log(e),this.vals=this.getCascaderObj(e,this.cityOptions),console.log(this.vals),this.$refs.form.validateField(["placeOfNowStraddress"])},getCascaderObj(e,t){return e.map((function(e){for(var A of t)if(A.value==e)return t=A.children,A;return null}))},save(){let e=this.userInfo;if(Array.isArray(this.formList.nativePlace)){let e=this.formList.nativePlace.join(",");this.$set(this.formList,"nativePlace",e)}console.log(this.formList.placeOfNow),0==this.vals.length&&this.formList.placeOfNow&&(this.vals.push({value:this.formList.placeOfNow.province.code,label:this.formList.placeOfNow.province.name}),this.vals.push({value:this.formList.placeOfNow.city.code,label:this.formList.placeOfNow.city.name}),this.vals.push({value:this.formList.placeOfNow.district.code,label:this.formList.placeOfNow.district.name}));let t=[{extensionKey:"所属单位",extensionValue:this.formList.unitKey},{extensionKey:"所属单位党组织名称",extensionValue:this.formList.orgKey},{extensionKey:"兴趣爱好或擅长技能",extensionValue:this.formList.hobbiesKey},{extensionKey:"工作组",extensionValue:this.formList.workTeamKey},{extensionKey:"备注",extensionValue:this.formList.remarkKey}];this.formList["extensionList"]=t,console.log("refs.form",this.$refs.form),this.$refs.form.validate(t=>{if(console.log(t),t){let t={address:this.formList.placeOfNowStraddress,province:{code:this.vals.length&&this.vals[0].value||"",name:this.vals.length&&this.vals[0].label||""},city:{code:this.vals.length&&this.vals[1].value||"",name:this.vals.length&&this.vals[1].label||""},district:{code:this.vals.length&&this.vals[2].value||"",name:this.vals.length&&this.vals[2].label||""}};console.log(t),this.$set(this.formList,"placeOfNow",t),console.log("formList",this.formList),this.showExtend?Promise.all([Object(r["Zb"])(e,this.formList),Object(r["ac"])(e.id,this.formList)]).then(([e,t])=>{200===e.status&&200===t.status?(this.flag=!0,this.employessBaseInfo()):console.error("API请求未全部成功",e,t)}).catch(e=>{console.error("API请求出错",e)}):Object(r["Zb"])(e,this.formList).then(e=>{200==e.status&&(this.flag=!0,this.employessBaseInfo())})}})}}},o=i,l=(A("cbdc"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,null,null);t["default"]=n.exports},1130:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-double",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("section",{staticClass:"contentBox"},[t("el-table",{ref:"districtTable",attrs:{data:e.tableData,"max-height":"500","default-expand-all":"","row-key":"id"}},e._l(e.tableColumn,(function(A,a){return A.show?t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label,width:A.width},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v(e._s(a.row[A.prop]))])]}}],null,!0)}):e._e()})),1),t("pages",{attrs:{total:e.params.total,currentPage:e.params.pageIndex,pageSize:e.params.pageSize},on:{"update:currentPage":function(t){return e.$set(e.params,"pageIndex",t)},"update:current-page":function(t){return e.$set(e.params,"pageIndex",t)},handleCurrentChangeSub:e.handleCurrentChange,handleSizeChangeSub:e.handleSizeChange}})],1)])},s=[],r=A("821e"),i={props:["showEmpRecorddialog"],watch:{showEmpRecorddialog(){this.dialogFormVisible=this.showEmpRecorddialog}},data(){return{title:"就职记录",dialogFormVisible:this.showEmpRecorddialog,OperType:0,formList:{},rules:{},params:{pageIndex:1,pageSize:10,ignorePermission:!0,employeeId:"",total:0},tableData:[],tableColumn:[{prop:"name",label:"姓名",width:"100",show:!0},{prop:"credentialType",label:"证件类型",width:"180",show:!0},{prop:"credentialNumber",label:"证件号",width:"180",show:!0},{prop:"occupationType",label:"职业类型",width:"100",show:!0},{prop:"status",label:"入/离职",width:"100",show:!0},{prop:"actionTime",label:"入/离职时间",width:"120",show:!0},{prop:"actionNode",label:"备注",width:"100",show:!0},{prop:"operatorName",label:"操作人",width:"180",show:!0},{prop:"operatorTime",label:"操作时间",width:"180",show:!0}]}},mounted(){},methods:{getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.formList=A,this.OperType=t,this.params.employeeId=this.formList.id,this.List()},List(){Object(r["kb"])(this.params).then(e=>{e.data&&(this.tableData=e.data.data,this.params.total=e.data.total)})},handleCurrentChange(e){console.log(e),this.params.pageIndex=e,this.List()},handleSizeChange(e){console.log(e),this.params.pageSize=e,this.List()},cancelForm(){this.$emit("update:showEmpRecorddialog",!1)}}},o=i,l=(A("1e9f"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,null,null);t["default"]=n.exports},1214:function(e,t,A){},"136b":function(e,t,A){"use strict";A.r(t),A.d(t,"validatePhone",(function(){return o}));var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"90px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"姓名:",prop:"name"}},[t("span",[e._v(e._s(e.formList.name))])])],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"手机号:",prop:"telephone"}},[t("span",[e._v(e._s(e.formList.telephone))])])],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"证件类型:",prop:"credentialType"}},[t("span",[e._v(" "+e._s("IdCard"==e.formList.credentialType?"居民身份证/户口簿":"")+" "+e._s("IdCardOfXiangGang"==e.formList.credentialType?"香港特区护照/身份证":"")+" "+e._s("IdCardOfAoMen"==e.formList.credentialType?"澳门特区护照/身份证明":"")+" "+e._s("IdCardOfTaiwan"==e.formList.credentialType?"台湾居民来往大陆通行证":"")+" "+e._s("Passport"==e.formList.credentialType?"外国护照":"")+" "+e._s("Arms"==e.formList.credentialType?"退伍军人证":"")+" "+e._s("PoliceNo"==e.formList.credentialType?"警号":"")+" ")])])],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"证件号码:",prop:"credentialNumber"}},[t("span",[e._v(e._s(e.formList.credentialNumber))])])],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.departlabel,prop:"departId"}},[t("selectTree",{ref:"selectTreeParent",attrs:{curValue:e.defaulDataParent,data:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",collapseTags:""},on:{getValue:e.checkChangeParent,selectClickT:e.selectClickT}})],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"职业类型:",prop:"occupationType"}},[t("el-select",{attrs:{placeholder:"请选择职业类型",clearable:""},model:{value:e.formList.occupationType,callback:function(t){e.$set(e.formList,"occupationType",t)},expression:"formList.occupationType"}},[t("el-option",{attrs:{label:"一般职员",value:"Normal"}}),t("el-option",{attrs:{label:"保安员",value:"SecurityGuard"}}),t("el-option",{attrs:{label:"警官",value:"Police"}})],1)],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"入职日期:",prop:"hiredDate"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",clearable:"",placeholder:"选择日期"},model:{value:e.formList.hiredDate,callback:function(t){e.$set(e.formList,"hiredDate",t)},expression:"formList.hiredDate"}})],1)],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)},s=[],r=(A("d9e2"),A("fb36")),i=A("821e");function o(e,t,A){setTimeout(()=>{/^[1][3,4,5,7,8,9][0-9]{9}$/.test(t)?A():A(new Error("请输入正确的手机号"))},500)}var l={props:["showdialogBack"],watch:{showdialogBack(){this.dialogFormVisible=this.showdialogBack,this.defaulDataParent=[]}},components:{selectTree:r["a"]},data(){return{title:"复职确认",dialogFormVisible:this.showdialogBack,OperType:0,formList:{},rules:{departId:[{required:!0,message:"请选择新入职"+$SuperviseStr.depart,trigger:"blur"}],occupationType:[{required:!0,message:"请选择职业类型",trigger:"blur"}],hiredDate:[{required:!0,message:"请选择入职日期",trigger:"blur"}]},defaulDataParent:"",defaulData:[],getTreeDepartlist:[],departlabel:`新入职${$SuperviseStr.depart}:`}},methods:{selectClickT(e){console.log(e),this.getTreeDepartlist=e},getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.formList=A,this.OperType=t},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"departId",e),console.log(this.formList.departId)},checkChange(e,t){},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},submitForm(){let e={number:this.formList.number,type:this.formList.type};this.formList.credential=e,console.log(this.formList);let t={domainId:this.$route.query.domainId};this.$refs.ruleForm.validate(e=>{if(!e)return!1;Object(i["h"])(this.formList,t).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})})},cancelForm(){this.$emit("update:showdialogBack",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},n=l,c=(A("aceb"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},"13d5":function(e,t,A){"use strict";var a=A("23e7"),s=A("d58f").left,r=A("a640"),i=A("2d00"),o=A("605d"),l=!o&&i>79&&i<83,n=l||!r("reduce");a({target:"Array",proto:!0,forced:n},{reduce:function(e){var t=arguments.length;return s(this,e,t,t>1?arguments[1]:void 0)}})},1652:function(e,t,A){"use strict";A("8e05")},"16fa":function(e,t,A){"use strict";A("e3ba")},1787:function(e,t,A){"use strict";var a=A("861d");e.exports=function(e){return a(e)||null===e}},"18b7":function(e,t,A){"use strict";A.r(t),A.d(t,"validatePhone",(function(){return o}));var a=function(){var e=this,t=e._self._c;return t("section",[t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-double el-dialog-moveSuper",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("section",{staticClass:"remarkBox"},[t("div",{staticClass:"remarkInfo"},[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),t("span",[e._v(" 1. 要离职的"+e._s(e.$SuperviseStr.employee)+"中以下人员为其他"+e._s(e.$SuperviseStr.employee)+"的上级,请先转移上级身份到新的"+e._s(e.$SuperviseStr.employee)+"或选择删除上级身份后再离职。"),t("br"),e._v(" 2. 删除上级身份后,原下级"+e._s(e.$SuperviseStr.employee)+"的“上级”信息将被清空,转为无上级状态。 ")])])]),t("el-form",{ref:"ruleForm",attrs:{"label-width":"90px",model:e.formList,rules:e.rules}},[t("el-table",{ref:"districtTable",attrs:{data:e.newRowData,"max-height":"750"}},[t("el-table-column",{attrs:{label:"姓名",prop:"name",width:"200"}}),t("el-table-column",{attrs:{label:"转移给新上级",prop:"",width:"300"},scopedSlots:e._u([{key:"default",fn:function(A){return[t("el-select",{attrs:{filterable:"","filter-method":e.filterMethod,clearable:"",disabled:A.row.newdisabled,placeholder:"请选择"},on:{change:e.selectUser},model:{value:A.row.newSuperiorId,callback:function(t){e.$set(A.row,"newSuperiorId",t)},expression:"scope.row.newSuperiorId"}},e._l(e.tableDataEmployee,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)]}}])}),t("el-table-column",{attrs:{label:"",prop:"",width:""},scopedSlots:e._u([{key:"default",fn:function(A){return[t("span",[t("el-checkbox",{on:{change:function(t){return e.delCheck(A.row)}},model:{value:A.row.check,callback:function(t){e.$set(A.row,"check",t)},expression:"scope.row.check"}},[e._v("删除上级身份")])],1)]}}])})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)],1)},s=[],r=(A("d9e2"),A("14d9"),A("fb36")),i=A("821e");function o(e,t,A){setTimeout(()=>{/^[1][3,4,5,7,8,9][0-9]{9}$/.test(t)?A():A(new Error("请输入正确的手机号"))},500)}var l={props:["showdialogMoveSuper","getTreeDepartlist"],watch:{showdialogMoveSuper(){this.dialogFormVisible=this.showdialogMoveSuper,this.defaulDataParent=[]}},components:{selectTree:r["a"]},data(){return{title:"转移上级身份",dialogFormVisible:this.showdialogMoveSuper,OperType:0,formList:{},params:{pageIndex:1,pageSize:10,keyword:"",total:0},rules:{},defaulDataParent:"",defaulData:[],tableDataEmployee:[],newRowData:[]}},methods:{getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));console.log(A),this.newRowData=A,this.newRowData.forEach(e=>{this.$set(e,"check",!1),this.$set(e,"newdisabled",!1),this.$set(e,"newSuperiorId",null),this.$set(e,"originalSuperiorId",e.id)}),console.log(this.newRowData),this.OperType=t,this.getTreeData(this.getTreeDepartlist),this.employeeTableList()},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"departId",e),console.log(this.formList.departId)},checkChange(e,t){},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},employeeTableList(){let e={domainId:this.$route.query.domainId};Object(i["mb"])(this.params,e).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},filterMethod(e){console.log(e),this.params.keyword=e;let t={domainId:this.$route.query.domainId};Object(i["mb"])(this.params,t).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},selectUser(e){console.log(e)},delCheck(e){console.log(e),e.check?(e.newdisabled=!0,e.newSuperiorId=null):e.newdisabled=!1},submitForm(){let e=[];this.newRowData.forEach(t=>{let A={};A.originalSuperiorId=t.originalSuperiorId,A.newSuperiorId=t.newSuperiorId,e.push(A)});let t={domainId:this.$route.query.domainId};this.$refs.ruleForm.validate(A=>{if(!A)return!1;this.$confirm(`即将对选择的${$SuperviseStr.employee}进行离职,提交后无法恢复,是否继续?`,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(i["j"])(e,t).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.newRowData));this.$emit("refurlist",e),this.cancelForm()}})}).catch(e=>{console.log(e),console.log(e.response)})})},cancelForm(){this.$emit("update:showdialogMoveSuper",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},n=l,c=(A("ce3b"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},"1ac4":function(e,t,A){"use strict";A("1ad8")},"1ad8":function(e,t,A){},"1ae8":function(e,t,A){},"1b23":function(e,t,A){},"1bad":function(e,t,A){"use strict";A("4852")},"1d7c":function(e,t,A){},"1dc3":function(e,t,A){"use strict";A("36b4")},"1e9f":function(e,t,A){"use strict";A("a498")},"1f4c":function(e,t,A){},"1fc4":function(e,t,A){"use strict";A("1f4c")},"20a5":function(e,t,A){"use strict";A("6383")},"20f2":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"staffBoxDetailContent"},[t("section",[t("el-page-header",{attrs:{content:e.staffinfo.name},on:{back:e.goBack}})],1),t("section",{staticClass:"staffListInfo"},[t("section",{staticClass:"staffLeft"},[t("ul",e._l(e.tablist,(function(A,a){return t("li",{key:a,class:{active:e.cateIndex==a},on:{click:function(t){return e.goAnchor(a)}}},[e._v(" "+e._s(A.name)+" ")])})),0)]),t("section",{staticClass:"staffRight",style:{height:e.height}},["0601"==e.institutionalCode||e.institutionalCode.startsWith("04")||e.institutionalCode.startsWith("07")?t("el-scrollbar",{ref:"scrollbar",staticStyle:{height:"100%"}},[t("section",{staticClass:"baseInfo sectionBox"},[t("baseInfo")],1),t("section",{staticClass:"officeInfo sectionBox"},[t("officeInfo")],1),t("section",{staticClass:"certInfo sectionBox"},[t("certInfo")],1),t("section",{staticClass:"employeeRecordsInfo sectionBox"},[t("employeeRecordsInfo")],1)]):e.institutionalCode.endsWith("07")||e.institutionalCode.endsWith("08")||e.institutionalCode.endsWith("09")?t("el-scrollbar",{ref:"scrollbar",staticStyle:{height:"100%"}},[t("section",{staticClass:"baseInfo sectionBox"},[t("baseInfo")],1),t("section",{staticClass:"officeInfo sectionBox"},[t("officeInfo")],1),t("section",{staticClass:"detailInfo sectionBox"},[t("detailInfo")],1),t("section",{staticClass:"certInfo sectionBox"},[t("certInfo")],1),t("section",{staticClass:"picInfo sectionBox"},[t("picInfo")],1)]):t("el-scrollbar",{ref:"scrollbar",staticStyle:{height:"100%"}},[t("section",{staticClass:"baseInfo sectionBox"},[t("baseInfo")],1),t("section",{staticClass:"officeInfo sectionBox"},[t("officeInfo")],1),t("section",{staticClass:"detailInfo sectionBox"},[t("detailInfo")],1),t("section",{staticClass:"certInfo sectionBox"},[t("certInfo")],1),e.flag?t("section",{staticClass:"contractInfo sectionBox"},[t("contractInfo")],1):e._e(),e.flag?t("section",{staticClass:"certlistInfo sectionBox"},[t("certlistInfo")],1):e._e(),e.flag&&e.flag2?t("section",{staticClass:"safelistInfo sectionBox"},[t("safelistInfo")],1):e._e(),e.flag&&e.flag2?t("section",{staticClass:"employeeRecordsInfo sectionBox"},[t("employeeRecordsInfo")],1):e._e(),e.flag?t("section",{staticClass:"employeeRecordsInfo sectionBox"},[t("mentalTestInfo")],1):e._e(),e.flag2?t("section",{staticClass:"picInfo sectionBox"},[t("picInfo")],1):e._e()])],1)])])},s=[],r=A("8bb2"),i=A("5f91"),o=A("10ff"),l=A("2cc3"),n=A("2f57"),c=A("475c"),d=A("2b78"),p=A("24c4"),h=A("b776"),u=A("cacf"),m={props:{staffinfo:{type:Object,default(){return{}}}},components:{baseInfo:r["default"],officeInfo:i["default"],detailInfo:o["default"],certInfo:l["default"],contractInfo:n["default"],certlistInfo:c["default"],safelistInfo:d["default"],picInfo:p["default"],employeeRecordsInfo:u["default"],mentalTestInfo:h["default"]},data(){return{tablist:[],cateIndex:0,height:"",network:localStorage.getItem("__network__")||"false",isnotSuperviseTabFlag:$SuperviseStr.isnotSuperviseTab,homeTemplateBoradType:localStorage.getItem("homeTemplateBoradType")||"",flag:!1,flag2:!1,institutionalCode:localStorage.getItem("institutionalCode")||""}},mounted(){localStorage.getItem("appidSupervise")&&"__d1qEDy3wYq8VF5KvUoE"==JSON.parse(localStorage.getItem("appidSupervise")).appId?(this.tablist=[{name:"基本信息"},{name:"就职信息"},{name:"详细信息"},{name:"证件信息"},{name:"就职记录"},{name:"图像材料"}],this.flag=!1,this.flag2=!0):"rtpayTemplate"==this.homeTemplateBoradType?(this.tablist=[{name:"基本信息"},{name:"就职信息"},{name:"详细信息"},{name:"证件信息"},{name:"合同信息"},{name:"证书信息"}],this.flag=!0,this.flag2=!1):"0601"==this.institutionalCode||this.institutionalCode&&this.institutionalCode.startsWith("04")||this.institutionalCode&&this.institutionalCode.startsWith("07")?(this.tablist=[{name:"基本信息"},{name:"就职信息"},{name:"证件信息"},{name:"就职记录"}],this.flag=!0,this.flag2=!1):this.institutionalCode&&this.institutionalCode.endsWith("07")||this.institutionalCode&&this.institutionalCode.endsWith("08")||this.institutionalCode&&this.institutionalCode.endsWith("09")?(this.tablist=[{name:"基本信息"},{name:"就职信息"},{name:"详细信息"},{name:"证件信息"},{name:"图像材料"}],this.flag=!0,this.flag2=!1):(this.tablist=[{name:"基本信息"},{name:"就职信息"},{name:"详细信息"},{name:"证件信息"},{name:"合同信息"},{name:"证书信息"},{name:"保险信息"},{name:"就职记录"},{name:"心理测评"},{name:"图像材料"}],this.flag=!0,this.flag2=!0),this.height=document.documentElement.clientHeight-90+"px",window.onresize=()=>()=>{this.height=document.documentElement.clientHeight-90+"px"},this.handleScroll()},methods:{goBack(){this.$parent.StaffBoxFlag=!0,this.$emit("refurlistBack",{})},goAnchor(e){document.querySelectorAll(".staffRight section.sectionBox")[e].scrollIntoView(),this.cateIndex=e},handleScroll(){let e=this.$refs.scrollbar.wrap;e.onscroll=()=>{let t=document.querySelectorAll(".staffRight section.sectionBox");for(let A=t.length-1;A>=0;A--){let a=e.scrollTop>=t[A].offsetTop-t[0].offsetTop;if(a){this.cateIndex=A;break}}}}}},g=m,f=(A("757f"),A("2877")),w=Object(f["a"])(g,a,s,!1,null,null,null);t["default"]=w.exports},2150:function(e,t,A){},2251:function(e,t,A){},"232a":function(e,t,A){"use strict";A("439b")},"23ed":function(e,t,A){},"24c4":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("section",{staticClass:"staffBoxFlex"},[e._m(0),t("div",{staticClass:"staffContext staffPic"},[t("div",[t("strong",[e._v("一寸免冠白底彩照:")]),t("el-avatar",{staticStyle:{width:"200px",height:"auto"},attrs:{src:e.userInfo.oneInchColorWhitePhoto}},[t("img",{attrs:{src:A("de29")}})])],1),t("div",[t("strong",[e._v("两寸免冠蓝底彩照:")]),t("el-avatar",{staticStyle:{width:"200px",height:"auto"},attrs:{src:e.userInfo.twoInchColorBluePhoto}},[t("img",{attrs:{src:A("de29")}})])],1)])])},s=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"staffTitle"},[t("strong",[e._v("图像材料")])])}],r=A("821e"),i={data(){return{userInfo:{}}},mounted(){this.employessBaseInfo()},methods:{employessBaseInfo(){let e=this.$parent.$parent.staffinfo,t={domainId:this.$route.query.domainId};Object(r["pb"])(e,t).then(e=>{200==e.status&&(this.userInfo=e.data.userInfo,this.userInfo.oneInchColorWhitePhoto&&-1==this.userInfo.oneInchColorWhitePhoto.indexOf("http")&&(this.userInfo.oneInchColorWhitePhoto=location.origin+"/obpm"+this.userInfo.oneInchColorWhitePhoto),this.userInfo.twoInchColorBluePhoto&&-1==this.userInfo.twoInchColorBluePhoto.indexOf("http")&&(this.userInfo.twoInchColorBluePhoto=location.origin+"/obpm"+this.userInfo.twoInchColorBluePhoto))})}}},o=i,l=(A("20a5"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,null,null);t["default"]=n.exports},"251b":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("el-popover",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.replyOutside,expression:"replyOutside"}],attrs:{"popper-class":"selectTree",placement:"bottom-start",width:e.popoverWidth,trigger:"manual"},on:{hide:e.popoverHide},model:{value:e.isShowSelect,callback:function(t){e.isShowSelect=t},expression:"isShowSelect"}},[t("div",{staticClass:"pdlr_1"},[e.filterable?t("el-input",{staticClass:"mb_5",attrs:{placeholder:"搜索"},model:{value:e.filterText,callback:function(t){e.filterText=t},expression:"filterText"}}):e._e()],1),e.isShowSelect?t("el-tree",{ref:"tree",staticClass:"common-tree",attrs:{indent:(e.multiple,10),width:e.width,data:e.filteredTreeData,"filter-node-method":e.filterNode,"show-checkbox":e.multiple,"check-strictly-rm":e.checkStrictly,"check-strictly":!0,props:e.treeBindProps,"node-key":e.treeBindProps.id,"default-expanded-keys":e.selectedExpandValues,"default-checked-keys":e.selectedOptionValues,"default-expand-all":e.defaulExpandAll,"expand-on-click-node":e.multiple&&e.expandClickNode,"check-on-click-node":e.checkClickNode,"highlight-current":!0},on:{"check-change":e.treeChanged}}):e._e(),t("el-select",{ref:"select",staticClass:"tree-select",attrs:{slot:"reference",size:e.size,"node-key":"id",multiple:e.multiple,clearable:e.clearable,"collapse-tags":e.collapseTags,"reserve-keyword":"",placeholder:e.placeholder},on:{"remove-tag":e.removeSelectedTag,clear:e.clean},nativeOn:{click:function(t){return e.selectClick.apply(null,arguments)}},slot:"reference",model:{value:e.selectedOptionValues,callback:function(t){e.selectedOptionValues=t},expression:"selectedOptionValues"}},[e._l(e.selectedOptions,(function(e,A){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),t("template",{slot:"empty"},[e._v("稍等, 数据加载中...")])],2)],1)],1)},s=[],r=(A("14d9"),A("9169")),i=(A("821e"),{directives:{Clickoutside:r["a"]},props:{filterable:{type:Boolean,default(){return!1}},placeholder:{type:String,default(){return"请选择"}},multiple:{type:Boolean,default(){return!1}},clearable:{type:Boolean,default(){return!1}},collapseTags:{type:Boolean,default(){return!1}},checkStrictly:{type:Boolean,default(){return!1}},checkClickNode:{type:Boolean,default(){return!0}},expandClickNode:{type:Boolean,default(){return!1}},defaulExpandAll:{type:Boolean,default(){return!1}},size:{type:String,default(){return"small"}},width:{type:String,default(){return"100%"}},height:{type:String,default(){return"300px"}},defaultSelectedValues:{type:Array,default(){return[]}},treeData:{type:Array,default(){return[]}},treeBindProps:{type:Object,required:!1,default:()=>({id:"id",label:"name",children:"children"})}},emits:["loadingTreeDataEventHandler"],data(){return{popoverWidth:"0px",isShowSelect:!1,options:[],returnDatas:[],returnDataKeys:[],filterText:"",checkedAll:!1,treeArrId:[],selectedExpandValues:this.defaultSelectedValues,selectedOptionValues:[],selectedOptions:{},selectedPlaceHolder:"稍等, 数据加载中..."}},mounted(){},computed:{filteredTreeData(){var e=this;return e.refreshDefaultSelectedTreeValue(),e.treeData}},watch:{returnDataKeys(e,t){e.length===this.treeArrId.length?this.checkedAll=!0:this.checkedAll=!1},filterText(e){this.$refs.tree.filter(e)},isShowSelect(e){this.$refs.select.blur()},selectedExpandValues(e,t){}},created(){this.treeArrId=[]},methods:{removeSelectedTag(){},originTree(e){},replyOutside(e){let t=e||window.event;t.target;t.target.parentNode.querySelector(".selectTree *")||t.target.parentNode.querySelector(".selectTree")||this.isShowSelect&&(this.isShowSelect=!1)},filterNode(e,t){},selectClick(){this.loadingDepartments(),this.$nextTick((function(){this.popoverWidth=this.$refs.select.$el.clientWidth})),this.isShowSelect=!this.isShowSelect,this.isShowSelect&&(this.$emit("loadingTreeDataEventHandler",""),this.refreshDefaultSelectedTreeValue(!0))},loadingDepartments(){console.log("点击加载部门数据")},buildSelectedTreeNodes(e,t,A){var a,s=this;if(!e)return console.log("无效数据"),void console.log(e);if(t?(A.options.push(e),A.returnDataKeys.push(e.id)):(A.options=A.options.filter(t=>t.id!=e.id),A.returnDataKeys=A.returnDataKeys.filter(t=>t!=e.id)),(null===(a=e.children)||void 0===a?void 0:a.length)>0)for(var r=0;r<(null===(i=e.children)||void 0===i?void 0:i.length);r++){var i,o=e.children[r];s.buildSelectedTreeNodes(o,t,A)}},clean(){this.$refs.tree.setCurrentKey(null),this.returnDatas=null,this.returnDataKeys="",this.popoverHide()},popoverHide(){this.$emit("getValue",this.selectedOptionValues,this.returnDatas)},treeChanged(e,t){console.log("treeChanged",arguments);var A=this;t?A.selectedOptions[e.id]||(A.selectedOptions[e.id]=e,A.selectedOptionValues.push(e.id)):(delete A.selectedOptions[e.id],A.selectedOptionValues=A.selectedOptionValues.filter(t=>t!=e.id)),console.log("选中后的数据为:",t,A.selectedOptions,A.selectedOptionValues)},refreshDefaultSelectedTreeValue(e){var t,A=this;if(0==(null===(t=A.selectedExpandValues)||void 0===t?void 0:t.length)&&A.treeData.length>0)A.selectedExpandValues.push(A.treeData[0].id);else{A.selectedExpandValues=[];for(var a=0;a{A([{id:31,date:"2016-05-01",name:"王小虎",address:"上海市普陀区金沙江路 1519 弄"},{id:32,date:"2016-05-01",name:"王小虎",address:"上海市普陀区金沙江路 1519 弄"}])},1e3)}}},i=r,o=A("2877"),l=Object(o["a"])(i,a,s,!1,null,null,null);t["default"]=l.exports},2835:function(e,t,A){"use strict";A.r(t);var a=function(){var e,t=this,a=t._self._c;return a("div",{staticClass:"ContainerBox tableAlign"},[a("section",{staticClass:"buttonBox"},[a("el-row",{attrs:{type:"flex"}},[a("div",{staticStyle:{color:"red"}},[a("div",[t._v("注意")]),a("div",{staticStyle:{"margin-top":"12px"}},[t._v("事项")])]),a("div",{staticStyle:{color:"gray","margin-left":"12px"}},[a("div",[t._v(" 1. 用户获得对应角色之后,就可以获得该角色的对应功能权限,重新登录系统后即可查看对应功能; ")]),a("div",{staticStyle:{"margin-top":"12px"}},[t._v(" 2. 在【功能授权】菜单中给用户已配置的功能权限不受角色授权影响。 ")])])])],1),a("section",{staticClass:"contentBox",staticStyle:{display:"flex","justify-content":"space-between","margin-top":"16px"}},[a("div",{staticClass:"left",staticStyle:{width:"250px"}},[a("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[a("el-input",{attrs:{placeholder:"搜索角色名称","prefix-icon":"el-icon-search"},model:{value:t.inputRoleVb,callback:function(e){t.inputRoleVb=e},expression:"inputRoleVb"}},[a("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.search},slot:"append"})],1),a("el-button",{staticStyle:{"margin-left":"6px"},attrs:{icon:"el-icon-d-caret"},on:{click:t.sortRole}})],1),a("div",{staticStyle:{display:"flex","justify-content":"space-between","margin-top":"12px"}},[a("el-button",{staticStyle:{width:"115px"},on:{click:function(e){return t.editDept({},0)}}},[t._v(" 新增角色")]),a("el-dropdown",[a("el-button",{staticStyle:{width:"115px","margin-left":"6px"}},[t._v(" 批量操作")]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("div",{on:{click:function(e){t.batchDeleteVb=!0}}},[t._v("批量删除")])])],1)],1)],1),a("div",{staticStyle:{"margin-top":"12px","max-height":"500px",overflow:"auto"}},t._l(t.leftList,(function(e){return a("div",{key:e.id,staticClass:"item-f",class:{actived:e.id===t.activeRole.id}},[a("div",{staticStyle:{cursor:"pointer",flex:"1"},on:{click:()=>{t.params.pageIndex=1,t.tableData=[],t.getRoleUserList(e)}}},[t._v(" "+t._s(e.roleName)+" ")]),a("el-dropdown",[a("el-button",{attrs:{type:"text",size:"small"}},[t._v(" 操作 ")]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[a("div",{on:{click:function(A){return t.editDept(e,3)}}},[t._v("查看角色详情")])]),a("el-dropdown-item",[a("div",{on:{click:function(A){return t.setPt([{userName:e.roleName,roleId:e.id}])}}},[t._v(" 配置功能权限 ")])]),a("el-dropdown-item",[a("div",{on:{click:function(A){return t.editDept(e,2)}}},[t._v("编辑角色")])]),a("el-dropdown-item",[a("div",{on:{click:function(A){return t.editDept(e,1)}}},[t._v("复制角色")])]),a("el-dropdown-item",[a("div",{on:{click:function(A){return t.delDept(e)}}},[t._v("删除角色")])])],1)],1)],1)})),0)]),a("div",{staticStyle:{flex:"1","margin-left":"16px"}},[a("div",{staticStyle:{"font-size":"16px","margin-bottom":"29px"}},[t._v(" "+t._s(t.activeRole.roleName)+"角色成员列表 ")]),a("div",{staticStyle:{margin:"16px 0"}},[a("el-button",{attrs:{type:"primary"},on:{click:t.getDepartmentList}},[t._v(" 添加成员")]),a("el-button",{on:{click:function(e){return t.batchImportVbAction(!1)}}},[t._v(" 批量导入成员")]),a("el-button",{on:{click:t.batchRemoveMeber}},[t._v(" 批量移除成员")])],1),t.multipleSelection.length?a("section",{staticClass:"TableSelectBox"},[a("span",[a("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),t._v("已选中:"),t._l(t.multipleSelection,(function(e,A){return a("span",{key:A},[t._v(t._s(e.userName)),A!=t.multipleSelection.length-1?a("b",[t._v(",")]):t._e()])}))],2)]):t._e(),a("el-table",{ref:"districtTable",attrs:{data:t.tableData,"max-height":"500","row-key":"id"},on:{"selection-change":t.handleSelectionChange,"select-all":t.handleSelectionAllChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),t._l(t.tableColumn,(function(e,A){return a("el-table-column",{key:A,attrs:{prop:e.prop,label:e.label,width:e.width,align:e.align},scopedSlots:t._u([{key:"default",fn:function(A){return["应用权限"==e.label?a("div",[a("el-tooltip",{staticClass:"item",attrs:{content:A.row[e.prop],placement:"top-start"}},[a("div",{staticClass:"two-elp"},[t._v(" "+t._s(A.row[e.prop])+" ")])])],1):a("span",[t._v(t._s(A.row[e.prop]))])]}}],null,!0)})}))],2),a("pages",{attrs:{total:t.params.total,currentPage:t.params.pageIndex,pageSize:t.params.pageSize},on:{"update:currentPage":function(e){return t.$set(t.params,"pageIndex",e)},"update:current-page":function(e){return t.$set(t.params,"pageIndex",e)},handleCurrentChangeSub:t.handleCurrentChange,handleSizeChangeSub:t.handleSizeChange}})],1)]),a("Detail",{attrs:{showdialog:t.showdialogImport,type:t.type,data:t.rowOne},on:{callBack:t.search,"update:showdialog":function(e){t.showdialogImport=e}}}),a("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticStyle:{width:"70%",margin:"auto"},attrs:{title:"批量删除角色",visible:t.batchDeleteVb,center:"","close-on-click-modal":!1},on:{close:function(e){t.batchDeleteVb=!1}}},[a("div",{staticStyle:{margin:"0 0 16px 0"}},[t._v(" 选择需要 "),a("span",{staticStyle:{color:"red"}},[t._v("删除")]),t._v("的角色,删除前请确认该属于该角色的成员 "),a("span",{staticStyle:{color:"red"}},[t._v("已全部移除。")])]),a("el-table",{ref:"roleMainList",attrs:{data:t.leftList,"max-height":"400","row-key":"id"},on:{"selection-change":t.roleMainListhandleSelectionChange,"select-all":t.roleMainListhandleSelectionAllChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),a("el-table-column",{attrs:{prop:"roleName",label:"角色名称",width:"150"}}),a("el-table-column",{attrs:{prop:"remark",label:"角色说明"}}),a("el-table-column",{attrs:{prop:"createTime",label:"创建时间"}})],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"danger"},on:{click:function(e){return t.delDept()}}},[t._v("确定删除")]),a("el-button",{on:{click:function(e){t.batchDeleteVb=!1}}},[t._v("取 消")])],1)],1),a("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticStyle:{width:"60%",margin:"auto"},attrs:{title:t.roleOrMeberFlag?"批量导入角色":"批量导入成员",visible:t.batchImportVb,center:"","close-on-click-modal":!1},on:{close:function(e){t.batchImportVb=!1}}},[a("div",{staticStyle:{margin:"36px","text-align":"center"}},[a("div",[t._v(" 请点击下载模板按钮下载批量导入文件,编辑完善后上传完成导入 ")]),a("div",{staticStyle:{margin:"18px",display:"flex","justify-content":"center"}},[a("el-button",{attrs:{type:"primary"},on:{click:t.downloadTemp}},[t._v(" 下载模板")]),a("el-upload",{ref:"upload",attrs:{limit:1,accept:".xls","before-upload":t.beforeUpload,"http-request":t.uploadImg,"show-file-list":!0},on:{"on-remove":function(e){t.uploadloading=!1}}},[a("el-button",{staticStyle:{"margin-left":"18px"},attrs:{loading:t.uploadloading}},[t._v(" "+t._s(t.uploadloading?"上传中":"上传模板")+" ")])],1)],1),a("div",{staticStyle:{"margin-top":"26px",color:"gray"}},[t._v(" 注意:文档文件大小需控制在5M以下,一次上传一个文件 ")])])]),a("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticStyle:{width:"100%",margin:"auto"},attrs:{title:"选择需要添加的成员",visible:t.chooseVb,center:"","close-on-click-modal":!1},on:{close:function(e){t.chooseVb=!1}}},[a("div",{staticStyle:{display:"flex","justify-content":"space-between","max-height":"400px","min-height":"400px",overflow:"auto"}},[a("div",{staticStyle:{flex:"1"}},[a("el-input",{attrs:{placeholder:"搜索","prefix-icon":"el-icon-search"},model:{value:t.inputchooseVb,callback:function(e){t.inputchooseVb=e},expression:"inputchooseVb"}}),a("div",{staticStyle:{margin:"16px 0"}},[t._v("选择需要添加的成员")]),a("el-tree",{ref:"tree",attrs:{props:{label:"name",children:"children"},"expand-on-click-node":!1,data:t.dpTreeData,"default-expanded-keys":null!==(e=t.dpTreeData[0])&&void 0!==e&&e.id?[t.dpTreeData[0].id]:[],"filter-node-method":t.filterNode,"node-key":"id"},scopedSlots:t._u([{key:"default",fn:function({node:e,data:s}){return a("div",{staticClass:"custom-tree-node",staticStyle:{display:"flex",width:"100%","justify-content":"space-between","align-items":"center",margin:"6px 0"}},[a("div",{staticStyle:{margin:"0 2px",display:"flex","justify-content":"space-between","align-items":"center"}},[a("img",{staticStyle:{width:"20px",height:"20px","border-radius":"5%","margin-right":"6px"},attrs:{src:A("4694")}}),t._v(" "+t._s(e.label)+" ")]),a("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(A){return t.getMeberList(e)}}},[t._v(" 查看人员 ")])],1)}}])})],1),a("div",{staticStyle:{"border-left":"1px solid rgba(211, 211, 211, 0.452)",margin:"0 16px"}}),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadingcheckedData,expression:"loadingcheckedData"}],staticStyle:{flex:"1",overflow:"auto"}},[a("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[a("span",[t._v("已选择人员")]),a("el-button",{attrs:{type:"text"},on:{click:t.deleteAllTag}},[t._v("清除")])],1),t._l(t.chooseData,(function(e,A){return a("el-tag",{key:e.id,staticStyle:{margin:"4px"},attrs:{closable:"",type:"info"},on:{close:function(e){return t.deleteTag(A)}}},[t._v(" "+t._s(e.name)+" ")])}))],2)]),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.sureAdd()}}},[t._v("确定添加")]),a("el-button",{on:{click:function(e){t.chooseVb=!1}}},[t._v("取 消")])],1)]),a("UserDeptDialog",{ref:"UserpopChildren",attrs:{showdialogUser:t.showdialogUser},on:{"update:showdialogUser":function(e){t.showdialogUser=e},"update:showdialog-user":function(e){t.showdialogUser=e},filterChooseData:t.filterChooseData}}),a("UserAuthDialog",{ref:"userauthdialog"})],1)},s=[],r=(A("88a7"),A("271a"),A("5494"),A("14d9"),A("821e")),i=A("d494"),o=A("634e"),l=A("30be"),n={data(){return{inputRoleVb:"",inputchooseVb:"",count:1,chooseVb:!1,roleOrMeberFlag:!0,uploadloading:!1,batchImportVb:!1,batchDeleteVb:!1,leftList:[],expandRow:[],tableData:[],multipleSelection:[],tableColumn:[{prop:"userName",label:"姓名",show:!0},{prop:"mobile",label:"手机号",align:"center",show:!0},{prop:"departName",label:"所在部门",align:"center",show:!0},{prop:"occupationType",label:"职业类型",align:"center",show:!0},{prop:"addRoleTime",label:"添加时间",align:"center",show:!0}],showdialog:!1,showdialogImport:!1,rowOne:{},isAllSelect:!1,type:0,params:{pageIndex:1,pageSize:10,keyword:"",roleId:[]},roleMainListmultipleSelection:[],organizationId:localStorage.domainId,activeRole:{},dpTreeData:[],loadingcheckedData:!1,chooseData:[],showdialogUser:!1}},components:{Detail:l["default"],UserDeptDialog:i["default"],UserAuthDialog:o["default"]},mounted(){this.search()},watch:{inputchooseVb(e){this.$refs.tree.filter(e)}},methods:{downloadTemp(){Object(r["gb"])(this.organizationId).then(e=>{const t=e,A=new Blob([t]),a="导入成员模板.xls";if("download"in document.createElement("a")){const e=document.createElement("a");e.download=a,e.style.display="none",e.href=URL.createObjectURL(A),document.body.appendChild(e),e.click(),URL.revokeObjectURL(e.href),document.body.removeChild(e)}else navigator.msSaveBlob(A,a)})},filterChooseData(e=[]){let t=[],A=new Set(this.chooseData.map(e=>e.id));e.forEach(e=>{A.has(e.id)||t.push(e),A.add(e.id)}),t.length&&(this.chooseData=this.chooseData.concat(t))},filterNode(e,t){return!e||-1!==t.name.indexOf(e)},sortRole(){this.leftList.length>1&&(this.leftList[0].seq>=this.leftList[1].seq?(this.$message.success("已按排序值升序排列"),this.leftList.sort((e,t)=>e.seq-t.seq)):(this.$message.success("已按排序值降序排列"),this.leftList.sort((e,t)=>t.seq-e.seq)))},setPt(e){this.$refs.userauthdialog.open(e,"single",!0)},sureAdd(){Object(r["C"])({employeeIdList:this.chooseData.map(e=>e.id),roleIdList:[this.activeRole.id]},this.organizationId).then(e=>{200==e.status&&(this.$message.success("添加成功"),this.chooseVb=!1,this.getRoleUserList(this.activeRole))})},deleteAllTag(){this.chooseData=[]},deleteTag(e){this.chooseData.splice(this.chooseData.indexOf(e),1)},getMeberList({data:e}){this.showdialogUser=!0,this.$refs.UserpopChildren.getTableRow(e,0)},sortTableData(e){e.length&&e.forEach(e=>{e.displayOrderNumber=e.displayOrder;let t=[];e.allowedDeparts&&e.allowedDeparts.length&&(e.allowedDeparts.forEach(e=>{t.push(e.name)}),e.allowedDepartsStr=t.join(",")),e.children.length&&this.sortTableData(e.children)})},async getDepartmentList(){if(this.chooseData=[],this.dpTreeData.length)return this.chooseVb=!0;const{data:e}=await Object(r["w"])({domainId:localStorage.domainId});this.sortTableData(e),this.dpTreeData=e,this.chooseVb=!0},batchRemoveMeber(){if(!this.multipleSelection.length)return this.$message.error("请选择要删除的成员");this.$confirm("
\n
注意
\n
\n 删除为不可逆操作,被移除的成员将会被移除对应权限。
\n\n \n
","提示",{dangerouslyUseHTMLString:!0,confirmButtonText:"确定删除",cancelButtonText:"取消",confirmButtonClass:"el-button--danger",type:"warning"}).then(()=>{Object(r["D"])({employeeIdList:this.multipleSelection.map(e=>e.employeeId),roleId:this.activeRole.id},this.organizationId).then(e=>{200==e.status&&this.getRoleUserList(this.activeRole)})}).catch(()=>{})},batchImportVbAction(e){this.roleOrMeberFlag=e,this.batchImportVb=!0},sureDelete(){this.batchDeleteVb=!1},beforeUpload(e){return!(e.size/1024/1024>5)||this.$message.error("上传文件不能超过5MB!")},uploadImg(e){this.uploadloading=!0,__network__?this.obsFile(e):this.InFileUpload(e)},finalUpload(e){Object(r["J"])({path:e},this.organizationId,this.activeRole.id).then(e=>{if(e){const t=e,A=new Blob([t]),a="批量导入成员结果.xlsx";if("download"in document.createElement("a")){const e=document.createElement("a");e.download=a,e.style.display="none",e.href=URL.createObjectURL(A),document.body.appendChild(e),this.$message.info("导入结果,请查阅批量导入成员结果文件"),e.click(),URL.revokeObjectURL(e.href)}else navigator.msSaveBlob(A,a);this.batchImportVb=!1}}).finally(()=>{this.uploadloading=!1,this.$refs.upload.clearFiles(),this.getRoleUserList(this.activeRole)})},obsFile(e){console.log(e);var t=this,A=this.$route.query.domainId||"default";let a=new Date,s=a.getFullYear(),r=a.getMonth()+1<10?"0"+(a.getMonth()+1):a.getMonth()+1,i=a.getDate()<10?"0"+a.getDate():a.getDate(),o=r+"-"+i;var l=`uploads/${s}/${o}/${A}/${a.getTime()}/${e.file.name}`,n=new ObsClient({access_key_id:ak,secret_access_key:sk,server:urlserver,timeout:300});n.putObject({Bucket:BucketName,Key:l,SourceFile:e.file}).then((function(e){if(e.CommonMsg.Status<300){console.log("Create object:"+l+" successfully!\n");var A=`https://${BucketName}.${urlserver}/${l}`;A=convertCdnPath(A),t.finalUpload(A)}}))},InFileUpload(e){this.uploadloading=!0;let t=new FormData;t.append("file",e.file),Object(r["R"])(t).then(e=>{let t=new Response(e).json();t.then(e=>{e.data&&this.finalUpload(e.data)})})},batchD(){},batchI(){},search(){this.activeRole={},this.tableDatalist()},tableDatalist(){let e={employeeId:"",roleName:this.inputRoleVb};Object(r["Eb"])(e,this.organizationId).then(e=>{Array.isArray(e.data)&&e.data[0]&&(this.leftList=e.data,this.getRoleUserList(e.data[0]))})},getRoleUserList(e){e&&(this.activeRole=e,this.params={...this.params,roleId:e.id},Object(r["Fb"])(this.params,this.organizationId).then(({data:e})=>{Array.isArray(e.data)&&(this.tableData=e.data,this.params={...this.params,total:e.total})}))},handleCurrentChange(e){this.params.pageIndex=e,this.getRoleUserList(this.activeRole)},handleSizeChange(e){this.params.pageIndex=1,this.params.pageSize=e,this.getRoleUserList(this.activeRole)},handleSelectionChange(e){console.log(e),this.multipleSelection=e},handleSelectionAllChange(e,t){t||(this.isAllSelect=!this.isAllSelect),e.map(e=>{e.children&&(e.children.map(e=>{this.toggleSelection(e,this.isAllSelect)}),e.children.length>0&&this.handleSelectionAllChange(e.children,!0))})},roleMainListhandleSelectionChange(e){console.log(e),this.roleMainListmultipleSelection=e},roleMainListhandleSelectionAllChange(e){console.log(e),this.roleMainListmultipleSelection=e},toggleSelection(e,t){t?this.$refs.districtTable.toggleRowSelection(e,t):this.$refs.districtTable.clearSelection()},patchDel(){},editDept(e,t){this.type=t,this.rowOne={...e},this.showdialogImport=!0},delDept(e){console.log(this.roleMainListmultipleSelection);let t=e?[e]:this.roleMainListmultipleSelection;const A=t.map(e=>e.id),a=t.map(e=>e.roleName);if(Object.keys(t).length){const t=e?`
\n
确认删除【${e.roleName}】角色?
\n\n删除前请确认该属于该角色的成员 已全部移除。 \n \n
`:`
\n
确认删除【${a.join(",")}】角色?
\n\n删除前请确认所选角色下的成员 已全部移除。 \n \n
`;this.$confirm(t,"提示",{dangerouslyUseHTMLString:!0,confirmButtonText:"确定删除",cancelButtonText:"取消",confirmButtonClass:"el-button--danger",type:"warning"}).then(()=>{Object(r["db"])({idList:A},this.organizationId).then(e=>{200==e.status?(this.$message.success("删除成功"),this.batchDeleteVb=!1,this.search()):this.$message.error(e.message||"操作失败")})}).catch(()=>{})}}}},c=n,d=(A("0c3a"),A("2877")),p=Object(d["a"])(c,a,s,!1,null,null,null);t["default"]=p.exports},"2b78":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("section",{staticClass:"staffBoxFlex"},[e._m(0),t("div",{staticClass:"staffContext staffContract"},[t("section",{staticClass:"contentBox"},[t("el-table",{ref:"districtTable",attrs:{data:e.tableDataSafe,"max-height":"500","default-expand-all":"","row-key":"id"}},e._l(e.tableColumn,(function(A,a){return A.show?t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label,width:A.width},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v(e._s(a.row[A.prop]))])]}}],null,!0)}):e._e()})),1),t("pages",{attrs:{total:e.params.total,currentPage:e.params.pageIndex,pageSize:e.params.pageSize},on:{"update:currentPage":function(t){return e.$set(e.params,"pageIndex",t)},"update:current-page":function(t){return e.$set(e.params,"pageIndex",t)},handleCurrentChangeSub:e.handleCurrentChange,handleSizeChangeSub:e.handleSizeChange}})],1)])])},s=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"staffTitle"},[t("strong",[e._v("保险信息")])])}],r=A("821e"),i={data(){return{params:{pageIndex:1,pageSize:10,id:"",keyword:"",total:0},tableDataSafe:[],tableColumn:[{prop:"productName",label:"产品名称",width:"180",show:!0},{prop:"policyNo",label:"保单号",width:"180",show:!0},{prop:"buyMode",label:"购买方式",width:"180",show:!0},{prop:"effectStartDate",label:"生效日期",width:"180",show:!0},{prop:"effectEndDate",label:"失效日期",width:"",show:!0}]}},mounted(){this.SafeList(),console.log("staffinfo",this.$parent.$parent.staffinfo)},methods:{SafeList(){let e=this.$parent.$parent.staffinfo.credentialNumber;Object(r["s"])(this.params,e).then(e=>{e.data&&(this.tableDataSafe=e.data.data,this.params.total=e.data.total)})},handleCurrentChange(e){console.log(e),this.params.pageIndex=e,this.SafeList()},handleSizeChange(e){console.log(e),this.params.pageSize=e,this.SafeList()},Edit(e,t){},download(e){e.attachment&&window.open(e.attachment)}}},o=i,l=(A("95fe"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,null,null);t["default"]=n.exports},"2ba4":function(e,t,A){"use strict";var a=A("40d5"),s=Function.prototype,r=s.apply,i=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(a?i.bind(r):function(){return i.apply(r,arguments)})},"2c46":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{attrs:{title:"审批",visible:e.dialogVisible,width:"50%","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("div",{staticClass:"modal"},[t("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"75px"}},[t("el-form-item",{attrs:{label:"请选择",prop:"resource"}},[t("el-radio-group",{model:{value:e.ruleForm.resource,callback:function(t){e.$set(e.ruleForm,"resource",t)},expression:"ruleForm.resource"}},[t("el-radio",{attrs:{label:"审批通过"}}),t("el-radio",{attrs:{label:"审批不通过"}})],1)],1),t("el-form-item",{attrs:{label:"原因",prop:"desc"}},[t("el-input",{attrs:{type:"textarea"},model:{value:e.ruleForm.desc,callback:function(t){e.$set(e.ruleForm,"desc",t)},expression:"ruleForm.desc"}})],1)],1)],1),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取 消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.handleConfirm}},[e._v("确 定")])],1)])},s=[],r=(A("d9e2"),A("821e")),i={data(){let e=(e,t,A)=>"审批不通过"!==this.ruleForm.resource||t?A():A(new Error("请输入"));return{dialogVisible:!1,row:{},ruleForm:{},rules:{resource:[{required:!0,message:"请选择",trigger:"change"}],desc:[{validator:e,trigger:"blur"}]}}},methods:{handleClose(){this.dialogVisible=!1},handleConfirm(){this.$refs.ruleForm.validate(e=>{if(!e)return console.log("error submit!!"),!1;{const{resource:e,desc:t}=this.ruleForm;Object(r["l"])(this.row.id,{approved:"审批通过"===e,note:t}).then(()=>{this.dialogVisible=!1,this.ruleForm={},this.$emit("refresh")})}})},showModal(e){this.row=e,this.dialogVisible=!0}}},o=i,l=(A("c2f3"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,"5028ac9b",null);t["default"]=n.exports},"2cc3":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("section",{staticClass:"staffBoxFlex"},[t("div",{staticClass:"staffTitle"},[t("strong",[e._v("证件信息")]),t("em",[e.flag&&(e.flagComputedName||e.flagComputedCert)?t("i",{on:{click:e.edit}},[e._v("编辑")]):e._e(),e.flag?e._e():t("i",{on:{click:e.save}},[e._v("保存")])])]),t("div",{staticClass:"staffContext staffOffice"},[t("el-form",{ref:"form",attrs:{"label-position":"right","label-width":"100px"}},[t("el-row",{attrs:{gutter:50}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"证件类型:"}},[e.flag?t("span",[e._v(" "+e._s("IdCard"==e.credential.credentialType?"居民身份证/户口簿":"")+" "+e._s("IdCardOfXiangGang"==e.credential.credentialType?"香港特区护照/身份证明":"")+" "+e._s("IdCardOfAoMen"==e.credential.credentialType?"澳门特区护照/身份证明":"")+" "+e._s("IdCardOfTaiwan"==e.credential.credentialType?"台湾居民来往大陆通行证":"")+" "+e._s("Passport"==e.credential.credentialType?"外国护照":"")+" "+e._s("Arms"==e.credential.credentialType?"退伍军人证":"")+" "+e._s("PoliceNo"==e.credential.credentialType?"警号":"")+" ")]):e._e(),e.flag?e._e():t("el-select",{attrs:{clearable:"",disabled:!e.flagComputedCert},model:{value:e.credential.credentialType,callback:function(t){e.$set(e.credential,"credentialType",t)},expression:"credential.credentialType"}},e._l(e.credentialTypeArry,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"证件号码:"}},[e.flag?t("span",[e._v(e._s(e._f("UpperCase")(e.credential.number)))]):e._e(),e.flag?e._e():t("span",[t("el-input",{attrs:{disabled:!e.flagComputedCert},model:{value:e.credential.number,callback:function(t){e.$set(e.credential,"number",t)},expression:"credential.number"}})],1)])],1),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"证件姓名:"}},[e.flag?t("span",[e._v(e._s(e.credential.name))]):e._e(),e.flag?e._e():t("span",[t("el-input",{attrs:{disabled:!e.flagComputedName},model:{value:e.credential.name,callback:function(t){e.$set(e.credential,"name",t)},expression:"credential.name"}})],1)])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"身份证有效期:"}},[e.flag?t("span",[e._v(e._s(e.credential.validRang))]):e._e(),e.flag?e._e():t("span",[t("el-input",{attrs:{placeholder:"例:2020-01-01",disabled:""},model:{value:e.credential.validDateFrom,callback:function(t){e.$set(e.credential,"validDateFrom",t)},expression:"credential.validDateFrom"}}),e._v("-"),t("el-input",{attrs:{placeholder:"例:2030-01-01",disabled:""},model:{value:e.credential.validDateTo,callback:function(t){e.$set(e.credential,"validDateTo",t)},expression:"credential.validDateTo"}})],1)])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"身份证住址:"}},[e.flag?t("span",[e._v(e._s(e.credential.address))]):e._e(),e.flag?e._e():t("span",[t("el-input",{attrs:{disabled:""},model:{value:e.credential.address,callback:function(t){e.$set(e.credential,"address",t)},expression:"credential.address"}})],1)])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"身份证人像面:"}},[t("span",{staticClass:"photoImg",on:{click:function(t){return e.zoomPic(e.credential.frontPhoto)}}},[t("el-avatar",{staticStyle:{width:"300px",height:"auto"},attrs:{src:e.credential.frontPhoto}},[t("img",{attrs:{src:A("2dc7")}})])],1)])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"身份证国徽面:"}},[t("span",{staticClass:"photoImg",on:{click:function(t){return e.zoomPic(e.credential.reversePhoto)}}},[t("el-avatar",{staticStyle:{width:"300px",height:"auto"},attrs:{src:e.credential.reversePhoto}},[t("img",{attrs:{src:A("2dc7")}})])],1)])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"身份证头像:"}},[t("span",{staticClass:"photoImg",on:{click:function(t){return e.zoomPic(e.credential.headPhoto)}}},[t("el-avatar",{staticStyle:{width:"200px",height:"auto"},attrs:{src:e.credential.headPhoto}},[t("img",{attrs:{src:A("2dc7")}})])],1)])],1)],1)],1)],1),t("el-dialog",{attrs:{title:"",visible:e.dialogTableVisible},on:{"update:visible":function(t){e.dialogTableVisible=t}}},[t("span",{staticClass:"imgspan"},[t("img",{attrs:{src:e.imgurl}})])])],1)},s=[],r=A("821e"),i={data(){return{userInfo:{},officeInfo:{},credential:{},flag:!0,imageUrl:"",dialogVisible:!1,imageUrl2:"",dialogVisible2:!1,imageUrl3:"",dialogVisible3:!1,frontPhoto:"",reversePhoto:"",headPhoto:"",credentialTypeArry:[{label:"居民身份证/户口簿",value:"IdCard"},{label:"香港特区护照/身份证明",value:"IdCardOfXiangGang"},{label:"澳门特区护照/身份证明",value:"IdCardOfAoMen"},{label:"台湾居民来往大陆通行证",value:"IdCardOfTaiwan"},{label:"外国护照",value:"Passport"},{label:"退伍军人证",value:"Arms"},{label:"警号",value:"PoliceNo"}],credentialTypesoptions_Inst:[{value:"IdCard",label:"居民身份证/户口簿"},{value:"IdCardOfXiangGang",label:"香港特区护照/身份证明"},{value:"IdCardOfAoMen",label:"澳门特区护照/身份证明"},{value:"IdCardOfTaiwan",label:"台湾居民来往大陆通行证"},{value:"Passport",label:"外国护照"}],dialogTableVisible:!1,imgurl:"",institutionalCode:localStorage.getItem("institutionalCode")||""}},computed:{flagComputedName(){return"true"==localStorage.getItem("domainAdmin")&&"Authenticating"!=this.userInfo.authenticateStatus&&"Passed"!=this.userInfo.authenticateStatus},flagComputedCert(){return"true"==localStorage.getItem("domainAdmin")&&"Matched"!=this.userInfo.checkedStatus&&"Authenticating"!=this.userInfo.authenticateStatus&&"Passed"!=this.userInfo.authenticateStatus}},watch:{"credential.number"(){this.credential.number=this.credential.number&&this.credential.number.toUpperCase()}},mounted(){this.employessBaseInfo(),this.envFlag()},methods:{envFlag(){switch(this.institutionalCode){case"0102":this.credentialTypeArry=this.credentialTypesoptions_Inst;break;case"0103":this.credentialTypeArry=this.credentialTypesoptions_Inst;break;case"0104":this.credentialTypeArry=this.credentialTypesoptions_Inst;break;default:}},edit(){this.flag=!1},employessBaseInfo(){let e=this.$parent.$parent.staffinfo,t={domainId:this.$route.query.domainId};Object(r["pb"])(e,t).then(e=>{200==e.status&&(this.userInfo=e.data.userInfo,console.log(this.userInfo.checkedStatus),this.credential=e.data.userInfo.credential,this.credential.frontPhoto&&-1==this.credential.frontPhoto.indexOf("http")&&(this.credential.frontPhoto=location.origin+"/obpm"+this.credential.frontPhoto),this.credential.reversePhoto&&-1==this.credential.reversePhoto.indexOf("http")&&(this.credential.reversePhoto=location.origin+"/obpm"+this.credential.reversePhoto),this.credential.headPhoto&&-1==this.credential.headPhoto.indexOf("http")&&(this.credential.headPhoto=location.origin+"/obpm"+this.credential.headPhoto))})},uploadAvatar(e){const t=new FormData;t.append("file",e.file),console.log(t),Object(r["fc"])(t).then(e=>{200==e.status&&(this.imageUrl=window.location.origin+"/obpm"+e.data,this.frontPhoto=e.data)})},beforeAvatarUpload(e){console.log(e);const t="image/jpeg,image/jpg,image/png".indexOf(e.type)>-1,A=e.size/1024/1024<1;return t||this.$message.error("上传Logo图片只能是 JPEG,JPG,PNG 格式!"),A||this.$message.error("上传Logo图片大小不能超过 1MB!"),t&&A},previewpic(){this.dialogVisible=!0},delpic(){this.imageUrl=""},uploadAvatar2(e){const t=new FormData;t.append("file",e.file),console.log(t),Object(r["fc"])(t).then(e=>{200==e.status&&(this.imageUrl2=window.location.origin+"/obpm"+e.data,this.reversePhoto=e.data)})},beforeAvatarUpload2(e){console.log(e);const t="image/jpeg,image/jpg,image/png".indexOf(e.type)>-1,A=e.size/1024/1024<1;return t||this.$message.error("上传Logo图片只能是 JPEG,JPG,PNG 格式!"),A||this.$message.error("上传Logo图片大小不能超过 1MB!"),t&&A},previewpic2(){this.dialogVisible2=!0},delpic2(){this.imageUrl2=""},uploadAvatar3(e){const t=new FormData;t.append("file",e.file),console.log(t),Object(r["fc"])(t).then(e=>{200==e.status&&(this.imageUrl3=window.location.origin+"/obpm"+e.data,this.headPhoto=e.data)})},beforeAvatarUpload3(e){console.log(e);const t="image/jpeg,image/jpg,image/png".indexOf(e.type)>-1,A=e.size/1024/1024<1;return t||this.$message.error("上传Logo图片只能是 JPEG,JPG,PNG 格式!"),A||this.$message.error("上传Logo图片大小不能超过 1MB!"),t&&A},previewpic3(){this.dialogVisible3=!0},delpic3(){this.imageUrl3=""},save(){let e=this.userInfo;this.frontPhoto&&(this.credential.frontPhoto=this.frontPhoto),this.reversePhoto&&(this.credential.reversePhoto=this.reversePhoto),this.headPhoto&&(this.credential.headPhoto=this.headPhoto),Object(r["Yb"])(e,this.credential).then(e=>{200==e.status&&(this.flag=!0,this.employessBaseInfo())})},zoomPic(e){e&&(this.dialogTableVisible=!0,this.imgurl=e)}}},o=i,l=(A("7865"),A("e8fe"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,null,null);t["default"]=n.exports},"2db9":function(e,t,A){"use strict";A("2fab")},"2dc7":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAABopJREFUeAHtnd9rG0cQx+ckxVFbt7VBgSS07o84BCJaAoW8NFDogyH/R176mj+kbyUv+T8KfggU0pdAi/tDTapIiWPHsZzY8S/JliWfrjtnH1JUWb7dO61nVrNg9Gtmd/b78dzezZ5lD/raw0cLRb/l31FvzwUAMwDBZJ+JvCSlgFf3AJZUSPPZiez9WzdvlHrDU58dtVKpNLG+2fwRPPghCIJM9L488lHA87wOBHCvMJ2/WywWWxh5CDiEu9X8WYH9ns90JNKTFFCgHxSm8rcRcpipmLkC9yS5+L2PLMOjsQrdC9fctv+nHJb5gRwWMR6us+eyX+fwhCoAWXOHicXxM0xYZIuH6DmOE5CYYykwlzm6FIplLEbMFEC2KoPlOpcZN41wg8nwLFrDQ0yZKSCAmQHTDVcA6yrGzF4AMwOmG64A1lWMmb0AZgZMN1wBrKsYM3sBzAyYbrgCWFcxZvYCmBkw3XAFsK5izOwFMDNguuEKYF3FmNkLYGbAdMMVwLqKMbMXwMyA6YYrgHUVY2YvgJkB0w1XAOsqxsxeADMDphuuANZVjJm9AGYGTDdcAayrGDP7nO14v/v2G9tDkhrvl19/sxqPZLBVue0PJoDta251RAFsVW77gwlg+5pbHVEAW5Xb/mAC2L7mVkcUwFbltj+Y9etg0yk29vZhtbYOm1s70DwIvyEI8ucnYHrqI7h0sQAfvP+eaddO+5EH3Ol0oPr8JbyqvfkfiL39JuDPyupruHzxAlz54hPIZOSg1CsUaTUQ7l//VAbC7Z0EPsdfALRFH2ldBUgDxszd2t7tRnvKM7RFH2ldBcgCxjV30GG5G/rgZ+iDvtKOFCALGE+oTFsSX9MxqfqRBYxny6Ytia/pmFT9yAKOLoVMhEviazIeZR+ygCmLxik2soCxiGHakviajknVjyxgrFCZtiS+pmNS9SMLGMuPpi2Jr+mYVP3IAsbaMpYfdRv6SF26qxpZwBgi1panPv6wG+0pz9AWfaR1FSANGDcOvro+GyuTMXPRNo3NBiyUvNnY7KrE+Bn53SQEdvXKDFy+dMHKduFuvQFPny3BuVwOptURIaceOTc20eO6OvvlpyPVut0+hNKTZ6C+Dh9a7TZUF1fg2uxnIx1z1J2TPkSPevK9/SPUx+XncHB8MwF+Vltb19rN6u2PynMBfEzixfJqeLdIP5h/Ky/A9/nuMQtgRXRjcxsQ8KDWbB6oz14N+ojFe2MPGAE+UYfmYW15ZQ1263vDTMh+NtaA8fYePKk6PPRPBVSuLIYnX6caEjMYa8BPq0tQb8TLzHpjHzCTubWxBbyqzpBrrze0eOFavK/u4uTUWALGSlNZnd2a3kGJ6ylmr27rdAIoKz+8pOLS2AGOKk2YgX/8XYaDVltL66NiRtUYEt65WVvTy3ytAFM2ZgW4t9KEOuzsNuD3hcewvVOPJQtmHp4x9xYzYjn2GVUXX2r/YvV1Ye0lG8CDKk2oEpYUMZPj3GKL17pvE9zMF1HxfR8qBof4yN/mIxvAJ1WaUCyEj2vqsHV5WDHDRPD1t1ssdpxYAI4L56R1OU4xwwRypbqsrqEPTVyt+ZAHrAunf13WKWboqh7tOOn62bQnDdgUTu+6rFPMMBGe+o4TacBJ4ETrsm4xwwQy5R0nsoBNKk0mcNLwobzjRBKwaaUpDVimfVDdcSIHOGmlyRRQGn4Ud5xIAU6r0pQGLJM+KO44kQKcVqXJBE5aPtR2nMgAjlvMSAvEqPqhtuNEArBuMWNUcNLql9KO05kDNi1mpAVjVP1Q2XE6c8BJihmjgpNGv1R2nM78LxuuXf0c8EfaaBQ48wwezbSk10gBARwp4eijAHYUbDQtARwp4eijAHYUbDQt62fRtv9vUDTRcX2UDHacvAAWwI4r4Pj0JIMFsOMKOD49yWAB7LgCjk9PMlgAO66A49OTDBbAjivg+PQkgwWw4wo4Pj3JYAHsuAKOT08yWAA7roDj05MMFsCOK+D49CSDBbDjCjg+PclgAey4Ao5PT2WwF++rWh0Xws3pefWMB7Dk5uRkVsgW1+B5kcJZBeYz2Ynsfc/z+P7nJ2fZJJsYMkW2mVs3b5QggHvJuhNvcgoopsg2vEwqTOfvKuIPyAUpARkpgCyRKTqHgIvFYqswlb/tgfeTHK6NNCXhhOyQIbJEphiUOtF6tz18tFD0W/4d9e6c+ucxM+oL8yfftZBXtBTw6sdXQvO45oZLbk+A/wFCn6eLV03nkQAAAABJRU5ErkJggg=="},"2e92":function(e,t,A){"use strict";A.r(t),A.d(t,"validatePhone",(function(){return o}));var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"90px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"姓名:",prop:"name"}},[t("span",[e._v(e._s(e.formList.name))])])],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"手机号:",prop:"telephone"}},[t("span",[e._v(e._s(e.formList.telephone))])])],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"证件类型:",prop:"credentialType"}},[t("span",[e._v(" "+e._s("IdCard"==e.formList.credentialType?"居民身份证/户口簿":"")+" "+e._s("IdCardOfXiangGang"==e.formList.credentialType?"香港特区护照/身份证明":"")+" "+e._s("IdCardOfAoMen"==e.formList.credentialType?"澳门特区护照/身份证明":"")+" "+e._s("IdCardOfTaiwan"==e.formList.credentialType?"台湾居民来往大陆通行证":"")+" "+e._s("Passport"==e.formList.credentialType?"外国护照":"")+" "+e._s("Arms"==e.formList.credentialType?"退伍军人证":"")+" "+e._s("PoliceNo"==e.formList.credentialType?"警号":"")+" ")])])],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"证件号码:",prop:"credentialNumber"}},[t("span",[e._v(e._s(e.formList.credentialNumber))])])],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.departlabel,prop:"departId"}},[t("selectTree",{ref:"selectTreeParent",attrs:{curValue:e.defaulDataParent,data:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",collapseTags:""},on:{getValue:e.checkChangeParent,selectClickT:e.selectClickT}})],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"职业类型:",prop:"occupationType"}},[t("el-select",{attrs:{placeholder:"请选择职业类型",clearable:""},model:{value:e.formList.occupationType,callback:function(t){e.$set(e.formList,"occupationType",t)},expression:"formList.occupationType"}},[t("el-option",{attrs:{label:"一般职员",value:"Normal"}}),t("el-option",{attrs:{label:"保安员",value:"SecurityGuard"}}),t("el-option",{attrs:{label:"警官",value:"Police"}})],1)],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"入职日期:",prop:"hiredDate"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",clearable:"",placeholder:"选择日期"},model:{value:e.formList.hiredDate,callback:function(t){e.$set(e.formList,"hiredDate",t)},expression:"formList.hiredDate"}})],1)],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)},s=[],r=(A("d9e2"),A("fb36")),i=A("821e");function o(e,t,A){setTimeout(()=>{/^[1][3,4,5,7,8,9][0-9]{9}$/.test(t)?A():A(new Error("请输入正确的手机号"))},500)}var l={props:["showdialogBack"],watch:{showdialogBack(){this.dialogFormVisible=this.showdialogBack,this.defaulDataParent=[]}},components:{selectTree:r["a"]},data(){return{title:"复职确认",dialogFormVisible:this.showdialogBack,OperType:0,formList:{},rules:{departId:[{required:!0,message:"请选择新入职"+$SuperviseStr.depart,trigger:"blur"}],occupationType:[{required:!0,message:"请选择职业类型",trigger:"blur"}],hiredDate:[{required:!0,message:"请选择入职日期",trigger:"blur"}]},defaulDataParent:"",defaulData:[],getTreeDepartlist:[],departlabel:`新入职${$SuperviseStr.depart}:`}},methods:{selectClickT(e){console.log(e),this.getTreeDepartlist=e},getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.formList=A,this.OperType=t},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"departId",e),console.log(this.formList.departId)},checkChange(e,t){},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},submitForm(){let e={number:this.formList.number,type:this.formList.type};this.formList.credential=e,console.log(this.formList);let t={domainId:this.$route.query.domainId};this.$refs.ruleForm.validate(e=>{if(!e)return!1;Object(i["h"])(this.formList,t).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})})},cancelForm(){this.$emit("update:showdialogBack",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},n=l,c=(A("c652"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},"2ed4":function(e,t,A){"use strict";A("c96c")},"2ef8":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-double el-dialog-user",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"130px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("section",{staticClass:"UserSearchBoX"},[t("span",[t("el-button",{attrs:{disabled:e.disabled},on:{click:e.patchMoveUser}},[e._v("批量转移成员")])],1),t("span",{staticClass:"searchArea"},[t("el-input",{staticClass:"inputSearchUser",staticStyle:{width:"45%"},attrs:{placeholder:"输入姓名/账号/手机号/证件号码",clearable:""},model:{value:e.params.keyword,callback:function(t){e.$set(e.params,"keyword",t)},expression:"params.keyword"}}),t("el-button",{attrs:{type:"primary"},on:{click:e.search}},[e._v("查询")])],1)])])],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("section",{staticClass:"TableSelectBox"},[t("span",[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),e._l(e.multipleSelection,(function(A,a){return t("span",{key:a},[e._v(e._s(A.name)),a!=e.multipleSelection.length-1?t("b",[e._v(",")]):e._e()])}))],2)])])],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-table",{ref:"districtTable",attrs:{data:e.tableData,"max-height":"750","default-expand-all":"","row-key":"id"},on:{"selection-change":e.handleSelectionChange,"select-all":e.handleSelectionAllChange}},[t("el-table-column",{attrs:{type:"selection",width:"55"}}),e._l(e.tableColumn,(function(A,a){return A.show?t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label,width:A.width},scopedSlots:e._u([{key:"default",fn:function(a){return["name"==A.prop?t("span",[e._v(" "+e._s(a.row[A.prop])+" "+e._s(a.row.departLeader?"(部门管理员)":"")+" ")]):t("span",[e._v(e._s(a.row[A.prop]))])]}}],null,!0)}):e._e()}))],2),t("pages",{attrs:{total:e.params.total,currentPage:e.params.pageIndex,pageSize:e.params.pageSize},on:{"update:currentPage":function(t){return e.$set(e.params,"pageIndex",t)},"update:current-page":function(t){return e.$set(e.params,"pageIndex",t)},handleCurrentChangeSub:e.handleCurrentChange,handleSizeChangeSub:e.handleSizeChange}})],1)],1)],1)],1),t("MoveUserDialog",{ref:"MovepopChildren",attrs:{showdialogMove:e.showdialogMove,getTreeDepartlist:e.getTreeDepartlist},on:{"update:showdialogMove":function(t){e.showdialogMove=t},"update:showdialog-move":function(t){e.showdialogMove=t},refurlist:e.refurlist}})],1)},s=[],r=(A("14d9"),A("fb36")),i=A("821e"),o=A("31f9"),l={props:["showdialogUser","getTreeDepartlist"],watch:{showdialogUser(){this.dialogFormVisible=this.showdialogUser},multipleSelection(){this.multipleSelection.length?this.disabled=!1:this.disabled=!0}},components:{selectTree:r["a"],MoveUserDialog:o["default"]},data(){return{title:"",dialogFormVisible:this.showdialogUser,OperType:0,formList:{},rules:{},tableColumn:[{prop:"name",label:"姓名",width:"180",show:!0},{prop:"telephone",label:"手机号",width:"180",show:!0},{prop:"credentialType",label:"证件类型",width:"180",show:!0},{prop:"credentialNumber",label:"证件号码",width:"180",show:!0},{prop:"checkedStatus",label:"证件核验状态",width:"180",show:!0},{prop:"occupationType",label:"职业类型",width:"180",show:!0}],tableData:[],params:{pageIndex:1,pageSize:10,keyword:"",departIds:[],total:0},multipleSelection:[],disabled:!0,showdialogMove:!1}},methods:{getTableRow(e,t){console.log(e),this.title=e.name+" 成员列表",this.params.departIds=[e.id],this.params.keyword="",this.tableDatalist()},tableDatalist(){let e={domainId:this.$route.query.domainId};Object(i["y"])(this.params,e).then(e=>{e.data.data&&(this.tableData=e.data.data,this.params.total=e.data.total)})},search(){console.log(this.params),this.params.pageIndex=1;let e={domainId:this.$route.query.domainId};Object(i["t"])(this.params,e).then(e=>{e.data.data&&(this.tableData=e.data.data,this.params.total=e.data.total)})},handleCurrentChange(e){this.params.pageIndex=e,this.tableDatalist()},handleSizeChange(e){this.params.pageSize=e,this.tableDatalist()},handleSelectionChange(e){console.log(e),this.multipleSelection=e},handleSelectionAllChange(e,t){t||(this.isAllSelect=!this.isAllSelect),e.map(e=>{e.children&&(e.children.map(e=>{this.toggleSelection(e,this.isAllSelect)}),e.children.length>0&&this.handleSelectionAllChange(e.children,!0))})},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},submitForm(){console.log(this.formList.departIds);let e=[];this.multipleArr.forEach(t=>{e.push(t.id)});let t={domainId:this.$route.query.domainId};this.OperType,this.$refs.ruleForm.validate(A=>{if(!A)return!1;this.$confirm(`即将批量设置${$SuperviseStr.depart}成员的通讯录权限,提交后无法恢复,是否继续?`,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{batchImDepartmentsApi(this.formList,e,t).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})}).catch(()=>{})})},cancelForm(){this.$emit("update:showdialogUser",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))},refurlist(){this.tableDatalist(),this.$emit("refurlist",{})},patchMoveUser(){this.showdialogMove=!0,this.$refs.MovepopChildren.getTableRow(this.multipleSelection,0)}}},n=l,c=(A("8e52"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},"2f57":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("section",{staticClass:"staffBoxFlex"},[e._m(0),t("div",{staticClass:"staffContext staffContract"},[t("section",{staticClass:"contentBox"},[t("el-table",{ref:"districtTable",attrs:{data:e.tableDataContract,"max-height":"500","default-expand-all":"","row-key":"id"}},e._l(e.tableColumn,(function(A,a){return A.show?t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label,width:A.width},scopedSlots:e._u([{key:"default",fn:function(a){return["attachment"==A.prop?t("span",["待完善"==a.row.contractStatusDesc?t("span",[t("el-button",{attrs:{type:"text"},on:{click:function(t){return e.Edit(a.row,2)}}},[e._v("上传")])],1):t("span",[t("el-button",{attrs:{type:"text"},on:{click:function(t){return e.download(a.row)}}},[e._v("预览")]),t("el-button",{attrs:{type:"text"},on:{click:function(t){return e.download(a.row)}}},[e._v("下载")])],1)]):t("span",[e._v(e._s(a.row[A.prop]))])]}}],null,!0)}):e._e()})),1),t("pages",{attrs:{total:e.params.total,currentPage:e.params.pageIndex,pageSize:e.params.pageSize},on:{"update:currentPage":function(t){return e.$set(e.params,"pageIndex",t)},"update:current-page":function(t){return e.$set(e.params,"pageIndex",t)},handleCurrentChangeSub:e.handleCurrentChange,handleSizeChangeSub:e.handleSizeChange}})],1)])])},s=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"staffTitle"},[t("strong",[e._v("合同信息")])])}],r=A("821e"),i={data(){return{params:{pageIndex:1,pageSize:10,id:"",keyword:"",total:0},tableDataContract:[],tableColumn:[{prop:"name",label:"合同名称",width:"180",show:!0},{prop:"aName",label:"甲方名称",width:"180",show:!0},{prop:"bName",label:"乙方名称",width:"180",show:!0},{prop:"dateRang",label:"合同有效期",width:"180",show:!0},{prop:"contractStatusDesc",label:"合同状态",width:"180",show:!0},{prop:"attachment",label:"合同电子文件",width:"",show:!0}]}},mounted(){this.contractList()},methods:{contractList(){this.params.employeeId=this.$parent.$parent.staffinfo.id;let e={domainId:this.$route.query.domainId};Object(r["S"])(this.params,e).then(e=>{e.data.data&&(this.tableDataContract=e.data.data,this.params.total=e.data.total)})},handleCurrentChange(e){console.log(e),this.params.pageIndex=e,this.contractList()},handleSizeChange(e){console.log(e),this.params.pageSize=e,this.contractList()},Edit(e,t){},download(e){e.attachment&&window.open(e.attachment)}}},o=i,l=(A("894d"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,null,null);t["default"]=n.exports},"2fab":function(e,t,A){},"30be":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticStyle:{width:"60%",margin:"auto"},attrs:{title:e.departTitle,visible:e.showdialog,center:"","close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",staticClass:"form",class:3===e.type?"disable-form":"",attrs:{disabled:3===e.type,"label-width":"120px",model:e.data,rules:e.rules}},[t("el-row",[1===e.type?t("el-col",{staticStyle:{"text-align":"center","margin-left":"26px","margin-bottom":"16px"},attrs:{span:24}},[t("el-tag",{attrs:{type:"success"}},[t("i",{staticClass:"el-icon-success",staticStyle:{color:"#52c41a"}}),e._v(" 已成功复制【业务管理员】角色的权限数据,请完善角色信息完成创建 ")])],1):e._e(),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"角色名称:",prop:"roleName"}},[t("el-input",{attrs:{placeholder:e.placeholder},model:{value:e.data.roleName,callback:function(t){e.$set(e.data,"roleName",t)},expression:"data.roleName"}})],1),t("el-form-item",{attrs:{label:"角色说明:",prop:"remark"}},[t("el-input",{staticStyle:{"margin-left":"12px"},attrs:{type:"textarea",placeholder:e.placeholder},model:{value:e.data.remark,callback:function(t){e.$set(e.data,"remark",t)},expression:"data.remark"}})],1),t("el-form-item",{attrs:{label:"排序值:",prop:"seq"}},[t("el-input",{attrs:{type:"number",placeholder:e.placeholder},model:{value:e.data.seq,callback:function(t){e.$set(e.data,"seq",t)},expression:"data.seq"}})],1)],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[3!==e.type?t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]):e._e(),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)},s=[],r=A("821e"),i={props:["showdialog","data","type"],components:{},data(){return{title:"",organizationId:localStorage.domainId,placeholder:"请填写",rules:{roleName:[{required:!0,message:"请输入",trigger:"blur"}],seq:[{required:!0,message:"请输入",trigger:"blur"}]}}},computed:{departTitle(){switch(this.type){case 0:return"新增角色";case 1:return"复制角色";case 2:return"编辑角色";case 3:return"角色详情"}return"角色"}},methods:{cancelForm(){this.$emit("update:showdialog",!1)},submitForm(){this.$refs.ruleForm.validate(async e=>{if(e){let e;const{remark:t,roleName:A,seq:a,id:s}=this.data;switch(this.type){case 0:e=await Object(r["A"])({...this.data,sourceId:0},this.organizationId);break;case 1:e=await Object(r["W"])({remark:t,roleName:A,seq:a,sourceId:s},this.organizationId);break;case 2:e=await Object(r["jb"])({remark:t,roleName:A,seq:a,id:s},this.organizationId);break;default:break}200==e.status?(this.$message.success("操作成功"),this.$emit("callBack"),this.cancelForm()):this.$message.error(e.message||"操作失败")}})}}},o=i,l=(A("54d0"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,"c93a1c86",null);t["default"]=n.exports},"31f9":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single el-dialog-colum",attrs:{title:"批量转移成员",visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"130px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"要转移的成员:",prop:"employeeIds"}},e._l(e.multipleArr,(function(A,a){return t("span",{key:A.id},[t("em",[e._v(e._s(A.name))]),a!==e.multipleArr.length-1?t("b",[e._v(", ")]):e._e()])})),0)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.departlabel,prop:"destDepartId"}},[t("selectTree",{ref:"selectTreeParent",attrs:{curValue:e.defaulDataParent,data:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",collapseTags:""},on:{getValue:e.checkChangeParent,selectClickT:e.selectClickT}})],1)],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)},s=[],r=(A("14d9"),A("fb36")),i=A("821e"),o={props:["showdialogMove"],watch:{showdialogMove(){this.dialogFormVisible=this.showdialogMove}},components:{selectTree:r["a"]},data(){return{title:"",dialogFormVisible:this.showdialogMove,OperType:0,formList:{},rules:{destDepartId:[{required:!0,message:"请选择转移的新"+$SuperviseStr.depart,trigger:"blur"}]},defaulDataParent:"",defaulData:[],parentIdShow:!0,multipleArr:[],getTreeDepartlist:[],departlabel:`转移的新${$SuperviseStr.depart}:`}},methods:{selectClickT(e){console.log(e),this.getTreeDepartlist=e},getTableRow(e,t){console.log(e),this.multipleArr=e,this.defaulDataParent=[]},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"destDepartId",e)},checkChange(e,t){},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},submitForm(){console.log(this.formList.employeeIds);let e=[];this.multipleArr.forEach(t=>{e.push(t.id)});let t={domainId:this.$route.query.domainId};this.$refs.ruleForm.validate(A=>{if(!A)return!1;this.$confirm(`即将批量转移成员到新${$SuperviseStr.depart},提交后无法恢复,是否继续?`,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(i["M"])(this.formList,e,t).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})}).catch(()=>{})})},cancelForm(){this.$emit("update:showdialogMove",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},l=o,n=(A("5bb5"),A("2877")),c=Object(n["a"])(l,a,s,!1,null,null,null);t["default"]=c.exports},3467:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"containerCompleteCert"},[t("div",{staticClass:"leftinfo"},[t("div",{staticClass:"lefttxt1"},[e._v("哈尔滨市保安员职业技能培训")]),t("div",{staticClass:"lefttxt2"},[e._v("结业证书")]),t("div",{staticClass:"lefttxt3"},[e._v("本电子证书由"+e._s(e.qualicertInfo.fzjgmc||"哈尔滨市道里区职业技能培训学校")+"核发。本证书表明持证人已通过哈尔滨市保安员职业技能培训结业考核,成绩合格。")]),t("div",{staticClass:"lefttxt4"},[t("span",{staticClass:"titlelabel"},[e._v("发证单位:")]),t("span",{staticClass:"titlevalue"},[e._v(e._s(e.qualicertInfo.fzjgmc||"哈尔滨市道里区职业技能培训学校"))])]),t("div",{staticClass:"lefttxt5"},[t("span",{staticClass:"titlelabel"},[e._v("发证日期:")]),t("span",{staticClass:"titlevalue"},[e._v(e._s(e.qualicertInfo.fzrq))])])]),t("div",{staticClass:"rightinfo"},[t("div",{staticClass:"rImg"},[t("img",{attrs:{src:e.qualicertInfo.headPhoto}})]),t("div",{staticClass:"listli"},[t("span",{staticClass:"name name1"},[e._v("姓       名")]),t("span",{staticClass:"value"},[e._v(e._s(e.qualicertInfo.name))])]),t("div",{staticClass:"listli"},[t("span",{staticClass:"name sex1"},[e._v("性       别")]),t("span",{staticClass:"value"},[e._v(e._s(e.qualicertInfo.sex))])]),t("div",{staticClass:"listli"},[t("span",{staticClass:"name"},[e._v("身份证号")]),t("span",{staticClass:"value valueNumber"},[e._v(e._s(e.qualicertInfo.identityNumber))])]),e._m(0),t("div",{staticClass:"listli"},[t("span",{staticClass:"name"},[e._v("证书编号")]),t("span",{staticClass:"value"},[e._v(e._s(e.qualicertInfo.credentialNumber))])])])])},s=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"listli"},[t("span",{staticClass:"name"},[e._v("职业名称")]),t("span",{staticClass:"value"},[e._v("保安员")])])}],r=A("821e"),i={data(){return{qualicertInfo:{},obj:{id:this.$route.query.userId||""},number:this.$route.query.certificateNO||""}},mounted(){this.getcredentialDetails()},methods:{getcredentialDetails(){Object(r["Ib"])(this.obj,11,this.number).then(e=>{if(console.log(e),200==e.status&&(this.qualicertInfo=e.data,this.qualicertInfo.headPhoto&&-1==this.qualicertInfo.headPhoto.indexOf("http")&&(this.qualicertInfo.headPhoto=location.origin+"/obpm"+this.qualicertInfo.headPhoto),this.qualicertInfo.identityNumber)){let e=this.qualicertInfo.identityNumber,t=e.substring(6,10)+"年"+e.substring(10,12)+"月"+e.substring(12,14)+"日";this.qualicertInfo.dateBirth=t}})}}},o=i,l=(A("7031"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,"0e09f43a",null);t["default"]=n.exports},"34dd":function(e,t,A){"use strict";A.r(t);var a=function(){var e,t,A,a=this,s=a._self._c;return s("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],attrs:{title:a.departTitle,visible:a.showdialog,"close-on-click-modal":!1},on:{close:a.cancelForm}},[s("el-form",{ref:"ruleForm",staticClass:"form",class:a.disabled?"disable-form":"",attrs:{disabled:a.disabled,"label-width":"120px",model:a.datas,rules:a.rules}},[s("el-row",[a.disabled?s("el-col",{attrs:{span:24}},[s("div",{staticClass:"flexc"},[s("span",{staticClass:"label"},[a._v("组织名称:")]),s("span",[a._v(a._s(a.datas.selectedOrganizationName||"-"))])]),s("div",{staticClass:"flexc"},[s("span",{staticClass:"label"},[a._v("组织说明:")]),s("span",[a._v(a._s(a.datas.selectedOrganizationNote||"-"))])]),s("div",{staticClass:"flexc"},[s("span",{staticClass:"label"},[a._v("组织编码:")]),s("span",[a._v(a._s(a.datas.code||"-"))])]),s("div",{staticClass:"flexc"},[s("span",{staticClass:"label"},[a._v("组织状态:")]),s("span",{staticClass:"green",class:a.datas.status},[a._v(a._s(a.statusMap[a.datas.status]||"-"))])]),s("div",{staticClass:"flexc"},[s("span",{staticClass:"label"},[a._v("组织类型:")]),s("span",[a._v(a._s((null===(e=a.datas.organizationType)||void 0===e?void 0:e.organizationTypeName)||"-"))])]),s("div",{staticClass:"flexc"},[s("span",{staticClass:"label"},[a._v("统一信用代码:")]),null!==(t=a.datas.statistics)&&void 0!==t&&t.unifySocialCreditCode?s("span",[a._v(a._s(a.datas.statistics.unifySocialCreditCode)+" "),s("i",{staticClass:"el-icon-view",staticStyle:{color:"#0076f6"},attrs:{slot:"suffix"},on:{click:function(e){return a.changeType(a.datas.statistics,"unifySocialCreditCode")}},slot:"suffix"})]):s("span",[a._v("-")])]),s("div",{staticClass:"flexc"},[s("span",{staticClass:"label",staticStyle:{"flex-shrink":"0"}},[a._v("组织管理员:")]),a.adminList.length?s("div",{staticStyle:{display:"flex","flex-wrap":"wrap"}},a._l(a.adminList,(function(e){return s("div",{key:e.id,staticStyle:{"margin-right":"12px","margin-top":"6px"}},[s("span",[a._v(a._s(e.name)+" ("+a._s(e.telephone)+") "),s("i",{staticClass:"el-icon-view",staticStyle:{color:"#0076f6"},attrs:{slot:"suffix"},on:{click:function(t){return a.changeType(e,"telephone")}},slot:"suffix"})])])})),0):s("span",[a._v("-")])]),s("div",{staticClass:"flexc"},[s("span",{staticClass:"label"},[a._v("组织联系人:")]),s("div",{staticStyle:{display:"flex","flex-wrap":"wrap"}},[s("div",[a.datas.contactName?s("span",[a._v(a._s(a.datas.contactName)+" ("+a._s(a.datas.contactTelephone)+") "),s("i",{staticClass:"el-icon-view",staticStyle:{color:"#0076f6"},attrs:{slot:"suffix"},on:{click:function(e){return a.changeType(a.datas,"contactTelephone")}},slot:"suffix"})]):s("span",[a._v("-")])])])]),s("div",{staticClass:"flexc"},[s("span",{staticClass:"label"},[a._v("员工数量:")]),s("span",[a._v(a._s((null===(A=a.datas.statistics)||void 0===A?void 0:A.countOfMembers)||"-"))])])]):s("el-col",{attrs:{span:24}},[s("el-form-item",{attrs:{label:"组织名称:",prop:"selectedOrganizationName"}},[s("el-input",{attrs:{disabled:"",placeholder:a.placeholder},model:{value:a.datas.selectedOrganizationName,callback:function(e){a.$set(a.datas,"selectedOrganizationName",e)},expression:"datas.selectedOrganizationName"}})],1),s("el-form-item",{attrs:{label:"组织说明:",prop:"selectedOrganizationNote"}},[s("div",{staticStyle:{display:"flex"}},[s("el-input",{attrs:{placeholder:a.placeholder},model:{value:a.datas.selectedOrganizationNote,callback:function(e){a.$set(a.datas,"selectedOrganizationNote",e)},expression:"datas.selectedOrganizationNote"}}),s("span",{staticStyle:{"margin-left":"16px"}},[a._v(" 通过说明快速标注组织(如简称、别称等),增加辨识度。")])],1)]),s("el-form-item",{attrs:{label:"组织类型:",prop:"organizationTypeId"}},[s("el-select",{attrs:{placeholder:"请选择"},model:{value:a.datas.organizationTypeId,callback:function(e){a.$set(a.datas,"organizationTypeId",e)},expression:"datas.organizationTypeId"}},a._l(a.options,(function(e){return s("el-option",{key:e.value,attrs:{label:e.name,value:e.id}})})),1)],1),s("el-form-item",{attrs:{label:"上级组织:",prop:"parentId"}},[s("el-cascader",{ref:"cascaderRef",staticStyle:{width:"100%"},attrs:{"show-all-levels":!1,props:{checkStrictly:!0},options:a.propTableData||[],placeholder:"请选择"},on:{change:a.changeParentId},model:{value:a.datas.parentId,callback:function(e){a.$set(a.datas,"parentId",e)},expression:"datas.parentId"}})],1),s("el-form-item",{attrs:{label:"组织编码:",prop:"code"}},[s("div",{staticStyle:{display:"flex"}},[s("el-input",{attrs:{placeholder:a.placeholder},model:{value:a.datas.code,callback:function(e){a.$set(a.datas,"code",e)},expression:"datas.code"}}),s("span",{staticStyle:{"margin-left":"16px"}},[a._v(" 如有组织编码可记录归档。")])],1)]),s("el-form-item",{attrs:{label:"联系人:",prop:"contactName"}},[s("div",{staticStyle:{display:"flex"}},[s("el-input",{attrs:{placeholder:a.placeholder},model:{value:a.datas.contactName,callback:function(e){a.$set(a.datas,"contactName",e)},expression:"datas.contactName"}}),s("span",{staticStyle:{"margin-left":"16px"}},[a._v(" 组织的系统联系人,信息会展示在集团架构图上。")])],1)]),s("el-form-item",{attrs:{label:"电话:",prop:"contactTelephone"}},[s("el-input",{attrs:{placeholder:a.placeholder},model:{value:a.datas.contactTelephone,callback:function(e){a.$set(a.datas,"contactTelephone",e)},expression:"datas.contactTelephone"}})],1)],1)],1)],1),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a.disabled?a._e():s("el-button",{attrs:{type:"primary"},on:{click:function(e){return a.submitForm()}}},[a._v("确 定")]),s("el-button",{on:{click:function(e){return a.cancelForm()}}},[a._v("取 消")])],1)],1)},s=[],r=A("821e"),i={props:["showdialog","dataInfo","disabled","tableData"],components:{},data(){return{statusMap:{Refuse:"已拒绝",TargetRefuse:"对方已拒绝",TargetVerify:"待对方确认",Verify:"待确认",Related:"已关联"},title:"",departTitle:"组织详情",rules:{selectedOrganizationNote:[{required:!0,message:"请输入",trigger:"blur"}],parentId:[{required:!0,message:"请选择",trigger:"blur"}],organizationTypeId:[{required:!0,message:"请选择",trigger:"blur"}],contactName:[{required:!0,message:"请输入",trigger:"blur"}],contactTelephone:[{required:!0,message:"请输入",trigger:"blur"}]},options:[],value:"",datas:{},adminList:[],propTableData:[]}},watch:{showdialog:{handler(){var e,t;this.showdialog&&this.dataInfo.selectedOrganizationId&&(this.datas={...this.dataInfo,organizationTypeId:null===(e=this.dataInfo)||void 0===e||null===(e=e.organizationType)||void 0===e?void 0:e.organizationTypeId},console.log(this.datas),this.datas.statistics&&(this.transformType(this.datas.statistics,"unifySocialCreditCode"),this.transformType(this.datas,"contactTelephone")),null!==(t=this.tableData)&&void 0!==t&&t.length&&!this.disabled&&(this.propTableData=JSON.parse(JSON.stringify(this.tableData)),this.mapData(this.propTableData,this.datas.selectedOrganizationId)),this.getAdminList(),this.getfindByOrganizationId())},deep:!0}},computed:{placeholder(){return this.disabled?"":"请填写"}},methods:{mapData(e,t,A=!1){e.forEach(e=>{var a;e.value=e.selectedOrganizationId,e.label=e.selectedOrganizationName,(A||t===e.value)&&(e.disabled=!0),null!==(a=e.children)&&void 0!==a&&a.length?this.mapData(e.children,t,A||t===e.value):delete e.children})},getfindByOrganizationId(){Object(r["Jb"])(this.datas.selectedOrganizationId).then(e=>{e.data&&(this.options=e.data)})},getAdminList(){this.datas.selectedOrganizationId&&Object(r["xb"])(this.datas.selectedOrganizationId).then(e=>{var t;e.data&&(null===(t=e.data)||void 0===t||t.forEach(e=>{this.transformType(e,"telephone")}),this.adminList=e.data)})},changeType(e,t){let A=e[t];this.$set(e,t,e["old_"+t]),this.$set(e,"old_"+t,A)},changeParentId(e){let t=this.$refs.cascaderRef.getCheckedNodes();this.datas.parentname=t[0].data.label},transformType(e,t){let A=e[t];A&&A.length<7||!A||(this.$set(e,t,A.substring(0,3)+"*".repeat(A.length-6)+A.substring(A.length-3)),this.$set(e,"old_"+t,A))},cancelForm(){this.$emit("update:showdialog",!1)},submitForm(){this.$refs.ruleForm.validate(e=>{if(e){const{code:e,contactName:t,contactTelephone:A,id:a,organizationTypeId:s,parentId:i,parentname:o}=this.datas;let l={code:e,contactName:t,contactTelephone:A,id:a,organizationNote:this.datas.selectedOrganizationNote,organizationTypeId:s,parentId:i[i.length-1],parentname:o};console.log(l),Object(r["dc"])(l).then(e=>{200==e.status&&(this.$message.success("修改成功"),this.$emit("update:showdialog",!1),this.$emit("getData"))})}})}}},o=i,l=(A("061d"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,"f9a58da4",null);t["default"]=n.exports},3590:function(e,t,A){},"35f2":function(e,t,A){},3689:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAFo9M/3AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAEKADAAQAAAABAAAAEAAAAAA0VXHyAAABbklEQVQ4EYWTMU7DQBBFZywKaKBK5ZQJCHEBqBASEoeg4yicA9FxCEhBCRdIIhLKpKKCBirMvLV/vLGIspK9m5n///ydic3y9WZl5XMrTyuz+53K/NGtukqRX7MXN/+qrNovSMMjm/gzK58kNLdBz1FSAFo6E1QiISRI1kNjFJxLfhRmZ0Nbvs6s/0nFBOCFOaxw1kLl0BYHTiBnCMCOYoE15GAc2dJ5SACI296F/KAXPiYEtCip+63upZq5n6g/ilvkjut+SYlSG03qyrFnjW2olKMfKZfXbPJpk6eVSaLIMsisi9MikGMlka27V0/Jbe88Jk6jfp6DdQIQaYYtD8RYWFlX97Hb7gXDnMQwj2tY+5YQkZzYIihm09SmrnoO+u8scVwmAYG2CeVEcVYC28gtYb1HzYfUtl5AdiqyayycteSGz+y2CyDJTBkZD2eJSQAO3KaJjPL7IZL9CNx0RyhSfc30XS/iP3A9tPePP2Uuv8Jah8VaAAAAAElFTkSuQmCC"},"36b4":function(e,t,A){},3759:function(e,t,A){"use strict";A("07e9")},3777:function(e,t,A){"use strict";A("1d7c")},"37e7":function(e,t,A){"use strict";A("8bb4")},"380c":function(e,t,A){"use strict";A("589c")},"39c8":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:"",visible:e.dialogFormVisible,"close-on-click-modal":!1,width:"80%"},on:{close:e.cancelForm}},[t("section",{staticClass:"staffBoxFlex"},[t("el-table",{ref:"districtTable",attrs:{data:e.tableData,"max-height":"500","default-expand-all":"","row-key":"id"}},[e._l(e.tableColumn,(function(A,a){return t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label,width:A.width},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v(e._s(a.row[A.prop]))])]}}],null,!0)})})),t("el-table-column",{attrs:{fixed:"right","min-width":"180"},scopedSlots:e._u([{key:"header",fn:function(A){return[t("span",{staticClass:"columnHeader"},[t("strong",[e._v("操作")])])]}},{key:"default",fn:function(A){return[t("el-button",{staticClass:"primaryColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.editor(A.row)}}},[e._v("编辑")])]}}])})],2)],1)]),t("SqlEditor",{ref:"popChildren",attrs:{editroshowdialog:e.editroshowdialog},on:{"update:editroshowdialog":function(t){e.editroshowdialog=t}}})],1)},s=[],r=A("821e"),i=A("f504"),o={components:{SqlEditor:i["default"]},data(){return{tableData:[],dialogFormVisible:this.showdialog,editroshowdialog:!1,tableColumn:[{prop:"id",label:"id",width:"80",show:!0,version:5},{prop:"mapKey",label:"mapKey",width:"150",show:!0,version:5},{prop:"note",label:"note",width:"150",show:!0,version:5},{prop:"online",label:"online",width:"150",show:!0,version:5},{prop:"template",label:"template",width:"400",show:!0,version:5}]}},watch:{showdialog(){this.dialogFormVisible=this.showdialog}},props:["showdialog"],methods:{getChangeMappingDetails(e){console.log(e),Object(r["zb"])({id:e}).then(e=>{console.log(e),e&&(this.tableData=[e])})},cancelForm(){this.$emit("update:showdialog",!1)},editor(e){console.log(e);let t=JSON.stringify(e);this.$refs.popChildren.initialization(t),this.editroshowdialog=!0}}},l=o,n=(A("c4a0"),A("2877")),c=Object(n["a"])(l,a,s,!1,null,null,null);t["default"]=c.exports},"3aff":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ContainerBox"},[t("section",{staticClass:"buttonBox"},[t("div",[t("el-button",{attrs:{type:"primary"},on:{click:e.DownLoad}},[e._v("下载自动模板")]),t("el-button",{attrs:{type:"primary"},on:{click:e.Added}},[e._v("拉取")]),t("el-button",{attrs:{type:"primary"},on:{click:e.Refresh}},[e._v("刷新")]),t("el-button",{attrs:{type:"primary"},on:{click:e.toQueryList}},[e._v("跳转")])],1)]),t("section",{staticClass:"contentBox"},[t("el-table",{ref:"districtTable",attrs:{data:e.tableData,"max-height":"800","default-expand-all":"","row-key":"id"}},[e._l(e.tableColumn,(function(A,a){return A.show?t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label,width:A.width},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v(e._s(a.row[A.prop]))])]}}],null,!0)}):e._e()})),t("el-table-column",{attrs:{fixed:"right","min-width":"180"},scopedSlots:e._u([{key:"header",fn:function(A){return[t("span",{staticClass:"columnHeader"},[t("strong",[e._v("操作")])])]}},{key:"default",fn:function(A){return[t("el-button",{staticClass:"primaryColor",attrs:{type:"text",size:"small",loading:e.loading},on:{click:function(t){return e.downScope(A.row)}}},[e._v("下载 ")])]}}])})],2)],1),t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:"拉取",visible:e.showdialog,"close-on-click-modal":!1,width:"50%"},on:{close:e.cancelForm}},[t("div",{staticStyle:{"text-align":"left",padding:"20px"}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"150px",model:e.formList,rules:e.rules}},[t("el-form-item",{attrs:{label:"开始拉取时间:",prop:""}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"选择日期",clearable:""},model:{value:e.fromTime,callback:function(t){e.fromTime=t},expression:"fromTime"}})],1),t("el-form-item",{attrs:{label:"截止拉取时间:",prop:""}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"选择日期",clearable:""},model:{value:e.endTime,callback:function(t){e.endTime=t},expression:"endTime"}})],1),t("el-form-item",{attrs:{label:"目标系统:",prop:""}},[t("el-select",{attrs:{placeholder:"请选择",clearable:""},model:{value:e.optionvalue,callback:function(t){e.optionvalue=t},expression:"optionvalue"}},e._l(e.options,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"待拉取的业务信息:",prop:""}},[t("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v(" 全选")]),t("el-checkbox-group",{staticStyle:{height:"500px",overflow:"auto"},on:{change:e.handleCheckedCitiesChange},model:{value:e.optionvalue2,callback:function(t){e.optionvalue2=t},expression:"optionvalue2"}},e._l(e.options2,(function(A){return t("el-checkbox",{key:A.value,attrs:{label:A.value}},[e._v(e._s(A.label))])})),1)],1)],1)],1),t("el-button",{staticClass:"sql-btn",attrs:{type:"primary",size:"small"},on:{click:e.submit}},[e._v("提交")])],1)],1)},s=[],r=(A("14d9"),A("821e")),i=A("fb36"),o=[],l={name:"ChangeLogs",data(){return{tableColumn:[{prop:"id",label:"id",width:"250",show:!0,version:5},{prop:"name",label:"名称",width:"300",show:!0,version:5},{prop:"path",label:"路径及描述",width:"500",show:!0,version:5},{prop:"process",label:"进度(已生成数/总数)",width:"180",show:!0,version:5},{prop:"createdTime",label:"拉取时间",width:"300",show:!0,version:5}],tableData:[],showdialog:!1,id:"",value:"",fromTime:"",endTime:"",optionvalue:"",optionvalue2:[],checkAll:!1,options:[{value:"beijing",label:"北京"},{value:"ningxia",label:"宁夏"},{value:"hunan",label:"湖南"},{value:"guangxi",label:"广西"},{value:"nanning",label:"南宁"},{value:"gansu",label:"甘肃"},{value:"shanxi",label:"陕西"},{value:"guowai",label:"国外"},{value:"govout-to-govin",label:"政务外网到公安内网"},{value:"govin-to-public",label:"公安内网到互联网"},{value:"govin-to-govout",label:"公安内网到政务外网"}],options2:[],isIndeterminate:!0,checkAll:!1,checkedCities:[],cities:o,formList:{},rules:{},loading:!1}},components:{selectTree:i["a"]},mounted(){this.getchangeLogs(),this.getmetaTables(),window.location.href.indexOf("zafkxt.jcgov.gov.cn")>-1&&(this.options=[{value:"govout-to-govin",label:"政务外网到公安内网"},{value:"govin-to-govout",label:"公安内网到政务外网"}])},methods:{handleCheckAllChange(e){console.log(e),this.optionvalue2=e?o:[],this.isIndeterminate=!1},handleCheckedCitiesChange(e){console.log(e);let t=e.length;this.checkAll=t===this.options2.length,this.isIndeterminate=t>0&&t{console.log(e),e&&e.length>0&&(this.tableData=e)})},cancelForm(){this.showdialog=!1},Refresh(){this.getchangeLogs()},Added(){this.showdialog=!0},submit(){Object(r["Tb"])({fromTime:this.fromTime,endTime:this.endTime,regionCode:this.optionvalue,tables:this.optionvalue2}).then(e=>{this.$message({type:"success",message:"提交成功"})})},toQueryList(){this.$router.push("QueryList")},DownLoad(){let e="/obpm/v3/extends/change-logs/template/download";window.open(e)},fn2(e){const t=new Map;return console.log(t),e.filter(e=>!t.has(e.value)&&t.set(e.value,e.value))},getmetaTables(){Object(r["Pb"])().then(e=>{console.log(e),e&&e.length>0&&(this.options2=[],o=[],e.forEach(e=>{this.options2.push({value:e.tableName,label:e.displayName})}),this.options2=this.fn2(this.options2),this.options2.forEach(e=>{o.push(e.value)}))})},downScope(e){if(console.log(e),e.process){let t=e.process&&e.process.split("/");if(t.length&&t[0]!=t[1])return void this.$message({type:"warning",message:"进度未完成,不可以下载"})}this.loading=!0;let t="/obpm/v3/extends/change-logs/download/"+e.id;setTimeout(()=>{window.open(t),this.loading=!1},5e3)}}},n=l,c=(A("a6c7"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},"3bbe":function(e,t,A){"use strict";var a=A("1787"),s=String,r=TypeError;e.exports=function(e){if(a(e))return e;throw new r("Can't set "+s(e)+" as a prototype")}},"3d2c":function(e,t,A){"use strict";A("9979")},"3da4":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:e.departTitle,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"90px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{staticClass:"importStep",attrs:{span:24}},[t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第一步:")]),t("span",{staticClass:"stepText"},[t("a",{on:{click:function(t){return e.DownloadTemplate()}}},[e._v("点击下载导入模板文件")]),t("b",[e._v("(请详细阅读文件中的填写提示,以免导入失败)")])])]),t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第二步:")]),t("span",{staticClass:"stepText"},[t("strong",[e._v("上传填写好的导入文件")]),t("el-upload",{staticClass:"upload-demo",attrs:{action:"","http-request":e.uploadImg,"on-preview":e.handlePreview,"on-remove":e.handleRemove,"before-remove":e.beforeRemove,"on-exceed":e.handleExceed,"show-file-list":!1}},[t("el-button",{attrs:{size:"small",icon:"el-icon-upload2"}},[e._v("上传文件")])],1)],1)]),t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第三步:")]),t("span",{staticClass:"stepText"},[t("el-button",{attrs:{type:"primary",disabled:e.disabled},on:{click:e.importOk}},[e._v("点击开始导入")])],1)]),e.resultShow?t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("导入结果:")]),t("span",{staticClass:"stepText stepImportInfo"},[t("p",[t("em",[e._v("导入成功:"+e._s(e.formList.totalSuccess))]),0!=e.formList.totalFailed?t("b",[e._v("导入失败:"+e._s(e.formList.totalFailed))]):e._e(),0!=e.formList.totalFailed?t("i",{on:{click:e.downloadurlClick}},[e._v("点击下载导入失败数据")]):e._e()])])]):e._e()])],1)],1)],1)},s=[],r=A("fb36"),i=A("821e"),o=(A("01ea"),A("4c18")),l={props:["showdialogImport","getTreeDepartlist"],watch:{showdialogImport(){this.dialogFormVisible=this.showdialogImport,this.path="",this.disabled=!0,this.resultShow=!1,this.formList.downloadUrl=""}},components:{selectTree:r["a"]},data(){return{title:"",dialogFormVisible:this.showdialogImport,OperType:0,formList:{},rules:{},path:"",disabled:!0,resultShow:!1,departTitle:"导入"+$SuperviseStr.depart}},methods:{DownloadTemplate(){let e=`static/template/${$SuperviseStr.depart}导入模板.xlsx`;window.open(e)},uploadImg(e){Object(o["a"])(e,{onSuccess:e=>{this.path=e,this.path&&(this.disabled=!1)},context:this,domainId:this.$route.query.domainId||"default"})},importOk(){let e={domainId:this.$route.query.domainId};Object(i["F"])(this.path,e).then(e=>{e.data&&(this.formList.totalSuccess=e.data.totalSuccess,this.formList.totalFailed=e.data.totalFailed,this.formList.downloadUrl=e.data.downloadUrl,this.resultShow=!0,this.path&&(this.disabled=!0))})},downloadurlClick(){this.formList.downloadUrl&&window.open(this.formList.downloadUrl)},handleRemove(e,t){console.log(e,t)},handlePreview(e){console.log(e)},handleExceed(e,t){this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${e.length} 个文件,共选择了 ${e.length+t.length} 个文件`)},beforeRemove(e,t){return this.$confirm(`确定移除 ${e.name}?`)},getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.formList=A,this.OperType=t,console.log(this.formList.parentId),0==this.OperType?this.title="添加":this.title="编辑"},submitForm(){let e={domainId:this.$route.query.domainId};this.OperType,this.$refs.ruleForm.validate(t=>{if(!t)return!1;0==this.OperType?AddDepartmentsApi(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}}):EditDepartmentsApi(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})})},cancelForm(){this.$emit("update:showdialogImport",!1),this.path&&this.$emit("refurlist",{}),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},n=l,c=(A("ab9a"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},4020:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single el-dialog-colum",attrs:{title:"批量设置通讯录权限",visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"130px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.departlabel,prop:"fromDepartIds"}},e._l(e.multipleArr,(function(A,a){return t("span",{key:A.id},[t("em",[e._v(e._s(A.name))]),a!==e.multipleArr.length-1?t("b",[e._v(", ")]):e._e()])})),0)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"通讯录权限:",prop:"permissionType"}},[t("el-radio-group",{staticClass:"elradioLineheight",model:{value:e.formList.permissionType,callback:function(t){e.$set(e.formList,"permissionType",t)},expression:"formList.permissionType"}},[t("el-radio",{attrs:{label:"JustOnDepart"}},[e._v("可见所在"+e._s(e.$SuperviseStr.depart)+"成员")]),t("el-radio",{attrs:{label:"JustSelf"}},[e._v("可见自己")]),t("el-radio",{attrs:{label:"OnDepartAndSub"}},[e._v("可见所在"+e._s(e.$SuperviseStr.depart)+"及下级"+e._s(e.$SuperviseStr.depart)+"成员")]),t("el-radio",{attrs:{label:"Whole"}},[e._v("可见全部成员")]),t("el-radio",{attrs:{label:"Special"}},[e._v("可见指定"+e._s(e.$SuperviseStr.depart))])],1)],1)],1)],1),"Special"==e.formList.permissionType?t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"",prop:"allowedDepartIds"}},[t("selectTree",{ref:"selectTree",attrs:{curValue:e.defaulData,data:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",multiple:"",collapseTags:""},on:{getValue:e.checkChange,selectClickT:e.selectClickT}})],1)],1)],1):e._e()],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)},s=[],r=(A("14d9"),A("fb36")),i=A("821e"),o={props:["showdialogIm"],watch:{showdialogIm(){this.dialogFormVisible=this.showdialogIm}},components:{selectTree:r["a"]},data(){return{title:"",dialogFormVisible:this.showdialogIm,OperType:0,formList:{},rules:{permissionType:[{required:!0,message:"请选择通讯录权限",trigger:"blur"}]},defaulDataParent:"",defaulData:[],parentIdShow:!0,multipleArr:[],getTreeDepartlist:[],departlabel:`要设置的${$SuperviseStr.depart}:`}},methods:{selectClickT(e){console.log(e),this.getTreeDepartlist=e},getTableRow(e,t){console.log(e),this.$set(this.formList,"permissionType","JustOnDepart"),this.multipleArr=e},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"destDepartId",e)},checkChange(e,t){console.log(e),console.log(t),this.$set(this.formList,"allowedDepartIds",e)},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},submitForm(){console.log(this.formList.departIds);let e=[];this.multipleArr.forEach(t=>{e.push(t.id)});let t={domainId:this.$route.query.domainId};this.OperType,this.$refs.ruleForm.validate(A=>{if(!A)return!1;this.$confirm(`即将批量设置${$SuperviseStr.depart}成员的通讯录权限,提交后无法恢复,是否继续?`,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(i["E"])(this.formList,e,t).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})}).catch(()=>{})})},cancelForm(){this.$emit("update:showdialogIm",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},l=o,n=(A("c916"),A("2877")),c=Object(n["a"])(l,a,s,!1,null,null,null);t["default"]=c.exports},4316:function(e,t,A){"use strict";A("7aed")},"439b":function(e,t,A){},4478:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:"导入合同",visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"90px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{staticClass:"importStep",attrs:{span:24}},[t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第一步:")]),t("span",{staticClass:"stepText"},[t("a",{on:{click:function(t){return e.DownloadTemplate()}}},[e._v("点击下载导入模板文件")]),t("b",[e._v("(请详细阅读文件中的填写提示,以免导入失败)")])])]),t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第二步:")]),t("span",{staticClass:"stepText"},[t("strong",[e._v("上传填写好的导入文件")]),t("el-upload",{staticClass:"upload-demo",attrs:{action:"","http-request":e.uploadImg,"on-preview":e.handlePreview,"on-remove":e.handleRemove,"before-remove":e.beforeRemove,"on-exceed":e.handleExceed,"show-file-list":!1}},[t("el-button",{attrs:{size:"small"}},[e._v("上传文件")])],1)],1)]),t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第三步:")]),t("span",{staticClass:"stepText"},[t("el-button",{attrs:{type:"primary",disabled:e.disabled},on:{click:e.importOk}},[e._v("点击开始导入")])],1)]),e.resultShow?t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("导入结果:")]),t("span",{staticClass:"stepText stepImportInfo"},[t("p",[t("em",[e._v("导入成功:"+e._s(e.formList.totalSuccess))]),0!=e.formList.totalFailed?t("b",[e._v("导入失败:"+e._s(e.formList.totalFailed))]):e._e(),0!=e.formList.totalFailed?t("i",{on:{click:e.downloadurlClick}},[e._v("点击下载导入失败数据")]):e._e()])])]):e._e()])],1)],1)],1)},s=[],r=A("fb36"),i=A("821e"),o=(A("01ea"),A("4c18")),l={props:["showdialogImport","getTreeDepartlist"],watch:{showdialogImport(){this.dialogFormVisible=this.showdialogImport,this.path="",this.disabled=!0,this.resultShow=!1,this.formList.downloadUrl=""}},components:{selectTree:r["a"]},data(){return{title:"",dialogFormVisible:this.showdialogImport,OperType:0,formList:{},rules:{},path:"",disabled:!0,resultShow:!1}},methods:{DownloadTemplate(){let e="static/template/合同导入模板.xlsx";window.open(e)},uploadImg(e){Object(o["a"])(e,{onSuccess:e=>{this.path=e,this.path&&(this.disabled=!1)},context:this,domainId:this.$route.query.domainId||"default"})},importOk(){let e={domainId:this.$route.query.domainId};Object(i["G"])(this.path,e).then(e=>{200==e.status&&(this.formList.totalSuccess=e.data.totalSuccess,this.formList.totalFailed=e.data.totalFailed,this.formList.downloadUrl=e.data.downloadUrl,this.resultShow=!0)})},downloadurlClick(){this.formList.downloadUrl&&window.open(this.formList.downloadUrl)},handleRemove(e,t){console.log(e,t)},handlePreview(e){console.log(e)},handleExceed(e,t){this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${e.length} 个文件,共选择了 ${e.length+t.length} 个文件`)},beforeRemove(e,t){return this.$confirm(`确定移除 ${e.name}?`)},getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.formList=A,this.OperType=t,console.log(this.formList.parentId),0==this.OperType?this.title="添加":this.title="编辑"},submitForm(){let e={domainId:this.$route.query.domainId};this.OperType,this.$refs.ruleForm.validate(t=>{if(!t)return!1;0==this.OperType?AddDepartmentsApi(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}}):EditDepartmentsApi(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})})},cancelForm(){this.$emit("update:showdialogImport",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},n=l,c=(A("73a4"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},"447c":function(e,t,A){"use strict";A("90bf")},"44dc":function(e,t,A){},"44e7":function(e,t,A){"use strict";var a=A("861d"),s=A("c6b6"),r=A("b622"),i=r("match");e.exports=function(e){var t;return a(e)&&(void 0!==(t=e[i])?!!t:"RegExp"===s(e))}},4583:function(e,t,A){},4694:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAArCAYAAAAHdLqEAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAP1SURBVGhD7ZnZTxNRFMb9e0XxwQXBxETjg1FjTPTNmBgjIAgUFEQWxQW3oqIIKCqLKIussnfWz/NNM7W0Z+q00AXjTb4HyJze35x7ljv37sMeHYHgjgvYDmDZgFlAWTIn53Vl/kwjDZzP03DTcLG0DvxcdTG7UjjNr7lY2QRilus5L2ikgRsWsCDG2o8WUnTY8kYw+TbwGKHX9R8qhnx4LWwS4I6Ex1pMHlZ+oJgivCFhkwqfAKe3l0rI28lizKfGewJ8wwDmCpyIYcWEZcFIHgnw9RhUo1IRy2Ty+A8+I/o446D3q42ekbgeifomHIzO6zbZKC/gM79cfJ1zUB21cLrNQFWzgcqIgRMtBi52m+gYtvFtUbcNq7yAf19y0Tls4VB9DPtr03W+00B03FZtwyov4GPzDq48MnGwTgen5yPvLNU2rPICPirgl3tMHLgVDN7UX4LgnscF/OBeA59YcFEjiVkeECpM2K6PJRjjU1JVBn44ON9lojwlQY9LdWG1+fzTUW3DKi/g1NSy69XsRgmJm68s3Hhpeatwf8jG0LSDaXk5zS6s8gZOsQmxnrMRDQvsp1kHE1K/+X/t+Wy0K+BsOOMLDgamHPR/z15cgR/L2YXOroDTq8/HbNwbstA6mL3apZP2T9oCr/++ph2DMxH7Jmw0v7fQJhBPZW/SOxpej7/YiIhti4gO4Opp86Rqx+Cs2dxANUgSEjobrxGSzap10EbNa0vCxva2C9qzqcoZ3Jt0zsVT8RgrBlv8rT7T24Owjms2yWLVGZFk7RmxcLXXxKWHpleB+icdTIZI4JzB6elrz0wcbvhTo8tEFU0GavusjJ5nKSQgXzZ1W1AlXbVbmtPfPJ8zeHXUREUkDps8Mf+ulG0s4z6oVjOW2fK1vUyZ/O/MPcNbSc3WV87gF6QrBm2ijjbG8EQmDgJnPWcz0mwpbhXaPuQJ/GyHoU5KEZxfO4Hg0pCqpZtqtr7uDGTehOUMfk4+BlLDxFco8Awe50rezRf47TeWF8vaxMckQd9K8gWBswRGJMY1W4qr+VxqvGbrK2dwtunrL0ycvGt4Hj4iOtYUw6lWwyuPLIlBJY2lMDoe/9iobI7b+vZMzHZpZHw5zdZXzuAUSxqTqF68XycNhKvA3R+TT3s+WSx3XBV+wtHWt3/wycYXqTqaTbJ2BF5M/XvgPDss9CF+WPFMM/DscMvk2Xhpen15I34MnjwS4Hyj1S3dsNjaMjOcj3PQ6zzS1YyLIV4yLK7rd0HbwPnAZonAE5oXDalJ6Y9t4ByE5+3EmoTNYhFu3ZiIvPfZMFzv+jBopIFzcGUY83wBrsCmVJxCieFK4ExXhRwqeOkP4Dca1VIt3fo7gAAAAABJRU5ErkJggg=="},4735:function(e,t,A){"use strict";A("047a")},4749:function(e,t,A){"use strict";A("3590")},"475c":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("section",{staticClass:"staffBoxFlex"},[e._m(0),t("div",{staticClass:"staffContext staffContract"},[t("section",{staticClass:"contentBox"},[t("el-table",{ref:"districtTable",attrs:{data:e.tableDataContract,"max-height":"500","default-expand-all":"","row-key":"id"}},e._l(e.tableColumn,(function(A,a){return A.show?t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label,width:A.width},scopedSlots:e._u([{key:"default",fn:function(a){return["certViewbtn"==A.prop?t("span",["QualificationCer"==a.row.credentialType?t("span",[t("el-button",{attrs:{type:"text"},on:{click:function(t){return e.viewCertPic(a.row)}}},[e._v("查看")])],1):e._e()]):t("span",[e._v(e._s(a.row[A.prop]))])]}}],null,!0)}):e._e()})),1),t("pages",{attrs:{total:e.params.total,currentPage:e.params.pageIndex,pageSize:e.params.pageSize},on:{"update:currentPage":function(t){return e.$set(e.params,"pageIndex",t)},"update:current-page":function(t){return e.$set(e.params,"pageIndex",t)},handleCurrentChangeSub:e.handleCurrentChange,handleSizeChangeSub:e.handleSizeChange}})],1)]),t("el-dialog",{attrs:{title:"资格证证书",visible:e.dialogVisible,width:"327px"},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("span",{staticClass:"certBox"},[t("strong",[e._v("中华人民共和国保安员证")]),t("em",[t("img",{attrs:{src:e.qualicertInfo.headPhoto}})]),t("span",{staticClass:"info"},[t("span",{staticClass:"name"},[e._v(e._s(e.qualicertInfo.name))]),t("span",{staticClass:"title"},[e._v("身份证号:"+e._s(e.qualicertInfo.identityNumber))]),t("span",{staticClass:"title"},[e._v("证书编号:"+e._s(e.qualicertInfo.credentialNumber))]),t("span",{staticClass:"title"},[e._v("发证日期:"+e._s(e.qualicertInfo.fzrq))]),t("span",{staticClass:"title"},[e._v("发证单位:"+e._s(e.qualicertInfo.fzjgmc))])])])]),t("el-dialog",{attrs:{title:"资格证证书",visible:e.dialogVisibleQuliCert,width:"710px"},on:{"update:visible":function(t){e.dialogVisibleQuliCert=t}}},[t("div",{staticClass:"containerQuali"},[t("div",{staticClass:"left"},[t("div",{staticClass:"headphoto"},[t("img",{attrs:{width:"107px",height:"138px",src:e.qualicertInfo.headPhoto}})]),t("div",{staticClass:"infolist"},[t("div",{staticClass:"infolistul"},[t("span",{staticClass:"infolistspan info1"},[t("span",{staticClass:"infostrong"},[e._v("姓       名")]),t("span",{staticClass:"infoem"},[e._v(e._s(e.qualicertInfo.name))])]),t("span",{staticClass:"infolistspan info2"},[t("span",{staticClass:"infostrong"},[e._v("出生年月")]),t("span",{staticClass:"infoem"},[e._v(e._s(e.qualicertInfo.dateBirth))])]),t("span",{staticClass:"infolistspan info3"},[t("span",{staticClass:"infostrong"},[e._v("住       址")]),t("span",{staticClass:"infoem"},[e._v(e._s(e.qualicertInfo.address))])]),t("span",{staticClass:"infolistspan info4"},[t("span",{staticClass:"infostrong"},[e._v("身份证号")]),t("span",{staticClass:"infoem"},[e._v(e._s(e.qualicertInfo.identityNumber))])])])])]),t("div",{staticClass:"right"},[t("div",{staticClass:"nr1"},[t("span",{staticClass:"nrname"},[e._v(e._s(e.qualicertInfo.name))]),t("span",{staticClass:"nrnx"},[e._v("经国家")])]),t("div",{staticClass:"nr2"},[e._v("保安员考试审查合格。")]),t("div",{staticClass:"nr3"},[e._v("       特颁此证。")]),t("div",{staticClass:"nr4"}),t("div",{staticClass:"nr5"},[t("span",{staticClass:"nrfztitle"},[e._v("发证日期:")]),t("span",{staticClass:"nrfzDate"},[e._v(e._s(e.qualicertInfo.fzrqDate))])]),t("div",{staticClass:"nr6"},[t("span",{staticClass:"nrzjtitle"},[e._v("证件编号:")]),t("span",{staticClass:"nrzjNo"},[e._v(e._s(e.qualicertInfo.credentialNumber))])])])])])],1)},s=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"staffTitle"},[t("strong",[e._v("证书信息")])])}],r=A("821e"),i={data(){return{params:{pageIndex:1,pageSize:10,id:"",keyword:"",total:0},tableDataContract:[],tableColumn:[{prop:"credentialTypeName",label:"证书类型",width:"180",show:!0},{prop:"number",label:"证书编号",width:"180",show:!0},{prop:"address",label:"发证机关",width:"180",show:!0},{prop:"validDateFrom",label:"发证日期",width:"",show:!0},{prop:"certViewbtn",label:"电子证书",width:"",show:!0}],dialogVisible:!1,dialogVisibleQuliCert:!1,userInfo:{},credential:{},qualicertInfo:{},credentialInfo:{}}},mounted(){this.certList()},methods:{certList(){console.log(this.$parent.$parent.staffinfo);let e=this.$parent.$parent.staffinfo.id,t={domainId:this.$route.query.domainId};Object(r["N"])(this.params,t,e).then(e=>{console.log(e),this.tableDataContract=e.data.data,this.params.total=e.data.total||0})},viewCertPic(e){console.log(e);let t=this.$parent.$parent.staffinfo,A={domainId:this.$route.query.domainId};Object(r["pb"])(t,A).then(t=>{200==t.status&&(this.userInfo=t.data.userInfo,Object(r["Ib"])(this.userInfo,7,e.number).then(e=>{if(console.log(e),200==e.status){if(this.qualicertInfo=e.data,this.qualicertInfo.headPhoto&&-1==this.qualicertInfo.headPhoto.indexOf("http")&&(this.qualicertInfo.headPhoto=location.origin+"/obpm"+this.qualicertInfo.headPhoto),this.qualicertInfo.identityNumber){let e=this.qualicertInfo.identityNumber,t=e.substring(6,10)+"年"+e.substring(10,12)+"月"+e.substring(12,14)+"日";this.qualicertInfo.dateBirth=t}if(this.qualicertInfo.fzrq){let e="";e=this.qualicertInfo.fzrq&&this.qualicertInfo.fzrq.split("-"),console.log(e),this.qualicertInfo.fzrqDate=`${e[0]} 年 ${e[1]} 月 ${e[2]} 日`}this.qualicertInfo.frontPhoto?this.qualicertInfo.frontPhoto.indexOf("http")>-1?window.open(this.qualicertInfo.frontPhoto):window.open(location.origin+"/obpm"+this.qualicertInfo.frontPhoto):this.qualicertInfo.fzjgmc&&this.qualicertInfo.fzjgmc.indexOf("北京")>-1?this.dialogVisibleQuliCert=!0:this.dialogVisible=!0}}),Object(r["Ib"])(this.userInfo,0,this.userInfo.credential.number).then(e=>{console.log(e),200==e.status&&(this.credentialInfo=e.data,this.credentialInfo.headPhoto&&-1==this.credentialInfo.headPhoto.indexOf("http")&&(this.credentialInfo.headPhoto=location.origin+"/obpm"+this.credentialInfo.headPhoto))}))})},handleCurrentChange(e){console.log(e),this.params.pageIndex=e,this.certList()},handleSizeChange(e){console.log(e),this.params.pageSize=e,this.certList()},Edit(e,t){},download(e){e.attachment&&window.open(e.attachment)}}},o=i,l=(A("ce91"),A("1652"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,"b0c997e8",null);t["default"]=n.exports},"47f8":function(e,t,A){e.exports=A.p+"static/img/tips.6464aa9f.png"},4852:function(e,t,A){},"487a":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"150px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.departlabel,prop:"name"}},[t("el-input",{attrs:{"auto-complete":"off",placeholder:e.departplaceholder,clearable:""},model:{value:e.formList.name,callback:function(t){e.$set(e.formList,"name",t)},expression:"formList.name"}})],1)],1)],1),e.parentIdShow?t("el-row",[t("el-col",{attrs:{span:24}},[e.parentIdShow?t("el-form-item",{attrs:{label:e.departlabel2,prop:"parentId"}},[t("selectTree",{ref:"selectTreeParent",attrs:{curValue:e.defaulDataParent,data:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",collapseTags:""},on:{getValue:e.checkChangeParent}})],1):e._e()],1)],1):e._e(),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"设置为部门主管:",prop:"leaderEmployeeIdList"}},[t("el-select",{attrs:{placeholder:"请选择",multiple:"",clearable:"",filterable:"","collapse-tags":""},model:{value:e.leaderEmployeeIdList,callback:function(t){e.leaderEmployeeIdList=t},expression:"leaderEmployeeIdList"}},e._l(e.tData,(function(e,A){return t("el-option",{key:A,attrs:{label:e.name,value:e.id}})})),1)],1)],1)],1),e.parentIdShow?t("el-row",[t("el-col",{attrs:{span:24}},[e.parentIdShow?t("el-form-item",{attrs:{label:"排序:",prop:"displayOrder"}},[t("el-input",{attrs:{"auto-complete":"off",clearable:"",type:"number"},model:{value:e.formList.displayOrder,callback:function(t){e.$set(e.formList,"displayOrder",e._n(t))},expression:"formList.displayOrder"}})],1):e._e()],1)],1):e._e(),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"通讯录权限:",prop:"permissionType"}},[t("el-radio-group",{staticClass:"elradioLineheight",model:{value:e.formList.permissionType,callback:function(t){e.$set(e.formList,"permissionType",t)},expression:"formList.permissionType"}},[t("el-radio",{attrs:{label:"JustSelf"}},[e._v("可见自己")]),t("el-radio",{attrs:{label:"JustOnDepart"}},[e._v("可见所在"+e._s(e.$SuperviseStr.depart)+"成员")]),t("el-radio",{attrs:{label:"OnDepartAndSub"}},[e._v("可见所在"+e._s(e.$SuperviseStr.depart)+"及下级"+e._s(e.$SuperviseStr.depart)+"成员")]),t("el-radio",{attrs:{label:"Whole"}},[e._v("可见全部成员")]),t("el-radio",{attrs:{label:"Special"}},[e._v("可见指定"+e._s(e.$SuperviseStr.depart))])],1)],1)],1)],1),"Special"==e.formList.permissionType?t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"",prop:"allowedDepartIds"}},[t("selectTree",{ref:"selectTree",attrs:{curValue:e.defaulData,data:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",multiple:"",collapseTags:""},on:{getValue:e.checkChange,selectClickT:e.selectClickT}})],1)],1)],1):e._e()],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)},s=[],r=(A("14d9"),A("fb36")),i=A("821e"),o={props:["showdialog"],watch:{showdialog(){this.leaderEmployeeIdList=[],this.dialogFormVisible=this.showdialog},"formList.parentId"(){console.log(this.formList.parentId),this.formList.parentId&&this.$nextTick(()=>{this.$refs.ruleForm.clearValidate(["parentId"])})}},components:{selectTree:r["a"]},data(){return{title:"",dialogFormVisible:this.showdialog,OperType:0,leaderEmployeeIdList:[],formList:{},rules:{name:[{required:!0,message:`请输入${$SuperviseStr.depart}名称`,trigger:"blur"}],parentId:[{required:!0,message:"请选择上级"+$SuperviseStr.depart,trigger:"blur"}],permissionType:[{required:!0,message:"请选择通讯录权限",trigger:"blur"}],allowedDepartIds:[{required:!0,message:"请可见指定"+$SuperviseStr.depart,trigger:"blur"}]},defaulDataParent:"",defaulData:[],getTreeDepartlist:[],parentIdShow:!0,departlabel:$SuperviseStr.depart+"名称:",departlabel2:`上级${$SuperviseStr.depart}:`,departplaceholder:`请输入${$SuperviseStr.depart}名称`,tData:[]}},methods:{async getTableRow(e,t,A){let a=JSON.parse(JSON.stringify(e));this.formList=a,this.OperType=t,Object(i["y"])({pageIndex:1,pageSize:1e4,keyword:"",departIds:[e.id],total:0}).then(e=>{var t;e.data.data&&(this.tData=e.data.data,this.leaderEmployeeIdList=null===(t=e.data.data.filter(e=>e.departLeader))||void 0===t?void 0:t.map(e=>e.id))}),this.tableDatalist(A),console.log("async第二步"),0==this.OperType?(this.title="添加",this.$set(this.formList,"permissionType","JustSelf"),this.defaulDataParent=[],this.formList.allowedDepartIds=[],this.parentIdShow=!0):(this.title="编辑",this.defaulDataParent=this.formList.parentId,this.defaulData=this.formList.allowedDepartIds,void 0==this.formList.parentId?this.parentIdShow=!1:this.parentIdShow=!0)},tableDatalist(e){this.getTreeDepartlist=e,this.sortTableData(this.getTreeDepartlist)},sortTableData(e){e.length&&e.forEach(e=>{e.displayOrderNumber=e.displayOrder;let t=[];e.allowedDeparts&&e.allowedDeparts.length&&(e.allowedDeparts.forEach(e=>{t.push(e.name)}),e.allowedDepartsStr=t.join(",")),e.children.length&&this.sortTableData(e.children)})},selectClickT(e){console.log(e),this.getTreeDepartlist=e},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"parentId",e)},checkChange(e,t){console.log(e),console.log(t),e.length&&this.$set(this.formList,"allowedDepartIds",e)},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},submitForm(){console.log(this.formList,this.leaderEmployeeIdList),this.formList.allowedDepartIds&&this.formList.allowedDepartIds.length&&this.$nextTick(()=>{this.$refs.ruleForm.clearValidate(["allowedDepartIds"])});let e={domainId:this.$route.query.domainId};this.OperType,this.$refs.ruleForm.validate(t=>{if(!t)return!1;0==this.OperType?Object(i["d"])({...this.formList,leaderEmployeeIdList:this.leaderEmployeeIdList},e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}}):Object(i["q"])({...this.formList,leaderEmployeeIdList:this.leaderEmployeeIdList},e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})})},cancelForm(){this.$emit("update:showdialog",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields(),this.defaulDataParent=[],this.defaulData=[]}))}}},l=o,n=(A("4316"),A("2877")),c=Object(n["a"])(l,a,s,!1,null,null,null);t["default"]=c.exports},4880:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"table-list"},[t("section",{staticClass:"buttonBox"},[t("el-row",[t("el-col",{attrs:{span:4,offset:19}},[t("el-input",{attrs:{placeholder:"请输入部门名称",clearable:""},model:{value:e.keyword,callback:function(t){e.keyword=t},expression:"keyword"}})],1)],1)],1),t("section",{staticClass:"contentBox"},[t("el-table",{staticStyle:{width:"100%"},attrs:{data:e.filteredDepartments,"default-expand-all":!0,"row-key":"id","tree-props":{children:"children",hasChildren:"hasChildren"}},on:{"select-all":e.selectAllFilteredDepartmentHandler}},[t("el-table-column",{attrs:{type:"selection",prop:"selected",width:"70"},scopedSlots:e._u([{key:"default",fn:function(A){return[t("el-checkbox",{on:{change:function(t){return e.departRowCheckChanged(A.row)}},model:{value:A.row.selected,callback:function(t){e.$set(A.row,"selected",t)},expression:"scope.row.selected"}})]}}])}),t("el-table-column",{attrs:{prop:"name",label:"部门名称",width:"300",fixed:!0}}),t("el-table-column",{attrs:{label:"部门成员通讯录权限"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s("JustOnDepart"==t.row["permissionType"]?`可见所在${e.$SuperviseStr.depart}成员`:"")+" "+e._s("JustSelf"==t.row["permissionType"]?"可见自己":"")+" "+e._s("OnDepartAndSub"==t.row["permissionType"]?`可见所在${e.$SuperviseStr.depart}及下级${e.$SuperviseStr.depart}成员`:"")+" "+e._s("Special"==t.row["permissionType"]?"可见指定"+e.$SuperviseStr.depart+"("+t.row.allowedDepartsStr+")":"")+" "+e._s("Whole"==t.row["permissionType"]?"可见全部成员":"")+" ")]}}])})],1)],1)]),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.applySelectedDepartment}},[e._v("确 定")]),t("el-button",{on:{click:e.closeSelectDepartment}},[e._v("取 消")])],1)])},s=[],r=(A("14d9"),A("821e")),i=!1,o=[],l=[],n={props:{loadingDepartment:{type:Boolean,default:!1},selectedDepartIds:{type:Array,default:[]}},emits:["apply-selected-department-handler","cancel-selected-department-handler"],data(){return{keyword:"",departments:[],filteredDepartments:[],selectedDepartments:{}}},watch:{selectedDepartIds(e,t){console.log("监听到变化:",e,t,arguments,this.selectedDepartIds,o),this.switchDepartmentsSelected(o,e,t)},keyword(e,t){console.log("执行刷新操作keyword===",e),this.searchFilterDepartment(e)},filteredDepartments(e,t){},loadingDepartment(e,t){console.log("loadingDepartment的执行动作",e,t,this.selectedDepartIds)}},mounted(){var e=this;if(console.log("mounted 加载部门信息....",i,o,e.selectedDepartIds),i)this.switchDepartmentsSelected(o,e.selectedDepartIds,null,!0),e.searchFilterDepartment("");else{let t={domainId:e.$route.query.domainId};Object(r["w"])(t).then(t=>{if(t.data){for(var A=t.data,a=[],s=0;s0==t.filter(t=>t==e).length)),console.log("待切换的状态",t,t.length,r,a);var i=function(e,t,A){for(var a=0;ae==c.id).length>0)}else{if(console.log("选中的数据为v2...:",s.selectedDepartments,t,t.length),s.selectedDepartments&&0==t.length)for(var n in this.selectedDepartments){var c=this.selectedDepartments[n];c.selected=!1,delete s.selectedDepartments[n],console.log("取消选中的数据为:",c,s.selectedDepartments)}i(l,r,!1)}},selectAllFilteredDepartmentHandler(e){var t=this,A=e.length>0;o.forEach((e,a)=>{e.selected=A,t.departRowCheckChanged(e),console.log("触发到==selectAllFilteredDepartmentHandler 的功能",e)})},searchFilterDepartment(e){let t=e;if(t){let e=o;e=this.handleTreeData(e,t),this.filteredDepartments=e}else console.log("展示数据之前的searchFilterDepartment值为",l),this.filteredDepartments=o},handleTreeData(e,t){if(!e||0==e.length)return[];const A=[];for(let a=0;a0||s)&&A.push({...e[a],children:this.handleTreeData(e[a].children,t)})}return A},departRowCheckChanged(e){var t=this;if(null!==e&&void 0!==e&&e.children)for(var A=0;At==e.id).length>0,children:[]};if(a.selected?A.selectedDepartments[a.id]=a:delete A.selectedDepartments[a.id],null!==e&&void 0!==e&&e.children)for(var s=0;s{e.displayOrderNumber=e.displayOrder;let t=[];e.allowedDeparts&&e.allowedDeparts.length&&(e.allowedDeparts.forEach(e=>{t.push(e.name)}),e.allowedDepartsStr=t.join(",")),e.children.length&&this.sortTableData(e.children)})}}},c=n,d=A("2877"),p=Object(d["a"])(c,a,s,!1,null,null,null);t["default"]=p.exports},"4ac6":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("section",{staticClass:"staffBoxFlexRow areaInfoBox"},[t("div",{staticClass:"staffTitle"},[t("strong",[e._v("地理位置")]),t("span",{staticClass:"staffTitletips"},[e._v('选定位置后,系统将自动把"名称"、"省市区"、"详细地址"、""经纬度"信息分别带入至"驻勤点名称"、"驻勤点省市区"、"驻勤点详细地址"、"驻勤点经纬度" ')]),t("el-button",{attrs:{type:"primary"},on:{click:e.onSave}},[e._v("确定")])],1),t("div",{staticClass:"staffContext"},[t("el-form",{ref:"form",attrs:{"label-width":"100px"}},[t("div",{staticClass:"infoBox"},[t("strong",[e._v("经纬坐标:")]),e.longitude?t("span",[e._v(" ["+e._s(e.longitude)+", "+e._s(e.latitude)+"] ")]):e._e(),t("strong",[e._v("位置:")]),e._v(" "+e._s(e.address)+" "),t("strong",[e._v("名称:")]),e._v(e._s(e.attendanceSiteName)+" "),t("strong",[e._v("省市区:")]),e._v(e._s(e.district))]),t("el-row",[t("el-col",{attrs:{span:12}},["tiandimap"===e.mapType?t("div",{staticClass:"search-box-td"},[t("div",{staticClass:"search-wraper"},[t("input",{ref:"tiandiSearchInput",staticClass:"search-input"}),t("span",{staticClass:"search-btn",on:{click:e.onSearchMap}},[e._v("搜索")])])]):t("el-amap-search-box",{staticClass:"search-box",attrs:{"search-option":e.searchOption,"on-search-result":e.onSearchResult,placeholder:"请输入搜索地址"}})],1)],1),t("el-row",{staticStyle:{width:"100%",height:"650px"}},["tiandimap"===e.mapType?t("div",{staticClass:"mapBox",attrs:{id:"mapDiv"}}):t("el-amap",{ref:"map",staticClass:"amap-demo",attrs:{vid:"amapDemo",center:e.center,zoom:e.zoom,events:e.events}},e._l(e.markers,(function(e,A){return t("el-amap-marker",{key:"marker"+A,attrs:{position:e}})})),1)],1)],1)],1)])},s=[];A("14d9"); /** * @preserve * gcoord 1.0.6, geographic coordinate library * Copyright (c) 2024 Jiulong Hu */ const{sin:r,cos:i,sqrt:o,abs:l,PI:n}=Math,c=6378245,d=.006693421622965823;function p(e,t){return e>=72.004&&e<=137.8347&&t>=.8293&&t<=55.8271}function h(e,t){let A=2*e-100+3*t+.2*t*t+.1*e*t+.2*o(l(e));return A+=2*(20*r(6*e*n)+20*r(2*e*n))/3,A+=2*(20*r(t*n)+40*r(t/3*n))/3,A+=2*(160*r(t/12*n)+320*r(t*n/30))/3,A}function u(e,t){let A=300+e+2*t+.1*e*e+.1*e*t+.1*o(l(e));return A+=2*(20*r(6*e*n)+20*r(2*e*n))/3,A+=2*(20*r(e*n)+40*r(e/3*n))/3,A+=2*(150*r(e/12*n)+300*r(e/30*n))/3,A}function m(e,t){let A=u(e-105,t-35),a=h(e-105,t-35);const s=t/180*n;let l=r(s);l=1-d*l*l;const p=o(l);return A=180*A/(c/p*i(s)*n),a=180*a/(c*(1-d)/(l*p)*n),[A,a]}function g(e){const[t,A]=e;if(!p(t,A))return[t,A];const a=m(t,A);return[t+a[0],A+a[1]]}function f(e){const[t,A]=e;if(!p(t,A))return[t,A];let[a,s]=[t,A],r=g([a,s]),i=r[0]-t,o=r[1]-A;while(l(i)>1e-6||l(o)>1e-6)a-=i,s-=o,r=g([a,s]),i=r[0]-t,o=r[1]-A;return[a,s]}const{sin:w,cos:B,atan2:b,sqrt:C,PI:y}=Math,v=3e3*y/180;function Q(e){const[t,A]=e,a=t-.0065,s=A-.006,r=C(a*a+s*s)-2e-5*w(s*v),i=b(s,a)-3e-6*B(a*v),o=r*B(i),l=r*w(i);return[o,l]}function F(e){const[t,A]=e,a=t,s=A,r=C(a*a+s*s)+2e-5*w(s*v),i=b(s,a)+3e-6*B(a*v),o=r*B(i)+.0065,l=r*w(i)+.006;return[o,l]}const S=180/Math.PI,U=Math.PI/180,I=6378137,D=20037508.342789244;function x(e){return[e[0]*S/I,(.5*Math.PI-2*Math.atan(Math.exp(-e[1]/I)))*S]}function L(e){const t=Math.abs(e[0])<=180?e[0]:e[0]-360*(e[0]<0?-1:1),A=[I*t*U,I*Math.log(Math.tan(.25*Math.PI+.5*e[1]*U))];return A[0]>D&&(A[0]=D),A[0]<-D&&(A[0]=-D),A[1]>D&&(A[1]=D),A[1]<-D&&(A[1]=-D),A}const{abs:k}=Math,E=[12890594.86,8362377.87,5591021,3481989.83,1678043.12,0],_=[75,60,45,30,15,0],O=[[1.410526172116255e-8,898305509648872e-20,-1.9939833816331,200.9824383106796,-187.2403703815547,91.6087516669843,-23.38765649603339,2.57121317296198,-.03801003308653,17337981.2],[-7.435856389565537e-9,8983055097726239e-21,-.78625201886289,96.32687599759846,-1.85204757529826,-59.36935905485877,47.40033549296737,-16.50741931063887,2.28786674699375,10260144.86],[-3.030883460898826e-8,898305509983578e-20,.30071316287616,59.74293618442277,7.357984074871,-25.38371002664745,13.45380521110908,-3.29883767235584,.32710905363475,6856817.37],[-1.981981304930552e-8,8983055099779535e-21,.03278182852591,40.31678527705744,.65659298677277,-4.44255534477492,.85341911805263,.12923347998204,-.04625736007561,4482777.06],[3.09191371068437e-9,8983055096812155e-21,6995724062e-14,23.10934304144901,-.00023663490511,-.6321817810242,-.00663494467273,.03430082397953,-.00466043876332,2555164.4],[2.890871144776878e-9,8983055095805407e-21,-3.068298e-8,7.47137025468032,-353937994e-14,-.02145144861037,-1234426596e-14,.00010322952773,-323890364e-14,826088.5]],H=[[-.0015702102444,111320.7020616939,0x60e374c3105a3,-0x24bb4115e2e164,0x5cc55543bb0ae8,-0x7ce070193f3784,0x5e7ca61ddf8150,-0x261a578d8b24d0,0x665d60f3742ca,82.5],[.0008277824516172526,111320.7020463578,647795574.6671607,-4082003173.641316,10774905663.51142,-15171875531.51559,12053065338.62167,-5124939663.577472,913311935.9512032,67.5],[.00337398766765,111320.7020202162,4481351.045890365,-23393751.19931662,79682215.47186455,-115964993.2797253,97236711.15602145,-43661946.33752821,8477230.501135234,52.5],[.00220636496208,111320.7020209128,51751.86112841131,3796837.749470245,992013.7397791013,-1221952.21711287,1340652.697009075,-620943.6990984312,144416.9293806241,37.5],[-.0003441963504368392,111320.7020576856,278.2353980772752,2485758.690035394,6070.750963243378,54821.18345352118,9540.606633304236,-2710.55326746645,1405.483844121726,22.5],[-.0003218135878613132,111320.7020701615,.00369383431289,823725.6402795718,.46104986909093,2351.343141331292,1.58060784298199,8.77738589078284,.37238884252424,7.45]];function $(e,t,A){const a=k(t)/A[9];let s=A[0]+A[1]*k(e),r=A[2]+A[3]*a+A[4]*Math.pow(a,2)+A[5]*Math.pow(a,3)+A[6]*Math.pow(a,4)+A[7]*Math.pow(a,5)+A[8]*Math.pow(a,6);return s*=e<0?-1:1,r*=t<0?-1:1,[s,r]}function K(e){const[t,A]=e;let a=[];for(let s=0;s<_.length;s++)if(k(A)>_[s]){a=H[s];break}return $(t,A,a)}function N(e){const[t,A]=e;let a=[];for(let s=0;s=E[s]){a=O[s];break}return $(t,A,a)}function M(e,t){if(!e)throw new Error(t)}function P(e){return!!e&&"[object Array]"===Object.prototype.toString.call(e)}function R(e){return!isNaN(Number(e))&&null!==e&&!P(e)}function V(...e){const t=e.length-1;return function(...A){let a=t,s=e[t].apply(null,A);while(a--)s=e[a].call(null,s);return s}}function j(e,t,A=!1){if(null===e)return;let a,s,r,i,o,l,n,c,d=0,p=0;const{type:h}=e,u="FeatureCollection"===h,m="Feature"===h,g=u?e.features.length:1;for(let f=0;f=2,"Invalid input coordinate: "+e),M(R(e[0])&&R(e[1]),"Invalid input coordinate: "+e),e=e.map(Number),i=!0);const o=s;return i?o(e):(j(e,e=>{[e[0],e[1]]=o(e)}),e)}const te=Object.assign(Object.assign({},G),{CRSTypes:G,transform:ee});A("821e");var Ae=A("8f9b"),ae=A.n(Ae),se=A("b311"),re=A.n(se);let ie,oe=new ae.a.AMapManager;var le={name:"fence-manage",data(){let e=this;return{mapType:"gaode",tiandiMap:null,district:"",attendanceSiteName:"",searchValue:"",userInfo:{},formList:{xy:"",address:""},longitude:"0",latitude:"0",amapManager:oe,zoom:15,center:[116.400128,39.947276],address:"",lng:0,lat:0,xy:"",searchOption:{city:"",citylimit:!1},markers:[],placeSearch:null,events:{init:e=>{console.log(e)},click(t){let{lng:A,lat:a}=t.lnglat;e.lng=A,e.lat=a,e.formList.xy=e.lng+","+e.lat,e.longitude=e.lng,e.latitude=e.lat;var s=new AMap.Geocoder({radius:1e3,extensions:"all"});s.getAddress([A,a],(function(t,s){if("complete"===t&&"OK"===s.info&&s&&s.regeocode){console.log(s),e.address=s.regeocode.formattedAddress,e.attendanceSiteName=s.regeocode.pois[0].name;let t="";""==s.regeocode.addressComponent.city?(t="市辖区",s.regeocode.addressComponent.province.indexOf("重庆市")>-1&&s.regeocode.addressComponent.district.indexOf("县")>-1&&(t="县")):t=s.regeocode.addressComponent.city,e.district=s.regeocode.addressComponent.province+t+s.regeocode.addressComponent.district,e.$nextTick(),e.markers=[],e.markers.push([A,a])}}))}},plugin:[{pName:"Geocoder",events:{init(e){ie=e}}}]}},mounted(){if(console.log(this.$route.query),"tiandimap"===this.mapType)if(this.initTiandiMap(),window.AMap)this.initAMapSearch();else{const e=setInterval(()=>{window.AMap&&(clearInterval(e),this.initAMapSearch())},100)}if(this.$route.query&&(this.longitude=this.$route.query.longitude&&this.$route.query.longitude,this.latitude=this.$route.query.latitude&&this.$route.query.latitude,this.address=this.$route.query.address&&this.$route.query.address,this.attendanceSiteName=this.$route.query.attendanceSiteName&&this.$route.query.attendanceSiteName,this.district=this.$route.query.district&&this.$route.query.district,this.$route.query.longitude&&(this.markers=[],this.center=[this.longitude,this.latitude],this.markers.push([this.longitude,this.latitude]),"tiandimap"===this.mapType&&this.longitude&&this.latitude))){const e=te.transform([this.longitude,this.latitude],te.GCJ02,te.WGS84);if(this.addTiandiMarker(e[0],e[1]),!this.address||!this.attendanceSiteName||!this.district)if(window.AMap)this.getLocationInfoFromAMap([this.longitude,this.latitude]);else{const e=setInterval(()=>{window.AMap&&(clearInterval(e),this.getLocationInfoFromAMap([this.longitude,this.latitude]))},100)}}},methods:{initAMapSearch(){try{this.placeSearch=new AMap.PlaceSearch({pageSize:10,pageIndex:1,city:"",citylimit:!1}),console.log("高德地图搜索初始化成功")}catch(e){console.error("高德地图搜索初始化失败:",e)}},clearTiandiMap(){let e=this.tiandiMap.getOverlays();for(let t=0;t{if("complete"===e&&"OK"===t.info&&t&&t.regeocode&&(this.address||(this.address=t.regeocode.formattedAddress),this.attendanceSiteName||(t.regeocode.pois&&t.regeocode.pois.length>0?this.attendanceSiteName=t.regeocode.pois[0].name:this.attendanceSiteName=this.address.split("区").pop()||this.address),!this.district)){const e=t.regeocode.addressComponent;let A="";""===e.city?(A="市辖区",e.province.indexOf("重庆市")>-1&&e.district.indexOf("县")>-1&&(A="县")):A=e.city,this.district=e.province+A+e.district}})},getAddressZh(e,t,A){const a=[e,t],s=te.transform(a,te.WGS84,te.GCJ02);this.getLocationInfoFromAMap(s)},onSearchMap(){const e=this.$refs.tiandiSearchInput.value;e?(this.attendanceSiteName=e,this.placeSearch||(this.initAMapSearch(),this.placeSearch)?this.placeSearch.search(e,(t,A)=>{if("complete"===t&&"OK"===A.info){const t=A.poiList.pois;if(t&&t.length>0){var a,s;const A=t[0];this.address=A.address||"";const r=[A.location.lng,A.location.lat],i=te.transform(r,te.GCJ02,te.WGS84);this.clearTiandiMap(),this.addTiandiMarker(i[0],i[1]),this.formList.xy=r[0]+","+r[1],this.longitude=null===(a=r[0])||void 0===a?void 0:a.toFixed(6),this.latitude=null===(s=r[1])||void 0===s?void 0:s.toFixed(6),this.address=A.address||"",this.attendanceSiteName=A.name||e;const o=new AMap.Geocoder({radius:1e3,extensions:"all"});o.getAddress(r,(e,t)=>{if("complete"===e&&"OK"===t.info&&t&&t.regeocode){const e=t.regeocode.addressComponent;let A="";""===e.city?(A="市辖区",e.province.indexOf("重庆市")>-1&&e.district.indexOf("县")>-1&&(A="县")):A=e.city,this.district=e.province+A+e.district}})}else this.$message({type:"warning",message:"未找到相关地点"})}else this.$message({type:"warning",message:"搜索失败,请重试"})}):this.$message({type:"error",message:"搜索功能初始化失败,请刷新页面重试"})):this.$message({type:"warning",message:"请输入搜索关键词"})},onMapClick(e){var t,A;const a=[e.lnglat.getLng(),e.lnglat.getLat()],s=te.transform(a,te.WGS84,te.GCJ02);this.longitude=null===(t=s[0])||void 0===t?void 0:t.toFixed(6),this.latitude=null===(A=s[1])||void 0===A?void 0:A.toFixed(6),this.formList.xy=s[0]+","+s[1],this.clearTiandiMap(),this.addTiandiMarker(a[0],a[1]);const r=new AMap.Geocoder({radius:1e3,extensions:"all"});r.getAddress(s,(e,t)=>{if("complete"===e&&"OK"===t.info&&t&&t.regeocode){this.address=t.regeocode.formattedAddress,t.regeocode.pois&&t.regeocode.pois.length>0?this.attendanceSiteName=t.regeocode.pois[0].name:this.attendanceSiteName=this.address.split("区").pop()||this.address;const e=t.regeocode.addressComponent;let A="";""===e.city?(A="市辖区",e.province.indexOf("重庆市")>-1&&e.district.indexOf("县")>-1&&(A="县")):A=e.city,this.district=e.province+A+e.district}})},initTiandiMap(){this.tiandiMap=new T.Map("mapDiv");const e=new T.LngLat(116.40969,39.89945);this.tiandiMap.centerAndZoom(e,12),this.tiandiMap.addEventListener("click",this.onMapClick)},onSave(){this.longitude?(console.log("hahahhah",this.longitude),window.parent.postMessage({longitude:this.longitude,latitude:this.latitude,address:this.address,attendanceSiteName:this.attendanceSiteName,district:this.district},"*")):this.$message({type:"warning",message:"请搜索,再点击确定"})},onCopylong(){if(console.log(this.longitude),!this.longitude)return void this.$message({type:"warning",message:"请搜索,再点击复制"});let e=JSON.stringify(this.longitude);this.$nextTick(()=>{let t=new re.a(".copyTextlong",{text:function(){return e}});t.on("success",e=>{this.$message({type:"success",message:"复制成功"}),t.destroy()}),t.on("error",e=>{this.$message({type:"warning",message:"该浏览器不支持自动复制!"}),t.destroy()})})},onCopylat(){if(console.log(this.latitude),!this.latitude)return void this.$message({type:"warning",message:"请搜索,再点击复制"});let e=JSON.stringify(this.latitude);this.$nextTick(()=>{let t=new re.a(".copyTextlat",{text:function(){return e}});t.on("success",e=>{this.$message({type:"success",message:"复制成功"}),t.destroy()}),t.on("error",e=>{this.$message({type:"warning",message:"该浏览器不支持自动复制!"}),t.destroy()})})},onCopyaddress(){if(console.log(this.address),!this.address)return void this.$message({type:"warning",message:"请搜索,再点击复制"});let e=JSON.stringify(this.address);this.$nextTick(()=>{let t=new re.a(".copyTextaddress",{text:function(){return e}});t.on("success",e=>{this.$message({type:"success",message:"复制成功"}),t.destroy()}),t.on("error",e=>{this.$message({type:"warning",message:"该浏览器不支持自动复制!"}),t.destroy()})})},getRefVal(e){if(console.log("22",e),this.formList=e,this.formList.longitude){let e=this.formList.longitude+","+this.formList.latitude;this.$set(this.formList,"xy",e);let t=[this.formList.longitude,this.formList.latitude];this.center=[t[0],t[1]]}},onSearchResult(e){this.attendanceSiteName=document.querySelector(".search-box-wrapper input").value,console.log(e);let t=0,A=0;if(e.length>0){e.forEach(a=>{let{lng:s,lat:r}=a;A+=s,t+=r,this.address=e[0].address});let s={lng:A/e.length,lat:t/e.length};this.center=[s.lng,s.lat],this.markers=[],this.markers.push([e[0].lng,e[0].lat]),this.formList.xy=e[0].lng+","+e[0].lat,this.longitude=e[0].lng,this.latitude=e[0].lat,this.$nextTick(()=>{this.$refs.map.$$getInstance().setFitView()});let r=this;var a=new AMap.Geocoder({radius:1e3,extensions:"all"});a.getAddress([this.longitude,this.latitude],(function(e,t){if("complete"===e&&"OK"===t.info&&t&&t.regeocode){console.log(t);let e="";""==t.regeocode.addressComponent.city?(e="市辖区",t.regeocode.addressComponent.province.indexOf("重庆市")>-1&&t.regeocode.addressComponent.district.indexOf("县")>-1&&(e="县")):e=t.regeocode.addressComponent.city,r.district=t.regeocode.addressComponent.province+e+t.regeocode.addressComponent.district}}))}}}},ne=le,ce=(A("16fa"),A("1ac4"),A("2877")),de=Object(ce["a"])(ne,a,s,!1,null,null,null);t["default"]=de.exports},"4b3b":function(e,t,A){var a={"./404":"8cdb","./404.vue":"8cdb","./ApproveOrg":"c897","./ApproveOrg/":"c897","./ApproveOrg/ApproveDetail":"4bc7","./ApproveOrg/ApproveDetail.vue":"4bc7","./ApproveOrg/ApproveModal":"2c46","./ApproveOrg/ApproveModal.vue":"2c46","./ApproveOrg/index":"c897","./ApproveOrg/index.vue":"c897","./AuthList":"e6df","./AuthList/":"e6df","./AuthList/components/AuthDialog":"e1e1","./AuthList/components/AuthDialog.vue":"e1e1","./AuthList/components/ImportContractDialog":"4478","./AuthList/components/ImportContractDialog.vue":"4478","./AuthList/components/MoveSuperDialog":"fc2d","./AuthList/components/MoveSuperDialog.vue":"fc2d","./AuthList/components/UserEmployeeBackDialog":"2e92","./AuthList/components/UserEmployeeBackDialog.vue":"2e92","./AuthList/index":"e6df","./AuthList/index.vue":"e6df","./AuthListV2":"7435","./AuthListV2/":"7435","./AuthListV2/components/AuthDialog":"ea07","./AuthListV2/components/AuthDialog.vue":"ea07","./AuthListV2/components/MoveSuperDialog":"eee4","./AuthListV2/components/MoveSuperDialog.vue":"eee4","./AuthListV2/components/PlatformFunction":"ebed","./AuthListV2/components/PlatformFunction.vue":"ebed","./AuthListV2/components/UserAssociationRoleDialog":"6630","./AuthListV2/components/UserAssociationRoleDialog.vue":"6630","./AuthListV2/components/UserAuthDetailDialog":"b13e","./AuthListV2/components/UserAuthDetailDialog.vue":"b13e","./AuthListV2/components/UserAuthDialog":"634e","./AuthListV2/components/UserAuthDialog.vue":"634e","./AuthListV2/index":"7435","./AuthListV2/index.vue":"7435","./ChangeLogs":"3aff","./ChangeLogs/":"3aff","./ChangeLogs/index":"3aff","./ChangeLogs/index.vue":"3aff","./CompletionCert":"3467","./CompletionCert/":"3467","./CompletionCert/index":"3467","./CompletionCert/index.vue":"3467","./Contract":"c38a","./Contract/":"c38a","./Contract/components/ContractDialog":"99b9","./Contract/components/ContractDialog.vue":"99b9","./Contract/components/ImportContractDialog":"9a9b","./Contract/components/ImportContractDialog.vue":"9a9b","./Contract/components/MoveSuperDialog":"18b7","./Contract/components/MoveSuperDialog.vue":"18b7","./Contract/components/UserEmployeeBackDialog":"136b","./Contract/components/UserEmployeeBackDialog.vue":"136b","./Contract/index":"c38a","./Contract/index.vue":"c38a","./DepartAdmin":"8c9e","./DepartAdmin/":"8c9e","./DepartAdmin/components/DeptAdminDialog":"abf3","./DepartAdmin/components/DeptAdminDialog.vue":"abf3","./DepartAdmin/components/DeptAdminDialogV2":"8ec8","./DepartAdmin/components/DeptAdminDialogV2.vue":"8ec8","./DepartAdmin/components/SelectDepartment":"4880","./DepartAdmin/components/SelectDepartment.vue":"4880","./DepartAdmin/components/SelectTree":"251b","./DepartAdmin/components/SelectTree.vue":"251b","./DepartAdmin/index":"8c9e","./DepartAdmin/index.vue":"8c9e","./DepartmentsList":"eff8","./DepartmentsList/":"eff8","./DepartmentsList/components/DeptDialog":"487a","./DepartmentsList/components/DeptDialog.vue":"487a","./DepartmentsList/components/ImDeptDialog":"4020","./DepartmentsList/components/ImDeptDialog.vue":"4020","./DepartmentsList/components/ImportDeptDialog":"3da4","./DepartmentsList/components/ImportDeptDialog.vue":"3da4","./DepartmentsList/components/MoveDeptDialog":"6e37","./DepartmentsList/components/MoveDeptDialog.vue":"6e37","./DepartmentsList/components/MoveUserDialog":"31f9","./DepartmentsList/components/MoveUserDialog.vue":"31f9","./DepartmentsList/components/UserDeptDialog":"2ef8","./DepartmentsList/components/UserDeptDialog.vue":"2ef8","./DepartmentsList/index":"eff8","./DepartmentsList/index.vue":"eff8","./Elesign":"fa26","./Elesign/":"fa26","./Elesign/index":"fa26","./Elesign/index.vue":"fa26","./Employee":"fd3a","./Employee/":"fd3a","./Employee/StaffBoxDetail":"20f2","./Employee/StaffBoxDetail.vue":"20f2","./Employee/components/ExportEmployeeDialog":"adfb","./Employee/components/ExportEmployeeDialog.vue":"adfb","./Employee/components/ImportEmployeeDialog":"e418","./Employee/components/ImportEmployeeDialog.vue":"e418","./Employee/components/UserEmployeeDialog":"a4a5","./Employee/components/UserEmployeeDialog.vue":"a4a5","./Employee/components/UserEmployeeDutyDialog":"fc83","./Employee/components/UserEmployeeDutyDialog.vue":"fc83","./Employee/components/UserEmployeeInviteInDialog":"4d54","./Employee/components/UserEmployeeInviteInDialog.vue":"4d54","./Employee/components/UserEmployeechangeOccupationTypeDialog":"5afa","./Employee/components/UserEmployeechangeOccupationTypeDialog.vue":"5afa","./Employee/components/baseInfo":"8bb2","./Employee/components/baseInfo.vue":"8bb2","./Employee/components/certInfo":"2cc3","./Employee/components/certInfo.vue":"2cc3","./Employee/components/certlistInfo":"475c","./Employee/components/certlistInfo.vue":"475c","./Employee/components/contractInfo":"2f57","./Employee/components/contractInfo.vue":"2f57","./Employee/components/detailInfo":"10ff","./Employee/components/detailInfo.vue":"10ff","./Employee/components/employeeRecordsInfo":"cacf","./Employee/components/employeeRecordsInfo.vue":"cacf","./Employee/components/mentalTestInfo":"b776","./Employee/components/mentalTestInfo.vue":"b776","./Employee/components/officeInfo":"5f91","./Employee/components/officeInfo.vue":"5f91","./Employee/components/picInfo":"24c4","./Employee/components/picInfo.vue":"24c4","./Employee/components/safelistInfo":"2b78","./Employee/components/safelistInfo.vue":"2b78","./Employee/index":"fd3a","./Employee/index.vue":"fd3a","./EmployeeLeave":"dc10","./EmployeeLeave/":"dc10","./EmployeeLeave/components/EmpRecordViewsDialog":"1130","./EmployeeLeave/components/EmpRecordViewsDialog.vue":"1130","./EmployeeLeave/components/ImportEmployeeDialog":"ca1c","./EmployeeLeave/components/ImportEmployeeDialog.vue":"ca1c","./EmployeeLeave/components/MoveSuperDialog":"d57f","./EmployeeLeave/components/MoveSuperDialog.vue":"d57f","./EmployeeLeave/components/UserEmployeeBackDialog":"9024","./EmployeeLeave/components/UserEmployeeBackDialog.vue":"9024","./EmployeeLeave/components/UserEmployeeLeaveDialog":"612a","./EmployeeLeave/components/UserEmployeeLeaveDialog.vue":"612a","./EmployeeLeave/index":"dc10","./EmployeeLeave/index.vue":"dc10","./GraphArchitecture":"d008","./GraphArchitecture/":"d008","./GraphArchitecture/index":"d008","./GraphArchitecture/index.vue":"d008","./Group":"53c0","./Group/":"53c0","./Group/components/DeptDialog":"5312","./Group/components/DeptDialog.vue":"5312","./Group/components/Detail":"34dd","./Group/components/Detail.vue":"34dd","./Group/index":"53c0","./Group/index.vue":"53c0","./Layout/components":"ba67","./Layout/components/":"ba67","./Layout/components/AppMain":"fdb3","./Layout/components/AppMain.vue":"fdb3","./Layout/components/Header":"2e13","./Layout/components/Header.vue":"2e13","./Layout/components/Permit":"ac5d","./Layout/components/Permit.vue":"ac5d","./Layout/components/Sidebar":"4ffc","./Layout/components/Sidebar/":"4ffc","./Layout/components/Sidebar/SidebarItem":"9945","./Layout/components/Sidebar/SidebarItem.vue":"9945","./Layout/components/Sidebar/index":"4ffc","./Layout/components/Sidebar/index.vue":"4ffc","./Layout/components/TagsView":"5831","./Layout/components/TagsView.vue":"5831","./Layout/components/index":"ba67","./Layout/components/index.js":"ba67","./Layout/layout":"2d4b","./Layout/layout.vue":"2d4b","./Login":"d9c9","./Login/":"d9c9","./Login/index":"d9c9","./Login/index.vue":"d9c9","./Map":"4ac6","./Map/":"4ac6","./Map/index":"4ac6","./Map/index.vue":"4ac6","./Organization":"5f58","./Organization/":"5f58","./Organization/components/Detail":"c5bc","./Organization/components/Detail.vue":"c5bc","./Organization/index":"5f58","./Organization/index.vue":"5f58","./PatchSearchCert":"81d0","./PatchSearchCert/":"81d0","./PatchSearchCert/index":"81d0","./PatchSearchCert/index.vue":"81d0","./QueryList":"f356","./QueryList/":"f356","./QueryList/components/Added":"07d1","./QueryList/components/Added.vue":"07d1","./QueryList/components/Editordialog":"afea","./QueryList/components/Editordialog.vue":"afea","./QueryList/components/checkdetails":"39c8","./QueryList/components/checkdetails.vue":"39c8","./QueryList/components/components/Editor":"f504","./QueryList/components/components/Editor.vue":"f504","./QueryList/components/components/SqlEditor":"19d5","./QueryList/components/components/SqlEditor.vue":"19d5","./QueryList/index":"f356","./QueryList/index.vue":"f356","./Role":"2835","./Role/":"2835","./Role/af.png":"4694","./Role/components/Detail":"30be","./Role/components/Detail.vue":"30be","./Role/components/UserDeptDialog":"d494","./Role/components/UserDeptDialog.vue":"d494","./Role/index":"2835","./Role/index.vue":"2835","./Role/微信图片_20240306130659.jpg":"db12","./Ruzhi":"b36d","./Ruzhi/":"b36d","./Ruzhi/index":"b36d","./Ruzhi/index.vue":"b36d","./test":"2762","./test.vue":"2762"};function s(e){var t=r(e);return A(t)}function r(e){if(!A.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}s.keys=function(){return Object.keys(a)},s.resolve=r,e.exports=s,s.id="4b3b"},"4b62":function(e,t,A){"use strict";A("b771")},"4bc7":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ApproveDetailBox"},[t("el-form",{ref:"ruleForm",attrs:{model:e.form,rules:e.rules}},["0102"==e.form.institutionalCode||"0103"==e.form.institutionalCode||"0104"==e.form.institutionalCode||"03"===e.industryCode||"04"===e.industryCode||"05"===e.industryCode||"06"===e.industryCode||"07"===e.industryCode||"02"===e.industryCode?t("div",{staticClass:"contentMainBox"},[t("span",{staticClass:"title"},[t("i"),t("strong",[e._v("基本信息")])]),[t("el-form-item",{staticClass:"formItem",attrs:{label:"02"===e.industryCode||"07"===e.industryCode||"0406"==e.form.institutionalCode?"单位名称":"公司名称",prop:"name"}},[t("el-input",{attrs:{placeholder:"请与营业执照名称保持一致"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],["06"!==e.industryCode&&"07"!==e.industryCode&&"02"!==e.industryCode?t("el-form-item",{staticClass:"formItem",attrs:{label:"0406"===e.form.institutionalCode?"负责人":"法定代表人姓名",prop:"legalPersonName"}},[t("el-input",{attrs:{placeholder:"请与营业执照名称保持一致"},model:{value:e.form.legalPersonName,callback:function(t){e.$set(e.form,"legalPersonName",t)},expression:"form.legalPersonName"}})],1):e._e()],["06"!==e.industryCode&&"07"!==e.industryCode&&"02"!==e.industryCode?t("el-form-item",{staticClass:"formItem",attrs:{label:"证件类型",prop:"legalPersonCredentialType"}},[t("el-select",{staticStyle:{width:"100%"},model:{value:e.form.legalPersonCredentialType,callback:function(t){e.$set(e.form,"legalPersonCredentialType",t)},expression:"form.legalPersonCredentialType"}},[t("el-option",{attrs:{label:"居民身份证/户口簿",value:0}}),t("el-option",{attrs:{label:"香港特区护照/身份证",value:1}}),t("el-option",{attrs:{label:"澳门特区护照/身份证明",value:2}}),t("el-option",{attrs:{label:"台湾居民来往大陆通行证",value:3}}),t("el-option",{attrs:{label:"外国护照",value:4}})],1)],1):e._e()],["06"!==e.industryCode&&"07"!==e.industryCode&&"02"!==e.industryCode?t("el-form-item",{staticClass:"formItem",attrs:{label:"证件号码",prop:"legalPersonCredentialNumber"}},[t("el-input",{model:{value:e.form.legalPersonCredentialNumber,callback:function(t){e.$set(e.form,"legalPersonCredentialNumber",t)},expression:"form.legalPersonCredentialNumber"}})],1):e._e()],["03"===e.industryCode||"04"===e.industryCode||"05"===e.industryCode?t("el-form-item",{staticClass:"formItem",attrs:{label:"手机号码",prop:"legalPersonTelephone"}},[t("el-input",{model:{value:e.form.legalPersonTelephone,callback:function(t){e.$set(e.form,"legalPersonTelephone",t)},expression:"form.legalPersonTelephone"}})],1):e._e()],"0406"!==e.form.institutionalCode?["06"!==e.industryCode&&"07"!==e.industryCode&&"02"!==e.industryCode?t("el-form-item",{staticClass:"formItem",attrs:{label:"注册地区",prop:"placeOfRegisterCode"}},[t("el-cascader",{staticClass:"areaItem",staticStyle:{width:"100%"},attrs:{options:e.areaCityListArr,"popper-class":"myCascaderplaceClass"},on:{change:e.placeOfRegisterCodeChange},model:{value:e.form.placeOfRegisterCode,callback:function(t){e.$set(e.form,"placeOfRegisterCode",t)},expression:"form.placeOfRegisterCode"}})],1):e._e()]:e._e(),"0406"!==e.form.institutionalCode?["06"!==e.industryCode&&"07"!==e.industryCode&&"02"!==e.industryCode?t("el-form-item",{staticClass:"formItem",attrs:{label:"注册地详细地址",prop:"placeOfRegister.address"}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.form.placeOfRegister.address,callback:function(t){e.$set(e.form.placeOfRegister,"address",t)},expression:"form.placeOfRegister.address"}})],1):e._e()]:e._e(),["07"===e.industryCode||"02"===e.industryCode?t("el-form-item",{staticClass:"formItem",attrs:{label:"办公地区",prop:"placeOfBusinessCode"}},[t("el-cascader",{staticClass:"areaItem",staticStyle:{width:"100%"},attrs:{options:e.areaCityListArr,"popper-class":"myCascaderplaceClass",props:{checkStrictly:!0}},on:{change:e.placeOfRegisterCodeChange},model:{value:e.form.placeOfBusinessCode,callback:function(t){e.$set(e.form,"placeOfBusinessCode",t)},expression:"form.placeOfBusinessCode"}})],1):e._e()],["07"===e.industryCode||"02"===e.industryCode?t("el-form-item",{staticClass:"formItem",attrs:{label:"办公地详细地址",prop:"placeOfBusiness.address"}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.form.placeOfBusiness.address,callback:function(t){e.$set(e.form.placeOfBusiness,"address",t)},expression:"form.placeOfBusiness.address"}})],1):e._e()]],2):e._e(),"0102"==e.form.institutionalCode||"0103"==e.form.institutionalCode||"0104"==e.form.institutionalCode||"03"!==e.industryCode&&"04"!==e.industryCode&&"05"!==e.industryCode&&"06"!==e.industryCode&&"07"!==e.industryCode&&"02"!==e.industryCode?t("div",{staticClass:"contentMainBox"},[t("span",{staticClass:"title"},[t("i"),t("strong",[e._v("法人或负责人信息")])]),[t("el-form-item",{staticClass:"formItem",attrs:{label:"法人或负责人姓名",prop:"legalPersonName"}},[t("el-input",{attrs:{placeholder:"请与营业执照保持一致"},model:{value:e.form.legalPersonName,callback:function(t){e.$set(e.form,"legalPersonName",t)},expression:"form.legalPersonName"}})],1)]],2):e._e(),"02"==e.form.institutionalCode.slice(0,2)||"0102"==e.form.institutionalCode||"0103"==e.form.institutionalCode||"0104"==e.form.institutionalCode||"03"===e.industryCode||"04"===e.industryCode&&"0406"!==e.form.institutionalCode||"05"===e.industryCode?t("div",{staticClass:"contentMainBox"},[t("span",{staticClass:"title"},[t("i"),t("strong",[e._v("注册信息")])]),["03"!==e.industryCode&&"04"!==e.industryCode&&"05"!==e.industryCode?t("el-form-item",{staticClass:"formItem",attrs:{label:"注册资本(万元)",prop:"registeredCapital"}},[t("el-input",{attrs:{placeholder:"请与营业执照保持一致"},model:{value:e.form.registeredCapital,callback:function(t){e.$set(e.form,"registeredCapital",t)},expression:"form.registeredCapital"}})],1):e._e()],[t("el-form-item",{staticClass:"formItem",attrs:{label:"统一社会信用代码",prop:"unifySocialCreditCode"}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.form.unifySocialCreditCode,callback:function(t){e.$set(e.form,"unifySocialCreditCode",t)},expression:"form.unifySocialCreditCode"}})],1)],[t("el-form-item",{ref:"unifySocialCreditCodeFilefileListRef",staticClass:"formItem",attrs:{label:"0102"==e.form.institutionalCode||"02"==e.form.institutionalCode.slice(0,2)||"03"===e.industryCode||"04"===e.industryCode||"05"===e.industryCode?"营业执照扫描件":"0103"==e.form.institutionalCode||"0104"==e.form.institutionalCode?"资质证照扫描件":"",prop:"unifySocialCreditCodeFilefileList"}},[t("el-upload",{staticClass:"avatar-uploaderApprove",class:{SocialCreditCodeFileuploadDisabled:e.SocialCreditCodeFileuploadDisabled},attrs:{action:"#","http-request":e.uploadImgUnifySocialCreditCodeFile,limit:1,"file-list":e.form.unifySocialCreditCodeFilefileList,"list-type":"picture-card"},scopedSlots:e._u([{key:"file",fn:function({file:A}){return t("div",{},[t("img",{staticClass:"el-upload-list__item-thumbnail",attrs:{src:e.form.unifySocialCreditCodeFile,alt:""}}),t("span",{staticClass:"el-upload-list__item-actions"},[t("span",{staticClass:"el-upload-list__item-preview",on:{click:function(t){return e.handlePictureCardPreviewUnifySocialCreditCodeFile(A)}}},[t("i",{staticClass:"el-icon-zoom-in"})]),t("span",{staticClass:"el-upload-list__item-delete",on:{click:function(t){return e.handleRemoveUnifySocialCreditCodeFile(A)}}},[t("i",{staticClass:"el-icon-delete"})])])])}}],null,!1,1357789079)},[t("i",{staticClass:"el-icon-plus",attrs:{slot:"default"},slot:"default"})]),t("el-dialog",{attrs:{visible:e.unifySocialCreditCodeFileDialogVisible,"append-to-body":!0},on:{"update:visible":function(t){e.unifySocialCreditCodeFileDialogVisible=t}}},[t("img",{attrs:{width:"100%",src:e.form.unifySocialCreditCodeFile,alt:""}})])],1)]],2):e._e(),"0102"==e.form.institutionalCode||"0103"==e.form.institutionalCode?t("div",{staticClass:"contentMainBox"},[t("span",{staticClass:"title"},[t("i"),t("strong",[e._v("资质信息")])]),[t("el-form-item",{staticClass:"formItem",attrs:{label:"0102"==e.form.institutionalCode?"保安服务许可证号":"0103"==e.form.institutionalCode?"保安培训许可(备案)证号":"",prop:"servicePermitNumber"}},[t("el-input",{attrs:{placeholder:""},model:{value:e.form.servicePermitNumber,callback:function(t){e.$set(e.form,"servicePermitNumber",t)},expression:"form.servicePermitNumber"}})],1)],"0102"==e.form.institutionalCode?[t("el-form-item",{staticClass:"formItem",attrs:{label:"批准文号",prop:"securityApprovalNumber"}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.form.securityApprovalNumber,callback:function(t){e.$set(e.form,"securityApprovalNumber",t)},expression:"form.securityApprovalNumber"}})],1)]:e._e(),[t("el-form-item",{staticClass:"formItem",attrs:{label:"发证机关名称",prop:"nameOfIssuingAuthority"}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.form.nameOfIssuingAuthority,callback:function(t){e.$set(e.form,"nameOfIssuingAuthority",t)},expression:"form.nameOfIssuingAuthority"}})],1)],[t("el-form-item",{staticClass:"formItem",attrs:{label:"0102"==e.form.institutionalCode?"保安服务许可证首次发证日期":"0103"==e.form.institutionalCode?"发证日期":"",prop:"firstIssueServicePermit"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",placeholder:"选择年月日","value-format":"yyyy-MM-dd",format:"yyyy-MM-dd"},model:{value:e.form.firstIssueServicePermit,callback:function(t){e.$set(e.form,"firstIssueServicePermit",t)},expression:"form.firstIssueServicePermit"}})],1)],"0102"==e.form.institutionalCode?[t("el-form-item",{staticClass:"formItem",attrs:{label:"服务范围",prop:"serviceScopeList"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"",placeholder:"请选择"},on:{change:e.serviceScopeListChange},model:{value:e.form.serviceScopeList,callback:function(t){e.$set(e.form,"serviceScopeList",t)},expression:"form.serviceScopeList"}},e._l(e.dictRegisterListObj.serviceScope,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1)],1)]:e._e(),"0103"==e.form.institutionalCode?[t("el-form-item",{staticClass:"formItem",attrs:{label:"培训内容",prop:"trainContent"}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.form.trainContent,callback:function(t){e.$set(e.form,"trainContent",t)},expression:"form.trainContent"}})],1)]:e._e(),[t("el-form-item",{ref:"servicePermitAttachmentListRef",staticClass:"formItem",attrs:{label:"0102"==e.form.institutionalCode?"保安服务许可证扫描件":"0103"==e.form.institutionalCode?"保安培训许可(备案)证扫描件":"",prop:"servicePermitAttachmentList"}},[t("el-upload",{staticClass:"avatar-uploaderApprove",class:{servicePermitAttachmentDisabled:e.servicePermitAttachmentDisabled},attrs:{action:"#","http-request":e.uploadImgservicePermitAttachment,limit:1,"file-list":e.form.servicePermitAttachmentList,"list-type":"picture-card"},scopedSlots:e._u([{key:"file",fn:function({file:A}){return t("div",{},[t("img",{staticClass:"el-upload-list__item-thumbnail",attrs:{src:e.form.servicePermitAttachment,alt:""}}),t("span",{staticClass:"el-upload-list__item-actions"},[t("span",{staticClass:"el-upload-list__item-preview",on:{click:function(t){return e.handlePictureCardPreviewservicePermitAttachment(A)}}},[t("i",{staticClass:"el-icon-zoom-in"})]),t("span",{staticClass:"el-upload-list__item-delete",on:{click:function(t){return e.handleRemoveservicePermitAttachment(A)}}},[t("i",{staticClass:"el-icon-delete"})])])])}}],null,!1,1283295284)},[t("i",{staticClass:"el-icon-plus",attrs:{slot:"default"},slot:"default"})]),t("el-dialog",{attrs:{visible:e.servicePermitAttachmentDialogVisible,"append-to-body":!0},on:{"update:visible":function(t){e.servicePermitAttachmentDialogVisible=t}}},[t("img",{attrs:{width:"100%",src:e.form.servicePermitAttachment,alt:""}})])],1)]],2):e._e(),"0102"==e.form.institutionalCode||"0103"==e.form.institutionalCode||"0104"==e.form.institutionalCode||"06"===e.industryCode||"04"===e.industryCode?t("div",{staticClass:"contentMainBox"},[t("span",{staticClass:"title"},[t("i"),t("strong",[e._v("监管归属")])]),[t("el-form-item",{staticClass:"formItem",attrs:{label:"监管地区",prop:"placeOfSuperviseCode"}},[t("el-cascader",{staticClass:"areaItem",staticStyle:{width:"100%"},attrs:{options:e.areaCityListArr,"popper-class":"myCascaderplaceClass"},on:{change:e.placeOfSuperviseCodeChange},model:{value:e.form.placeOfSuperviseCode,callback:function(t){e.$set(e.form,"placeOfSuperviseCode",t)},expression:"form.placeOfSuperviseCode"}})],1)],e.form.placeOfSuperviseCode.length?[t("el-form-item",{staticClass:"formItem",attrs:{label:"监管机构",prop:"superviseDepartIdArr"}},[t("el-cascader",{ref:"myCascader",staticStyle:{width:"100%"},attrs:{options:e.form.superviseDepartIdoptions,props:{checkStrictly:!0,value:"id",label:"name"},"show-all-levels":!1,"popper-class":"myCascaderDepartClass",clearable:""},on:{change:e.superviseDepartIdChange},model:{value:e.form.superviseDepartIdArr,callback:function(t){e.$set(e.form,"superviseDepartIdArr",t)},expression:"form.superviseDepartIdArr"}})],1)]:e._e()],2):e._e(),(e.industryCode,e._e()),"0102"==e.form.institutionalCode||"0103"==e.form.institutionalCode||"0104"==e.form.institutionalCode||"03"===e.industryCode||"04"===e.industryCode||"05"===e.industryCode||"06"===e.industryCode||"07"===e.industryCode||"02"===e.industryCode?t("div",{staticClass:"contentMainBox"},[t("span",{staticClass:"title"},[t("i"),t("strong",[e._v("系统管理员")])]),[t("el-form-item",{staticClass:"formItem",attrs:{label:"姓名",prop:"administrator.name"}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.form.administrator.name,callback:function(t){e.$set(e.form.administrator,"name",t)},expression:"form.administrator.name"}})],1)],["06"===e.industryCode?t("el-form-item",{staticClass:"formItem",attrs:{label:"警号",prop:"administrator.name"}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.form.administrator.credentialNumber,callback:function(t){e.$set(e.form.administrator,"credentialNumber",t)},expression:"form.administrator.credentialNumber"}})],1):e._e()],[t("el-form-item",{staticClass:"formItem",attrs:{label:"手机号码",prop:"administrator.telephone"}},[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.form.administrator.telephone,callback:function(t){e.$set(e.form.administrator,"telephone",t)},expression:"form.administrator.telephone"}})],1)],["06"!==e.industryCode?t("el-form-item",{staticClass:"formItem",attrs:{label:"身份证号",prop:"administrator.credentialNumber"}},[t("el-input",{attrs:{placeholder:"请输入",disabled:""},model:{value:e.form.administrator.credentialNumber,callback:function(t){e.$set(e.form.administrator,"credentialNumber",t)},expression:"form.administrator.credentialNumber"}})],1):e._e()]],2):e._e(),"04"===e.industryCode?t("div",{staticClass:"contentMainBox"},[t("span",{staticClass:"title"},[t("i"),t("strong",[e._v("分享单位")])]),[t("el-form-item",{staticClass:"formItem",attrs:{label:"单位名称",prop:"shareOrganizationName"}},[t("el-input",{attrs:{disabled:""},model:{value:e.form.shareOrganizationName,callback:function(t){e.$set(e.form,"shareOrganizationName",t)},expression:"form.shareOrganizationName"}})],1)],[t("el-form-item",{staticClass:"formItem",attrs:{label:"分享人",prop:"shareEmployeeName"}},[t("el-input",{attrs:{disabled:""},model:{value:e.form.shareEmployeeName,callback:function(t){e.$set(e.form,"shareEmployeeName",t)},expression:"form.shareEmployeeName"}})],1)]],2):e._e(),e.form.institutionalCode?t("div",{staticClass:"ApproveSubmit"},[t("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("保存")])],1):e._e()])],1)},s=[],r=(A("14d9"),A("821e")),i=A("ef6c"),o={props:["organizationId","formList","status","industryCode"],data(){return{form:{institutionalCode:"",placeOfRegister:{province:{code:"",name:""},city:{code:"",name:""},district:{code:"",name:""},address:""},placeOfcompetentUnit:{province:{code:"",name:""},city:{code:"",name:""},district:{code:"",name:""}},unifySocialCreditCodeFilefileList:[],unifySocialCreditCodeFile:"",servicePermitAttachmentList:[],servicePermitAttachment:"",placeOfSuperviseCode:[],placeOfSupervise:{province:{code:"",name:""},city:{code:"",name:""},district:{code:"",name:""},address:""},administrator:{name:"",telephone:"",credentialType:0,credentialNumber:""}},areaCityListArr:[],dictRegisterListObj:{},unifySocialCreditCodeFileDialogVisible:!1,servicePermitAttachmentDialogVisible:!1,rules:{industryCode:[{required:!0,message:"必填项",trigger:"change"}],institutionalCode:[{required:!0,message:"必填项",trigger:"change"}],industryDetailType:[{required:!0,message:"必填项",trigger:"change"}],name:[{required:!0,message:"必填项",trigger:"blur"}],type:[{required:!0,message:"必填项",trigger:"change"}],telephone:[{required:!0,message:"必填项",trigger:"blur"}],economicType:[{required:!0,message:"必填项",trigger:"change"}],nature:[{required:!0,message:"必填项",trigger:"change"}],placeOfRegisterCode:[{required:!0,message:"必填项",trigger:"change"}],placeOfRegister:{address:[{required:!0,message:"必填项",trigger:"change"}]},placeOfBusinessCode:[{required:!0,message:"必填项",trigger:"change"}],placeOfBusiness:{address:[{required:!0,message:"必填项",trigger:"blur"}]},parentName:[{required:!0,message:"必填项",trigger:"blur"}],parentCertificateType:[{required:!0,message:"必填项",trigger:"change"}],parentCertificateNumber:[{required:!0,message:"必填项",trigger:"change"}],parentLegalPersonName:[{required:!0,message:"必填项",trigger:"change"}],parentLegalPersonTelephone:[{required:!0,message:"必填项",trigger:"change"}],legalPersonName:[{required:!0,message:"必填项",trigger:"blur"}],legalPersonTelephone:[{required:!0,message:"必填项",trigger:"blur"}],legalPersonCredentialType:[{required:!0,message:"必填项",trigger:"change"}],legalPersonCredentialNumber:[{required:!0,message:"必填项",trigger:"blur"}],legalPersonNationality:[{required:!0,message:"必填项",trigger:"change"}],registeredCapital:[{required:!0,message:"必填项",trigger:"change"}],fixedCapital:[{required:!0,message:"必填项",trigger:"change"}],annualSalesVolume:[{required:!0,message:"必填项",trigger:"change"}],annualProfitTax:[{required:!0,message:"必填项",trigger:"change"}],certificateType:[{required:!0,message:"必填项",trigger:"change"}],unifySocialCreditCode:[{required:!0,message:"必填项",trigger:"change"}],unifySocialCreditCodeFile:[{required:!0,message:"必填项",trigger:"change"}],servicePermitNumber:[{required:!0,message:"必填项",trigger:"change"}],securityApprovalNumber:[{required:!0,message:"必填项",trigger:"change"}],nameOfIssuingAuthority:[{required:!0,message:"必填项",trigger:"change"}],firstIssueServicePermit:[{required:!0,message:"必填项",trigger:"change"}],serviceScopeList:[{required:!0,message:"必填项",trigger:"change"}],servicePermitAttachment:[{required:!0,message:"必填项",trigger:"change"}],securityPreparednessRating:[{required:!0,message:"必填项",trigger:"change"}],securityArmedRating:[{required:!0,message:"必填项",trigger:"change"}],securitySafetyDefenseRating:[{required:!0,message:"必填项",trigger:"change"}],isRiskAssessment:[{required:!0,message:"必填项",trigger:"change"}],placeOfSuperviseCode:[{required:!0,message:"必填项",trigger:"change"}],superviseDepartId:[{required:!0,message:"必填项",trigger:"change"}],superviseDepartIdArr:[{required:!0,message:"必填项",trigger:"change"}],administratorname:[{required:!0,message:"必填项",trigger:"change"}],administratortelephone:[{required:!0,message:"必填项",trigger:"change"}],administratorcredentialType:[{required:!0,message:"必填项",trigger:"change"}],administratorcredentialNumber:[{required:!0,message:"必填项",trigger:"change"}],unifySocialCreditCodeFilefileList:[{required:!0,message:"必填项",trigger:"change"}],servicePermitAttachmentList:[{required:!0,message:"必填项",trigger:"change"}],administrator:{name:[{required:!0,message:"必填项",trigger:"change"}],telephone:[{required:!0,message:"必填项",trigger:"change"}],credentialType:[{required:!0,message:"必填项",trigger:"change"}],credentialNumber:[{required:!0,message:"必填项",trigger:"change"}]},securityPersonName:[{required:!0,message:"必填项",trigger:"change"}],securityPersonTelephone:[{required:!0,message:"必填项",trigger:"change"}],securityPersonCredentialType:[{required:!0,message:"必填项",trigger:"change"}],securityPersonCredentialNumber:[{required:!0,message:"必填项",trigger:"change"}],trainContent:[{required:!0,message:"必填项",trigger:"change"}],numberOfSecurityGuards:[{required:!0,message:"必填项",trigger:"change"}],isPublicSecuritySecurity:[{required:!0,message:"必填项",trigger:"change"}],isPropertyEnterprise:[{required:!0,message:"必填项",trigger:"change"}],natureOfSelfRecruitedUnits:[{required:!0,message:"必填项",trigger:"change"}]}}},computed:{SocialCreditCodeFileuploadDisabled(){return this.form.unifySocialCreditCodeFilefileList.length>0},servicePermitAttachmentDisabled(){return this.form.servicePermitAttachmentList.length>0}},async mounted(){await this.areaCityList(),await this.dictRegisterList(),Object.keys(this.formList)&&this.ApproveDetailList(),console.log(888)},methods:{ApproveDetailList(){let e=JSON.stringify(this.formList),t=JSON.parse(e);if(console.info("approve detail",t),this.$set(this,"form",t),this.$set(this.form,"unifySocialCreditCodeFilefileList",[]),this.$set(this.form,"servicePermitAttachmentList",[]),this.form.placeOfRegister||(this.form.placeOfRegister={province:{code:"",name:""},city:{code:"",name:""},district:{code:"",name:""},address:""}),this.form.placeOfCompetentUnit||(this.form.placeOfCompetentUnit={province:{code:"",name:""},city:{code:"",name:""},district:{code:"",name:""},address:""}),this.form.placeOfSupervise||(this.form.placeOfSupervise={province:{code:"",name:""},city:{code:"",name:""},district:{code:"",name:""},address:""}),this.form.administrator||(this.form.administrator={name:"",telephone:""}),this.form.placeOfRegister&&Object.keys(this.form.placeOfRegister)){let e=[];this.form.placeOfRegister.province&&this.form.placeOfRegister.province.code&&e.push(this.form.placeOfRegister.province.code),this.form.placeOfRegister.city&&this.form.placeOfRegister.city.code&&e.push(this.form.placeOfRegister.city.code),this.form.placeOfRegister.district&&this.form.placeOfRegister.district.code&&e.push(this.form.placeOfRegister.district.code),this.$set(this.form,"placeOfRegisterCode",e)}if(this.form.placeOfBusiness&&Object.keys(this.form.placeOfBusiness)){let e=[];this.form.placeOfBusiness.province&&this.form.placeOfBusiness.province.code&&e.push(this.form.placeOfBusiness.province.code),this.form.placeOfBusiness.city&&this.form.placeOfBusiness.city.code&&e.push(this.form.placeOfBusiness.city.code),this.form.placeOfBusiness.district&&this.form.placeOfBusiness.district.code&&e.push(this.form.placeOfBusiness.district.code),this.$set(this.form,"placeOfBusinessCode",e)}if(this.form.placeOfCompetentUnit&&Object.keys(this.form.placeOfCompetentUnit)){let e=[];this.form.placeOfCompetentUnit.province&&this.form.placeOfCompetentUnit.province.code&&e.push(this.form.placeOfCompetentUnit.province.code),this.form.placeOfCompetentUnit.city&&this.form.placeOfCompetentUnit.city.code&&e.push(this.form.placeOfCompetentUnit.city.code),this.form.placeOfCompetentUnit.district&&this.form.placeOfCompetentUnit.district.code&&e.push(this.form.placeOfCompetentUnit.district.code),this.$set(this.form,"placeOfCompetentUnitCode",e)}if(this.form.placeOfSupervise&&Object.keys(this.form.placeOfSupervise)){console.log("keys11",Object.keys(this.form.placeOfSupervise));let e=[];this.form.placeOfSupervise.province&&this.form.placeOfSupervise.province.code&&e.push(this.form.placeOfSupervise.province.code),this.form.placeOfSupervise.city&&this.form.placeOfSupervise.city.code&&e.push(this.form.placeOfSupervise.city.code),this.form.placeOfSupervise.district&&this.form.placeOfSupervise.district.code&&e.push(this.form.placeOfSupervise.district.code),this.$set(this.form,"placeOfSuperviseCode",e),console.log("this.form11",this.form)}this.form.placeOfSuperviseCode&&this.placeOfSuperviseCodeChange(this.form.placeOfSuperviseCode),this.form.unifySocialCreditCodeFile&&this.$set(this.form,"unifySocialCreditCodeFilefileList",[{url:this.form.unifySocialCreditCodeFile}]),this.form.servicePermitAttachment&&this.$set(this.form,"servicePermitAttachmentList",[{url:this.form.servicePermitAttachment}])},areaCityList(){return new Promise(e=>{Object(r["P"])().then(t=>{console.log(t),console.log(5),this.areaCityListArr=t.data,console.log("22",this.areaCityListArr),e(t)})})},dictRegisterList(){return new Promise(e=>{Object(r["eb"])().then(t=>{console.log(6),console.log(t),this.dictRegisterListObj=t.data,e(t)})})},placeOfRegisterCodeChange(e){console.log(e)},placeOfCompetentUnitCodeChange(e){console.log(e)},handlePictureCardPreviewUnifySocialCreditCodeFile(){this.unifySocialCreditCodeFileDialogVisible=!0},handleRemoveUnifySocialCreditCodeFile(){this.$set(this.form,"unifySocialCreditCodeFile",""),this.$set(this.form,"unifySocialCreditCodeFilefileList",[]),console.log("this.form",this.form)},uploadImgUnifySocialCreditCodeFile(e){console.log("e",e);var t=this,A="default";let a=new Date,s=a.getFullYear(),r=a.getMonth()+1<10?"0"+(a.getMonth()+1):a.getMonth()+1,i=a.getDate(),o=r+"-"+i;var l=`uploads/${s}/${o}/${A}/${a.getTime()}/${e.file.name}`,n=new ObsClient({access_key_id:ak,secret_access_key:sk,server:urlserver,timeout:300});n.putObject({Bucket:BucketName,Key:l,SourceFile:e.file}).then((function(e){if(console.log(e),e.CommonMsg.Status<300){t.$message({type:"success",message:"上传成功"}),console.log("Create object:"+l+" successfully!\n");var A=`https://${BucketName}.${urlserver}/${l}`;A=convertCdnPath(A),console.log("文件上传",A),t.form.unifySocialCreditCodeFilefileList=[{url:A}],console.log(t.form),t.form.unifySocialCreditCodeFile=A,t.$refs.unifySocialCreditCodeFilefileListRef.clearValidate()}}))},handlePictureCardPreviewservicePermitAttachment(){this.servicePermitAttachmentDialogVisible=!0},handleRemoveservicePermitAttachment(){this.$set(this.form,"servicePermitAttachment",""),this.$set(this.form,"servicePermitAttachmentList",[]),console.log("this.form",this.form)},uploadImgservicePermitAttachment(e){console.log("e",e);var t=this,A="default";let a=new Date,s=a.getFullYear(),r=a.getMonth()+1<10?"0"+(a.getMonth()+1):a.getMonth()+1,i=a.getDate(),o=r+"-"+i;var l=`uploads/${s}/${o}/${A}/${a.getTime()}/${e.file.name}`,n=new ObsClient({access_key_id:ak,secret_access_key:sk,server:urlserver,timeout:300});n.putObject({Bucket:BucketName,Key:l,SourceFile:e.file}).then((function(e){if(console.log(e),e.CommonMsg.Status<300){t.$message({type:"success",message:"上传成功"}),console.log("Create object:"+l+" successfully!\n");var A=`https://${BucketName}.${urlserver}/${l}`;A=convertCdnPath(A),console.log("文件上传",A),t.form.servicePermitAttachmentList=[{url:A}],console.log(t.form),t.form.servicePermitAttachment=A,t.$refs.unifySocialCreditCodeFilefileListRef.clearValidate()}}))},serviceScopeListChange(){},placeOfSuperviseCodeChange(e){if(console.log(e),console.log("this.form.superviseDepartIdArr",this.form.superviseDepartIdArr),this.form.placeOfSupervise={province:{code:e[0],name:i["CodeToText"][e[0]]},city:{code:e[1],name:i["CodeToText"][e[1]]},district:{code:e[2],name:i["CodeToText"][e[2]]}},console.log(this.form.placeOfSuperviseCode),console.log(this.form),this.form.placeOfSuperviseCode){let e=this.form.placeOfSuperviseCode[0];Object(r["Rb"])(e,this.industryCode).then(e=>{if(console.log("监管机构",e),e.data){if(this.$set(this.form,"superviseDepartIdoptions",[e.data]),console.log("this.form.superviseDepartIdoptions",this.form.superviseDepartIdoptions),Object.keys(this.formList)&&this.form.superviseDepartIdoptions&&this.form.superviseDepartId){let e=this.getParentsByIdsuperviseDepartIdArr(this.form.superviseDepartIdoptions,this.form.superviseDepartId);console.log("arr",e),this.$set(this.form,"superviseDepartIdArr",e),console.log("this.form88",this.form)}}else this.$set(this.form,"superviseDepartIdoptions",[]),this.$set(this.form,"superviseDepartIdArr",[])})}},superviseDepartIdChange(e){console.log(e);let t=this.$refs.myCascader.getCheckedNodes()[0].pathLabels;console.log(t),this.form.superviseDepartId=e&&e[e.length-1],this.form.superviseDepartName=t[t.length-1],console.log(this.form),console.log("this.form.superviseDepartIdArr11",this.form.superviseDepartIdArr)},getParentsByIdsuperviseDepartIdArr(e,t){for(let A in e){if(e[A]&&e[A].id==t)return[e[A].id];if(e[A].children){let a=this.getParentsByIdsuperviseDepartIdArr(e[A].children,t);if(void 0!==a)return a.unshift(e[A].id),a}}},async superviseDepartCodeName(){let e=this.form.placeOfSuperviseCode[0];await Object(r["Rb"])(e,this.industryCode).then(e=>{e.data&&(this.getDepartNameForDepartCode([e.data]),console.log("this.form12 xx",this.form))})},getDepartNameForDepartCode(e){for(let t in e){if(e[t]&&e[t].id==this.form.superviseDepartId)return this.$set(this.form,"superviseDepartName",e[t].name);e[t].children&&this.getDepartNameForDepartCode(e[t].children)}},async submitForm(){if("审批通过"!=this.status){if(console.log(this.form),this.form.placeOfRegisterCode){let e=this.form.placeOfRegisterCode;this.form.placeOfRegister={province:{code:e[0],name:i["CodeToText"][e[0]]},city:{code:e[1],name:i["CodeToText"][e[1]]},district:{code:e[2],name:i["CodeToText"][e[2]]},address:this.form.placeOfRegister.address}}if(this.form.placeOfBusinessCode){let e=this.form.placeOfBusinessCode;this.form.placeOfBusiness={province:{code:e[0],name:i["CodeToText"][e[0]]},city:{code:e[1],name:i["CodeToText"][e[1]]},district:{code:e[2],name:i["CodeToText"][e[2]]},address:this.form.placeOfBusiness.address}}if(this.form.placeOfCompetentUnitCode){let e=this.form.placeOfCompetentUnitCode;this.form.placeOfCompetentUnit={province:{code:e[0],name:i["CodeToText"][e[0]]},city:{code:e[1],name:i["CodeToText"][e[1]]},district:{code:e[2],name:i["CodeToText"][e[2]]},address:this.form.placeOfCompetentUnit.address}}if(this.form.placeOfSuperviseCode){let e=this.form.placeOfSuperviseCode;this.form.placeOfSupervise={province:{code:e[0],name:i["CodeToText"][e[0]]},city:{code:e[1],name:i["CodeToText"][e[1]]},district:{code:e[2],name:i["CodeToText"][e[2]]}}}this.form.superviseDepartIdArr&&(this.form.superviseDepartId=this.form.superviseDepartIdArr[this.form.superviseDepartIdArr.length-1]),this.$refs["ruleForm"].validate(async e=>{if(!e)return this.$message({type:"error",message:"请输入必填项"}),console.log("error submit!!"),!1;{this.form.superviseDepartName||await this.superviseDepartCodeName(),console.log("this.form11",this.form);let e=JSON.stringify(this.form),t=JSON.parse(e);delete t.unifySocialCreditCodeFilefileList,delete t.servicePermitAttachmentList,delete t.superviseDepartIdoptions,delete t.placeOfSuperviseCode,delete t.superviseDepartIdArr,await Object(r["k"])(t,this.organizationId).then(e=>{console.log("提交",e),200==e.status&&(this.$message({type:"success",message:"保存成功"}),console.log("this",this),this.$parent.$parent.drawer=!1,this.$parent.$parent.approveOrgTableList())})}})}else this.$message({type:"error",message:"审批通过不可以修改"})}}},l=o,n=(A("b431"),A("63f6"),A("2877")),c=Object(n["a"])(l,a,s,!1,null,null,null);t["default"]=c.exports},"4c18":function(e,t,A){"use strict";A.d(t,"a",(function(){return o}));var a=A("821e");const s={ak:"9RKWDCLM1AMBIZUDF70S",sk:"U5iCIxBVwrIkgax7nI7R2WTzS9aYaUsjpEgYHll8",urlserver:"obs.cn-north-1.myhuaweicloud.com",BucketName:"bcxin-v5-prod"};function r(e,t){const{onSuccess:A,context:a,domainId:r="default"}=t;let i=new Date,o=i.getFullYear(),l=i.getMonth()+1<10?"0"+(i.getMonth()+1):i.getMonth()+1,n=i.getDate()<10?"0"+i.getDate():i.getDate(),c=l+"-"+n,d=e.name.replace(/\+/g,""),p=`uploads/${o}/${c}/${r}/${i.getTime()}/${d}`;var h=new ObsClient({access_key_id:s.ak,secret_access_key:s.sk,server:s.urlserver,timeout:300});h.putObject({Bucket:BucketName,Key:p,SourceFile:e}).then((function(e){if(console.log(e),e.CommonMsg.Status<300){a.$message({type:"success",message:"上传成功"}),console.log("Create object:"+p+" successfully!\n");var t=`https://${BucketName}.${urlserver}/${p}`;t=convertCdnPath(t),"function"===typeof A&&A.call(a,t)}}))}function i(e,t){const{onSuccess:A,context:s}=t;let r=new FormData,i=e.name.replace(/\+/g,""),o=new File([e],i,{type:e.type});r.append("file",o),Object(a["R"])(r).then(e=>{let t=new Response(e).json();t.then(e=>{if(console.log(e.data),e.data){let t=window.location.origin+"/obpm"+e.data;"function"===typeof A&&A.call(s,t)}})})}function o(e,t){__network__?r(e.file,t):i(e.file,t)}},"4d54":function(e,t,A){"use strict";A.r(t),A.d(t,"validatePhone",(function(){return d}));var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single el-dialog-employeeIn",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("section",{staticClass:"remarkBox"},[t("div",{staticClass:"remarkInfo"},[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),t("span",[e._v(" 1. 请选择邀请对象要入职的"+e._s(e.$SuperviseStr.depart)+"及职业类型,职业类型的不同会限制新"+e._s(e.$SuperviseStr.employee)+"入职填写的信息校验。"),t("br"),e._v(" 2. 新"+e._s(e.$SuperviseStr.employee)+"提交注册后,直接入职到对应的"+e._s(e.$SuperviseStr.depart)+"。 ")])])]),t("el-form",{ref:"ruleForm",attrs:{"label-width":"200px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.departlabel,prop:"departId"}},[t("selectTree",{ref:"selectTreeParent",attrs:{curValue:e.defaulDataParent,data:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",collapseTags:""},on:{getValue:e.checkChangeParent,selectClickT:e.selectClickT}})],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"职业类型:",prop:"occupationType"}},[t("el-select",{attrs:{disabled:e.institutionalCode.startsWith("02"),placeholder:"请选择职业类型",clearable:""},model:{value:e.formList.occupationType,callback:function(t){e.$set(e.formList,"occupationType",t)},expression:"formList.occupationType"}},e._l(e.occupationTypeArr,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1)],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"链接有效截止日期:",prop:"endTime"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",clearable:"",placeholder:"选择日期"},model:{value:e.formList.endTime,callback:function(t){e.$set(e.formList,"endTime",t)},expression:"formList.endTime"}})],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-button",{attrs:{type:"primary"},on:{click:e.qrCodeBtn}},[e._v("生成邀请链接及二维码")])],1)],1),t("div",{staticClass:"linehr"}),e.qrcodeShow?t("el-row",[t("el-col",{attrs:{span:12}},[t("div",{ref:"qrCodeDiv",attrs:{id:"qrCode"}})]),t("el-col",{attrs:{span:12}},[t("span",{staticClass:"qrbtnCopy"},[t("el-button",{on:{click:e.downloadQrcode}},[e._v("下载二维码图片")]),t("el-button",{staticClass:"copyText",on:{click:e.CopyclipboardUrl}},[e._v("复制邀请链接")])],1)])],1):e._e()],1)],1)},s=[],r=(A("d9e2"),A("fb36")),i=A("821e"),o=A("d044"),l=A.n(o),n=A("b311"),c=A.n(n);function d(e,t,A){setTimeout(()=>{/^[1][3,4,5,7,8,9][0-9]{9}$/.test(t)?A():A(new Error("请输入正确的手机号"))},500)}var p={inject:["permissions"],computed:{permissionsStr(){return this.permissions()}},props:["showdialogIn","deptDataList"],watch:{showdialogIn(){this.dialogFormVisible=this.showdialogIn,this.defaulDataParent=[]},"formList.departId"(){this.formList.departId&&this.$refs.ruleForm.clearValidate(["departId"])},deptDataList(e){this.getTreeDepartlist=e}},components:{selectTree:r["a"]},data(){return{title:"邀请入职",institutionalCode:localStorage.getItem("institutionalCode")||"",dialogFormVisible:this.showdialogIn,OperType:0,formList:{departId:"",occupationType:"Normal",endTime:""},rules:{departId:[{required:!0,message:"请选择入职部门",trigger:"blur"}],occupationType:[{required:!0,message:"请选择职业类型",trigger:"change"}],endTime:[{required:!0,message:"请选择链接有效截止日期",trigger:"blur"}]},defaulDataParent:"",defaulData:[],qrcodeShow:!1,shareUrl:"",occupationTypeArr:[],departlabel:`入职${$SuperviseStr.depart}:`,getTreeDepartlist:[],homeTemplateBoradType:localStorage.getItem("homeTemplateBoradType")||""}},mounted(){"rtpayTemplate"==this.homeTemplateBoradType?this.occupationTypeArr=[{label:"一般职员",value:"Normal"}]:localStorage.getItem("appidSupervise")&&"__d1qEDy3wYq8VF5KvUoE"==JSON.parse(localStorage.getItem("appidSupervise")).appId?this.occupationTypeArr=[{label:"一般职员",value:"Normal"},{label:"保安员",value:"SecurityGuard"},{label:"警官",value:"Police"}]:this.occupationTypeArr=[{label:"一般职员",value:"Normal"},{label:"保安员",value:"SecurityGuard"}]},methods:{selectClickT(e){this.getTreeDepartlist=e},getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.formList=A,this.OperType=t,this.getTreeData(this.getTreeDepartlist)},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"departId",e),console.log(this.formList.departId)},checkChange(e,t){},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},async qrCodeBtn(){let e=new Promise((e,t)=>{let A={domainId:this.$route.query.domainId};this.$refs.ruleForm.validate(t=>{if(t)return Object(i["f"])(this.formList,A).then(t=>{200==t.status&&t.data&&(console.log(1),e(t.data))})})});e.then(e=>{e&&(this.qrcodeShow=!0,parent.location.origin&&(this.shareUrl=parent.location.origin+"/static/signon/staffMobile/#/employeeIn?inviteDepartId="+e),this.$nextTick(()=>{document.getElementById("qrCode").innerHTML="",new l.a(this.$refs.qrCodeDiv,{text:this.shareUrl,width:200,height:200,colorDark:"#333333",colorLight:"#ffffff",correctLevel:l.a.CorrectLevel.L})}))})},downloadQrcode(){for(var e=document.querySelectorAll("#qrCode img"),t=0;t{let t=new c.a(".copyText",{text:function(){return e}});t.on("success",e=>{this.$message({type:"success",message:"复制成功,请到微信打开!"}),t.destroy()}),t.on("error",e=>{this.$message({type:"warning",message:"该浏览器不支持自动复制!"}),t.destroy()})})},submitForm(){let e={number:this.formList.number,type:this.formList.type};this.formList.credential=e,console.log(this.formList);let t={domainId:this.$route.query.domainId};this.$refs.ruleForm.validate(e=>{if(!e)return!1;Object(i["g"])(this.formList,t).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}}).catch(e=>{console.log("errorerrorerrorerror",e),1000601==e.code?this.$confirm("该人员为从业异常人员,是否确认录用!","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.formList.abnormalPersonnelConfirm=!0,Object(i["g"])(this.formList,t).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})}):1000602==e.code&&this.$confirm("该人员不符合担任保安员,无法录入系统!","提示",{cancelButtonText:"取消",type:"warning",showCancelButton:!0,showConfirmButton:!1})})})},cancelForm(){this.qrcodeShow=!1,this.$emit("update:showdialogIn",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},h=p,u=(A("c703"),A("2877")),m=Object(u["a"])(h,a,s,!1,null,null,null);t["default"]=m.exports},"4fb5":function(e,t,A){},"52f4":function(e,t,A){},5312:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("div",{staticStyle:{height:"100%",display:"flex","align-items":"center","justify-content":"center"}},e._l(e.list,(function(a){return t("div",{key:a.type,staticClass:"info-box"},[t("div",{staticStyle:{"font-size":"20px","font-weight":"bold"}},[e._v(" "+e._s(a.title)+" ")]),t("img",{staticClass:"img",staticStyle:{width:"50px",height:"50px",margin:"16px 0"},attrs:{id:"u86_img","data-src":"images/选择添加方式/u86.svg",src:A("dcd0")}}),t("p",{staticStyle:{margin:"16px 0","line-height":"1.5"}},[e._v(" "+e._s(a.info)+" ")]),t("el-button",{staticStyle:{width:"100px"},attrs:{type:"primary"},on:{click:function(t){return e.action(a)}}},[e._v(e._s(a.button))])],1)})),0),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)]),t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],attrs:{title:"生成集团专属码",visible:e.type3,"close-on-click-modal":!1},on:{close:e.closeT3}},[t("div",{staticStyle:{"text-align":"left",padding:"32px"}},[t("div",{staticStyle:{"font-weight":"bold"}},[e._v("集团专属码")]),t("div",{staticStyle:{margin:"16px 0"}},[e._v(" 下级组织系统管理员可在【组织管理】后台主动输入本代码加入集团管理组织架构。 ")]),t("div",{staticStyle:{width:"608px",padding:"36px",margin:"18px 0",background:"#f2f2f2","font-size":"28px","font-weight":"bold"}},[e._v(" "+e._s(e.code)+" ")]),t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.copy()}}},[e._v(" 复制代码")])],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:e.closeT3}},[e._v("返回")])],1)])],1)},s=[],r=A("821e"),i={props:["showdialog"],watch:{showdialog(){this.dialogFormVisible=this.showdialog}},components:{},data(){return{code:"",type3:!1,title:"选择新增组织方式",dialogFormVisible:this.showdialog,list:[{title:"生成集团码",type:"3",img:"",info:"生成专属集团码,下级组织系统管理员主动输入代码加入集团管理",button:"生成代码"}]}},methods:{cancelForm(){this.$emit("update:showdialog",!1)},closeT3(){this.type3=!1},copy(){navigator.clipboard.writeText(this.code).then(()=>{this.$message.success("复制到剪切板成功")},()=>{this.$message.error("复制到剪切板失败")})},action(e){switch(e.type){case"3":Object(r["Q"])().then(e=>{e.data&&(this.code=e.data,this.type3=!0)});break;default:break}this.dialogFormVisible=!1}}},o=i,l=(A("a16a"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,"0a5bf730",null);t["default"]=n.exports},"53c0":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ContainerBox tableAlign"},[t("section",{staticClass:"buttonBox"},[t("el-row",[t("el-col",{attrs:{span:20}},[t("el-button",{attrs:{type:"primary"},on:{click:e.addDept}},[e._v("添加组织")]),t("el-button",{attrs:{type:"danger",disabled:!e.multipleSelection.length},on:{click:function(t){return e.delDept(e.multipleSelection)}}},[e._v("删除组织")])],1)],1)],1),e.multipleSelection.length?t("section",{staticClass:"TableSelectBox"},[t("span",[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),e._v("已选中:"),e._l(e.multipleSelection,(function(A,a){return t("span",{key:a},[e._v(e._s(A.selectedOrganizationName)),a!=e.multipleSelection.length-1?t("b",[e._v(",")]):e._e()])}))],2)]):e._e(),t("section",{staticClass:"contentBox"},[t("el-table",{ref:"districtTable",attrs:{data:e.tableData,"max-height":"500","default-expand-all":"","row-key":"id","expand-row-keys":e.expandRow},on:{"selection-change":e.handleSelectionChange,"select-all":e.handleSelectionAllChange}},[t("el-table-column",{attrs:{type:"selection",width:"55"}}),e._l(e.tableColumn,(function(A,a){return t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label,width:A.width,align:A.align},scopedSlots:e._u([{key:"default",fn:function(a){var s;return["status"==A.prop?t("span",{class:a.row[A.prop]},[e._v(" "+e._s(e.statusMap[a.row[A.prop]]||"-")+" ")]):"organizationType"==A.prop?t("span",[e._v(" "+e._s((null===(s=a.row[A.prop])||void 0===s?void 0:s.organizationTypeName)||"-")+" ")]):t("span",[e._v(e._s(a.row[A.prop]||"-"))])]}}],null,!0)})})),t("el-table-column",{attrs:{label:"操作",fixed:"right",align:"left",width:"350"},scopedSlots:e._u([{key:"default",fn:function(A){return[A.row._isPt?t("div",[e._v("-")]):t("div",[t("el-button",{staticClass:"primaryColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.editDept(A.row,!0)}}},[e._v("详情")]),t("el-button",{staticClass:"primaryColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.editDept(A.row)}}},[e._v("编辑")]),e.actionButtonDisplay(A.row,"sure")?t("el-button",{staticClass:"primaryColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.updateOrganizationStatus(A.row)}}},[e._v("确认关联")]):e._e(),e.actionButtonDisplay(A.row,"again")?t("el-button",{staticClass:"primaryColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.editDept(A.row)}}},[e._v("再次邀请")]):e._e(),t("el-button",{staticClass:"dangerColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.delDept([A.row])}}},[e._v("删除")])],1)]}}])})],2)],1),t("DeptDialog",{attrs:{showdialog:e.showdialog},on:{"update:showdialog":function(t){e.showdialog=t}}}),t("Detail",{attrs:{showdialog:e.showdialogImport,disabled:e.disabled,tableData:e.tableData,dataInfo:e.rowOne},on:{"update:showdialog":function(t){e.showdialogImport=t},getData:e.tableDatalist}})],1)},s=[],r=A("821e"),i=A("5312"),o=A("34dd"),l={data(){return{statusMap:{Refuse:"已拒绝",TargetRefuse:"对方已拒绝",TargetVerify:"待对方确认",Verify:"待确认",Related:"已关联"},search:"",expandRow:[],tableData:[],multipleSelection:[],tableColumn:[{prop:"selectedOrganizationName",label:"组织名称",width:"400",align:"left",show:!0},{prop:"selectedOrganizationNote",label:"组织说明",align:"center",show:!0},{prop:"organizationType",label:"组织类型",width:"180",align:"center",show:!0},{prop:"status",label:"组织状态",width:"180",align:"center",show:!0}],showdialog:!1,showdialogImport:!1,rowOne:{},disabled:!0,isAllSelect:!1,disabled:!1}},components:{DeptDialog:i["default"],Detail:o["default"]},mounted(){this.tableDatalist()},computed:{},watch:{},methods:{actionButtonDisplay(e,t){return"sure"===t&&"GroupCode"===e.inviteType&&"Verify"===e.status},updateOrganizationStatus(e){Object(r["ec"])({id:e.id,status:0}).then(e=>{200==e.status&&(this.$message.success("操作成功"),this.tableDatalist())}).catch(()=>{})},tableDatalist(){let e={domainId:this.$route.query.domainId};Object(r["Cb"])(e).then(e=>{e.data&&(this.tableData=[e.data],this.tableData[0]._isPt=!0,this.tableData[0].status=null)})},handleSelectionChange(e){console.log(e),this.multipleSelection=e},handleSelectionAllChange(e,t){console.log(e,t),t||(this.isAllSelect=!this.isAllSelect),e.map(e=>{e.children&&(e.children.map(e=>{this.toggleSelection(e,this.isAllSelect)}),e.children.length>0&&this.handleSelectionAllChange(e.children,!0))})},toggleSelection(e,t){t?this.$refs.districtTable.toggleRowSelection(e,t):this.$refs.districtTable.clearSelection()},addDept(){this.showdialog=!0},editDept(e,t){this.disabled=!!t,this.rowOne=JSON.parse(JSON.stringify(e)),this.showdialogImport=!0},delDept(e){e.length?this.$confirm("此操作将永久删除此对应数据, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(r["cb"])(e.map(e=>e.id)).then(e=>{200==e.status&&(this.$message.success("操作成功"),this.tableDatalist())})}).catch(()=>{}):this.$message.error("请选择要删除的数据")}}},n=l,c=(A("9327"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},5494:function(e,t,A){"use strict";var a=A("83ab"),s=A("e330"),r=A("edd0"),i=URLSearchParams.prototype,o=s(i.forEach);a&&!("size"in i)&&r(i,"size",{get:function(){var e=0;return o(this,(function(){e++})),e},configurable:!0,enumerable:!0})},"54d0":function(e,t,A){"use strict";A("4fb5")},"577e":function(e,t,A){"use strict";var a=A("f5dfe"),s=String;e.exports=function(e){if("Symbol"===a(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},"57e3":function(e,t,A){"use strict";A("e5a4")},"582a":function(e,t,A){},5857:function(e,t,A){"use strict";A("bfea")},"589c":function(e,t,A){},"5afa":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"90px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"选择用户:",prop:"employeeId"}},[t("el-select",{attrs:{filterable:"","filter-method":e.filterMethod,placeholder:"请选择"},on:{change:e.selectUser,"remove-tag":e.removetag},model:{value:e.formList.employeeId,callback:function(t){e.$set(e.formList,"employeeId",t)},expression:"formList.employeeId"}},e._l(e.tableDataEmployee,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name+" ("+e.telephone+") ("+e.departName+")",value:e.id}})})),1),e.resultArr.length?t("div",{staticClass:"userInfolist"},[t("el-descriptions",{attrs:{title:""}},[t("el-descriptions-item",{attrs:{label:"姓名",span:24}},[e._v(e._s(e.resultArr&&e.resultArr[0].name))]),t("el-descriptions-item",{attrs:{label:"证件类型",span:24}},[e._v(e._s(e.resultArr&&e.resultArr[0].credentialType))]),t("el-descriptions-item",{attrs:{label:"证件号码",span:24}},[e._v(e._s(e.resultArr&&e.resultArr[0].credentialNumber))]),t("el-descriptions-item",{attrs:{label:"现职业类型",span:24}},[e._v(e._s(e.resultArr&&e.resultArr[0].occupationType))])],1)],1):e._e()],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"职业类型:",prop:"occupationType"}},[t("el-select",{attrs:{placeholder:"请选择职业类型",clearable:""},model:{value:e.formList.occupationType,callback:function(t){e.$set(e.formList,"occupationType",t)},expression:"formList.occupationType"}},e._l(e.occupationTypeArr,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1)],1)],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)},s=[],r=(A("14d9"),A("821e")),i={props:["showdialogOccType"],watch:{showdialogOccType(){this.dialogFormVisible=this.showdialogOccType,this.dialogFormVisible&&(this.params={pageIndex:1,pageSize:10,keyword:"",total:0},console.log(this.params),this.employeeTableList())}},components:{},data(){return{title:"变更职业类型",dialogFormVisible:this.showdialogOccType,OperType:0,formList:{employeeId:"",occupationType:""},rules:{employeeId:[{required:!0,message:"请选择用户",trigger:"change"}],occupationType:[{required:!0,message:"请选择职业类型",trigger:"change"}]},params:{pageIndex:1,pageSize:10,keyword:"",total:0},tableDataEmployee:[],resultArr:[],occupationTypeArr:[],homeTemplateBoradType:localStorage.getItem("homeTemplateBoradType")||""}},mounted(){"rtpayTemplate"==this.homeTemplateBoradType?this.occupationTypeArr=[{label:"一般职员",value:"Normal"}]:localStorage.getItem("appidSupervise")&&"__d1qEDy3wYq8VF5KvUoE"==JSON.parse(localStorage.getItem("appidSupervise")).appId?this.occupationTypeArr=[{label:"一般职员",value:"Normal"},{label:"保安员",value:"SecurityGuard"},{label:"警官",value:"Police"}]:this.occupationTypeArr=[{label:"一般职员",value:"Normal"},{label:"保安员",value:"SecurityGuard"}]},methods:{employeeTableList(){let e={domainId:this.$route.query.domainId};Object(r["mb"])(this.params,e).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},filterMethod(e){console.log(e),this.params.keyword=e;let t={domainId:this.$route.query.domainId};Object(r["mb"])(this.params,t).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},selectUser(e){console.log(e),console.log(this.tableDataEmployee);let t=[];t=this.tableDataEmployee.filter(t=>e.indexOf(t.id)>-1),t.forEach(e=>{this.resultArr.push(e)});let A=this.resultArr.filter(t=>e.indexOf(t.id)>-1);this.resultArr=A,this.resultArr=[...new Set(this.resultArr)],console.log(this.resultArr)},removetag(e){console.log(e),this.resultArr.forEach(t=>{t.id==e&&this.resultArr.splice(t,1)}),console.log(this.resultArr)},submitForm(){console.log(this.formList);let e={domainId:this.$route.query.domainId};this.$refs.ruleForm.validate(t=>{if(!t)return!1;Object(r["O"])(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})})},cancelForm(){this.$emit("update:showdialogOccType",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields(),this.resultArr=[]}))}}},o=i,l=(A("05b2"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,null,null);t["default"]=n.exports},"5b81":function(e,t,A){"use strict";var a=A("23e7"),s=A("c65b"),r=A("e330"),i=A("1d80"),o=A("1626"),l=A("7234"),n=A("44e7"),c=A("577e"),d=A("dc4a"),p=A("90d8"),h=A("0cb2"),u=A("b622"),m=A("c430"),g=u("replace"),f=TypeError,w=r("".indexOf),B=r("".replace),b=r("".slice),C=Math.max;a({target:"String",proto:!0},{replaceAll:function(e,t){var A,a,r,u,y,v,Q,F,S,U=i(this),I=0,D=0,T="";if(!l(e)){if(A=n(e),A&&(a=c(i(p(e))),!~w(a,"g")))throw new f("`.replaceAll` does not allow non-global regexes");if(r=d(e,g),r)return s(r,e,U,t);if(m&&A)return B(c(U),e,t)}u=c(U),y=c(e),v=o(t),v||(t=c(t)),Q=y.length,F=C(1,Q),I=w(u,y);while(-1!==I)S=v?c(t(y,I,u)):h(y,u,I,[],void 0,t),T+=b(u,D,I)+S,D=I+Q,I=I+F>u.length?-1:w(u,y,I+F);return D{e.isAdd=!0,e.editDept({})}}},[e._v("添加组织类型")])],1)],1)],1),e.multipleSelection.length?t("section",{staticClass:"TableSelectBox"},[t("span",[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),e._v("已选中:"),e._l(e.multipleSelection,(function(A,a){return t("span",{key:a},[e._v(e._s(A.name)),a!=e.multipleSelection.length-1?t("b",[e._v(",")]):e._e()])}))],2)]):e._e(),t("section",{staticClass:"contentBox"},[t("el-table",{ref:"districtTable",attrs:{data:e.tableData,"max-height":"500","row-key":"id"},on:{"selection-change":e.handleSelectionChange,"select-all":e.handleSelectionAllChange}},[t("el-table-column",{attrs:{type:"selection",width:"55"}}),t("el-table-column",{attrs:{label:"排序",width:"150"},scopedSlots:e._u([{key:"default",fn:function(A){return[t("span",[e._v(e._s(A.$index+1))])]}}])}),e._l(e.tableColumn,(function(A,a){return t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label,width:A.width,align:A.align},scopedSlots:e._u([{key:"default",fn:function(a){return["permissionType"==A.prop?t("span",[e._v(" "+e._s("Whole"==a.row[A.prop]?"可见全部成员":"")+" ")]):"totalMember"==A.prop?t("span",[t("span",{staticClass:"bluelink"},[e._v(" 查看成员 ")])]):t("span",[e._v(e._s(a.row[A.prop]))])]}}],null,!0)})})),t("el-table-column",{attrs:{label:"操作",fixed:"right",align:"left",width:"150"},scopedSlots:e._u([{key:"default",fn:function(A){return[t("el-button",{staticClass:"primaryColor",attrs:{type:"text",size:"small"},on:{click:function(t){e.isAdd=!1,e.editDept(A.row)}}},[e._v("编辑")]),t("el-button",{staticClass:"dangerColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.delDept(A.row)}}},[e._v("删除")])]}}])})],2)],1),t("Detail",{attrs:{showdialog:e.showdialogImport,disabled:e.disabled,isAdd:e.isAdd,data:e.rowOne},on:{"update:showdialog":function(t){e.showdialogImport=t},getData:e.tableDatalist}})],1)},s=[],r=A("821e"),i=A("c5bc"),o={data(){return{search:"",expandRow:[],tableData:[],multipleSelection:[],tableColumn:[{prop:"name",label:"组织类型名称",width:"400",align:"center",show:!0},{prop:"note",label:"组织类型说明",align:"center",show:!0},{prop:"createTime",label:"创建时间",width:"180",align:"center",show:!0},{prop:"lastUpdateTime",label:"修改时间",width:"180",align:"center",show:!0}],showdialog:!1,showdialogImport:!1,rowOne:{},disabled:!0,isAllSelect:!1,disabled:!1,isAdd:!1}},components:{Detail:i["default"]},mounted(){this.tableDatalist()},computed:{},watch:{},methods:{tableDatalist(){let e={domainId:this.$route.query.domainId};Object(r["Jb"])(e).then(e=>{e.data&&(this.tableData=e.data)})},handleSelectionChange(e){console.log(e),this.multipleSelection=e},handleSelectionAllChange(e,t){t||(this.isAllSelect=!this.isAllSelect),e.map(e=>{e.children&&(e.children.map(e=>{this.toggleSelection(e,this.isAllSelect)}),e.children.length>0&&this.handleSelectionAllChange(e.children,!0))})},toggleSelection(e,t){t?this.$refs.districtTable.toggleRowSelection(e,t):this.$refs.districtTable.clearSelection()},patchDel(){},editDept(e,t){this.disabled=!!t,this.rowOne={...e,organizationId:localStorage.getItem("domainId")},this.showdialogImport=!0},delDept(e){e.id,this.$route.query.domainId;""!=Object.keys(e)&&this.$confirm("此操作将永久删除此对应数据, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(r["bb"])(e.id).then(e=>{200==e.status&&this.tableDatalist()})}).catch(()=>{})}}},l=o,n=(A("f38c"),A("2877")),c=Object(n["a"])(l,a,s,!1,null,null,null);t["default"]=c.exports},"5f91":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("section",{staticClass:"staffBoxFlex"},[t("div",{staticClass:"staffTitle"},[t("strong",[e._v("就职信息")]),t("em",[e.flag?t("i",{on:{click:e.edit}},[e._v("编辑")]):e._e(),e.flag?e._e():t("i",{on:{click:e.save}},[e._v("保存")])])]),t("div",{staticClass:"staffContext staffOffice"},[t("el-form",{ref:"ruleForm",attrs:{model:e.formList,rules:e.rules,"label-position":"right","label-width":"100px"}},["0601"==e.institutionalCode?t("el-row",{attrs:{gutter:50}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.departlabel,prop:"departId"}},[e.flag?e._e():t("selectTree",{ref:"selectTreeParent",attrs:{curValue:e.defaulDataParent,data:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",multiple:"",collapseTags:""},on:{getValue:e.checkChangeParent}}),e.flag?t("el-tooltip",{attrs:{content:e.departName,placement:"top"}},[t("span",{staticClass:"departNameClass"},[e._v(e._s(e.departName))])]):e._e()],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"职业类型:"}},[t("span",[e._v(" "+e._s("Normal"==e.formList.occupationType?"一般职员":"")+" "+e._s("SecurityGuard"==e.formList.occupationType?"保安员":"")+" "+e._s("Police"==e.formList.occupationType?"警官":"")+" ")])])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"上级:",prop:"superiorId"}},[e.flag?t("span",[e._v(e._s(e.formList.superiorName))]):e._e(),e.flag?e._e():t("el-select",{attrs:{filterable:"","filter-method":e.filterMethod,placeholder:"请选择",clearable:""},on:{change:e.selectUser},model:{value:e.formList.superiorId,callback:function(t){e.$set(e.formList,"superiorId",t)},expression:"formList.superiorId"}},e._l(e.tableDataEmployee,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"岗位:",prop:"position"}},[t("span",[e._v(e._s(e.formList.position))])])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$SuperviseStr.entry+"时间:",prop:"hiredDate"}},[e.flag?t("span",[e._v(e._s(e.formList.hiredDate))]):e._e(),e.flag?e._e():t("span",[t("el-date-picker",{attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",clearable:"",placeholder:"选择日期",disabled:e.disabledhiredDate},on:{change:e.hiredDateChange},model:{value:e.formList.hiredDate,callback:function(t){e.$set(e.formList,"hiredDate",t)},expression:"formList.hiredDate"}})],1)])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"司龄:",prop:"siling"}},[t("span",[e._v(e._s(e.formList.siling))])])],1)],1):e.institutionalCode.endsWith("07")||e.institutionalCode.endsWith("08")||e.institutionalCode.endsWith("09")?t("el-row",{attrs:{gutter:50}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.departlabel,prop:"departId"}},[e.flag?e._e():t("selectTree",{ref:"selectTreeParent",attrs:{curValue:e.defaulDataParent,data:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",multiple:"",collapseTags:""},on:{getValue:e.checkChangeParent}}),e.flag?t("el-tooltip",{attrs:{content:e.departName,placement:"top"}},[t("span",{staticClass:"departNameClass"},[e._v(e._s(e.departName))])]):e._e()],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"职业类型:"}},[t("span",[e._v(" "+e._s("Normal"==e.formList.occupationType?"一般职员":"")+" "+e._s("SecurityGuard"==e.formList.occupationType?"保安员":"")+" "+e._s("Police"==e.formList.occupationType?"警官":"")+" ")])])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"上级:",prop:"superiorId"}},[e.flag?t("span",[e._v(e._s(e.formList.superiorName))]):e._e(),e.flag?e._e():t("el-select",{attrs:{filterable:"","filter-method":e.filterMethod,placeholder:"请选择",clearable:""},on:{change:e.selectUser},model:{value:e.formList.superiorId,callback:function(t){e.$set(e.formList,"superiorId",t)},expression:"formList.superiorId"}},e._l(e.tableDataEmployee,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"职位:",prop:"position"}},[e.flag?t("span",[e._v(e._s(e.formList.position))]):e._e(),e.flag?e._e():t("span",[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.formList.position,callback:function(t){e.$set(e.formList,"position",t)},expression:"formList.position"}})],1)])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$SuperviseStr.entry+"时间:",prop:"hiredDate"}},[e.flag?t("span",[e._v(e._s(e.formList.hiredDate))]):e._e(),e.flag?e._e():t("span",[t("el-date-picker",{attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",clearable:"",placeholder:"选择日期",disabled:e.disabledhiredDate},on:{change:e.hiredDateChange},model:{value:e.formList.hiredDate,callback:function(t){e.$set(e.formList,"hiredDate",t)},expression:"formList.hiredDate"}})],1)])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"司龄:",prop:"siling"}},[t("span",[e._v(e._s(e.formList.siling))])])],1)],1):t("el-row",{attrs:{gutter:50}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.departlabel,prop:"departId"}},[e.flag?e._e():t("selectTree",{ref:"selectTreeParent",attrs:{curValue:e.defaulDataParent,data:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",multiple:"",collapseTags:""},on:{getValue:e.checkChangeParent}}),e.flag?t("el-tooltip",{attrs:{content:e.departName,placement:"top"}},[t("span",{staticClass:"departNameClass"},[e._v(e._s(e.departName))])]):e._e()],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"职业类型:"}},[t("span",[e._v(" "+e._s("Normal"==e.formList.occupationType?"一般职员":"")+" "+e._s("SecurityGuard"==e.formList.occupationType?"保安员":"")+" "+e._s("Police"==e.formList.occupationType?"警官":"")+" ")])])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"上级:",prop:"superiorId"}},[e.flag?t("span",[e._v(e._s(e.formList.superiorName))]):e._e(),e.flag?e._e():t("el-select",{attrs:{filterable:"","filter-method":e.filterMethod,placeholder:"请选择",clearable:""},on:{change:e.selectUser},model:{value:e.formList.superiorId,callback:function(t){e.$set(e.formList,"superiorId",t)},expression:"formList.superiorId"}},e._l(e.tableDataEmployee,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"职位:",prop:"position"}},[e.flag?t("span",[e._v(e._s(e.formList.position))]):e._e(),e.flag?e._e():t("span",[t("el-input",{attrs:{placeholder:"请输入"},model:{value:e.formList.position,callback:function(t){e.$set(e.formList,"position",t)},expression:"formList.position"}})],1)])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:e.$SuperviseStr.entry+"时间:",prop:"hiredDate"}},[e.flag?t("span",[e._v(e._s(e.formList.hiredDate))]):e._e(),e.flag?e._e():t("span",[t("el-date-picker",{attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",clearable:"",placeholder:"选择日期",disabled:e.disabledhiredDate},on:{change:e.hiredDateChange},model:{value:e.formList.hiredDate,callback:function(t){e.$set(e.formList,"hiredDate",t)},expression:"formList.hiredDate"}})],1)])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"司龄:",prop:"siling"}},[t("span",[e._v(e._s(e.formList.siling))])])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"员工状态:",prop:"personStatus"}},[e.flag?t("span",[e._v(e._s("FullTime"==e.formList.personStatus?"全职":"")+e._s("PartTime"==e.formList.personStatus?"兼职":"")+e._s("Probation"==e.formList.personStatus?"试用":"")+e._s("Internship"==e.formList.personStatus?"实习":""))]):e._e(),e.flag?e._e():t("el-select",{attrs:{clearable:""},model:{value:e.formList.personStatus,callback:function(t){e.$set(e.formList,"personStatus",t)},expression:"formList.personStatus"}},[t("el-option",{attrs:{label:"全职",value:"FullTime"}}),t("el-option",{attrs:{label:"兼职",value:"PartTime"}}),t("el-option",{attrs:{label:"试用",value:"Probation"}}),t("el-option",{attrs:{label:"实习",value:"Internship"}})],1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"试用期:",prop:"probation"}},[e.flag?t("span",[e.formList.probation?t("em",[e._v(e._s(e.formList.probation)+"个月")]):e._e()]):e._e(),e.flag?e._e():t("el-input",{attrs:{type:"number",placeholder:"请输入"},model:{value:e.formList.probation,callback:function(t){e.$set(e.formList,"probation",e._n(t))},expression:"formList.probation"}},[t("template",{slot:"append"},[e._v("个月")])],2)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"原定转正日期:",prop:"planPositiveDate"}},[e.flag?t("span",[e._v(e._s(e.formList.planPositiveDate))]):e._e(),e.flag?e._e():t("span",[t("el-date-picker",{attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",clearable:"",placeholder:"选择日期"},model:{value:e.formList.planPositiveDate,callback:function(t){e.$set(e.formList,"planPositiveDate",t)},expression:"formList.planPositiveDate"}})],1)])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"转正日期:",prop:"positiveDate"}},[e.flag?t("span",[e._v(e._s(e.formList.positiveDate))]):e._e(),e.flag?e._e():t("span",[t("el-date-picker",{attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",clearable:"",placeholder:"选择日期"},model:{value:e.formList.positiveDate,callback:function(t){e.$set(e.formList,"positiveDate",t)},expression:"formList.positiveDate"}})],1)])],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"面谈记录:",prop:"interview"}},[e.flag?t("span",[e.formList.interview?t("em",e._l(e.formList.interviewArr,(function(A,a){return t("b",{key:a,on:{click:function(t){return e.download(A)}}},[e._v(e._s(A.name))])})),0):e._e()]):e._e(),e.flag?e._e():t("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:"","http-request":e.uploadImg,"on-preview":e.handlePreview,"on-remove":e.handleRemove,"before-remove":e.beforeRemove,"on-exceed":e.handleExceed,"file-list":e.formList.fileList,limit:1}},[t("el-button",{attrs:{size:"small",disabled:e.disabled}},[e._v("上传文件")])],1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"薪资:",prop:"salary"}},[e.flag?t("span",[e.formList.salary?t("em",[e._v(e._s(e.formList.salary)+"元")]):e._e()]):e._e(),e.flag?e._e():t("el-input",{attrs:{type:"number",placeholder:"请输入"},model:{value:e.formList.salary,callback:function(t){e.$set(e.formList,"salary",e._n(t))},expression:"formList.salary"}},[t("template",{slot:"append"},[e._v("元")])],2)],1)],1)],1)],1)],1)])},s=[],r=(A("14d9"),A("821e")),i=A("fb36");function o(){var e=new Date,t="-",A=e.getFullYear(),a=e.getMonth()+1,s=e.getDate();a>=1&&a<=9&&(a="0"+a),s>=0&&s<=9&&(s="0"+s);var r=A+t+a+t+s;return r}function l(e,t){let A=new Date(e),a=new Date(new Date(t).getTime()+864e5),s=!1;if(A>a){let e=A;A=a,a=e,s=!0}let r=A.getDate(),i=A.getMonth()+1,o=A.getFullYear(),l=a.getDate(),n=a.getMonth()+1,c=a.getFullYear();var d=function(e,t){var A=[0,31,28,31,30,31,30,31,31,30,31,30,31];return 2==t&&(e%400==0||e%4==0&&e%100!=0)?29:A[t]};let p,h,u,m=0,g=0;l>=r?u=l-r:(m=-1,u=d(o,i)+l-r),n+m>=i?h=n+m-i:(g=-1,h=12+n+m-i),p=c+g-o;let f="";return p>0?f=0==u?12*p+h+"个月":12*p+h+"个月"+u+"天 ":h>0?f=0==u?h+"个月":h+"个月"+u+"天 ":u>0&&(f=u+"天 "),f}var n={inject:["permissions"],computed:{permissionsStr(){return this.permissions()}},data(){return{tableDataEmployee:[],formList:{},params:{pageIndex:1,pageSize:999999,keyword:"",total:0},defaulDataParent:"",getTreeDepartlist:[],rules:{departId:[{required:!0,message:"请选择所属"+$SuperviseStr.depart,trigger:"blur"}],hiredDate:[{required:!0,message:`请选择${$SuperviseStr.entry}时间`,trigger:"blur"}]},flag:!0,departlabel:`所属${$SuperviseStr.depart}:`,depCheckboxDisabled:!0,departName:"",path:"",disabled:!1,disabledhiredDate:!1,institutionalCode:localStorage.getItem("institutionalCode")}},components:{selectTree:i["a"]},mounted(){this.tableDatalist(),this.employeeTableList()},methods:{selectClickT(e){this.flag?this.depCheckboxDisabled=!0:this.depCheckboxDisabled=!1,this.sortTableDataT(e),this.getTreeDepartlist=e},sortTableDataT(e){e.length&&e.forEach(e=>{e.siling="",e.displayOrderNumber=e.displayOrder,e.disabled=this.depCheckboxDisabled,e.children.length&&this.sortTableDataT(e.children)}),console.log(this.getTreeDepartlist)},edit(){this.flag=!1,this.permissionsStr&&this.permissionsStr.indexOf("hiredDatedLimited")>-1?this.disabledhiredDate=!0:this.disabledhiredDate=!1},tableDatalist(){let e={domainId:this.$route.query.domainId};Object(r["w"])(e).then(e=>{e.data&&(this.getTreeDepartlist=e.data,this.sortTableData(this.getTreeDepartlist),this.employessBaseInfo())})},sortTableData(e){e.length&&e.forEach(e=>{e.siling="",e.displayOrderNumber=e.displayOrder,e.children.length&&this.sortTableData(e.children)}),console.log(this.getTreeDepartlist)},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"departId",e),console.log(this.formList.departId)},hiredDateChange(){if(this.formList.hiredDate>o())return this.$message({type:"warning",message:$SuperviseStr.entry+"时间不能大于当前时间"}),void(this.formList.hiredDate="");this.formList.hiredDate&&(this.formList.siling=l(this.formList.hiredDate,o()),this.$forceUpdate())},employessBaseInfo(){let e=this.$parent.$parent.staffinfo,t={domainId:this.$route.query.domainId};Object(r["pb"])(e,t).then(e=>{if(200==e.status){this.formList=JSON.parse(JSON.stringify(e.data)),this.formList.siling=l(this.formList.hiredDate,o());let t=[],A="";e.data.departs.length&&e.data.departs.forEach(e=>{t.push(e.departId),A+=e.departName+","}),this.formList.interview&&(this.formList.interviewArr=JSON.parse(this.formList.interview),this.formList.fileList=this.formList.interviewArr,this.disabled=!0),this.departName=A&&A.substring(0,A.length-1),this.defaulDataParent=t}})},employeeTableList(){let e={domainId:this.$route.query.domainId};Object(r["mb"])(this.params,e).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},filterMethod(e){console.log(e),this.params.keyword=e;let t={domainId:this.$route.query.domainId};Object(r["mb"])(this.params,t).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},selectUser(e){console.log(e),console.log(this.tableDataEmployee)},uploadImg(e){console.log(e),console.log(this.formList.fileList),this.formList.fileList&&this.formList.fileList.length?this.$message({type:"warning",message:"重新上传请先删除旧文件"}):__network__?this.obsFile(e):this.InFileUpload(e)},obsFile(e){console.log(e);let t=Number(e.file.size/1024/1024);if(t>100)return this.$message.error("上传文件大小不能超过 100MB!"),void this.$refs.upload.clearFiles();var A=this,a=this.$route.query.domainId||"default";let s=new Date,r=s.getFullYear(),i=s.getMonth()+1<10?"0"+(s.getMonth()+1):s.getMonth()+1,o=s.getDate()<10?"0"+s.getDate():s.getDate(),l=i+"-"+o;var n=`uploads/${r}/${l}/${a}/${s.getTime()}/${e.file.name}`,c=new ObsClient({access_key_id:ak,secret_access_key:sk,server:urlserver,timeout:300});c.putObject({Bucket:BucketName,Key:n,SourceFile:e.file}).then((function(t){if(console.log(t),t.CommonMsg.Status<300){A.$message({type:"success",message:"上传成功"}),console.log("Create object:"+n+" successfully!\n");var a=`https://${BucketName}.${urlserver}/${n}`;a=convertCdnPath(a),A.path=a,A.formList.fileList=[{name:e.file.name,url:a}],A.path&&(A.disabled=!0)}}))},InFileUpload(e){console.log(e.file);let t=Number(e.file.size/1024/1024);if(t>100)return this.$message.error("上传文件大小不能超过 100MB!"),void this.$refs.upload.clearFiles();let A=new FormData;A.append("file",e.file),Object(r["R"])(A).then(t=>{let A=new Response(t).json();A.then(t=>{console.log(t.data),t.data&&(this.path=window.location.origin+"/obpm"+t.data,this.formList.fileList=[{name:e.file.name,url:this.path}],this.disabled=!0)})})},handleRemove(e,t){console.log(e,t)},handlePreview(e){console.log(e)},handleExceed(e,t){this.$message.warning("当前限制只能上传一个文件,如要重新上传,先删除旧文件")},beforeRemove(e,t){console.log(e),console.log(t);let A=new Promise((t,A)=>{this.$confirm(`确定移除 ${e.name}?`).then(()=>{this.formList.fileList=[],this.disabled=!1,t(!0)}).catch(()=>{this.disabled=!0,A(!1)})});return A},download(e){e.url&&window.open(e.url)},save(){console.log(this.formList);let e=this.$parent.$parent.staffinfo,t={domainId:this.$route.query.domainId};this.$refs.ruleForm.validate(A=>{A&&Object(r["bc"])(e,t,this.formList).then(e=>{200==e.status&&(this.flag=!0,this.employessBaseInfo(),this.employeeTableList())})})}}},c=n,d=(A("4b62"),A("2877")),p=Object(d["a"])(c,a,s,!1,null,null,null);t["default"]=p.exports},"605d":function(e,t,A){"use strict";var a=A("da84"),s=A("c6b6");e.exports="process"===s(a.process)},"60cc":function(e,t,A){},"612a":function(e,t,A){"use strict";A.r(t),A.d(t,"validatePhone",(function(){return m}));var a=function(){var e=this,t=e._self._c;return t("section",[t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"90px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.label,prop:"employeeIds"}},[t("div",{staticStyle:{display:"flex"}},[t("el-button",{on:{click:e.SelectpopUp}},[e._v("请选择")]),e.employeeList.length>0?t("div",{staticClass:"Selected"},[e._v("已选择"+e._s(e.employeeList.length)+e._s(e.$SuperviseStr.employee))]):e._e()],1),e.isshow?t("div",{staticStyle:{color:"#F56C6C","font-size":"12px"}},[e._v("请选择"+e._s(e.$SuperviseStr.employee))]):e._e()])],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$SuperviseStr.operation+"日期",prop:"expectedDate"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",clearable:"",disabled:e.disabledexpectedDate,placeholder:"选择日期"},model:{value:e.formList.expectedDate,callback:function(t){e.$set(e.formList,"expectedDate",t)},expression:"formList.expectedDate"}})],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$SuperviseStr.operation+"原因:",prop:"note"}},[t("el-input",{attrs:{type:"textarea","auto-complete":"off",placeholder:`请输入${e.$SuperviseStr.operation}原因`,clearable:""},model:{value:e.formList.note,callback:function(t){e.$set(e.formList,"note",t)},expression:"formList.note"}})],1)],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary",loading:e.loading},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1),t("MoveSuperDialog",{ref:"popChildrenMoveSuper",attrs:{showdialogMoveSuper:e.showdialogMoveSuper,getTreeDepartlist:e.getTreeDepartlist},on:{"update:showdialogMoveSuper":function(t){e.showdialogMoveSuper=t},"update:showdialog-move-super":function(t){e.showdialogMoveSuper=t},refurlist:e.refurlist}}),t("PersonnelDialog",{ref:"popChildren",attrs:{showdialogpersonnel:e.showdialogpersonnel,tableData:e.tableData},on:{"update:showdialogpersonnel":function(t){e.showdialogpersonnel=t},SelectedList:e.getList}})],1)},s=[],r=(A("d9e2"),A("14d9"),A("fb36")),i=function(){var e=this,t=e._self._c;return t("section",[t("el-dialog",{staticClass:"el-dialog-single",attrs:{title:e.title,visible:e.showdialogpersonnel,"modal-append-to-body":!1,"append-to-body":"","before-close":e.handleClose,width:"70%"}},[t("div",{staticClass:"content"},[t("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:e.lable1,name:"first"}},[t("div",{staticClass:"departmentList"},[t("div",{staticClass:"departmentList_left"},[t("div",{staticClass:"top-title"},[e._v(e._s(e.$SuperviseStr.depart)+"列表")]),t("el-input",{staticStyle:{margin:"5px 0"},attrs:{placeholder:e.placeholder,clearable:""},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}},[t("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t("div",{staticClass:"tree"},[t("el-tree",{attrs:{data:e.data,"expand-on-click-node":!1,"node-key":"id","default-expand-all":"",props:e.defaultProps,"highlight-current":""},on:{"node-click":e.nodeClick}})],1)],1),t("div",{staticClass:"departmentList_center"},[t("div",{staticClass:"top-title"},[t("el-tooltip",{staticClass:"item",staticStyle:{overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"},attrs:{effect:"dark",content:e.titlename,placement:"top"}},[t("div",[e._v(e._s(e.$SuperviseStr.depart)+":"+e._s(e.department))])])],1),t("el-input",{staticStyle:{margin:"5px 0"},attrs:{placeholder:"姓名/账号/手机号/证件号码",clearable:""},model:{value:e.searchVal,callback:function(t){e.searchVal=t},expression:"searchVal"}},[t("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),t("div",{staticClass:"checkbos-list"},[0==e.employeeList.length?t("div",{staticClass:"noData"},[e._v("暂无数据")]):e._e(),e.employeeList.length>0?t("el-checkbox",{on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")]):e._e(),t("div",{staticClass:"checkbox"},e._l(e.employeeList,(function(A){return t("el-checkbox",{key:A.id,attrs:{checked:A.checkStatus},on:{change:function(t){return e.handleCheckedChange(A)}},model:{value:A.checkStatus,callback:function(t){e.$set(A,"checkStatus",t)},expression:"item.checkStatus"}},[e._v(e._s(A.name))])})),1)],1),t("div",{staticClass:"pagination"},[e.employeeList.length>0?t("el-pagination",{attrs:{small:"","current-page":e.params.pageIndex,"page-sizes":[10,20,50,100],"page-size":e.params.pageSize,layout:"prev, pager, next",total:e.params.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){return e.$set(e.params,"pageIndex",t)},"update:current-page":function(t){return e.$set(e.params,"pageIndex",t)}}}):e._e()],1)],1),t("div",{staticClass:"departmentList_right"},[t("div",{staticClass:"top-title"},[t("div",[e._v("已选"+e._s(e.tags.length)+"名")]),e.tags.length>0?t("div",{staticClass:"eliminate",on:{click:e.deleteAll}},[e._v("清除")]):e._e()]),t("div",{staticClass:"tags_list"},e._l(e.tags,(function(A){return t("el-tag",{key:A.id,attrs:{closable:""},on:{close:function(t){return e.handle(A)}}},[e._v(" "+e._s(A.name)+" ("+e._s(A.credentialNumber)+") ")])})),1)])])]),t("el-tab-pane",{attrs:{label:e.lable2,name:"second"}},[t("div",{staticClass:"employeeList"},[t("div",{staticClass:"employeeList_left"},[e.employeeList.length>0?t("el-checkbox",{on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")]):e._e(),t("div",{staticClass:"checkbox"},e._l(e.employeeList,(function(A){return t("el-checkbox",{key:A.id,attrs:{checked:A.checkStatus},on:{change:function(t){return e.handleCheckedChange(A)}},model:{value:A.checkStatus,callback:function(t){e.$set(A,"checkStatus",t)},expression:"item.checkStatus"}},[e._v(e._s(A.name)+" ("+e._s(A.credentialNumber)+")")])})),1),e.employeeList.length>0?t("el-pagination",{attrs:{"current-page":e.params.pageIndex,"page-sizes":[10,20,50,100],"page-size":e.params.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.params.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"update:currentPage":function(t){return e.$set(e.params,"pageIndex",t)},"update:current-page":function(t){return e.$set(e.params,"pageIndex",t)}}}):e._e(),0==e.employeeList.length?t("div",{staticClass:"noData"},[e._v("暂无数据")]):e._e()],1),t("div",{staticClass:"employeeList_right"},[t("div",{staticClass:"top-title"},[t("div",[e._v("已选"+e._s(e.tags.length)+"名")]),e.tags.length>0?t("div",{staticClass:"eliminate",on:{click:e.deleteAll}},[e._v("清除")]):e._e()]),t("div",{staticClass:"tags_list"},e._l(e.tags,(function(A){return t("el-tag",{key:A.id,attrs:{closable:""},on:{close:function(t){return e.handle(A)}}},[e._v(" "+e._s(A.name)+" ("+e._s(A.credentialNumber)+") ")])})),1)])])])],1),"second"==e.activeName?t("div",{staticClass:"search"},[t("el-input",{attrs:{placeholder:"姓名/账号/手机号/证件号码",clearable:""},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}},[t("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})])],1):e._e()],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.confirm}},[e._v("确 定")]),t("el-button",{on:{click:function(t){e.showdialogpersonnel=!1}}},[e._v("取 消")])],1)])],1)},o=[],l=A("821e"),n={components:{selectTree:r["a"]},props:["tableData"],watch:{tableData(e){console.log("val",e)},inputVal(e){console.log(e),this.params.keyword=e,this.params.pageIndex=1,this.getDataList()},searchVal(e){console.log(e),this.params.keyword=e,this.params.pageIndex=1,this.tableDataList()}},computed:{data(){let e=this.search;if(e){console.log(this.tableData);let t=this.tableData,A=this.handleTreeData(t,e);return console.log(A),this.setExpandRow(A),console.log(this.expandRow),this.expandRow=this.expandRow.join(",").split(","),A}return console.log(this.tableData),this.tableData}},data(){return{showdialogpersonnel:!1,activeName:"first",tags:[],employeeList:[],checkAll:!1,department:"",inputVal:"",searchVal:"",search:"",defaultProps:{children:"children",label:"name"},expandRow:[],params:{pageIndex:1,pageSize:10,keyword:"",total:0},title:"选择"+$SuperviseStr.employee,lable1:"按"+$SuperviseStr.depart,lable2:"按"+$SuperviseStr.employee,titlename:$SuperviseStr.depart+":",placeholder:"请输入"+$SuperviseStr.depart}},methods:{SelectpopUp(e){this.showdialogpersonnel=!0,this.activeName="first",this.tags=e,this.department="",this.searchVal="",this.inputVal="",this.search="",this.titlename=$SuperviseStr.depart+":",this.params={pageIndex:1,pageSize:10,keyword:"",total:0},this.employeeList=[]},handleClick(e,t){console.log(this.activeName),this.inputVal="",this.searchVal="",this.search="",this.employeeList=[],this.checkAll=!1,this.titlename=$SuperviseStr.depart+":",$SuperviseStr.depart,this.params={pageIndex:1,pageSize:10,keyword:"",total:0},"second"==this.activeName&&this.getDataList()},handle(e){console.log(e);let t=this.tags.findIndex(t=>t.id==e.id);this.employeeList.forEach(t=>{t.id==e.id&&this.$set(t,"checkStatus",!1)}),this.ischeckedAll(),this.tags.splice(t,1)},getDataList(){console.log("params",this.params),Object(l["mb"])(this.params).then(e=>{"first"!=this.activeName&&e.data&&e.data.data&&(this.employeeList=e.data.data,this.params.total=e.data.total,this.employeeList.forEach(e=>{this.$set(e,"checkStatus",!1)}),console.log(this.tags),this.tags.forEach(e=>{this.employeeList.forEach(t=>{e.id==t.id&&this.$set(t,"checkStatus",!0)})}),this.ischeckedAll(),console.log(this.employeeList))})},tableDataList(){Object(l["t"])(this.params).then(e=>{console.log(e.data&&e.data.data),e.data&&e.data.data&&(this.employeeList=e.data.data,this.params.total=e.data.total,this.employeeList.forEach(e=>{this.$set(e,"checkStatus",!1)}),console.log(this.tags),this.tags.forEach(e=>{this.employeeList.forEach(t=>{e.id==t.id&&this.$set(t,"checkStatus",!0)})}),this.ischeckedAll(),console.log(this.employeeList))})},handleClose(){this.showdialogpersonnel=!1},handleCheckAllChange(e){console.log(e),this.checkAll?this.employeeList.forEach(e=>{e.checkStatus||(this.$set(e,"checkStatus",!0),this.tags.push(e))}):this.employeeList.forEach(e=>{let t=this.tags.findIndex(t=>e.id==t.id);t>=0&&this.tags.splice(t,1),this.$set(e,"checkStatus",!1)})},handleCheckedChange(e){if(console.log(e),console.log(this.employeeList),e.checkStatus)this.tags.push(e);else{let t=this.tags.findIndex(t=>e.id==t.id);this.tags.splice(t,1)}this.ischeckedAll()},handleCurrentChange(e){console.log(this.params),console.log(e),this.params.pageIndex=e,"first"==this.activeName?this.tableDataList():this.getDataList()},handleSizeChange(e){console.log(e),this.params.pageIndex=1,this.params.pageSize=e,this.getDataList()},ischeckedAll(){this.employeeList.length>0?this.checkAll=this.employeeList.every(e=>e.checkStatus):this.checkAll=!1},deleteAll(){this.tags=[],this.employeeList.forEach(e=>{this.$set(e,"checkStatus",!1)}),this.checkAll=!1},handleTreeData(e,t){if(!e||0==e.length)return[];const A=[];for(let a=0;a0||s)&&A.push({...e[a],children:this.handleTreeData(e[a].children,t)})}return console.log(A),A},setExpandRow(e){if(e.length)for(let t of e)this.expandRow.push(t.id),t.children.length&&this.setExpandRow(t.children)},nodeClick(e){console.log(e),this.params.departIds=[e.id],this.params.pageIndex=1,this.params.pageSize=10,this.searchVal="",this.department=e.name,this.titlename=$SuperviseStr.depart+":"+this.department,this.tableDataList()},confirm(){this.showdialogpersonnel=!1;let e=this.tags.length>0?JSON.parse(JSON.stringify(this.tags)):[];this.$emit("SelectedList",e)}}},c=n,d=(A("3777"),A("0955"),A("2877")),p=Object(d["a"])(c,i,o,!1,null,"196204ca",null),h=p.exports,u=A("d57f");function m(e,t,A){setTimeout(()=>{/^[1][3,4,5,7,8,9][0-9]{9}$/.test(t)?A():A(new Error("请输入正确的手机号"))},500)}var g={inject:["permissions"],computed:{permissionsStr(){return this.permissions()}},props:["showdialog","getTreeDepartlist"],watch:{showdialog(){this.dialogFormVisible=this.showdialog,this.defaulDataParent=[]}},components:{selectTree:r["a"],MoveSuperDialog:u["default"],PersonnelDialog:h},data(){return{title:"移除"===$SuperviseStr.operation?"用户移除":"办理离职",dialogFormVisible:this.showdialog,OperType:0,formList:{},label:"选择"+$SuperviseStr.employee,params:{pageIndex:1,pageSize:10,keyword:"",total:0},rules:{employeeIds:[{required:!0,message:"请选择"+$SuperviseStr.employee,trigger:"blur"}],expectedDate:[{required:!0,message:`请选择${$SuperviseStr.operation}日期`,trigger:"blur"}],note:[{required:!0,message:`请输入${$SuperviseStr.operation}原因`,trigger:"blur"}]},defaulDataParent:"",defaulData:[],tableData:[],tableDataEmployee:[],resultArr:[],employeeList:[],tagChange:"",showdialogMoveSuper:!1,disabledexpectedDate:!1,showdialogpersonnel:!1,isshow:!1,loading:!1}},methods:{getList(e){console.log("SelectedList",e),e.length>0&&(this.isshow=!1),this.employeeList=e},SelectpopUp(){this.tableDatalist();let e=this.employeeList.length>0?JSON.parse(JSON.stringify(this.employeeList)):[];this.$refs.popChildren.SelectpopUp(e)},handle(e){console.log(e),this.employeeList.splice(this.employeeList.indexOf(e),1),this.$refs.popChildren.tagChanges(e.id)},tableDatalist(){Object(l["w"])().then(e=>{e.data&&(console.log(e),this.tableData=e.data)})},getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.formList=A,this.$set(this.formList,"note","个人原因"+$SuperviseStr.operation),this.OperType=t;let a=new Date,s=a.getFullYear(),r=a.getMonth()+1<10?"0"+(a.getMonth()+1):a.getMonth()+1,i=a.getDate()<10?"0"+a.getDate():a.getDate(),o=s+"-"+r+"-"+i;console.log(o),this.$nextTick(()=>{this.$set(this.formList,"expectedDate",o),console.log(this.permissionsStr),this.permissionsStr&&this.permissionsStr.indexOf("leaveDatedLimited")>-1?this.disabledexpectedDate=!0:this.disabledexpectedDate=!1}),this.employeeTableList()},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"departId",e),console.log(this.formList.departId)},checkChange(e,t){},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},employeeTableList(){let e={domainId:this.$route.query.domainId};Object(l["mb"])(this.params,e).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},filterMethod(e){console.log(e),this.params.keyword=e;let t={domainId:this.$route.query.domainId};Object(l["mb"])(this.params,t).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},selectUser(e){console.log(e),console.log(this.tableDataEmployee);let t=[];t=this.tableDataEmployee.filter(t=>e.indexOf(t.id)>-1),t.forEach(e=>{this.resultArr.push(e)});let A=this.resultArr.filter(t=>e.indexOf(t.id)>-1);this.resultArr=A,this.resultArr=[...new Set(this.resultArr)],console.log(this.resultArr)},removetag(e){console.log(e),this.resultArr.forEach(t=>{t.id==e&&this.resultArr.splice(t,1)}),console.log(this.resultArr)},submitForm(){if(console.log(this.resultArr),console.log(this.formList),this.$set(this.formList,"employeeIds",[]),console.log(this.employeeList),this.employeeList.forEach(e=>{this.formList.employeeIds.push(e.id)}),console.log(this.formList),0==this.employeeList.length)return void(this.isshow=!0);let e={domainId:this.$route.query.domainId};this.$refs.ruleForm.validate(t=>{if(!t)return!1;this.$confirm(`即将对选择的${$SuperviseStr.employee}进行离职,提交后无法恢复,是否继续?`,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.loading=!0,Object(l["i"])(this.formList,e).then(e=>{if(this.loading=!1,200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm(),this.employeeList=[]}else if("1000001"==e.code){let t=e.data;console.log(this.employeeList);let A=this.employeeList.filter(e=>t.indexOf(e.id)>-1);console.log(A),this.showdialogMoveSuper=!0,this.$refs.popChildrenMoveSuper.getTableRow(A,0)}})}).catch(e=>{console.log(e),console.log(e.response)})})},cancelForm(){this.$emit("update:showdialog",!1),this.employeeList=[],this.isshow=!1,this.$nextTick(()=>{this.$refs.ruleForm.resetFields()})},refurlist(){}}},f=g,w=(A("bba2"),Object(d["a"])(f,a,s,!1,null,null,null));t["default"]=w.exports},"617c":function(e,t,A){},"634e":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],attrs:{title:e.title,visible:e.show,width:"965px","close-on-click-modal":!1,"append-to-body":"","destroy-on-close":""},on:{close:e.close}},[t("PlatformFunction",{ref:"platform",attrs:{currentUser:e.currentUser},on:{callback:e.changeClose}}),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.confirmAuth()}}},[e._v("保 存")]),t("el-button",{on:{click:function(t){return e.close()}}},[e._v("关 闭")])],1)],1)},s=[],r=(A("14d9"),A("ebed")),i=A("821e"),o={watch:{showdialog(){this.dialogFormVisible=this.showdialog,this.defaulDataParent=[]}},components:{PlatformFunction:r["default"]},data(){return{title:"",dialogFormVisible:this.showdialog,OperType:0,formList:{},params:{pageIndex:1,pageSize:10,keyword:"",total:0},rules:{},defaulDataParent:"",defaulData:[],tableDataEmployee:[],resultArr:[],showdialogMoveSuper:!1,fileList:[],disabledUser:!1,multipleArr:[],AuthAppRoledata:[],defaultProps:{children:"responses",label:"name"},rolecheck:!1,PrevRoleIds:[],AuthAppRoledataAll:[],show:!1,currentUser:{}}},methods:{open(e,t,A){this.show=!0,setTimeout(()=>{var t;this.title=`功能权限设置(${e.map(e=>e.userName).join(",")})`,this.currentUser={employeeIds:A?void 0:e.map(e=>e.employeeId),searchType:2,roleId:A?null===(t=e[0])||void 0===t?void 0:t.roleId:void 0}})},close(){this.show=!1},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},submitForm(){this.$refs.ruleForm.validate(e=>{if(!e)return!1;{let e=[];this.multipleArr.forEach(t=>{e.push(t.id)});let t=[];if(!this.$refs.tree.getCheckedNodes().length)return void this.$message({type:"warning",message:"请选择应用角色权限"});this.$refs.tree.getCheckedNodes().forEach(e=>{e.dataType&&t.push(e.id)});let A={domainId:this.$route.query.domainId},a=[];this.PrevRoleIds.length&&this.PrevRoleIds.forEach(e=>{this.AuthAppRoledataAll.length&&this.AuthAppRoledataAll.forEach(t=>{t.responses.length&&t.responses.forEach(t=>{e!=t.id||t.show||a.push(e)})})});let s=t.concat(a);Object(i["a"])(e,s,A).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})}})},cancelForm(){this.$emit("update:showdialog",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))},changeClose(e){console.log(e),this.show=e},confirmAuth(){this.$refs.platform.saveAuth()}}},l=o,n=(A("af45"),A("2877")),c=Object(n["a"])(l,a,s,!1,null,null,null);t["default"]=c.exports},6383:function(e,t,A){},"63f6":function(e,t,A){"use strict";A("35f2")},"651a":function(e,t,A){},"658c":function(e,t,A){},6630:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single el-dialog-contract",attrs:{title:"用户已关联角色",visible:e.show,width:"765px","close-on-click-modal":!1,"append-to-body":"","destroy-on-close":""},on:{close:e.close}},[t("div",{staticClass:"dialog-wrap"},[t("div",{staticClass:"table-btn"},["show"===e.mode?[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.addRole()}}},[e._v("添加角色")]),1===e.propList.length?t("el-button",{on:{click:function(t){return e.deleteRole()}}},[e._v("删除角色")]):e._e()]:e._e(),"edit"===e.mode?[t("div",{staticClass:"table-title"},[e._v("选择需要操作的角色")])]:e._e()],2),t("div",{staticClass:"table-wrap"},[t("el-table",{ref:"bcxtable",staticStyle:{width:"100%"},attrs:{data:e.tempData,border:""},on:{"selection-change":e.handleSelectionChange}},["show"!=e.mode?t("el-table-column",{attrs:{type:"selection",width:"55"}}):e._e(),t("el-table-column",{attrs:{prop:"roleName",label:"角色名称"}}),t("el-table-column",{attrs:{prop:"remark",label:"角色说明"}}),t("el-table-column",{attrs:{prop:"createTime",label:"添加时间"}})],1)],1)]),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},["edit"===e.mode?[t("el-button",{attrs:{type:"primary"},on:{click:function(t){"add"===e.type?e.confirmAdd():e.confirmDelete()}}},[e._v("确认")]),t("el-button",{on:{click:function(t){return e.close()}}},[e._v("取消")]),t("el-button",{on:{click:e.back}},[e._v("返回")])]:e._e(),"show"===e.mode?[t("el-button",{on:{click:function(t){return e.close()}}},[e._v("取消")])]:e._e()],2)])},s=[],r=A("821e"),i={watch:{showdialog(){}},components:{},data(){return{title:"",mode:"edit",show:!1,tableData:[],addTableData:[],tempData:[],multipleSelection:[],propList:[],type:"add"}},methods:{open(e,t){var A;this.propList=e,this.show=!0,this.mode=t,this.getAllData(),null===(A=this.$refs.bcxtable)||void 0===A||A.clearSelection()},back(){this.mode="show",this.tempData=this.tableData},getAllData(){let e={employeeId:this.propList.length>1?"":this.propList[0].employeeId};this.propList.length>1?this.tempData=[]:Object(r["Eb"])(e,localStorage.domainId).then(e=>{Array.isArray(e.data)&&(this.tempData=this.tableData=e.data)}),Object(r["Eb"])({employeeId:""},localStorage.domainId).then(e=>{Array.isArray(e.data)&&e.data[0]&&(this.addTableData=e.data)})},close(){this.show=!1},addRole(){this.type="add",this.mode="edit",this.tempData=this.addTableData},deleteRole(){this.type="delete",this.mode="edit",this.tempData=this.tableData},confirmDelete(){Object(r["ob"])({employeeId:this.propList[0].employeeId,roleIdList:this.multipleSelection.map(e=>e.id)}).then(e=>{200==e.status&&(this.$message.success("删除成功"),this.show=!1)}),this.$refs.bcxtable.clearSelection()},confirmAdd(){Object(r["C"])({employeeIdList:this.propList.map(e=>e.employeeId),roleIdList:this.multipleSelection.map(e=>e.id)}).then(e=>{200==e.status&&(this.$message.success("添加成功"),this.show=!1)}),this.$refs.bcxtable.clearSelection()},handleSelectionChange(e){console.log(e),this.multipleSelection=e}}},o=i,l=(A("9d3f"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,null,null);t["default"]=n.exports},6850:function(e,t,A){},"6a9b":function(e,t,A){"use strict";A("eb5d")},"6da3":function(e,t,A){"use strict";A("52f4")},"6e37":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single el-dialog-colum",attrs:{title:e.departTitle,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"130px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.departlabel,prop:"fromDepartIds"}},e._l(e.multipleArr,(function(A,a){return t("span",{key:A.id},[t("em",[e._v(e._s(A.name))]),a!==e.multipleArr.length-1?t("b",[e._v(", ")]):e._e()])})),0)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.departlabel2,prop:"destDepartId"}},[t("selectTree",{ref:"selectTreeParent",attrs:{curValue:e.defaulDataParent,data:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",collapseTags:""},on:{getValue:e.checkChangeParent,selectClickT:e.selectClickT}})],1)],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)},s=[],r=(A("14d9"),A("fb36")),i=A("821e"),o={props:["showdialogMove"],watch:{showdialogMove(){this.dialogFormVisible=this.showdialogMove},"formList.destDepartId"(){this.formList.destDepartId&&this.$refs.ruleForm.clearValidate(["destDepartId"])}},components:{selectTree:r["a"]},data(){return{title:"",dialogFormVisible:this.showdialogMove,OperType:0,formList:{},rules:{destDepartId:[{required:!0,message:"请选择转移的新部门",trigger:"blur"}]},defaulDataParent:"",defaulData:[],parentIdShow:!0,multipleArr:[],getTreeDepartlist:[],departlabel:`要转移成员的${$SuperviseStr.depart}:`,departlabel2:`转移的新${$SuperviseStr.depart}:`,departTitle:`批量转移${$SuperviseStr.depart}成员`}},methods:{selectClickT(e){console.log(e),this.getTreeDepartlist=e},getTableRow(e,t){console.log(e),this.defaulDataParent=[],this.multipleArr=e},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"destDepartId",e),this.$forceUpdate()},checkChange(e,t){},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},submitForm(){console.log(this.formList.fromDepartIds);let e=[];this.multipleArr.forEach(t=>{e.push(t.id)});let t={domainId:this.$route.query.domainId};this.$refs.ruleForm.validate(A=>{if(!A)return!1;this.$confirm("即将批量转移部门成员到新部门,提交后无法恢复,是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(i["L"])(this.formList,e,t).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})}).catch(()=>{})})},cancelForm(){this.$emit("update:showdialogMove",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},l=o,n=(A("2db9"),A("2877")),c=Object(n["a"])(l,a,s,!1,null,null,null);t["default"]=c.exports},"6e39":function(e,t,A){},"6f19":function(e,t,A){"use strict";var a=A("9112"),s=A("0d26"),r=A("b980"),i=Error.captureStackTrace;e.exports=function(e,t,A,o){r&&(i?i(e,t):a(e,"stack",s(A,o)))}},"6fff":function(e,t,A){},7031:function(e,t,A){"use strict";A("fb49")},"710d":function(e,t,A){"use strict";A("1b23")},7156:function(e,t,A){"use strict";var a=A("1626"),s=A("861d"),r=A("d2bb");e.exports=function(e,t,A){var i,o;return r&&a(i=t.constructor)&&i!==A&&s(o=i.prototype)&&o!==A.prototype&&r(e,o),e}},7282:function(e,t,A){"use strict";var a=A("e330"),s=A("59ed");e.exports=function(e,t,A){try{return a(s(Object.getOwnPropertyDescriptor(e,t)[A]))}catch(r){}}},7357:function(e,t,A){},"73a4":function(e,t,A){"use strict";A("a009")},7435:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ContainerBox"},[e.domainAdmin||e.permissionsStr.indexOf("RoleManage")>-1?t("div",[t("section",{staticClass:"remarkBox"},[t("div",{staticClass:"remarkInfo"},[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),t("span",[e._v(" 1. 您可以为在职"+e._s(e.$SuperviseStr.employee)+"授权角色权限,授权权限后,"+e._s(e.$SuperviseStr.employee)+"登录系统即可看到并操作相应功能。"),t("br"),e._v(" 2. 应用下的角色不互通,请准确勾选相应应用的权限。 ")])])]),t("section",{staticClass:"buttonBox"},[t("el-row",{staticClass:"row-bg",attrs:{type:"flex",justify:"space-between"}},[t("el-col",{attrs:{span:12}},[t("div",[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.handleRole(e.multipleSelection)}}},[e._v(" 批量关联功能角色 ")]),t("el-button",{on:{click:function(t){return e.setUserAuthorization(e.multipleSelection,"multip")}}},[e._v(" 批量设置功能权限 ")]),t("el-button",{attrs:{type:"danger"},on:{click:function(t){return e.patchDel(e.multipleSelection)}}},[e._v(" 批量清除权限 ")])],1)]),t("el-col",{attrs:{span:12}},[t("div",{staticClass:"rightBox"},[t("el-input",{staticStyle:{width:"80%"},attrs:{placeholder:"输入姓名/账号/手机号/证件号码",clearable:""},model:{value:e.params.keyword,callback:function(t){e.$set(e.params,"keyword",t)},expression:"params.keyword"}}),t("selectTree",{ref:"selectTree",attrs:{curValue:e.defaulData,data:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",collapseTags:"",placeholder:e.placeholderSelectDepart},on:{getValue:e.checkChange,selectClickT:e.selectClickT}}),t("el-select",{staticStyle:{margin:"0 10px"},attrs:{clearable:"","collapse-tags":"",placeholder:"选择职业类型"},model:{value:e.params.occupationType,callback:function(t){e.$set(e.params,"occupationType",t)},expression:"params.occupationType"}},e._l(e.occupationTypeArr,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1),t("el-button",{attrs:{type:"primary"},on:{click:e.search}},[e._v("查询")])],1)])],1)],1),e.multipleSelection.length?t("section",{staticClass:"TableSelectBox"},[t("span",[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),e._v("已选中:"),e._l(e.multipleSelection,(function(A,a){return t("span",{key:a},[e._v(e._s(A.userName)),a!=e.multipleSelection.length-1?t("b",[e._v(",")]):e._e()])}))],2)]):e._e(),t("section",{staticClass:"contentBox"},[t("el-table",{ref:"districtTable",attrs:{data:e.tableDataAuth,"max-height":"500","default-expand-all":""},on:{"selection-change":e.handleSelectionChange,"select-all":e.handleSelectionAllChange}},[t("el-table-column",{attrs:{type:"selection",width:"55"}}),e._l(e.tableColumn,(function(A,a){return[A.show?t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label}}):e._e()]})),t("el-table-column",{attrs:{label:"操作",width:"380",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(A){return[t("el-button",{staticClass:"primaryColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.getAuthdetail(A.row)}}},[e._v(" 授权详情 ")]),t("el-button",{staticClass:"primaryColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.setUserAuthorization([A.row],"single")}}},[e._v(" 功能权限 ")]),t("el-button",{staticClass:"primaryColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.handleRole([A.row])}}},[e._v(" 关联角色 ")]),t("el-button",{staticClass:"dangerColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.patchDel([A.row])}}},[e._v(" 清除权限 ")])]}}],null,!1,1825137669)})],2),t("pages",{attrs:{total:e.params.total,currentPage:e.params.pageIndex,pageSize:e.params.pageSize},on:{"update:currentPage":function(t){return e.$set(e.params,"pageIndex",t)},"update:current-page":function(t){return e.$set(e.params,"pageIndex",t)},handleCurrentChangeSub:e.handleCurrentChange,handleSizeChangeSub:e.handleSizeChange}})],1),t("UserAuthDialog",{ref:"userauthdialog"}),t("UserAssociationRoleDialog",{ref:"roledialog"}),t("UserAuthDetailDialog",{ref:"detaildialog"})],1):t("div",{staticClass:"noAuth"},[e._v("您不是组织管理员或部门管理员,没有授权权限!")])])},s=[],r=A("821e"),i=A("634e"),o=A("6630"),l=A("b13e"),n=A("fb36"),c={inject:["permissions"],computed:{permissionsStr(){return this.permissions()}},data(){return{tableData:[],tableDataAuth:[],multipleSelection:[],tableColumn:[{prop:"userName",label:"姓名",width:"180",show:!0},{prop:"mobile",label:"手机号",width:"180",show:!0},{prop:"departName",label:"所在部门",width:"180",show:!0},{prop:"occupationType",label:"职业类型",width:"180",show:!0},{prop:"permission",label:"应用权限",width:"",show:!0}],params:{pageIndex:1,pageSize:10,keyword:"",total:0},showdialog:!1,showdialogBack:!1,disabled:!0,isAllSelect:!1,displayOrderShow:!1,showdialogImport:!1,credentialTypesoptions:[{value:"IdCard",label:"居民身份证/户口簿"},{value:"IdCardOfXiangGang",label:"香港特区护照/身份证明"},{value:"IdCardOfAoMen",label:"澳门特区护照/身份证明"},{value:"IdCardOfTaiwan",label:"台湾居民来往大陆通行证"},{value:"Passport",label:"外国护照"},{value:"Arms",label:"退伍军人证"},{value:"PoliceNo",label:"警号"}],occupationTypeArr:[],authenticatedStatusesoptions:[{value:"UnAuthenticated",label:"未认证"},{value:"Authenticating",label:"认证中"},{value:"Failed",label:"认证失败"},{value:"Passed",label:"已认证"}],defaulData:[],HighSearchFlag:!1,getTreeDepartlist:[],placeholderSelectDepart:"请选择部门",homeTemplateBoradType:localStorage.getItem("homeTemplateBoradType")||"",domainAdmin:"true"==localStorage.getItem("domainAdmin")}},components:{selectTree:n["a"],UserAuthDialog:i["default"],UserAssociationRoleDialog:o["default"],UserAuthDetailDialog:l["default"]},updated(){this.$refs.districtTable&&this.$refs.districtTable.doLayout(),this.$refs.districtTable.doLayout()},mounted(){"rtpayTemplate"==this.homeTemplateBoradType?(this.occupationTypeArr=[{label:"一般职员",value:"Normal"}],this.tableColumn=[{prop:"userName",label:"姓名",width:"180",show:!0},{prop:"mobile",label:"账号",width:"180",show:!0},{prop:"departName",label:"所在部门",width:"180",show:!0},{prop:"occupationType",label:"职业类型",width:"180",show:!0},{prop:"permission",label:"应用权限",width:"",show:!0}]):localStorage.getItem("appidSupervise")&&"__d1qEDy3wYq8VF5KvUoE"==JSON.parse(localStorage.getItem("appidSupervise")).appId?(this.occupationTypeArr=[{label:"一般职员",value:"Normal"},{label:"保安员",value:"SecurityGuard"},{label:"警官",value:"Police"}],this.tableColumn=[{prop:"userName",label:"姓名",width:"180",show:!0},{prop:"mobile",label:"手机号",width:"180",show:!0},{prop:"departName",label:"所在部门",width:"180",show:!0},{prop:"occupationType",label:"职业类型",width:"180",show:!0}]):(this.occupationTypeArr=[{label:"一般职员",value:"Normal"},{label:"保安员",value:"SecurityGuard"}],this.tableColumn=[{prop:"userName",label:"姓名",width:"180",show:!0},{prop:"mobile",label:"手机号",width:"180",show:!0},{prop:"departName",label:"所在部门",width:"180",show:!0},{prop:"occupationType",label:"职业类型",width:"180",show:!0}]),this.AuthList()},watch:{multipleSelection(){this.multipleSelection.length?this.disabled=!1:this.disabled=!0}},methods:{setUserAuthorization(e,t){if(!e.length)return this.$message.warning("请选择要设置的用户");this.$refs.userauthdialog.open(e,t)},handleRole(e){if(!e.length)return this.$message.warning("请选择要设置的用户");this.$refs.roledialog.open(e,"show")},getAuthdetail(e){this.$refs.detaildialog.open(e)},selectClickT(e){console.log(e),this.getTreeDepartlist=e},addAuth(){this.showdialog=!0,this.$refs.popChildren.getTableRow(this.multipleSelection,0)},Edit(e){this.showdialog=!0,this.$refs.popChildren.getTableRow([e],1)},search(){this.params.pageIndex=1;this.params;this.AuthList()},tableDatalist(){let e={domainId:this.$route.query.domainId};Object(r["w"])(e).then(e=>{e.data&&(this.tableData=e.data,this.sortTableData(this.tableData))})},sortTableData(e){e.length&&e.forEach(e=>{e.displayOrderNumber=e.displayOrder,e.children.length&&this.sortTableData(e.children)}),console.log(this.tableData)},AuthList(){console.log(this.params);const e={...this.params};Array.isArray(e.departId)&&!e.departId.length&&(e.departId=""),Object(r["Gb"])(e).then(e=>{e.data.data&&(this.tableDataAuth=e.data.data,this.params.total=e.data.total)})},checkChange(e,t){console.log(e),console.log(t,"data"),this.$set(this.params,"departId",e)},handleCurrentChange(e){console.log(e),this.params.pageIndex=e,this.AuthList()},handleSizeChange(e){console.log(e),this.params.pageSize=e,this.AuthList()},handleSelectionChange(e){console.log(e),this.multipleSelection=e},handleSelectionAllChange(e,t){t||(this.isAllSelect=!this.isAllSelect),e.map(e=>{e.children&&(e.children.map(e=>{this.toggleSelection(e,this.isAllSelect)}),e.children.length>0&&this.handleSelectionAllChange(e.children,!0))})},toggleSelection(e,t){t?this.$refs.districtTable.toggleRowSelection(e,t):this.$refs.districtTable.clearSelection()},addDept(){this.showdialog=!0,this.$refs.popChildren.getTableRow({},0)},BackEmp(e){this.showdialogBack=!0,this.$refs.popChildrenBack.getTableRow(e,1)},patchDel(e){e.length?this.$confirm("此操作将清除选择用户对应的应用权限, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(r["Xb"])({employeeIdList:e.map(e=>e.employeeId),appList:[]}).then(()=>{this.AuthList()}),this.$message.success("操作成功"),this.$refs.districtTable.clearSelection()}).catch(()=>{}):this.$message.warning("请选择要设置的用户")},importEmployee(){this.showdialogImport=!0},moveDept(){this.showdialogMove=!0,this.$refs.MovepopChildren.getTableRow(this.multipleSelection,0)},ImDept(){this.showdialogIm=!0,this.$refs.ImpopChildren.getTableRow(this.multipleSelection,0)},refurlist(){this.AuthList()}}},d=c,p=(A("a5c0"),A("2877")),h=Object(p["a"])(d,a,s,!1,null,null,null);t["default"]=h.exports},"74c3":function(e,t,A){"use strict";A("b09d")},"752a":function(e,t,A){"use strict";A("617c")},"757f":function(e,t,A){"use strict";A("eeee")},"77c8":function(e,t,A){},7865:function(e,t,A){"use strict";A("a43b")},"7aed":function(e,t,A){},"7b8e":function(e,t,A){"use strict";A("91b1")},8085:function(e,t,A){},"81d0":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-form",{ref:"ruleForm",attrs:{"label-width":"90px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{staticClass:"importStep",attrs:{span:24}},[t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第一步:")]),t("span",{staticClass:"stepText"},[t("a",{on:{click:function(t){return e.DownloadTemplate()}}},[e._v("点击下载导入模板文件")]),t("b",[e._v("(请详细阅读文件中的填写提示,以免导入失败)")])])]),t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第二步:")]),t("span",{staticClass:"stepText"},[t("strong",[e._v("上传填写好的导入文件")]),t("el-upload",{staticClass:"upload-demo",attrs:{action:"","http-request":e.uploadImg,"on-preview":e.handlePreview,"on-remove":e.handleRemove,"before-remove":e.beforeRemove,"on-exceed":e.handleExceed,"show-file-list":!1}},[t("el-button",{attrs:{size:"small"}},[e._v("上传文件")])],1)],1)]),t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第三步:")]),t("span",{staticClass:"stepText"},[t("el-button",{attrs:{type:"primary",disabled:e.disabled},on:{click:e.importOk}},[e._v("点击开始查询")])],1)]),e.resultShow?t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("导入结果:")]),t("span",{staticClass:"stepText stepImportInfo"},[t("p",[0!=e.formList.totalFailed?t("i",{staticClass:"resultbtn",on:{click:e.downloadurlClick}},[e._v("点击下载查询结果")]):e._e()])])]):e._e()])],1)],1)},s=[],r=A("fb36"),i=A("821e"),o=(A("01ea"),A("4c18")),l={props:["showdialogImport","getTreeDepartlist"],watch:{showdialogImport(){this.dialogFormVisible=this.showdialogImport,this.path="",this.disabled=!0,this.resultShow=!1,this.formList.downloadUrl=""}},components:{selectTree:r["a"]},data(){return{title:"",dialogFormVisible:this.showdialogImport,OperType:0,formList:{},rules:{},path:"",disabled:!0,resultShow:!1,emplyeeTitle:"导入"+$SuperviseStr.employee,homeTemplateBoradType:localStorage.getItem("homeTemplateBoradType")||""}},methods:{DownloadTemplate(){let e="static/template/批量查询持证状态模板.xlsx";window.open(e)},uploadImg(e){Object(o["a"])(e,{onSuccess:e=>{this.path=e,this.path&&(this.disabled=!1)},context:this,domainId:this.$route.query.domainId||"default"})},importOk(){let e={domainId:this.$route.query.domainId||localStorage.getItem("domainId")};Object(i["K"])(this.path,e).then(e=>{200==e.status&&(this.formList.downloadUrl=e.data,this.resultShow=!0,this.path&&(this.disabled=!0))})},downloadurlClick(){this.formList.downloadUrl&&window.open("/obpm"+this.formList.downloadUrl)},handleRemove(e,t){console.log(e,t)},handlePreview(e){console.log(e)},handleExceed(e,t){this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${e.length} 个文件,共选择了 ${e.length+t.length} 个文件`)},beforeRemove(e,t){return this.$confirm(`确定移除 ${e.name}?`)},getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.formList=A,this.OperType=t,console.log(this.formList.parentId),0==this.OperType?this.title="添加":this.title="编辑"},submitForm(){let e={domainId:this.$route.query.domainId};this.OperType,this.$refs.ruleForm.validate(t=>{if(!t)return!1;0==this.OperType?AddDepartmentsApi(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}}):EditDepartmentsApi(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})})},cancelForm(){this.$emit("update:showdialogImport",!1),this.path&&this.$emit("refurlist",{}),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},n=l,c=(A("f99b"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},"88a7":function(e,t,A){"use strict";var a=A("cb2d"),s=A("e330"),r=A("577e"),i=A("d6d6"),o=URLSearchParams,l=o.prototype,n=s(l.append),c=s(l["delete"]),d=s(l.forEach),p=s([].push),h=new o("a=1&a=2&b=3");h["delete"]("a",1),h["delete"]("b",void 0),h+""!=="a=2"&&a(l,"delete",(function(e){var t=arguments.length,A=t<2?void 0:arguments[1];if(t&&void 0===A)return c(this,e);var a=[];d(this,(function(e,t){p(a,{key:t,value:e})})),i(t,1);var s,o=r(e),l=r(A),h=0,u=0,m=!1,g=a.length;while(h{200==e.status&&(this.userInfo=e.data.userInfo,e.data.userInfo.headPhoto&&e.data.userInfo.headPhoto.indexOf("http")>-1?this.headPhoto=e.data.userInfo.headPhoto:this.headPhoto=location.origin+"/obpm"+e.data.userInfo.headPhoto,this.formList=JSON.parse(JSON.stringify(e.data.userInfo)))})},edit(){this.flag=!1,this.$set(this.formList,"name",this.userInfo.name),this.$set(this.formList,"telephone",this.userInfo.telephone)},save(){let e=this.userInfo;Object(r["x"])(e,this.formList).then(e=>{200==e.status&&(this.flag=!0,this.employessBaseInfo())})}}},o=i,l=(A("4735"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,null,null);t["default"]=n.exports},"8bb4":function(e,t,A){},"8c51":function(e,t,A){},"8c9e":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ContainerBox"},[t("section",{staticClass:"remarkBox"},[t("div",{staticClass:"remarkInfo"},[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),t("span",[e._v(" 1. 您可以将组织内的用户设置为"+e._s(e.$SuperviseStr.depart)+"管理员,协助您管理"+e._s(e.$SuperviseStr.depart)+"及用户。"),t("br"),e._v(" 2. "+e._s(e.$SuperviseStr.depart)+"管理员在"+e._s(e.$SuperviseStr.depart)+"管理及用户管理中只能查看并管理自己可管理的"+e._s(e.$SuperviseStr.depart)+",无法管理所有"+e._s(e.$SuperviseStr.depart)+"。"),t("br"),e._v(" 3. "+e._s(e.$SuperviseStr.depart)+"管理员与通讯录权限不一致,例:某用户所在"+e._s(e.$SuperviseStr.depart)+"的通讯录权限为“只能查看自己”,即使该用户可管理多个"+e._s(e.$SuperviseStr.depart)+",在查看通讯录时仍然只能查看自己。 ")])])]),t("section",{staticClass:"buttonBox"},[t("el-row",[t("el-col",{attrs:{span:12}},[t("el-button",{attrs:{type:"primary"},on:{click:e.addDept}},[e._v("添加"+e._s(e.$SuperviseStr.depart)+"管理员")]),t("el-button",{on:{click:e.exportDepartAdminList}},[e._v("导出")]),t("el-button",{attrs:{type:"danger",disabled:e.disabled},on:{click:e.patchDel}},[e._v("批量删除")])],1),t("el-col",{attrs:{span:12}},[t("el-row",{attrs:{gutter:12}},[t("el-col",{attrs:{span:10}},[t("el-input",{attrs:{placeholder:"输入姓名/账号/手机号",clearable:""},model:{value:e.params.keyword,callback:function(t){e.$set(e.params,"keyword",t)},expression:"params.keyword"}})],1),t("el-col",{attrs:{span:6}},[t("selectTree",{ref:"selectTree",attrs:{curValue:e.defaulData,treeData:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",collapseTags:"",multiple:"",placeholder:"请选择部门"},on:{getValue:e.checkChange,selectClickT:e.selectClickT,loadingTreeDataEventHandler:e.loadingDepartTreeDataEventHandler}})],1),t("el-col",{attrs:{span:6}},[t("selectTree",{ref:"selectTree",attrs:{curValue:e.defaulData2,treeData:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",collapseTags:"",multiple:"",placeholder:"请选择可管理的部门"},on:{getValue:e.checkChange2,selectClickT:e.selectClickT2,loadingTreeDataEventHandler:e.loadingDepartTreeDataEventHandler}})],1),t("el-col",{attrs:{span:2}},[t("el-button",{attrs:{type:"primary"},on:{click:e.search}},[e._v("查询")])],1)],1)],1)],1)],1),e.multipleSelection.length?t("section",{staticClass:"TableSelectBox"},[t("span",[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),e._v("已选中:"),e._l(e.multipleSelection,(function(A,a){return t("span",{key:a},[e._v(e._s(A.name)),a!=e.multipleSelection.length-1?t("b",[e._v(",")]):e._e()])}))],2)]):e._e(),t("section",{staticClass:"contentBox"},[t("el-table",{ref:"districtTable",attrs:{data:e.DepartAdminTableData,"max-height":"750","default-expand-all":"","row-key":"id"},on:{"selection-change":e.handleSelectionChange,"select-all":e.handleSelectionAllChange}},[t("el-table-column",{attrs:{type:"selection",width:"55"}}),e._l(e.tableColumn,(function(A,a){return A.show?t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label,width:A.width,fixed:"姓名"==A.label},scopedSlots:e._u([{key:"default",fn:function(a){var s;return["permissionType"==A.prop?t("span"):"joinedManagedAdminName"==A.prop?t("span",[t("a",[e._v(e._s((null===(s=a.row[A.prop])||void 0===s?void 0:s.length)>50?a.row[A.prop].substring(0,50)+" ...":a.row[A.prop]))])]):t("span",[e._v(e._s(a.row[A.prop]))])]}}],null,!0)}):e._e()})),t("el-table-column",{attrs:{label:"操作",width:""},scopedSlots:e._u([{key:"default",fn:function(A){return[t("el-button",{staticClass:"primaryColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.editDept(A.row)}}},[e._v("编辑")]),t("el-button",{staticClass:"dangerColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.delDept(A.row)}}},[e._v("删除")])]}}])})],2),t("pages",{attrs:{total:e.params.total,currentPage:e.params.pageIndex,pageSize:e.params.pageSize},on:{"update:currentPage":function(t){return e.$set(e.params,"pageIndex",t)},"update:current-page":function(t){return e.$set(e.params,"pageIndex",t)},handleCurrentChangeSub:e.handleCurrentChange,handleSizeChangeSub:e.handleSizeChange}})],1),e.showdialog?t("DeptAdminDialog",{ref:"popChildren",attrs:{showdialog:e.showdialog,paramData:e.openDepartParam.data,paramOperType:e.openDepartParam.operType},on:{"update:showdialog":function(t){e.showdialog=t},refurlist:e.refurlist}}):e._e()],1)},s=[],r=(A("88a7"),A("271a"),A("5494"),A("14d9"),A("821e")),i=A("8ec8"),o=A("251b"),l={data(){return{params:{pageIndex:1,pageSize:10,keyword:"",departIds:[],total:0},loadedDepart:!1,tableData:[],DepartAdminTableData:[],defaulData:[],defaulData2:[],getTreeDepartlist:[],getTreeDepartlist2:[],multipleSelection:[],tableColumn:[{prop:"name",label:"姓名",width:"180",show:!0},{prop:"telephone",label:"手机号",width:"180",show:!0},{prop:"departName",label:"所在"+$SuperviseStr.depart,width:"180",show:!0},{prop:"joinedManagedAdminName",label:"可管理的"+$SuperviseStr.depart,width:"",show:!0}],showdialog:!1,showdialogImport:!1,showdialogMove:!1,showdialogIm:!1,showdialogUser:!1,disabled:!0,isAllSelect:!1,displayOrderShow:!1,homeTemplateBoradType:localStorage.getItem("homeTemplateBoradType")||"",openDepartParam:{data:{},operType:0}}},components:{DeptAdminDialog:i["default"],selectTree:o["default"]},mounted(){"rtpayTemplate"==this.homeTemplateBoradType||localStorage.getItem("appidSupervise")&&"__d1qEDy3wYq8VF5KvUoE"==JSON.parse(localStorage.getItem("appidSupervise")).appId?this.tableColumn=[{prop:"name",label:"姓名",width:"180",show:!0},{prop:"telephone",label:"账号",width:"180",show:!0},{prop:"departName",label:"所在"+$SuperviseStr.depart,width:"180",show:!0},{prop:"joinedManagedAdminName",label:"可管理的"+$SuperviseStr.depart,width:"",show:!0}]:this.tableColumn=[{prop:"name",label:"姓名",width:"180",show:!0},{prop:"telephone",label:"手机号",width:"180",show:!0},{prop:"departName",label:"所在"+$SuperviseStr.depart,width:"180",show:!0},{prop:"joinedManagedAdminName",label:"可管理的"+$SuperviseStr.depart,width:"",show:!0}],this.tableDatalist(),this.tableDataDepartAdminlist()},watch:{multipleSelection(){this.multipleSelection.length?this.disabled=!1:this.disabled=!0}},methods:{exportDepartAdminList(){let e={domainId:localStorage.domainId};Object(r["rb"])(this.params,e).then(e=>{const t=e,A=new Blob([t]),a="部门管理员.xlsx";if("download"in document.createElement("a")){const e=document.createElement("a");e.download=a,e.style.display="none",e.href=URL.createObjectURL(A),document.body.appendChild(e),e.click(),URL.revokeObjectURL(e.href),document.body.removeChild(e)}else navigator.msSaveBlob(A,a)})},search(){this.$set(this.params,"pageIndex",1);let e={domainId:this.$route.query.domainId};Object(r["v"])(this.params,e).then(e=>{e.data&&(this.DepartAdminTableData=e.data.data,this.params.total=e.data.total)})},tableDataDepartAdminlist(){let e={domainId:this.$route.query.domainId};Object(r["v"])(this.params,e).then(e=>{e.data&&(this.DepartAdminTableData=e.data.data,this.params.total=e.data.total)})},loadingDepartTreeDataEventHandler(e){console.log("触发此事件的功能");var t=this;if(!t.loadedDepart){let e={domainId:this.$route.query.domainId};Object(r["w"])(e).then(e=>{if(e.data){var A=e.data;t.sortTableData(A),t.tableData=A,t.getTreeDepartlist=t.tableData,t.getTreeDepartlist2=t.tableData}}),t.loadedDepart=!0}console.log(t.getTreeDepartlist)},tableDatalist(){},sortTableData(e){e.length&&e.forEach(e=>{e.displayOrderNumber=e.displayOrder,e.children.length&&this.sortTableData(e.children)})},selectClickT(e){console.log("selectClickT"),this.getTreeDepartlist=e},selectClickT2(e){console.log("selectClickT2"),console.log(e),this.getTreeDepartlist2=e},checkChange(e,t){this.$set(this.params,"departIds",e)},checkChange2(e,t){this.$set(this.params,"adminDepartIds",e)},handleCurrentChange(e){this.params.pageIndex=e,this.tableDataDepartAdminlist()},handleSizeChange(e){this.params.pageIndex=1,this.params.pageSize=e,this.tableDataDepartAdminlist()},handleSelectionChange(e){this.multipleSelection=e},handleSelectionAllChange(e,t){t||(this.isAllSelect=!this.isAllSelect),e.map(e=>{e.children&&(e.children.map(e=>{this.toggleSelection(e,this.isAllSelect)}),e.children.length>0&&this.handleSelectionAllChange(e.children,!0))})},toggleSelection(e,t){t?this.$refs.districtTable.toggleRowSelection(e,t):this.$refs.districtTable.clearSelection()},addDept(){this.showdialog=!0,this.openDepartParam.operType=0,this.openDepartParam.data={}},editDept(e){this.showdialog=!0,this.openDepartParam.operType=1,this.openDepartParam.data=e},delDept(e){let t=[e.employeeId],A={domainId:this.$route.query.domainId};""!=Object.keys(e)&&this.$confirm("此操作将永久删除此对应数据, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(r["Y"])(t,A).then(e=>{200==e.status&&this.tableDataDepartAdminlist()}).catch(e=>{console.log(e)})}).catch(e=>{console.log(e),console.log(e.response)})},patchDel(){let e={domainId:this.$route.query.domainId};this.multipleSelection.length&&this.$confirm("此操作将永久删除此对应数据, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{let t=[];this.multipleSelection.forEach(e=>{t.push(e.employeeId)}),Object(r["Y"])(t,e).then(e=>{200==e.status&&this.tableDataDepartAdminlist()})}).catch(()=>{})},importDept(){this.showdialogImport=!0},moveDept(){this.showdialogMove=!0,this.$refs.MovepopChildren.getTableRow(this.multipleSelection,0)},ImDept(){this.showdialogIm=!0,this.$refs.ImpopChildren.getTableRow(this.multipleSelection,0)},close(e){this.tableDatalist()},totalMemberClick(e){this.showdialogUser=!0,this.$refs.UserpopChildren.getTableRow(e,0)},refurlist(){this.tableDataDepartAdminlist()}}},n=l,c=(A("57e3"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},"8cdb":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("section",{staticClass:"container_fixed"},[t("div",{staticClass:"container_404"},[e._m(0),t("p",{staticClass:"textColor"},[e._v("抱歉,您访问的页面不存在!")]),t("span",[t("el-button",{attrs:{type:"primary"},on:{click:e.BackGo}},[e._v("返回")]),t("el-button",{on:{click:e.BackHome}},[e._v("首页")])],1)])])},s=[function(){var e=this,t=e._self._c;return t("span",[t("img",{attrs:{src:A("b0fe")}})])}],r=(A("14d9"),{methods:{BackGo(){window.history.go(-1)},BackHome(){this.$router.push("/")}}}),i=r,o=(A("2ed4"),A("2877")),l=Object(o["a"])(i,a,s,!1,null,"1ba96a44",null);t["default"]=l.exports},"8e05":function(e,t,A){},"8e52":function(e,t,A){"use strict";A("91b3")},"8ec8":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"template-container"},[t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{"z-index":"2000",title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"200px",model:e.formData,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[0==this.OperType?t("el-form-item",{attrs:{label:"选择用户:",prop:"employeeIds"}},[t("el-select",{attrs:{filterable:"","filter-method":e.filterMethod,"collapse-tags":"",multiple:"",placeholder:"请选择"},model:{value:e.formData.employeeIds,callback:function(t){e.$set(e.formData,"employeeIds",t)},expression:"formData.employeeIds"}},e._l(e.tableDataEmployee,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name+" ("+e.telephone+")",value:e.id}})})),1)],1):t("el-form-item",{attrs:{label:"用户:",prop:""}},[t("span",[e._v(e._s(e.bindData.name))])])],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{prop:"departIds"}},[t("div",{staticClass:"item-flex-caption"},[t("div",[t("label",[e._v(e._s(e.departlabel+"("+e.formData.departIds.length+")"))])]),t("div",{staticClass:"button"},[t("el-button",{on:{click:e.openSelectDepartment}},[e._v("选择部门")]),t("el-button",{attrs:{type:"danger"},on:{click:e.clearSelectedDepartment}},[e._v("清除选中部门")])],1)]),t("div",{staticClass:"item-flex"},e._l(e.departments,(function(A){return t("el-tag",{key:A.id,attrs:{closable:""},on:{close:function(t){return e.removeSelectedDepartment(A)}}},[e._v(" "+e._s(A.name)+" ")])})),1)])],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1),e.bindData.showSelectDepartmentDialog?t("el-dialog",{staticClass:"depart-admin-dialog",attrs:{visible:!0,visiblexxx:e.bindData.showSelectDepartmentDialog,"z-index":"2001"},on:{close:e.depart_dialog_closeSelectDepartment}},[t("select-department",{attrs:{selectedDepartIds:e.formData.departIds,loadingDepartment:e.bindData.showSelectDepartmentDialog},on:{"update:loadingDepartment":function(t){return e.$set(e.bindData,"showSelectDepartmentDialog",t)},"update:loading-department":function(t){return e.$set(e.bindData,"showSelectDepartmentDialog",t)},"apply-selected-department-handler":e.depart_dialog_handleApplySelectedDepartment,"cancel-selected-department-handler":e.depart_dialog_closeSelectDepartment}})],1):e._e()],1)},s=[],r=(A("14d9"),A("821e")),i=A("4880");A("d9e2");var o={props:{showdialog:{type:Boolean,default:!1},getTreeDepartlist:{type:Array,default(){return[]}},paramOperType:{type:Number,default(){return 0}},paramData:{type:Object,default(){return{}}}},components:{"select-department":i["default"]},data(){return{title:"",dialogFormVisible:this.showdialog,OperType:this.paramOperType,params:{pageIndex:1,pageSize:10,keyword:"",total:0},rules:{employeeIds:[{required:!0,message:"请选择选择用户",trigger:"blur"}],departIds:[{required:!0,message:"请选择要设置的"+$SuperviseStr.depart,trigger:["change","blur"]}]},departments:[],filteredDepartments:[],defaulData:[],tableDataEmployee:[],departlabel:`要设置的${$SuperviseStr.depart}:`,defaulDataArr:[],departmentsForSelectList:[],bindData:{employeeId:null,name:null,showSelectDepartmentDialog:!1,renderDepartmentDialog:!1},formData:{departIds:[],employeeIds:[]}}},watch:{showdialog(){},"formData.employeeIds"(){this.formData.employeeIds},"formData.departIds"(e,t){var A,a=this;null===(A=a.formData.departIds)||void 0===A||A.length}},mounted(){var e=this,t=this.paramData;if(e.bindData.employeeId=t.employeeId,e.bindData.name=t.name,e.formData.employeeId=t.employeeId,e.OperType=this.paramOperType,0==e.OperType?(e.title="添加",this.defaulData=[]):e.title="编辑",console.log("mounted 监控节点信息...",t),e.dialogFormVisible=this.showdialog,e.dialogFormVisible){if(!e.formData.employeeId)return e.departments=[],e.formData.departIds=[],e.formData.employeeIds=[],void e.filterMethod("");let t={domainId:this.$route.query.domainId};Object(r["Ab"])({employeeId:e.bindData.employeeId},t).then(t=>{if(200==t.status){if(this.defaulDataArr=[],t.data){var A=[],a=[];t.data.forEach(e=>{a.push({id:e.departId,name:e.departName}),A.push(e.departId)}),e.departments=a,e.formData.departIds=A}this.$nextTick(()=>{let e=[...new Set(this.defaulDataArr)];this.defaulData=e})}})}},computed:{defaultExpandedKeys:function(){var e=this.getTreeDepartlist;return(null===e||void 0===e?void 0:e.length)>0?[e[0].id]:[]}},methods:{getTableRow(e,t){this.bindData.employeeId=e.employeeId,this.bindData.name=e.name,this.formData.employeeId=e.employeeId,this.OperType=t,0==this.OperType?(this.title="添加",this.defaulData=[]):this.title="编辑"},filterMethod(e){this.params.keyword=e;let t={domainId:this.$route.query.domainId};Object(r["mb"])(this.params,t).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},submitForm(){console.log("当前提交的表单信息为",this.formData),this.OperType,this.$refs.ruleForm.validate(e=>{if(!e)return console.log("表单执行失败",e),!1;{let e={domainId:this.$route.query.domainId};0==this.OperType?Object(r["c"])(this.formData,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formData));this.$emit("refurlist",e),this.cancelForm()}}):Object(r["p"])(this.formData,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formData));this.$emit("refurlist",e),this.cancelForm()}})}})},cancelForm(){var e=this;e.$emit("update:showdialog",!1)},openSelectDepartment(){var e=this;e.$refs.ruleForm.clearValidate(["employeeIds","departIds"]),e.bindData.renderDepartmentDialog||(e.bindData.renderDepartmentDialog=!0),e.bindData.showSelectDepartmentDialog=!0},clearSelectedDepartment(){this.formData.departIds=[],this.departments=[]},removeSelectedDepartment(e){var t=this;t.formData.departIds=t.formData.departIds.filter(t=>t!=e.id),t.departments=t.departments.filter(t=>t!=e)},depart_dialog_closeSelectDepartment(){this.bindData.showSelectDepartmentDialog=!1},depart_dialog_handleApplySelectedDepartment(e){var t=this;t.bindData.showSelectDepartmentDialog=!1;for(var A=[],a=0;a{/^[1][3,4,5,7,8,9][0-9]{9}$/.test(t)?A():A(new Error("请输入正确的手机号"))},500)}var l={inject:["permissions"],computed:{permissionsStr(){return this.permissions()}},props:["showdialogBack"],watch:{showdialogBack(){this.dialogFormVisible=this.showdialogBack,this.defaulDataParent=[]},"formList.departId"(){this.formList.departId&&this.$refs.ruleForm.clearValidate(["departId"])}},components:{selectTree:r["a"]},data(){return{title:"复职确认",dialogFormVisible:this.showdialogBack,OperType:0,formList:{},rules:{departId:[{required:!0,message:"请选择新入职"+$SuperviseStr.depart,trigger:"blur"}],occupationType:[{required:!0,message:"请选择职业类型",trigger:"change"}],hiredDate:[{required:!0,message:"请选择入职日期",trigger:"blur"}]},defaulDataParent:"",defaulData:[],occupationTypeArr:[],getTreeDepartlist:[],departlabel:`新入职${$SuperviseStr.depart}:`,homeTemplateBoradType:localStorage.getItem("homeTemplateBoradType")||"",disabledhiredDate:!1,occupationTypeDisabled:!1,institutionalCode:localStorage.getItem("institutionalCode")||""}},mounted(){"rtpayTemplate"==this.homeTemplateBoradType?this.occupationTypeArr=[{label:"一般职员",value:"Normal"}]:localStorage.getItem("appidSupervise")&&"__d1qEDy3wYq8VF5KvUoE"==JSON.parse(localStorage.getItem("appidSupervise")).appId?this.occupationTypeArr=[{label:"一般职员",value:"Normal"},{label:"保安员",value:"SecurityGuard"},{label:"警官",value:"Police"}]:this.occupationTypeArr=[{label:"一般职员",value:"Normal"},{label:"保安员",value:"SecurityGuard"}]},methods:{selectClickT(e){console.log(e),this.getTreeDepartlist=e},getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.formList=A,this.OperType=t;let a=new Date,s=a.getFullYear(),r=a.getMonth()+1<10?"0"+(a.getMonth()+1):a.getMonth()+1,i=a.getDate()<10?"0"+a.getDate():a.getDate(),o=s+"-"+r+"-"+i;console.log(o),this.$nextTick(()=>{this.$set(this.formList,"hiredDate",o),console.log(this.permissionsStr),this.permissionsStr&&this.permissionsStr.indexOf("hiredDatedLimited")>-1?this.disabledhiredDate=!0:this.disabledhiredDate=!1}),this.getTreeData(this.getTreeDepartlist),"0601"==this.institutionalCode&&(this.occupationTypeDisabled=!0,this.$set(this.formList,"occupationType","Normal")),this.institutionalCode&&this.institutionalCode.startsWith("04")&&(this.occupationTypeDisabled=!0,this.$set(this.formList,"occupationType","Normal")),(this.institutionalCode&&this.institutionalCode.endsWith("07")||this.institutionalCode&&this.institutionalCode.endsWith("08")||this.institutionalCode&&this.institutionalCode.endsWith("09"))&&(this.occupationTypeDisabled=!0,this.$set(this.formList,"occupationType","Normal")),this.institutionalCode&&this.institutionalCode.startsWith("02")&&(this.occupationTypeDisabled=!0,this.$set(this.formList,"occupationType","Normal"))},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"departId",e),console.log(this.formList.departId)},checkChange(e,t){},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},submitForm(){let e={number:this.formList.number,type:this.formList.type};this.formList.credential=e,console.log(this.formList);let t={domainId:this.$route.query.domainId};this.$refs.ruleForm.validate(e=>{if(!e)return!1;Object(i["h"])(this.formList,t).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})})},cancelForm(){this.$emit("update:showdialogBack",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},n=l,c=(A("e713"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},"90bf":function(e,t,A){},"90d8":function(e,t,A){"use strict";var a=A("c65b"),s=A("1a2d"),r=A("3a9b"),i=A("ad6d"),o=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in o||s(e,"flags")||!r(o,e)?t:a(i,e)}},9114:function(e,t,A){},9169:function(e,t,A){"use strict";var a=A("a026");const s=a["default"].prototype.$isServer,r=(s||Number(document.documentMode),function(){return!s&&document.addEventListener?function(e,t,A){e&&t&&A&&e.addEventListener(t,A,!1)}:function(e,t,A){e&&t&&A&&e.attachEvent("on"+t,A)}}());(function(){!s&&document.removeEventListener})();const i=[],o="@@clickoutsideContext";let l,n=0;function c(e,t,A){return function(a={},s={}){!(A&&A.context&&a.target&&s.target)||e.contains(a.target)||e.contains(s.target)||e===a.target||A.context.popperElm&&(A.context.popperElm.contains(a.target)||A.context.popperElm.contains(s.target))||(t.expression&&e[o].methodName&&A.context[e[o].methodName]?A.context[e[o].methodName]():e[o].bindingFn&&e[o].bindingFn())}}!a["default"].prototype.$isServer&&r(document,"mousedown",e=>l=e),!a["default"].prototype.$isServer&&r(document,"mouseup",e=>{i.forEach(t=>t[o].documentHandler(e,l))});t["a"]={bind(e,t,A){i.push(e);const a=n++;e[o]={id:a,documentHandler:c(e,t,A),methodName:t.expression,bindingFn:t.value}},update(e,t,A){e[o].documentHandler=c(e,t,A),e[o].methodName=t.expression,e[o].bindingFn=t.value},unbind(e){let t=i.length;for(let A=0;A{/^[1][3,4,5,7,8,9][0-9]{9}$/.test(t)?A():A(new Error("请输入正确的手机号"))},500)}var d={props:["showdialog","getTreeDepartlist"],watch:{showdialog(){this.dialogFormVisible=this.showdialog,this.defaulDataParent=[]},"formList.attachment"(){this.formList.attachment&&this.$nextTick(()=>{this.$refs.ruleForm.clearValidate(["attachment"])})}},components:{selectTree:o["a"],MoveSuperDialog:l["default"]},data(){return{title:"",dialogFormVisible:this.showdialog,OperType:0,formList:{},params:{pageIndex:1,pageSize:10,keyword:"",total:0},rules:{employeeId:[{required:!0,message:"请选择用户",trigger:"change"}],name:[{required:!0,message:"请输入合同名称",trigger:"blur"}],aName:[{required:!0,message:"请输入甲方名称",trigger:"blur"}],bName:[{required:!0,message:"请输入乙方名称",trigger:"blur"}],beginDate:[{required:!0,message:"请选择合同开始日期",trigger:"blur"}],endDate:[{required:!0,message:"请选择合同结束日期",trigger:"blur"}],attachment:[{required:!0,message:"请上传电子合同文件",trigger:"blur"}]},defaulDataParent:"",defaulData:[],tableDataEmployee:[],resultArr:[],showdialogMoveSuper:!1,fileList:[],disabledUser:!1,flag:!0}},methods:{getTableRow(e,t,A){let a=JSON.parse(JSON.stringify(e));if(this.formList=a,this.OperType=t,0===this.OperType)this.title="添加合同",this.disabledUser=!1,this.flag=!0,this.fileList=[],this.$set(this.formList,"aName",localStorage.getItem("domainName")||""),this.$set(this.formList,"dateLimitless",!1),this.$set(this.formList,"disabledEndDate",!1);else if(2==A){if(this.title="上传合同",this.disabledUser=!0,this.flag=!1,this.fileList=[],this.formList.attachment="",this.formList.beginDateDesc&&this.$set(this.formList,"beginDate",this.formList.beginDateDesc),this.formList.endDateDesc&&this.$set(this.formList,"endDate",this.formList.endDateDesc),this.formList.attachment){let e={};e.name=this.formList.fileName,e.url=this.formList.attachment,this.fileList=[e]}1==this.formList.dateLimitless?(this.$set(this.formList,"disabledEndDate",!0),this.$set(this.formList,"endDate","9999-12-31"),this.rules.endDate[0].required=!1):(this.$set(this.formList,"dateLimitless",!1),this.rules.endDate[0].required=!0)}else{if(this.title="编辑合同",this.disabledUser=!0,this.flag=!0,this.formList.beginDateDesc&&this.$set(this.formList,"beginDate",this.formList.beginDateDesc),this.formList.endDateDesc&&this.$set(this.formList,"endDate",this.formList.endDateDesc),this.formList.attachment){let e={};e.name=this.formList.fileName,e.url=this.formList.attachment,this.fileList=[e]}1==this.formList.dateLimitless?(this.$set(this.formList,"disabledEndDate",!0),this.$set(this.formList,"endDate","9999-12-31"),this.rules.endDate[0].required=!1):(this.$set(this.formList,"dateLimitless",!1),this.rules.endDate[0].required=!0)}this.getTreeData(this.getTreeDepartlist),this.employeeTableList()},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"departId",e),console.log(this.formList.departId)},checkChange(e,t){},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},employeeTableList(){let e={domainId:this.$route.query.domainId};Object(n["mb"])(this.params,e).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},filterMethod(e){console.log(e),this.params.keyword=e;let t={domainId:this.$route.query.domainId};Object(n["mb"])(this.params,t).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},selectUser(e){console.log(e),console.log(this.tableDataEmployee);let t=[];t=this.tableDataEmployee.filter(t=>e.indexOf(t.id)>-1),t.forEach(e=>{this.resultArr.push(e)});let A=this.resultArr.filter(t=>e.indexOf(t.id)>-1);this.resultArr=A,this.resultArr=[...new Set(this.resultArr)],console.log(this.resultArr),this.$set(this.formList,"name",this.resultArr[0].name+"的劳动合同"),this.$set(this.formList,"bName",this.resultArr[0].name)},removetag(e){console.log(e),this.resultArr.forEach(t=>{t.id==e&&this.resultArr.splice(t,1)}),console.log(this.resultArr)},uploadImg(e){__network__?this.obsFile(e):this.InFileUpload(e)},obsFile(e){console.log(e);var t=this,A=this.$route.query.domainId||"default";let a=new Date,s=a.getFullYear(),r=a.getMonth()+1<10?"0"+(a.getMonth()+1):a.getMonth()+1,i=a.getDate()<10?"0"+a.getDate():a.getDate(),o=r+"-"+i;var l=`uploads/${s}/${o}/${A}/${a.getTime()}/${e.file.name}`,n=new ObsClient({access_key_id:ak,secret_access_key:sk,server:urlserver,timeout:300});n.putObject({Bucket:BucketName,Key:l,SourceFile:e.file}).then((function(A){if(console.log(A),A.CommonMsg.Status<300){t.$message({type:"success",message:"上传成功"}),console.log("Create object:"+l+" successfully!\n");var a=`https://${BucketName}.${urlserver}/${l}`;a=convertCdnPath(a),t.$set(t.formList,"attachment",a);let A={};A.name=e.file.name,A.url=a,t.fileList=[A],t.path&&(t.disabled=!1)}}))},InFileUpload(e){let t=new FormData;t.append("file",e.file),Object(n["R"])(t).then(e=>{let t=new Response(e).json();t.then(e=>{console.log(e.data),e.data&&(this.path=window.location.origin+"/obpm"+e.data,this.disabled=!1)})})},handleRemove(e,t){console.log(e,t)},handlePreview(e){console.log(e)},handleExceed(e,t){this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${e.length} 个文件,共选择了 ${e.length+t.length} 个文件`)},beforeRemove(e,t){return this.$confirm(`确定移除 ${e.name}?`)},checkEndDate(e){e?(this.$set(this.formList,"disabledEndDate",!0),this.$set(this.formList,"endDate","9999-12-31"),this.rules.endDate[0].required=!1):(this.$set(this.formList,"disabledEndDate",!1),this.rules.endDate[0].required=!0)},submitForm:i.a.debounce((function(){if(console.log(this.formList),1==this.rules.endDate[0].required&&this.formList.endDate{if(!t)return!1;0==this.OperType?Object(n["b"])(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}}):Object(n["o"])(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})})}),1e3,{leading:!0,trailing:!1}),cancelForm(){this.$emit("update:showdialog",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))},refurlist(){}}},p=d,h=(A("447c"),A("2877")),u=Object(h["a"])(p,a,s,!1,null,null,null);t["default"]=u.exports},"9a47":function(e,t,A){},"9a9b":function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:"导入合同",visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"90px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{staticClass:"importStep",attrs:{span:24}},[t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第一步:")]),t("span",{staticClass:"stepText"},[t("a",{on:{click:function(t){return e.DownloadTemplate()}}},[e._v("点击下载导入模板文件")]),t("b",[e._v("(请详细阅读文件中的填写提示,以免导入失败)")])])]),t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第二步:")]),t("span",{staticClass:"stepText"},[t("strong",[e._v("上传填写好的导入文件")]),t("el-upload",{staticClass:"upload-demo",attrs:{action:"","http-request":e.uploadImg,"on-preview":e.handlePreview,"on-remove":e.handleRemove,"before-remove":e.beforeRemove,"on-exceed":e.handleExceed,"show-file-list":!1}},[t("el-button",{attrs:{size:"small"}},[e._v("上传文件")])],1)],1)]),t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第三步:")]),t("span",{staticClass:"stepText"},[t("el-button",{attrs:{type:"primary",disabled:e.disabled},on:{click:e.importOk}},[e._v("点击开始导入")])],1)]),e.resultShow?t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("导入结果:")]),t("span",{staticClass:"stepText stepImportInfo"},[t("p",[t("em",[e._v("导入成功:"+e._s(e.formList.totalSuccess))]),0!=e.formList.totalFailed?t("b",[e._v("导入失败:"+e._s(e.formList.totalFailed))]):e._e(),0!=e.formList.totalFailed?t("i",{on:{click:e.downloadurlClick}},[e._v("点击下载导入失败数据")]):e._e()])])]):e._e()])],1)],1)],1)},s=[],r=A("fb36"),i=A("821e"),o=(A("01ea"),A("4c18")),l={props:["showdialogImport","getTreeDepartlist"],watch:{showdialogImport(){this.dialogFormVisible=this.showdialogImport,this.path="",this.disabled=!0,this.resultShow=!1,this.formList.downloadUrl=""}},components:{selectTree:r["a"]},data(){return{title:"",dialogFormVisible:this.showdialogImport,OperType:0,formList:{},rules:{},path:"",disabled:!0,resultShow:!1,homeTemplateBoradType:localStorage.getItem("homeTemplateBoradType")||""}},methods:{DownloadTemplate(){if("rtpayTemplate"==this.homeTemplateBoradType){let e="static/template/合同导入文件模板.xlsx";window.open(e)}else{let e="static/template/合同导入模板.xlsx";window.open(e)}},uploadImg(e){Object(o["a"])(e,{onSuccess:e=>{this.path=e,this.path&&(this.disabled=!1)},context:this,domainId:this.$route.query.domainId||"default"})},importOk(){let e={domainId:this.$route.query.domainId};Object(i["G"])(this.path,e).then(e=>{200==e.status&&(this.formList.totalSuccess=e.data.totalSuccess,this.formList.totalFailed=e.data.totalFailed,this.formList.downloadUrl=e.data.downloadUrl,this.resultShow=!0,this.path&&(this.disabled=!0))})},downloadurlClick(){this.formList.downloadUrl&&window.open(this.formList.downloadUrl)},handleRemove(e,t){console.log(e,t)},handlePreview(e){console.log(e)},handleExceed(e,t){this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${e.length} 个文件,共选择了 ${e.length+t.length} 个文件`)},beforeRemove(e,t){return this.$confirm(`确定移除 ${e.name}?`)},getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.formList=A,this.OperType=t,console.log(this.formList.parentId),0==this.OperType?this.title="添加":this.title="编辑"},submitForm(){let e={domainId:this.$route.query.domainId};this.OperType,this.$refs.ruleForm.validate(t=>{if(!t)return!1;0==this.OperType?AddDepartmentsApi(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}}):EditDepartmentsApi(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})})},cancelForm(){this.$emit("update:showdialogImport",!1),this.path&&this.$emit("refurlist",{}),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},n=l,c=(A("f140"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},"9bcb":function(e,t,A){},"9d3f":function(e,t,A){"use strict";A("60cc")},a009:function(e,t,A){},a16a:function(e,t,A){"use strict";A("2150")},a1fa:function(e,t,A){},a2cd:function(e,t,A){},a43b:function(e,t,A){},a498:function(e,t,A){},a4a5:function(e,t,A){"use strict";A.r(t),A.d(t,"validatePhone",(function(){return n}));var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"90px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"姓名:",prop:"name"}},[t("el-input",{attrs:{type:"text",placeholder:"请输入姓名",clearable:""},model:{value:e.formList.name,callback:function(t){e.$set(e.formList,"name","string"===typeof t?t.trim():t)},expression:"formList.name"}})],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.tellable,prop:"telephone"}},[t("el-input",{attrs:{type:"text",placeholder:"请输入",clearable:""},model:{value:e.formList.telephone,callback:function(t){e.$set(e.formList,"telephone","string"===typeof t?t.trim():t)},expression:"formList.telephone"}})],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.departlabel,prop:"departId"}},[t("selectTree",{ref:"selectTreeParent",attrs:{curValue:e.defaulDataParent,data:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",collapseTags:""},on:{getValue:e.checkChangeParent,selectClickT:e.selectClickT}})],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"职业类型:",prop:"occupationType"}},[t("el-select",{attrs:{placeholder:"请选择职业类型",clearable:"",disabled:e.occupationTypeDisabled},model:{value:e.formList.occupationType,callback:function(t){e.$set(e.formList,"occupationType",t)},expression:"formList.occupationType"}},e._l(e.occupationTypeArr,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1)],1)],1)],1),"0601"==e.institutionalCode?t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"岗位:",prop:"position"}},[t("el-select",{attrs:{placeholder:"请选择",clearable:""},model:{value:e.formList.position,callback:function(t){e.$set(e.formList,"position",t)},expression:"formList.position"}},e._l(e.positionArr,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1)],1)],1)],1):e.institutionalCode.startsWith("04")||e.institutionalCode.startsWith("07")?t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"岗位:",prop:"position"}},[t("el-select",{attrs:{placeholder:"请选择",disabled:"",clearable:""},model:{value:e.formList.position,callback:function(t){e.$set(e.formList,"position",t)},expression:"formList.position"}},e._l(e.positionArr,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1)],1)],1)],1):e._e(),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.$SuperviseStr.entry+"日期",prop:"hiredDate"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",clearable:"",disabled:e.disabledhiredDate,placeholder:"选择日期"},model:{value:e.formList.hiredDate,callback:function(t){e.$set(e.formList,"hiredDate","string"===typeof t?t.trim():t)},expression:"formList.hiredDate"}})],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"证件类型:",prop:"type"}},[t("el-select",{attrs:{placeholder:"请选择证件类型",clearable:"",disabled:e.typeDisabled},model:{value:e.formList.type,callback:function(t){e.$set(e.formList,"type","string"===typeof t?t.trim():t)},expression:"formList.type"}},e._l(e.credentialTypesoptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"证件号码:",prop:"number"}},[t("el-input",{attrs:{"auto-complete":"off",placeholder:"请输入证件号码",clearable:""},model:{value:e.formList.number,callback:function(t){e.$set(e.formList,"number","string"===typeof t?t.trim():t)},expression:"formList.number"}})],1),"PoliceNo"==e.formList.type&&"0601"==e.institutionalCode?t("span",{staticClass:"tipspoliceNo"},[e._v('请以"BJRK"开头加上编号,如:BJRK20231205')]):e._e()],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)},s=[],r=(A("d9e2"),A("2ef0")),i=A.n(r),o=A("fb36"),l=A("821e");function n(e,t,A){setTimeout(()=>{/^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(t)?A():A(new Error("请输入正确的手机号"))},500)}var c={inject:["permissions"],computed:{permissionsStr(){return this.permissions()}},props:["showdialog","deptDataList"],watch:{showdialog(){if(this.dialogFormVisible=this.showdialog,this.defaulDataParent=[],this.showdialog){let e=new Date,t=e.getFullYear(),A=e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,a=e.getDate()<10?"0"+e.getDate():e.getDate(),s=t+"-"+A+"-"+a;console.log(s),this.$nextTick(()=>{this.$set(this.formList,"hiredDate",s),console.log(this.permissionsStr),this.permissionsStr&&this.permissionsStr.indexOf("hiredDatedLimited")>-1?this.disabledhiredDate=!0:this.disabledhiredDate=!1})}},"formList.departId"(){this.formList.departId&&this.$refs.ruleForm.clearValidate(["departId"])},"formList.number"(){this.$nextTick(()=>{this.formList.number=this.formList.number&&this.formList.number.toUpperCase()})},"formList.position"(){this.$nextTick(()=>{console.log(this.formList.position),"社会力量"==this.formList.position?this.formList.type="IdCard":"民警"==this.formList.position&&(this.formList.type="PoliceNo")})},deptDataList(e){this.getTreeDepartlist=e}},components:{selectTree:o["a"]},data(){return{title:"添加"+$SuperviseStr.employee,dialogFormVisible:this.showdialog,OperType:0,formList:{name:"",telephone:"",departId:"",occupationType:"",hiredDate:"",type:"",number:"",position:""},rules:{name:[{required:!0,message:"请输入姓名",trigger:"blur"}],telephone:[{required:!0,message:"请输入手机号",trigger:"blur"},{validator:n,trigger:"blur"}],departId:[{required:!0,message:"请选择所属"+$SuperviseStr.depart,trigger:"blur"}],occupationType:[{required:!0,message:"请选择职业类型",trigger:"change"}],hiredDate:[{required:!0,message:"请选择入职日期",trigger:"blur"}],type:[{required:!0,message:"请选择证件类型",trigger:"change"}],number:[{required:!0,message:"请输入证件号码",trigger:"blur"}],position:[{required:!0,message:"请选择",trigger:"blur"}]},defaulDataParent:"",defaulData:[],occupationTypeArr:[],departlabel:`所属${$SuperviseStr.depart}:`,getTreeDepartlist:[],homeTemplateBoradType:localStorage.getItem("homeTemplateBoradType")||"",tellable:"手机号:",disabledhiredDate:!1,credentialTypesoptions:[{value:"IdCard",label:"居民身份证/户口簿"},{value:"IdCardOfXiangGang",label:"香港特区护照/身份证明"},{value:"IdCardOfAoMen",label:"澳门特区护照/身份证明"},{value:"IdCardOfTaiwan",label:"台湾居民来往大陆通行证"},{value:"Passport",label:"外国护照"},{value:"Arms",label:"退伍军人证"},{value:"PoliceNo",label:"警号"}],credentialTypesoptions_Inst:[{value:"IdCard",label:"居民身份证/户口簿"},{value:"IdCardOfXiangGang",label:"香港特区护照/身份证明"},{value:"IdCardOfAoMen",label:"澳门特区护照/身份证明"},{value:"IdCardOfTaiwan",label:"台湾居民来往大陆通行证"},{value:"Passport",label:"外国护照"}],institutionalCode:localStorage.getItem("institutionalCode")||"",positionArr:[],occupationTypeDisabled:!1,typeDisabled:!1}},mounted(){"rtpayTemplate"==this.homeTemplateBoradType?(this.occupationTypeArr=[{label:"一般职员",value:"Normal"}],this.tellable="账号:",this.rules.telephone[0].message="请输入账号",this.rules.telephone[1].validator="",this.rules.type[0].required=!1,this.rules.number[0].required=!1):localStorage.getItem("appidSupervise")&&"__d1qEDy3wYq8VF5KvUoE"==JSON.parse(localStorage.getItem("appidSupervise")).appId?(this.occupationTypeArr=[{label:"一般职员",value:"Normal"},{label:"保安员",value:"SecurityGuard"},{label:"警官",value:"Police"}],this.tellable="手机号:",this.rules.telephone[0].message="请输入手机号"):this.occupationTypeArr=[{label:"一般职员",value:"Normal"},{label:"保安员",value:"SecurityGuard"}],this.EnvFlag()},methods:{EnvFlag(){switch(this.institutionalCode){case"0102":this.credentialTypesoptions=this.credentialTypesoptions_Inst;break;case"0103":this.credentialTypesoptions=this.credentialTypesoptions_Inst;break;case"0104":this.credentialTypesoptions=this.credentialTypesoptions_Inst;break;case"0601":this.occupationTypeDisabled=!0,this.formList.occupationType="Normal",this.typeDisabled=!0,this.positionArr=[{value:"社会力量",label:"社会力量"},{value:"民警",label:"民警"}];break;default:this.institutionalCode.startsWith("04")?(this.occupationTypeDisabled=!0,this.formList.occupationType="Normal",this.typeDisabled=!0,this.positionArr=[{value:"保卫管理员",label:"保卫管理员"}],this.formList.position="保卫管理员",this.formList.type="IdCard"):this.institutionalCode.startsWith("02")?(this.occupationTypeDisabled=!0,this.formList.occupationType="Normal"):this.institutionalCode.startsWith("07")?(this.occupationTypeDisabled=!0,this.formList.occupationType="Normal",this.typeDisabled=!0,this.positionArr=[{value:"保卫管理员",label:"保卫管理员"}],this.formList.position="保卫管理员",this.formList.type="IdCard"):(this.institutionalCode.endsWith("07")||this.institutionalCode.endsWith("08")||this.institutionalCode.endsWith("09"))&&(this.occupationTypeDisabled=!0,this.formList.occupationType="Normal",this.typeDisabled=!0,this.formList.type="PoliceNo")}},selectClickT(e){this.getTreeDepartlist=e},getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.formList=A,this.OperType=t,this.getTreeData(this.getTreeDepartlist)},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"departId",e),console.log(this.formList.departId)},checkChange(e,t){},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},submitForm:i.a.debounce((function(){let e={number:this.formList.number,type:this.formList.type};this.$set(this.formList,"credential",e);let t={domainId:this.$route.query.domainId};this.$refs.ruleForm.validate(e=>{if(!e)return!1;Object(l["g"])(this.formList,t).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}}).catch(e=>{console.log("errorerrorerrorerror",e),1000601==e.code?this.$confirm("该人员为从业异常人员,是否确认录用!","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.formList.abnormalPersonnelConfirm=!0,Object(l["g"])(this.formList,t).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})}):1000602==e.code&&this.$confirm("该人员不符合担任保安员,无法录入系统!","提示",{cancelButtonText:"取消",type:"warning",showCancelButton:!0,showConfirmButton:!1})})})}),1e3,{leading:!0,trailing:!1}),cancelForm(){this.$emit("update:showdialog",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},d=c,p=(A("eb29"),A("2877")),h=Object(p["a"])(d,a,s,!1,null,null,null);t["default"]=h.exports},a5c0:function(e,t,A){"use strict";A("1ae8")},a640:function(e,t,A){"use strict";var a=A("d039");e.exports=function(e,t){var A=[][e];return!!A&&a((function(){A.call(null,t||function(){return 1},1)}))}},a6c7:function(e,t,A){"use strict";A("a990")},a990:function(e,t,A){},ab36:function(e,t,A){"use strict";var a=A("861d"),s=A("9112");e.exports=function(e,t){a(t)&&"cause"in t&&s(e,"cause",t.cause)}},ab9a:function(e,t,A){"use strict";A("23ed")},abf3:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"200px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[0==this.OperType?t("el-form-item",{attrs:{label:"选择用户:",prop:"employeeIds"}},[t("el-select",{attrs:{filterable:"","filter-method":e.filterMethod,"collapse-tags":"",multiple:"",placeholder:"请选择"},model:{value:e.formList.employeeIds,callback:function(t){e.$set(e.formList,"employeeIds",t)},expression:"formList.employeeIds"}},e._l(e.tableDataEmployee,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name+" ("+e.telephone+")",value:e.id}})})),1)],1):t("el-form-item",{attrs:{label:"用户:",prop:""}},[t("span",[e._v(e._s(e.formList.name))])])],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.departlabel,prop:"departIds"}},[t("selectTree",{ref:"selectTree",attrs:{curValue:e.defaulData,data:e.getTreeDepartlist,defaulexpand:!1,defaultKey:e.defaultExpandedKeys,obj:{id:"id",label:"name",children:"children"},checkStrictly:!0,clearable:"",filterable:"",multiple:"",collapseTags:"",notParentcheckStrictlyChildcheckStrictly:e.notParentcheckStrictlyChildcheckStrictly},on:{getValue:e.checkChange,loadingTreeDataEventHandler:e.loadingDepartTreeDataEventHandler}})],1)],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)},s=[],r=(A("14d9"),A("fb36")),i=A("821e"),o={emits:["loadingDepartTreeDataEventHandler"],props:{showdialog:{type:Boolean,default:!1},getTreeDepartlist:{type:Array,default(){return[]}}},watch:{showdialog(){this.dialogFormVisible=this.showdialog},"formList.employeeIds"(){this.formList.employeeIds&&this.$refs.ruleForm.clearValidate(["employeeIds"])},"formList.departIds"(){this.formList.departIds&&this.$refs.ruleForm.clearValidate(["departIds"])}},components:{selectTree:r["a"]},data(){return{title:"",dialogFormVisible:this.showdialog,OperType:0,formList:{},params:{pageIndex:1,pageSize:10,keyword:"",total:0},rules:{employeeIds:[{required:!0,message:"请选择选择用户",trigger:"blur"}],departIds:[{required:!0,message:"请选择要设置的"+$SuperviseStr.depart,trigger:"blur"}]},defaulDataParent:"",defaulData:[],parentIdShow:!0,tableDataEmployee:[],departlabel:`要设置的${$SuperviseStr.depart}:`,notParentcheckStrictlyChildcheckStrictly:1,defaulDataArr:[],loadedEmployeeIds:{}}},computed:{defaultExpandedKeys:function(){var e=this.getTreeDepartlist;return(null===e||void 0===e?void 0:e.length)>0?[e[0].id]:[]}},methods:{loadingDepartTreeDataEventHandler:function(e){this.$emit("loadingDepartTreeDataEventHandler",e)},selectClickT(e){console.log("当前的事件为:"),console.log(e),this.getTreeDepartlist=e},sortTableData(e){e.length&&e.forEach(e=>{e.displayOrderNumber=e.displayOrder,e.children.length&&this.sortTableData(e.children)})},getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.formList=A,this.OperType=t,0==this.OperType?(this.title="添加",this.defaulData=[]):this.title="编辑",this.employeeTableList(),this.getTreeData(this.getTreeDepartlist)},checkChangeParent(e,t){},checkChange(e,t){console.log(e),console.log(t),this.$set(this.formList,"departIds",e)},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)}),1==this.OperType&&this.getEmployeeIddepartAdmins()},employeeTableList(){let e={domainId:this.$route.query.domainId};Object(i["mb"])(this.params,e).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},filterMethod(e){this.params.keyword=e;let t={domainId:this.$route.query.domainId};Object(i["mb"])(this.params,t).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},getEmployeeIddepartAdmins(){var e=this;if(e.loadedEmployeeIds[e.formList.employeeId])console.log("调用getEmployeeIddepartAdmins..."+e.loadedEmployeeIds);else{e.loadedEmployeeIds[e.formList.employeeId]=!0;let t={domainId:this.$route.query.domainId};Object(i["Ab"])(e.formList,t).then(e=>{200==e.status&&(this.defaulDataArr=[],e.data&&e.data.forEach(e=>{this.defaulDataArr.push(e.departId),this.getChildrenDepartId(e,this.getTreeDepartlist)}),this.$nextTick(()=>{let e=[...new Set(this.defaulDataArr)];this.defaulData=e,console.log("在next这边输出--curValue")}))})}},getChildrenDepartId(e,t){Array.isArray(t)&&t.forEach(t=>{this.defaulDataArr.indexOf(t.parentId)>-1&&this.defaulDataArr.push(t.id),this.getChildrenDepartId(e,t.children)})},submitForm(){let e={domainId:this.$route.query.domainId};this.OperType,this.$refs.ruleForm.validate(t=>{if(!t)return!1;0==this.OperType?Object(i["c"])(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}}):Object(i["p"])(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})})},cancelForm(){this.$emit("update:showdialog",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},l=o,n=(A("b07e"),A("2877")),c=Object(n["a"])(l,a,s,!1,null,null,null);t["default"]=c.exports},ac5d:function(e,t,A){"use strict";A.r(t);var a,s,r=A("2877"),i={},o=Object(r["a"])(i,a,s,!1,null,null,null);t["default"]=o.exports},acdc:function(e,t,A){"use strict";A("d2bd")},aceb:function(e,t,A){"use strict";A("efb5")},ad6d:function(e,t,A){"use strict";var a=A("825a");e.exports=function(){var e=a(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},adfb:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:e.emplyeeTitle,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"90px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",[t("div",{staticClass:"ExportEmployeeDiv"},[t("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")]),t("div",{staticStyle:{margin:"10px 0"}}),t("el-checkbox-group",{on:{change:e.handleCheckedCitiesChange},model:{value:e.checkedCities,callback:function(t){e.checkedCities=t},expression:"checkedCities"}},e._l(e.cities,(function(A,a){return t("el-checkbox",{key:a,attrs:{label:A.key}},[e._v(e._s(A.name))])})),1)],1)])],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("导 出")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)},s=[],r=(A("14d9"),A("88a7"),A("271a"),A("5494"),A("fb36")),i=A("821e"),o=(A("01ea"),[]),l={props:["showdialogExport","getTreeDepartlist"],watch:{showdialogExport(){this.dialogFormVisible=this.showdialogExport,this.path="",this.disabled=!0,this.resultShow=!1,this.formList.downloadUrl=""}},components:{selectTree:r["a"]},data(){return{title:"",dialogFormVisible:this.showdialogExport,OperType:0,formList:{},rules:{},path:"",disabled:!0,resultShow:!1,emplyeeTitle:"导出"+$SuperviseStr.employee,homeTemplateBoradType:localStorage.getItem("homeTemplateBoradType")||"",checkAll:!1,checkedCities:[],cities:o,isIndeterminate:!0,institutionalCode:localStorage.getItem("institutionalCode")||""}},methods:{getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.formList=A,this.OperType=t,console.log(this.formList),this.checkAll=!1,this.checkedCities=[],this.isIndeterminate=!1,0==this.OperType&&this.getExportColumns()},getExportColumns(){o=[];let e={domainId:this.$route.query.domainId};Object(i["Bb"])(e).then(e=>{if(e.data){if(console.log(e.data),"rtpayTemplate"==this.homeTemplateBoradType){let t=e.data;t=t.filter(e=>{let t="证件核验状态,实名认证状态,是否有保安资格证,保安资格证号,是否投保";return-1==t.indexOf(e.name)}),this.cities=t}else if(localStorage.getItem("appidSupervise")&&"__d1qEDy3wYq8VF5KvUoE"==JSON.parse(localStorage.getItem("appidSupervise")).appId){let t=e.data;t=t.filter(e=>{let t="证件核验状态,实名认证状态,是否签订合同,是否有保安资格证,保安资格证号,是否投保";return-1==t.indexOf(e.name)}),this.cities=t}else if("0601"==this.institutionalCode){let t=e.data;t=t.filter(e=>{let t="实名认证状态,认证失败原因,转正日期,是否签订合同,是否有保安资格证,保安资格证号,是否有等级证,等级证等级,等级证编号,是否投保,员工状态,试用期,原定转正日期";return-1==t.indexOf(e.name)}),this.cities=t}else if(this.institutionalCode&&this.institutionalCode.startsWith("04")){let t=e.data;t=t.filter(e=>{let t="实名认证状态,认证失败原因,转正日期,是否签订合同,是否有保安资格证,保安资格证号,是否有等级证,等级证等级,等级证编号,是否投保,员工状态,试用期,原定转正日期";return-1==t.indexOf(e.name)}),this.cities=t}else if(this.institutionalCode&&this.institutionalCode.startsWith("07")){let t=e.data;t=t.filter(e=>{let t="实名认证状态,认证失败原因,转正日期,是否签订合同,是否有保安资格证,保安资格证号,是否有等级证,等级证等级,等级证编号,是否投保,员工状态,试用期,原定转正日期";return-1==t.indexOf(e.name)}),this.cities=t}else if(this.institutionalCode&&this.institutionalCode.endsWith("07")||this.institutionalCode&&this.institutionalCode.endsWith("08")||this.institutionalCode&&this.institutionalCode.endsWith("09")){let t=e.data;t=t.filter(e=>{let t="姓名,手机号码,证件类型,证件号码,年龄,所属部门,职业类型,性别,出生日期,民族,文化程度,政治面貌,户籍类型,身高,籍贯,兵役情况,婚姻状况,身份证有效期,身份证住址";return t.indexOf(e.name)>-1}),this.cities=t}else this.cities=e.data;this.cities.forEach(e=>{o.push(e.key)}),console.log(o)}})},handleCheckAllChange(e){console.log(e),this.checkedCities=e?o:[],this.isIndeterminate=!1,console.log(o),this.$set(this.formList,"columns",o)},handleCheckedCitiesChange(e){console.log(e),this.$set(this.formList,"columns",e);let t=e.length;this.checkAll=t===this.cities.length,this.isIndeterminate=t>0&&t{if(!t)return!1;Object(i["tb"])(this.formList,e).then(e=>{const t=e,A=new Blob([t]);let a=localStorage.getItem("domainName")||"";const s=`在职${$SuperviseStr.employee}_${a}.xls`;if("download"in document.createElement("a")){const e=document.createElement("a");e.download=s,e.style.display="none",e.href=URL.createObjectURL(A),document.body.appendChild(e),e.click(),URL.revokeObjectURL(e.href),document.body.removeChild(e)}else navigator.msSaveBlob(A,s)})})},cancelForm(){this.$emit("update:showdialogExport",!1),this.path&&this.$emit("refurlist",{}),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},n=l,c=(A("b839"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},aeb0:function(e,t,A){"use strict";var a=A("9bf2").f;e.exports=function(e,t,A){A in e||a(e,A,{configurable:!0,get:function(){return t[A]},set:function(e){t[A]=e}})}},aeef:function(e,t,A){},af45:function(e,t,A){"use strict";A("d12a")},b07e:function(e,t,A){"use strict";A("9114")},b09d:function(e,t,A){},b0fe:function(e,t,A){e.exports=A.p+"static/img/404.6a6ee952.png"},b13e:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single el-dialog-contract",attrs:{title:e.title,visible:e.show,width:"965px","append-to-body":"","destroy-on-close":"","close-on-click-modal":!1},on:{close:e.close}},[t("div",{staticClass:"detail-wrap"},[t("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[t("el-tab-pane",{attrs:{label:"功能权限",name:"first"}}),t("el-tab-pane",{attrs:{label:"已有角色",name:"second"}}),t("el-tab-pane",{attrs:{label:"已有应用",name:"fourth"}})],1),t("div",[t("PlatformFunction",{directives:[{name:"show",rawName:"v-show",value:"first"===e.activeName,expression:"activeName === 'first'"}],attrs:{currentUser:e.currentRow}}),t("el-table",{directives:[{name:"show",rawName:"v-show",value:"second"===e.activeName,expression:"activeName === 'second'"}],ref:"bcxtable",staticStyle:{width:"100%"},attrs:{data:e.tableData,border:""}},[t("el-table-column",{attrs:{prop:"roleName",label:"角色名称"}}),t("el-table-column",{attrs:{prop:"remark",label:"角色说明"}})],1),t("div",{directives:[{name:"show",rawName:"v-show",value:"fourth"===e.activeName,expression:"activeName === 'fourth'"}]},[t("div",{staticClass:"all-checked"},[e._v("用户已授权的应用")]),t("div",{staticClass:"checked-list",staticStyle:{overflow:"scroll",height:"50vh"}},e._l(e.fourthAuthList,(function(A){return A.children&&A.children.find(e=>e.checked)?t("div",{key:A.appId},[t("div",{staticClass:"checked-title"},[e._v(" "+e._s(A.category)+" ")]),t("div",{staticClass:"allcheckbox"},e._l(A.children,(function(A){return 0!==A.checked?t("div",{key:A.appId,staticClass:"checkbox-img",staticStyle:{display:"flex","align-items":"center"}},[t("img",{attrs:{width:"35",src:A.appLogo}}),t("div",{staticClass:"app-label"},[e._v(e._s(A.appName))])]):e._e()})),0)]):e._e()})),0)])],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{on:{click:function(t){return e.close()}}},[e._v("返回")])],1)])},s=[],r=(A("2ef0"),A("ebed")),i=A("821e"),o={components:{PlatformFunction:r["default"]},data(){return{title:"用户授权详情",activeName:"first",show:!1,tableData:[],authList:[],fourthAuthList:[],currentRow:{}}},mounted(){},methods:{open(e){this.show=!0,setTimeout(()=>{this.currentRow={employeeIds:[e.employeeId],searchType:2},this.getPermitAppEmployeeList(e)})},close(){this.show=!1},getPermitAppEmployeeList(e){Object(i["Db"])({employeeId:e.employeeId,searchType:2}).then(e=>{e.data&&(this.fourthAuthList=e.data)}),Object(i["Eb"])({employeeId:e.employeeId},localStorage.domainId).then(e=>{e.data&&(this.tableData=e.data)})}}},l=o,n=(A("752a"),A("2877")),c=Object(n["a"])(l,a,s,!1,null,null,null);t["default"]=c.exports},b311:function(e,t,A){ /*! * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */ (function(t,A){e.exports=A()})(0,(function(){return function(){var e={686:function(e,t,A){"use strict";A.d(t,{default:function(){return L}});var a=A(279),s=A.n(a),r=A(370),i=A.n(r),o=A(817),l=A.n(o);function n(e){try{return document.execCommand(e)}catch(t){return!1}}var c=function(e){var t=l()(e);return n("cut"),t},d=c;function p(e){var t="rtl"===document.documentElement.getAttribute("dir"),A=document.createElement("textarea");A.style.fontSize="12pt",A.style.border="0",A.style.padding="0",A.style.margin="0",A.style.position="absolute",A.style[t?"right":"left"]="-9999px";var a=window.pageYOffset||document.documentElement.scrollTop;return A.style.top="".concat(a,"px"),A.setAttribute("readonly",""),A.value=e,A}var h=function(e,t){var A=p(e);t.container.appendChild(A);var a=l()(A);return n("copy"),A.remove(),a},u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},A="";return"string"===typeof e?A=h(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null===e||void 0===e?void 0:e.type)?A=h(e.value,t):(A=l()(e),n("copy")),A},m=u;function g(e){return g="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}var f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,A=void 0===t?"copy":t,a=e.container,s=e.target,r=e.text;if("copy"!==A&&"cut"!==A)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==s){if(!s||"object"!==g(s)||1!==s.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===A&&s.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===A&&(s.hasAttribute("readonly")||s.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return r?m(r,{container:a}):s?"cut"===A?d(s):m(s,{container:a}):void 0},w=f;function B(e){return B="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},B(e)}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){for(var A=0;A0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"===typeof e.action?e.action:this.defaultAction,this.target="function"===typeof e.target?e.target:this.defaultTarget,this.text="function"===typeof e.text?e.text:this.defaultText,this.container="object"===B(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=i()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,A=this.action(t)||"copy",a=w({action:A,container:this.container,target:this.target(t),text:this.text(t)});this.emit(a?"success":"error",{action:A,text:a,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return T("action",e)}},{key:"defaultTarget",value:function(e){var t=T("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return T("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return m(e,t)}},{key:"cut",value:function(e){return d(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"===typeof e?[e]:e,A=!!document.queryCommandSupported;return t.forEach((function(e){A=A&&!!document.queryCommandSupported(e)})),A}}]),A}(s()),L=x},828:function(e){var t=9;if("undefined"!==typeof Element&&!Element.prototype.matches){var A=Element.prototype;A.matches=A.matchesSelector||A.mozMatchesSelector||A.msMatchesSelector||A.oMatchesSelector||A.webkitMatchesSelector}function a(e,A){while(e&&e.nodeType!==t){if("function"===typeof e.matches&&e.matches(A))return e;e=e.parentNode}}e.exports=a},438:function(e,t,A){var a=A(828);function s(e,t,A,a,s){var r=i.apply(this,arguments);return e.addEventListener(A,r,s),{destroy:function(){e.removeEventListener(A,r,s)}}}function r(e,t,A,a,r){return"function"===typeof e.addEventListener?s.apply(null,arguments):"function"===typeof A?s.bind(null,document).apply(null,arguments):("string"===typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return s(e,t,A,a,r)})))}function i(e,t,A,s){return function(A){A.delegateTarget=a(A.target,t),A.delegateTarget&&s.call(e,A)}}e.exports=r},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var A=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===A||"[object HTMLCollection]"===A)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"===typeof e||e instanceof String},t.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},370:function(e,t,A){var a=A(879),s=A(438);function r(e,t,A){if(!e&&!t&&!A)throw new Error("Missing required arguments");if(!a.string(t))throw new TypeError("Second argument must be a String");if(!a.fn(A))throw new TypeError("Third argument must be a Function");if(a.node(e))return i(e,t,A);if(a.nodeList(e))return o(e,t,A);if(a.string(e))return l(e,t,A);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function i(e,t,A){return e.addEventListener(t,A),{destroy:function(){e.removeEventListener(t,A)}}}function o(e,t,A){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,A)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,A)}))}}}function l(e,t,A){return s(document.body,e,t,A)}e.exports=r},817:function(e){function t(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var A=e.hasAttribute("readonly");A||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),A||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var a=window.getSelection(),s=document.createRange();s.selectNodeContents(e),a.removeAllRanges(),a.addRange(s),t=a.toString()}return t}e.exports=t},279:function(e){function t(){}t.prototype={on:function(e,t,A){var a=this.e||(this.e={});return(a[e]||(a[e]=[])).push({fn:t,ctx:A}),this},once:function(e,t,A){var a=this;function s(){a.off(e,s),t.apply(A,arguments)}return s._=t,this.on(e,s,A)},emit:function(e){var t=[].slice.call(arguments,1),A=((this.e||(this.e={}))[e]||[]).slice(),a=0,s=A.length;for(a;ae.dpVis=!1}},[t("div",{staticStyle:{padding:"30px",height:"25vh"}},[t("selectTree",{ref:"selectTree1",attrs:{placeholder:"请选择部门",curValue:e.cdpDepartIds,data:e.tableData,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",collapseTags:""},on:{getValue:e.cdpCheckChange}})],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.confirmDp}},[e._v("确 定")]),t("el-button",{on:{click:function(t){e.dpVis=!1}}},[e._v("取 消")])],1)]),t("el-dialog",{staticClass:"el-dialog-single",attrs:{title:"确认入职",visible:e.cdm,"modal-append-to-body":!1,"append-to-body":"",width:"25%","before-close":()=>e.cdm=!1}},[t("div",{staticStyle:{padding:"30px"}},[t("section",{staticClass:"TableSelectBox"},[t("span",[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),e._v("当前已选择已选中:"),e._l(e.zmp,(function(A,a){return t("span",{key:a},[e._v("【"+e._s(A.name)+"】 "),a!=e.zmp.length-1?t("b",[e._v(",")]):e._e()])})),t("span",{staticStyle:{color:"red"}},[e._v("("+e._s(e.zmp.length)+")")]),e._v(" 人入职以下部门")],2)]),t("div",{staticStyle:{"margin-top":"16px","font-weight":"bold","text-align":"left"}},[e._v(" "+e._s(e.cdpV.name)+" ")])]),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.confirmsr}},[e._v("确 定")]),t("el-button",{on:{click:()=>e.cdm=!1}},[e._v("取 消")])],1)])],1)},s=[function(){var e=this,t=e._self._c;return t("section",{staticClass:"remarkBox"},[t("div",{staticClass:"remarkInfo"},[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),t("span",[e._v(" 1. 待确认人员为通过“邀请入职”或“邀请驻勤”方式,由人员自行填写信息并提交。 2.您可以对待确认的人员做入职确认,确认入职后该人员将自动完成入职。 ")])])])}],r=A("fb36"),i=A("821e"),o={components:{selectTree:r["a"]},data(){return{cdpDepartIds:"",dpVis:!1,params:{keyword:"",departIds:[],occupationTypes:[],pageIndex:1,pageSize:10},value:"",search:"",expandRow:[],multipleSelection:[],tableData:[],list:[{label:"一般职员",value:"Normal",id:"1"},{label:"保安员",value:"SecurityGuard",id:"2"},{label:"警官",value:"Police",id:"3"}],occupationTypeArr:[{label:"一般职员",value:"Normal"},{label:"保安员",value:"SecurityGuard"}],ids:[],zmp:[],cdm:!1,cdpV:{}}},mounted(){this.getdata(),this.tableDatalist()},watch:{multipleSelection(){this.multipleSelection.length?this.disabled=!1:this.disabled=!0}},methods:{confirmDp(){console.log(this.cdpDepartIds),0!=this.cdpDepartIds.length?this.cdm=!0:this.$message({type:"error",message:"请先选择部门"})},confirmsr(){this.$confirm("确认入职后人员将自动完成入职,是否继续操作","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(i["Lb"])({ids:this.zmp.map(e=>e.id),invitedStatus:"Agree",departId:this.cdpDepartIds}).then(e=>{console.log("getruzhiqueren11",e),200==e.status&&(this.$message({type:"success",message:"操作成功"}),this.getdata(),this.cdpV={},this.dpVis=!1,this.cdm=!1,this.zmp=[])})}).catch(e=>{console.log("getruzhiqueren11",e)})},handleCurrentChange(e){this.params.pageIndex=e,this.getdata()},handleSizeChange(e){this.params.pageIndex=1,this.params.pageSize=e,this.getdata()},query(){this.getdata()},reset(){this.$refs["ruleForm"].resetFields()},checkChange(e,t){this.$set(this.params,"departIds",e),this.defaulData=this.params.departIds},cdpCheckChange(e,t){this.cdpDepartIds=e,this.cdpV=t,console.log(t)},getdata(){Object(i["Kb"])(this.params).then(e=>{200==e.status&&(this.params.total=e.data.total,this.list=e.data.data)})},tableDatalist(){let e={domainId:this.$route.query.domainId};Object(i["w"])(e).then(e=>{e.data&&(this.tableData=e.data)})},changeoccupationTypes(){this.$nextTick(()=>{this.$forceUpdate()})},handleSelectionChange(e){this.multipleSelection=e},handleSelectionAllChange(e,t){t||(this.isAllSelect=!this.isAllSelect),e.map(e=>{e.children&&(e.children.map(e=>{this.toggleSelection(e,this.isAllSelect)}),e.children.length>0&&this.handleSelectionAllChange(e.children,!0))})},preBt(){if(0==this.multipleSelection.length)return void this.$message({type:"error",message:"请先勾选项目"});console.log(this.list,this.multipleSelection);const e=this.multipleSelection.filter(e=>"政务网申报"===e.invitedType),t=this.multipleSelection.filter(e=>"政务网申报"!=e.invitedType);if(!e.length||!t.length)return e.length?(this.zmp=[...e],this.dpVis=!0):void(t.length&&this.batch(1));this.$message({type:"error",message:"您选择了多条数据中邀请类型,请重新选择"})},batch(e){0!=this.multipleSelection.length?(this.ids=this.multipleSelection.map(e=>e.id),this.do(e)):this.$message({type:"error",message:"请先勾选项目"})},editDept(e,t){if(this.ids=[e.id],"政务网申报"===e.invitedType&&1===t)return this.zmp=[{...e}],this.dpVis=!0;this.do(t)},do(e){let t="",A="";1==e?(t="确认入职后人员将自动完成入职,是否继续操作",A="Agree"):(t="拒绝入职后人员将清除该记录,是否继续操作",A="Refuse");let a={ids:this.ids,invitedStatus:A};this.$confirm(t,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(i["Lb"])(a).then(e=>{console.log("getruzhiqueren22",e),200==e.status&&(this.$message({type:"success",message:"操作成功"}),this.getdata())}).catch(e=>{if(console.log("getruzhiqueren22",e.data),1000600==e.code&&e.data.length>0){let t=e.data.find(e=>1000601==e.code),a=e.data.find(e=>1000602==e.code);if(t||a){console.log("err1err1err1err1err1err1err1err1err1err1err1",t,a);let e=this.list.filter(e=>null===t||void 0===t?void 0:t.ids.includes(e.id)).map(e=>e.name),s=this.list.filter(e=>null===a||void 0===a?void 0:a.ids.includes(e.id)).map(e=>e.name);console.log("errPerSons",e,s);let r=(null===t||void 0===t?void 0:t.ids.length)>0?`${e.join(",")}为从业异常人员,是否确认录用!`:"",o=(null===a||void 0===a?void 0:a.ids.length)>0?`${s.join(",")}不符合担任保安员,无法录入系统!`:"";this.$confirm(`${o}
${r}`,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",showConfirmButton:!!r,dangerouslyUseHTMLString:!0}).then(()=>{if(console.log("thenthen",r,o),r||!o)if(r&&!o){let e={ids:this.ids,invitedStatus:A,abnormalPersonnelConfirm:!0};Object(i["Lb"])(e).then(e=>{200==e.status&&(this.$message({type:"success",message:"操作成功"}),this.getdata())})}else if(r&&o){let e={ids:this.ids.filter(e=>-1==(null===a||void 0===a?void 0:a.ids.indexOf(e))),invitedStatus:A,abnormalPersonnelConfirm:!0};Object(i["Lb"])(e).then(e=>{200==e.status&&(this.$message({type:"success",message:"操作成功"}),this.getdata())})}})}}})})}}},l=o,n=(A("1bad"),A("2877")),c=Object(n["a"])(l,a,s,!1,null,null,null);t["default"]=c.exports},b431:function(e,t,A){"use strict";A("d377")},b771:function(e,t,A){},b776:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("section",{staticClass:"staffBoxFlex"},[e._m(0),t("div",{staticClass:"staffContext staffContract"},[t("section",{staticClass:"contentBox"},[t("el-table",{ref:"districtTable",attrs:{data:e.tableData,"max-height":"500","default-expand-all":"","row-key":"id"}},[t("el-table-column",{attrs:{type:"index",width:"50"}}),e._l(e.tableColumn,(function(A,a){return A.show?t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label,width:A.width},scopedSlots:e._u([{key:"default",fn:function(a){return["fileUrl"==A.prop?[t("el-link",{attrs:{type:"primary"},on:{click:function(t){return e.viewReport(a.row)}}},[e._v(" 查看 ")])]:[t("span",[e._v(e._s(a.row[A.prop]))])]]}}],null,!0)}):e._e()}))],2),t("pages",{attrs:{total:e.params.total,currentPage:e.params.pageIndex,pageSize:e.params.pageSize},on:{"update:currentPage":function(t){return e.$set(e.params,"pageIndex",t)},"update:current-page":function(t){return e.$set(e.params,"pageIndex",t)},handleCurrentChangeSub:e.handleCurrentChange,handleSizeChangeSub:e.handleSizeChange}})],1)])])},s=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"staffTitle"},[t("strong",[e._v("心理测评")])])}],r=A("821e"),i={data(){return{params:{pageIndex:1,pageSize:10,ignorePermission:!0,employeeId:"",total:0},tableData:[],tableColumn:[{prop:"projectName",label:"测评项目名称",width:"200",show:!0},{prop:"cpDate",label:"测评日期",width:"180",show:!0},{prop:"fileUrl",label:"测评报告",width:"",show:!0}]}},mounted(){this.params.employeeId=this.$parent.$parent.staffinfo.id,this.List(),console.log("staffinfo",this.$parent.$parent.staffinfo)},methods:{List(){Object(r["Ob"])(this.params.employeeId).then(e=>{e.data&&(this.tableData=e.data,this.params.total=e.data.length)})},handleCurrentChange(e){console.log(e),this.params.pageIndex=e,this.List()},handleSizeChange(e){console.log(e),this.params.pageSize=e,this.List()},viewReport(e){window.open(e.fileUrl,"_blank")}}},o=i,l=(A("6da3"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,null,null);t["default"]=n.exports},b839:function(e,t,A){"use strict";A("d6a2")},b980:function(e,t,A){"use strict";var a=A("d039"),s=A("5c6c");e.exports=!a((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},b9a3:function(e,t,A){},bba2:function(e,t,A){"use strict";A("44dc")},bfea:function(e,t,A){},c0e9:function(e,t,A){ /*! * html2canvas 1.4.1 * Copyright (c) 2022 Niklas von Hertzen * Released under MIT License */ (function(t,A){e.exports=A()})(0,(function(){"use strict"; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var e=function(t,A){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var A in t)Object.prototype.hasOwnProperty.call(t,A)&&(e[A]=t[A])},e(t,A)};function t(t,A){if("function"!==typeof A&&null!==A)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");function a(){this.constructor=t}e(t,A),t.prototype=null===A?Object.create(A):(a.prototype=A.prototype,new a)}var A=function(){return A=Object.assign||function(e){for(var t,A=1,a=arguments.length;A0&&s[s.length-1])&&(6===r[0]||2===r[0])){i=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]=55296&&s<=56319&&A>10),i%1024+56320)),(s+1===A||a.length>16384)&&(r+=String.fromCharCode.apply(String,a),a.length=0)}return r},d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p="undefined"===typeof Uint8Array?[]:new Uint8Array(256),h=0;h>4,c[l++]=(15&a)<<4|s>>2,c[l++]=(3&s)<<6|63&r;return n},w=function(e){for(var t=e.length,A=[],a=0;a>b,F=1<>b,I=Q+U,D=I,T=32,x=D+T,L=65536>>C,k=1<=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>b],t=(t<>b)],t=(t<>C),t=this.index[t],t+=e>>b&E,t=this.index[t],t=(t<R?(s.push(!0),i-=R):s.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return a.push(r),A.push(se);if(i===q||i===Z){if(0===r)return a.push(r),A.push(we);var o=A[r-1];return-1===Me.indexOf(o)?(a.push(a[r-1]),A.push(o)):(a.push(r),A.push(we))}return a.push(r),i===Be?A.push("strict"===t?ne:Fe):i===Te||i===fe?A.push(we):i===xe?e>=131072&&e<=196605||e>=196608&&e<=262141?A.push(Fe):A.push(we):void A.push(i)})),[a,A,s]},je=function(e,t,A,a){var s=a[A];if(Array.isArray(e)?-1!==e.indexOf(s):e===s){var r=A;while(r<=a.length){r++;var i=a[r];if(i===t)return!0;if(i!==Y)break}}if(s===Y){r=A;while(r>0){r--;var o=a[r];if(Array.isArray(e)?-1!==e.indexOf(o):e===o){var l=A;while(l<=a.length){l++;i=a[l];if(i===t)return!0;if(i!==Y)break}}if(o!==Y)break}}return!1},Ge=function(e,t){var A=e;while(A>=0){var a=t[A];if(a!==Y)return a;A--}return 0},qe=function(e,t,A,a,s){if(0===A[a])return Ee;var r=a-1;if(Array.isArray(s)&&!0===s[r])return Ee;var i=r-1,o=r+1,l=t[r],n=i>=0?t[i]:0,c=t[o];if(l===j&&c===G)return Ee;if(-1!==$e.indexOf(l))return ke;if(-1!==$e.indexOf(c))return Ee;if(-1!==Ke.indexOf(c))return Ee;if(Ge(r,t)===X)return _e;if(Oe.get(e[r])===Z)return Ee;if((l===be||l===Ce)&&Oe.get(e[o])===Z)return Ee;if(l===z||c===z)return Ee;if(l===W)return Ee;if(-1===[Y,te,ae].indexOf(l)&&c===W)return Ee;if(-1!==[re,ie,oe,pe,ge].indexOf(c))return Ee;if(Ge(r,t)===ce)return Ee;if(je(de,ce,r,t))return Ee;if(je([re,ie],ne,r,t))return Ee;if(je(ee,ee,r,t))return Ee;if(l===Y)return _e;if(l===de||c===de)return Ee;if(c===se||l===se)return _e;if(-1!==[te,ae,ne].indexOf(c)||l===Ae)return Ee;if(n===Qe&&-1!==Re.indexOf(l))return Ee;if(l===ge&&c===Qe)return Ee;if(c===le)return Ee;if(-1!==He.indexOf(c)&&l===he||-1!==He.indexOf(l)&&c===he)return Ee;if(l===me&&-1!==[Fe,be,Ce].indexOf(c)||-1!==[Fe,be,Ce].indexOf(l)&&c===ue)return Ee;if(-1!==He.indexOf(l)&&-1!==Ne.indexOf(c)||-1!==Ne.indexOf(l)&&-1!==He.indexOf(c))return Ee;if(-1!==[me,ue].indexOf(l)&&(c===he||-1!==[ce,ae].indexOf(c)&&t[o+1]===he)||-1!==[ce,ae].indexOf(l)&&c===he||l===he&&-1!==[he,ge,pe].indexOf(c))return Ee;if(-1!==[he,ge,pe,re,ie].indexOf(c)){var d=r;while(d>=0){var p=t[d];if(p===he)return Ee;if(-1===[ge,pe].indexOf(p))break;d--}}if(-1!==[me,ue].indexOf(c)){d=-1!==[re,ie].indexOf(l)?i:r;while(d>=0){p=t[d];if(p===he)return Ee;if(-1===[ge,pe].indexOf(p))break;d--}}if(Se===l&&-1!==[Se,Ue,ye,ve].indexOf(c)||-1!==[Ue,ye].indexOf(l)&&-1!==[Ue,Ie].indexOf(c)||-1!==[Ie,ve].indexOf(l)&&c===Ie)return Ee;if(-1!==Pe.indexOf(l)&&-1!==[le,ue].indexOf(c)||-1!==Pe.indexOf(c)&&l===me)return Ee;if(-1!==He.indexOf(l)&&-1!==He.indexOf(c))return Ee;if(l===pe&&-1!==He.indexOf(c))return Ee;if(-1!==He.concat(he).indexOf(l)&&c===ce&&-1===Le.indexOf(e[o])||-1!==He.concat(he).indexOf(c)&&l===ie)return Ee;if(l===De&&c===De){var h=A[r],u=1;while(h>0){if(h--,t[h]!==De)break;u++}if(u%2!==0)return Ee}return l===be&&c===Ce?Ee:_e},Je=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var A=Ve(e,t.lineBreak),a=A[0],s=A[1],r=A[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(s=s.map((function(e){return-1!==[he,we,Te].indexOf(e)?Fe:e})));var i="keep-all"===t.wordBreak?r.map((function(t,A){return t&&e[A]>=19968&&e[A]<=40959})):void 0;return[a,s,i]},ze=function(){function e(e,t,A,a){this.codePoints=e,this.required=t===ke,this.start=A,this.end=a}return e.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),Xe=function(e,t){var A=n(e),a=Je(A,t),s=a[0],r=a[1],i=a[2],o=A.length,l=0,c=0;return{next:function(){if(c>=o)return{done:!0,value:null};var e=Ee;while(c=Rt&&e<=57},tA=function(e){return e>=55296&&e<=57343},AA=function(e){return eA(e)||e>=zt&&e<=Wt||e>=Vt&&e<=Gt},aA=function(e){return e>=Vt&&e<=Jt},sA=function(e){return e>=zt&&e<=Zt},rA=function(e){return aA(e)||sA(e)},iA=function(e){return e>=It},oA=function(e){return e===tt||e===st||e===rt},lA=function(e){return rA(e)||iA(e)||e===ut},nA=function(e){return lA(e)||eA(e)||e===mt},cA=function(e){return e>=Ot&&e<=Ht||e===$t||e>=Kt&&e<=Nt||e===Mt},dA=function(e,t){return e===at&&t!==tt},pA=function(e,t,A){return e===mt?lA(t)||dA(t,A):!!lA(e)||!(e!==at||!dA(e,t))},hA=function(e,t,A){return e===xt||e===mt?!!eA(t)||t===_t&&eA(A):eA(e===_t?t:e)},uA=function(e){var t=0,A=1;e[t]!==xt&&e[t]!==mt||(e[t]===mt&&(A=-1),t++);var a=[];while(eA(e[t]))a.push(e[t++]);var s=a.length?parseInt(c.apply(void 0,a),10):0;e[t]===_t&&t++;var r=[];while(eA(e[t]))r.push(e[t++]);var i=r.length,o=i?parseInt(c.apply(void 0,r),10):0;e[t]!==Xt&&e[t]!==jt||t++;var l=1;e[t]!==xt&&e[t]!==mt||(e[t]===mt&&(l=-1),t++);var n=[];while(eA(e[t]))n.push(e[t++]);var d=n.length?parseInt(c.apply(void 0,n),10):0;return A*(s+o*Math.pow(10,-i))*Math.pow(10,l*d)},mA={type:2},gA={type:3},fA={type:4},wA={type:13},BA={type:8},bA={type:21},CA={type:9},yA={type:10},vA={type:11},QA={type:12},FA={type:14},SA={type:23},UA={type:1},IA={type:25},DA={type:24},TA={type:26},xA={type:27},LA={type:28},kA={type:29},EA={type:31},_A={type:32},OA=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(n(e))},e.prototype.read=function(){var e=[],t=this.consumeToken();while(t!==_A)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case it:return this.consumeStringToken(it);case lt:var t=this.peekCodePoint(0),A=this.peekCodePoint(1),a=this.peekCodePoint(2);if(nA(t)||dA(A,a)){var s=pA(t,A,a)?Ye:We,r=this.consumeName();return{type:5,value:r,flags:s}}break;case nt:if(this.peekCodePoint(0)===ot)return this.consumeCodePoint(),wA;break;case dt:return this.consumeStringToken(dt);case pt:return mA;case ht:return gA;case Tt:if(this.peekCodePoint(0)===ot)return this.consumeCodePoint(),FA;break;case xt:if(hA(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Lt:return fA;case mt:var i=e,o=this.peekCodePoint(0),l=this.peekCodePoint(1);if(hA(i,o,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(pA(i,o,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(o===mt&&l===wt)return this.consumeCodePoint(),this.consumeCodePoint(),DA;break;case _t:if(hA(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case At:if(this.peekCodePoint(0)===Tt){this.consumeCodePoint();while(1){var n=this.consumeCodePoint();if(n===Tt&&(n=this.consumeCodePoint(),n===At))return this.consumeToken();if(n===Pt)return this.consumeToken()}}break;case kt:return TA;case Et:return xA;case ft:if(this.peekCodePoint(0)===gt&&this.peekCodePoint(1)===mt&&this.peekCodePoint(2)===mt)return this.consumeCodePoint(),this.consumeCodePoint(),IA;break;case Bt:var d=this.peekCodePoint(0),p=this.peekCodePoint(1),h=this.peekCodePoint(2);if(pA(d,p,h)){r=this.consumeName();return{type:7,value:r}}break;case bt:return LA;case at:if(dA(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case Ct:return kA;case yt:if(this.peekCodePoint(0)===ot)return this.consumeCodePoint(),BA;break;case vt:return vA;case Ft:return QA;case qt:case Yt:var u=this.peekCodePoint(0),m=this.peekCodePoint(1);return u!==xt||!AA(m)&&m!==Qt||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case St:if(this.peekCodePoint(0)===ot)return this.consumeCodePoint(),CA;if(this.peekCodePoint(0)===St)return this.consumeCodePoint(),bA;break;case Ut:if(this.peekCodePoint(0)===ot)return this.consumeCodePoint(),yA;break;case Pt:return _A}return oA(e)?(this.consumeWhiteSpace(),EA):eA(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):lA(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:c(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return"undefined"===typeof e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){var e=[],t=this.consumeCodePoint();while(AA(t)&&e.length<6)e.push(t),t=this.consumeCodePoint();var A=!1;while(t===Qt&&e.length<6)e.push(t),t=this.consumeCodePoint(),A=!0;if(A){var a=parseInt(c.apply(void 0,e.map((function(e){return e===Qt?Rt:e}))),16),s=parseInt(c.apply(void 0,e.map((function(e){return e===Qt?Wt:e}))),16);return{type:30,start:a,end:s}}var r=parseInt(c.apply(void 0,e),16);if(this.peekCodePoint(0)===mt&&AA(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();var i=[];while(AA(t)&&i.length<6)i.push(t),t=this.consumeCodePoint();s=parseInt(c.apply(void 0,i),16);return{type:30,start:r,end:s}}return{type:30,start:r,end:r}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&this.peekCodePoint(0)===pt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===pt?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Pt)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===dt||t===it){var A=this.consumeStringToken(this.consumeCodePoint());return 0===A.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Pt||this.peekCodePoint(0)===ht)?(this.consumeCodePoint(),{type:22,value:A.value}):(this.consumeBadUrlRemnants(),SA)}while(1){var a=this.consumeCodePoint();if(a===Pt||a===ht)return{type:22,value:c.apply(void 0,e)};if(oA(a))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Pt||this.peekCodePoint(0)===ht?(this.consumeCodePoint(),{type:22,value:c.apply(void 0,e)}):(this.consumeBadUrlRemnants(),SA);if(a===it||a===dt||a===pt||cA(a))return this.consumeBadUrlRemnants(),SA;if(a===at){if(!dA(a,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),SA;e.push(this.consumeEscapedCodePoint())}else e.push(a)}},e.prototype.consumeWhiteSpace=function(){while(oA(this.peekCodePoint(0)))this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){while(1){var e=this.consumeCodePoint();if(e===ht||e===Pt)return;dA(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){var t=5e4,A="";while(e>0){var a=Math.min(t,e);A+=c.apply(void 0,this._value.splice(0,a)),e-=a}return this._value.shift(),A},e.prototype.consumeStringToken=function(e){var t="",A=0;do{var a=this._value[A];if(a===Pt||void 0===a||a===e)return t+=this.consumeStringSlice(A),{type:0,value:t};if(a===tt)return this._value.splice(0,A),UA;if(a===at){var s=this._value[A+1];s!==Pt&&void 0!==s&&(s===tt?(t+=this.consumeStringSlice(A),A=-1,this._value.shift()):dA(a,s)&&(t+=this.consumeStringSlice(A),t+=c(this.consumeEscapedCodePoint()),A=-1))}A++}while(1)},e.prototype.consumeNumber=function(){var e=[],t=Ze,A=this.peekCodePoint(0);A!==xt&&A!==mt||e.push(this.consumeCodePoint());while(eA(this.peekCodePoint(0)))e.push(this.consumeCodePoint());A=this.peekCodePoint(0);var a=this.peekCodePoint(1);if(A===_t&&eA(a)){e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=et;while(eA(this.peekCodePoint(0)))e.push(this.consumeCodePoint())}A=this.peekCodePoint(0),a=this.peekCodePoint(1);var s=this.peekCodePoint(2);if((A===Xt||A===jt)&&((a===xt||a===mt)&&eA(s)||eA(a))){e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=et;while(eA(this.peekCodePoint(0)))e.push(this.consumeCodePoint())}return[uA(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],A=e[1],a=this.peekCodePoint(0),s=this.peekCodePoint(1),r=this.peekCodePoint(2);if(pA(a,s,r)){var i=this.consumeName();return{type:15,number:t,flags:A,unit:i}}return a===ct?(this.consumeCodePoint(),{type:16,number:t,flags:A}):{type:17,number:t,flags:A}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(AA(e)){var t=c(e);while(AA(this.peekCodePoint(0))&&t.length<6)t+=c(this.consumeCodePoint());oA(this.peekCodePoint(0))&&this.consumeCodePoint();var A=parseInt(t,16);return 0===A||tA(A)||A>1114111?Dt:A}return e===Pt?Dt:e},e.prototype.consumeName=function(){var e="";while(1){var t=this.consumeCodePoint();if(nA(t))e+=c(t);else{if(!dA(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=c(this.consumeEscapedCodePoint())}}},e}(),HA=function(){function e(e){this._tokens=e}return e.create=function(t){var A=new OA;return A.write(t),new e(A.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){var e=this.consumeToken();while(31===e.type)e=this.consumeToken();if(32===e.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){var e=[];while(1){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){var t={type:e,values:[]},A=this.consumeToken();while(1){if(32===A.type||GA(A,e))return t;this.reconsumeToken(A),t.values.push(this.consumeComponentValue()),A=this.consumeToken()}},e.prototype.consumeFunction=function(e){var t={name:e.value,values:[],type:18};while(1){var A=this.consumeToken();if(32===A.type||3===A.type)return t;this.reconsumeToken(A),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return"undefined"===typeof e?_A:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),$A=function(e){return 15===e.type},KA=function(e){return 17===e.type},NA=function(e){return 20===e.type},MA=function(e){return 0===e.type},PA=function(e,t){return NA(e)&&e.value===t},RA=function(e){return 31!==e.type},VA=function(e){return 31!==e.type&&4!==e.type},jA=function(e){var t=[],A=[];return e.forEach((function(e){if(4===e.type){if(0===A.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(A),void(A=[])}31!==e.type&&A.push(e)})),A.length&&t.push(A),t},GA=function(e,t){return 11===t&&12===e.type||(28===t&&29===e.type||2===t&&3===e.type)},qA=function(e){return 17===e.type||15===e.type},JA=function(e){return 16===e.type||qA(e)},zA=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},XA={type:17,number:0,flags:Ze},WA={type:16,number:50,flags:Ze},YA={type:16,number:100,flags:Ze},ZA=function(e,t,A){var a=e[0],s=e[1];return[ea(a,t),ea("undefined"!==typeof s?s:a,A)]},ea=function(e,t){if(16===e.type)return e.number/100*t;if($A(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},ta="deg",Aa="grad",aa="rad",sa="turn",ra={name:"angle",parse:function(e,t){if(15===t.type)switch(t.unit){case ta:return Math.PI*t.number/180;case Aa:return Math.PI/200*t.number;case aa:return t.number;case sa:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")}},ia=function(e){return 15===e.type&&(e.unit===ta||e.unit===Aa||e.unit===aa||e.unit===sa)},oa=function(e){var t=e.filter(NA).map((function(e){return e.value})).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[XA,XA];case"to top":case"bottom":return la(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[XA,YA];case"to right":case"left":return la(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[YA,YA];case"to bottom":case"top":return la(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[YA,XA];case"to left":case"right":return la(270)}return 0},la=function(e){return Math.PI*e/180},na={name:"color",parse:function(e,t){if(18===t.type){var A=fa[t.name];if("undefined"===typeof A)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return A(e,t.values)}if(5===t.type){if(3===t.value.length){var a=t.value.substring(0,1),s=t.value.substring(1,2),r=t.value.substring(2,3);return pa(parseInt(a+a,16),parseInt(s+s,16),parseInt(r+r,16),1)}if(4===t.value.length){a=t.value.substring(0,1),s=t.value.substring(1,2),r=t.value.substring(2,3);var i=t.value.substring(3,4);return pa(parseInt(a+a,16),parseInt(s+s,16),parseInt(r+r,16),parseInt(i+i,16)/255)}if(6===t.value.length){a=t.value.substring(0,2),s=t.value.substring(2,4),r=t.value.substring(4,6);return pa(parseInt(a,16),parseInt(s,16),parseInt(r,16),1)}if(8===t.value.length){a=t.value.substring(0,2),s=t.value.substring(2,4),r=t.value.substring(4,6),i=t.value.substring(6,8);return pa(parseInt(a,16),parseInt(s,16),parseInt(r,16),parseInt(i,16)/255)}}if(20===t.type){var o=Ba[t.value.toUpperCase()];if("undefined"!==typeof o)return o}return Ba.TRANSPARENT}},ca=function(e){return 0===(255&e)},da=function(e){var t=255&e,A=255&e>>8,a=255&e>>16,s=255&e>>24;return t<255?"rgba("+s+","+a+","+A+","+t/255+")":"rgb("+s+","+a+","+A+")"},pa=function(e,t,A,a){return(e<<24|t<<16|A<<8|Math.round(255*a)<<0)>>>0},ha=function(e,t){if(17===e.type)return e.number;if(16===e.type){var A=3===t?1:255;return 3===t?e.number/100*A:Math.round(e.number/100*A)}return 0},ua=function(e,t){var A=t.filter(VA);if(3===A.length){var a=A.map(ha),s=a[0],r=a[1],i=a[2];return pa(s,r,i,1)}if(4===A.length){var o=A.map(ha),l=(s=o[0],r=o[1],i=o[2],o[3]);return pa(s,r,i,l)}return 0};function ma(e,t,A){return A<0&&(A+=1),A>=1&&(A-=1),A<1/6?(t-e)*A*6+e:A<.5?t:A<2/3?6*(t-e)*(2/3-A)+e:e}var ga=function(e,t){var A=t.filter(VA),a=A[0],s=A[1],r=A[2],i=A[3],o=(17===a.type?la(a.number):ra.parse(e,a))/(2*Math.PI),l=JA(s)?s.number/100:0,n=JA(r)?r.number/100:0,c="undefined"!==typeof i&&JA(i)?ea(i,1):1;if(0===l)return pa(255*n,255*n,255*n,1);var d=n<=.5?n*(l+1):n+l-n*l,p=2*n-d,h=ma(p,d,o+1/3),u=ma(p,d,o),m=ma(p,d,o-1/3);return pa(255*h,255*u,255*m,c)},fa={hsl:ga,hsla:ga,rgb:ua,rgba:ua},wa=function(e,t){return na.parse(e,HA.create(t).parseComponentValue())},Ba={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},ba={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(NA(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Ca={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ya=function(e,t){var A=na.parse(e,t[0]),a=t[1];return a&&JA(a)?{color:A,stop:a}:{color:A,stop:null}},va=function(e,t){var A=e[0],a=e[e.length-1];null===A.stop&&(A.stop=XA),null===a.stop&&(a.stop=YA);for(var s=[],r=0,i=0;ir?s.push(l):s.push(r),r=l}else s.push(null)}var n=null;for(i=0;ie.optimumDistance)?{optimumCorner:t,optimumDistance:o}:e}),{optimumDistance:s?1/0:-1/0,optimumCorner:null}).optimumCorner},Ia=function(e,t,A,a,s){var r=0,i=0;switch(e.size){case 0:0===e.shape?r=i=Math.min(Math.abs(t),Math.abs(t-a),Math.abs(A),Math.abs(A-s)):1===e.shape&&(r=Math.min(Math.abs(t),Math.abs(t-a)),i=Math.min(Math.abs(A),Math.abs(A-s)));break;case 2:if(0===e.shape)r=i=Math.min(Sa(t,A),Sa(t,A-s),Sa(t-a,A),Sa(t-a,A-s));else if(1===e.shape){var o=Math.min(Math.abs(A),Math.abs(A-s))/Math.min(Math.abs(t),Math.abs(t-a)),l=Ua(a,s,t,A,!0),n=l[0],c=l[1];r=Sa(n-t,(c-A)/o),i=o*r}break;case 1:0===e.shape?r=i=Math.max(Math.abs(t),Math.abs(t-a),Math.abs(A),Math.abs(A-s)):1===e.shape&&(r=Math.max(Math.abs(t),Math.abs(t-a)),i=Math.max(Math.abs(A),Math.abs(A-s)));break;case 3:if(0===e.shape)r=i=Math.max(Sa(t,A),Sa(t,A-s),Sa(t-a,A),Sa(t-a,A-s));else if(1===e.shape){o=Math.max(Math.abs(A),Math.abs(A-s))/Math.max(Math.abs(t),Math.abs(t-a));var d=Ua(a,s,t,A,!1);n=d[0],c=d[1];r=Sa(n-t,(c-A)/o),i=o*r}break}return Array.isArray(e.size)&&(r=ea(e.size[0],a),i=2===e.size.length?ea(e.size[1],s):r),[r,i]},Da=function(e,t){var A=la(180),a=[];return jA(t).forEach((function(t,s){if(0===s){var r=t[0];if(20===r.type&&"to"===r.value)return void(A=oa(t));if(ia(r))return void(A=ra.parse(e,r))}var i=ya(e,t);a.push(i)})),{angle:A,stops:a,type:1}},Ta=function(e,t){var A=la(180),a=[];return jA(t).forEach((function(t,s){if(0===s){var r=t[0];if(20===r.type&&-1!==["top","left","right","bottom"].indexOf(r.value))return void(A=oa(t));if(ia(r))return void(A=(ra.parse(e,r)+la(270))%la(360))}var i=ya(e,t);a.push(i)})),{angle:A,stops:a,type:1}},xa=function(e,t){var A=la(180),a=[],s=1,r=0,i=3,o=[];return jA(t).forEach((function(t,A){var r=t[0];if(0===A){if(NA(r)&&"linear"===r.value)return void(s=1);if(NA(r)&&"radial"===r.value)return void(s=2)}if(18===r.type)if("from"===r.name){var i=na.parse(e,r.values[0]);a.push({stop:XA,color:i})}else if("to"===r.name){i=na.parse(e,r.values[0]);a.push({stop:YA,color:i})}else if("color-stop"===r.name){var o=r.values.filter(VA);if(2===o.length){i=na.parse(e,o[1]);var l=o[0];KA(l)&&a.push({stop:{type:16,number:100*l.number,flags:l.flags},color:i})}}})),1===s?{angle:(A+la(180))%la(360),stops:a,type:s}:{size:i,shape:r,stops:a,position:o,type:s}},La="closest-side",ka="farthest-side",Ea="closest-corner",_a="farthest-corner",Oa="circle",Ha="ellipse",$a="cover",Ka="contain",Na=function(e,t){var A=0,a=3,s=[],r=[];return jA(t).forEach((function(t,i){var o=!0;if(0===i){var l=!1;o=t.reduce((function(e,t){if(l)if(NA(t))switch(t.value){case"center":return r.push(WA),e;case"top":case"left":return r.push(XA),e;case"right":case"bottom":return r.push(YA),e}else(JA(t)||qA(t))&&r.push(t);else if(NA(t))switch(t.value){case Oa:return A=0,!1;case Ha:return A=1,!1;case"at":return l=!0,!1;case La:return a=0,!1;case $a:case ka:return a=1,!1;case Ka:case Ea:return a=2,!1;case _a:return a=3,!1}else if(qA(t)||JA(t))return Array.isArray(a)||(a=[]),a.push(t),!1;return e}),o)}if(o){var n=ya(e,t);s.push(n)}})),{size:a,shape:A,stops:s,position:r,type:2}},Ma=function(e,t){var A=0,a=3,s=[],r=[];return jA(t).forEach((function(t,i){var o=!0;if(0===i?o=t.reduce((function(e,t){if(NA(t))switch(t.value){case"center":return r.push(WA),!1;case"top":case"left":return r.push(XA),!1;case"right":case"bottom":return r.push(YA),!1}else if(JA(t)||qA(t))return r.push(t),!1;return e}),o):1===i&&(o=t.reduce((function(e,t){if(NA(t))switch(t.value){case Oa:return A=0,!1;case Ha:return A=1,!1;case Ka:case La:return a=0,!1;case ka:return a=1,!1;case Ea:return a=2,!1;case $a:case _a:return a=3,!1}else if(qA(t)||JA(t))return Array.isArray(a)||(a=[]),a.push(t),!1;return e}),o)),o){var l=ya(e,t);s.push(l)}})),{size:a,shape:A,stops:s,position:r,type:2}},Pa=function(e){return 1===e.type},Ra=function(e){return 2===e.type},Va={name:"image",parse:function(e,t){if(22===t.type){var A={url:t.value,type:0};return e.cache.addImage(t.value),A}if(18===t.type){var a=qa[t.name];if("undefined"===typeof a)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return a(e,t.values)}throw new Error("Unsupported image type "+t.type)}};function ja(e){return!(20===e.type&&"none"===e.value)&&(18!==e.type||!!qa[e.name])}var Ga,qa={"linear-gradient":Da,"-moz-linear-gradient":Ta,"-ms-linear-gradient":Ta,"-o-linear-gradient":Ta,"-webkit-linear-gradient":Ta,"radial-gradient":Na,"-moz-radial-gradient":Ma,"-ms-radial-gradient":Ma,"-o-radial-gradient":Ma,"-webkit-radial-gradient":Ma,"-webkit-gradient":xa},Ja={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var A=t[0];return 20===A.type&&"none"===A.value?[]:t.filter((function(e){return VA(e)&&ja(e)})).map((function(t){return Va.parse(e,t)}))}},za={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(NA(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Xa={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return jA(t).map((function(e){return e.filter(JA)})).map(zA)}},Wa={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return jA(t).map((function(e){return e.filter(NA).map((function(e){return e.value})).join(" ")})).map(Ya)}},Ya=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}};(function(e){e["AUTO"]="auto",e["CONTAIN"]="contain",e["COVER"]="cover"})(Ga||(Ga={}));var Za,es={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return jA(t).map((function(e){return e.filter(ts)}))}},ts=function(e){return NA(e)||JA(e)},As=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},as=As("top"),ss=As("right"),rs=As("bottom"),is=As("left"),os=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return zA(t.filter(JA))}}},ls=os("top-left"),ns=os("top-right"),cs=os("bottom-right"),ds=os("bottom-left"),ps=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},hs=ps("top"),us=ps("right"),ms=ps("bottom"),gs=ps("left"),fs=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return $A(t)?t.number:0}}},ws=fs("top"),Bs=fs("right"),bs=fs("bottom"),Cs=fs("left"),ys={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},vs={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){switch(t){case"rtl":return 1;case"ltr":default:return 0}}},Qs={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(NA).reduce((function(e,t){return e|Fs(t.value)}),0)}},Fs=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Ss={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Us={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};(function(e){e["NORMAL"]="normal",e["STRICT"]="strict"})(Za||(Za={}));var Is,Ds={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"strict":return Za.STRICT;case"normal":default:return Za.NORMAL}}},Ts={name:"line-height",initialValue:"normal",prefix:!1,type:4},xs=function(e,t){return NA(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:JA(e)?ea(e,t):t},Ls={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return 20===t.type&&"none"===t.value?null:Va.parse(e,t)}},ks={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){switch(t){case"inside":return 0;case"outside":default:return 1}}},Es={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},_s=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},Os=_s("top"),Hs=_s("right"),$s=_s("bottom"),Ks=_s("left"),Ns={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(NA).map((function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}}))}},Ms={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ps=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Rs=Ps("top"),Vs=Ps("right"),js=Ps("bottom"),Gs=Ps("left"),qs={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Js={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},zs={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&PA(t[0],"none")?[]:jA(t).map((function(t){for(var A={color:Ba.TRANSPARENT,offsetX:XA,offsetY:XA,blur:XA},a=0,s=0;s1?1:0],this.overflowWrap=Tr(e,Ms,t.overflowWrap),this.paddingTop=Tr(e,Rs,t.paddingTop),this.paddingRight=Tr(e,Vs,t.paddingRight),this.paddingBottom=Tr(e,js,t.paddingBottom),this.paddingLeft=Tr(e,Gs,t.paddingLeft),this.paintOrder=Tr(e,Qr,t.paintOrder),this.position=Tr(e,Js,t.position),this.textAlign=Tr(e,qs,t.textAlign),this.textDecorationColor=Tr(e,nr,null!==(A=t.textDecorationColor)&&void 0!==A?A:t.color),this.textDecorationLine=Tr(e,cr,null!==(a=t.textDecorationLine)&&void 0!==a?a:t.textDecoration),this.textShadow=Tr(e,zs,t.textShadow),this.textTransform=Tr(e,Xs,t.textTransform),this.transform=Tr(e,Ws,t.transform),this.transformOrigin=Tr(e,ar,t.transformOrigin),this.visibility=Tr(e,sr,t.visibility),this.webkitTextStrokeColor=Tr(e,Fr,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=Tr(e,Sr,t.webkitTextStrokeWidth),this.wordBreak=Tr(e,rr,t.wordBreak),this.zIndex=Tr(e,ir,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return ca(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return gr(this.display,4)||gr(this.display,33554432)||gr(this.display,268435456)||gr(this.display,536870912)||gr(this.display,67108864)||gr(this.display,134217728)},e}(),Ir=function(){function e(e,t){this.content=Tr(e,fr,t.content),this.quotes=Tr(e,Cr,t.quotes)}return e}(),Dr=function(){function e(e,t){this.counterIncrement=Tr(e,wr,t.counterIncrement),this.counterReset=Tr(e,Br,t.counterReset)}return e}(),Tr=function(e,t,A){var a=new OA,s=null!==A&&"undefined"!==typeof A?A.toString():t.initialValue;a.write(s);var r=new HA(a.read());switch(t.type){case 2:var i=r.parseComponentValue();return t.parse(e,NA(i)?i.value:t.initialValue);case 0:return t.parse(e,r.parseComponentValue());case 1:return t.parse(e,r.parseComponentValues());case 4:return r.parseComponentValue();case 3:switch(t.format){case"angle":return ra.parse(e,r.parseComponentValue());case"color":return na.parse(e,r.parseComponentValue());case"image":return Va.parse(e,r.parseComponentValue());case"length":var o=r.parseComponentValue();return qA(o)?o:XA;case"length-percentage":var l=r.parseComponentValue();return JA(l)?l:XA;case"time":return or.parse(e,r.parseComponentValue())}break}},xr="data-html2canvas-debug",Lr=function(e){var t=e.getAttribute(xr);switch(t){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},kr=function(e,t){var A=Lr(e);return 1===A||t===A},Er=function(){function e(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,kr(t,3),this.styles=new Ur(e,window.getComputedStyle(t,null)),Do(t)&&(this.styles.animationDuration.some((function(e){return e>0}))&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=o(this.context,t),kr(t,4)&&(this.flags|=16)}return e}(),_r="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Or="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Hr="undefined"===typeof Uint8Array?[]:new Uint8Array(256),$r=0;$r>4,c[l++]=(15&a)<<4|s>>2,c[l++]=(3&s)<<6|63&r;return n},Nr=function(e){for(var t=e.length,A=[],a=0;a>Pr,qr=1<>Pr,Xr=Gr+zr,Wr=Xr,Yr=32,Zr=Wr+Yr,ei=65536>>Rr,ti=1<=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>Pr],t=(t<>Pr)],t=(t<>Rr),t=this.index[t],t+=e>>Pr&Ai,t=this.index[t],t=(t<=55296&&s<=56319&&A>10),i%1024+56320)),(s+1===A||a.length>16384)&&(r+=String.fromCharCode.apply(String,a),a.length=0)}return r},Ui=ri(_r),Ii="×",Di="÷",Ti=function(e){return Ui.get(e)},xi=function(e,t,A){var a=A-2,s=t[a],r=t[A-1],i=t[A];if(r===pi&&i===hi)return Ii;if(r===pi||r===hi||r===ui)return Di;if(i===pi||i===hi||i===ui)return Di;if(r===fi&&-1!==[fi,wi,bi,Ci].indexOf(i))return Ii;if((r===bi||r===wi)&&(i===wi||i===Bi))return Ii;if((r===Ci||r===Bi)&&i===Bi)return Ii;if(i===yi||i===mi)return Ii;if(i===gi)return Ii;if(r===di)return Ii;if(r===yi&&i===vi){while(s===mi)s=t[--a];if(s===vi)return Ii}if(r===Qi&&i===Qi){var o=0;while(s===Qi)o++,s=t[--a];if(o%2===0)return Ii}return Di},Li=function(e){var t=Fi(e),A=t.length,a=0,s=0,r=t.map(Ti);return{next:function(){if(a>=A)return{done:!0,value:null};var e=Ii;while(ai.x||s.y>i.y;return i=s,0===t||o}));return e.body.removeChild(t),o},Oi=function(){return"undefined"!==typeof(new Image).crossOrigin},Hi=function(){return"string"===typeof(new XMLHttpRequest).responseType},$i=function(e){var t=new Image,A=e.createElement("canvas"),a=A.getContext("2d");if(!a)return!1;t.src="data:image/svg+xml,";try{a.drawImage(t,0,0),A.toDataURL()}catch(jt){return!1}return!0},Ki=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},Ni=function(e){var t=e.createElement("canvas"),A=100;t.width=A,t.height=A;var a=t.getContext("2d");if(!a)return Promise.reject(!1);a.fillStyle="rgb(0, 255, 0)",a.fillRect(0,0,A,A);var s=new Image,r=t.toDataURL();s.src=r;var i=Mi(A,A,0,0,s);return a.fillStyle="red",a.fillRect(0,0,A,A),Pi(i).then((function(t){a.drawImage(t,0,0);var s=a.getImageData(0,0,A,A).data;a.fillStyle="red",a.fillRect(0,0,A,A);var i=e.createElement("div");return i.style.backgroundImage="url("+r+")",i.style.height=A+"px",Ki(s)?Pi(Mi(A,A,0,0,i)):Promise.reject(!1)})).then((function(e){return a.drawImage(e,0,0),Ki(a.getImageData(0,0,A,A).data)})).catch((function(){return!1}))},Mi=function(e,t,A,a,s){var r="http://www.w3.org/2000/svg",i=document.createElementNS(r,"svg"),o=document.createElementNS(r,"foreignObject");return i.setAttributeNS(null,"width",e.toString()),i.setAttributeNS(null,"height",t.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",A.toString()),o.setAttributeNS(null,"y",a.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),i.appendChild(o),o.appendChild(s),i},Pi=function(e){return new Promise((function(t,A){var a=new Image;a.onload=function(){return t(a)},a.onerror=A,a.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},Ri={get SUPPORT_RANGE_BOUNDS(){var e=Ei(document);return Object.defineProperty(Ri,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=Ri.SUPPORT_RANGE_BOUNDS&&_i(document);return Object.defineProperty(Ri,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=$i(document);return Object.defineProperty(Ri,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"===typeof Array.from&&"function"===typeof window.fetch?Ni(document):Promise.resolve(!1);return Object.defineProperty(Ri,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=Oi();return Object.defineProperty(Ri,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=Hi();return Object.defineProperty(Ri,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ri,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!("undefined"===typeof Intl||!Intl.Segmenter);return Object.defineProperty(Ri,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Vi=function(){function e(e,t){this.text=e,this.bounds=t}return e}(),ji=function(e,t,A,a){var s=Xi(t,A),r=[],o=0;return s.forEach((function(t){if(A.textDecorationLine.length||t.trim().length>0)if(Ri.SUPPORT_RANGE_BOUNDS){var s=qi(a,o,t.length).getClientRects();if(s.length>1){var l=Ji(t),n=0;l.forEach((function(t){r.push(new Vi(t,i.fromDOMRectList(e,qi(a,n+o,t.length).getClientRects()))),n+=t.length}))}else r.push(new Vi(t,i.fromDOMRectList(e,s)))}else{var c=a.splitText(t.length);r.push(new Vi(t,Gi(e,a))),a=c}else Ri.SUPPORT_RANGE_BOUNDS||(a=a.splitText(t.length));o+=t.length})),r},Gi=function(e,t){var A=t.ownerDocument;if(A){var a=A.createElement("html2canvaswrapper");a.appendChild(t.cloneNode(!0));var s=t.parentNode;if(s){s.replaceChild(a,t);var r=o(e,a);return a.firstChild&&s.replaceChild(a.firstChild,a),r}}return i.EMPTY},qi=function(e,t,A){var a=e.ownerDocument;if(!a)throw new Error("Node has no owner document");var s=a.createRange();return s.setStart(e,t),s.setEnd(e,t+A),s},Ji=function(e){if(Ri.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map((function(e){return e.segment}))}return ki(e)},zi=function(e,t){if(Ri.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(A.segment(e)).map((function(e){return e.segment}))}return Yi(e,t)},Xi=function(e,t){return 0!==t.letterSpacing?Ji(e):zi(e,t)},Wi=[32,160,4961,65792,65793,4153,4241],Yi=function(e,t){var A,a=Xe(e,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),s=[],r=function(){if(A.value){var e=A.value.slice(),t=n(e),a="";t.forEach((function(e){-1===Wi.indexOf(e)?a+=c(e):(a.length&&s.push(a),s.push(c(e)),a="")})),a.length&&s.push(a)}};while(!(A=a.next()).done)r();return s},Zi=function(){function e(e,t,A){this.text=eo(t.data,A.textTransform),this.textBounds=ji(e,this.text,A,t)}return e}(),eo=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(to,Ao);case 2:return e.toUpperCase();default:return e}},to=/(^|\s|:|-|\(|\))([a-z])/g,Ao=function(e,t,A){return e.length>0?t+A.toUpperCase():e},ao=function(e){function A(t,A){var a=e.call(this,t,A)||this;return a.src=A.currentSrc||A.src,a.intrinsicWidth=A.naturalWidth,a.intrinsicHeight=A.naturalHeight,a.context.cache.addImage(a.src),a}return t(A,e),A}(Er),so=function(e){function A(t,A){var a=e.call(this,t,A)||this;return a.canvas=A,a.intrinsicWidth=A.width,a.intrinsicHeight=A.height,a}return t(A,e),A}(Er),ro=function(e){function A(t,A){var a=e.call(this,t,A)||this,s=new XMLSerializer,r=o(t,A);return A.setAttribute("width",r.width+"px"),A.setAttribute("height",r.height+"px"),a.svg="data:image/svg+xml,"+encodeURIComponent(s.serializeToString(A)),a.intrinsicWidth=A.width.baseVal.value,a.intrinsicHeight=A.height.baseVal.value,a.context.cache.addImage(a.svg),a}return t(A,e),A}(Er),io=function(e){function A(t,A){var a=e.call(this,t,A)||this;return a.value=A.value,a}return t(A,e),A}(Er),oo=function(e){function A(t,A){var a=e.call(this,t,A)||this;return a.start=A.start,a.reversed="boolean"===typeof A.reversed&&!0===A.reversed,a}return t(A,e),A}(Er),lo=[{type:15,flags:0,unit:"px",number:3}],no=[{type:16,flags:0,number:50}],co=function(e){return e.width>e.height?new i(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width0)A.textNodes.push(new Zi(e,s,A.styles));else if(Io(s))if(jo(s)&&s.assignedNodes)s.assignedNodes().forEach((function(t){return yo(e,t,A,a)}));else{var i=vo(e,s);i.styles.isVisible()&&(Fo(s,i,a)?i.flags|=4:So(i.styles)&&(i.flags|=2),-1!==Co.indexOf(s.tagName)&&(i.flags|=8),A.elements.push(i),s.slot,s.shadowRoot?yo(e,s.shadowRoot,i,a):Ro(s)||_o(s)||Vo(s)||yo(e,s,i,a))}},vo=function(e,t){return Ko(t)?new ao(e,t):Ho(t)?new so(e,t):_o(t)?new ro(e,t):xo(t)?new io(e,t):Lo(t)?new oo(e,t):ko(t)?new fo(e,t):Vo(t)?new wo(e,t):Ro(t)?new Bo(e,t):No(t)?new bo(e,t):new Er(e,t)},Qo=function(e,t){var A=vo(e,t);return A.flags|=4,yo(e,t,A,A),A},Fo=function(e,t,A){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||Oo(e)&&A.styles.isTransparent()},So=function(e){return e.isPositioned()||e.isFloating()},Uo=function(e){return e.nodeType===Node.TEXT_NODE},Io=function(e){return e.nodeType===Node.ELEMENT_NODE},Do=function(e){return Io(e)&&"undefined"!==typeof e.style&&!To(e)},To=function(e){return"object"===typeof e.className},xo=function(e){return"LI"===e.tagName},Lo=function(e){return"OL"===e.tagName},ko=function(e){return"INPUT"===e.tagName},Eo=function(e){return"HTML"===e.tagName},_o=function(e){return"svg"===e.tagName},Oo=function(e){return"BODY"===e.tagName},Ho=function(e){return"CANVAS"===e.tagName},$o=function(e){return"VIDEO"===e.tagName},Ko=function(e){return"IMG"===e.tagName},No=function(e){return"IFRAME"===e.tagName},Mo=function(e){return"STYLE"===e.tagName},Po=function(e){return"SCRIPT"===e.tagName},Ro=function(e){return"TEXTAREA"===e.tagName},Vo=function(e){return"SELECT"===e.tagName},jo=function(e){return"SLOT"===e.tagName},Go=function(e){return e.tagName.indexOf("-")>0},qo=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},e.prototype.pop=function(e){var t=this;e.forEach((function(e){return t.counters[e].pop()}))},e.prototype.parse=function(e){var t=this,A=e.counterIncrement,a=e.counterReset,s=!0;null!==A&&A.forEach((function(e){var A=t.counters[e.counter];A&&0!==e.increment&&(s=!1,A.length||A.push(1),A[Math.max(0,A.length-1)]+=e.increment)}));var r=[];return s&&a.forEach((function(e){var A=t.counters[e.counter];r.push(e.counter),A||(A=t.counters[e.counter]=[]),A.push(e.reset)})),r},e}(),Jo={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},zo={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Xo={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Wo={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Yo=function(e,t,A,a,s,r){return eA?dl(e,s,r.length>0):a.integers.reduce((function(t,A,s){while(e>=A)e-=A,t+=a.values[s];return t}),"")+r},Zo=function(e,t,A,a){var s="";do{A||e--,s=a(e)+s,e/=t}while(e*t>=t);return s},el=function(e,t,A,a,s){var r=A-t+1;return(e<0?"-":"")+(Zo(Math.abs(e),r,a,(function(e){return c(Math.floor(e%r)+t)}))+s)},tl=function(e,t,A){void 0===A&&(A=". ");var a=t.length;return Zo(Math.abs(e),a,!1,(function(e){return t[Math.floor(e%a)]}))+A},Al=1,al=2,sl=4,rl=8,il=function(e,t,A,a,s,r){if(e<-9999||e>9999)return dl(e,4,s.length>0);var i=Math.abs(e),o=s;if(0===i)return t[0]+o;for(var l=0;i>0&&l<=4;l++){var n=i%10;0===n&&gr(r,Al)&&""!==o?o=t[n]+o:n>1||1===n&&0===l||1===n&&1===l&&gr(r,al)||1===n&&1===l&&gr(r,sl)&&e>100||1===n&&l>1&&gr(r,rl)?o=t[n]+(l>0?A[l-1]:"")+o:1===n&&l>0&&(o=A[l-1]+o),i=Math.floor(i/10)}return(e<0?a:"")+o},ol="十百千萬",ll="拾佰仟萬",nl="マイナス",cl="마이너스",dl=function(e,t,A){var a=A?". ":"",s=A?"、":"",r=A?", ":"",i=A?" ":"";switch(t){case 0:return"•"+i;case 1:return"◦"+i;case 2:return"◾"+i;case 5:var o=el(e,48,57,!0,a);return o.length<4?"0"+o:o;case 4:return tl(e,"〇一二三四五六七八九",s);case 6:return Yo(e,1,3999,Jo,3,a).toLowerCase();case 7:return Yo(e,1,3999,Jo,3,a);case 8:return el(e,945,969,!1,a);case 9:return el(e,97,122,!1,a);case 10:return el(e,65,90,!1,a);case 11:return el(e,1632,1641,!0,a);case 12:case 49:return Yo(e,1,9999,zo,3,a);case 35:return Yo(e,1,9999,zo,3,a).toLowerCase();case 13:return el(e,2534,2543,!0,a);case 14:case 30:return el(e,6112,6121,!0,a);case 15:return tl(e,"子丑寅卯辰巳午未申酉戌亥",s);case 16:return tl(e,"甲乙丙丁戊己庚辛壬癸",s);case 17:case 48:return il(e,"零一二三四五六七八九",ol,"負",s,al|sl|rl);case 47:return il(e,"零壹貳參肆伍陸柒捌玖",ll,"負",s,Al|al|sl|rl);case 42:return il(e,"零一二三四五六七八九",ol,"负",s,al|sl|rl);case 41:return il(e,"零壹贰叁肆伍陆柒捌玖",ll,"负",s,Al|al|sl|rl);case 26:return il(e,"〇一二三四五六七八九","十百千万",nl,s,0);case 25:return il(e,"零壱弐参四伍六七八九","拾百千万",nl,s,Al|al|sl);case 31:return il(e,"영일이삼사오육칠팔구","십백천만",cl,r,Al|al|sl);case 33:return il(e,"零一二三四五六七八九","十百千萬",cl,r,0);case 32:return il(e,"零壹貳參四五六七八九","拾百千",cl,r,Al|al|sl);case 18:return el(e,2406,2415,!0,a);case 20:return Yo(e,1,19999,Wo,3,a);case 21:return el(e,2790,2799,!0,a);case 22:return el(e,2662,2671,!0,a);case 22:return Yo(e,1,10999,Xo,3,a);case 23:return tl(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return tl(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return el(e,3302,3311,!0,a);case 28:return tl(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",s);case 29:return tl(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",s);case 34:return el(e,3792,3801,!0,a);case 37:return el(e,6160,6169,!0,a);case 38:return el(e,4160,4169,!0,a);case 39:return el(e,2918,2927,!0,a);case 40:return el(e,1776,1785,!0,a);case 43:return el(e,3046,3055,!0,a);case 44:return el(e,3174,3183,!0,a);case 45:return el(e,3664,3673,!0,a);case 46:return el(e,3872,3881,!0,a);case 3:default:return el(e,48,57,!0,a)}},pl="data-html2canvas-ignore",hl=function(){function e(e,t,A){if(this.context=e,this.options=A,this.scrolledElements=[],this.referenceElement=t,this.counters=new qo,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var A=this,r=ml(e,t);if(!r.contentWindow)return Promise.reject("Unable to find iframe window");var i=e.defaultView.pageXOffset,o=e.defaultView.pageYOffset,l=r.contentWindow,n=l.document,c=wl(r).then((function(){return a(A,void 0,void 0,(function(){var e,A;return s(this,(function(a){switch(a.label){case 0:return this.scrolledElements.forEach(vl),l&&(l.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||l.scrollY===t.top&&l.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(l.scrollX-t.left,l.scrollY-t.top,0,0))),e=this.options.onclone,A=this.clonedReferenceElement,"undefined"===typeof A?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:n.fonts&&n.fonts.ready?[4,n.fonts.ready]:[3,2];case 1:a.sent(),a.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,fl(n)]:[3,4];case 3:a.sent(),a.label=4;case 4:return"function"===typeof e?[2,Promise.resolve().then((function(){return e(n,A)})).then((function(){return r}))]:[2,r]}}))}))}));return n.open(),n.write(Cl(document.doctype)+""),yl(this.referenceElement.ownerDocument,i,o),n.replaceChild(n.adoptNode(this.documentElement),n.documentElement),n.close(),c},e.prototype.createElementClone=function(e){if(kr(e,2),Ho(e))return this.createCanvasClone(e);if($o(e))return this.createVideoClone(e);if(Mo(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return Ko(t)&&(Ko(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),Go(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return bl(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var A=[].slice.call(t.cssRules,0).reduce((function(e,t){return t&&"string"===typeof t.cssText?e+t.cssText:e}),""),a=e.cloneNode(!1);return a.textContent=A,a}}catch(jt){if(this.context.logger.error("Unable to access cssRules property",jt),"SecurityError"!==jt.name)throw jt}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var A=e.ownerDocument.createElement("img");try{return A.src=e.toDataURL(),A}catch(jt){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var a=e.cloneNode(!1);try{a.width=e.width,a.height=e.height;var s=e.getContext("2d"),r=a.getContext("2d");if(r)if(!this.options.allowTaint&&s)r.putImageData(s.getImageData(0,0,e.width,e.height),0,0);else{var i=null!==(t=e.getContext("webgl2"))&&void 0!==t?t:e.getContext("webgl");if(i){var o=i.getContextAttributes();!1===(null===o||void 0===o?void 0:o.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}r.drawImage(e,0,0)}return a}catch(jt){this.context.logger.info("Unable to clone canvas as it is tainted",e)}return a},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var A=t.getContext("2d");try{return A&&(A.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||A.getImageData(0,0,t.width,t.height)),t}catch(jt){this.context.logger.info("Unable to clone video as it is tainted",e)}var a=e.ownerDocument.createElement("canvas");return a.width=e.offsetWidth,a.height=e.offsetHeight,a},e.prototype.appendChildNode=function(e,t,A){Io(t)&&(Po(t)||t.hasAttribute(pl)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&Io(t)&&Mo(t)||e.appendChild(this.cloneNode(t,A))},e.prototype.cloneChildNodes=function(e,t,A){for(var a=this,s=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;s;s=s.nextSibling)if(Io(s)&&jo(s)&&"function"===typeof s.assignedNodes){var r=s.assignedNodes();r.length&&r.forEach((function(e){return a.appendChildNode(t,e,A)}))}else this.appendChildNode(t,s,A)},e.prototype.cloneNode=function(e,t){if(Uo(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var A=e.ownerDocument.defaultView;if(A&&Io(e)&&(Do(e)||To(e))){var a=this.createElementClone(e);a.style.transitionProperty="none";var s=A.getComputedStyle(e),r=A.getComputedStyle(e,":before"),i=A.getComputedStyle(e,":after");this.referenceElement===e&&Do(a)&&(this.clonedReferenceElement=a),Oo(a)&&Dl(a);var o=this.counters.parse(new Dr(this.context,s)),l=this.resolvePseudoContent(e,a,r,ci.BEFORE);Go(e)&&(t=!0),$o(e)||this.cloneChildNodes(e,a,t),l&&a.insertBefore(l,a.firstChild);var n=this.resolvePseudoContent(e,a,i,ci.AFTER);return n&&a.appendChild(n),this.counters.pop(o),(s&&(this.options.copyStyles||To(e))&&!No(e)||t)&&bl(s,a),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([a,e.scrollLeft,e.scrollTop]),(Ro(e)||Vo(e))&&(Ro(a)||Vo(a))&&(a.value=e.value),a}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,A,a){var s=this;if(A){var r=A.content,i=t.ownerDocument;if(i&&r&&"none"!==r&&"-moz-alt-content"!==r&&"none"!==A.display){this.counters.parse(new Dr(this.context,A));var o=new Ir(this.context,A),l=i.createElement("html2canvaspseudoelement");bl(A,l),o.content.forEach((function(t){if(0===t.type)l.appendChild(i.createTextNode(t.value));else if(22===t.type){var A=i.createElement("img");A.src=t.value,A.style.opacity="1",l.appendChild(A)}else if(18===t.type){if("attr"===t.name){var a=t.values.filter(NA);a.length&&l.appendChild(i.createTextNode(e.getAttribute(a[0].value)||""))}else if("counter"===t.name){var r=t.values.filter(VA),n=r[0],c=r[1];if(n&&NA(n)){var d=s.counters.getCounterValue(n.value),p=c&&NA(c)?Es.parse(s.context,c.value):3;l.appendChild(i.createTextNode(dl(d,p,!1)))}}else if("counters"===t.name){var h=t.values.filter(VA),u=(n=h[0],h[1]);c=h[2];if(n&&NA(n)){var m=s.counters.getCounterValues(n.value),g=c&&NA(c)?Es.parse(s.context,c.value):3,f=u&&0===u.type?u.value:"",w=m.map((function(e){return dl(e,g,!1)})).join(f);l.appendChild(i.createTextNode(w))}}}else if(20===t.type)switch(t.value){case"open-quote":l.appendChild(i.createTextNode(yr(o.quotes,s.quoteDepth++,!0)));break;case"close-quote":l.appendChild(i.createTextNode(yr(o.quotes,--s.quoteDepth,!1)));break;default:l.appendChild(i.createTextNode(t.value))}})),l.className=Sl+" "+Ul;var n=a===ci.BEFORE?" "+Sl:" "+Ul;return To(t)?t.className.baseValue+=n:t.className+=n,l}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();(function(e){e[e["BEFORE"]=0]="BEFORE",e[e["AFTER"]=1]="AFTER"})(ci||(ci={}));var ul,ml=function(e,t){var A=e.createElement("iframe");return A.className="html2canvas-container",A.style.visibility="hidden",A.style.position="fixed",A.style.left="-10000px",A.style.top="0px",A.style.border="0",A.width=t.width.toString(),A.height=t.height.toString(),A.scrolling="no",A.setAttribute(pl,"true"),e.body.appendChild(A),A},gl=function(e){return new Promise((function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()}))},fl=function(e){return Promise.all([].slice.call(e.images,0).map(gl))},wl=function(e){return new Promise((function(t,A){var a=e.contentWindow;if(!a)return A("No window assigned for iframe");var s=a.document;a.onload=e.onload=function(){a.onload=e.onload=null;var A=setInterval((function(){s.body.childNodes.length>0&&"complete"===s.readyState&&(clearInterval(A),t(e))}),50)}}))},Bl=["all","d","content"],bl=function(e,t){for(var A=e.length-1;A>=0;A--){var a=e.item(A);-1===Bl.indexOf(a)&&t.style.setProperty(a,e.getPropertyValue(a))}return t},Cl=function(e){var t="";return e&&(t+=""),t},yl=function(e,t,A){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||A!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,A)},vl=function(e){var t=e[0],A=e[1],a=e[2];t.scrollLeft=A,t.scrollTop=a},Ql=":before",Fl=":after",Sl="___html2canvas___pseudoelement_before",Ul="___html2canvas___pseudoelement_after",Il='{\n content: "" !important;\n display: none !important;\n}',Dl=function(e){Tl(e,"."+Sl+Ql+Il+"\n ."+Ul+Fl+Il)},Tl=function(e,t){var A=e.ownerDocument;if(A){var a=A.createElement("style");a.textContent=t,e.appendChild(a)}},xl=function(){function e(){}return e.getOrigin=function(t){var A=e._link;return A?(A.href=t,A.href=A.href,A.protocol+A.hostname+A.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),Ll=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:Kl(e)||Ol(e)?((this._cache[e]=this.loadImage(e)).catch((function(){})),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return a(this,void 0,void 0,(function(){var t,A,a,r,i=this;return s(this,(function(s){switch(s.label){case 0:return t=xl.isSameOrigin(e),A=!Hl(e)&&!0===this._options.useCORS&&Ri.SUPPORT_CORS_IMAGES&&!t,a=!Hl(e)&&!t&&!Kl(e)&&"string"===typeof this._options.proxy&&Ri.SUPPORT_CORS_XHR&&!A,t||!1!==this._options.allowTaint||Hl(e)||Kl(e)||a||A?(r=e,a?[4,this.proxy(r)]:[3,2]):[2];case 1:r=s.sent(),s.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise((function(e,t){var a=new Image;a.onload=function(){return e(a)},a.onerror=t,($l(r)||A)&&(a.crossOrigin="anonymous"),a.src=r,!0===a.complete&&setTimeout((function(){return e(a)}),500),i._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+i._options.imageTimeout+"ms) loading image")}),i._options.imageTimeout)}))];case 3:return[2,s.sent()]}}))}))},e.prototype.has=function(e){return"undefined"!==typeof this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,A=this._options.proxy;if(!A)throw new Error("No proxy defined");var a=e.substring(0,256);return new Promise((function(s,r){var i=Ri.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;o.onload=function(){if(200===o.status)if("text"===i)s(o.response);else{var e=new FileReader;e.addEventListener("load",(function(){return s(e.result)}),!1),e.addEventListener("error",(function(e){return r(e)}),!1),e.readAsDataURL(o.response)}else r("Failed to proxy resource "+a+" with status code "+o.status)},o.onerror=r;var l=A.indexOf("?")>-1?"&":"?";if(o.open("GET",""+A+l+"url="+encodeURIComponent(e)+"&responseType="+i),"text"!==i&&o instanceof XMLHttpRequest&&(o.responseType=i),t._options.imageTimeout){var n=t._options.imageTimeout;o.timeout=n,o.ontimeout=function(){return r("Timed out ("+n+"ms) proxying "+a)}}o.send()}))},e}(),kl=/^data:image\/svg\+xml/i,El=/^data:image\/.*;base64,/i,_l=/^data:image\/.*/i,Ol=function(e){return Ri.SUPPORT_SVG_DRAWING||!Nl(e)},Hl=function(e){return _l.test(e)},$l=function(e){return El.test(e)},Kl=function(e){return"blob"===e.substr(0,4)},Nl=function(e){return"svg"===e.substr(-3).toLowerCase()||kl.test(e)},Ml=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,A){return new e(this.x+t,this.y+A)},e}(),Pl=function(e,t,A){return new Ml(e.x+(t.x-e.x)*A,e.y+(t.y-e.y)*A)},Rl=function(){function e(e,t,A,a){this.type=1,this.start=e,this.startControl=t,this.endControl=A,this.end=a}return e.prototype.subdivide=function(t,A){var a=Pl(this.start,this.startControl,t),s=Pl(this.startControl,this.endControl,t),r=Pl(this.endControl,this.end,t),i=Pl(a,s,t),o=Pl(s,r,t),l=Pl(i,o,t);return A?new e(this.start,a,i,l):new e(l,o,r,this.end)},e.prototype.add=function(t,A){return new e(this.start.add(t,A),this.startControl.add(t,A),this.endControl.add(t,A),this.end.add(t,A))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),Vl=function(e){return 1===e.type},jl=function(){function e(e){var t=e.styles,A=e.bounds,a=ZA(t.borderTopLeftRadius,A.width,A.height),s=a[0],r=a[1],i=ZA(t.borderTopRightRadius,A.width,A.height),o=i[0],l=i[1],n=ZA(t.borderBottomRightRadius,A.width,A.height),c=n[0],d=n[1],p=ZA(t.borderBottomLeftRadius,A.width,A.height),h=p[0],u=p[1],m=[];m.push((s+o)/A.width),m.push((h+c)/A.width),m.push((r+u)/A.height),m.push((l+d)/A.height);var g=Math.max.apply(Math,m);g>1&&(s/=g,r/=g,o/=g,l/=g,c/=g,d/=g,h/=g,u/=g);var f=A.width-o,w=A.height-d,B=A.width-c,b=A.height-u,C=t.borderTopWidth,y=t.borderRightWidth,v=t.borderBottomWidth,Q=t.borderLeftWidth,F=ea(t.paddingTop,e.bounds.width),S=ea(t.paddingRight,e.bounds.width),U=ea(t.paddingBottom,e.bounds.width),I=ea(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||r>0?Gl(A.left+Q/3,A.top+C/3,s-Q/3,r-C/3,ul.TOP_LEFT):new Ml(A.left+Q/3,A.top+C/3),this.topRightBorderDoubleOuterBox=s>0||r>0?Gl(A.left+f,A.top+C/3,o-y/3,l-C/3,ul.TOP_RIGHT):new Ml(A.left+A.width-y/3,A.top+C/3),this.bottomRightBorderDoubleOuterBox=c>0||d>0?Gl(A.left+B,A.top+w,c-y/3,d-v/3,ul.BOTTOM_RIGHT):new Ml(A.left+A.width-y/3,A.top+A.height-v/3),this.bottomLeftBorderDoubleOuterBox=h>0||u>0?Gl(A.left+Q/3,A.top+b,h-Q/3,u-v/3,ul.BOTTOM_LEFT):new Ml(A.left+Q/3,A.top+A.height-v/3),this.topLeftBorderDoubleInnerBox=s>0||r>0?Gl(A.left+2*Q/3,A.top+2*C/3,s-2*Q/3,r-2*C/3,ul.TOP_LEFT):new Ml(A.left+2*Q/3,A.top+2*C/3),this.topRightBorderDoubleInnerBox=s>0||r>0?Gl(A.left+f,A.top+2*C/3,o-2*y/3,l-2*C/3,ul.TOP_RIGHT):new Ml(A.left+A.width-2*y/3,A.top+2*C/3),this.bottomRightBorderDoubleInnerBox=c>0||d>0?Gl(A.left+B,A.top+w,c-2*y/3,d-2*v/3,ul.BOTTOM_RIGHT):new Ml(A.left+A.width-2*y/3,A.top+A.height-2*v/3),this.bottomLeftBorderDoubleInnerBox=h>0||u>0?Gl(A.left+2*Q/3,A.top+b,h-2*Q/3,u-2*v/3,ul.BOTTOM_LEFT):new Ml(A.left+2*Q/3,A.top+A.height-2*v/3),this.topLeftBorderStroke=s>0||r>0?Gl(A.left+Q/2,A.top+C/2,s-Q/2,r-C/2,ul.TOP_LEFT):new Ml(A.left+Q/2,A.top+C/2),this.topRightBorderStroke=s>0||r>0?Gl(A.left+f,A.top+C/2,o-y/2,l-C/2,ul.TOP_RIGHT):new Ml(A.left+A.width-y/2,A.top+C/2),this.bottomRightBorderStroke=c>0||d>0?Gl(A.left+B,A.top+w,c-y/2,d-v/2,ul.BOTTOM_RIGHT):new Ml(A.left+A.width-y/2,A.top+A.height-v/2),this.bottomLeftBorderStroke=h>0||u>0?Gl(A.left+Q/2,A.top+b,h-Q/2,u-v/2,ul.BOTTOM_LEFT):new Ml(A.left+Q/2,A.top+A.height-v/2),this.topLeftBorderBox=s>0||r>0?Gl(A.left,A.top,s,r,ul.TOP_LEFT):new Ml(A.left,A.top),this.topRightBorderBox=o>0||l>0?Gl(A.left+f,A.top,o,l,ul.TOP_RIGHT):new Ml(A.left+A.width,A.top),this.bottomRightBorderBox=c>0||d>0?Gl(A.left+B,A.top+w,c,d,ul.BOTTOM_RIGHT):new Ml(A.left+A.width,A.top+A.height),this.bottomLeftBorderBox=h>0||u>0?Gl(A.left,A.top+b,h,u,ul.BOTTOM_LEFT):new Ml(A.left,A.top+A.height),this.topLeftPaddingBox=s>0||r>0?Gl(A.left+Q,A.top+C,Math.max(0,s-Q),Math.max(0,r-C),ul.TOP_LEFT):new Ml(A.left+Q,A.top+C),this.topRightPaddingBox=o>0||l>0?Gl(A.left+Math.min(f,A.width-y),A.top+C,f>A.width+y?0:Math.max(0,o-y),Math.max(0,l-C),ul.TOP_RIGHT):new Ml(A.left+A.width-y,A.top+C),this.bottomRightPaddingBox=c>0||d>0?Gl(A.left+Math.min(B,A.width-Q),A.top+Math.min(w,A.height-v),Math.max(0,c-y),Math.max(0,d-v),ul.BOTTOM_RIGHT):new Ml(A.left+A.width-y,A.top+A.height-v),this.bottomLeftPaddingBox=h>0||u>0?Gl(A.left+Q,A.top+Math.min(b,A.height-v),Math.max(0,h-Q),Math.max(0,u-v),ul.BOTTOM_LEFT):new Ml(A.left+Q,A.top+A.height-v),this.topLeftContentBox=s>0||r>0?Gl(A.left+Q+I,A.top+C+F,Math.max(0,s-(Q+I)),Math.max(0,r-(C+F)),ul.TOP_LEFT):new Ml(A.left+Q+I,A.top+C+F),this.topRightContentBox=o>0||l>0?Gl(A.left+Math.min(f,A.width+Q+I),A.top+C+F,f>A.width+Q+I?0:o-Q+I,l-(C+F),ul.TOP_RIGHT):new Ml(A.left+A.width-(y+S),A.top+C+F),this.bottomRightContentBox=c>0||d>0?Gl(A.left+Math.min(B,A.width-(Q+I)),A.top+Math.min(w,A.height+C+F),Math.max(0,c-(y+S)),d-(v+U),ul.BOTTOM_RIGHT):new Ml(A.left+A.width-(y+S),A.top+A.height-(v+U)),this.bottomLeftContentBox=h>0||u>0?Gl(A.left+Q+I,A.top+b,Math.max(0,h-(Q+I)),u-(v+U),ul.BOTTOM_LEFT):new Ml(A.left+Q+I,A.top+A.height-(v+U))}return e}();(function(e){e[e["TOP_LEFT"]=0]="TOP_LEFT",e[e["TOP_RIGHT"]=1]="TOP_RIGHT",e[e["BOTTOM_RIGHT"]=2]="BOTTOM_RIGHT",e[e["BOTTOM_LEFT"]=3]="BOTTOM_LEFT"})(ul||(ul={}));var Gl=function(e,t,A,a,s){var r=(Math.sqrt(2)-1)/3*4,i=A*r,o=a*r,l=e+A,n=t+a;switch(s){case ul.TOP_LEFT:return new Rl(new Ml(e,n),new Ml(e,n-o),new Ml(l-i,t),new Ml(l,t));case ul.TOP_RIGHT:return new Rl(new Ml(e,t),new Ml(e+i,t),new Ml(l,n-o),new Ml(l,n));case ul.BOTTOM_RIGHT:return new Rl(new Ml(l,t),new Ml(l,t+o),new Ml(e+i,n),new Ml(e,n));case ul.BOTTOM_LEFT:default:return new Rl(new Ml(l,n),new Ml(l-i,n),new Ml(e,t+o),new Ml(e,t))}},ql=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},Jl=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},zl=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},Xl=function(){function e(e,t,A){this.offsetX=e,this.offsetY=t,this.matrix=A,this.type=0,this.target=6}return e}(),Wl=function(){function e(e,t){this.path=e,this.target=t,this.type=1}return e}(),Yl=function(){function e(e){this.opacity=e,this.type=2,this.target=6}return e}(),Zl=function(e){return 0===e.type},en=function(e){return 1===e.type},tn=function(e){return 2===e.type},An=function(e,t){return e.length===t.length&&e.some((function(e,A){return e===t[A]}))},an=function(e,t,A,a,s){return e.map((function(e,r){switch(r){case 0:return e.add(t,A);case 1:return e.add(t+a,A);case 2:return e.add(t+a,A+s);case 3:return e.add(t,A+s)}return e}))},sn=function(){function e(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),rn=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new jl(this.container),this.container.styles.opacity<1&&this.effects.push(new Yl(this.container.styles.opacity)),null!==this.container.styles.transform){var A=this.container.bounds.left+this.container.styles.transformOrigin[0].number,a=this.container.bounds.top+this.container.styles.transformOrigin[1].number,s=this.container.styles.transform;this.effects.push(new Xl(A,a,s))}if(0!==this.container.styles.overflowX){var r=ql(this.curves),i=zl(this.curves);An(r,i)?this.effects.push(new Wl(r,6)):(this.effects.push(new Wl(r,2)),this.effects.push(new Wl(i,4)))}}return e.prototype.getEffects=function(e){var t=-1===[2,3].indexOf(this.container.styles.position),A=this.parent,a=this.effects.slice(0);while(A){var s=A.effects.filter((function(e){return!en(e)}));if(t||0!==A.container.styles.position||!A.parent){if(a.unshift.apply(a,s),t=-1===[2,3].indexOf(A.container.styles.position),0!==A.container.styles.overflowX){var r=ql(A.curves),i=zl(A.curves);An(r,i)||a.unshift(new Wl(i,6))}}else a.unshift.apply(a,s);A=A.parent}return a.filter((function(t){return gr(t.target,e)}))},e}(),on=function(e,t,A,a){e.container.elements.forEach((function(s){var r=gr(s.flags,4),i=gr(s.flags,2),o=new rn(s,e);gr(s.styles.display,2048)&&a.push(o);var l=gr(s.flags,8)?[]:a;if(r||i){var n=r||s.styles.isPositioned()?A:t,c=new sn(o);if(s.styles.isPositioned()||s.styles.opacity<1||s.styles.isTransformed()){var d=s.styles.zIndex.order;if(d<0){var p=0;n.negativeZIndex.some((function(e,t){return d>e.element.container.styles.zIndex.order?(p=t,!1):p>0})),n.negativeZIndex.splice(p,0,c)}else if(d>0){var h=0;n.positiveZIndex.some((function(e,t){return d>=e.element.container.styles.zIndex.order?(h=t+1,!1):h>0})),n.positiveZIndex.splice(h,0,c)}else n.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else s.styles.isFloating()?n.nonPositionedFloats.push(c):n.nonPositionedInlineLevel.push(c);on(o,c,r?c:A,l)}else s.styles.isInlineLevel()?t.inlineLevel.push(o):t.nonInlineLevel.push(o),on(o,t,A,l);gr(s.flags,8)&&ln(s,l)}))},ln=function(e,t){for(var A=e instanceof oo?e.start:1,a=e instanceof oo&&e.reversed,s=0;s0&&e.intrinsicHeight>0){var a=fn(e),s=zl(t);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(A,0,0,e.intrinsicWidth,e.intrinsicHeight,a.left,a.top,a.width,a.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(e){return a(this,void 0,void 0,(function(){var t,a,r,o,l,n,c,d,p,h,u,m,g,f,w,B,b,C,y;return s(this,(function(s){switch(s.label){case 0:this.applyEffects(e.getEffects(4)),t=e.container,a=e.curves,r=t.styles,o=0,l=t.textNodes,s.label=1;case 1:return o0&&Q>0&&(w=a.ctx.createPattern(m,"repeat"),a.renderRepeat(b,w,S,U))):Ra(A)&&(B=bn(e,t,[null,null,null]),b=B[0],C=B[1],y=B[2],v=B[3],Q=B[4],F=0===A.position.length?[WA]:A.position,S=ea(F[0],v),U=ea(F[F.length-1],Q),I=Ia(A,S,U,v,Q),D=I[0],T=I[1],D>0&&T>0&&(x=a.ctx.createRadialGradient(C+S,y+U,0,C+S,y+U,D),va(A.stops,2*D).forEach((function(e){return x.addColorStop(e.stop,da(e.color))})),a.path(b),a.ctx.fillStyle=x,D!==T?(L=e.bounds.left+.5*e.bounds.width,k=e.bounds.top+.5*e.bounds.height,E=T/D,_=1/E,a.ctx.save(),a.ctx.translate(L,k),a.ctx.transform(1,0,0,E,0,0),a.ctx.translate(-L,-k),a.ctx.fillRect(C,_*(y-k)+k,v,Q*_),a.ctx.restore()):a.ctx.fill())),s.label=6;case 6:return t--,[2]}}))},a=this,r=0,i=e.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return r0?2!==n.style?[3,5]:[4,this.renderDashedDottedBorder(n.color,n.width,i,e.curves,2)]:[3,11]):[3,13];case 4:return s.sent(),[3,11];case 5:return 3!==n.style?[3,7]:[4,this.renderDashedDottedBorder(n.color,n.width,i,e.curves,3)];case 6:return s.sent(),[3,11];case 7:return 4!==n.style?[3,9]:[4,this.renderDoubleBorder(n.color,n.width,i,e.curves)];case 8:return s.sent(),[3,11];case 9:return[4,this.renderSolidBorder(n.color,i,e.curves)];case 10:s.sent(),s.label=11;case 11:i++,s.label=12;case 12:return o++,[3,3];case 13:return[2]}}))}))},A.prototype.renderDashedDottedBorder=function(e,t,A,r,i){return a(this,void 0,void 0,(function(){var a,o,l,n,c,d,p,h,u,m,g,f,w,B,b,C;return s(this,(function(s){return this.ctx.save(),a=hn(r,A),o=cn(r,A),2===i&&(this.path(o),this.ctx.clip()),Vl(o[0])?(l=o[0].start.x,n=o[0].start.y):(l=o[0].x,n=o[0].y),Vl(o[1])?(c=o[1].end.x,d=o[1].end.y):(c=o[1].x,d=o[1].y),p=0===A||2===A?Math.abs(l-c):Math.abs(n-d),this.ctx.beginPath(),3===i?this.formatPath(a):this.formatPath(o.slice(0,2)),h=t<3?3*t:2*t,u=t<3?2*t:t,3===i&&(h=t,u=t),m=!0,p<=2*h?m=!1:p<=2*h+u?(g=p/(2*h+u),h*=g,u*=g):(f=Math.floor((p+u)/(h+u)),w=(p-f*h)/(f-1),B=(p-(f+1)*h)/f,u=B<=0||Math.abs(u-w){console.log(e);const t=e,A=new Blob([t]),a="导出.xls";if("download"in document.createElement("a")){const e=document.createElement("a");e.download=a,e.style.display="none",e.href=URL.createObjectURL(A),document.body.appendChild(e),e.click(),URL.revokeObjectURL(e.href),document.body.removeChild(e)}else navigator.msSaveBlob(A,a)})},addContract(){this.showdialog=!0,this.$refs.popChildren.getTableRow({},0)},Edit(e,t){this.showdialog=!0,this.$refs.popChildren.getTableRow(e,1,t)},importContract(){this.showdialogImport=!0},switchHigh(){this.$nextTick(()=>{this.$set(this.params,"departIds",[])}),this.HighSearchFlag=!this.HighSearchFlag},search(){this.params={pageIndex:1,pageSize:10,keyword:this.params.keyword},this.index=-1;let e={domainId:this.$route.query.domainId};Object(r["U"])(this.params,e).then(e=>{e.data&&(this.tableDataContract=e.data.data,this.params.total=e.data.total)})},highSearchButton(){this.index=-1,this.$set(this.params,"pageIndex",1),this.highSearch()},highSearch(){let e={domainId:this.$route.query.domainId};console.log("params",this.params.startEndCreatedTime),this.$set(this.params,"beginCreatedTime",this.params.startEndCreatedTime&&this.params.startEndCreatedTime[0]||""),this.$set(this.params,"endCreatedTime",this.params.startEndCreatedTime&&this.params.startEndCreatedTime[1]||""),Object(r["Mb"])(this.params,e).then(e=>{e.data&&(this.tableDataContract=e.data.data,this.params.total=e.data.total)})},resetSearchForm(){this.defaulData=[],this.$nextTick(()=>{this.$refs.ruleForm&&this.$refs.ruleForm.resetFields(),this.$set(this.params,"departIds",[]),this.$set(this.params,"beginDate",""),this.$set(this.params,"endDate",""),this.$set(this.params,"keyword",""),this.highSearch(),console.log(this.params)})},DataBoard(){this.index=-1,this.params={},this.$set(this.params,"pageIndex",1),this.$set(this.params,"pageSize",10),this.$set(this.params,"keyword",""),this.$set(this.params,"total",0),this.contractTableBoardList(),this.highSearch()},contractTableBoardList(){let e={domainId:this.$route.query.domainId};Object(r["V"])(this.params,e).then(e=>{console.log(e),this.tjObj=e.data})},changeTypes(){this.$nextTick(()=>{this.$forceUpdate()})},changeEmploymentStatusStatus(){this.$nextTick(()=>{this.$forceUpdate()})},changeStatus(){this.$nextTick(()=>{this.$forceUpdate()})},changeBeginDate(){this.$nextTick(()=>{this.$forceUpdate()})},changeEndDate(){this.$nextTick(()=>{this.$forceUpdate()})},tableDatalist(){let e={domainId:this.$route.query.domainId};Object(r["w"])(e).then(e=>{e.data&&(this.tableData=e.data,this.sortTableData(this.tableData))})},sortTableData(e){e.length&&e.forEach(e=>{e.displayOrderNumber=e.displayOrder,e.children.length&&this.sortTableData(e.children)}),console.log(this.tableData)},contractList(){let e={domainId:this.$route.query.domainId};Object(r["T"])(this.params,e).then(e=>{e.data.data&&(this.tableDataContract=e.data.data,this.params.total=e.data.total)})},checkChange(e,t){console.log(e),console.log(t),this.$set(this.params,"departIds",e)},handleCurrentChange(e){console.log(this.params),console.log(e),this.params.pageIndex=e,this.contractList()},handleSizeChange(e){console.log(e),this.params.pageIndex=1,this.params.pageSize=e,this.contractList()},handleSelectionChange(e){console.log(e),this.multipleSelection=e},handleSelectionAllChange(e,t){t||(this.isAllSelect=!this.isAllSelect),e.map(e=>{e.children&&(e.children.map(e=>{this.toggleSelection(e,this.isAllSelect)}),e.children.length>0&&this.handleSelectionAllChange(e.children,!0))})},toggleSelection(e,t){t?this.$refs.districtTable.toggleRowSelection(e,t):this.$refs.districtTable.clearSelection()},addDept(){this.showdialog=!0,this.$refs.popChildren.getTableRow({},0)},BackEmp(e){this.showdialogBack=!0,this.$refs.popChildrenBack.getTableRow(e,1)},Del(e){let t=e.id,A={domainId:this.$route.query.domainId};""!=Object.keys(e)&&this.$confirm("此操作将永久删除此对应数据, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(r["X"])(t,A).then(()=>{this.contractList()})}).catch(()=>{})},download(e){e.attachment&&window.open(e.attachment)},patchDel(){let e={domainId:this.$route.query.domainId};this.multipleSelection.length&&this.$confirm("此操作将永久删除此对应数据, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{console.log("删除");let t=[];this.multipleSelection.forEach(e=>{t.push(e.id)}),console.log(this.multipleSelection),console.log(t),Object(r["ab"])(t,e).then(()=>{this.contractList()})}).catch(()=>{})},importEmployee(){this.showdialogImport=!0},moveDept(){this.showdialogMove=!0,this.$refs.MovepopChildren.getTableRow(this.multipleSelection,0)},ImDept(){this.showdialogIm=!0,this.$refs.ImpopChildren.getTableRow(this.multipleSelection,0)},refurlist(){this.contractList(),this.index=-1}}},d=c,p=(A("892a"),A("2877")),h=Object(p["a"])(d,a,s,!1,null,null,null);t["default"]=h.exports},c4a0:function(e,t,A){"use strict";A("aeef")},c5bc:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticStyle:{width:"60%",margin:"auto"},attrs:{title:e.departTitle,visible:e.showdialog,center:"","close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",staticClass:"form",class:e.disabled?"disable-form":"",attrs:{disabled:e.disabled,"label-width":"120px",model:e.data,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"类型名称:",prop:"name"}},[t("el-input",{attrs:{placeholder:e.placeholder},model:{value:e.data.name,callback:function(t){e.$set(e.data,"name",t)},expression:"data.name"}})],1),t("el-form-item",{attrs:{label:"类型说明:",prop:"note"}},[t("el-input",{staticStyle:{"margin-left":"12px"},attrs:{type:"textarea",placeholder:e.placeholder},model:{value:e.data.note,callback:function(t){e.$set(e.data,"note",t)},expression:"data.note"}})],1)],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e.disabled?e._e():t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)},s=[],r=A("821e"),i={props:["showdialog","data","disabled","isAdd"],components:{},data(){return{title:"",departTitle:"组织详情",placeholder:"请填写",rules:{name:[{required:!0,message:"请输入",trigger:"blur"}]}}},methods:{cancelForm(){this.$emit("update:showdialog",!1)},submitForm(){this.$refs.ruleForm.validate(e=>{e&&(this.isAdd?Object(r["z"])(this.data).then(e=>{200===e.status&&(this.$message.success("添加成功"),this.cancelForm(),this.$emit("getData"))}):Object(r["cc"])(this.data).then(e=>{200===e.status&&(this.$message.success("保存成功"),this.cancelForm(),this.$emit("getData"))}))})}}},o=i,l=(A("232a"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,"07b23247",null);t["default"]=n.exports},c652:function(e,t,A){"use strict";A("920b")},c703:function(e,t,A){"use strict";A("9a47")},c897:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ContainerBox"},[t("section",{staticClass:"ContainerBoxList"},[t("section",{staticClass:"buttonBox"},[t("el-row",{staticClass:"row-bg",attrs:{type:"flex",justify:"space-between"}},[t("el-col",{attrs:{span:8}}),t("el-col",{attrs:{span:16}},[t("div",{staticClass:"rightBox"},["03"!==e.params.industryCode&&"04"!==e.params.industryCode&&"05"!==e.params.industryCode&&"07"!==e.params.industryCode?t("el-cascader",{staticStyle:{width:"100%",margin:"0 20px"},attrs:{placeholder:"请选择监管地区",options:e.areaCityListArr},on:{change:e.placeOfSuperviseCodeChange},model:{value:e.params.superviseDepartIdArr,callback:function(t){e.$set(e.params,"superviseDepartIdArr",t)},expression:"params.superviseDepartIdArr"}}):e._e(),t("el-input",{staticStyle:{width:"600px"},attrs:{placeholder:"输入公司名称",clearable:""},model:{value:e.params.name,callback:function(t){e.$set(e.params,"name",t)},expression:"params.name"}}),t("el-select",{staticStyle:{width:"600px",margin:"0 20px"},attrs:{"collapse-tags":"",multiple:"",clearable:"",placeholder:"请选择审批状态"},model:{value:e.params.statuses,callback:function(t){e.$set(e.params,"statuses",t)},expression:"params.statuses"}},e._l(e.statusesoptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),t("el-button",{attrs:{type:"primary"},on:{click:e.search}},[e._v("查询")]),t("el-button",{attrs:{type:"primary"},on:{click:e.exportExcel}},[e._v("导出")])],1)])],1)],1),t("section",{staticClass:"contentBox"},[t("el-table",{ref:"districtTable",attrs:{data:e.tableDataApprove,"max-height":"750","default-expand-all":"","row-key":"id"},on:{"selection-change":e.handleSelectionChange,"select-all":e.handleSelectionAllChange}},[e._l(e.tableColumn,(function(A,a){return A.show?t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label,width:A.width},scopedSlots:e._u([{key:"default",fn:function(a){return["industryCode"==A.prop?t("span",[e._v(" "+e._s("01"==a.row[A.prop]?"保安行业":"02"==a.row[A.prop]?"大活行业":"03"==a.row[A.prop]?"其他行业":"04"==a.row[A.prop]?"内保行业":"05"==a.row[A.prop]?"合作行业":"06"==a.row[A.prop]?"群防群治行业":"07"==a.row[A.prop]?"行业主管部门":"")+" ")]):"institutionalCode"==A.prop?t("span",[e._v(" "+e._s("0102"==a.row[A.prop]?"保安服务公司":"0103"==a.row[A.prop]?"保安培训单位":"0104"==a.row[A.prop]?"自行招用保安员单位":"0301"==a.row[A.prop]?"其他":"0302"==a.row[A.prop]?"培训机构会员单位":"0401"==a.row[A.prop]?"医院":"0402"==a.row[A.prop]?"文博单位":"0403"==a.row[A.prop]?"中小学、幼儿园":"0404"==a.row[A.prop]?"高校高职":"0405"==a.row[A.prop]?"金融单位":"0406"==a.row[A.prop]?"党政机关":"0501"==a.row[A.prop]?"渠道合作方":"0502"==a.row[A.prop]?"供应商":"0601"==a.row[A.prop]?"社区警务团队":"0701"==a.row[A.prop]?"教育单位":"0702"==a.row[A.prop]?"医疗单位":"0703"==a.row[A.prop]?"金融单位":"0704"==a.row[A.prop]?"文博单位":"0705"==a.row[A.prop]?"党政机关":"0201"==a.row[A.prop]?"活动承办方":"0211"==a.row[A.prop]?"活动运营方":"0212"==a.row[A.prop]?"组委会":"0213"==a.row[A.prop]?"公安局":"0214"==a.row[A.prop]?"体育局":"0215"==a.row[A.prop]?"文旅局":"0216"==a.row[A.prop]?"卫健委":"0217"==a.row[A.prop]?"政法委":"0218"==a.row[A.prop]?"共青团":"0219"==a.row[A.prop]?"社团志愿者团队":"0220"==a.row[A.prop]?"保安公司":"0221"==a.row[A.prop]?"无人机反制公司":"0302"==a.row[A.prop]?"培训机构会员单位":"0301"==a.row[A.prop]?"其他":"")+" ")]):"index"==A.prop?t("span",[e._v(" "+e._s(a.$index+1+e.params.pageSize*(e.params.pageIndex-1))+" ")]):t("span",[e._v(e._s(a.row[A.prop]))])]}}],null,!0)}):e._e()})),t("el-table-column",{attrs:{label:"操作",fixed:"right",width:"200"},scopedSlots:e._u([{key:"default",fn:function(A){return["待审批"===A.row.status?t("el-button",{staticClass:"primaryColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.ApprovedOrgBtn(A.row)}}},[e._v("审批")]):e._e(),t("el-button",{staticClass:"primaryColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.ApprovedOrgDetail(A.row)}}},[e._v("详情")])]}}])})],2),t("pages",{attrs:{total:e.params.total,currentPage:e.params.pageIndex,pageSize:e.params.pageSize},on:{"update:currentPage":function(t){return e.$set(e.params,"pageIndex",t)},"update:current-page":function(t){return e.$set(e.params,"pageIndex",t)},handleCurrentChangeSub:e.handleCurrentChange,handleSizeChangeSub:e.handleSizeChange}})],1),t("el-drawer",{attrs:{title:"详情",visible:e.drawer,direction:e.direction,size:e.size},on:{"update:visible":function(t){e.drawer=t}}},[e.drawer?t("ApproveDetail",{attrs:{organizationId:e.organizationId,formList:e.formList,status:e.status,industryCode:e.params.industryCode}}):e._e()],1)],1),t("ApproveModal",{ref:"approveRef",on:{refresh:e.approveOrgTableList}})],1)},s=[],r=(A("88a7"),A("271a"),A("5494"),A("14d9"),A("821e")),i=A("fb36"),o=A("ef6c"),l=A("4bc7"),n=A("2c46"),c={data(){return{detailList:{},companyName:"",size:"600px",drawer:!1,direction:"rtl",tableData:[],tableDataApprove:[],multipleSelection:[],tableColumn:[{prop:"index",label:"序号",width:"100",show:!0},{prop:"name",label:"公司名称",width:"250",show:!0},{prop:"industryCode",label:"行业类型",width:"100",show:!0},{prop:"institutionalCode",label:"机构类型",width:"150",show:!0},{prop:"placeOfRegister",label:"注册地区",width:"180",show:!0},{prop:"placeOfBusiness",label:"经营地区",width:"180",show:!0},{prop:"superviseRegionName",label:"监管地区",width:"180",show:!0},{prop:"superviseDepartName",label:"监管机构",width:"180",show:!0},{prop:"status",label:"审批状态",width:"180",show:!0},{prop:"createdTime",label:"创建时间",width:"180",show:!0},{prop:"approveTime",label:"审批时间",width:"180",show:!0}],params:{pageIndex:1,pageSize:10,industryCode:"",superviseDepartIdArr:null,name:"",statuses:"",total:0,placeOfSupervise:{province:{code:"",name:""},city:{code:"",name:""},district:{code:"",name:""}}},statusesoptions:[{label:"待审批",value:"Init"},{label:"审批不通过",value:"NoPassed"},{label:"审批通过",value:"Passed"}],areaCityListArr:[],organizationId:"",formList:{},status:""}},components:{selectTree:i["a"],ApproveDetail:l["default"],ApproveModal:n["default"]},async mounted(){let{industryCode:e}=this.$route.query;e&&(this.params.industryCode=e),("03"===e||"04"===e||"05"===e)&&this.tableColumn.forEach(e=>{("superviseRegionName"===e.prop||"superviseDepartName"===e.prop)&&(e.show=!1)}),"06"===e&&this.tableColumn.forEach(e=>{("placeOfRegister"===e.prop||"placeOfBusiness"===e.prop)&&(e.show=!1)}),"07"===e&&this.tableColumn.forEach(e=>{("superviseRegionName"===e.prop||"placeOfRegister"===e.prop||"superviseDepartName"===e.prop)&&(e.show=!1),"placeOfBusiness"===e.prop&&(e.label="办公地区")}),await this.areaCityList(),await this.dictRegisterList(),this.approveOrgTableList()},watch:{multipleSelection(){this.multipleSelection.length?this.disabled=!1:this.disabled=!0}},methods:{areaCityList(){return new Promise(e=>{Object(r["P"])().then(t=>{console.log(t),console.log(5),this.areaCityListArr=t.data,console.log("22",this.areaCityListArr),e(t)})})},dictRegisterList(){return new Promise(e=>{Object(r["eb"])().then(t=>{console.log(6),console.log(t),this.dictRegisterListObj=t.data,e(t)})})},placeOfSuperviseCodeChange(e){console.log(e),console.log("this.params.superviseDepartIdArr",this.params.superviseDepartIdArr),this.params.placeOfSupervise={province:{code:e[0],name:o["CodeToText"][e[0]]},city:{code:e[1],name:o["CodeToText"][e[1]]},district:{code:e[2],name:o["CodeToText"][e[2]]}}},exportExcel(){let e={domainId:this.$route.query.domainId};Object(r["wb"])(this.params,e).then(e=>{console.log(e);const t=e,A=new Blob([t]),a="组织信息.xlsx";if("download"in document.createElement("a")){const e=document.createElement("a");e.download=a,e.style.display="none",e.href=URL.createObjectURL(A),document.body.appendChild(e),e.click(),URL.revokeObjectURL(e.href),document.body.removeChild(e)}else navigator.msSaveBlob(A,a)})},addUser(){this.showdialog=!0},switchHigh(){this.HighSearchFlag=!this.HighSearchFlag},search(){this.params.pageIndex=1,Object(r["B"])(this.params).then(e=>{console.log("response",e),e.data.data&&(this.tableDataApprove=e.data.data,this.params.total=e.data.total)})},highSearch(){this.params.pageIndex=1;let e={domainId:this.$route.query.domainId};Object(r["Nb"])(this.params,e).then(e=>{e.data.data&&(this.tableDataApprove=e.data.data,this.params.total=e.data.total)})},resetSearchForm(){this.defaulData=[],this.$nextTick(()=>{this.$refs.ruleForm.resetFields()})},tableDatalist(){let e={domainId:this.$route.query.domainId};Object(r["w"])(e).then(e=>{e.data&&(this.tableData=e.data,this.sortTableData(this.tableData))})},sortTableData(e){e.length&&e.forEach(e=>{e.displayOrderNumber=e.displayOrder,e.children.length&&this.sortTableData(e.children)}),console.log(this.tableData)},approveOrgTableList(){let e={domainId:this.$route.query.domainId};Object(r["B"])(this.params,e).then(e=>{e.data.data&&(this.tableDataApprove=e.data.data,this.params.total=e.data.total,console.info("approve",e.data.data))})},checkChange(e,t){console.log(e),console.log(t),this.$set(this.params,"departIds",e)},handleCurrentChange(e){console.log(e),this.params.pageIndex=e,this.approveOrgTableList()},handleSizeChange(e){console.log(e),this.params.pageSize=e,this.approveOrgTableList()},handleSelectionChange(e){console.log(e),this.multipleSelection=e},handleSelectionAllChange(e,t){t||(this.isAllSelect=!this.isAllSelect),e.map(e=>{e.children&&(e.children.map(e=>{this.toggleSelection(e,this.isAllSelect)}),e.children.length>0&&this.handleSelectionAllChange(e.children,!0))})},toggleSelection(e,t){t?this.$refs.districtTable.toggleRowSelection(e,t):this.$refs.districtTable.clearSelection()},addDept(){this.showdialog=!0,this.$refs.popChildren.getTableRow({},0)},editStaff(e){this.StaffBoxFlag=!1,this.staffinfo=e},ApprovedOrgBtn(e){this.$refs.approveRef.showModal(e)},patchDel(){let e={domainId:this.$route.query.domainId};this.multipleSelection.length&&this.$confirm("此操作将永久删除此对应数据, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{let t=[];this.multipleSelection.forEach(e=>{t.push(e.id)}),delDepartmentsApi(t,e).then(()=>{this.tableDatalist()})}).catch(()=>{})},importEmployee(){this.showdialogImport=!0},moveDept(){this.showdialogMove=!0,this.$refs.MovepopChildren.getTableRow(this.multipleSelection,0)},ImDept(){this.showdialogIm=!0,this.$refs.ImpopChildren.getTableRow(this.multipleSelection,0)},close(e){this.tableDatalist()},totalMemberClick(e){this.showdialogUser=!0,this.$refs.UserpopChildren.getTableRow(e,0)},refurlist(){this.search()},ApprovedOrgDetail(e){console.log("detail row",e),this.status=e.status,this.drawer=!0,this.organizationId=e.id,this.companyName=e.name;let t={domainId:this.$route.query.domainId};console.info("before params",this.params.industryCode),!this.params.industryCode&&(this.params.industryCode=e.industryCode),Object(r["m"])(e,t).then(e=>{console.log("response1",e),this.formList=e.data||{}})}}},d=c,p=(A("d723"),A("2877")),h=Object(p["a"])(d,a,s,!1,null,null,null);t["default"]=h.exports},c916:function(e,t,A){"use strict";A("6850")},c96c:function(e,t,A){},ca1c:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:e.emplyeeTitle,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"90px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{staticClass:"importStep",attrs:{span:24}},[t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第一步:")]),t("span",{staticClass:"stepText"},[t("a",{on:{click:function(t){return e.DownloadTemplate()}}},[e._v("点击下载导入模板文件")]),t("b",[e._v("(请详细阅读文件中的填写提示,以免导入失败)")])])]),t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第二步:")]),t("span",{staticClass:"stepText"},[t("strong",[e._v("上传填写好的导入文件")]),t("el-upload",{staticClass:"upload-demo",attrs:{action:"","http-request":e.uploadImg,"on-preview":e.handlePreview,"on-remove":e.handleRemove,"before-remove":e.beforeRemove,"on-exceed":e.handleExceed,"show-file-list":!1}},[t("el-button",{attrs:{size:"small"}},[e._v("上传文件")])],1)],1)]),t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第三步:")]),t("span",{staticClass:"stepText"},[t("el-button",{attrs:{type:"primary",disabled:e.disabled},on:{click:e.importOk}},[e._v("点击开始导入")])],1)]),e.resultShow?t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("导入结果:")]),t("span",{staticClass:"stepText stepImportInfo"},[t("p",[t("em",[e._v("导入成功:"+e._s(e.formList.totalSuccess))]),0!=e.formList.totalFailed?t("b",[e._v("导入失败:"+e._s(e.formList.totalFailed))]):e._e(),0!=e.formList.totalFailed?t("i",{on:{click:e.downloadurlClick}},[e._v("点击下载导入失败数据")]):e._e()])])]):e._e()])],1)],1)],1)},s=[],r=A("fb36"),i=A("821e"),o=(A("01ea"),A("4c18")),l={props:["showdialogImport","getTreeDepartlist"],watch:{showdialogImport(){this.dialogFormVisible=this.showdialogImport,this.path="",this.disabled=!0,this.resultShow=!1,this.formList.downloadUrl=""}},components:{selectTree:r["a"]},data(){return{title:"",dialogFormVisible:this.showdialogImport,OperType:0,formList:{},rules:{},path:"",disabled:!0,resultShow:!1,emplyeeTitle:"导入离职",homeTemplateBoradType:localStorage.getItem("homeTemplateBoradType")||""}},methods:{DownloadTemplate(){if("rtpayTemplate"==this.homeTemplateBoradType){let e="static/template/离职员工导入文件模板.xlsx";window.open(e)}else{let e="static/template/离职员工导入模板.xlsx";window.open(e)}},uploadImg(e){Object(o["a"])(e,{onSuccess:e=>{this.path=e,this.path&&(this.disabled=!1)},context:this,domainId:this.$route.query.domainId||"default"})},importOk(){let e={domainId:this.$route.query.domainId};Object(i["I"])(this.path,e).then(e=>{200==e.status&&(this.formList.totalSuccess=e.data.totalSuccess,this.formList.totalFailed=e.data.totalFailed,this.formList.downloadUrl=e.data.downloadUrl,this.resultShow=!0,this.path&&(this.disabled=!0))})},downloadurlClick(){this.formList.downloadUrl&&window.open(this.formList.downloadUrl)},handleRemove(e,t){console.log(e,t)},handlePreview(e){console.log(e)},handleExceed(e,t){this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${e.length} 个文件,共选择了 ${e.length+t.length} 个文件`)},beforeRemove(e,t){return this.$confirm(`确定移除 ${e.name}?`)},getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.formList=A,this.OperType=t,console.log(this.formList.parentId),0==this.OperType?this.title="添加":this.title="编辑"},submitForm(){let e={domainId:this.$route.query.domainId};this.OperType,this.$refs.ruleForm.validate(t=>{if(!t)return!1;0==this.OperType?AddDepartmentsApi(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}}):EditDepartmentsApi(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})})},cancelForm(){this.$emit("update:showdialogImport",!1),this.path&&this.$emit("refurlist",{}),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},n=l,c=(A("74c3"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},cacf:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("section",{staticClass:"staffBoxFlex"},[e._m(0),t("div",{staticClass:"staffContext staffContract"},[t("section",{staticClass:"contentBox"},[t("el-table",{ref:"districtTable",attrs:{data:e.tableData,"max-height":"500","default-expand-all":"","row-key":"id"}},e._l(e.tableColumn,(function(A,a){return A.show?t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label,width:A.width},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v(e._s(a.row[A.prop]))])]}}],null,!0)}):e._e()})),1),t("pages",{attrs:{total:e.params.total,currentPage:e.params.pageIndex,pageSize:e.params.pageSize},on:{"update:currentPage":function(t){return e.$set(e.params,"pageIndex",t)},"update:current-page":function(t){return e.$set(e.params,"pageIndex",t)},handleCurrentChangeSub:e.handleCurrentChange,handleSizeChangeSub:e.handleSizeChange}})],1)])])},s=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"staffTitle"},[t("strong",[e._v("就职记录")])])}],r=A("821e"),i={data(){return{params:{pageIndex:1,pageSize:10,ignorePermission:!0,employeeId:"",total:0},tableData:[],tableColumn:[{prop:"name",label:"姓名",width:"100",show:!0},{prop:"credentialType",label:"证件类型",width:"180",show:!0},{prop:"credentialNumber",label:"证件号",width:"180",show:!0},{prop:"occupationType",label:"职业类型",width:"100",show:!0},{prop:"status",label:"入/离职",width:"100",show:!0},{prop:"actionTime",label:"入/离职时间",width:"120",show:!0},{prop:"actionNode",label:"备注",width:"100",show:!0},{prop:"operatorName",label:"操作人",width:"180",show:!0},{prop:"operatorTime",label:"操作时间",width:"",show:!0}]}},mounted(){this.params.employeeId=this.$parent.$parent.staffinfo.id,this.List(),console.log("staffinfo",this.$parent.$parent.staffinfo)},methods:{List(){Object(r["kb"])(this.params).then(e=>{e.data&&(this.tableData=e.data.data,this.params.total=e.data.total)})},handleCurrentChange(e){console.log(e),this.params.pageIndex=e,this.List()},handleSizeChange(e){console.log(e),this.params.pageSize=e,this.List()}}},o=i,l=(A("c276"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,null,null);t["default"]=n.exports},cbdc:function(e,t,A){"use strict";A("2577")},ce3b:function(e,t,A){"use strict";A("1214")},ce91:function(e,t,A){"use strict";A("b9a3")},d008:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ContainerBox"},[t("section",{staticClass:"buttonBox"},[t("el-row",{attrs:{type:"flex",justify:"space-between",align:"middle"}},[t("el-button",{on:{click:function(t){e.showdialog=!0}}},[e._v("选择显示范围")]),t("el-select",{staticStyle:{margin:"0 16px",width:"250px"},attrs:{multiple:"","collapse-tags":"",multiple:"",placeholder:"选择显示字段"},on:{change:e.change},model:{value:e.value1,callback:function(t){e.value1=t},expression:"value1"}},e._l(e.options,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),t("el-col",{staticStyle:{display:"flex","justify-content":"end"}},[t("el-button",{on:{click:e.download}},[e._v("下载当前架构图")])],1)],1)],1),t("section",{staticClass:"contentBox"},[t("zm-tree-org",{attrs:{disabled:!0,"only-one-node":!1,"node-draggable":!1,"clone-node-drag":!1,data:e.tempDataTree,"on-drag-stop":e.onDragStop,collapsable:"","default-expand-level":1e8},on:{"on-zoom":e.onZoom},scopedSlots:e._u([{key:"default",fn:function({node:A}){var a;return[t("div",{staticClass:"node"},[t("div",{class:A.root?" title title-top":" title title-child"},[t("span",[e._v(e._s(A.label))])]),t("div",{staticClass:"main"},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.value1.includes("1")||e.value1.includes("0"),expression:"value1.includes('1') || value1.includes('0')"}]},[t("span",{staticClass:"ix"},[e._v("组织编码:")]),t("span",[e._v(e._s(A.code||"-"))])]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.value1.includes("0")||e.value1.includes("3"),expression:"value1.includes('0') || value1.includes('3')"}]},[t("span",{staticClass:"ix"},[e._v("联系人:")]),t("span",[e._v(e._s(A.contactName||"-"))])]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.value1.includes("0")||e.value1.includes("4"),expression:"value1.includes('0') || value1.includes('4')"}]},[t("span",{staticClass:"ix"},[e._v("员工数:")]),t("span",[e._v(e._s((null===(a=A.statistics)||void 0===a?void 0:a.countOfMembers)||"-"))])])])])]}}])})],1),t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],attrs:{title:"选择显示范围(点击以选择)",center:"",width:"40%",visible:e.showdialog,"close-on-click-modal":!1},on:{close:function(t){e.showdialog=!1}}},[t("div",{staticStyle:{padding:"18px 32px","max-height":"50vh",overflow:"auto"}},[t("el-input",{attrs:{placeholder:"请输入内容","prefix-icon":"el-icon-search"},model:{value:e.input1,callback:function(t){e.input1=t},expression:"input1"}}),t("el-tree",{ref:"treel",staticClass:"tree",attrs:{"highlight-current":"","empty-text":"暂无数据","node-key":"id","default-expanded-keys":[e.dataTree.id],data:e.dataTreeList,"filter-node-method":e.filterNode},on:{"node-click":e.handleNodeClick}})],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:e.ok}},[e._v("确 定")]),t("el-button",{on:{click:function(t){e.showdialog=!1}}},[e._v("取 消")])],1)])],1)},s=[],r=A("821e"),i=A("c0e9"),o=A.n(i),l={data(){return{node:null,showdialog:!1,value1:["0"],input1:"",defaultProps:{children:"children",label:"label"},options:[{value:"0",label:"全部显示"},{value:"1",label:"组织编码"},{value:"2",label:"组织类型"},{value:"3",label:"联系人"},{value:"4",label:"员工数"}],zoom:1,dataTree:{},dataTreeList:[],tempDataTree:{},copyTempDataTree:{},disabled:!0,style:{background:"#fff",color:"#5e6d82"}}},components:{},created(){this.getAllData()},watch:{input1(e){this.$refs.treel.filter(e)}},methods:{getAllData(){Object(r["Cb"])().then(e=>{e.data&&(this.mapData([e.data]),this.tempDataTree=this.dataTree=e.data,this.dataTreeList=[e.data])})},mapData(e,t=null){e.forEach(e=>{var A;e.value=e.selectedOrganizationId,e.label=e.selectedOrganizationName,e.pid=t,null!==(A=e.children)&&void 0!==A&&A.length&&this.mapData(e.children,e.id)})},handleNodeClick(e){this.node=e},filterNode(e,t){return console.log(e,t),!e||-1!==t.label.indexOf(e)},ok(){if(!this.node)return this.$message.error("请点击树以选择");this.tempDataTree=this.node},chooseMatch(){},change(){this.value1.length||(this.$message.error("请至少选择一个"),this.value1=["0"])},canUpdate(){this.disabled=!this.disabled,this.copyTempDataTree=JSON.parse(JSON.stringify(this.tempDataTree))},restore(){this.getAllData()},save(){this.$message.success("保存成功")},onDragStop(e){console.log(e)},onZoom(e){this.zoom=e,console.log(234)},dragStop(){console.log(22)},download(){if(1!=this.zoom)return this.$message.error("请先缩放到100%");o()(document.querySelector(".tree-org")).then((function(e){var t=e.toDataURL("image/png"),A=document.createElement("a"),a=new MouseEvent("click");A.download=name||"下载图片名称",A.href=t,A.dispatchEvent(a)}))}}},n=l,c=(A("929a"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},d044:function(e,t,A){var a;(function(t,A){e.exports=A()})(0,(function(){function e(e){this.mode=A.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var t=0,a=this.data.length;t65536?(s[0]=240|(1835008&r)>>>18,s[1]=128|(258048&r)>>>12,s[2]=128|(4032&r)>>>6,s[3]=128|63&r):r>2048?(s[0]=224|(61440&r)>>>12,s[1]=128|(4032&r)>>>6,s[2]=128|63&r):r>128?(s[0]=192|(1984&r)>>>6,s[1]=128|63&r):s[0]=r,this.parsedData.push(s)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function t(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}e.prototype={getLength:function(e){return this.parsedData.length},write:function(e){for(var t=0,A=this.parsedData.length;t=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=t.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,A)},setupPositionProbePattern:function(e,t){for(var A=-1;A<=7;A++)if(!(e+A<=-1||this.moduleCount<=e+A))for(var a=-1;a<=7;a++)t+a<=-1||this.moduleCount<=t+a||(this.modules[e+A][t+a]=0<=A&&A<=6&&(0==a||6==a)||0<=a&&a<=6&&(0==A||6==A)||2<=A&&A<=4&&2<=a&&a<=4)},getBestMaskPattern:function(){for(var e=0,t=0,A=0;A<8;A++){this.makeImpl(!0,A);var a=i.getLostPoint(this);(0==A||e>a)&&(e=a,t=A)}return t},createMovieClip:function(e,t,A){var a=e.createEmptyMovieClip(t,A),s=1;this.make();for(var r=0;r>A&1);this.modules[Math.floor(A/3)][A%3+this.moduleCount-8-3]=a}for(A=0;A<18;A++){a=!e&&1==(t>>A&1);this.modules[A%3+this.moduleCount-8-3][Math.floor(A/3)]=a}},setupTypeInfo:function(e,t){for(var A=this.errorCorrectLevel<<3|t,a=i.getBCHTypeInfo(A),s=0;s<15;s++){var r=!e&&1==(a>>s&1);s<6?this.modules[s][8]=r:s<8?this.modules[s+1][8]=r:this.modules[this.moduleCount-15+s][8]=r}for(s=0;s<15;s++){r=!e&&1==(a>>s&1);s<8?this.modules[8][this.moduleCount-s-1]=r:s<9?this.modules[8][15-s-1+1]=r:this.modules[8][15-s-1]=r}this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var A=-1,a=this.moduleCount-1,s=7,r=0,o=this.moduleCount-1;o>0;o-=2){6==o&&o--;while(1){for(var l=0;l<2;l++)if(null==this.modules[a][o-l]){var n=!1;r>>s&1));var c=i.getMask(t,a,o-l);c&&(n=!n),this.modules[a][o-l]=n,s--,-1==s&&(r++,s=7)}if(a+=A,a<0||this.moduleCount<=a){a-=A,A=-A;break}}}}},t.PAD0=236,t.PAD1=17,t.createData=function(e,A,a){for(var s=c.getRSBlocks(e,A),r=new d,o=0;o8*n)throw new Error("code length overflow. ("+r.getLengthInBits()+">"+8*n+")");r.getLengthInBits()+4<=8*n&&r.put(0,4);while(r.getLengthInBits()%8!=0)r.putBit(!1);while(1){if(r.getLengthInBits()>=8*n)break;if(r.put(t.PAD0,8),r.getLengthInBits()>=8*n)break;r.put(t.PAD1,8)}return t.createBytes(r,s)},t.createBytes=function(e,t){for(var A=0,a=0,s=0,r=new Array(t.length),o=new Array(t.length),l=0;l=0?m.get(g):0}}var f=0;for(p=0;p=0)t^=i.G15<=0)t^=i.G18<>>=1;return t},getPatternPosition:function(e){return i.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,A){switch(e){case r.PATTERN000:return(t+A)%2==0;case r.PATTERN001:return t%2==0;case r.PATTERN010:return A%3==0;case r.PATTERN011:return(t+A)%3==0;case r.PATTERN100:return(Math.floor(t/2)+Math.floor(A/3))%2==0;case r.PATTERN101:return t*A%2+t*A%3==0;case r.PATTERN110:return(t*A%2+t*A%3)%2==0;case r.PATTERN111:return(t*A%3+(t+A)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new n([1],0),A=0;A5&&(A+=3+r-5)}for(a=0;a=256)e-=255;return o.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},l=0;l<8;l++)o.EXP_TABLE[l]=1<>>7-e%8&1)},put:function(e,t){for(var A=0;A>>t-A-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var p=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function h(){return"undefined"!=typeof CanvasRenderingContext2D}function u(){var e=!1,t=navigator.userAgent;if(/android/i.test(t)){e=!0;var A=t.toString().match(/android ([0-9]\.[0-9])/i);A&&A[1]&&(e=parseFloat(A[1]))}return e}var m=function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){var t=this._htOption,A=this._el,a=e.getModuleCount();Math.floor(t.width/a),Math.floor(t.height/a);function s(e,t){var A=document.createElementNS("http://www.w3.org/2000/svg",e);for(var a in t)t.hasOwnProperty(a)&&A.setAttribute(a,t[a]);return A}this.clear();var r=s("svg",{viewBox:"0 0 "+String(a)+" "+String(a),width:"100%",height:"100%",fill:t.colorLight});r.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),A.appendChild(r),r.appendChild(s("rect",{fill:t.colorLight,width:"100%",height:"100%"})),r.appendChild(s("rect",{fill:t.colorDark,width:"1",height:"1",id:"template"}));for(var i=0;i=1;d--)arguments[d]=arguments[d]*t;else"undefined"==typeof n&&(arguments[1]*=t,arguments[2]*=t,arguments[3]*=t,arguments[4]*=t);A.apply(this,arguments)}}function a(e,t){var A=this;if(A._fFail=t,A._fSuccess=e,null===A._bSupportDataURI){var a=document.createElement("img"),s=function(){A._bSupportDataURI=!1,A._fFail&&A._fFail.call(A)},r=function(){A._bSupportDataURI=!0,A._fSuccess&&A._fSuccess.call(A)};return a.onabort=s,a.onerror=s,a.onload=r,void(a.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===A._bSupportDataURI&&A._fSuccess?A._fSuccess.call(A):!1===A._bSupportDataURI&&A._fFail&&A._fFail.call(A)}var s=function(e,t){this._bIsPainted=!1,this._android=u(),this._htOption=t,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=t.width,this._elCanvas.height=t.height,e.appendChild(this._elCanvas),this._el=e,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return s.prototype.draw=function(e){var t=this._elImage,A=this._oContext,a=this._htOption,s=e.getModuleCount(),r=a.width/s,i=a.height/s,o=Math.round(r),l=Math.round(i);t.style.display="none",this.clear();for(var n=0;n'],o=0;o");for(var l=0;l');i.push("")}i.push(""),A.innerHTML=i.join("");var n=A.childNodes[0],c=(t.width-n.offsetWidth)/2,d=(t.height-n.offsetHeight)/2;c>0&&d>0&&(n.style.margin=d+"px "+c+"px")},e.prototype.clear=function(){this._el.innerHTML=""},e}();function w(e,t){for(var A=1,a=B(e),r=0,i=p.length;r<=i;r++){var o=0;switch(t){case s.L:o=p[r][0];break;case s.M:o=p[r][1];break;case s.Q:o=p[r][2];break;case s.H:o=p[r][3];break}if(a<=o)break;A++}if(A>p.length)throw new Error("Too long data");return A}function B(e){var t=encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=e?3:0)}return a=function(e,t){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:s.H},"string"===typeof t&&(t={text:t}),t)for(var A in t)this._htOption[A]=t[A];"string"==typeof e&&(e=document.getElementById(e)),this._htOption.useSVG&&(f=m),this._android=u(),this._el=e,this._oQRCode=null,this._oDrawing=new f(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},a.prototype.makeCode=function(e){this._oQRCode=new t(w(e,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(e),this._oQRCode.make(),this._el.title=e,this._oDrawing.draw(this._oQRCode),this.makeImage()},a.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},a.prototype.clear=function(){this._oDrawing.clear()},a.CorrectLevel=s,a}))},d12a:function(e,t,A){},d230:function(e,t,A){e.exports=A.p+"static/img/staffAvatar.32d97326.png"},d2bb:function(e,t,A){"use strict";var a=A("7282"),s=A("825a"),r=A("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,A={};try{e=a(Object.prototype,"__proto__","set"),e(A,[]),t=A instanceof Array}catch(i){}return function(A,a){return s(A),r(a),t?e(A,a):A.__proto__=a,A}}():void 0)},d2bd:function(e,t,A){},d377:function(e,t,A){},d3e8:function(e,t,A){"use strict";A("03ed")},d494:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-double el-dialog-user",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"130px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("section",{staticClass:"UserSearchBoX"},[t("span",{staticClass:"searchArea"},[t("el-input",{staticClass:"inputSearchUser",staticStyle:{width:"45%"},attrs:{placeholder:"输入姓名/账号/手机号/证件号码",clearable:""},model:{value:e.params.keyword,callback:function(t){e.$set(e.params,"keyword",t)},expression:"params.keyword"}}),t("el-button",{attrs:{type:"primary"},on:{click:e.search}},[e._v("查询")])],1)])])],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("section",{staticClass:"TableSelectBox"},[t("span",[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),e._l(e.multipleSelection,(function(A,a){return t("span",{key:a},[e._v(e._s(A.name)),a!=e.multipleSelection.length-1?t("b",[e._v(",")]):e._e()])}))],2)])])],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-table",{ref:"districtTable",attrs:{data:e.tableData,"max-height":"750","default-expand-all":"","row-key":"id"},on:{"selection-change":e.handleSelectionChange,"select-all":e.handleSelectionAllChange}},[t("el-table-column",{attrs:{type:"selection",width:"55"}}),e._l(e.tableColumn,(function(A,a){return A.show?t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label,width:A.width},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v(e._s(a.row[A.prop]))])]}}],null,!0)}):e._e()}))],2),t("pages",{attrs:{total:e.params.total,currentPage:e.params.pageIndex,pageSize:e.params.pageSize},on:{"update:currentPage":function(t){return e.$set(e.params,"pageIndex",t)},"update:current-page":function(t){return e.$set(e.params,"pageIndex",t)},handleCurrentChangeSub:e.handleCurrentChange,handleSizeChangeSub:e.handleSizeChange}})],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)],1)},s=[],r=A("fb36"),i=A("821e"),o={props:["showdialogUser"],watch:{showdialogUser(){this.dialogFormVisible=this.showdialogUser},multipleSelection(){this.multipleSelection.length?this.disabled=!1:this.disabled=!0}},components:{selectTree:r["a"]},data(){return{title:"",dialogFormVisible:this.showdialogUser,OperType:0,formList:{},rules:{},tableColumn:[{prop:"name",label:"姓名",width:"180",show:!0},{prop:"telephone",label:"手机号",width:"180",show:!0},{prop:"credentialType",label:"证件类型",width:"180",show:!0},{prop:"credentialNumber",label:"证件号码",width:"180",show:!0},{prop:"checkedStatus",label:"证件核验状态",width:"180",show:!0},{prop:"occupationType",label:"职业类型",width:"180",show:!0}],tableData:[],params:{pageIndex:1,pageSize:10,keyword:"",departIds:[],total:0},multipleSelection:[],disabled:!0,showdialogMove:!1}},methods:{getTableRow(e,t){console.log(e),this.title=e.name+" 成员列表",this.params.departIds=[e.id],this.params.keyword="",this.tableDatalist()},tableDatalist(){let e={domainId:this.$route.query.domainId};Object(i["y"])(this.params,e).then(e=>{e.data.data&&(this.tableData=e.data.data,this.params.total=e.data.total)})},search(){console.log(this.params),this.params.pageIndex=1;let e={domainId:this.$route.query.domainId};Object(i["t"])(this.params,e).then(e=>{e.data.data&&(this.tableData=e.data.data,this.params.total=e.data.total)})},handleCurrentChange(e){this.params.pageIndex=e,this.tableDatalist()},handleSizeChange(e){this.params.pageSize=e,this.tableDatalist()},handleSelectionChange(e){console.log(e),this.multipleSelection=e},handleSelectionAllChange(e,t){t||(this.isAllSelect=!this.isAllSelect),e.map(e=>{e.children&&(e.children.map(e=>{this.toggleSelection(e,this.isAllSelect)}),e.children.length>0&&this.handleSelectionAllChange(e.children,!0))})},submitForm(){this.$emit("filterChooseData",this.multipleSelection),this.$emit("update:showdialogUser",!1)},cancelForm(){this.$emit("update:showdialogUser",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},l=o,n=(A("3759"),A("2877")),c=Object(n["a"])(l,a,s,!1,null,null,null);t["default"]=c.exports},d57f:function(e,t,A){"use strict";A.r(t),A.d(t,"validatePhone",(function(){return o}));var a=function(){var e=this,t=e._self._c;return t("section",[t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-double el-dialog-moveSuper",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("section",{staticClass:"remarkBox"},[t("div",{staticClass:"remarkInfo"},[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),t("span",[e._v(" 1. 要离职的"+e._s(e.$SuperviseStr.employee)+"中以下人员为其他"+e._s(e.$SuperviseStr.employee)+"的上级,请先转移上级身份到新的"+e._s(e.$SuperviseStr.employee)+"或选择删除上级身份后再离职。"),t("br"),e._v(" 2. 删除上级身份后,原下级"+e._s(e.$SuperviseStr.employee)+"的“上级”信息将被清空,转为无上级状态。 ")])])]),t("el-form",{ref:"ruleForm",attrs:{"label-width":"90px",model:e.formList,rules:e.rules}},[t("el-table",{ref:"districtTable",attrs:{data:e.newRowData,"max-height":"750"}},[t("el-table-column",{attrs:{label:"姓名",prop:"name",width:"200"}}),t("el-table-column",{attrs:{label:"转移给新上级",prop:"",width:"300"},scopedSlots:e._u([{key:"default",fn:function(A){return[t("el-select",{attrs:{filterable:"","filter-method":e.filterMethod,clearable:"",disabled:A.row.newdisabled,placeholder:"请选择"},on:{change:e.selectUser},model:{value:A.row.newSuperiorId,callback:function(t){e.$set(A.row,"newSuperiorId",t)},expression:"scope.row.newSuperiorId"}},e._l(e.tableDataEmployee,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)]}}])}),t("el-table-column",{attrs:{label:"",prop:"",width:""},scopedSlots:e._u([{key:"default",fn:function(A){return[t("span",[t("el-checkbox",{on:{change:function(t){return e.delCheck(A.row)}},model:{value:A.row.check,callback:function(t){e.$set(A.row,"check",t)},expression:"scope.row.check"}},[e._v("删除上级身份")])],1)]}}])})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)],1)},s=[],r=(A("d9e2"),A("14d9"),A("fb36")),i=A("821e");function o(e,t,A){setTimeout(()=>{/^[1][3,4,5,7,8,9][0-9]{9}$/.test(t)?A():A(new Error("请输入正确的手机号"))},500)}var l={props:["showdialogMoveSuper","getTreeDepartlist"],watch:{showdialogMoveSuper(){this.dialogFormVisible=this.showdialogMoveSuper,this.defaulDataParent=[]}},components:{selectTree:r["a"]},data(){return{title:"转移上级身份",dialogFormVisible:this.showdialogMoveSuper,OperType:0,formList:{},params:{pageIndex:1,pageSize:10,keyword:"",total:0},rules:{},defaulDataParent:"",defaulData:[],tableDataEmployee:[],newRowData:[]}},methods:{getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));console.log(A),this.newRowData=A,this.newRowData.forEach(e=>{this.$set(e,"check",!1),this.$set(e,"newdisabled",!1),this.$set(e,"newSuperiorId",null),this.$set(e,"originalSuperiorId",e.id)}),console.log(this.newRowData),this.OperType=t,this.employeeTableList()},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"departId",e),console.log(this.formList.departId)},checkChange(e,t){},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},employeeTableList(){let e={domainId:this.$route.query.domainId};Object(i["mb"])(this.params,e).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},filterMethod(e){console.log(e),this.params.keyword=e;let t={domainId:this.$route.query.domainId};Object(i["mb"])(this.params,t).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},selectUser(e){console.log(e)},delCheck(e){console.log(e),e.check?(e.newdisabled=!0,e.newSuperiorId=null):e.newdisabled=!1},submitForm(){let e=[];this.newRowData.forEach(t=>{let A={};A.originalSuperiorId=t.originalSuperiorId,A.newSuperiorId=t.newSuperiorId,e.push(A)});let t={domainId:this.$route.query.domainId};this.$refs.ruleForm.validate(A=>{if(!A)return!1;this.$confirm(`即将对选择的${$SuperviseStr.employee}进行离职,提交后无法恢复,是否继续?`,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(i["j"])(e,t).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.newRowData));this.$emit("refurlist",e),this.cancelForm()}})}).catch(e=>{console.log(e),console.log(e.response)})})},cancelForm(){this.$emit("update:showdialogMoveSuper",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},n=l,c=(A("1fc4"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},d58f:function(e,t,A){"use strict";var a=A("59ed"),s=A("7b0b"),r=A("44ad"),i=A("07fa"),o=TypeError,l=function(e){return function(t,A,l,n){var c=s(t),d=r(c),p=i(c);a(A);var h=e?p-1:0,u=e?-1:1;if(l<2)while(1){if(h in d){n=d[h],h+=u;break}if(h+=u,e?h<0:p<=h)throw new o("Reduce of empty array with no initial value")}for(;e?h>=0:p>h;h+=u)h in d&&(n=A(n,d[h],h,c));return n}};e.exports={left:l(!1),right:l(!0)}},d6a2:function(e,t,A){},d6b7:function(e,t,A){"use strict";A("77c8")},d6d6:function(e,t,A){"use strict";var a=TypeError;e.exports=function(e,t){if(e{console.log(e);const t=e,A=new Blob([t]),a="导出.xls";if("download"in document.createElement("a")){const e=document.createElement("a");e.download=a,e.style.display="none",e.href=URL.createObjectURL(A),document.body.appendChild(e),e.click(),URL.revokeObjectURL(e.href),document.body.removeChild(e)}else navigator.msSaveBlob(A,a)})},exportExcelWord(e){let t={domainId:this.$route.query.domainId};Object(r["vb"])(e,t).then(e=>{console.log(e);const t=e,A=new Blob([t]),a="离职证明.doc";if("download"in document.createElement("a")){const e=document.createElement("a");e.download=a,e.style.display="none",e.href=URL.createObjectURL(A),document.body.appendChild(e),e.click(),URL.revokeObjectURL(e.href),document.body.removeChild(e)}else navigator.msSaveBlob(A,a)})},addUserLeave(){this.showdialog=!0,this.$refs.popChildren.getTableRow({},0)},search(){this.params.pageIndex=1;let e={domainId:this.$route.query.domainId};console.log("params",this.params.startEndDate),this.$set(this.params,"startDate",this.params.startEndDate&&this.params.startEndDate[0]||""),this.$set(this.params,"endDate",this.params.startEndDate&&this.params.startEndDate[1]||""),Object(r["nb"])(this.params,e).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},tableDatalist(){let e={domainId:this.$route.query.domainId};Object(r["w"])(e,!0).then(e=>{e.data&&(this.tableData=e.data,this.sortTableData(this.tableData))})},sortTableData(e){e.length&&e.forEach(e=>{e.displayOrderNumber=e.displayOrder,e.children.length&&this.sortTableData(e.children)}),console.log(this.tableData)},employeeTableLeaveList(){let e={domainId:this.$route.query.domainId};Object(r["nb"])(this.params,e).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},checkChange(e,t){console.log(e),console.log(t),this.$set(this.params,"departIds",e)},handleCurrentChange(e){console.log(e),this.params.pageIndex=e,this.employeeTableLeaveList()},handleSizeChange(e){console.log(e),this.params.pageSize=e,this.employeeTableLeaveList()},handleSelectionChange(e){console.log(e),this.multipleSelection=e},handleSelectionAllChange(e,t){t||(this.isAllSelect=!this.isAllSelect),e.map(e=>{e.children&&(e.children.map(e=>{this.toggleSelection(e,this.isAllSelect)}),e.children.length>0&&this.handleSelectionAllChange(e.children,!0))})},toggleSelection(e,t){t?this.$refs.districtTable.toggleRowSelection(e,t):this.$refs.districtTable.clearSelection()},addDept(){this.showdialog=!0,this.$refs.popChildren.getTableRow({},0)},BackEmp(e){this.showdialogBack=!0,this.$refs.popChildrenBack.getTableRow(e,1)},delDept(e){let t=[e.id],A={domainId:this.$route.query.domainId};""!=Object.keys(e)&&this.$confirm("此操作将永久删除此对应数据, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{delDepartmentsApi(t,A).then(()=>{this.tableDatalist()})}).catch(()=>{})},patchDel(){let e={domainId:this.$route.query.domainId};this.multipleSelection.length&&this.$confirm("此操作将永久删除此对应数据, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{let t=[];this.multipleSelection.forEach(e=>{t.push(e.id)}),delDepartmentsApi(t,e).then(()=>{this.tableDatalist()})}).catch(()=>{})},importEmployee(){this.showdialogImport=!0},moveDept(){this.showdialogMove=!0,this.$refs.MovepopChildren.getTableRow(this.multipleSelection,0)},ImDept(){this.showdialogIm=!0,this.$refs.ImpopChildren.getTableRow(this.multipleSelection,0)},close(e){this.tableDatalist()},totalMemberClick(e){this.showdialogUser=!0,this.$refs.UserpopChildren.getTableRow(e,0)},refurlist(){this.employeeTableLeaveList()},EmpRecordViews(e){this.showEmpRecorddialog=!0,this.$refs.popChildrenEmpRecord.getTableRow(e,1)}}},p=d,h=(A("f5f7"),A("2877")),u=Object(h["a"])(p,a,s,!1,null,null,null);t["default"]=u.exports},dcc2:function(e,t,A){},dcd0:function(e,t,A){e.exports=A.p+"static/img/md5__d6064a5d0a9053e2caa47a73e1ccd2d6.d6064a5d.svg"},dd27:function(e,t,A){},de29:function(e,t,A){e.exports=A.p+"static/img/staffAvatar200.32d97326.png"},e1e1:function(e,t,A){"use strict";A.r(t),A.d(t,"validatePhone",(function(){return l}));var a=function(){var e=this,t=e._self._c;return t("section",[t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single el-dialog-contract",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"300px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.employeelabel,prop:""}},e._l(e.multipleArr,(function(A,a){return t("span",{key:A.id},[t("em",[e._v(e._s(A.name))]),a!==e.multipleArr.length-1?t("b",[e._v(", ")]):e._e()])})),0)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"应用角色权限:",prop:""}},[t("el-checkbox",{on:{change:e.RoleCheckAll},model:{value:e.rolecheck,callback:function(t){e.rolecheck=t},expression:"rolecheck"}},[e._v("全选")]),t("el-tree",{ref:"tree",attrs:{data:e.AuthAppRoledata,"show-checkbox":"","node-key":"id",props:e.defaultProps}})],1)],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)],1)},s=[],r=(A("d9e2"),A("14d9"),A("fb36")),i=A("fc2d"),o=A("821e");function l(e,t,A){setTimeout(()=>{/^[1][3,4,5,7,8,9][0-9]{9}$/.test(t)?A():A(new Error("请输入正确的手机号"))},500)}var n={props:["showdialog"],watch:{showdialog(){this.dialogFormVisible=this.showdialog,this.defaulDataParent=[]}},components:{selectTree:r["a"],MoveSuperDialog:i["default"]},data(){return{title:"",dialogFormVisible:this.showdialog,OperType:0,formList:{},params:{pageIndex:1,pageSize:10,keyword:"",total:0},rules:{},defaulDataParent:"",defaulData:[],tableDataEmployee:[],resultArr:[],showdialogMoveSuper:!1,fileList:[],disabledUser:!1,multipleArr:[],AuthAppRoledata:[],defaultProps:{children:"responses",label:"name"},rolecheck:!1,employeelabel:`要授权的${$SuperviseStr.employee}:`,PrevRoleIds:[],AuthAppRoledataAll:[]}},methods:{async getTableRow(e,t,A){this.multipleArr=e;let a=JSON.parse(JSON.stringify(e));if(this.OperType=t,this.rolecheck=!1,this.title="授权",await this.myappsAuthList(),this.$refs.tree.setCheckedKeys([]),a[0].id){let e={domainId:this.$route.query.domainId},t=[];Object(o["r"])(a[0].id,e).then(e=>{e.data&&e.data.apps.length&&(e.data.apps.forEach(e=>{e.roles.length&&e.roles.forEach(e=>{t.push(e.id)})}),this.PrevRoleIds=t,this.$refs.tree.setCheckedKeys(t))})}},myappsAuthList(){let e={domainId:this.$route.query.domainId};Object(o["Qb"])(e).then(e=>{if(200==e.status){this.AuthAppRoledataAll=e.data;let t=e.data,A=t&&t.filter(e=>(e.responses.length&&e.responses.filter(e=>e.show),e.show));this.AuthAppRoledata=A}})},RoleCheckAll(){this.rolecheck?this.$refs.tree.setCheckedNodes(this.AuthAppRoledata):this.$refs.tree.setCheckedNodes([])},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"departId",e),console.log(this.formList.departId)},checkChange(e,t){},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},employeeTableList(){let e={domainId:this.$route.query.domainId};employeeTableListApi(this.params,e).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},filterMethod(e){console.log(e),this.params.keyword=e;let t={domainId:this.$route.query.domainId};employeeTableListApi(this.params,t).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},selectUser(e){console.log(e),console.log(this.tableDataEmployee);let t=[];t=this.tableDataEmployee.filter(t=>e.indexOf(t.id)>-1),t.forEach(e=>{this.resultArr.push(e)});let A=this.resultArr.filter(t=>e.indexOf(t.id)>-1);this.resultArr=A,this.resultArr=[...new Set(this.resultArr)],console.log(this.resultArr)},removetag(e){console.log(e),this.resultArr.forEach(t=>{t.id==e&&this.resultArr.splice(t,1)}),console.log(this.resultArr)},uploadImg(e){__network__?this.obsFile(e):this.InFileUpload(e)},obsFile(e){console.log(e);var t=this,A=this.$route.query.domainId||"default";let a=new Date,s=a.getFullYear(),r=a.getMonth()+1<10?"0"+(a.getMonth()+1):a.getMonth()+1,i=a.getDate()<10?"0"+a.getDate():a.getDate(),o=r+"-"+i;var l=`uploads/${s}/${o}/${A}/${a.getTime()}/${e.file.name}`,n=new ObsClient({access_key_id:ak,secret_access_key:sk,server:urlserver,timeout:300});n.putObject({Bucket:BucketName,Key:l,SourceFile:e.file}).then((function(A){if(console.log(A),A.CommonMsg.Status<300){t.$message({type:"success",message:"上传成功"}),console.log("Create object:"+l+" successfully!\n");var a=`https://${BucketName}.${urlserver}/${l}`;a=convertCdnPath(a),t.$set(t.formList,"attachment",a);let A={};A.name=e.file.name,A.url=a,t.fileList=[A],t.path&&(t.disabled=!1)}}))},InFileUpload(e){let t=new FormData;t.append("file",e.file),Object(o["R"])(t).then(e=>{let t=new Response(e).json();t.then(e=>{console.log(e.data),e.data&&(this.path=window.location.origin+"/obpm"+e.data,this.disabled=!1)})})},handleRemove(e,t){console.log(e,t)},handlePreview(e){console.log(e)},handleExceed(e,t){this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${e.length} 个文件,共选择了 ${e.length+t.length} 个文件`)},beforeRemove(e,t){return this.$confirm(`确定移除 ${e.name}?`)},checkEndDate(e){e?(this.$set(this.formList,"disabledEndDate",!0),this.$set(this.formList,"endDate",null),this.rules.endDate[0].required=!1):(this.$set(this.formList,"disabledEndDate",!1),this.rules.endDate[0].required=!0)},submitForm(){this.$refs.ruleForm.validate(e=>{if(!e)return!1;{let e=[];this.multipleArr.forEach(t=>{e.push(t.id)});let t=[];if(!this.$refs.tree.getCheckedNodes().length)return void this.$message({type:"warning",message:"请选择应用角色权限"});this.$refs.tree.getCheckedNodes().forEach(e=>{e.dataType&&t.push(e.id)});let A={domainId:this.$route.query.domainId};console.log(this.PrevRoleIds);let a=[];this.PrevRoleIds.length&&this.PrevRoleIds.forEach(e=>{this.AuthAppRoledataAll.length&&this.AuthAppRoledataAll.forEach(t=>{t.responses.length&&t.responses.forEach(t=>{e!=t.id||t.show||a.push(e)})})});let s=t.concat(a);console.log(t),console.log(a),console.log(s),Object(o["a"])(e,s,A).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})}})},cancelForm(){this.$emit("update:showdialog",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))},refurlist(){}}},c=n,d=(A("7b8e"),A("2877")),p=Object(d["a"])(c,a,s,!1,null,null,null);t["default"]=p.exports},e391:function(e,t,A){"use strict";var a=A("577e");e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:a(e)}},e3ba:function(e,t,A){},e418:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:e.emplyeeTitle,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"90px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{staticClass:"importStep",attrs:{span:24}},[t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第一步:")]),t("span",{staticClass:"stepText"},[t("a",{on:{click:function(t){return e.DownloadTemplate()}}},[e._v("点击下载导入模板文件")]),t("b",[e._v("(请详细阅读文件中的填写提示,以免导入失败)")])])]),t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第二步:")]),t("span",{staticClass:"stepText"},[t("strong",[e._v("上传填写好的导入文件")]),t("el-upload",{staticClass:"upload-demo",attrs:{action:"","http-request":e.uploadImg,"on-preview":e.handlePreview,"on-remove":e.handleRemove,"before-remove":e.beforeRemove,"on-exceed":e.handleExceed,"show-file-list":!1}},[t("el-button",{attrs:{size:"small"}},[e._v("上传文件")])],1)],1)]),t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("第三步:")]),t("span",{staticClass:"stepText"},[t("el-button",{attrs:{type:"primary",disabled:e.disabled},on:{click:e.importOk}},[e._v("点击开始导入")])],1)]),e.resultShow?t("div",{staticClass:"step"},[t("span",{staticClass:"stepTitle"},[e._v("导入结果:")]),t("span",{staticClass:"stepText stepImportInfo"},[t("p",[t("em",[e._v("导入成功:"+e._s(e.formList.totalSuccess))]),0!=e.formList.totalFailed?t("b",[e._v("导入失败:"+e._s(e.formList.totalFailed))]):e._e(),0!=e.formList.totalFailed?t("i",{on:{click:e.downloadurlClick}},[e._v("点击下载导入失败数据")]):e._e()])])]):e._e()])],1)],1)],1)},s=[],r=(A("88a7"),A("271a"),A("5494"),A("fb36")),i=A("821e"),o=(A("01ea"),A("4c18")),l={props:["showdialogImport","getTreeDepartlist"],watch:{showdialogImport(){this.dialogFormVisible=this.showdialogImport,this.path="",this.disabled=!0,this.resultShow=!1,this.formList.downloadUrl=""}},components:{selectTree:r["a"]},data(){return{title:"",dialogFormVisible:this.showdialogImport,OperType:0,formList:{},rules:{},path:"",disabled:!0,resultShow:!1,emplyeeTitle:"导入"+$SuperviseStr.employee,homeTemplateBoradType:localStorage.getItem("homeTemplateBoradType")||""}},methods:{DownloadTemplate(){if("rtpayTemplate"==this.homeTemplateBoradType){let e="static/template/员工导入文件模板.xlsx";window.open(e)}else this.downloadEmployeeExcel()},downloadEmployeeExcel(){let e={domainId:this.$route.query.domainId};Object(i["hb"])(this.formList,e).then(e=>{const t=e,A=new Blob([t]);localStorage.getItem("domainName");const a=$SuperviseStr.employee+"导入模板.xls";if("download"in document.createElement("a")){const e=document.createElement("a");e.download=a,e.style.display="none",e.href=URL.createObjectURL(A),document.body.appendChild(e),e.click(),URL.revokeObjectURL(e.href),document.body.removeChild(e)}else navigator.msSaveBlob(A,a)})},uploadImg(e){Object(o["a"])(e,{onSuccess:e=>{this.path=e,this.path&&(this.disabled=!1)},context:this,domainId:this.$route.query.domainId||"default"})},importOk(){let e={domainId:this.$route.query.domainId};Object(i["H"])(this.path,e).then(e=>{200==e.status&&(this.formList.totalSuccess=e.data.totalSuccess,this.formList.totalFailed=e.data.totalFailed,this.formList.downloadUrl=e.data.downloadUrl,this.resultShow=!0,this.path&&(this.disabled=!0))})},downloadurlClick(){this.formList.downloadUrl&&window.open(this.formList.downloadUrl)},handleRemove(e,t){console.log(e,t)},handlePreview(e){console.log(e)},handleExceed(e,t){this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${e.length} 个文件,共选择了 ${e.length+t.length} 个文件`)},beforeRemove(e,t){return this.$confirm(`确定移除 ${e.name}?`)},getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.formList=A,this.OperType=t,console.log(this.formList.parentId),0==this.OperType?this.title="添加":this.title="编辑"},submitForm(){let e={domainId:this.$route.query.domainId};this.OperType,this.$refs.ruleForm.validate(t=>{if(!t)return!1;0==this.OperType?AddDepartmentsApi(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}}):EditDepartmentsApi(this.formList,e).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})})},cancelForm(){this.$emit("update:showdialogImport",!1),this.path&&this.$emit("refurlist",{}),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},n=l,c=(A("380c"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},e5a4:function(e,t,A){},e5cb:function(e,t,A){"use strict";var a=A("d066"),s=A("1a2d"),r=A("9112"),i=A("3a9b"),o=A("d2bb"),l=A("e893"),n=A("aeb0"),c=A("7156"),d=A("e391"),p=A("ab36"),h=A("6f19"),u=A("83ab"),m=A("c430");e.exports=function(e,t,A,g){var f="stackTraceLimit",w=g?2:1,B=e.split("."),b=B[B.length-1],C=a.apply(null,B);if(C){var y=C.prototype;if(!m&&s(y,"cause")&&delete y.cause,!A)return C;var v=a("Error"),Q=t((function(e,t){var A=d(g?t:e,void 0),a=g?new C(e):new C;return void 0!==A&&r(a,"message",A),h(a,Q,a.stack,2),this&&i(y,this)&&c(a,this,Q),arguments.length>w&&p(a,arguments[w]),a}));if(Q.prototype=y,"Error"!==b?o?o(Q,v):l(Q,v,{name:!0}):u&&f in C&&(n(Q,C,f),n(Q,C,"prepareStackTrace")),l(Q,C),!m)try{y.name!==b&&r(y,"name",b),y.constructor=Q}catch(F){}return Q}}},e6df:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ContainerBox"},[e.domainAdmin||e.permissionsStr.indexOf("RoleManage")>-1?t("div",[t("section",{staticClass:"remarkBox"},[t("div",{staticClass:"remarkInfo"},[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),t("span",[e._v(" 1. 您可以为在职"+e._s(e.$SuperviseStr.employee)+"授权角色权限,授权权限后,"+e._s(e.$SuperviseStr.employee)+"登录系统即可看到并操作相应功能。"),t("br"),e._v(" 2. 应用下的角色不互通,请准确勾选相应应用的权限。 ")])])]),t("section",{staticClass:"buttonBox"},[t("el-row",{staticClass:"row-bg",attrs:{type:"flex",justify:"space-between"}},[t("el-col",{attrs:{span:12}},[t("div",[t("el-button",{attrs:{type:"primary",disabled:e.disabled},on:{click:e.addAuth}},[e._v("批量设置权限")]),t("el-button",{attrs:{type:"danger",disabled:e.disabled},on:{click:e.patchDel}},[e._v("批量清除")])],1)]),t("el-col",{attrs:{span:12}},[t("div",{staticClass:"rightBox"},[t("el-input",{staticStyle:{width:"80%"},attrs:{placeholder:"输入姓名/账号/手机号/证件号码",clearable:""},model:{value:e.params.keyword,callback:function(t){e.$set(e.params,"keyword",t)},expression:"params.keyword"}}),t("selectTree",{ref:"selectTree",attrs:{curValue:e.defaulData,data:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",multiple:"",collapseTags:"",placeholder:e.placeholderSelectDepart},on:{getValue:e.checkChange,selectClickT:e.selectClickT}}),t("el-select",{staticStyle:{margin:"0 10px"},attrs:{multiple:"","collapse-tags":"",placeholder:"选择职业类型"},model:{value:e.params.occupationTypes,callback:function(t){e.$set(e.params,"occupationTypes",t)},expression:"params.occupationTypes"}},e._l(e.occupationTypeArr,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1),t("el-button",{attrs:{type:"primary"},on:{click:e.search}},[e._v("查询")])],1)])],1)],1),e.multipleSelection.length?t("section",{staticClass:"TableSelectBox"},[t("span",[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),e._v("已选中:"),e._l(e.multipleSelection,(function(A,a){return t("span",{key:a},[e._v(e._s(A.name)),a!=e.multipleSelection.length-1?t("b",[e._v(",")]):e._e()])}))],2)]):e._e(),t("section",{staticClass:"contentBox"},[t("el-table",{ref:"districtTable",attrs:{data:e.tableDataAuth,"max-height":"500","default-expand-all":"","row-key":"id"},on:{"selection-change":e.handleSelectionChange,"select-all":e.handleSelectionAllChange}},[t("el-table-column",{attrs:{type:"selection",width:"55"}}),e._l(e.tableColumn,(function(A,a){return A.show?t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label,width:A.width,fixed:"姓名"==A.label},scopedSlots:e._u([{key:"default",fn:function(a){return["permission"==A.prop?t("span",[t("el-popover",{attrs:{placement:"right-end",title:"应用权限",width:"100%",trigger:"hover",content:a.row.permission}},[t("span",{staticClass:"slotinfo",attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(a.row.permission))])])],1):t("span",[e._v(e._s(a.row[A.prop]))])]}}],null,!0)}):e._e()})),t("el-table-column",{attrs:{label:"操作","min-width":"180"},scopedSlots:e._u([{key:"default",fn:function(A){return[t("el-button",{staticClass:"primaryColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.Edit(A.row)}}},[e._v("授权")]),t("el-button",{staticClass:"dangerColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.clear(A.row)}}},[e._v("清除")])]}}],null,!1,165953804)})],2),t("pages",{attrs:{total:e.params.total,currentPage:e.params.pageIndex,pageSize:e.params.pageSize},on:{"update:currentPage":function(t){return e.$set(e.params,"pageIndex",t)},"update:current-page":function(t){return e.$set(e.params,"pageIndex",t)},handleCurrentChangeSub:e.handleCurrentChange,handleSizeChangeSub:e.handleSizeChange}})],1),t("AuthDialog",{ref:"popChildren",attrs:{showdialog:e.showdialog},on:{"update:showdialog":function(t){e.showdialog=t},refurlist:e.refurlist}})],1):t("div",{staticClass:"noAuth"},[e._v("您不是组织管理员或部门管理员,没有授权权限!")])])},s=[],r=(A("14d9"),A("821e")),i=A("e1e1"),o=A("2e92"),l=A("4478"),n=A("fb36"),c={inject:["permissions"],computed:{permissionsStr(){return this.permissions()}},data(){return{tableData:[],tableDataAuth:[],multipleSelection:[],tableColumn:[{prop:"name",label:"姓名",width:"180",show:!0},{prop:"telephone",label:"手机号",width:"180",show:!0},{prop:"departName",label:"所在"+$SuperviseStr.depart,width:"180",show:!0},{prop:"occupationType",label:"职业类型",width:"180",show:!0},{prop:"permission",label:"应用权限",width:"",show:!0}],params:{pageIndex:1,pageSize:10,keyword:"",total:0},showdialog:!1,showdialogBack:!1,disabled:!0,isAllSelect:!1,displayOrderShow:!1,showdialogImport:!1,credentialTypesoptions:[{value:"IdCard",label:"居民身份证/户口簿"},{value:"IdCardOfXiangGang",label:"香港特区护照/身份证明"},{value:"IdCardOfAoMen",label:"澳门特区护照/身份证明"},{value:"IdCardOfTaiwan",label:"台湾居民来往大陆通行证"},{value:"Passport",label:"外国护照"},{value:"Arms",label:"退伍军人证"},{value:"PoliceNo",label:"警号"}],occupationTypeArr:[],authenticatedStatusesoptions:[{value:"UnAuthenticated",label:"未认证"},{value:"Authenticating",label:"认证中"},{value:"Failed",label:"认证失败"},{value:"Passed",label:"已认证"}],defaulData:[],HighSearchFlag:!1,getTreeDepartlist:[],placeholderSelectDepart:"请选择"+$SuperviseStr.depart,homeTemplateBoradType:localStorage.getItem("homeTemplateBoradType")||"",domainAdmin:"true"==localStorage.getItem("domainAdmin")}},components:{selectTree:n["a"],AuthDialog:i["default"],UserEmployeeBackDialog:o["default"],ImportContractDialog:l["default"]},updated(){this.$refs.districtTable&&this.$refs.districtTable.doLayout()},mounted(){"rtpayTemplate"==this.homeTemplateBoradType?(this.occupationTypeArr=[{label:"一般职员",value:"Normal"}],this.tableColumn=[{prop:"name",label:"姓名",width:"180",show:!0},{prop:"telephone",label:"账号",width:"180",show:!0},{prop:"departName",label:"所在"+$SuperviseStr.depart,width:"180",show:!0},{prop:"occupationType",label:"职业类型",width:"180",show:!0},{prop:"permission",label:"应用权限",width:"",show:!0}]):localStorage.getItem("appidSupervise")&&"__d1qEDy3wYq8VF5KvUoE"==JSON.parse(localStorage.getItem("appidSupervise")).appId?(this.occupationTypeArr=[{label:"一般职员",value:"Normal"},{label:"保安员",value:"SecurityGuard"},{label:"警官",value:"Police"}],this.tableColumn=[{prop:"name",label:"姓名",width:"180",show:!0},{prop:"telephone",label:"手机号",width:"180",show:!0},{prop:"departName",label:"所在"+$SuperviseStr.depart,width:"180",show:!0},{prop:"occupationType",label:"职业类型",width:"180",show:!0},{prop:"permission",label:"应用权限",width:"",show:!0}]):(this.occupationTypeArr=[{label:"一般职员",value:"Normal"},{label:"保安员",value:"SecurityGuard"}],this.tableColumn=[{prop:"name",label:"姓名",width:"180",show:!0},{prop:"telephone",label:"手机号",width:"180",show:!0},{prop:"departName",label:"所在"+$SuperviseStr.depart,width:"180",show:!0},{prop:"occupationType",label:"职业类型",width:"180",show:!0},{prop:"permission",label:"应用权限",width:"",show:!0}]),this.AuthList()},watch:{multipleSelection(){this.multipleSelection.length?this.disabled=!1:this.disabled=!0}},updated(){this.$refs.districtTable.doLayout()},methods:{selectClickT(e){console.log(e),this.getTreeDepartlist=e},addAuth(){this.showdialog=!0,this.$refs.popChildren.getTableRow(this.multipleSelection,0)},Edit(e){this.showdialog=!0,this.$refs.popChildren.getTableRow([e],1)},search(){this.params.pageIndex=1;let e={domainId:this.$route.query.domainId};Object(r["n"])(this.params,e).then(e=>{e.data.data&&(this.tableDataAuth=e.data.data,this.params.total=e.data.total)})},tableDatalist(){let e={domainId:this.$route.query.domainId};Object(r["w"])(e).then(e=>{e.data&&(this.tableData=e.data,this.sortTableData(this.tableData))})},sortTableData(e){e.length&&e.forEach(e=>{e.displayOrderNumber=e.displayOrder,e.children.length&&this.sortTableData(e.children)}),console.log(this.tableData)},AuthList(){let e={domainId:this.$route.query.domainId};Object(r["n"])(this.params,e).then(e=>{e.data.data&&(this.tableDataAuth=e.data.data,this.params.total=e.data.total)})},checkChange(e,t){console.log(e),console.log(t),this.$set(this.params,"departIds",e)},handleCurrentChange(e){console.log(e),this.params.pageIndex=e,this.AuthList()},handleSizeChange(e){console.log(e),this.params.pageSize=e,this.AuthList()},handleSelectionChange(e){console.log(e),this.multipleSelection=e},handleSelectionAllChange(e,t){t||(this.isAllSelect=!this.isAllSelect),e.map(e=>{e.children&&(e.children.map(e=>{this.toggleSelection(e,this.isAllSelect)}),e.children.length>0&&this.handleSelectionAllChange(e.children,!0))})},toggleSelection(e,t){t?this.$refs.districtTable.toggleRowSelection(e,t):this.$refs.districtTable.clearSelection()},addDept(){this.showdialog=!0,this.$refs.popChildren.getTableRow({},0)},BackEmp(e){this.showdialogBack=!0,this.$refs.popChildrenBack.getTableRow(e,1)},clear(e){let t=[e.id],A=[],a={domainId:this.$route.query.domainId};""!=Object.keys(e)&&this.$confirm("此操作将清除当前用户的应用权限, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(r["a"])(t,A,a).then(()=>{this.AuthList()})}).catch(()=>{})},download(e){e.attachment&&window.open(e.attachment)},patchDel(){let e={domainId:this.$route.query.domainId};this.multipleSelection.length&&this.$confirm("此操作将清除选择用户对应的应用权限, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{let t=[];this.multipleSelection.forEach(e=>{t.push(e.id)});let A=[];Object(r["a"])(t,A,e).then(()=>{this.AuthList()})}).catch(()=>{})},importEmployee(){this.showdialogImport=!0},moveDept(){this.showdialogMove=!0,this.$refs.MovepopChildren.getTableRow(this.multipleSelection,0)},ImDept(){this.showdialogIm=!0,this.$refs.ImpopChildren.getTableRow(this.multipleSelection,0)},refurlist(){this.AuthList()}}},d=c,p=(A("0014"),A("2877")),h=Object(p["a"])(d,a,s,!1,null,null,null);t["default"]=h.exports},e6e1:function(e,t,A){},e713:function(e,t,A){"use strict";A("651a")},e8fe:function(e,t,A){"use strict";A("260a")},ea07:function(e,t,A){"use strict";A.r(t),A.d(t,"validatePhone",(function(){return l}));var a=function(){var e=this,t=e._self._c;return t("section",[t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single el-dialog-contract",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"300px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.employeelabel,prop:""}},e._l(e.multipleArr,(function(A,a){return t("span",{key:A.id},[t("em",[e._v(e._s(A.name))]),a!==e.multipleArr.length-1?t("b",[e._v(", ")]):e._e()])})),0)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"应用角色权限:",prop:""}},[t("el-checkbox",{on:{change:e.RoleCheckAll},model:{value:e.rolecheck,callback:function(t){e.rolecheck=t},expression:"rolecheck"}},[e._v("全选")]),t("el-tree",{ref:"tree",attrs:{data:e.AuthAppRoledata,"show-checkbox":"","node-key":"id",props:e.defaultProps}})],1)],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)],1)},s=[],r=(A("d9e2"),A("14d9"),A("fb36")),i=A("eee4"),o=A("821e");function l(e,t,A){setTimeout(()=>{/^[1][3,4,5,7,8,9][0-9]{9}$/.test(t)?A():A(new Error("请输入正确的手机号"))},500)}var n={props:["showdialog"],watch:{showdialog(){this.dialogFormVisible=this.showdialog,this.defaulDataParent=[]}},components:{selectTree:r["a"],MoveSuperDialog:i["default"]},data(){return{title:"",dialogFormVisible:this.showdialog,OperType:0,formList:{},params:{pageIndex:1,pageSize:10,keyword:"",total:0},rules:{},defaulDataParent:"",defaulData:[],tableDataEmployee:[],resultArr:[],showdialogMoveSuper:!1,fileList:[],disabledUser:!1,multipleArr:[],AuthAppRoledata:[],defaultProps:{children:"responses",label:"name"},rolecheck:!1,employeelabel:`要授权的${$SuperviseStr.employee}:`,PrevRoleIds:[],AuthAppRoledataAll:[]}},methods:{async getTableRow(e,t,A){this.multipleArr=e;let a=JSON.parse(JSON.stringify(e));if(this.OperType=t,this.rolecheck=!1,this.title="授权",await this.myappsAuthList(),this.$refs.tree.setCheckedKeys([]),a[0].id){let e={domainId:this.$route.query.domainId},t=[];Object(o["r"])(a[0].id,e).then(e=>{e.data&&e.data.apps.length&&(e.data.apps.forEach(e=>{e.roles.length&&e.roles.forEach(e=>{t.push(e.id)})}),this.PrevRoleIds=t,this.$refs.tree.setCheckedKeys(t))})}},myappsAuthList(){let e={domainId:this.$route.query.domainId};Object(o["Qb"])(e).then(e=>{if(200==e.status){this.AuthAppRoledataAll=e.data;let t=e.data,A=t&&t.filter(e=>(e.responses.length&&e.responses.filter(e=>e.show),e.show));this.AuthAppRoledata=A}})},RoleCheckAll(){this.rolecheck?this.$refs.tree.setCheckedNodes(this.AuthAppRoledata):this.$refs.tree.setCheckedNodes([])},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"departId",e),console.log(this.formList.departId)},checkChange(e,t){},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},employeeTableList(){let e={domainId:this.$route.query.domainId};employeeTableListApi(this.params,e).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},filterMethod(e){console.log(e),this.params.keyword=e;let t={domainId:this.$route.query.domainId};employeeTableListApi(this.params,t).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},selectUser(e){console.log(e),console.log(this.tableDataEmployee);let t=[];t=this.tableDataEmployee.filter(t=>e.indexOf(t.id)>-1),t.forEach(e=>{this.resultArr.push(e)});let A=this.resultArr.filter(t=>e.indexOf(t.id)>-1);this.resultArr=A,this.resultArr=[...new Set(this.resultArr)],console.log(this.resultArr)},removetag(e){console.log(e),this.resultArr.forEach(t=>{t.id==e&&this.resultArr.splice(t,1)}),console.log(this.resultArr)},uploadImg(e){__network__?this.obsFile(e):this.InFileUpload(e)},obsFile(e){console.log(e);var t=this,A=this.$route.query.domainId||"default";let a=new Date,s=a.getFullYear(),r=a.getMonth()+1<10?"0"+(a.getMonth()+1):a.getMonth()+1,i=a.getDate()<10?"0"+a.getDate():a.getDate(),o=r+"-"+i;var l=`uploads/${s}/${o}/${A}/${a.getTime()}/${e.file.name}`,n=new ObsClient({access_key_id:ak,secret_access_key:sk,server:urlserver,timeout:300});n.putObject({Bucket:BucketName,Key:l,SourceFile:e.file}).then((function(A){if(console.log(A),A.CommonMsg.Status<300){t.$message({type:"success",message:"上传成功"}),console.log("Create object:"+l+" successfully!\n");var a=`https://${BucketName}.${urlserver}/${l}`;a=convertCdnPath(a),t.$set(t.formList,"attachment",a);let A={};A.name=e.file.name,A.url=a,t.fileList=[A],t.path&&(t.disabled=!1)}}))},InFileUpload(e){let t=new FormData;t.append("file",e.file),Object(o["R"])(t).then(e=>{let t=new Response(e).json();t.then(e=>{console.log(e.data),e.data&&(this.path=window.location.origin+"/obpm"+e.data,this.disabled=!1)})})},handleRemove(e,t){console.log(e,t)},handlePreview(e){console.log(e)},handleExceed(e,t){this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${e.length} 个文件,共选择了 ${e.length+t.length} 个文件`)},beforeRemove(e,t){return this.$confirm(`确定移除 ${e.name}?`)},checkEndDate(e){e?(this.$set(this.formList,"disabledEndDate",!0),this.$set(this.formList,"endDate",null),this.rules.endDate[0].required=!1):(this.$set(this.formList,"disabledEndDate",!1),this.rules.endDate[0].required=!0)},submitForm(){this.$refs.ruleForm.validate(e=>{if(!e)return!1;{let e=[];this.multipleArr.forEach(t=>{e.push(t.id)});let t=[];if(!this.$refs.tree.getCheckedNodes().length)return void this.$message({type:"warning",message:"请选择应用角色权限"});this.$refs.tree.getCheckedNodes().forEach(e=>{e.dataType&&t.push(e.id)});let A={domainId:this.$route.query.domainId};console.log(this.PrevRoleIds);let a=[];this.PrevRoleIds.length&&this.PrevRoleIds.forEach(e=>{this.AuthAppRoledataAll.length&&this.AuthAppRoledataAll.forEach(t=>{t.responses.length&&t.responses.forEach(t=>{e!=t.id||t.show||a.push(e)})})});let s=t.concat(a);console.log(t),console.log(a),console.log(s),Object(o["a"])(e,s,A).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.formList));this.$emit("refurlist",e),this.cancelForm()}})}})},cancelForm(){this.$emit("update:showdialog",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))},refurlist(){}}},c=n,d=(A("d7f4"),A("2877")),p=Object(d["a"])(c,a,s,!1,null,null,null);t["default"]=p.exports},eb29:function(e,t,A){"use strict";A("259b")},eb5d:function(e,t,A){},ebed:function(e,t,A){"use strict";A.r(t);var a=function(){var e,t,A=this,a=A._self._c;return a("div",{staticClass:"plat-wrap"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"left-text"},[A._v("功能/应用列表")]),A._e(),a("div",{staticClass:"right-text"},[A._v(A._s(A.currentApp.appName||""))])]),a("el-row",{staticClass:"wrap-list"},[a("el-col",{staticClass:"wrap-list-left",attrs:{xs:8,sm:8,md:6,lg:6,xl:6}},[a("el-menu",{directives:[{name:"loading",rawName:"v-loading",value:A.loading,expression:"loading"}],ref:"appmenu",staticClass:"el-menu-vertical-demo",attrs:{"active-text-color":"#409EFF","unique-opened":""}},A._l(A.treeList,(function(e){return a("el-submenu",{key:e.category,attrs:{index:e.category}},[a("template",{slot:"title"},[a("span",[A._v(A._s(e.category))])]),null!==e&&void 0!==e&&e.children.length?a("div",A._l(null===e||void 0===e?void 0:e.children,(function(e){return a("el-menu-item",{key:e.appCode,attrs:{index:e.appCode},on:{click:function(t){return A.handleMenu(e)}}},[A._v(" "+A._s(e.appName)+" ")])})),1):a("div",{staticStyle:{"text-align":"center",padding:"16px"}},[A._v("暂无数据")])],2)})),1)],1),null!==(e=A.currentApp)&&void 0!==e&&e.optionList.length?a("el-col",{staticClass:"wrap-list-right",attrs:{xs:16,sm:16,md:18,lg:18,xl:18}},[a("div",{staticClass:"all-checked"},[a("el-checkbox",{attrs:{value:A.getCheckedStatus,"true-label":1,"false-label":0},on:{change:A.changeAll}},[A._v(" 选择当前项下全部权限 ")])],1),a("div",{staticClass:"checked-list"},A._l(null===(t=A.currentApp)||void 0===t?void 0:t.optionList,(function(e){return a("div",{key:e.appCode},[a("div",{staticClass:"checked-title"},[A._v(" "+A._s(e.category)+" ")]),a("div",{staticClass:"allcheckbox"},A._l(null===e||void 0===e?void 0:e.children,(function(e,t){return a("el-checkbox",{key:t,staticClass:"checkbox-val",attrs:{"true-label":1,"false-label":0},model:{value:e.checked,callback:function(t){A.$set(e,"checked",t)},expression:"record.checked"}},[A._v(" "+A._s(e.optionName)+" ")])})),1)])})),0)]):a("el-col",{staticClass:"wrap-list-right",attrs:{xs:16,sm:16,md:18,lg:18,xl:18}},[A._v(" 暂无数据 ")])],1)],1)},s=[],r=(A("14d9"),A("821e"));A("13d5"),A("5b81");var i={props:{currentUser:{type:Object,default:()=>({})}},components:{},data(){return{loading:!1,treeList:[],title:"",currentApp:{optionList:[]},appList:[]}},watch:{currentUser:{handler(e,t){this.getAllData()},deep:!0},currentApp:{handler(e,t){console.log(e)},deep:!0}},computed:{getCheckedStatus(){for(let A=0;A<(null===(e=this.currentApp)||void 0===e?void 0:e.optionList.length);A++){var e,t;if(null!==(t=this.currentApp)&&void 0!==t&&null!==(t=t.optionList[A])&&void 0!==t&&t.children.find(e=>!e.checked))return!1}return!0}},methods:{getAllData(){this.loading=!0,this.getMenuList()},handleMenu(e){this.currentApp=e},changeAllStatus(e,t){return e.forEach(e=>{e.checked=t,null!==e&&void 0!==e&&e.children&&this.changeAllStatus(null===e||void 0===e?void 0:e.children,t),null!==e&&void 0!==e&&e.optionList&&this.changeAllStatus(null===e||void 0===e?void 0:e.optionList,t)}),e},getMenuList(){var e;let t={searchType:this.currentUser.searchType};this.currentUser.roleId&&(t.roleId=this.currentUser.roleId),this.currentUser.employeeIds&&null!==(e=this.currentUser.employeeIds)&&void 0!==e&&e[0]&&1===this.currentUser.employeeIds.length&&(t.employeeId=this.currentUser.employeeIds[0]),Object(r["Db"])(t).then(e=>{Array.isArray(e.data)&&(this.currentUser.searchType,this.treeList=e.data)}).finally(e=>{this.loading=!1})},saveAuth(){this.loading=!0;try{console.log(this.treeList);const e=[];for(const A of this.treeList)null===A||void 0===A||A.children.forEach(t=>{let A=[];null===t||void 0===t||t.optionList.forEach(e=>{null===e||void 0===e||e.children.filter(e=>e.checked).map(({optionId:e})=>{A.push({optionId:e})})}),A.length&&e.push({appId:parseFloat(t.appId),optionList:A})});let t={appList:e};this.currentUser.employeeIds&&(t.employeeIdList=this.currentUser.employeeIds),this.currentUser.roleId&&(t.roleId=this.currentUser.roleId),Object(r["Xb"])(t).then(e=>{200===e.status&&(this.$message({type:"success",message:"操作成功"}),this.$emit("callback",!1),this.loading=!1)}).catch(()=>{this.loading=!1})}catch(e){this.loading=!1}},changeAll(){this.$set(this.currentApp,"optionList",this.currentApp.optionList.map((e,t)=>({...e,children:null===e||void 0===e?void 0:e.children.map(e=>({...e,checked:this.getCheckedStatus?0:1}))})))}}},o=i,l=(A("37e7"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,null,null);t["default"]=n.exports},edd0:function(e,t,A){"use strict";var a=A("13d2"),s=A("9bf2");e.exports=function(e,t,A){return A.get&&a(A.get,t,{getter:!0}),A.set&&a(A.set,t,{setter:!0}),s.f(e,t,A)}},ee72:function(e,t,A){},eee4:function(e,t,A){"use strict";A.r(t),A.d(t,"validatePhone",(function(){return o}));var a=function(){var e=this,t=e._self._c;return t("section",[t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-double el-dialog-moveSuper",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("section",{staticClass:"remarkBox"},[t("div",{staticClass:"remarkInfo"},[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),t("span",[e._v(" 1. 要离职的"+e._s(e.$SuperviseStr.employee)+"中以下人员为其他"+e._s(e.$SuperviseStr.employee)+"的上级,请先转移上级身份到新的"+e._s(e.$SuperviseStr.employee)+"或选择删除上级身份后再离职。"),t("br"),e._v(" 2. 删除上级身份后,原下级"+e._s(e.$SuperviseStr.employee)+"的“上级”信息将被清空,转为无上级状态。 ")])])]),t("el-form",{ref:"ruleForm",attrs:{"label-width":"90px",model:e.formList,rules:e.rules}},[t("el-table",{ref:"districtTable",attrs:{data:e.newRowData,"max-height":"750"}},[t("el-table-column",{attrs:{label:"姓名",prop:"name",width:"200"}}),t("el-table-column",{attrs:{label:"转移给新上级",prop:"",width:"300"},scopedSlots:e._u([{key:"default",fn:function(A){return[t("el-select",{attrs:{filterable:"","filter-method":e.filterMethod,clearable:"",disabled:A.row.newdisabled,placeholder:"请选择"},on:{change:e.selectUser},model:{value:A.row.newSuperiorId,callback:function(t){e.$set(A.row,"newSuperiorId",t)},expression:"scope.row.newSuperiorId"}},e._l(e.tableDataEmployee,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)]}}])}),t("el-table-column",{attrs:{label:"",prop:"",width:""},scopedSlots:e._u([{key:"default",fn:function(A){return[t("span",[t("el-checkbox",{on:{change:function(t){return e.delCheck(A.row)}},model:{value:A.row.check,callback:function(t){e.$set(A.row,"check",t)},expression:"scope.row.check"}},[e._v("删除上级身份")])],1)]}}])})],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)],1)],1)},s=[],r=(A("d9e2"),A("14d9"),A("fb36")),i=A("821e");function o(e,t,A){setTimeout(()=>{/^[1][3,4,5,7,8,9][0-9]{9}$/.test(t)?A():A(new Error("请输入正确的手机号"))},500)}var l={props:["showdialogMoveSuper","getTreeDepartlist"],watch:{showdialogMoveSuper(){this.dialogFormVisible=this.showdialogMoveSuper,this.defaulDataParent=[]}},components:{selectTree:r["a"]},data(){return{title:"转移上级身份",dialogFormVisible:this.showdialogMoveSuper,OperType:0,formList:{},params:{pageIndex:1,pageSize:10,keyword:"",total:0},rules:{},defaulDataParent:"",defaulData:[],tableDataEmployee:[],newRowData:[]}},methods:{getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.newRowData=A,this.newRowData.forEach(e=>{this.$set(e,"check",!1),this.$set(e,"newdisabled",!1),this.$set(e,"newSuperiorId",null),this.$set(e,"originalSuperiorId",e.id)}),this.OperType=t,this.getTreeData(this.getTreeDepartlist),this.employeeTableList()},checkChangeParent(e,t){this.$set(this.formList,"departId",e)},checkChange(e,t){},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},employeeTableList(){let e={domainId:this.$route.query.domainId};Object(i["mb"])(this.params,e).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},filterMethod(e){this.params.keyword=e;let t={domainId:this.$route.query.domainId};Object(i["mb"])(this.params,t).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},selectUser(e){},delCheck(e){e.check?(e.newdisabled=!0,e.newSuperiorId=null):e.newdisabled=!1},submitForm(){let e=[];this.newRowData.forEach(t=>{let A={};A.originalSuperiorId=t.originalSuperiorId,A.newSuperiorId=t.newSuperiorId,e.push(A)});let t={domainId:this.$route.query.domainId};this.$refs.ruleForm.validate(A=>{if(!A)return!1;this.$confirm(`即将对选择的${$SuperviseStr.employee}进行离职,提交后无法恢复,是否继续?`,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(i["j"])(e,t).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.newRowData));this.$emit("refurlist",e),this.cancelForm()}})}).catch(e=>{})})},cancelForm(){this.$emit("update:showdialogMoveSuper",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},n=l,c=(A("6a9b"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},eeee:function(e,t,A){},ef6c:function(e,t,A){!function(t,A){e.exports=A()}(window,(function(){return function(e){var t={};function A(a){if(t[a])return t[a].exports;var s=t[a]={i:a,l:!1,exports:{}};return e[a].call(s.exports,s,s.exports,A),s.l=!0,s.exports}return A.m=e,A.c=t,A.d=function(e,t,a){A.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},A.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},A.t=function(e,t){if(1&t&&(e=A(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(A.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)A.d(a,s,function(t){return e[t]}.bind(null,s));return a},A.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return A.d(t,"a",t),t},A.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},A.p="",A(A.s=10)}([function(e,t,A){"use strict";var a=A(3),s="object"==typeof self&&self&&self.Object===Object&&self,r=a.a||s||Function("return this")();t.a=r},function(e,t,A){e.exports=A(8)},function(e,A,a){"use strict";(function(e){var s=a(3),r=t&&!t.nodeType&&t,i=r&&"object"==typeof e&&e&&!e.nodeType&&e,o=i&&i.exports===r&&s.a.process,l=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();A.a=l}).call(this,a(5)(e))},function(e,t,A){"use strict";(function(e){var A="object"==typeof e&&e&&e.Object===Object&&e;t.a=A}).call(this,A(9))},function(e,A,a){"use strict";(function(e){var s=a(0),r=a(6),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,l=o&&o.exports===i?s.a.Buffer:void 0,n=(l?l.isBuffer:void 0)||r.a;A.a=n}).call(this,a(5)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,A){"use strict";t.a=function(){return!1}},function(e,A,a){"use strict";(function(e){var s=a(0),r=t&&!t.nodeType&&t,i=r&&"object"==typeof e&&e&&!e.nodeType&&e,o=i&&i.exports===r?s.a.Buffer:void 0,l=o?o.allocUnsafe:void 0;A.a=function(e,t){if(t)return e.slice();var A=e.length,a=l?l(A):new e.constructor(A);return e.copy(a),a}}).call(this,a(5)(e))},function(e){e.exports=JSON.parse('{"86":{"110000":"北京市","120000":"天津市","130000":"河北省","140000":"山西省","150000":"内蒙古自治区","210000":"辽宁省","220000":"吉林省","230000":"黑龙江省","310000":"上海市","320000":"江苏省","330000":"浙江省","340000":"安徽省","350000":"福建省","360000":"江西省","370000":"山东省","410000":"河南省","420000":"湖北省","430000":"湖南省","440000":"广东省","450000":"广西壮族自治区","460000":"海南省","500000":"重庆市","510000":"四川省","520000":"贵州省","530000":"云南省","540000":"西藏自治区","610000":"陕西省","620000":"甘肃省","630000":"青海省","640000":"宁夏回族自治区","650000":"新疆维吾尔自治区","710000":"台湾省","810000":"香港特别行政区","820000":"澳门特别行政区"},"110000":{"110100":"市辖区"},"110100":{"110101":"东城区","110102":"西城区","110105":"朝阳区","110106":"丰台区","110107":"石景山区","110108":"海淀区","110109":"门头沟区","110111":"房山区","110112":"通州区","110113":"顺义区","110114":"昌平区","110115":"大兴区","110116":"怀柔区","110117":"平谷区","110118":"密云区","110119":"延庆区"},"120000":{"120100":"市辖区"},"120100":{"120101":"和平区","120102":"河东区","120103":"河西区","120104":"南开区","120105":"河北区","120106":"红桥区","120110":"东丽区","120111":"西青区","120112":"津南区","120113":"北辰区","120114":"武清区","120115":"宝坻区","120116":"滨海新区","120117":"宁河区","120118":"静海区","120119":"蓟州区"},"130000":{"130100":"石家庄市","130200":"唐山市","130300":"秦皇岛市","130400":"邯郸市","130500":"邢台市","130600":"保定市","130700":"张家口市","130800":"承德市","130900":"沧州市","131000":"廊坊市","131100":"衡水市"},"130100":{"130101":"市辖区","130102":"长安区","130104":"桥西区","130105":"新华区","130107":"井陉矿区","130108":"裕华区","130109":"藁城区","130110":"鹿泉区","130111":"栾城区","130121":"井陉县","130123":"正定县","130125":"行唐县","130126":"灵寿县","130127":"高邑县","130128":"深泽县","130129":"赞皇县","130130":"无极县","130131":"平山县","130132":"元氏县","130133":"赵县","130171":"石家庄高新技术产业开发区","130172":"石家庄循环化工园区","130181":"辛集市","130183":"晋州市","130184":"新乐市"},"130200":{"130201":"市辖区","130202":"路南区","130203":"路北区","130204":"古冶区","130205":"开平区","130207":"丰南区","130208":"丰润区","130209":"曹妃甸区","130224":"滦南县","130225":"乐亭县","130227":"迁西县","130229":"玉田县","130271":"河北唐山芦台经济开发区","130272":"唐山市汉沽管理区","130273":"唐山高新技术产业开发区","130274":"河北唐山海港经济开发区","130281":"遵化市","130283":"迁安市","130284":"滦州市"},"130300":{"130301":"市辖区","130302":"海港区","130303":"山海关区","130304":"北戴河区","130306":"抚宁区","130321":"青龙满族自治县","130322":"昌黎县","130324":"卢龙县","130371":"秦皇岛市经济技术开发区","130372":"北戴河新区"},"130400":{"130401":"市辖区","130402":"邯山区","130403":"丛台区","130404":"复兴区","130406":"峰峰矿区","130407":"肥乡区","130408":"永年区","130423":"临漳县","130424":"成安县","130425":"大名县","130426":"涉县","130427":"磁县","130430":"邱县","130431":"鸡泽县","130432":"广平县","130433":"馆陶县","130434":"魏县","130435":"曲周县","130471":"邯郸经济技术开发区","130473":"邯郸冀南新区","130481":"武安市"},"130500":{"130501":"市辖区","130502":"桥东区","130503":"桥西区","130521":"邢台县","130522":"临城县","130523":"内丘县","130524":"柏乡县","130525":"隆尧县","130526":"任县","130527":"南和县","130528":"宁晋县","130529":"巨鹿县","130530":"新河县","130531":"广宗县","130532":"平乡县","130533":"威县","130534":"清河县","130535":"临西县","130571":"河北邢台经济开发区","130581":"南宫市","130582":"沙河市"},"130600":{"130601":"市辖区","130602":"竞秀区","130606":"莲池区","130607":"满城区","130608":"清苑区","130609":"徐水区","130623":"涞水县","130624":"阜平县","130626":"定兴县","130627":"唐县","130628":"高阳县","130629":"容城县","130630":"涞源县","130631":"望都县","130632":"安新县","130633":"易县","130634":"曲阳县","130635":"蠡县","130636":"顺平县","130637":"博野县","130638":"雄县","130671":"保定高新技术产业开发区","130672":"保定白沟新城","130681":"涿州市","130682":"定州市","130683":"安国市","130684":"高碑店市"},"130700":{"130701":"市辖区","130702":"桥东区","130703":"桥西区","130705":"宣化区","130706":"下花园区","130708":"万全区","130709":"崇礼区","130722":"张北县","130723":"康保县","130724":"沽源县","130725":"尚义县","130726":"蔚县","130727":"阳原县","130728":"怀安县","130730":"怀来县","130731":"涿鹿县","130732":"赤城县","130771":"张家口经济开发区","130772":"张家口市察北管理区","130773":"张家口市塞北管理区"},"130800":{"130801":"市辖区","130802":"双桥区","130803":"双滦区","130804":"鹰手营子矿区","130821":"承德县","130822":"兴隆县","130824":"滦平县","130825":"隆化县","130826":"丰宁满族自治县","130827":"宽城满族自治县","130828":"围场满族蒙古族自治县","130871":"承德高新技术产业开发区","130881":"平泉市"},"130900":{"130901":"市辖区","130902":"新华区","130903":"运河区","130921":"沧县","130922":"青县","130923":"东光县","130924":"海兴县","130925":"盐山县","130926":"肃宁县","130927":"南皮县","130928":"吴桥县","130929":"献县","130930":"孟村回族自治县","130971":"河北沧州经济开发区","130972":"沧州高新技术产业开发区","130973":"沧州渤海新区","130981":"泊头市","130982":"任丘市","130983":"黄骅市","130984":"河间市"},"131000":{"131001":"市辖区","131002":"安次区","131003":"广阳区","131022":"固安县","131023":"永清县","131024":"香河县","131025":"大城县","131026":"文安县","131028":"大厂回族自治县","131071":"廊坊经济技术开发区","131081":"霸州市","131082":"三河市"},"131100":{"131101":"市辖区","131102":"桃城区","131103":"冀州区","131121":"枣强县","131122":"武邑县","131123":"武强县","131124":"饶阳县","131125":"安平县","131126":"故城县","131127":"景县","131128":"阜城县","131171":"河北衡水高新技术产业开发区","131172":"衡水滨湖新区","131182":"深州市"},"140000":{"140100":"太原市","140200":"大同市","140300":"阳泉市","140400":"长治市","140500":"晋城市","140600":"朔州市","140700":"晋中市","140800":"运城市","140900":"忻州市","141000":"临汾市","141100":"吕梁市"},"140100":{"140101":"市辖区","140105":"小店区","140106":"迎泽区","140107":"杏花岭区","140108":"尖草坪区","140109":"万柏林区","140110":"晋源区","140121":"清徐县","140122":"阳曲县","140123":"娄烦县","140171":"山西转型综合改革示范区","140181":"古交市"},"140200":{"140201":"市辖区","140212":"新荣区","140213":"平城区","140214":"云冈区","140215":"云州区","140221":"阳高县","140222":"天镇县","140223":"广灵县","140224":"灵丘县","140225":"浑源县","140226":"左云县","140271":"山西大同经济开发区"},"140300":{"140301":"市辖区","140302":"城区","140303":"矿区","140311":"郊区","140321":"平定县","140322":"盂县"},"140400":{"140401":"市辖区","140403":"潞州区","140404":"上党区","140405":"屯留区","140406":"潞城区","140423":"襄垣县","140425":"平顺县","140426":"黎城县","140427":"壶关县","140428":"长子县","140429":"武乡县","140430":"沁县","140431":"沁源县","140471":"山西长治高新技术产业园区"},"140500":{"140501":"市辖区","140502":"城区","140521":"沁水县","140522":"阳城县","140524":"陵川县","140525":"泽州县","140581":"高平市"},"140600":{"140601":"市辖区","140602":"朔城区","140603":"平鲁区","140621":"山阴县","140622":"应县","140623":"右玉县","140671":"山西朔州经济开发区","140681":"怀仁市"},"140700":{"140701":"市辖区","140702":"榆次区","140721":"榆社县","140722":"左权县","140723":"和顺县","140724":"昔阳县","140725":"寿阳县","140726":"太谷县","140727":"祁县","140728":"平遥县","140729":"灵石县","140781":"介休市"},"140800":{"140801":"市辖区","140802":"盐湖区","140821":"临猗县","140822":"万荣县","140823":"闻喜县","140824":"稷山县","140825":"新绛县","140826":"绛县","140827":"垣曲县","140828":"夏县","140829":"平陆县","140830":"芮城县","140881":"永济市","140882":"河津市"},"140900":{"140901":"市辖区","140902":"忻府区","140921":"定襄县","140922":"五台县","140923":"代县","140924":"繁峙县","140925":"宁武县","140926":"静乐县","140927":"神池县","140928":"五寨县","140929":"岢岚县","140930":"河曲县","140931":"保德县","140932":"偏关县","140971":"五台山风景名胜区","140981":"原平市"},"141000":{"141001":"市辖区","141002":"尧都区","141021":"曲沃县","141022":"翼城县","141023":"襄汾县","141024":"洪洞县","141025":"古县","141026":"安泽县","141027":"浮山县","141028":"吉县","141029":"乡宁县","141030":"大宁县","141031":"隰县","141032":"永和县","141033":"蒲县","141034":"汾西县","141081":"侯马市","141082":"霍州市"},"141100":{"141101":"市辖区","141102":"离石区","141121":"文水县","141122":"交城县","141123":"兴县","141124":"临县","141125":"柳林县","141126":"石楼县","141127":"岚县","141128":"方山县","141129":"中阳县","141130":"交口县","141181":"孝义市","141182":"汾阳市"},"150000":{"150100":"呼和浩特市","150200":"包头市","150300":"乌海市","150400":"赤峰市","150500":"通辽市","150600":"鄂尔多斯市","150700":"呼伦贝尔市","150800":"巴彦淖尔市","150900":"乌兰察布市","152200":"兴安盟","152500":"锡林郭勒盟","152900":"阿拉善盟"},"150100":{"150101":"市辖区","150102":"新城区","150103":"回民区","150104":"玉泉区","150105":"赛罕区","150121":"土默特左旗","150122":"托克托县","150123":"和林格尔县","150124":"清水河县","150125":"武川县","150171":"呼和浩特金海工业园区","150172":"呼和浩特经济技术开发区"},"150200":{"150201":"市辖区","150202":"东河区","150203":"昆都仑区","150204":"青山区","150205":"石拐区","150206":"白云鄂博矿区","150207":"九原区","150221":"土默特右旗","150222":"固阳县","150223":"达尔罕茂明安联合旗","150271":"包头稀土高新技术产业开发区"},"150300":{"150301":"市辖区","150302":"海勃湾区","150303":"海南区","150304":"乌达区"},"150400":{"150401":"市辖区","150402":"红山区","150403":"元宝山区","150404":"松山区","150421":"阿鲁科尔沁旗","150422":"巴林左旗","150423":"巴林右旗","150424":"林西县","150425":"克什克腾旗","150426":"翁牛特旗","150428":"喀喇沁旗","150429":"宁城县","150430":"敖汉旗"},"150500":{"150501":"市辖区","150502":"科尔沁区","150521":"科尔沁左翼中旗","150522":"科尔沁左翼后旗","150523":"开鲁县","150524":"库伦旗","150525":"奈曼旗","150526":"扎鲁特旗","150571":"通辽经济技术开发区","150581":"霍林郭勒市"},"150600":{"150601":"市辖区","150602":"东胜区","150603":"康巴什区","150621":"达拉特旗","150622":"准格尔旗","150623":"鄂托克前旗","150624":"鄂托克旗","150625":"杭锦旗","150626":"乌审旗","150627":"伊金霍洛旗"},"150700":{"150701":"市辖区","150702":"海拉尔区","150703":"扎赉诺尔区","150721":"阿荣旗","150722":"莫力达瓦达斡尔族自治旗","150723":"鄂伦春自治旗","150724":"鄂温克族自治旗","150725":"陈巴尔虎旗","150726":"新巴尔虎左旗","150727":"新巴尔虎右旗","150781":"满洲里市","150782":"牙克石市","150783":"扎兰屯市","150784":"额尔古纳市","150785":"根河市"},"150800":{"150801":"市辖区","150802":"临河区","150821":"五原县","150822":"磴口县","150823":"乌拉特前旗","150824":"乌拉特中旗","150825":"乌拉特后旗","150826":"杭锦后旗"},"150900":{"150901":"市辖区","150902":"集宁区","150921":"卓资县","150922":"化德县","150923":"商都县","150924":"兴和县","150925":"凉城县","150926":"察哈尔右翼前旗","150927":"察哈尔右翼中旗","150928":"察哈尔右翼后旗","150929":"四子王旗","150981":"丰镇市"},"152200":{"152201":"乌兰浩特市","152202":"阿尔山市","152221":"科尔沁右翼前旗","152222":"科尔沁右翼中旗","152223":"扎赉特旗","152224":"突泉县"},"152500":{"152501":"二连浩特市","152502":"锡林浩特市","152522":"阿巴嘎旗","152523":"苏尼特左旗","152524":"苏尼特右旗","152525":"东乌珠穆沁旗","152526":"西乌珠穆沁旗","152527":"太仆寺旗","152528":"镶黄旗","152529":"正镶白旗","152530":"正蓝旗","152531":"多伦县","152571":"乌拉盖管委会"},"152900":{"152921":"阿拉善左旗","152922":"阿拉善右旗","152923":"额济纳旗","152971":"内蒙古阿拉善经济开发区"},"210000":{"210100":"沈阳市","210200":"大连市","210300":"鞍山市","210400":"抚顺市","210500":"本溪市","210600":"丹东市","210700":"锦州市","210800":"营口市","210900":"阜新市","211000":"辽阳市","211100":"盘锦市","211200":"铁岭市","211300":"朝阳市","211400":"葫芦岛市"},"210100":{"210101":"市辖区","210102":"和平区","210103":"沈河区","210104":"大东区","210105":"皇姑区","210106":"铁西区","210111":"苏家屯区","210112":"浑南区","210113":"沈北新区","210114":"于洪区","210115":"辽中区","210123":"康平县","210124":"法库县","210181":"新民市"},"210200":{"210201":"市辖区","210202":"中山区","210203":"西岗区","210204":"沙河口区","210211":"甘井子区","210212":"旅顺口区","210213":"金州区","210214":"普兰店区","210224":"长海县","210281":"瓦房店市","210283":"庄河市"},"210300":{"210301":"市辖区","210302":"铁东区","210303":"铁西区","210304":"立山区","210311":"千山区","210321":"台安县","210323":"岫岩满族自治县","210381":"海城市"},"210400":{"210401":"市辖区","210402":"新抚区","210403":"东洲区","210404":"望花区","210411":"顺城区","210421":"抚顺县","210422":"新宾满族自治县","210423":"清原满族自治县"},"210500":{"210501":"市辖区","210502":"平山区","210503":"溪湖区","210504":"明山区","210505":"南芬区","210521":"本溪满族自治县","210522":"桓仁满族自治县"},"210600":{"210601":"市辖区","210602":"元宝区","210603":"振兴区","210604":"振安区","210624":"宽甸满族自治县","210681":"东港市","210682":"凤城市"},"210700":{"210701":"市辖区","210702":"古塔区","210703":"凌河区","210711":"太和区","210726":"黑山县","210727":"义县","210781":"凌海市","210782":"北镇市"},"210800":{"210801":"市辖区","210802":"站前区","210803":"西市区","210804":"鲅鱼圈区","210811":"老边区","210881":"盖州市","210882":"大石桥市"},"210900":{"210901":"市辖区","210902":"海州区","210903":"新邱区","210904":"太平区","210905":"清河门区","210911":"细河区","210921":"阜新蒙古族自治县","210922":"彰武县"},"211000":{"211001":"市辖区","211002":"白塔区","211003":"文圣区","211004":"宏伟区","211005":"弓长岭区","211011":"太子河区","211021":"辽阳县","211081":"灯塔市"},"211100":{"211101":"市辖区","211102":"双台子区","211103":"兴隆台区","211104":"大洼区","211122":"盘山县"},"211200":{"211201":"市辖区","211202":"银州区","211204":"清河区","211221":"铁岭县","211223":"西丰县","211224":"昌图县","211281":"调兵山市","211282":"开原市"},"211300":{"211301":"市辖区","211302":"双塔区","211303":"龙城区","211321":"朝阳县","211322":"建平县","211324":"喀喇沁左翼蒙古族自治县","211381":"北票市","211382":"凌源市"},"211400":{"211401":"市辖区","211402":"连山区","211403":"龙港区","211404":"南票区","211421":"绥中县","211422":"建昌县","211481":"兴城市"},"220000":{"220100":"长春市","220200":"吉林市","220300":"四平市","220400":"辽源市","220500":"通化市","220600":"白山市","220700":"松原市","220800":"白城市","222400":"延边朝鲜族自治州"},"220100":{"220101":"市辖区","220102":"南关区","220103":"宽城区","220104":"朝阳区","220105":"二道区","220106":"绿园区","220112":"双阳区","220113":"九台区","220122":"农安县","220171":"长春经济技术开发区","220172":"长春净月高新技术产业开发区","220173":"长春高新技术产业开发区","220174":"长春汽车经济技术开发区","220182":"榆树市","220183":"德惠市"},"220200":{"220201":"市辖区","220202":"昌邑区","220203":"龙潭区","220204":"船营区","220211":"丰满区","220221":"永吉县","220271":"吉林经济开发区","220272":"吉林高新技术产业开发区","220273":"吉林中国新加坡食品区","220281":"蛟河市","220282":"桦甸市","220283":"舒兰市","220284":"磐石市"},"220300":{"220301":"市辖区","220302":"铁西区","220303":"铁东区","220322":"梨树县","220323":"伊通满族自治县","220381":"公主岭市","220382":"双辽市"},"220400":{"220401":"市辖区","220402":"龙山区","220403":"西安区","220421":"东丰县","220422":"东辽县"},"220500":{"220501":"市辖区","220502":"东昌区","220503":"二道江区","220521":"通化县","220523":"辉南县","220524":"柳河县","220581":"梅河口市","220582":"集安市"},"220600":{"220601":"市辖区","220602":"浑江区","220605":"江源区","220621":"抚松县","220622":"靖宇县","220623":"长白朝鲜族自治县","220681":"临江市"},"220700":{"220701":"市辖区","220702":"宁江区","220721":"前郭尔罗斯蒙古族自治县","220722":"长岭县","220723":"乾安县","220771":"吉林松原经济开发区","220781":"扶余市"},"220800":{"220801":"市辖区","220802":"洮北区","220821":"镇赉县","220822":"通榆县","220871":"吉林白城经济开发区","220881":"洮南市","220882":"大安市"},"222400":{"222401":"延吉市","222402":"图们市","222403":"敦化市","222404":"珲春市","222405":"龙井市","222406":"和龙市","222424":"汪清县","222426":"安图县"},"230000":{"230100":"哈尔滨市","230200":"齐齐哈尔市","230300":"鸡西市","230400":"鹤岗市","230500":"双鸭山市","230600":"大庆市","230700":"伊春市","230800":"佳木斯市","230900":"七台河市","231000":"牡丹江市","231100":"黑河市","231200":"绥化市","232700":"大兴安岭地区"},"230100":{"230101":"市辖区","230102":"道里区","230103":"南岗区","230104":"道外区","230108":"平房区","230109":"松北区","230110":"香坊区","230111":"呼兰区","230112":"阿城区","230113":"双城区","230123":"依兰县","230124":"方正县","230125":"宾县","230126":"巴彦县","230127":"木兰县","230128":"通河县","230129":"延寿县","230183":"尚志市","230184":"五常市"},"230200":{"230201":"市辖区","230202":"龙沙区","230203":"建华区","230204":"铁锋区","230205":"昂昂溪区","230206":"富拉尔基区","230207":"碾子山区","230208":"梅里斯达斡尔族区","230221":"龙江县","230223":"依安县","230224":"泰来县","230225":"甘南县","230227":"富裕县","230229":"克山县","230230":"克东县","230231":"拜泉县","230281":"讷河市"},"230300":{"230301":"市辖区","230302":"鸡冠区","230303":"恒山区","230304":"滴道区","230305":"梨树区","230306":"城子河区","230307":"麻山区","230321":"鸡东县","230381":"虎林市","230382":"密山市"},"230400":{"230401":"市辖区","230402":"向阳区","230403":"工农区","230404":"南山区","230405":"兴安区","230406":"东山区","230407":"兴山区","230421":"萝北县","230422":"绥滨县"},"230500":{"230501":"市辖区","230502":"尖山区","230503":"岭东区","230505":"四方台区","230506":"宝山区","230521":"集贤县","230522":"友谊县","230523":"宝清县","230524":"饶河县"},"230600":{"230601":"市辖区","230602":"萨尔图区","230603":"龙凤区","230604":"让胡路区","230605":"红岗区","230606":"大同区","230621":"肇州县","230622":"肇源县","230623":"林甸县","230624":"杜尔伯特蒙古族自治县","230671":"大庆高新技术产业开发区"},"230700":{"230701":"市辖区","230717":"伊美区","230718":"乌翠区","230719":"友好区","230722":"嘉荫县","230723":"汤旺县","230724":"丰林县","230725":"大箐山县","230726":"南岔县","230751":"金林区","230781":"铁力市"},"230800":{"230801":"市辖区","230803":"向阳区","230804":"前进区","230805":"东风区","230811":"郊区","230822":"桦南县","230826":"桦川县","230828":"汤原县","230881":"同江市","230882":"富锦市","230883":"抚远市"},"230900":{"230901":"市辖区","230902":"新兴区","230903":"桃山区","230904":"茄子河区","230921":"勃利县"},"231000":{"231001":"市辖区","231002":"东安区","231003":"阳明区","231004":"爱民区","231005":"西安区","231025":"林口县","231071":"牡丹江经济技术开发区","231081":"绥芬河市","231083":"海林市","231084":"宁安市","231085":"穆棱市","231086":"东宁市"},"231100":{"231101":"市辖区","231102":"爱辉区","231123":"逊克县","231124":"孙吴县","231181":"北安市","231182":"五大连池市","231183":"嫩江市"},"231200":{"231201":"市辖区","231202":"北林区","231221":"望奎县","231222":"兰西县","231223":"青冈县","231224":"庆安县","231225":"明水县","231226":"绥棱县","231281":"安达市","231282":"肇东市","231283":"海伦市"},"232700":{"232701":"漠河市","232721":"呼玛县","232722":"塔河县","232761":"加格达奇区","232762":"松岭区","232763":"新林区","232764":"呼中区"},"310000":{"310100":"市辖区"},"310100":{"310101":"黄浦区","310104":"徐汇区","310105":"长宁区","310106":"静安区","310107":"普陀区","310109":"虹口区","310110":"杨浦区","310112":"闵行区","310113":"宝山区","310114":"嘉定区","310115":"浦东新区","310116":"金山区","310117":"松江区","310118":"青浦区","310120":"奉贤区","310151":"崇明区"},"320000":{"320100":"南京市","320200":"无锡市","320300":"徐州市","320400":"常州市","320500":"苏州市","320600":"南通市","320700":"连云港市","320800":"淮安市","320900":"盐城市","321000":"扬州市","321100":"镇江市","321200":"泰州市","321300":"宿迁市"},"320100":{"320101":"市辖区","320102":"玄武区","320104":"秦淮区","320105":"建邺区","320106":"鼓楼区","320111":"浦口区","320113":"栖霞区","320114":"雨花台区","320115":"江宁区","320116":"六合区","320117":"溧水区","320118":"高淳区"},"320200":{"320201":"市辖区","320205":"锡山区","320206":"惠山区","320211":"滨湖区","320213":"梁溪区","320214":"新吴区","320281":"江阴市","320282":"宜兴市"},"320300":{"320301":"市辖区","320302":"鼓楼区","320303":"云龙区","320305":"贾汪区","320311":"泉山区","320312":"铜山区","320321":"丰县","320322":"沛县","320324":"睢宁县","320371":"徐州经济技术开发区","320381":"新沂市","320382":"邳州市"},"320400":{"320401":"市辖区","320402":"天宁区","320404":"钟楼区","320411":"新北区","320412":"武进区","320413":"金坛区","320481":"溧阳市"},"320500":{"320501":"市辖区","320505":"虎丘区","320506":"吴中区","320507":"相城区","320508":"姑苏区","320509":"吴江区","320571":"苏州工业园区","320581":"常熟市","320582":"张家港市","320583":"昆山市","320585":"太仓市"},"320600":{"320601":"市辖区","320602":"崇川区","320611":"港闸区","320612":"通州区","320623":"如东县","320671":"南通经济技术开发区","320681":"启东市","320682":"如皋市","320684":"海门市","320685":"海安市"},"320700":{"320701":"市辖区","320703":"连云区","320706":"海州区","320707":"赣榆区","320722":"东海县","320723":"灌云县","320724":"灌南县","320771":"连云港经济技术开发区","320772":"连云港高新技术产业开发区"},"320800":{"320801":"市辖区","320803":"淮安区","320804":"淮阴区","320812":"清江浦区","320813":"洪泽区","320826":"涟水县","320830":"盱眙县","320831":"金湖县","320871":"淮安经济技术开发区"},"320900":{"320901":"市辖区","320902":"亭湖区","320903":"盐都区","320904":"大丰区","320921":"响水县","320922":"滨海县","320923":"阜宁县","320924":"射阳县","320925":"建湖县","320971":"盐城经济技术开发区","320981":"东台市"},"321000":{"321001":"市辖区","321002":"广陵区","321003":"邗江区","321012":"江都区","321023":"宝应县","321071":"扬州经济技术开发区","321081":"仪征市","321084":"高邮市"},"321100":{"321101":"市辖区","321102":"京口区","321111":"润州区","321112":"丹徒区","321171":"镇江新区","321181":"丹阳市","321182":"扬中市","321183":"句容市"},"321200":{"321201":"市辖区","321202":"海陵区","321203":"高港区","321204":"姜堰区","321271":"泰州医药高新技术产业开发区","321281":"兴化市","321282":"靖江市","321283":"泰兴市"},"321300":{"321301":"市辖区","321302":"宿城区","321311":"宿豫区","321322":"沭阳县","321323":"泗阳县","321324":"泗洪县","321371":"宿迁经济技术开发区"},"330000":{"330100":"杭州市","330200":"宁波市","330300":"温州市","330400":"嘉兴市","330500":"湖州市","330600":"绍兴市","330700":"金华市","330800":"衢州市","330900":"舟山市","331000":"台州市","331100":"丽水市"},"330100":{"330101":"市辖区","330102":"上城区","330103":"下城区","330104":"江干区","330105":"拱墅区","330106":"西湖区","330108":"滨江区","330109":"萧山区","330110":"余杭区","330111":"富阳区","330112":"临安区","330122":"桐庐县","330127":"淳安县","330182":"建德市"},"330200":{"330201":"市辖区","330203":"海曙区","330205":"江北区","330206":"北仑区","330211":"镇海区","330212":"鄞州区","330213":"奉化区","330225":"象山县","330226":"宁海县","330281":"余姚市","330282":"慈溪市"},"330300":{"330301":"市辖区","330302":"鹿城区","330303":"龙湾区","330304":"瓯海区","330305":"洞头区","330324":"永嘉县","330326":"平阳县","330327":"苍南县","330328":"文成县","330329":"泰顺县","330371":"温州经济技术开发区","330381":"瑞安市","330382":"乐清市","330383":"龙港市"},"330400":{"330401":"市辖区","330402":"南湖区","330411":"秀洲区","330421":"嘉善县","330424":"海盐县","330481":"海宁市","330482":"平湖市","330483":"桐乡市"},"330500":{"330501":"市辖区","330502":"吴兴区","330503":"南浔区","330521":"德清县","330522":"长兴县","330523":"安吉县"},"330600":{"330601":"市辖区","330602":"越城区","330603":"柯桥区","330604":"上虞区","330624":"新昌县","330681":"诸暨市","330683":"嵊州市"},"330700":{"330701":"市辖区","330702":"婺城区","330703":"金东区","330723":"武义县","330726":"浦江县","330727":"磐安县","330781":"兰溪市","330782":"义乌市","330783":"东阳市","330784":"永康市"},"330800":{"330801":"市辖区","330802":"柯城区","330803":"衢江区","330822":"常山县","330824":"开化县","330825":"龙游县","330881":"江山市"},"330900":{"330901":"市辖区","330902":"定海区","330903":"普陀区","330921":"岱山县","330922":"嵊泗县"},"331000":{"331001":"市辖区","331002":"椒江区","331003":"黄岩区","331004":"路桥区","331022":"三门县","331023":"天台县","331024":"仙居县","331081":"温岭市","331082":"临海市","331083":"玉环市"},"331100":{"331101":"市辖区","331102":"莲都区","331121":"青田县","331122":"缙云县","331123":"遂昌县","331124":"松阳县","331125":"云和县","331126":"庆元县","331127":"景宁畲族自治县","331181":"龙泉市"},"340000":{"340100":"合肥市","340200":"芜湖市","340300":"蚌埠市","340400":"淮南市","340500":"马鞍山市","340600":"淮北市","340700":"铜陵市","340800":"安庆市","341000":"黄山市","341100":"滁州市","341200":"阜阳市","341300":"宿州市","341500":"六安市","341600":"亳州市","341700":"池州市","341800":"宣城市"},"340100":{"340101":"市辖区","340102":"瑶海区","340103":"庐阳区","340104":"蜀山区","340111":"包河区","340121":"长丰县","340122":"肥东县","340123":"肥西县","340124":"庐江县","340171":"合肥高新技术产业开发区","340172":"合肥经济技术开发区","340173":"合肥新站高新技术产业开发区","340181":"巢湖市"},"340200":{"340201":"市辖区","340202":"镜湖区","340203":"弋江区","340207":"鸠江区","340208":"三山区","340221":"芜湖县","340222":"繁昌县","340223":"南陵县","340225":"无为县","340271":"芜湖经济技术开发区","340272":"安徽芜湖长江大桥经济开发区"},"340300":{"340301":"市辖区","340302":"龙子湖区","340303":"蚌山区","340304":"禹会区","340311":"淮上区","340321":"怀远县","340322":"五河县","340323":"固镇县","340371":"蚌埠市高新技术开发区","340372":"蚌埠市经济开发区"},"340400":{"340401":"市辖区","340402":"大通区","340403":"田家庵区","340404":"谢家集区","340405":"八公山区","340406":"潘集区","340421":"凤台县","340422":"寿县"},"340500":{"340501":"市辖区","340503":"花山区","340504":"雨山区","340506":"博望区","340521":"当涂县","340522":"含山县","340523":"和县"},"340600":{"340601":"市辖区","340602":"杜集区","340603":"相山区","340604":"烈山区","340621":"濉溪县"},"340700":{"340701":"市辖区","340705":"铜官区","340706":"义安区","340711":"郊区","340722":"枞阳县"},"340800":{"340801":"市辖区","340802":"迎江区","340803":"大观区","340811":"宜秀区","340822":"怀宁县","340825":"太湖县","340826":"宿松县","340827":"望江县","340828":"岳西县","340871":"安徽安庆经济开发区","340881":"桐城市","340882":"潜山市"},"341000":{"341001":"市辖区","341002":"屯溪区","341003":"黄山区","341004":"徽州区","341021":"歙县","341022":"休宁县","341023":"黟县","341024":"祁门县"},"341100":{"341101":"市辖区","341102":"琅琊区","341103":"南谯区","341122":"来安县","341124":"全椒县","341125":"定远县","341126":"凤阳县","341171":"苏滁现代产业园","341172":"滁州经济技术开发区","341181":"天长市","341182":"明光市"},"341200":{"341201":"市辖区","341202":"颍州区","341203":"颍东区","341204":"颍泉区","341221":"临泉县","341222":"太和县","341225":"阜南县","341226":"颍上县","341271":"阜阳合肥现代产业园区","341272":"阜阳经济技术开发区","341282":"界首市"},"341300":{"341301":"市辖区","341302":"埇桥区","341321":"砀山县","341322":"萧县","341323":"灵璧县","341324":"泗县","341371":"宿州马鞍山现代产业园区","341372":"宿州经济技术开发区"},"341500":{"341501":"市辖区","341502":"金安区","341503":"裕安区","341504":"叶集区","341522":"霍邱县","341523":"舒城县","341524":"金寨县","341525":"霍山县"},"341600":{"341601":"市辖区","341602":"谯城区","341621":"涡阳县","341622":"蒙城县","341623":"利辛县"},"341700":{"341701":"市辖区","341702":"贵池区","341721":"东至县","341722":"石台县","341723":"青阳县"},"341800":{"341801":"市辖区","341802":"宣州区","341821":"郎溪县","341823":"泾县","341824":"绩溪县","341825":"旌德县","341871":"宣城市经济开发区","341881":"宁国市","341882":"广德市"},"350000":{"350100":"福州市","350200":"厦门市","350300":"莆田市","350400":"三明市","350500":"泉州市","350600":"漳州市","350700":"南平市","350800":"龙岩市","350900":"宁德市"},"350100":{"350101":"市辖区","350102":"鼓楼区","350103":"台江区","350104":"仓山区","350105":"马尾区","350111":"晋安区","350112":"长乐区","350121":"闽侯县","350122":"连江县","350123":"罗源县","350124":"闽清县","350125":"永泰县","350128":"平潭县","350181":"福清市"},"350200":{"350201":"市辖区","350203":"思明区","350205":"海沧区","350206":"湖里区","350211":"集美区","350212":"同安区","350213":"翔安区"},"350300":{"350301":"市辖区","350302":"城厢区","350303":"涵江区","350304":"荔城区","350305":"秀屿区","350322":"仙游县"},"350400":{"350401":"市辖区","350402":"梅列区","350403":"三元区","350421":"明溪县","350423":"清流县","350424":"宁化县","350425":"大田县","350426":"尤溪县","350427":"沙县","350428":"将乐县","350429":"泰宁县","350430":"建宁县","350481":"永安市"},"350500":{"350501":"市辖区","350502":"鲤城区","350503":"丰泽区","350504":"洛江区","350505":"泉港区","350521":"惠安县","350524":"安溪县","350525":"永春县","350526":"德化县","350527":"金门县","350581":"石狮市","350582":"晋江市","350583":"南安市"},"350600":{"350601":"市辖区","350602":"芗城区","350603":"龙文区","350622":"云霄县","350623":"漳浦县","350624":"诏安县","350625":"长泰县","350626":"东山县","350627":"南靖县","350628":"平和县","350629":"华安县","350681":"龙海市"},"350700":{"350701":"市辖区","350702":"延平区","350703":"建阳区","350721":"顺昌县","350722":"浦城县","350723":"光泽县","350724":"松溪县","350725":"政和县","350781":"邵武市","350782":"武夷山市","350783":"建瓯市"},"350800":{"350801":"市辖区","350802":"新罗区","350803":"永定区","350821":"长汀县","350823":"上杭县","350824":"武平县","350825":"连城县","350881":"漳平市"},"350900":{"350901":"市辖区","350902":"蕉城区","350921":"霞浦县","350922":"古田县","350923":"屏南县","350924":"寿宁县","350925":"周宁县","350926":"柘荣县","350981":"福安市","350982":"福鼎市"},"360000":{"360100":"南昌市","360200":"景德镇市","360300":"萍乡市","360400":"九江市","360500":"新余市","360600":"鹰潭市","360700":"赣州市","360800":"吉安市","360900":"宜春市","361000":"抚州市","361100":"上饶市"},"360100":{"360101":"市辖区","360102":"东湖区","360103":"西湖区","360104":"青云谱区","360105":"湾里区","360111":"青山湖区","360112":"新建区","360121":"南昌县","360123":"安义县","360124":"进贤县"},"360200":{"360201":"市辖区","360202":"昌江区","360203":"珠山区","360222":"浮梁县","360281":"乐平市"},"360300":{"360301":"市辖区","360302":"安源区","360313":"湘东区","360321":"莲花县","360322":"上栗县","360323":"芦溪县"},"360400":{"360401":"市辖区","360402":"濂溪区","360403":"浔阳区","360404":"柴桑区","360423":"武宁县","360424":"修水县","360425":"永修县","360426":"德安县","360428":"都昌县","360429":"湖口县","360430":"彭泽县","360481":"瑞昌市","360482":"共青城市","360483":"庐山市"},"360500":{"360501":"市辖区","360502":"渝水区","360521":"分宜县"},"360600":{"360601":"市辖区","360602":"月湖区","360603":"余江区","360681":"贵溪市"},"360700":{"360701":"市辖区","360702":"章贡区","360703":"南康区","360704":"赣县区","360722":"信丰县","360723":"大余县","360724":"上犹县","360725":"崇义县","360726":"安远县","360727":"龙南县","360728":"定南县","360729":"全南县","360730":"宁都县","360731":"于都县","360732":"兴国县","360733":"会昌县","360734":"寻乌县","360735":"石城县","360781":"瑞金市"},"360800":{"360801":"市辖区","360802":"吉州区","360803":"青原区","360821":"吉安县","360822":"吉水县","360823":"峡江县","360824":"新干县","360825":"永丰县","360826":"泰和县","360827":"遂川县","360828":"万安县","360829":"安福县","360830":"永新县","360881":"井冈山市"},"360900":{"360901":"市辖区","360902":"袁州区","360921":"奉新县","360922":"万载县","360923":"上高县","360924":"宜丰县","360925":"靖安县","360926":"铜鼓县","360981":"丰城市","360982":"樟树市","360983":"高安市"},"361000":{"361001":"市辖区","361002":"临川区","361003":"东乡区","361021":"南城县","361022":"黎川县","361023":"南丰县","361024":"崇仁县","361025":"乐安县","361026":"宜黄县","361027":"金溪县","361028":"资溪县","361030":"广昌县"},"361100":{"361101":"市辖区","361102":"信州区","361103":"广丰区","361104":"广信区","361123":"玉山县","361124":"铅山县","361125":"横峰县","361126":"弋阳县","361127":"余干县","361128":"鄱阳县","361129":"万年县","361130":"婺源县","361181":"德兴市"},"370000":{"370100":"济南市","370200":"青岛市","370300":"淄博市","370400":"枣庄市","370500":"东营市","370600":"烟台市","370700":"潍坊市","370800":"济宁市","370900":"泰安市","371000":"威海市","371100":"日照市","371300":"临沂市","371400":"德州市","371500":"聊城市","371600":"滨州市","371700":"菏泽市"},"370100":{"370101":"市辖区","370102":"历下区","370103":"市中区","370104":"槐荫区","370105":"天桥区","370112":"历城区","370113":"长清区","370114":"章丘区","370115":"济阳区","370116":"莱芜区","370117":"钢城区","370124":"平阴县","370126":"商河县","370171":"济南高新技术产业开发区"},"370200":{"370201":"市辖区","370202":"市南区","370203":"市北区","370211":"黄岛区","370212":"崂山区","370213":"李沧区","370214":"城阳区","370215":"即墨区","370271":"青岛高新技术产业开发区","370281":"胶州市","370283":"平度市","370285":"莱西市"},"370300":{"370301":"市辖区","370302":"淄川区","370303":"张店区","370304":"博山区","370305":"临淄区","370306":"周村区","370321":"桓台县","370322":"高青县","370323":"沂源县"},"370400":{"370401":"市辖区","370402":"市中区","370403":"薛城区","370404":"峄城区","370405":"台儿庄区","370406":"山亭区","370481":"滕州市"},"370500":{"370501":"市辖区","370502":"东营区","370503":"河口区","370505":"垦利区","370522":"利津县","370523":"广饶县","370571":"东营经济技术开发区","370572":"东营港经济开发区"},"370600":{"370601":"市辖区","370602":"芝罘区","370611":"福山区","370612":"牟平区","370613":"莱山区","370634":"长岛县","370671":"烟台高新技术产业开发区","370672":"烟台经济技术开发区","370681":"龙口市","370682":"莱阳市","370683":"莱州市","370684":"蓬莱市","370685":"招远市","370686":"栖霞市","370687":"海阳市"},"370700":{"370701":"市辖区","370702":"潍城区","370703":"寒亭区","370704":"坊子区","370705":"奎文区","370724":"临朐县","370725":"昌乐县","370772":"潍坊滨海经济技术开发区","370781":"青州市","370782":"诸城市","370783":"寿光市","370784":"安丘市","370785":"高密市","370786":"昌邑市"},"370800":{"370801":"市辖区","370811":"任城区","370812":"兖州区","370826":"微山县","370827":"鱼台县","370828":"金乡县","370829":"嘉祥县","370830":"汶上县","370831":"泗水县","370832":"梁山县","370871":"济宁高新技术产业开发区","370881":"曲阜市","370883":"邹城市"},"370900":{"370901":"市辖区","370902":"泰山区","370911":"岱岳区","370921":"宁阳县","370923":"东平县","370982":"新泰市","370983":"肥城市"},"371000":{"371001":"市辖区","371002":"环翠区","371003":"文登区","371071":"威海火炬高技术产业开发区","371072":"威海经济技术开发区","371073":"威海临港经济技术开发区","371082":"荣成市","371083":"乳山市"},"371100":{"371101":"市辖区","371102":"东港区","371103":"岚山区","371121":"五莲县","371122":"莒县","371171":"日照经济技术开发区"},"371300":{"371301":"市辖区","371302":"兰山区","371311":"罗庄区","371312":"河东区","371321":"沂南县","371322":"郯城县","371323":"沂水县","371324":"兰陵县","371325":"费县","371326":"平邑县","371327":"莒南县","371328":"蒙阴县","371329":"临沭县","371371":"临沂高新技术产业开发区","371372":"临沂经济技术开发区","371373":"临沂临港经济开发区"},"371400":{"371401":"市辖区","371402":"德城区","371403":"陵城区","371422":"宁津县","371423":"庆云县","371424":"临邑县","371425":"齐河县","371426":"平原县","371427":"夏津县","371428":"武城县","371471":"德州经济技术开发区","371472":"德州运河经济开发区","371481":"乐陵市","371482":"禹城市"},"371500":{"371501":"市辖区","371502":"东昌府区","371503":"茌平区","371521":"阳谷县","371522":"莘县","371524":"东阿县","371525":"冠县","371526":"高唐县","371581":"临清市"},"371600":{"371601":"市辖区","371602":"滨城区","371603":"沾化区","371621":"惠民县","371622":"阳信县","371623":"无棣县","371625":"博兴县","371681":"邹平市"},"371700":{"371701":"市辖区","371702":"牡丹区","371703":"定陶区","371721":"曹县","371722":"单县","371723":"成武县","371724":"巨野县","371725":"郓城县","371726":"鄄城县","371728":"东明县","371771":"菏泽经济技术开发区","371772":"菏泽高新技术开发区"},"410000":{"410100":"郑州市","410200":"开封市","410300":"洛阳市","410400":"平顶山市","410500":"安阳市","410600":"鹤壁市","410700":"新乡市","410800":"焦作市","410900":"濮阳市","411000":"许昌市","411100":"漯河市","411200":"三门峡市","411300":"南阳市","411400":"商丘市","411500":"信阳市","411600":"周口市","411700":"驻马店市","419000":"省直辖县级行政区划"},"410100":{"410101":"市辖区","410102":"中原区","410103":"二七区","410104":"管城回族区","410105":"金水区","410106":"上街区","410108":"惠济区","410122":"中牟县","410171":"郑州经济技术开发区","410172":"郑州高新技术产业开发区","410173":"郑州航空港经济综合实验区","410181":"巩义市","410182":"荥阳市","410183":"新密市","410184":"新郑市","410185":"登封市"},"410200":{"410201":"市辖区","410202":"龙亭区","410203":"顺河回族区","410204":"鼓楼区","410205":"禹王台区","410212":"祥符区","410221":"杞县","410222":"通许县","410223":"尉氏县","410225":"兰考县"},"410300":{"410301":"市辖区","410302":"老城区","410303":"西工区","410304":"瀍河回族区","410305":"涧西区","410306":"吉利区","410311":"洛龙区","410322":"孟津县","410323":"新安县","410324":"栾川县","410325":"嵩县","410326":"汝阳县","410327":"宜阳县","410328":"洛宁县","410329":"伊川县","410371":"洛阳高新技术产业开发区","410381":"偃师市"},"410400":{"410401":"市辖区","410402":"新华区","410403":"卫东区","410404":"石龙区","410411":"湛河区","410421":"宝丰县","410422":"叶县","410423":"鲁山县","410425":"郏县","410471":"平顶山高新技术产业开发区","410472":"平顶山市城乡一体化示范区","410481":"舞钢市","410482":"汝州市"},"410500":{"410501":"市辖区","410502":"文峰区","410503":"北关区","410505":"殷都区","410506":"龙安区","410522":"安阳县","410523":"汤阴县","410526":"滑县","410527":"内黄县","410571":"安阳高新技术产业开发区","410581":"林州市"},"410600":{"410601":"市辖区","410602":"鹤山区","410603":"山城区","410611":"淇滨区","410621":"浚县","410622":"淇县","410671":"鹤壁经济技术开发区"},"410700":{"410701":"市辖区","410702":"红旗区","410703":"卫滨区","410704":"凤泉区","410711":"牧野区","410721":"新乡县","410724":"获嘉县","410725":"原阳县","410726":"延津县","410727":"封丘县","410771":"新乡高新技术产业开发区","410772":"新乡经济技术开发区","410773":"新乡市平原城乡一体化示范区","410781":"卫辉市","410782":"辉县市","410783":"长垣市"},"410800":{"410801":"市辖区","410802":"解放区","410803":"中站区","410804":"马村区","410811":"山阳区","410821":"修武县","410822":"博爱县","410823":"武陟县","410825":"温县","410871":"焦作城乡一体化示范区","410882":"沁阳市","410883":"孟州市"},"410900":{"410901":"市辖区","410902":"华龙区","410922":"清丰县","410923":"南乐县","410926":"范县","410927":"台前县","410928":"濮阳县","410971":"河南濮阳工业园区","410972":"濮阳经济技术开发区"},"411000":{"411001":"市辖区","411002":"魏都区","411003":"建安区","411024":"鄢陵县","411025":"襄城县","411071":"许昌经济技术开发区","411081":"禹州市","411082":"长葛市"},"411100":{"411101":"市辖区","411102":"源汇区","411103":"郾城区","411104":"召陵区","411121":"舞阳县","411122":"临颍县","411171":"漯河经济技术开发区"},"411200":{"411201":"市辖区","411202":"湖滨区","411203":"陕州区","411221":"渑池县","411224":"卢氏县","411271":"河南三门峡经济开发区","411281":"义马市","411282":"灵宝市"},"411300":{"411301":"市辖区","411302":"宛城区","411303":"卧龙区","411321":"南召县","411322":"方城县","411323":"西峡县","411324":"镇平县","411325":"内乡县","411326":"淅川县","411327":"社旗县","411328":"唐河县","411329":"新野县","411330":"桐柏县","411371":"南阳高新技术产业开发区","411372":"南阳市城乡一体化示范区","411381":"邓州市"},"411400":{"411401":"市辖区","411402":"梁园区","411403":"睢阳区","411421":"民权县","411422":"睢县","411423":"宁陵县","411424":"柘城县","411425":"虞城县","411426":"夏邑县","411471":"豫东综合物流产业聚集区","411472":"河南商丘经济开发区","411481":"永城市"},"411500":{"411501":"市辖区","411502":"浉河区","411503":"平桥区","411521":"罗山县","411522":"光山县","411523":"新县","411524":"商城县","411525":"固始县","411526":"潢川县","411527":"淮滨县","411528":"息县","411571":"信阳高新技术产业开发区"},"411600":{"411601":"市辖区","411602":"川汇区","411603":"淮阳区","411621":"扶沟县","411622":"西华县","411623":"商水县","411624":"沈丘县","411625":"郸城县","411627":"太康县","411628":"鹿邑县","411671":"河南周口经济开发区","411681":"项城市"},"411700":{"411701":"市辖区","411702":"驿城区","411721":"西平县","411722":"上蔡县","411723":"平舆县","411724":"正阳县","411725":"确山县","411726":"泌阳县","411727":"汝南县","411728":"遂平县","411729":"新蔡县","411771":"河南驻马店经济开发区"},"419000":{"419001":"济源市"},"420000":{"420100":"武汉市","420200":"黄石市","420300":"十堰市","420500":"宜昌市","420600":"襄阳市","420700":"鄂州市","420800":"荆门市","420900":"孝感市","421000":"荆州市","421100":"黄冈市","421200":"咸宁市","421300":"随州市","422800":"恩施土家族苗族自治州","429000":"省直辖县级行政区划"},"420100":{"420101":"市辖区","420102":"江岸区","420103":"江汉区","420104":"硚口区","420105":"汉阳区","420106":"武昌区","420107":"青山区","420111":"洪山区","420112":"东西湖区","420113":"汉南区","420114":"蔡甸区","420115":"江夏区","420116":"黄陂区","420117":"新洲区"},"420200":{"420201":"市辖区","420202":"黄石港区","420203":"西塞山区","420204":"下陆区","420205":"铁山区","420222":"阳新县","420281":"大冶市"},"420300":{"420301":"市辖区","420302":"茅箭区","420303":"张湾区","420304":"郧阳区","420322":"郧西县","420323":"竹山县","420324":"竹溪县","420325":"房县","420381":"丹江口市"},"420500":{"420501":"市辖区","420502":"西陵区","420503":"伍家岗区","420504":"点军区","420505":"猇亭区","420506":"夷陵区","420525":"远安县","420526":"兴山县","420527":"秭归县","420528":"长阳土家族自治县","420529":"五峰土家族自治县","420581":"宜都市","420582":"当阳市","420583":"枝江市"},"420600":{"420601":"市辖区","420602":"襄城区","420606":"樊城区","420607":"襄州区","420624":"南漳县","420625":"谷城县","420626":"保康县","420682":"老河口市","420683":"枣阳市","420684":"宜城市"},"420700":{"420701":"市辖区","420702":"梁子湖区","420703":"华容区","420704":"鄂城区"},"420800":{"420801":"市辖区","420802":"东宝区","420804":"掇刀区","420822":"沙洋县","420881":"钟祥市","420882":"京山市"},"420900":{"420901":"市辖区","420902":"孝南区","420921":"孝昌县","420922":"大悟县","420923":"云梦县","420981":"应城市","420982":"安陆市","420984":"汉川市"},"421000":{"421001":"市辖区","421002":"沙市区","421003":"荆州区","421022":"公安县","421023":"监利县","421024":"江陵县","421071":"荆州经济技术开发区","421081":"石首市","421083":"洪湖市","421087":"松滋市"},"421100":{"421101":"市辖区","421102":"黄州区","421121":"团风县","421122":"红安县","421123":"罗田县","421124":"英山县","421125":"浠水县","421126":"蕲春县","421127":"黄梅县","421171":"龙感湖管理区","421181":"麻城市","421182":"武穴市"},"421200":{"421201":"市辖区","421202":"咸安区","421221":"嘉鱼县","421222":"通城县","421223":"崇阳县","421224":"通山县","421281":"赤壁市"},"421300":{"421301":"市辖区","421303":"曾都区","421321":"随县","421381":"广水市"},"422800":{"422801":"恩施市","422802":"利川市","422822":"建始县","422823":"巴东县","422825":"宣恩县","422826":"咸丰县","422827":"来凤县","422828":"鹤峰县"},"429000":{"429004":"仙桃市","429005":"潜江市","429006":"天门市","429021":"神农架林区"},"430000":{"430100":"长沙市","430200":"株洲市","430300":"湘潭市","430400":"衡阳市","430500":"邵阳市","430600":"岳阳市","430700":"常德市","430800":"张家界市","430900":"益阳市","431000":"郴州市","431100":"永州市","431200":"怀化市","431300":"娄底市","433100":"湘西土家族苗族自治州"},"430100":{"430101":"市辖区","430102":"芙蓉区","430103":"天心区","430104":"岳麓区","430105":"开福区","430111":"雨花区","430112":"望城区","430121":"长沙县","430181":"浏阳市","430182":"宁乡市"},"430200":{"430201":"市辖区","430202":"荷塘区","430203":"芦淞区","430204":"石峰区","430211":"天元区","430212":"渌口区","430223":"攸县","430224":"茶陵县","430225":"炎陵县","430271":"云龙示范区","430281":"醴陵市"},"430300":{"430301":"市辖区","430302":"雨湖区","430304":"岳塘区","430321":"湘潭县","430371":"湖南湘潭高新技术产业园区","430372":"湘潭昭山示范区","430373":"湘潭九华示范区","430381":"湘乡市","430382":"韶山市"},"430400":{"430401":"市辖区","430405":"珠晖区","430406":"雁峰区","430407":"石鼓区","430408":"蒸湘区","430412":"南岳区","430421":"衡阳县","430422":"衡南县","430423":"衡山县","430424":"衡东县","430426":"祁东县","430471":"衡阳综合保税区","430472":"湖南衡阳高新技术产业园区","430473":"湖南衡阳松木经济开发区","430481":"耒阳市","430482":"常宁市"},"430500":{"430501":"市辖区","430502":"双清区","430503":"大祥区","430511":"北塔区","430522":"新邵县","430523":"邵阳县","430524":"隆回县","430525":"洞口县","430527":"绥宁县","430528":"新宁县","430529":"城步苗族自治县","430581":"武冈市","430582":"邵东市"},"430600":{"430601":"市辖区","430602":"岳阳楼区","430603":"云溪区","430611":"君山区","430621":"岳阳县","430623":"华容县","430624":"湘阴县","430626":"平江县","430671":"岳阳市屈原管理区","430681":"汨罗市","430682":"临湘市"},"430700":{"430701":"市辖区","430702":"武陵区","430703":"鼎城区","430721":"安乡县","430722":"汉寿县","430723":"澧县","430724":"临澧县","430725":"桃源县","430726":"石门县","430771":"常德市西洞庭管理区","430781":"津市市"},"430800":{"430801":"市辖区","430802":"永定区","430811":"武陵源区","430821":"慈利县","430822":"桑植县"},"430900":{"430901":"市辖区","430902":"资阳区","430903":"赫山区","430921":"南县","430922":"桃江县","430923":"安化县","430971":"益阳市大通湖管理区","430972":"湖南益阳高新技术产业园区","430981":"沅江市"},"431000":{"431001":"市辖区","431002":"北湖区","431003":"苏仙区","431021":"桂阳县","431022":"宜章县","431023":"永兴县","431024":"嘉禾县","431025":"临武县","431026":"汝城县","431027":"桂东县","431028":"安仁县","431081":"资兴市"},"431100":{"431101":"市辖区","431102":"零陵区","431103":"冷水滩区","431121":"祁阳县","431122":"东安县","431123":"双牌县","431124":"道县","431125":"江永县","431126":"宁远县","431127":"蓝山县","431128":"新田县","431129":"江华瑶族自治县","431171":"永州经济技术开发区","431172":"永州市金洞管理区","431173":"永州市回龙圩管理区"},"431200":{"431201":"市辖区","431202":"鹤城区","431221":"中方县","431222":"沅陵县","431223":"辰溪县","431224":"溆浦县","431225":"会同县","431226":"麻阳苗族自治县","431227":"新晃侗族自治县","431228":"芷江侗族自治县","431229":"靖州苗族侗族自治县","431230":"通道侗族自治县","431271":"怀化市洪江管理区","431281":"洪江市"},"431300":{"431301":"市辖区","431302":"娄星区","431321":"双峰县","431322":"新化县","431381":"冷水江市","431382":"涟源市"},"433100":{"433101":"吉首市","433122":"泸溪县","433123":"凤凰县","433124":"花垣县","433125":"保靖县","433126":"古丈县","433127":"永顺县","433130":"龙山县","433173":"湖南永顺经济开发区"},"440000":{"440100":"广州市","440200":"韶关市","440300":"深圳市","440400":"珠海市","440500":"汕头市","440600":"佛山市","440700":"江门市","440800":"湛江市","440900":"茂名市","441200":"肇庆市","441300":"惠州市","441400":"梅州市","441500":"汕尾市","441600":"河源市","441700":"阳江市","441800":"清远市","441900":"东莞市","442000":"中山市","445100":"潮州市","445200":"揭阳市","445300":"云浮市"},"440100":{"440101":"市辖区","440103":"荔湾区","440104":"越秀区","440105":"海珠区","440106":"天河区","440111":"白云区","440112":"黄埔区","440113":"番禺区","440114":"花都区","440115":"南沙区","440117":"从化区","440118":"增城区"},"440200":{"440201":"市辖区","440203":"武江区","440204":"浈江区","440205":"曲江区","440222":"始兴县","440224":"仁化县","440229":"翁源县","440232":"乳源瑶族自治县","440233":"新丰县","440281":"乐昌市","440282":"南雄市"},"440300":{"440301":"市辖区","440303":"罗湖区","440304":"福田区","440305":"南山区","440306":"宝安区","440307":"龙岗区","440308":"盐田区","440309":"龙华区","440310":"坪山区","440311":"光明区"},"440400":{"440401":"市辖区","440402":"香洲区","440403":"斗门区","440404":"金湾区"},"440500":{"440501":"市辖区","440507":"龙湖区","440511":"金平区","440512":"濠江区","440513":"潮阳区","440514":"潮南区","440515":"澄海区","440523":"南澳县"},"440600":{"440601":"市辖区","440604":"禅城区","440605":"南海区","440606":"顺德区","440607":"三水区","440608":"高明区"},"440700":{"440701":"市辖区","440703":"蓬江区","440704":"江海区","440705":"新会区","440781":"台山市","440783":"开平市","440784":"鹤山市","440785":"恩平市"},"440800":{"440801":"市辖区","440802":"赤坎区","440803":"霞山区","440804":"坡头区","440811":"麻章区","440823":"遂溪县","440825":"徐闻县","440881":"廉江市","440882":"雷州市","440883":"吴川市"},"440900":{"440901":"市辖区","440902":"茂南区","440904":"电白区","440981":"高州市","440982":"化州市","440983":"信宜市"},"441200":{"441201":"市辖区","441202":"端州区","441203":"鼎湖区","441204":"高要区","441223":"广宁县","441224":"怀集县","441225":"封开县","441226":"德庆县","441284":"四会市"},"441300":{"441301":"市辖区","441302":"惠城区","441303":"惠阳区","441322":"博罗县","441323":"惠东县","441324":"龙门县"},"441400":{"441401":"市辖区","441402":"梅江区","441403":"梅县区","441422":"大埔县","441423":"丰顺县","441424":"五华县","441426":"平远县","441427":"蕉岭县","441481":"兴宁市"},"441500":{"441501":"市辖区","441502":"城区","441521":"海丰县","441523":"陆河县","441581":"陆丰市"},"441600":{"441601":"市辖区","441602":"源城区","441621":"紫金县","441622":"龙川县","441623":"连平县","441624":"和平县","441625":"东源县"},"441700":{"441701":"市辖区","441702":"江城区","441704":"阳东区","441721":"阳西县","441781":"阳春市"},"441800":{"441801":"市辖区","441802":"清城区","441803":"清新区","441821":"佛冈县","441823":"阳山县","441825":"连山壮族瑶族自治县","441826":"连南瑶族自治县","441881":"英德市","441882":"连州市"},"441900":{"441900003":"东城街道","441900004":"南城街道","441900005":"万江街道","441900006":"莞城街道","441900101":"石碣镇","441900102":"石龙镇","441900103":"茶山镇","441900104":"石排镇","441900105":"企石镇","441900106":"横沥镇","441900107":"桥头镇","441900108":"谢岗镇","441900109":"东坑镇","441900110":"常平镇","441900111":"寮步镇","441900112":"樟木头镇","441900113":"大朗镇","441900114":"黄江镇","441900115":"清溪镇","441900116":"塘厦镇","441900117":"凤岗镇","441900118":"大岭山镇","441900119":"长安镇","441900121":"虎门镇","441900122":"厚街镇","441900123":"沙田镇","441900124":"道滘镇","441900125":"洪梅镇","441900126":"麻涌镇","441900127":"望牛墩镇","441900128":"中堂镇","441900129":"高埗镇","441900401":"松山湖","441900402":"东莞港","441900403":"东莞生态园"},"442000":{"442000001":"石岐街道","442000002":"东区街道","442000003":"中山港街道","442000004":"西区街道","442000005":"南区街道","442000006":"五桂山街道","442000100":"小榄镇","442000101":"黄圃镇","442000102":"民众镇","442000103":"东凤镇","442000104":"东升镇","442000105":"古镇镇","442000106":"沙溪镇","442000107":"坦洲镇","442000108":"港口镇","442000109":"三角镇","442000110":"横栏镇","442000111":"南头镇","442000112":"阜沙镇","442000113":"南朗镇","442000114":"三乡镇","442000115":"板芙镇","442000116":"大涌镇","442000117":"神湾镇"},"445100":{"445101":"市辖区","445102":"湘桥区","445103":"潮安区","445122":"饶平县"},"445200":{"445201":"市辖区","445202":"榕城区","445203":"揭东区","445222":"揭西县","445224":"惠来县","445281":"普宁市"},"445300":{"445301":"市辖区","445302":"云城区","445303":"云安区","445321":"新兴县","445322":"郁南县","445381":"罗定市"},"450000":{"450100":"南宁市","450200":"柳州市","450300":"桂林市","450400":"梧州市","450500":"北海市","450600":"防城港市","450700":"钦州市","450800":"贵港市","450900":"玉林市","451000":"百色市","451100":"贺州市","451200":"河池市","451300":"来宾市","451400":"崇左市"},"450100":{"450101":"市辖区","450102":"兴宁区","450103":"青秀区","450105":"江南区","450107":"西乡塘区","450108":"良庆区","450109":"邕宁区","450110":"武鸣区","450123":"隆安县","450124":"马山县","450125":"上林县","450126":"宾阳县","450127":"横县"},"450200":{"450201":"市辖区","450202":"城中区","450203":"鱼峰区","450204":"柳南区","450205":"柳北区","450206":"柳江区","450222":"柳城县","450223":"鹿寨县","450224":"融安县","450225":"融水苗族自治县","450226":"三江侗族自治县"},"450300":{"450301":"市辖区","450302":"秀峰区","450303":"叠彩区","450304":"象山区","450305":"七星区","450311":"雁山区","450312":"临桂区","450321":"阳朔县","450323":"灵川县","450324":"全州县","450325":"兴安县","450326":"永福县","450327":"灌阳县","450328":"龙胜各族自治县","450329":"资源县","450330":"平乐县","450332":"恭城瑶族自治县","450381":"荔浦市"},"450400":{"450401":"市辖区","450403":"万秀区","450405":"长洲区","450406":"龙圩区","450421":"苍梧县","450422":"藤县","450423":"蒙山县","450481":"岑溪市"},"450500":{"450501":"市辖区","450502":"海城区","450503":"银海区","450512":"铁山港区","450521":"合浦县"},"450600":{"450601":"市辖区","450602":"港口区","450603":"防城区","450621":"上思县","450681":"东兴市"},"450700":{"450701":"市辖区","450702":"钦南区","450703":"钦北区","450721":"灵山县","450722":"浦北县"},"450800":{"450801":"市辖区","450802":"港北区","450803":"港南区","450804":"覃塘区","450821":"平南县","450881":"桂平市"},"450900":{"450901":"市辖区","450902":"玉州区","450903":"福绵区","450921":"容县","450922":"陆川县","450923":"博白县","450924":"兴业县","450981":"北流市"},"451000":{"451001":"市辖区","451002":"右江区","451003":"田阳区","451022":"田东县","451023":"平果县","451024":"德保县","451026":"那坡县","451027":"凌云县","451028":"乐业县","451029":"田林县","451030":"西林县","451031":"隆林各族自治县","451081":"靖西市"},"451100":{"451101":"市辖区","451102":"八步区","451103":"平桂区","451121":"昭平县","451122":"钟山县","451123":"富川瑶族自治县"},"451200":{"451201":"市辖区","451202":"金城江区","451203":"宜州区","451221":"南丹县","451222":"天峨县","451223":"凤山县","451224":"东兰县","451225":"罗城仫佬族自治县","451226":"环江毛南族自治县","451227":"巴马瑶族自治县","451228":"都安瑶族自治县","451229":"大化瑶族自治县"},"451300":{"451301":"市辖区","451302":"兴宾区","451321":"忻城县","451322":"象州县","451323":"武宣县","451324":"金秀瑶族自治县","451381":"合山市"},"451400":{"451401":"市辖区","451402":"江州区","451421":"扶绥县","451422":"宁明县","451423":"龙州县","451424":"大新县","451425":"天等县","451481":"凭祥市"},"460000":{"460100":"海口市","460200":"三亚市","460300":"三沙市","460400":"儋州市","469000":"省直辖县级行政区划"},"460100":{"460101":"市辖区","460105":"秀英区","460106":"龙华区","460107":"琼山区","460108":"美兰区"},"460200":{"460201":"市辖区","460202":"海棠区","460203":"吉阳区","460204":"天涯区","460205":"崖州区"},"460300":{"460321":"西沙群岛","460322":"南沙群岛","460323":"中沙群岛的岛礁及其海域"},"460400":{"460400100":"那大镇","460400101":"和庆镇","460400102":"南丰镇","460400103":"大成镇","460400104":"雅星镇","460400105":"兰洋镇","460400106":"光村镇","460400107":"木棠镇","460400108":"海头镇","460400109":"峨蔓镇","460400111":"王五镇","460400112":"白马井镇","460400113":"中和镇","460400114":"排浦镇","460400115":"东成镇","460400116":"新州镇","460400499":"洋浦经济开发区","460400500":"华南热作学院"},"469000":{"469001":"五指山市","469002":"琼海市","469005":"文昌市","469006":"万宁市","469007":"东方市","469021":"定安县","469022":"屯昌县","469023":"澄迈县","469024":"临高县","469025":"白沙黎族自治县","469026":"昌江黎族自治县","469027":"乐东黎族自治县","469028":"陵水黎族自治县","469029":"保亭黎族苗族自治县","469030":"琼中黎族苗族自治县"},"500000":{"500100":"市辖区","500200":"县"},"500100":{"500101":"万州区","500102":"涪陵区","500103":"渝中区","500104":"大渡口区","500105":"江北区","500106":"沙坪坝区","500107":"九龙坡区","500108":"南岸区","500109":"北碚区","500110":"綦江区","500111":"大足区","500112":"渝北区","500113":"巴南区","500114":"黔江区","500115":"长寿区","500116":"江津区","500117":"合川区","500118":"永川区","500119":"南川区","500120":"璧山区","500151":"铜梁区","500152":"潼南区","500153":"荣昌区","500154":"开州区","500155":"梁平区","500156":"武隆区"},"500200":{"500229":"城口县","500230":"丰都县","500231":"垫江县","500233":"忠县","500235":"云阳县","500236":"奉节县","500237":"巫山县","500238":"巫溪县","500240":"石柱土家族自治县","500241":"秀山土家族苗族自治县","500242":"酉阳土家族苗族自治县","500243":"彭水苗族土家族自治县"},"510000":{"510100":"成都市","510300":"自贡市","510400":"攀枝花市","510500":"泸州市","510600":"德阳市","510700":"绵阳市","510800":"广元市","510900":"遂宁市","511000":"内江市","511100":"乐山市","511300":"南充市","511400":"眉山市","511500":"宜宾市","511600":"广安市","511700":"达州市","511800":"雅安市","511900":"巴中市","512000":"资阳市","513200":"阿坝藏族羌族自治州","513300":"甘孜藏族自治州","513400":"凉山彝族自治州"},"510100":{"510101":"市辖区","510104":"锦江区","510105":"青羊区","510106":"金牛区","510107":"武侯区","510108":"成华区","510112":"龙泉驿区","510113":"青白江区","510114":"新都区","510115":"温江区","510116":"双流区","510117":"郫都区","510121":"金堂县","510129":"大邑县","510131":"蒲江县","510132":"新津县","510181":"都江堰市","510182":"彭州市","510183":"邛崃市","510184":"崇州市","510185":"简阳市"},"510300":{"510301":"市辖区","510302":"自流井区","510303":"贡井区","510304":"大安区","510311":"沿滩区","510321":"荣县","510322":"富顺县"},"510400":{"510401":"市辖区","510402":"东区","510403":"西区","510411":"仁和区","510421":"米易县","510422":"盐边县"},"510500":{"510501":"市辖区","510502":"江阳区","510503":"纳溪区","510504":"龙马潭区","510521":"泸县","510522":"合江县","510524":"叙永县","510525":"古蔺县"},"510600":{"510601":"市辖区","510603":"旌阳区","510604":"罗江区","510623":"中江县","510681":"广汉市","510682":"什邡市","510683":"绵竹市"},"510700":{"510701":"市辖区","510703":"涪城区","510704":"游仙区","510705":"安州区","510722":"三台县","510723":"盐亭县","510725":"梓潼县","510726":"北川羌族自治县","510727":"平武县","510781":"江油市"},"510800":{"510801":"市辖区","510802":"利州区","510811":"昭化区","510812":"朝天区","510821":"旺苍县","510822":"青川县","510823":"剑阁县","510824":"苍溪县"},"510900":{"510901":"市辖区","510903":"船山区","510904":"安居区","510921":"蓬溪县","510923":"大英县","510981":"射洪市"},"511000":{"511001":"市辖区","511002":"市中区","511011":"东兴区","511024":"威远县","511025":"资中县","511071":"内江经济开发区","511083":"隆昌市"},"511100":{"511101":"市辖区","511102":"市中区","511111":"沙湾区","511112":"五通桥区","511113":"金口河区","511123":"犍为县","511124":"井研县","511126":"夹江县","511129":"沐川县","511132":"峨边彝族自治县","511133":"马边彝族自治县","511181":"峨眉山市"},"511300":{"511301":"市辖区","511302":"顺庆区","511303":"高坪区","511304":"嘉陵区","511321":"南部县","511322":"营山县","511323":"蓬安县","511324":"仪陇县","511325":"西充县","511381":"阆中市"},"511400":{"511401":"市辖区","511402":"东坡区","511403":"彭山区","511421":"仁寿县","511423":"洪雅县","511424":"丹棱县","511425":"青神县"},"511500":{"511501":"市辖区","511502":"翠屏区","511503":"南溪区","511504":"叙州区","511523":"江安县","511524":"长宁县","511525":"高县","511526":"珙县","511527":"筠连县","511528":"兴文县","511529":"屏山县"},"511600":{"511601":"市辖区","511602":"广安区","511603":"前锋区","511621":"岳池县","511622":"武胜县","511623":"邻水县","511681":"华蓥市"},"511700":{"511701":"市辖区","511702":"通川区","511703":"达川区","511722":"宣汉县","511723":"开江县","511724":"大竹县","511725":"渠县","511771":"达州经济开发区","511781":"万源市"},"511800":{"511801":"市辖区","511802":"雨城区","511803":"名山区","511822":"荥经县","511823":"汉源县","511824":"石棉县","511825":"天全县","511826":"芦山县","511827":"宝兴县"},"511900":{"511901":"市辖区","511902":"巴州区","511903":"恩阳区","511921":"通江县","511922":"南江县","511923":"平昌县","511971":"巴中经济开发区"},"512000":{"512001":"市辖区","512002":"雁江区","512021":"安岳县","512022":"乐至县"},"513200":{"513201":"马尔康市","513221":"汶川县","513222":"理县","513223":"茂县","513224":"松潘县","513225":"九寨沟县","513226":"金川县","513227":"小金县","513228":"黑水县","513230":"壤塘县","513231":"阿坝县","513232":"若尔盖县","513233":"红原县"},"513300":{"513301":"康定市","513322":"泸定县","513323":"丹巴县","513324":"九龙县","513325":"雅江县","513326":"道孚县","513327":"炉霍县","513328":"甘孜县","513329":"新龙县","513330":"德格县","513331":"白玉县","513332":"石渠县","513333":"色达县","513334":"理塘县","513335":"巴塘县","513336":"乡城县","513337":"稻城县","513338":"得荣县"},"513400":{"513401":"西昌市","513422":"木里藏族自治县","513423":"盐源县","513424":"德昌县","513425":"会理县","513426":"会东县","513427":"宁南县","513428":"普格县","513429":"布拖县","513430":"金阳县","513431":"昭觉县","513432":"喜德县","513433":"冕宁县","513434":"越西县","513435":"甘洛县","513436":"美姑县","513437":"雷波县"},"520000":{"520100":"贵阳市","520200":"六盘水市","520300":"遵义市","520400":"安顺市","520500":"毕节市","520600":"铜仁市","522300":"黔西南布依族苗族自治州","522600":"黔东南苗族侗族自治州","522700":"黔南布依族苗族自治州"},"520100":{"520101":"市辖区","520102":"南明区","520103":"云岩区","520111":"花溪区","520112":"乌当区","520113":"白云区","520115":"观山湖区","520121":"开阳县","520122":"息烽县","520123":"修文县","520181":"清镇市"},"520200":{"520201":"钟山区","520203":"六枝特区","520221":"水城县","520281":"盘州市"},"520300":{"520301":"市辖区","520302":"红花岗区","520303":"汇川区","520304":"播州区","520322":"桐梓县","520323":"绥阳县","520324":"正安县","520325":"道真仡佬族苗族自治县","520326":"务川仡佬族苗族自治县","520327":"凤冈县","520328":"湄潭县","520329":"余庆县","520330":"习水县","520381":"赤水市","520382":"仁怀市"},"520400":{"520401":"市辖区","520402":"西秀区","520403":"平坝区","520422":"普定县","520423":"镇宁布依族苗族自治县","520424":"关岭布依族苗族自治县","520425":"紫云苗族布依族自治县"},"520500":{"520501":"市辖区","520502":"七星关区","520521":"大方县","520522":"黔西县","520523":"金沙县","520524":"织金县","520525":"纳雍县","520526":"威宁彝族回族苗族自治县","520527":"赫章县"},"520600":{"520601":"市辖区","520602":"碧江区","520603":"万山区","520621":"江口县","520622":"玉屏侗族自治县","520623":"石阡县","520624":"思南县","520625":"印江土家族苗族自治县","520626":"德江县","520627":"沿河土家族自治县","520628":"松桃苗族自治县"},"522300":{"522301":"兴义市","522302":"兴仁市","522323":"普安县","522324":"晴隆县","522325":"贞丰县","522326":"望谟县","522327":"册亨县","522328":"安龙县"},"522600":{"522601":"凯里市","522622":"黄平县","522623":"施秉县","522624":"三穗县","522625":"镇远县","522626":"岑巩县","522627":"天柱县","522628":"锦屏县","522629":"剑河县","522630":"台江县","522631":"黎平县","522632":"榕江县","522633":"从江县","522634":"雷山县","522635":"麻江县","522636":"丹寨县"},"522700":{"522701":"都匀市","522702":"福泉市","522722":"荔波县","522723":"贵定县","522725":"瓮安县","522726":"独山县","522727":"平塘县","522728":"罗甸县","522729":"长顺县","522730":"龙里县","522731":"惠水县","522732":"三都水族自治县"},"530000":{"530100":"昆明市","530300":"曲靖市","530400":"玉溪市","530500":"保山市","530600":"昭通市","530700":"丽江市","530800":"普洱市","530900":"临沧市","532300":"楚雄彝族自治州","532500":"红河哈尼族彝族自治州","532600":"文山壮族苗族自治州","532800":"西双版纳傣族自治州","532900":"大理白族自治州","533100":"德宏傣族景颇族自治州","533300":"怒江傈僳族自治州","533400":"迪庆藏族自治州"},"530100":{"530101":"市辖区","530102":"五华区","530103":"盘龙区","530111":"官渡区","530112":"西山区","530113":"东川区","530114":"呈贡区","530115":"晋宁区","530124":"富民县","530125":"宜良县","530126":"石林彝族自治县","530127":"嵩明县","530128":"禄劝彝族苗族自治县","530129":"寻甸回族彝族自治县","530181":"安宁市"},"530300":{"530301":"市辖区","530302":"麒麟区","530303":"沾益区","530304":"马龙区","530322":"陆良县","530323":"师宗县","530324":"罗平县","530325":"富源县","530326":"会泽县","530381":"宣威市"},"530400":{"530401":"市辖区","530402":"红塔区","530403":"江川区","530422":"澄江县","530423":"通海县","530424":"华宁县","530425":"易门县","530426":"峨山彝族自治县","530427":"新平彝族傣族自治县","530428":"元江哈尼族彝族傣族自治县"},"530500":{"530501":"市辖区","530502":"隆阳区","530521":"施甸县","530523":"龙陵县","530524":"昌宁县","530581":"腾冲市"},"530600":{"530601":"市辖区","530602":"昭阳区","530621":"鲁甸县","530622":"巧家县","530623":"盐津县","530624":"大关县","530625":"永善县","530626":"绥江县","530627":"镇雄县","530628":"彝良县","530629":"威信县","530681":"水富市"},"530700":{"530701":"市辖区","530702":"古城区","530721":"玉龙纳西族自治县","530722":"永胜县","530723":"华坪县","530724":"宁蒗彝族自治县"},"530800":{"530801":"市辖区","530802":"思茅区","530821":"宁洱哈尼族彝族自治县","530822":"墨江哈尼族自治县","530823":"景东彝族自治县","530824":"景谷傣族彝族自治县","530825":"镇沅彝族哈尼族拉祜族自治县","530826":"江城哈尼族彝族自治县","530827":"孟连傣族拉祜族佤族自治县","530828":"澜沧拉祜族自治县","530829":"西盟佤族自治县"},"530900":{"530901":"市辖区","530902":"临翔区","530921":"凤庆县","530922":"云县","530923":"永德县","530924":"镇康县","530925":"双江拉祜族佤族布朗族傣族自治县","530926":"耿马傣族佤族自治县","530927":"沧源佤族自治县"},"532300":{"532301":"楚雄市","532322":"双柏县","532323":"牟定县","532324":"南华县","532325":"姚安县","532326":"大姚县","532327":"永仁县","532328":"元谋县","532329":"武定县","532331":"禄丰县"},"532500":{"532501":"个旧市","532502":"开远市","532503":"蒙自市","532504":"弥勒市","532523":"屏边苗族自治县","532524":"建水县","532525":"石屏县","532527":"泸西县","532528":"元阳县","532529":"红河县","532530":"金平苗族瑶族傣族自治县","532531":"绿春县","532532":"河口瑶族自治县"},"532600":{"532601":"文山市","532622":"砚山县","532623":"西畴县","532624":"麻栗坡县","532625":"马关县","532626":"丘北县","532627":"广南县","532628":"富宁县"},"532800":{"532801":"景洪市","532822":"勐海县","532823":"勐腊县"},"532900":{"532901":"大理市","532922":"漾濞彝族自治县","532923":"祥云县","532924":"宾川县","532925":"弥渡县","532926":"南涧彝族自治县","532927":"巍山彝族回族自治县","532928":"永平县","532929":"云龙县","532930":"洱源县","532931":"剑川县","532932":"鹤庆县"},"533100":{"533102":"瑞丽市","533103":"芒市","533122":"梁河县","533123":"盈江县","533124":"陇川县"},"533300":{"533301":"泸水市","533323":"福贡县","533324":"贡山独龙族怒族自治县","533325":"兰坪白族普米族自治县"},"533400":{"533401":"香格里拉市","533422":"德钦县","533423":"维西傈僳族自治县"},"540000":{"540100":"拉萨市","540200":"日喀则市","540300":"昌都市","540400":"林芝市","540500":"山南市","540600":"那曲市","542500":"阿里地区"},"540100":{"540101":"市辖区","540102":"城关区","540103":"堆龙德庆区","540104":"达孜区","540121":"林周县","540122":"当雄县","540123":"尼木县","540124":"曲水县","540127":"墨竹工卡县","540171":"格尔木藏青工业园区","540172":"拉萨经济技术开发区","540173":"西藏文化旅游创意园区","540174":"达孜工业园区"},"540200":{"540202":"桑珠孜区","540221":"南木林县","540222":"江孜县","540223":"定日县","540224":"萨迦县","540225":"拉孜县","540226":"昂仁县","540227":"谢通门县","540228":"白朗县","540229":"仁布县","540230":"康马县","540231":"定结县","540232":"仲巴县","540233":"亚东县","540234":"吉隆县","540235":"聂拉木县","540236":"萨嘎县","540237":"岗巴县"},"540300":{"540302":"卡若区","540321":"江达县","540322":"贡觉县","540323":"类乌齐县","540324":"丁青县","540325":"察雅县","540326":"八宿县","540327":"左贡县","540328":"芒康县","540329":"洛隆县","540330":"边坝县"},"540400":{"540402":"巴宜区","540421":"工布江达县","540422":"米林县","540423":"墨脱县","540424":"波密县","540425":"察隅县","540426":"朗县"},"540500":{"540501":"市辖区","540502":"乃东区","540521":"扎囊县","540522":"贡嘎县","540523":"桑日县","540524":"琼结县","540525":"曲松县","540526":"措美县","540527":"洛扎县","540528":"加查县","540529":"隆子县","540530":"错那县","540531":"浪卡子县"},"540600":{"540602":"色尼区","540621":"嘉黎县","540622":"比如县","540623":"聂荣县","540624":"安多县","540625":"申扎县","540626":"索县","540627":"班戈县","540628":"巴青县","540629":"尼玛县","540630":"双湖县"},"542500":{"542521":"普兰县","542522":"札达县","542523":"噶尔县","542524":"日土县","542525":"革吉县","542526":"改则县","542527":"措勤县"},"610000":{"610100":"西安市","610200":"铜川市","610300":"宝鸡市","610400":"咸阳市","610500":"渭南市","610600":"延安市","610700":"汉中市","610800":"榆林市","610900":"安康市","611000":"商洛市"},"610100":{"610101":"市辖区","610102":"新城区","610103":"碑林区","610104":"莲湖区","610111":"灞桥区","610112":"未央区","610113":"雁塔区","610114":"阎良区","610115":"临潼区","610116":"长安区","610117":"高陵区","610118":"鄠邑区","610122":"蓝田县","610124":"周至县"},"610200":{"610201":"市辖区","610202":"王益区","610203":"印台区","610204":"耀州区","610222":"宜君县"},"610300":{"610301":"市辖区","610302":"渭滨区","610303":"金台区","610304":"陈仓区","610322":"凤翔县","610323":"岐山县","610324":"扶风县","610326":"眉县","610327":"陇县","610328":"千阳县","610329":"麟游县","610330":"凤县","610331":"太白县"},"610400":{"610401":"市辖区","610402":"秦都区","610403":"杨陵区","610404":"渭城区","610422":"三原县","610423":"泾阳县","610424":"乾县","610425":"礼泉县","610426":"永寿县","610428":"长武县","610429":"旬邑县","610430":"淳化县","610431":"武功县","610481":"兴平市","610482":"彬州市"},"610500":{"610501":"市辖区","610502":"临渭区","610503":"华州区","610522":"潼关县","610523":"大荔县","610524":"合阳县","610525":"澄城县","610526":"蒲城县","610527":"白水县","610528":"富平县","610581":"韩城市","610582":"华阴市"},"610600":{"610601":"市辖区","610602":"宝塔区","610603":"安塞区","610621":"延长县","610622":"延川县","610625":"志丹县","610626":"吴起县","610627":"甘泉县","610628":"富县","610629":"洛川县","610630":"宜川县","610631":"黄龙县","610632":"黄陵县","610681":"子长市"},"610700":{"610701":"市辖区","610702":"汉台区","610703":"南郑区","610722":"城固县","610723":"洋县","610724":"西乡县","610725":"勉县","610726":"宁强县","610727":"略阳县","610728":"镇巴县","610729":"留坝县","610730":"佛坪县"},"610800":{"610801":"市辖区","610802":"榆阳区","610803":"横山区","610822":"府谷县","610824":"靖边县","610825":"定边县","610826":"绥德县","610827":"米脂县","610828":"佳县","610829":"吴堡县","610830":"清涧县","610831":"子洲县","610881":"神木市"},"610900":{"610901":"市辖区","610902":"汉滨区","610921":"汉阴县","610922":"石泉县","610923":"宁陕县","610924":"紫阳县","610925":"岚皋县","610926":"平利县","610927":"镇坪县","610928":"旬阳县","610929":"白河县"},"611000":{"611001":"市辖区","611002":"商州区","611021":"洛南县","611022":"丹凤县","611023":"商南县","611024":"山阳县","611025":"镇安县","611026":"柞水县"},"620000":{"620100":"兰州市","620200":"嘉峪关市","620300":"金昌市","620400":"白银市","620500":"天水市","620600":"武威市","620700":"张掖市","620800":"平凉市","620900":"酒泉市","621000":"庆阳市","621100":"定西市","621200":"陇南市","622900":"临夏回族自治州","623000":"甘南藏族自治州"},"620100":{"620101":"市辖区","620102":"城关区","620103":"七里河区","620104":"西固区","620105":"安宁区","620111":"红古区","620121":"永登县","620122":"皋兰县","620123":"榆中县","620171":"兰州新区"},"620200":{"620201":"市辖区"},"620300":{"620301":"市辖区","620302":"金川区","620321":"永昌县"},"620400":{"620401":"市辖区","620402":"白银区","620403":"平川区","620421":"靖远县","620422":"会宁县","620423":"景泰县"},"620500":{"620501":"市辖区","620502":"秦州区","620503":"麦积区","620521":"清水县","620522":"秦安县","620523":"甘谷县","620524":"武山县","620525":"张家川回族自治县"},"620600":{"620601":"市辖区","620602":"凉州区","620621":"民勤县","620622":"古浪县","620623":"天祝藏族自治县"},"620700":{"620701":"市辖区","620702":"甘州区","620721":"肃南裕固族自治县","620722":"民乐县","620723":"临泽县","620724":"高台县","620725":"山丹县"},"620800":{"620801":"市辖区","620802":"崆峒区","620821":"泾川县","620822":"灵台县","620823":"崇信县","620825":"庄浪县","620826":"静宁县","620881":"华亭市"},"620900":{"620901":"市辖区","620902":"肃州区","620921":"金塔县","620922":"瓜州县","620923":"肃北蒙古族自治县","620924":"阿克塞哈萨克族自治县","620981":"玉门市","620982":"敦煌市"},"621000":{"621001":"市辖区","621002":"西峰区","621021":"庆城县","621022":"环县","621023":"华池县","621024":"合水县","621025":"正宁县","621026":"宁县","621027":"镇原县"},"621100":{"621101":"市辖区","621102":"安定区","621121":"通渭县","621122":"陇西县","621123":"渭源县","621124":"临洮县","621125":"漳县","621126":"岷县"},"621200":{"621201":"市辖区","621202":"武都区","621221":"成县","621222":"文县","621223":"宕昌县","621224":"康县","621225":"西和县","621226":"礼县","621227":"徽县","621228":"两当县"},"622900":{"622901":"临夏市","622921":"临夏县","622922":"康乐县","622923":"永靖县","622924":"广河县","622925":"和政县","622926":"东乡族自治县","622927":"积石山保安族东乡族撒拉族自治县"},"623000":{"623001":"合作市","623021":"临潭县","623022":"卓尼县","623023":"舟曲县","623024":"迭部县","623025":"玛曲县","623026":"碌曲县","623027":"夏河县"},"630000":{"630100":"西宁市","630200":"海东市","632200":"海北藏族自治州","632300":"黄南藏族自治州","632500":"海南藏族自治州","632600":"果洛藏族自治州","632700":"玉树藏族自治州","632800":"海西蒙古族藏族自治州"},"630100":{"630101":"市辖区","630102":"城东区","630103":"城中区","630104":"城西区","630105":"城北区","630121":"大通回族土族自治县","630122":"湟中县","630123":"湟源县"},"630200":{"630202":"乐都区","630203":"平安区","630222":"民和回族土族自治县","630223":"互助土族自治县","630224":"化隆回族自治县","630225":"循化撒拉族自治县"},"632200":{"632221":"门源回族自治县","632222":"祁连县","632223":"海晏县","632224":"刚察县"},"632300":{"632321":"同仁县","632322":"尖扎县","632323":"泽库县","632324":"河南蒙古族自治县"},"632500":{"632521":"共和县","632522":"同德县","632523":"贵德县","632524":"兴海县","632525":"贵南县"},"632600":{"632621":"玛沁县","632622":"班玛县","632623":"甘德县","632624":"达日县","632625":"久治县","632626":"玛多县"},"632700":{"632701":"玉树市","632722":"杂多县","632723":"称多县","632724":"治多县","632725":"囊谦县","632726":"曲麻莱县"},"632800":{"632801":"格尔木市","632802":"德令哈市","632803":"茫崖市","632821":"乌兰县","632822":"都兰县","632823":"天峻县","632857":"大柴旦行政委员会"},"640000":{"640100":"银川市","640200":"石嘴山市","640300":"吴忠市","640400":"固原市","640500":"中卫市"},"640100":{"640101":"市辖区","640104":"兴庆区","640105":"西夏区","640106":"金凤区","640121":"永宁县","640122":"贺兰县","640181":"灵武市"},"640200":{"640201":"市辖区","640202":"大武口区","640205":"惠农区","640221":"平罗县"},"640300":{"640301":"市辖区","640302":"利通区","640303":"红寺堡区","640323":"盐池县","640324":"同心县","640381":"青铜峡市"},"640400":{"640401":"市辖区","640402":"原州区","640422":"西吉县","640423":"隆德县","640424":"泾源县","640425":"彭阳县"},"640500":{"640501":"市辖区","640502":"沙坡头区","640521":"中宁县","640522":"海原县"},"650000":{"650100":"乌鲁木齐市","650200":"克拉玛依市","650400":"吐鲁番市","650500":"哈密市","652300":"昌吉回族自治州","652700":"博尔塔拉蒙古自治州","652800":"巴音郭楞蒙古自治州","652900":"阿克苏地区","653000":"克孜勒苏柯尔克孜自治州","653100":"喀什地区","653200":"和田地区","654000":"伊犁哈萨克自治州","654200":"塔城地区","654300":"阿勒泰地区","659000":"自治区直辖县级行政区划"},"650100":{"650101":"市辖区","650102":"天山区","650103":"沙依巴克区","650104":"新市区","650105":"水磨沟区","650106":"头屯河区","650107":"达坂城区","650109":"米东区","650121":"乌鲁木齐县"},"650200":{"650201":"市辖区","650202":"独山子区","650203":"克拉玛依区","650204":"白碱滩区","650205":"乌尔禾区"},"650400":{"650402":"高昌区","650421":"鄯善县","650422":"托克逊县"},"650500":{"650502":"伊州区","650521":"巴里坤哈萨克自治县","650522":"伊吾县"},"652300":{"652301":"昌吉市","652302":"阜康市","652323":"呼图壁县","652324":"玛纳斯县","652325":"奇台县","652327":"吉木萨尔县","652328":"木垒哈萨克自治县"},"652700":{"652701":"博乐市","652702":"阿拉山口市","652722":"精河县","652723":"温泉县"},"652800":{"652801":"库尔勒市","652822":"轮台县","652823":"尉犁县","652824":"若羌县","652825":"且末县","652826":"焉耆回族自治县","652827":"和静县","652828":"和硕县","652829":"博湖县","652871":"库尔勒经济技术开发区"},"652900":{"652901":"阿克苏市","652922":"温宿县","652923":"库车县","652924":"沙雅县","652925":"新和县","652926":"拜城县","652927":"乌什县","652928":"阿瓦提县","652929":"柯坪县"},"653000":{"653001":"阿图什市","653022":"阿克陶县","653023":"阿合奇县","653024":"乌恰县"},"653100":{"653101":"喀什市","653121":"疏附县","653122":"疏勒县","653123":"英吉沙县","653124":"泽普县","653125":"莎车县","653126":"叶城县","653127":"麦盖提县","653128":"岳普湖县","653129":"伽师县","653130":"巴楚县","653131":"塔什库尔干塔吉克自治县"},"653200":{"653201":"和田市","653221":"和田县","653222":"墨玉县","653223":"皮山县","653224":"洛浦县","653225":"策勒县","653226":"于田县","653227":"民丰县"},"654000":{"654002":"伊宁市","654003":"奎屯市","654004":"霍尔果斯市","654021":"伊宁县","654022":"察布查尔锡伯自治县","654023":"霍城县","654024":"巩留县","654025":"新源县","654026":"昭苏县","654027":"特克斯县","654028":"尼勒克县"},"654200":{"654201":"塔城市","654202":"乌苏市","654221":"额敏县","654223":"沙湾县","654224":"托里县","654225":"裕民县","654226":"和布克赛尔蒙古自治县"},"654300":{"654301":"阿勒泰市","654321":"布尔津县","654322":"富蕴县","654323":"福海县","654324":"哈巴河县","654325":"青河县","654326":"吉木乃县"},"659000":{"659001":"石河子市","659002":"阿拉尔市","659003":"图木舒克市","659004":"五家渠市","659006":"铁门关市"},"710000":{"710100":"台北市","710200":"高雄市","710300":"基隆市","710400":"台中市","710500":"台南市","710600":"新竹市","710700":"嘉义市"},"710100":{"710101":"内湖区","710102":"南港区","710103":"中正区","710104":"松山区","710105":"信义区","710106":"大安区","710107":"中山区","710108":"文山区","710109":"大同区","710110":"万华区","710111":"士林区","710112":"北投区"},"710200":{"710201":"新兴区","710202":"前金区","710203":"芩雅区","710204":"盐埕区","710205":"鼓山区","710206":"旗津区","710207":"前镇区","710208":"三民区","710209":"左营区","710210":"楠梓区","710211":"小港区"},"710300":{"710301":"仁爱区","710302":"信义区","710303":"中正区","710304":"暖暖区","710305":"安乐区","710307":"七堵区"},"710400":{"710301":"中区","710302":"东区","710303":"南区","710304":"西区","710305":"北区","710306":"北屯区","710307":"西屯区","710308":"南屯区"},"710500":{"710501":"中西区","710502":"东区","710503":"南区","710504":"北区","710505":"安平区","710506":"安南区"},"710600":{"710601":"东区","710602":"北区","710603":"香山区"},"710700":{"710701":"东区","710702":"西区"},"810000":{"810001":"中西區","810002":"灣仔區","810003":"東區","810004":"南區","810005":"油尖旺區","810006":"深水埗區","810007":"九龍城區","810008":"黃大仙區","810009":"觀塘區","810010":"荃灣區","810011":"屯門區","810012":"元朗區","810013":"北區","810014":"大埔區","810015":"西貢區","810016":"沙田區","810017":"葵青區","810018":"離島區"},"820000":{"820001":"花地瑪堂區","820002":"花王堂區","820003":"望德堂區","820004":"大堂區","820005":"風順堂區","820006":"嘉模堂區","820007":"路氹填海區","820008":"聖方濟各堂區"}}')},function(e,t){var A;A=function(){return this}();try{A=A||new Function("return this")()}catch(e){"object"==typeof window&&(A=window)}e.exports=A},function(e,t,A){"use strict";A.r(t),A.d(t,"provinceAndCityData",(function(){return AA})),A.d(t,"regionData",(function(){return tA})),A.d(t,"provinceAndCityDataPlus",(function(){return bA})),A.d(t,"regionDataPlus",(function(){return UA})),A.d(t,"CodeToText",(function(){return Yt})),A.d(t,"TextToCode",(function(){return Zt}));var a=A(1),s=A.n(a),r=function(){this.__data__=[],this.size=0},i=function(e,t){return e===t||e!=e&&t!=t},o=function(e,t){for(var A=e.length;A--;)if(i(e[A][0],t))return A;return-1},l=Array.prototype.splice,n=function(e){var t=this.__data__,A=o(t,e);return!(A<0)&&(A==t.length-1?t.pop():l.call(t,A,1),--this.size,!0)},c=function(e){var t=this.__data__,A=o(t,e);return A<0?void 0:t[A][1]},d=function(e){return o(this.__data__,e)>-1},p=function(e,t){var A=this.__data__,a=o(A,e);return a<0?(++this.size,A.push([e,t])):A[a][1]=t,this};function h(e){var t=-1,A=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},Ee={};Ee["[object Float32Array]"]=Ee["[object Float64Array]"]=Ee["[object Int8Array]"]=Ee["[object Int16Array]"]=Ee["[object Int32Array]"]=Ee["[object Uint8Array]"]=Ee["[object Uint8ClampedArray]"]=Ee["[object Uint16Array]"]=Ee["[object Uint32Array]"]=!0,Ee["[object Arguments]"]=Ee["[object Array]"]=Ee["[object ArrayBuffer]"]=Ee["[object Boolean]"]=Ee["[object DataView]"]=Ee["[object Date]"]=Ee["[object Error]"]=Ee["[object Function]"]=Ee["[object Map]"]=Ee["[object Number]"]=Ee["[object Object]"]=Ee["[object RegExp]"]=Ee["[object Set]"]=Ee["[object String]"]=Ee["[object WeakMap]"]=!1;var _e=function(e){return ve(e)&&ke(e.length)&&!!Ee[T(e)]},Oe=function(e){return function(t){return e(t)}},He=A(2),$e=He.a&&He.a.isTypedArray,Ke=$e?Oe($e):_e,Ne=Object.prototype.hasOwnProperty,Me=function(e,t){var A=De(e),a=!A&&Ie(e),s=!A&&!a&&Object(Te.a)(e),r=!A&&!a&&!s&&Ke(e),i=A||a||s||r,o=i?ye(e.length,String):[],l=o.length;for(var n in e)!t&&!Ne.call(e,n)||i&&("length"==n||s&&("offset"==n||"parent"==n)||r&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||Le(n,l))||o.push(n);return o},Pe=Object.prototype,Re=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Pe)},Ve=function(e,t){return function(A){return e(t(A))}},je=Ve(Object.keys,Object),Ge=Object.prototype.hasOwnProperty,qe=function(e){if(!Re(e))return je(e);var t=[];for(var A in Object(e))Ge.call(e,A)&&"constructor"!=A&&t.push(A);return t},Je=function(e){return null!=e&&ke(e.length)&&!L(e)},ze=function(e){return Je(e)?Me(e):qe(e)},Xe=function(e,t){return e&&Ce(t,ze(t),e)},We=function(e){var t=[];if(null!=e)for(var A in Object(e))t.push(A);return t},Ye=Object.prototype.hasOwnProperty,Ze=function(e){if(!x(e))return We(e);var t=Re(e),A=[];for(var a in e)("constructor"!=a||!t&&Ye.call(e,a))&&A.push(a);return A},et=function(e){return Je(e)?Me(e,!0):Ze(e)},tt=function(e,t){return e&&Ce(t,et(t),e)},At=A(7),at=function(e,t){var A=-1,a=e.length;for(t||(t=Array(a));++A0||s)&&A.push({...e[a],children:this.handleTreeData(e[a].children,t)})}return console.log(A),A},setExpandRow(e){if(e.length)for(let t of e)this.expandRow.push(t.id),t.children.length&&this.setExpandRow(t.children)},exportExcel(){let e={domainId:this.$route.query.domainId};Object(r["sb"])(this.params,e).then(e=>{console.log(e);const t=e,A=new Blob([t]),a="导出.xls";if("download"in document.createElement("a")){const e=document.createElement("a");e.download=a,e.style.display="none",e.href=URL.createObjectURL(A),document.body.appendChild(e),e.click(),URL.revokeObjectURL(e.href),document.body.removeChild(e)}else navigator.msSaveBlob(A,a)})},tableDatalist(){let e={domainId:this.$route.query.domainId};Object(r["w"])(e).then(e=>{e.data&&(this.tableData=e.data,this.sortTableData(this.tableData))})},sortTableData(e){e.length&&e.forEach(e=>{e.displayOrderNumber=e.displayOrder;let t=[];e.allowedDeparts&&e.allowedDeparts.length&&(e.allowedDeparts.forEach(e=>{t.push(e.name)}),e.allowedDepartsStr=t.join(",")),e.children.length&&this.sortTableData(e.children)})},handleSelectionChange(e){console.log(e),this.multipleSelection=e},handleSelectionAllChange(e,t){t||(this.isAllSelect=!this.isAllSelect),e.map(e=>{e.children&&(e.children.map(e=>{this.toggleSelection(e,this.isAllSelect)}),e.children.length>0&&this.handleSelectionAllChange(e.children,!0))})},toggleSelection(e,t){t?this.$refs.districtTable.toggleRowSelection(e,t):this.$refs.districtTable.clearSelection()},addDept(){this.showdialog=!0,this.$refs.popChildren.getTableRow({},0,this.tableData)},editDept(e){console.log(e),this.showdialog=!0,this.$refs.popChildren.getTableRow(e,1,this.tableData)},delDept(e){let t=[e.id],A={domainId:this.$route.query.domainId};""!=Object.keys(e)&&this.$confirm("此操作将永久删除此对应数据, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(r["Z"])(t,A).then(e=>{200==e.status&&this.tableDatalist()})}).catch(()=>{})},patchDel(){let e={domainId:this.$route.query.domainId};this.multipleSelection.length&&this.$confirm("此操作将永久删除此对应数据, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{let t=[];this.multipleSelection.forEach(e=>{t.push(e.id)}),Object(r["Z"])(t,e).then(e=>{200==e.status&&this.tableDatalist()})}).catch(()=>{})},importDept(){this.showdialogImport=!0},moveDept(){this.showdialogMove=!0,this.$refs.MovepopChildren.getTableRow(this.multipleSelection,0)},ImDept(){this.showdialogIm=!0,this.$refs.ImpopChildren.getTableRow(this.multipleSelection,0)},saveok(e,t){console.log(e),console.log(t);let A={domainId:this.$route.query.domainId};Object(r["fb"])(e,A).then(e=>{200==e.status&&(this.tableDatalist(),t._self.$refs["popover-"+t.$index][0].doClose())})},close(e,t){this.tableDatalist(),t._self.$refs["popover-"+t.$index][0].doClose()},totalMemberClick(e){this.showdialogUser=!0,this.$refs.UserpopChildren.getTableRow(e,0)},refurlist(){this.tableDatalist()}}},p=d,h=(A("5857"),A("2877")),u=Object(h["a"])(p,a,s,!1,null,null,null);t["default"]=u.exports},f0e7:function(e,t,A){},f140:function(e,t,A){"use strict";A("4583")},f38c:function(e,t,A){"use strict";A("7357")},f504:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:"",visible:e.Visible,"close-on-click-modal":!1,width:"80%"},on:{close:e.cancelForm}},[t("div",[e._v("mapKey:"),t("input",{directives:[{name:"model",rawName:"v-model",value:e.mapKey,expression:"mapKey"}],attrs:{type:"text"},domProps:{value:e.mapKey},on:{input:function(t){t.target.composing||(e.mapKey=t.target.value)}}})]),t("div",[e._v("template:"),e.show?t("SqlEditor",{ref:"sqleditor",attrs:{value:e.basicInfoForm.sqlMain},on:{changeTextarea:function(t){return e.changeTextarea(t)}}}):e._e()],1),t("div",[e._v("note:"),t("input",{directives:[{name:"model",rawName:"v-model",value:e.note,expression:"note"}],attrs:{type:"text"},domProps:{value:e.note},on:{input:function(t){t.target.composing||(e.note=t.target.value)}}})]),t("el-button",{staticClass:"sql-btn",attrs:{type:"primary",size:"small"},on:{click:function(t){e.formaterSql(e.basicInfoForm.sqlMain)}}},[e._v("格式化sql")]),t("el-button",{staticClass:"sql-btn",attrs:{type:"primary",size:"small"},on:{click:e.putChangeMappingDetails}},[e._v("保存")])],1)],1)},s=[],r=A("821e"),i=A("db05"),o=A.n(i),l=A("19d5"),n={components:{SqlEditor:l["default"]},data(){return{basicInfoForm:{sqlMain:""},show:!1,Visible:this.editroshowdialog,mapKey:"",note:"",id:""}},props:["editroshowdialog"],watch:{editroshowdialog(){this.Visible=this.editroshowdialog}},methods:{initialization(e){let t=JSON.parse(e);console.log(t),this.show=!0,this.mapKey=t.mapKey,this.note=t.note,this.$set(this.basicInfoForm,"sqlMain",t.template),this.id=t.id,console.log(this.basicInfoForm)},changeTextarea(e){this.$set(this.basicInfoForm,"sqlMain",e)},formaterSql(e){let t=this.$refs.sqleditor;t.editor.setValue(o.a.format(t.editor.getValue()))},putChangeMappingDetails(){let e={id:this.id,params:{mapKey:this.mapKey,note:this.note,template:this.basicInfoForm.sqlMain}};Object(r["Ub"])(e).then(e=>{console.log(e),this.$message({type:"success",message:"修改成功"})})},cancelForm(){this.mapKey="",this.note="",this.id="",this.$set(this.basicInfoForm,"sqlMain",""),this.show=!1,this.$emit("update:editroshowdialog",!1)}}},c=n,d=A("2877"),p=Object(d["a"])(c,a,s,!1,null,null,null);t["default"]=p.exports},f5dfe:function(e,t,A){"use strict";var a=A("00ee"),s=A("1626"),r=A("c6b6"),i=A("b622"),o=i("toStringTag"),l=Object,n="Arguments"===r(function(){return arguments}()),c=function(e,t){try{return e[t]}catch(A){}};e.exports=a?r:function(e){var t,A,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(A=c(t=l(e),o))?A:n?r(t):"Object"===(a=r(t))&&s(t.callee)?"Arguments":a}},f5f7:function(e,t,A){"use strict";A("658c")},f6e0:function(e,t,A){},f707:function(e,t,A){},f99b:function(e,t,A){"use strict";A("8085")},fa26:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("section",{staticClass:"containerElesign"},[e.qualicertInfo&&e.qualicertInfo.credentialNumber?t("div",{staticClass:"containerQuali"},[t("div",{staticClass:"left"},[t("div",{staticClass:"headphoto"},[t("img",{attrs:{width:"107px",height:"138px",src:e.qualicertInfo.headPhoto}})]),t("div",{staticClass:"infolist"},[t("div",{staticClass:"infolistul"},[t("span",{staticClass:"infolistspan info1"},[t("span",{staticClass:"infostrong"},[e._v("姓       名")]),t("span",{staticClass:"infoem"},[e._v(e._s(e.qualicertInfo.name))])]),t("span",{staticClass:"infolistspan info2"},[t("span",{staticClass:"infostrong"},[e._v("出生年月")]),t("span",{staticClass:"infoem"},[e._v(e._s(e.qualicertInfo.dateBirth))])]),t("span",{staticClass:"infolistspan info3"},[t("span",{staticClass:"infostrong"},[e._v("住       址")]),t("span",{staticClass:"infoem"},[e._v(e._s(e.qualicertInfo.address))])]),t("span",{staticClass:"infolistspan info4"},[t("span",{staticClass:"infostrong"},[e._v("身份证号")]),t("span",{staticClass:"infoem"},[e._v(e._s(e.qualicertInfo.identityNumber))])])])])]),t("div",{staticClass:"right"},[t("div",{staticClass:"nr1"},[t("span",{staticClass:"nrname"},[e._v(e._s(e.qualicertInfo.name))]),e._v("经国家")]),t("div",{staticClass:"nr2"},[e._v("保安员考试审查合格。")]),t("div",{staticClass:"nr3"},[e._v("      特颁此证。")]),t("div",{staticClass:"nr4"}),t("div",{staticClass:"nr5"},[t("span",{staticClass:"nrfztitle"},[e._v("发证日期:")]),t("span",{staticClass:"nrfzDate"},[e._v(e._s(e.qualicertInfo.fzrqDate))])]),t("div",{staticClass:"nr6"},[t("span",{staticClass:"nrzjtitle"},[e._v("证件编号:")]),t("span",{staticClass:"nrzjNo"},[e._v(e._s(e.qualicertInfo.credentialNumber))])])])]):t("div",{staticClass:"nodata"},[e._m(0),t("div",{staticClass:"refresh"},[t("el-button",{attrs:{type:"primary",icon:"el-icon-refresh"},on:{click:e.refresh}},[e._v("刷新")])],1)])])},s=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"tips"},[t("img",{attrs:{src:A("47f8")}}),e._v("证书正在制作中,请您稍后几分钟后尝试。")])}],r=A("821e"),i={data(){return{qualicertInfo:{},obj:{id:this.$route.query.userId||""},number:this.$route.query.certificateNO||""}},mounted(){this.getcredentialDetails()},methods:{getcredentialDetails(){Object(r["Ib"])(this.obj,7,this.number).then(e=>{if(console.log(e),200==e.status){if(this.qualicertInfo=e.data,this.qualicertInfo&&this.qualicertInfo.headPhoto&&-1==this.qualicertInfo.headPhoto.indexOf("http")&&(this.qualicertInfo.headPhoto=location.origin+"/obpm"+this.qualicertInfo.headPhoto),this.qualicertInfo&&this.qualicertInfo.identityNumber){let e=this.qualicertInfo.identityNumber,t=e.substring(6,10)+"年"+e.substring(10,12)+"月"+e.substring(12,14)+"日";this.qualicertInfo.dateBirth=t}if(this.qualicertInfo&&this.qualicertInfo.fzrq){let e="";e=this.qualicertInfo.fzrq&&this.qualicertInfo.fzrq.split("-"),console.log(e),this.qualicertInfo.fzrqDate=`${e[0]} 年 ${e[1]} 月 ${e[2]} 日`}}})},refresh(){this.getcredentialDetails()}}},o=i,l=(A("9180"),A("1dc3"),A("2877")),n=Object(l["a"])(o,a,s,!1,null,"740f171b",null);t["default"]=n.exports},fb36:function(e,t,A){"use strict";var a=function(){var e=this,t=e._self._c;return t("div",[t("el-popover",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.replyOutside,expression:"replyOutside"}],attrs:{"popper-class":"selectTree",placement:"bottom-start",width:e.popoverWidth,trigger:"manual"},on:{hide:e.popoverHide},model:{value:e.isShowSelect,callback:function(t){e.isShowSelect=t},expression:"isShowSelect"}},[t("div",{staticClass:"pdlr_1"},[e.filterable?t("el-input",{staticClass:"mb_5",attrs:{placeholder:"搜索"},model:{value:e.filterText,callback:function(t){e.filterText=t},expression:"filterText"}}):e._e()],1),t("el-tree",{ref:"tree",staticClass:"common-tree",attrs:{indent:(e.multiple,10),width:e.width,data:e.treeData,props:e.obj,"filter-node-method":e.filterNode,"show-checkbox":e.multiple,"node-key":e.obj.id,"check-strictly":e.checkStrictly,"default-expanded-keys":e.defaultKey,"default-expand-all":e.defaulexpand,"expand-on-click-node":e.multiple&&e.expandClickNode,"check-on-click-node":e.checkClickNode,"highlight-current":!0},on:{"check-change":e.nodeClick,"node-click":e.nodeClick}}),t("el-select",{ref:"select",staticClass:"tree-select",attrs:{slot:"reference",size:e.size,multiple:e.multiple,clearable:e.clearable,"collapse-tags":e.collapseTags,placeholder:e.placeholder},on:{"remove-tag":e.removeTag,clear:e.clean},nativeOn:{click:function(t){return e.selectClick.apply(null,arguments)}},slot:"reference",model:{value:e.returnDataKeys,callback:function(t){e.returnDataKeys=t},expression:"returnDataKeys"}},e._l(e.options,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),e.selectAll?t("div",{staticClass:"mt_5"},[t("el-checkbox",{attrs:{indeterminate:0!=e.returnDataKeys.length&&!e.checkedAll},on:{change:e.selectedAll},model:{value:e.checkedAll,callback:function(t){e.checkedAll=t},expression:"checkedAll"}},[e._v("全选")])],1):e._e()],1)],1)},s=[],r=(A("14d9"),A("9169")),i=A("821e"),o={directives:{Clickoutside:r["a"]},props:{selectAll:{type:Boolean,default(){return!1}},data:{type:Array,default(){return[]}},obj:{type:Object,required:!1,default:()=>({id:"",label:"",children:""})},filterable:{type:Boolean,default(){return!1}},placeholder:{type:String,default(){return"请选择"}},multiple:{type:Boolean,default(){return!1}},renderAfterExpand:{type:Boolean,default(){return!0}},clearable:{type:Boolean,default(){return!1}},collapseTags:{type:Boolean,default(){return!1}},checkStrictly:{type:Boolean,default(){return!1}},radioStrictly:{type:Boolean,default(){return!1}},checkClickNode:{type:Boolean,default(){return!0}},expandClickNode:{type:Boolean,default(){return!1}},defaulexpand:{type:Boolean,default(){return!0}},defaultKey:{type:[Number,String,Array,Object],default(){return[]}},size:{type:String,default(){return"small"}},width:{type:String,default(){return"100%"}},height:{type:String,default(){return"300px"}},curValue:{default(){return""}},notParentcheckStrictlyChildcheckStrictly:{default(){return 0}}},data(){return{popoverWidth:"0px",isShowSelect:!1,options:[],returnDatas:[],returnDataKeys:[],filterText:"",checkedAll:!1,treeArrId:[],DepartDataArr:[]}},mounted(){this.$nextTick(()=>{this.curValue&&("string"!=typeof this.curValue&&"number"!=typeof this.curValue?this.setKeys(this.curValue):this.setKey(this.curValue))})},computed:{treeData(){return this.obj.children,this.data}},watch:{returnDataKeys(e,t){e.length===this.treeArrId.length?this.checkedAll=!0:this.checkedAll=!1},curValue(e){this.$nextTick(()=>{e&&("string"!=typeof e&&"number"!=typeof e?this.setKeys(e):this.setKey(e))})},filterText(e){this.$refs.tree.filter(e)},isShowSelect(e){this.$refs.select.blur()},treeData(){this.$nextTick(()=>{this.init()})}},created(){this.treeArrId=[],this.originTree(this.treeData)},methods:{originTree(e){e.forEach(e=>{this.treeArrId.push(e[this.obj.id]),e.children&&e.children.length>0&&this.originTree(e.children)})},replyOutside(e){let t=e||window.event;t.target;t.target.parentNode.querySelector(".selectTree *")||t.target.parentNode.querySelector(".selectTree")||this.isShowSelect&&(this.isShowSelect=!1)},filterNode(e,t){return!e||-1!==t[this.obj.label].indexOf(e)},init(){if(void 0!=this.defaultKey&&this.defaultKey.length>0)if(this.multiple){if(-1==Object.prototype.toString.call(this.defaultKey).indexOf("Array"))return void console.log("多选:传入参数类型不匹配");if(-1!=Object.prototype.toString.call(this.defaultKey[0]).indexOf("Object"))this.setDatas(this.defaultKey);else{if(-1==Object.prototype.toString.call(this.defaultKey[0]).indexOf("Number")&&-1==Object.prototype.toString.call(this.defaultKey[0]).indexOf("String"))return void console.log("多选:传入参数类型不匹配");this.setKeys(this.defaultKey)}}else{if(-1==Object.prototype.toString.call(this.defaultKey).indexOf("Number")&&-1==Object.prototype.toString.call(this.defaultKey).indexOf("String")&&-1==Object.prototype.toString.call(this.defaultKey).indexOf("Object"))return void console.log("单选:传入参数类型不匹配");this.setKey(this.defaultKey)}},selectClick(){return this.DepartPoptableDatalist(),this.$nextTick((function(){this.popoverWidth=this.$refs.select.$el.clientWidth})),this.isShowSelect=!this.isShowSelect},DepartPoptableDatalist(){if(this.data&&this.data.length)this.DepartDataArr=this.data,this.$emit("selectClickT",this.DepartDataArr),this.sortTableData(this.DepartDataArr);else{let e={domainId:this.$route.query.domainId};Object(i["w"])(e).then(e=>{e.data&&(this.DepartDataArr=e.data,this.$emit("selectClickT",this.DepartDataArr),this.sortTableData(this.DepartDataArr))})}},sortTableData(e){null!==e&&void 0!==e&&e.length&&e.forEach(e=>{var t;e.displayOrderNumber=e.displayOrder,null!==(t=e.children)&&void 0!==t&&t.length&&this.sortTableData(e.children)}),console.log(this.tableData)},nodeClick(e,t){if(this.multiple){1==this.notParentcheckStrictlyChildcheckStrictly&&Array.isArray(e.children)&&e.children.forEach(e=>{this.$refs.tree.setChecked(e,t),t?this.$set(e,"disabled",!0):this.$set(e,"disabled",!1),this.nodeClick(e,t)});var A=this.$refs.tree.getCheckedKeys();A=A.filter((function(e){return"String"==typeof e?e&&e.trim():e}));var a=[];A=this.unique(A),this.options=A.map(e=>{if(void 0!==e){var t=this.$refs.tree.getNode(e);a.push(t.data)}return{label:t.label,value:t.key}}),this.returnDataKeys=this.options.map(e=>e.value),this.returnDatas=a,this.popoverHide()}else this.isShowSelect=!1,(this.radioStrictly||t.level)&&this.setKey(t.key)},unique(e){return e.filter((function(e,t,A){return A.indexOf(e,0)===t}))},clean(){this.$refs.tree.setCurrentKey(null),this.returnDatas=null,this.returnDataKeys="",this.popoverHide()},setKey(e){this.$refs.tree.setCurrentKey(e);var t=this.$refs.tree.getNode(e);t&&this.setData(t.data)},setData(e){this.options=[],this.options.push({label:e[this.obj.label],value:e[this.obj.id]}),this.returnDatas=e,this.returnDataKeys=e[this.obj.id]},setKeys(e){this.$refs.tree.setCheckedKeys(e),this.returnDataKeys=e;var t=[];e.map(e=>{var A=this.$refs.tree.getNode(e);return t.push(A.data),{label:A.label,value:A.key}}),this.returnDatas=t,this.popoverHide()},setDatas(e){this.$refs.tree.setCheckedNodes(e),this.returnDatas=e;var t=[];e.map(e=>{t.push(e[this.obj.id])}),this.returnDataKeys=t,this.popoverHide()},removeTag(e){this.$refs.tree.setChecked(e,!1);var t=this.$refs.tree.getNode(e);!this.checkStrictly&&t.childNodes.length>0&&this.treeToList(t).map(e=>{e.childNodes.length<=0&&this.$refs.tree.setChecked(e,!1)}),this.nodeClick(),this.popoverHide()},popoverHide(){this.$emit("getValue",this.returnDataKeys,this.returnDatas)},clearSelectedNodes(){var e=this.$refs.tree.getCheckedKeys();for(let t=0;t{const a=[];for(let s=0;s{/^[1][3,4,5,7,8,9][0-9]{9}$/.test(t)?A():A(new Error("请输入正确的手机号"))},500)}var l={props:["showdialogMoveSuper","getTreeDepartlist"],watch:{showdialogMoveSuper(){this.dialogFormVisible=this.showdialogMoveSuper,this.defaulDataParent=[]}},components:{selectTree:r["a"]},data(){return{title:"转移上级身份",dialogFormVisible:this.showdialogMoveSuper,OperType:0,formList:{},params:{pageIndex:1,pageSize:10,keyword:"",total:0},rules:{},defaulDataParent:"",defaulData:[],tableDataEmployee:[],newRowData:[]}},methods:{getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));console.log(A),this.newRowData=A,this.newRowData.forEach(e=>{this.$set(e,"check",!1),this.$set(e,"newdisabled",!1),this.$set(e,"newSuperiorId",null),this.$set(e,"originalSuperiorId",e.id)}),console.log(this.newRowData),this.OperType=t,this.getTreeData(this.getTreeDepartlist),this.employeeTableList()},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"departId",e),console.log(this.formList.departId)},checkChange(e,t){},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},employeeTableList(){let e={domainId:this.$route.query.domainId};Object(i["mb"])(this.params,e).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},filterMethod(e){console.log(e),this.params.keyword=e;let t={domainId:this.$route.query.domainId};Object(i["mb"])(this.params,t).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},selectUser(e){console.log(e)},delCheck(e){console.log(e),e.check?(e.newdisabled=!0,e.newSuperiorId=null):e.newdisabled=!1},submitForm(){let e=[];this.newRowData.forEach(t=>{let A={};A.originalSuperiorId=t.originalSuperiorId,A.newSuperiorId=t.newSuperiorId,e.push(A)});let t={domainId:this.$route.query.domainId};this.$refs.ruleForm.validate(A=>{if(!A)return!1;this.$confirm(`即将对选择的${$SuperviseStr.employee}进行离职,提交后无法恢复,是否继续?`,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(i["j"])(e,t).then(e=>{if(200==e.status){let e=JSON.parse(JSON.stringify(this.newRowData));this.$emit("refurlist",e),this.cancelForm()}})}).catch(e=>{console.log(e),console.log(e.response)})})},cancelForm(){this.$emit("update:showdialogMoveSuper",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},n=l,c=(A("5b9e"),A("2877")),d=Object(c["a"])(n,a,s,!1,null,null,null);t["default"]=d.exports},fc83:function(e,t,A){"use strict";A.r(t),A.d(t,"validatePhone",(function(){return d}));var a=function(){var e=this,t=e._self._c;return t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single el-dialog-employeeIn",attrs:{title:e.title,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"200px",model:e.formList,rules:e.rules}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"驻勤点:",prop:"attendSiteId"}},[t("el-select",{attrs:{placeholder:"请选择驻勤点",clearable:""},on:{change:e.dutySelectChange},model:{value:e.formList.attendSiteId,callback:function(t){e.$set(e.formList,"attendSiteId",t)},expression:"formList.attendSiteId"}},e._l(e.dutylist,(function(e,A){return t("el-option",{key:A,attrs:{label:e.attendSiteName,value:e.id}})})),1)],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:e.departlabel,prop:"departId"}},[t("selectTree",{ref:"selectTreeParent",attrs:{curValue:e.defaulDataParent,data:e.getTreeDepartlist,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",collapseTags:""},on:{getValue:e.checkChangeParent,selectClickT:e.selectClickT}})],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"邀请截止日期:",prop:"endTime"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",clearable:"",placeholder:"选择日期"},model:{value:e.formList.endTime,callback:function(t){e.$set(e.formList,"endTime",t)},expression:"formList.endTime"}})],1)],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},[t("el-button",{attrs:{type:"primary"},on:{click:e.qrCodeBtn}},[e._v("生成邀请链接及二维码")])],1)],1),t("div",{staticClass:"linehr"}),e.qrcodeShow?t("el-row",[t("el-col",{attrs:{span:12}},[t("div",{ref:"qrCodeDiv",attrs:{id:"qrCode"}})]),t("el-col",{attrs:{span:12}},[t("span",{staticClass:"qrbtnCopy"},[t("el-button",{on:{click:e.downloadQrcode}},[e._v("下载二维码图片")]),t("el-button",{staticClass:"copyText",on:{click:e.CopyclipboardUrl}},[e._v("复制邀请链接")])],1)])],1):e._e()],1)],1)},s=[],r=(A("d9e2"),A("fb36")),i=A("821e"),o=A("d044"),l=A.n(o),n=A("b311"),c=A.n(n);function d(e,t,A){setTimeout(()=>{/^[1][3,4,5,7,8,9][0-9]{9}$/.test(t)?A():A(new Error("请输入正确的手机号"))},500)}var p={props:["showdialogDuty","deptDataList"],watch:{showdialogDuty(){this.dialogFormVisible=this.showdialogDuty,this.defaulDataParent=[]},"formList.departId"(){this.formList.departId&&this.$refs.ruleForm.clearValidate(["departId"])},deptDataList(e){this.getTreeDepartlist=e}},components:{selectTree:r["a"]},data(){return{title:"邀请驻勤人员",dialogFormVisible:this.showdialogDuty,OperType:0,formList:{attendSiteId:"",departId:"",endTime:""},rules:{attendSiteId:[{required:!0,message:"请选择驻勤点",trigger:"blur"}],departId:[{required:!0,message:"请选择入职"+$SuperviseStr.depart,trigger:"blur"}],endTime:[{required:!0,message:"请选择链接有效截止日期",trigger:"blur"}]},defaulDataParent:"",defaulData:[],qrcodeShow:!1,shareUrl:"",dutylist:[],departlabel:`入职${$SuperviseStr.depart}:`,getTreeDepartlist:[]}},methods:{selectClickT(e){this.getTreeDepartlist=e},getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.formList=A,this.OperType=t,this.dutyList(),this.getTreeData(this.getTreeDepartlist)},checkChangeParent(e,t){console.log(e),console.log(t),this.$set(this.formList,"departId",e),console.log(this.formList.departId)},checkChange(e,t){},dutyList(){let e={domainId:this.$route.query.domainId};Object(i["ib"])(e).then(e=>{200==e.status&&(console.log(e),this.dutylist=e.data)})},dutySelectChange(){this.dutylist.forEach(e=>{e.id==this.formList.attendSiteId&&(this.formList.attendSiteName=e.attendSiteName)})},getTreeData(e){e.forEach(e=>{e.label=e.name,e.value=e.id,e.children&&e.children.length<1?e.children=void 0:e.children&&e.children.length>0&&this.getTreeData(e.children)})},async qrCodeBtn(){let e=new Promise((e,t)=>{let A={domainId:this.$route.query.domainId};this.$refs.ruleForm.validate(t=>{if(t)return Object(i["e"])(this.formList,A).then(t=>{200==t.status&&t.data&&(console.log(1),e(t.data))})})});e.then(e=>{e&&(this.qrcodeShow=!0,parent.location.origin&&(this.shareUrl=parent.location.origin+"/static/signon/staffMobile/#/duty?inviteDepartId="+e),this.$nextTick(()=>{document.getElementById("qrCode").innerHTML="",new l.a(this.$refs.qrCodeDiv,{text:this.shareUrl,width:200,height:200,colorDark:"#333333",colorLight:"#ffffff",correctLevel:l.a.CorrectLevel.L})}))})},downloadQrcode(){for(var e=document.querySelectorAll("#qrCode img"),t=0;t{let t=new c.a(".copyText",{text:function(){return e}});t.on("success",e=>{this.$message({type:"success",message:"复制成功,请到微信打开!"}),t.destroy()}),t.on("error",e=>{this.$message({type:"warning",message:"该浏览器不支持自动复制!"}),t.destroy()})})},submitForm(){},cancelForm(){this.qrcodeShow=!1,this.$emit("update:showdialogDuty",!1),this.$nextTick((function(){this.$refs.ruleForm.resetFields()}))}}},h=p,u=(A("4749"),A("2877")),m=Object(u["a"])(h,a,s,!1,null,null,null);t["default"]=m.exports},fd3a:function(e,t,A){"use strict";A.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ContainerBox"},[e.StaffBoxFlag?t("section",{staticClass:"ContainerBoxList"},[t("section",{staticClass:"remarkBox"},[t("div",{staticClass:"remarkInfo"},[t("i",{staticClass:"el-icon-warning-outline el-icon-flag"}),t("span",{staticClass:"tipsFlag"},[t("span",[e._v("1. 若您是"+e._s(e.$SuperviseStr.depart)+"管理员,则只能查看到可管理的"+e._s(e.$SuperviseStr.employee)+"信息,点击数据看板的标签卡可以快速筛选。")]),t("span",[e._v("2. 若需要对"+e._s(e.$SuperviseStr.employee)+"进行离职处理,请访问离职管理页面进行操作。")]),t("span",[e._v(e._s(e.institutionalCodeFlag?"3. 背景筛查状态显示【关注】仅表示该人员有提醒记录,具体详情请至【智能预警】查看处理。":""))]),t("span",[e._v(e._s(e.institutionalCodeFlag?"4. 北京超龄保安员:按照人社部规定;陕西 超龄保安员:男超过63岁,女超过58岁,可通过筛选项【职业类型】、【开始年龄】进行查询。":""))]),t("span",[e._v(e._s(e.institutionalCodeFlag?"5. 超期未持证保安员:入职日期超过14天未取证保安员,可通过筛选项【职业类型】、【持证状态】、【入职日期】进行查询。":""))])])])]),t("section",{staticClass:"buttonBox"},[t("el-row",{staticClass:"row-bg",attrs:{type:"flex",justify:"space-between"}},[t("el-col",{attrs:{span:12}},[t("div",[t("el-button",{attrs:{type:"primary"},on:{click:e.addUser}},[e._v("添加"+e._s(e.$SuperviseStr.employee))]),t("el-button",{on:{click:e.importEmployee}},[e._v("导入"+e._s(e.$SuperviseStr.employee))]),t("el-button",{on:{click:e.exportEmployee}},[e._v("导出"+e._s(e.$SuperviseStr.employee))]),!e.$SuperviseStr.isnotSuperviseButton||"0601"==e.institutionalCode||e.institutionalCode.startsWith("04")||e.institutionalCode.startsWith("07")||e.institutionalCode.endsWith("07")||e.institutionalCode.endsWith("08")||e.institutionalCode.endsWith("09")?e._e():t("el-button",{on:{click:e.addUserIn}},[e._v("邀请入职")]),!e.$SuperviseStr.isnotSuperviseButton||"rtpayTemplate"==e.homeTemplateBoradType||"0601"==e.institutionalCode||e.institutionalCode.startsWith("04")||e.institutionalCode.startsWith("07")||e.institutionalCode.endsWith("07")||e.institutionalCode.endsWith("08")||e.institutionalCode.endsWith("09")||e.institutionalCode.startsWith("02")?e._e():t("el-button",{on:{click:e.addUserDuty}},[e._v("邀请驻勤")]),"员工"===e.$SuperviseStr.employee&&e.isShow?t("el-button",{attrs:{type:"primary",icon:"el-icon-download"},on:{click:function(t){return e.downloadTemplate("保安员资格审查表.doc")}}},[e._v(" 下载资格审查表 ")]):e._e(),"员工"===e.$SuperviseStr.employee&&e.isShow?t("el-button",{staticStyle:{"margin-left":"15px"},attrs:{type:"primary",icon:"el-icon-download"},on:{click:function(t){return e.downloadTemplate("保安员考试报名登记表.doc")}}},[e._v(" 下载考试报名表 ")]):e._e()],1)]),t("el-col",{attrs:{span:12}},[t("div",{staticClass:"rightBox"},[t("el-input",{directives:[{name:"show",rawName:"v-show",value:!e.HighSearchFlag,expression:"!HighSearchFlag"}],staticStyle:{width:"45%"},attrs:{placeholder:"输入姓名/账号/手机号/证件号码",clearable:""},on:{input:function(t){return e.keywordInput()}},model:{value:e.params.keyword,callback:function(t){e.$set(e.params,"keyword",t)},expression:"params.keyword"}}),e.HighSearchFlag?e._e():t("el-button",{attrs:{type:"primary"},on:{click:e.search}},[e._v("查询")]),t("el-button",{on:{click:e.switchHigh}},[e._v("高级"),e.HighSearchFlag?e._e():t("i",{staticClass:"el-icon-arrow-down"}),e.HighSearchFlag?t("i",{staticClass:"el-icon-arrow-up"}):e._e()]),e.DataBoardshowObj&&"0601"!=e.institutionalCode&&!e.institutionalCode.startsWith("04")?t("el-button",{on:{click:function(t){e.HighDataFlag=!e.HighDataFlag,e.DataBoard()}}},[e._v("数据看板"),e.HighDataFlag?e._e():t("i",{staticClass:"el-icon-arrow-down"}),e.HighDataFlag?t("i",{staticClass:"el-icon-arrow-up"}):e._e()]):e._e()],1)])],1)],1),t("section",{directives:[{name:"show",rawName:"v-show",value:e.HighSearchFlag,expression:"HighSearchFlag"}],staticClass:"HighSearchBox"},["0601"==e.institutionalCode?t("el-row",[t("el-form",{ref:"ruleForm",attrs:{inline:!0,model:e.params,"label-width":"130px","label-position":"right"}},[t("el-form-item",{attrs:{label:"关键词:",prop:"keyword"}},[t("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"姓名/账号/手机号/证件号码",clearable:""},on:{input:e.inputkeywork},model:{value:e.params.keyword,callback:function(t){e.$set(e.params,"keyword",t)},expression:"params.keyword"}})],1),t("el-form-item",{attrs:{label:"证件类型:",prop:"credentialTypes"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"","collapse-tags":"",placeholder:"请选择"},on:{change:e.changecredentialTypes},model:{value:e.params.credentialTypes,callback:function(t){e.$set(e.params,"credentialTypes",t)},expression:"params.credentialTypes"}},e._l(e.credentialTypesoptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"证件核验状态:",prop:"checkedStatuses"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"","collapse-tags":"",placeholder:"请选择"},on:{change:e.changecheckedStatuses},model:{value:e.params.checkedStatuses,callback:function(t){e.$set(e.params,"checkedStatuses",t)},expression:"params.checkedStatuses"}},e._l(e.checkedStatusesoptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:e.departlabel,prop:"departIds"}},[t("selectTree",{ref:"selectTree",attrs:{curValue:e.defaulData,data:e.tableData,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",multiple:"",collapseTags:""},on:{getValue:e.checkChange}})],1),t("el-form-item",{attrs:{label:"岗位:",prop:"position"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择",clearable:""},model:{value:e.params.position,callback:function(t){e.$set(e.params,"position",t)},expression:"params.position"}},e._l(e.positionArrOptions,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"性别:",prop:"sex"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择",clearable:""},on:{change:e.changesex},model:{value:e.params.sex,callback:function(t){e.$set(e.params,"sex",t)},expression:"params.sex"}},e._l(e.sexArrOptions,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"开始年龄:",prop:"beginAge"}},[t("el-input-number",{staticStyle:{width:"175px"},attrs:{controls:!1,min:1,max:100,placeholder:"开始年龄"},on:{change:e.changebeginAge},model:{value:e.params.beginAge,callback:function(t){e.$set(e.params,"beginAge",t)},expression:"params.beginAge"}})],1),t("el-form-item",{attrs:{label:"结束年龄:",prop:"endAge"}},[t("el-input-number",{staticStyle:{width:"175px"},attrs:{controls:!1,min:1,max:100,placeholder:"结束年龄"},on:{change:e.changeendAge},model:{value:e.params.endAge,callback:function(t){e.$set(e.params,"endAge",t)},expression:"params.endAge"}})],1),t("el-form-item",{attrs:{label:e.$SuperviseStr.entry+"时间:",prop:"startEndDate"}},[t("el-date-picker",{attrs:{type:"daterange","value-format":"yyyy-MM-dd",format:"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.changestartEndDate},model:{value:e.params.startEndDate,callback:function(t){e.$set(e.params,"startEndDate",t)},expression:"params.startEndDate"}})],1),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e.highSearchButton}},[e._v("查询")]),t("el-button",{on:{click:function(t){return e.resetSearchForm()}}},[e._v("重置")])],1)],1)],1):e.institutionalCode.startsWith("04")||e.institutionalCode.startsWith("07")?t("el-row",[t("el-form",{ref:"ruleForm",attrs:{inline:!0,model:e.params,"label-width":"130px","label-position":"right"}},[t("el-form-item",{attrs:{label:"关键词:",prop:"keyword"}},[t("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"姓名/账号/手机号/证件号码",clearable:""},on:{input:e.inputkeywork},model:{value:e.params.keyword,callback:function(t){e.$set(e.params,"keyword",t)},expression:"params.keyword"}})],1),t("el-form-item",{attrs:{label:"证件类型:",prop:"credentialTypes"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"","collapse-tags":"",placeholder:"请选择"},on:{change:e.changecredentialTypes},model:{value:e.params.credentialTypes,callback:function(t){e.$set(e.params,"credentialTypes",t)},expression:"params.credentialTypes"}},e._l(e.credentialTypesoptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"证件核验状态:",prop:"checkedStatuses"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"","collapse-tags":"",placeholder:"请选择"},on:{change:e.changecheckedStatuses},model:{value:e.params.checkedStatuses,callback:function(t){e.$set(e.params,"checkedStatuses",t)},expression:"params.checkedStatuses"}},e._l(e.checkedStatusesoptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:e.departlabel,prop:"departIds"}},[t("selectTree",{ref:"selectTree",attrs:{curValue:e.defaulData,data:e.tableData,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",multiple:"",collapseTags:""},on:{getValue:e.checkChange}})],1),t("el-form-item",{attrs:{label:"性别:",prop:"sex"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择",clearable:""},on:{change:e.changesex},model:{value:e.params.sex,callback:function(t){e.$set(e.params,"sex",t)},expression:"params.sex"}},e._l(e.sexArrOptions,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"开始年龄:",prop:"beginAge"}},[t("el-input-number",{staticStyle:{width:"175px"},attrs:{controls:!1,min:1,max:100,placeholder:"开始年龄"},on:{change:e.changebeginAge},model:{value:e.params.beginAge,callback:function(t){e.$set(e.params,"beginAge",t)},expression:"params.beginAge"}})],1),t("el-form-item",{attrs:{label:"结束年龄:",prop:"endAge"}},[t("el-input-number",{staticStyle:{width:"175px"},attrs:{controls:!1,min:1,max:100,placeholder:"结束年龄"},on:{change:e.changeendAge},model:{value:e.params.endAge,callback:function(t){e.$set(e.params,"endAge",t)},expression:"params.endAge"}})],1),t("el-form-item",{attrs:{label:e.$SuperviseStr.entry+"时间:",prop:"startEndDate"}},[t("el-date-picker",{attrs:{type:"daterange","value-format":"yyyy-MM-dd",format:"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.changestartEndDate},model:{value:e.params.startEndDate,callback:function(t){e.$set(e.params,"startEndDate",t)},expression:"params.startEndDate"}})],1),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e.highSearchButton}},[e._v("查询")]),t("el-button",{on:{click:function(t){return e.resetSearchForm()}}},[e._v("重置")])],1)],1)],1):e.institutionalCode.endsWith("07")||e.institutionalCode.endsWith("08")||e.institutionalCode.endsWith("09")?t("el-row",[t("el-form",{ref:"ruleForm",attrs:{inline:!0,model:e.params,"label-width":"130px","label-position":"right"}},[t("el-form-item",{attrs:{label:"关键词:",prop:"keyword"}},[t("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"姓名/账号/手机号/证件号码",clearable:""},on:{input:e.inputkeywork},model:{value:e.params.keyword,callback:function(t){e.$set(e.params,"keyword",t)},expression:"params.keyword"}})],1),t("el-form-item",{attrs:{label:e.departlabel,prop:"departIds"}},[t("selectTree",{ref:"selectTree",attrs:{curValue:e.defaulData,data:e.tableData,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",multiple:"",collapseTags:""},on:{getValue:e.checkChange}})],1),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e.highSearchButton}},[e._v("查询")]),t("el-button",{on:{click:function(t){return e.resetSearchForm()}}},[e._v("重置")])],1)],1)],1):t("el-row",[t("el-form",{ref:"ruleForm",attrs:{inline:!0,model:e.params,"label-width":"130px","label-position":"right"}},[t("el-form-item",{attrs:{label:"关键词:",prop:"keyword"}},[t("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"姓名/账号/手机号/证件号码",clearable:""},on:{input:e.inputkeywork},model:{value:e.params.keyword,callback:function(t){e.$set(e.params,"keyword",t)},expression:"params.keyword"}})],1),t("el-form-item",{attrs:{label:"证件类型:",prop:"credentialTypes"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"","collapse-tags":"",placeholder:"请选择"},on:{change:e.changecredentialTypes},model:{value:e.params.credentialTypes,callback:function(t){e.$set(e.params,"credentialTypes",t)},expression:"params.credentialTypes"}},e._l(e.credentialTypesoptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"职业类型:",prop:"occupationTypes"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"","collapse-tags":"",placeholder:"请选择"},on:{change:e.changeoccupationTypes},model:{value:e.params.occupationTypes,callback:function(t){e.$set(e.params,"occupationTypes",t)},expression:"params.occupationTypes"}},e._l(e.occupationTypeArr,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.listshowObj.authenticatedStatuses&&!e.institutionalCode.startsWith("02"),expression:"listshowObj.authenticatedStatuses && !institutionalCode.startsWith('02')"}],attrs:{label:"实名认证状态:",prop:"authenticatedStatuses"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"","collapse-tags":"",placeholder:"请选择"},on:{change:e.changeauthenticatedStatuses},model:{value:e.params.authenticatedStatuses,callback:function(t){e.$set(e.params,"authenticatedStatuses",t)},expression:"params.authenticatedStatuses"}},e._l(e.authenticatedStatusesoptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.listshowObj.checkedStatuses,expression:"listshowObj.checkedStatuses"}],attrs:{label:"证件核验状态:",prop:"checkedStatuses"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"","collapse-tags":"",placeholder:"请选择"},on:{change:e.changecheckedStatuses},model:{value:e.params.checkedStatuses,callback:function(t){e.$set(e.params,"checkedStatuses",t)},expression:"params.checkedStatuses"}},e._l(e.checkedStatusesoptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.listshowObj.cerStatus&&!e.institutionalCode.startsWith("02"),expression:"listshowObj.cerStatus&&!institutionalCode.startsWith('02')"}],attrs:{label:"持资格证:",prop:"cerStatus"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{"collapse-tags":"",placeholder:"请选择",clearable:""},on:{change:e.changecerStatus},model:{value:e.params.cerStatus,callback:function(t){e.$set(e.params,"cerStatus",t)},expression:"params.cerStatus"}},e._l(e.cerStatusArr,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.listshowObj.contractStatus&&!e.institutionalCode.startsWith("02"),expression:"listshowObj.contractStatus&&!institutionalCode.startsWith('02')"}],attrs:{label:"签订合同:",prop:"contractStatus"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{"collapse-tags":"",placeholder:"请选择",clearable:""},on:{change:e.changecontractStatus},model:{value:e.params.contractStatus,callback:function(t){e.$set(e.params,"contractStatus",t)},expression:"params.contractStatus"}},e._l(e.contractStatusArr,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:e.$SuperviseStr.entry+"日期:",prop:"hiredDate"}},[t("el-date-picker",{staticStyle:{width:"175px"},attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",placeholder:"选择日期"},on:{input:e.changeHiredDate},model:{value:e.params.hiredDate,callback:function(t){e.$set(e.params,"hiredDate",t)},expression:"params.hiredDate"}})],1),t("el-form-item",{attrs:{label:e.departlabel,prop:"departIds"}},[t("selectTree",{ref:"selectTree",attrs:{curValue:e.defaulData,data:e.tableData,obj:{id:"id",label:"name",children:"children"},checkStrictly:"",clearable:"",filterable:"",multiple:"",collapseTags:""},on:{getValue:e.checkChange}})],1),t("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.listshowObj.level&&!e.institutionalCode.startsWith("02"),expression:"listshowObj.level&&!institutionalCode.startsWith('02')"}],attrs:{label:"保安职业技能等级:",prop:"level"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"","collapse-tags":"",placeholder:"请选择"},on:{change:e.changelevel},model:{value:e.params.level,callback:function(t){e.$set(e.params,"level",t)},expression:"params.level"}},e._l(e.levelArr,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"性别:",prop:"sex"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择",clearable:""},on:{change:e.changesex},model:{value:e.params.sex,callback:function(t){e.$set(e.params,"sex",t)},expression:"params.sex"}},e._l(e.sexArrOptions,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:"开始年龄:",prop:"beginAge"}},[t("el-input-number",{staticStyle:{width:"175px"},attrs:{controls:!1,min:1,max:100,placeholder:"开始年龄"},on:{change:e.changebeginAge},model:{value:e.params.beginAge,callback:function(t){e.$set(e.params,"beginAge",t)},expression:"params.beginAge"}})],1),t("el-form-item",{attrs:{label:"结束年龄:",prop:"endAge"}},[t("el-input-number",{staticStyle:{width:"175px"},attrs:{controls:!1,min:1,max:100,placeholder:"结束年龄"},on:{change:e.changeendAge},model:{value:e.params.endAge,callback:function(t){e.$set(e.params,"endAge",t)},expression:"params.endAge"}})],1),e.instShow?t("el-form-item",{attrs:{label:"背景筛查状态:",prop:"backgroundScreeningStatus"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{multiple:"","collapse-tags":"",placeholder:"请选择"},model:{value:e.params.backgroundScreeningStatus,callback:function(t){e.$set(e.params,"backgroundScreeningStatus",t)},expression:"params.backgroundScreeningStatus"}},e._l(e.backgroundScreeningStatusOptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1):e._e(),e.institutionalCode.startsWith("02")?e._e():t("el-form-item",{attrs:{label:"是否投保:",prop:"insure"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择",clearable:""},on:{change:e.changeinsure},model:{value:e.params.insure,callback:function(t){e.$set(e.params,"insure",t)},expression:"params.insure"}},e._l(e.insureArrOptions,(function(e,A){return t("el-option",{key:A,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{attrs:{label:e.$SuperviseStr.entry+"时间:",prop:"startEndDate"}},[t("el-date-picker",{attrs:{type:"daterange","value-format":"yyyy-MM-dd",format:"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:e.changestartEndDate},model:{value:e.params.startEndDate,callback:function(t){e.$set(e.params,"startEndDate",t)},expression:"params.startEndDate"}})],1),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:e.highSearchButton}},[e._v("查询")]),t("el-button",{on:{click:function(t){return e.resetSearchForm()}}},[e._v("重置")])],1)],1)],1)],1),e.HighDataFlag?t("section",{staticClass:"DataTBox"},[t("div",{staticClass:"tj"},[t("span",{staticClass:"countstj",class:0==e.index?"active":"",on:{click:function(t){return e.DataTjclick(0,"occupationTypes",[])}}},[t("em",[e._v("在职员工总数")]),t("strong",[e._v(e._s(e.tjObj.total))])]),t("span",{class:1==e.index?"active":"",on:{click:function(t){return e.DataTjclick(1,"checkedStatuses",[0])}}},[t("em",[e._v("未提交")]),t("strong",[e._v(e._s(e.tjObj.unCheckedCount))])]),t("span",{class:2==e.index?"active":"",on:{click:function(t){return e.DataTjclick(2,"checkedStatuses",[2])}}},[t("em",[e._v("已提交")]),t("strong",[e._v(e._s(e.tjObj.commitCount))])]),t("span",{class:3==e.index?"active":"",on:{click:function(t){return e.DataTjclick(3,"checkedStatuses",[1])}}},[t("em",[e._v("已核验")]),t("strong",[e._v(e._s(e.tjObj.checkedCount))])]),t("span",{class:4==e.index?"active":"",on:{click:function(t){return e.DataTjclick(4,"contractStatus","0")}}},[t("em",[e._v("未签合同")]),t("strong",[e._v(e._s(e.tjObj.unContractCount))])]),t("span",{class:5==e.index?"active":"",on:{click:function(t){return e.DataTjclick(5,"contractStatus","1")}}},[t("em",[e._v("已签合同")]),t("strong",[e._v(e._s(e.tjObj.contractCount))])])]),e.instShow?t("div",{staticClass:"tj"},[t("span",{staticClass:"countstj",class:10==e.index?"active":"",on:{click:function(t){return e.DataTjclick(10,"occupationTypes",["SecurityGuard"])}}},[t("em",[e._v("保安员总数")]),t("strong",[e._v(e._s(e.tjObj.secTotal))])]),t("span",{class:11==e.index?"active":"",on:{click:function(t){return e.DataTjclick(11,"checkedStatuses",[0],"occupationTypes")}}},[t("em",[e._v("未提交")]),t("strong",[e._v(e._s(e.tjObj.secUnCheckedCount))])]),t("span",{class:12==e.index?"active":"",on:{click:function(t){return e.DataTjclick(12,"checkedStatuses",[1],"occupationTypes")}}},[t("em",[e._v("已核验")]),t("strong",[e._v(e._s(e.tjObj.secCheckedCount))])]),t("span",{directives:[{name:"show",rawName:"v-show",value:e.DataBoardshowObj.Authenticating,expression:"DataBoardshowObj.Authenticating"}],class:13==e.index?"active":"",on:{click:function(t){return e.DataTjclick(13,"authenticatedStatuses",["Authenticating"],"occupationTypes")}}},[t("em",[e._v("实名认证中")]),t("strong",[e._v(e._s(e.tjObj.secUnAuthCount))])]),t("span",{directives:[{name:"show",rawName:"v-show",value:e.DataBoardshowObj.Passed,expression:"DataBoardshowObj.Passed"}],class:14==e.index?"active":"",on:{click:function(t){return e.DataTjclick(14,"authenticatedStatuses",["Passed"],"occupationTypes")}}},[t("em",[e._v("已实名认证")]),t("strong",[e._v(e._s(e.tjObj.secAuthCount))])]),t("span",{directives:[{name:"show",rawName:"v-show",value:e.DataBoardshowObj.Failed,expression:"DataBoardshowObj.Failed"}],class:15==e.index?"active":"",on:{click:function(t){return e.DataTjclick(15,"authenticatedStatuses",["Failed"],"occupationTypes")}}},[t("em",[e._v("实名认证失败")]),t("strong",[e._v(e._s(e.tjObj.secAuthFailCount))])]),t("span",{class:16==e.index?"active":"",on:{click:function(t){return e.DataTjclick(16,"contractStatus","0","occupationTypes")}}},[t("em",[e._v("未签合同")]),t("strong",[e._v(e._s(e.tjObj.secUnContractCount))])]),t("span",{class:17==e.index?"active":"",on:{click:function(t){return e.DataTjclick(17,"contractStatus","1","occupationTypes")}}},[t("em",[e._v("已签合同")]),t("strong",[e._v(e._s(e.tjObj.secContractCount))])])]):e._e()]):e._e(),t("section",{staticClass:"contentBox"},[t("el-table",{ref:"districtTable",attrs:{data:e.tableDataEmployee,"max-height":"500","default-expand-all":"","row-key":"id"},on:{"selection-change":e.handleSelectionChange,"select-all":e.handleSelectionAllChange}},[e._l(e.tableColumn,(function(A,a){return A.show?t("el-table-column",{key:a,attrs:{prop:A.prop,label:A.label,width:A.width,fixed:"姓名"==A.label},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",[e._v(e._s(a.row[A.prop]))])]}}],null,!0)}):e._e()})),t("el-table-column",{attrs:{fixed:"right","min-width":"180"},scopedSlots:e._u([{key:"header",fn:function(A){return[t("span",{staticClass:"columnHeader"},[t("strong",[e._v("操作")]),t("i",{staticClass:"el-icon-setting",on:{click:e.columnSetPop}})])]}},{key:"default",fn:function(A){return[t("el-button",{staticClass:"primaryColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.editStaff(A.row)}}},[e._v("编辑")]),e.domainAdmin||e.permissionsStr.indexOf("ResetPwd")>-1?t("el-button",{staticClass:"primaryColor",attrs:{type:"text",size:"small"},on:{click:function(t){return e.resetPWDStaff(A.row)}}},[e._v("重置密码")]):e._e()]}}],null,!1,2497882516)})],2),t("pages",{attrs:{total:e.params.total,currentPage:e.params.pageIndex,pageSize:e.params.pageSize},on:{"update:currentPage":function(t){return e.$set(e.params,"pageIndex",t)},"update:current-page":function(t){return e.$set(e.params,"pageIndex",t)},handleCurrentChangeSub:e.handleCurrentChange,handleSizeChangeSub:e.handleSizeChange}})],1),t("UserEmployeeDialog",{ref:"popChildren",attrs:{deptDataList:e.tableData,showdialog:e.showdialog},on:{"update:showdialog":function(t){e.showdialog=t},refurlist:e.refurlist}}),t("ImportEmployeeDialog",{ref:"ImportpopChildren",attrs:{showdialogImport:e.showdialogImport},on:{"update:showdialogImport":function(t){e.showdialogImport=t},"update:showdialog-import":function(t){e.showdialogImport=t},refurlist:e.refurlist}}),t("ExportEmployeeDialog",{ref:"ExportpopChildren",attrs:{showdialogExport:e.showdialogExport},on:{"update:showdialogExport":function(t){e.showdialogExport=t},"update:showdialog-export":function(t){e.showdialogExport=t},refurlist:e.refurlist}}),t("UserEmployeeInviteInDialog",{ref:"popChildren",attrs:{deptDataList:e.tableData,showdialogIn:e.showdialogIn},on:{"update:showdialogIn":function(t){e.showdialogIn=t},"update:showdialog-in":function(t){e.showdialogIn=t},refurlist:e.refurlist}}),t("UserEmployeeDutyDialog",{ref:"DutyChildren",attrs:{deptDataList:e.tableData,showdialogDuty:e.showdialogDuty},on:{"update:showdialogDuty":function(t){e.showdialogDuty=t},"update:showdialog-duty":function(t){e.showdialogDuty=t},refurlist:e.refurlist}}),t("UserEmployeechangeOccupationTypeDialog",{ref:"OccTypeChildren",attrs:{showdialogOccType:e.showdialogOccType},on:{"update:showdialogOccType":function(t){e.showdialogOccType=t},"update:showdialog-occ-type":function(t){e.showdialogOccType=t},refurlist:e.refurlist}})],1):e._e(),e.StaffBoxFlag?e._e():t("section",{staticClass:"ContainerBoxDetail"},[t("StaffBoxDetail",{attrs:{staffinfo:e.staffinfo},on:{refurlistBack:e.refurlistBack}})],1),t("ColumnSet",{ref:"columnRef",attrs:{showdialogColumnSet:e.showdialogColumnSet,typeFlag:e.typeFlag},on:{"update:showdialogColumnSet":function(t){e.showdialogColumnSet=t},"update:showdialog-column-set":function(t){e.showdialogColumnSet=t},refurlist:e.refurlist}})],1)},s=[],r=(A("14d9"),A("821e")),i=A("a4a5"),o=A("e418"),l=A("adfb"),n=A("4d54"),c=A("fc83"),d=A("5afa"),p=A("fb36"),h=A("20f2"),u=function(){var e=this,t=e._self._c;return t("section",{staticClass:"columnSet"},[t("el-dialog",{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"el-dialog-single",attrs:{title:"列配置",visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{close:e.cancelForm}},[t("section",{staticClass:"columnTitle"},[e._v("注:列配置只影响当前用户登录时查看的内容,不影响其他用户查看。")]),t("section",{staticClass:"columnUl"},[t("ul",[t("li",[t("strong",[e._v("列字段")]),t("em",[e._v("显示设置")])]),e._l(e.tableColumn,(function(A,a){return t("li",{key:a},[t("strong",[e._v(e._s(A.label))]),"姓名"==A.label?t("em",[e._v("固定显示")]):t("em",[t("el-switch",{attrs:{"active-color":"#13ce66"},model:{value:A.show,callback:function(t){e.$set(A,"show",t)},expression:"item.show"}})],1)])}))],2)]),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("确 定")]),t("el-button",{on:{click:function(t){return e.cancelForm()}}},[e._v("取 消")])],1)])],1)},m=[],g={props:["showdialogColumnSet","typeFlag"],watch:{showdialogColumnSet(){this.dialogFormVisible=this.showdialogColumnSet,this.defaulDataParent=[]}},components:{},data(){return{title:"",dialogFormVisible:this.showdialogColumnSet,OperType:0,formList:{},rules:{},value:!0,tableColumn:[]}},methods:{getTableRow(e,t){let A=JSON.parse(JSON.stringify(e));this.tableColumn=A,this.OperType=t,this.rolecheck=!1,this.OperType,this.title="列配置"},submitForm(){let e=localStorage.getItem("tableColumnArr")&&JSON.parse(localStorage.getItem("tableColumnArr"))||[],t={};t.type=this.typeFlag,t.tableColumn=this.tableColumn,e.length?e.forEach(A=>{this.typeFlag==A.type?A.tableColumn=this.tableColumn:e.push(t)}):e.push(t),localStorage.setItem("tableColumnArr",JSON.stringify(e)),this.cancelForm()},cancelForm(){this.$emit("update:showdialogColumnSet",!1),this.$nextTick((function(){this.$emit("refurlist",{})}))},refurlist(){}}},f=g,w=(A("710d"),A("2877")),B=Object(w["a"])(f,u,m,!1,null,null,null),b=B.exports,C={inject:["permissions"],computed:{permissionsStr(){return this.permissions()},isShow(){return!0}},data(){return{tableData:[],tableDataEmployee:[],multipleSelection:[],tableColumn:[{prop:"name",label:"姓名",width:"100",show:!0,version:5},{prop:"departName",label:"所在"+$SuperviseStr.depart,width:"250",show:!0},{prop:"occupationType",label:"职业类型",width:"100",show:!0},{prop:"telephone",label:"手机号",width:"140",show:!0},{prop:"credentialType",label:"证件类型",width:"180",show:!0},{prop:"credentialNumber",label:"证件号码",width:"180",show:!0},{prop:"backgroundScreeningStatus",label:"背景筛查",width:"100",show:!0},{prop:"checkedStatus",label:"证件核验状态",width:"120",show:!0},{prop:"lastCheckedStatusTime",label:"核验日期",width:"100",show:!0},{prop:"authenticatedStatus",label:"实名认证状态",width:"120",show:!0},{prop:"authenticatedResult",label:"认证失败原因",width:"120",show:!0},{prop:"hiredDateText",label:$SuperviseStr.entry+"日期",width:"100",show:!0},{prop:"contractStatus",label:"是否签订合同",width:"120",show:!0},{prop:"cerStatus",label:"是否持有保安资格证",width:"120",show:!0},{prop:"cerNo",label:"保安资格证号",width:"120",show:!0},{prop:"insure",label:"是否投保",width:"120",show:!0},{prop:"gradeCerStatus",label:"是否有等级证",width:"120",show:!0},{prop:"gradeCerNo",label:"等级证编号",width:"120",show:!0},{prop:"gradeLevel",label:"等级证等级",width:"120",show:!0},{prop:"createdTime",label:"录入系统时间",width:"120",show:!0},{prop:"superiorName",label:"上级",width:"100",show:!1},{prop:"position",label:"职位",width:"100",show:!1},{prop:"positiveDate",label:"转正日期",width:"100",show:!1},{prop:"sex",label:"性别",width:"100",show:!1},{prop:"birthdate",label:"出生日期",width:"100",show:!1},{prop:"age",label:"年龄",width:"100",show:!1},{prop:"nation",label:"民族",width:"100",show:!1},{prop:"education",label:"文化程度",width:"100",show:!1},{prop:"politicsStatus",label:"政治面貌",width:"120",show:!1},{prop:"householdType",label:"户籍类型",width:"100",show:!1},{prop:"stature",label:"身高(CM)",width:"120",show:!1},{prop:"nativePlace",label:"籍贯",width:"180",show:!1},{prop:"militaryStatus",label:"兵役情况",width:"100",show:!1},{prop:"maritalStatus",label:"婚姻状况",width:"100",show:!1},{prop:"validDateTo",label:"身份证有效期",width:"180",show:!1},{prop:"address",label:"身份证住址",width:"180",show:!1},{prop:"personStatus",label:"员工状态",width:"100",show:!1},{prop:"probation",label:"试用期",width:"100",show:!1},{prop:"planPositiveDate",label:"原定转正日期",width:"180",show:!1},{prop:"emergencyContact",label:"紧急联系人姓名",width:"180",show:!1},{prop:"emergencyPhone",label:"紧急联系人电话",width:"180",show:!1},{prop:"licenseLevel",label:"驾照等级",width:"100",show:!1},{prop:"placeOfNow",label:"现住地址",width:"180",show:!1},{prop:"domainAdmin",label:"是否为组织管理员",width:"180",show:!1},{prop:"departAdmin",label:"是否为部门管理员",width:"180",show:!1},{prop:"manageDeparts",label:"可管理部门",width:"180",show:!1},{prop:"operatorName",label:"操作人",width:"100",show:!0},{prop:"operatorTime",label:"操作时间",width:"180",show:!0}],params:{pageIndex:1,pageSize:10,keyword:"",total:0},showdialogColumnSet:!1,showdialog:!1,showdialogIn:!1,showdialogDuty:!1,disabled:!0,isAllSelect:!1,displayOrderShow:!1,showdialogImport:!1,showdialogOccType:!1,credentialTypesoptions:[{value:"IdCard",label:"居民身份证/户口簿"},{value:"IdCardOfXiangGang",label:"香港特区护照/身份证明"},{value:"IdCardOfAoMen",label:"澳门特区护照/身份证明"},{value:"IdCardOfTaiwan",label:"台湾居民来往大陆通行证"},{value:"Passport",label:"外国护照"},{value:"Arms",label:"退伍军人证"},{value:"PoliceNo",label:"警号"}],credentialTypesoptions_Inst:[{value:"IdCard",label:"居民身份证/户口簿"},{value:"IdCardOfXiangGang",label:"香港特区护照/身份证明"},{value:"IdCardOfAoMen",label:"澳门特区护照/身份证明"},{value:"IdCardOfTaiwan",label:"台湾居民来往大陆通行证"},{value:"Passport",label:"外国护照"}],occupationTypesoptions:[{value:"Normal",label:"一般职员"},{value:"SecurityGuard",label:"保安员"},{value:"Police",label:"警官"}],authenticatedStatusesoptions:[{value:"UnAuthenticated",label:"未认证"},{value:"Authenticating",label:"认证中"},{value:"Failed",label:"认证失败"},{value:"Passed",label:"已认证"}],checkedStatusesoptions:[{value:0,label:"未提交"},{value:2,label:"已提交"},{value:1,label:"已核验"}],cerStatusArr:[{value:"1",label:"是"},{value:"0",label:"否"}],contractStatusArr:[{value:"1",label:"是"},{value:"0",label:"否"}],levelArr:[{value:5,label:"初级保安员"},{value:4,label:"中级保安员"},{value:3,label:"高级保安员"},{value:2,label:"保安师"},{value:1,label:"高级保安师"}],sexArrOptions:[{value:"Male",label:"男"},{value:"Female",label:"女"}],insureArrOptions:[{value:"True",label:"已投保"},{value:"False",label:"未投保"}],positionArrOptions:[{value:"社会力量",label:"社会力量"},{value:"民警",label:"民警"}],backgroundScreeningStatusOptions:[{value:0,label:"未背筛"},{value:1,label:"正常"},{value:2,label:"关注"}],defaulData:[],HighSearchFlag:!1,StaffBoxFlag:!0,occupationTypeArr:[],getTreeDepartlist:[],showdialogExport:!1,departlabel:`所在${$SuperviseStr.depart}:`,homeTemplateBoradType:localStorage.getItem("homeTemplateBoradType")||"",showFlag:!1,tjObj:{},HighDataFlag:!1,institutionalCode:localStorage.getItem("institutionalCode")||"",instShow:!0,index:"",typeFlag:"Employee",domainAdmin:"true"==localStorage.getItem("domainAdmin"),listshowObj:{authenticatedStatuses:!1,checkedStatuses:!1,cerStatus:!1,contractStatus:!1,level:!1},DataBoardshowObj:{Authenticating:!1,Passed:!1,Failed:!1},institutionalCodeFlag:!1}},components:{ColumnSet:b,selectTree:p["a"],UserEmployeeDialog:i["default"],ImportEmployeeDialog:o["default"],ExportEmployeeDialog:l["default"],UserEmployeeInviteInDialog:n["default"],StaffBoxDetail:h["default"],UserEmployeeDutyDialog:c["default"],UserEmployeechangeOccupationTypeDialog:d["default"]},mounted(){if(console.log(this.permissionsStr.indexOf("ResetPwd")),this.tableDatalist(),"rtpayTemplate"==this.homeTemplateBoradType){this.listshowObj={authenticatedStatuses:!1,checkedStatuses:!0,cerStatus:!0,contractStatus:!0,level:!0},this.DataBoardshowObj={Authenticating:!1,Passed:!1,Failed:!1},this.tableColumn=[{prop:"name",label:"姓名",width:"100",show:!0,version:5},{prop:"departName",label:"所在"+$SuperviseStr.depart,width:"250",show:!0},{prop:"occupationType",label:"职业类型",width:"100",show:!0},{prop:"telephone",label:"账号",width:"140",show:!0},{prop:"credentialType",label:"证件类型",width:"180",show:!0},{prop:"credentialNumber",label:"证件号码",width:"180",show:!0},{prop:"checkedStatus",label:"证件核验",width:"100",show:!0},{prop:"authenticatedStatus",label:"实名认证状态",width:"120",show:!0},{prop:"authenticatedResult",label:"认证失败原因",width:"120",show:!0},{prop:"hiredDateText",label:$SuperviseStr.entry+"日期",width:"1800",show:!0},{prop:"contractStatus",label:"是否签订合同",width:"120",show:!0},{prop:"cerStatus",label:"是否持有保安资格证",width:"120",show:!0},{prop:"cerNo",label:"保安资格证号",width:"120",show:!0},{prop:"insure",label:"是否投保",width:"120",show:!0},{prop:"gradeCerStatus",label:"是否有等级证",width:"120",show:!0},{prop:"gradeCerNo",label:"等级证编号",width:"120",show:!0},{prop:"gradeLevel",label:"等级证等级",width:"120",show:!0},{prop:"createdTime",label:"录入系统时间",width:"120",show:!0},{prop:"superiorName",label:"上级",width:"100",show:!1},{prop:"position",label:"职位",width:"100",show:!1},{prop:"positiveDate",label:"转正日期",width:"100",show:!1},{prop:"sex",label:"性别",width:"100",show:!1},{prop:"birthdate",label:"出生日期",width:"100",show:!1},{prop:"age",label:"年龄",width:"100",show:!1},{prop:"nation",label:"民族",width:"100",show:!1},{prop:"education",label:"文化程度",width:"100",show:!1},{prop:"politicsStatus",label:"政治面貌",width:"120",show:!1},{prop:"householdType",label:"户籍类型",width:"100",show:!1},{prop:"stature",label:"身高(CM)",width:"120",show:!1},{prop:"nativePlace",label:"籍贯",width:"180",show:!1},{prop:"militaryStatus",label:"兵役情况",width:"100",show:!1},{prop:"maritalStatus",label:"婚姻状况",width:"100",show:!1},{prop:"validDateTo",label:"身份证有效期",width:"180",show:!1},{prop:"address",label:"身份证住址",width:"180",show:!1},{prop:"personStatus",label:"员工状态",width:"100",show:!1},{prop:"probation",label:"试用期",width:"100",show:!1},{prop:"planPositiveDate",label:"原定转正日期",width:"180",show:!1},{prop:"emergencyContact",label:"紧急联系人姓名",width:"180",show:!1},{prop:"emergencyPhone",label:"紧急联系人电话",width:"180",show:!1},{prop:"licenseLevel",label:"驾照等级",width:"100",show:!1},{prop:"placeOfNow",label:"现住地址",width:"180",show:!1},{prop:"domainAdmin",label:"是否为组织管理员",width:"180",show:!1},{prop:"departAdmin",label:"是否为部门管理员",width:"180",show:!1},{prop:"manageDeparts",label:"可管理部门",width:"180",show:!1},{prop:"operatorName",label:"操作人",width:"100",show:!0},{prop:"operatorTime",label:"操作时间",width:"180",show:!0}];let e=localStorage.getItem("tableColumnArr")&&JSON.parse(localStorage.getItem("tableColumnArr"))||[];e.length&&e.forEach(e=>{"Employee"==e.type&&(console.log(e),4==e.tableColumn[0].version?this.tableColumn=e.tableColumn:this.tableColumn=this.tableColumn)}),this.employeeTableBoardList()}else if(localStorage.getItem("appidSupervise")&&"__d1qEDy3wYq8VF5KvUoE"==JSON.parse(localStorage.getItem("appidSupervise")).appId){this.listshowObj={authenticatedStatuses:!1,checkedStatuses:!1,cerStatus:!1,contractStatus:!1,level:!1},this.DataBoardshowObj=null,this.tableColumn=[{prop:"name",label:"姓名",width:"100",show:!0,version:5},{prop:"departName",label:"所在"+$SuperviseStr.depart,width:"250",show:!0},{prop:"occupationType",label:"职业类型",width:"100",show:!0},{prop:"telephone",label:"手机号",width:"140",show:!0},{prop:"credentialType",label:"证件类型",width:"180",show:!0},{prop:"credentialNumber",label:"证件号码",width:"180",show:!0},{prop:"authenticatedStatus",label:"实名认证状态",width:"120",show:!0},{prop:"authenticatedResult",label:"认证失败原因",width:"120",show:!0},{prop:"hiredDateText",label:$SuperviseStr.entry+"日期",width:"100",show:!0},{prop:"insure",label:"是否投保",width:"120",show:!0},{prop:"createdTime",label:"录入系统时间",width:"120",show:!0},{prop:"superiorName",label:"上级",width:"100",show:!1},{prop:"position",label:"职位",width:"100",show:!1},{prop:"positiveDate",label:"转正日期",width:"100",show:!1},{prop:"sex",label:"性别",width:"100",show:!1},{prop:"birthdate",label:"出生日期",width:"100",show:!1},{prop:"age",label:"年龄",width:"100",show:!1},{prop:"nation",label:"民族",width:"100",show:!1},{prop:"education",label:"文化程度",width:"100",show:!1},{prop:"politicsStatus",label:"政治面貌",width:"120",show:!1},{prop:"householdType",label:"户籍类型",width:"100",show:!1},{prop:"stature",label:"身高(CM)",width:"120",show:!1},{prop:"nativePlace",label:"籍贯",width:"180",show:!1},{prop:"militaryStatus",label:"兵役情况",width:"100",show:!1},{prop:"maritalStatus",label:"婚姻状况",width:"100",show:!1},{prop:"domainAdmin",label:"是否为组织管理员",width:"180",show:!1},{prop:"departAdmin",label:"是否为部门管理员",width:"180",show:!1},{prop:"manageDeparts",label:"可管理部门",width:"180",show:!1},{prop:"operatorName",label:"操作人",width:"100",show:!0},{prop:"operatorTime",label:"操作时间",width:"180",show:!0}];let e=localStorage.getItem("tableColumnArr")&&JSON.parse(localStorage.getItem("tableColumnArr"))||[];e.length&&e.forEach(e=>{"Employee"==e.type&&(console.log(e),4==e.tableColumn[0].version?this.tableColumn=e.tableColumn:this.tableColumn=this.tableColumn)})}else if("0601"==this.institutionalCode)this.tableColumn=[{prop:"name",label:"姓名",width:"100",show:!0,version:5},{prop:"departName",label:"所在"+$SuperviseStr.depart,width:"250",show:!0},{prop:"occupationType",label:"职业类型",width:"100",show:!0},{prop:"position",label:"岗位",width:"100",show:!0},{prop:"telephone",label:"手机号",width:"140",show:!0},{prop:"credentialType",label:"证件类型",width:"180",show:!0},{prop:"credentialNumber",label:"证件号码",width:"180",show:!0},{prop:"checkedStatus",label:"证件核验",width:"180",show:!0},{prop:"lastCheckedStatusTime",label:"核验日期",width:"100",show:!0},{prop:"hiredDateText",label:"入职日期",width:"100",show:!0},{prop:"createdTime",label:"录入系统时间",width:"120",show:!0},{prop:"operatorName",label:"操作人",width:"100",show:!0},{prop:"operatorTime",label:"操作时间",width:"180",show:!0}];else if(this.institutionalCode&&this.institutionalCode.startsWith("04"))this.tableColumn=[{prop:"name",label:"姓名",width:"100",show:!0,version:5},{prop:"departName",label:"所在"+$SuperviseStr.depart,width:"250",show:!0},{prop:"occupationType",label:"职业类型",width:"100",show:!0},{prop:"position",label:"岗位",width:"100",show:!0},{prop:"telephone",label:"手机号",width:"140",show:!0},{prop:"credentialType",label:"证件类型",width:"180",show:!0},{prop:"credentialNumber",label:"证件号码",width:"180",show:!0},{prop:"checkedStatus",label:"证件核验",width:"180",show:!0},{prop:"lastCheckedStatusTime",label:"核验日期",width:"100",show:!0},{prop:"hiredDateText",label:"入职日期",width:"100",show:!0},{prop:"createdTime",label:"录入系统时间",width:"120",show:!0},{prop:"operatorName",label:"操作人",width:"100",show:!0},{prop:"operatorTime",label:"操作时间",width:"180",show:!0}];else if(this.institutionalCode&&this.institutionalCode.startsWith("07"))this.tableColumn=[{prop:"name",label:"姓名",width:"100",show:!0,version:5},{prop:"departName",label:"所在"+$SuperviseStr.depart,width:"250",show:!0},{prop:"occupationType",label:"职业类型",width:"100",show:!0},{prop:"position",label:"岗位",width:"100",show:!0},{prop:"telephone",label:"手机号",width:"140",show:!0},{prop:"credentialType",label:"证件类型",width:"180",show:!0},{prop:"credentialNumber",label:"证件号码",width:"180",show:!0},{prop:"checkedStatus",label:"证件核验",width:"180",show:!0},{prop:"lastCheckedStatusTime",label:"核验日期",width:"100",show:!0},{prop:"hiredDateText",label:"入职日期",width:"100",show:!0},{prop:"createdTime",label:"录入系统时间",width:"120",show:!0},{prop:"operatorName",label:"操作人",wsWidth:"100",show:!0},{prop:"operatorTime",label:"操作时间",width:"180",show:!0}];else if(this.institutionalCode&&this.institutionalCode.endsWith("07")||this.institutionalCode&&this.institutionalCode.endsWith("08")||this.institutionalCode&&this.institutionalCode.endsWith("09"))this.tableColumn=[{prop:"name",label:"姓名",width:"100",show:!0,version:5},{prop:"departName",label:"所在"+$SuperviseStr.depart,width:"250",show:!0},{prop:"occupationType",label:"职业类型",width:"100",show:!0},{prop:"telephone",label:"手机号",width:"140",show:!0},{prop:"credentialType",label:"证件类型",width:"180",show:!0},{prop:"credentialNumber",label:"证件号码",width:"180",show:!0},{prop:"createdTime",label:"录入系统时间",width:"120",show:!0},{prop:"operatorName",label:"操作人",width:"100",show:!0},{prop:"operatorTime",label:"操作时间",width:"180",show:!0}];else if(this.institutionalCode&&this.institutionalCode.startsWith("02"))this.tableColumn=[{prop:"name",label:"姓名",width:"100",show:!0,version:5},{prop:"departName",label:"所在"+$SuperviseStr.depart,width:"250",show:!0},{prop:"occupationType",label:"职业类型",width:"100",show:!0},{prop:"telephone",label:"手机号",width:"140",show:!0},{prop:"credentialType",label:"证件类型",width:"180",show:!0},{prop:"credentialNumber",label:"证件号码",width:"180",show:!0},{prop:"checkedStatus",label:"证件核验状态",width:"120",show:!0},{prop:"lastCheckedStatusTime",label:"核验日期",width:"100",show:!0},{prop:"hiredDateText",label:"入职日期",width:"100",show:!0},{prop:"createdTime",label:"录入系统时间",width:"120",show:!0},{prop:"operatorName",label:"操作人",width:"100",show:!0},{prop:"operatorTime",label:"操作时间",width:"180",show:!0}];else{this.listshowObj={authenticatedStatuses:!0,checkedStatuses:!0,cerStatus:!0,contractStatus:!0,level:!0},this.DataBoardshowObj={Authenticating:!0,Passed:!0,Failed:!0};let e=localStorage.getItem("tableColumnArr")&&JSON.parse(localStorage.getItem("tableColumnArr"))||[];e.length&&e.forEach(e=>{"Employee"==e.type&&(console.log(e),4==e.tableColumn[0].version?this.tableColumn=e.tableColumn:this.tableColumn=this.tableColumn)}),this.employeeTableBoardList()}switch("rtpayTemplate"==this.homeTemplateBoradType?this.occupationTypeArr=[{label:"一般职员",value:"Normal"}]:localStorage.getItem("appidSupervise")&&"__d1qEDy3wYq8VF5KvUoE"==JSON.parse(localStorage.getItem("appidSupervise")).appId?this.occupationTypeArr=[{label:"一般职员",value:"Normal"},{label:"保安员",value:"SecurityGuard"},{label:"警官",value:"Police"}]:this.occupationTypeArr=[{label:"一般职员",value:"Normal"},{label:"保安员",value:"SecurityGuard"}],this.employeeTableList(),this.institutionalCode){case"0102":this.instShow=!0,this.institutionalCodeFlag=!0,this.credentialTypesoptions=this.credentialTypesoptions_Inst;break;case"0103":this.instShow=!0,this.institutionalCodeFlag=!0,this.credentialTypesoptions=this.credentialTypesoptions_Inst;break;case"0104":this.instShow=!0,this.institutionalCodeFlag=!0,this.credentialTypesoptions=this.credentialTypesoptions_Inst;break;default:this.instShow=!1}0==this.institutionalCodeFlag&&this.tableColumn.forEach((e,t)=>{"backgroundScreeningStatus"==e.prop&&this.tableColumn.splice(t,1),"lastCheckedStatusTime"==e.prop&&this.tableColumn.splice(t,1)})},watch:{multipleSelection(){this.multipleSelection.length?this.disabled=!1:this.disabled=!0}},methods:{downloadTemplate(e){try{const t="https://v5qy.te.baibaodun.com.cn/static/signon/staff/static/template/"+e;console.log("filePath",t);const A=document.createElement("a");A.href=t,A.download=e,A.style.display="none",document.body.appendChild(A),A.click(),document.body.removeChild(A),this.$message.success(e+"下载开始")}catch(t){this.$message.error(`下载${e}失败`),console.error("下载失败:",t)}},DataTjclick(e,t,A,a){this.index=e,this.params={},this.$set(this.params,"pageIndex",1),this.$set(this.params,"pageSize",10),this.$set(this.params,"keyword",""),this.$set(this.params,"total",0),this.$set(this.params,t,A),a&&this.$set(this.params,a,["SecurityGuard"]),this.highSearch()},changecredentialTypes(){this.$nextTick(()=>{this.$forceUpdate()})},changeoccupationTypes(){this.$nextTick(()=>{this.$forceUpdate()})},changeauthenticatedStatuses(){this.$nextTick(()=>{this.$forceUpdate()})},changecheckedStatuses(){this.$nextTick(()=>{this.$forceUpdate()})},changecerStatus(){this.$nextTick(()=>{this.$forceUpdate()})},changecontractStatus(){this.$nextTick(()=>{this.$forceUpdate()})},changeHiredDate(){this.$nextTick(()=>{this.$forceUpdate()})},changelevel(){this.$nextTick(()=>{this.$forceUpdate()})},changesex(){this.$nextTick(()=>{this.$forceUpdate()})},changebeginAge(){this.$nextTick(()=>{this.$forceUpdate()})},changeendAge(){this.$nextTick(()=>{this.$forceUpdate()})},changestartEndDate(){this.$nextTick(()=>{this.$forceUpdate()})},changeinsure(){this.$nextTick(()=>{this.$forceUpdate()})},DataBoard(){this.index=-1,this.params={},this.$set(this.params,"pageIndex",1),this.$set(this.params,"pageSize",10),this.$set(this.params,"keyword",""),this.$set(this.params,"total",0),this.employeeTableBoardList(),this.highSearch()},selectClickT(e){console.log(e),this.getTreeDepartlist=e},columnSetPop(){this.showdialogColumnSet=!0,this.$refs.columnRef.getTableRow(this.tableColumn,0)},addUser(){this.showdialog=!0},addUserIn(){this.showdialogIn=!0},addUserDuty(){this.showdialogDuty=!0,this.$refs.DutyChildren.getTableRow({},0)},switchHigh(){this.$nextTick(()=>{this.$set(this.params,"departIds",[])}),this.HighSearchFlag=!this.HighSearchFlag},search(){this.params={pageIndex:1,pageSize:10,keyword:this.params.keyword},this.index=-1;let e={domainId:this.$route.query.domainId};Object(r["u"])(this.params,e).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},highSearchButton(){this.index=-1,this.$set(this.params,"pageIndex",1),this.highSearch()},highSearch(){let e={domainId:this.$route.query.domainId};console.log(this.params),this.$set(this.params,"startDate",this.params.startEndDate&&this.params.startEndDate[0]||""),this.$set(this.params,"endDate",this.params.startEndDate&&this.params.startEndDate[1]||""),Object(r["Nb"])(this.params,e).then(e=>{e.data.data&&(this.tableDataEmployee=e.data.data,this.params.total=e.data.total)})},resetSearchForm(){console.log(this.params),this.defaulData=[],this.$nextTick(()=>{this.$refs.ruleForm&&this.$refs.ruleForm.resetFields(),this.params={pageIndex:1,pageSize:10,keyword:"",total:0},this.$set(this.params,"departIds",[]),this.highSearch()})},tableDatalist(){let e={domainId:this.$route.query.domainId};Object(r["w"])(e,!0).then(e=>{e.data&&(this.tableData=e.data,this.sortTableData(this.tableData))})},sortTableData(e){e.length&&e.forEach(e=>{e.displayOrderNumber=e.displayOrder,e.children.length&&this.sortTableData(e.children)}),console.log(this.tableData)},employeeTableList(){let e={domainId:this.$route.query.domainId};Object(r["mb"])(this.params,e).then(e=>{this.tableDataEmployee=e.data.data,this.params.total=e.data.total})},employeeTableBoardList(){let e={domainId:this.$route.query.domainId};Object(r["lb"])(this.params,e).then(e=>{console.log(e),this.tjObj=e.data})},checkChange(e,t){console.log(e),console.log(t),this.$set(this.params,"departIds",e),this.defaulData=this.params.departIds,console.log(this.defaulData)},handleCurrentChange(e){console.log(e),this.params.pageIndex=e,this.employeeTableList()},handleSizeChange(e){console.log(e),this.params.pageIndex=1,this.params.pageSize=e,this.employeeTableList()},handleSelectionChange(e){console.log(e),this.multipleSelection=e},handleSelectionAllChange(e,t){t||(this.isAllSelect=!this.isAllSelect),e.map(e=>{e.children&&(e.children.map(e=>{this.toggleSelection(e,this.isAllSelect)}),e.children.length>0&&this.handleSelectionAllChange(e.children,!0))})},toggleSelection(e,t){t?this.$refs.districtTable.toggleRowSelection(e,t):this.$refs.districtTable.clearSelection()},addDept(){this.showdialog=!0,this.$refs.popChildren.getTableRow({},0)},editStaff(e){this.StaffBoxFlag=!1,this.staffinfo=e},resetPWDStaff(e){let t={domainId:this.$route.query.domainId};""!=Object.keys(e)&&this.$confirm("此操作将所选员工的密码重置为Abcd@加证件号码后六位, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(r["Vb"])(e,t).then(e=>{console.log(e),200==e.status?this.$message({type:"success",message:"重置成功"}):this.$message({type:"success",message:"重置失败"})})}).catch(()=>{})},delDept(e){let t=[e.id],A={domainId:this.$route.query.domainId};""!=Object.keys(e)&&this.$confirm("此操作将永久删除此对应数据, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{delDepartmentsApi(t,A).then(()=>{this.tableDatalist()})}).catch(()=>{})},patchDel(){let e={domainId:this.$route.query.domainId};this.multipleSelection.length&&this.$confirm("此操作将永久删除此对应数据, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{let t=[];this.multipleSelection.forEach(e=>{t.push(e.id)}),delDepartmentsApi(t,e).then(()=>{this.tableDatalist()})}).catch(()=>{})},importEmployee(){this.showdialogImport=!0},exportEmployee(){this.showdialogExport=!0,this.$refs.ExportpopChildren.getTableRow(this.params,0)},moveDept(){this.showdialogMove=!0,this.$refs.MovepopChildren.getTableRow(this.multipleSelection,0)},ImDept(){this.showdialogIm=!0,this.$refs.ImpopChildren.getTableRow(this.multipleSelection,0)},close(e){this.tableDatalist()},totalMemberClick(e){this.showdialogUser=!0,this.$refs.UserpopChildren.getTableRow(e,0)},refurlist(){if(this.params={},this.search(),this.resetSearchForm(),this.employeeTableBoardList(),this.index=-1,localStorage.getItem("tableColumnArr")){let e=localStorage.getItem("tableColumnArr")&&JSON.parse(localStorage.getItem("tableColumnArr"))||[];e.length&&e.forEach(e=>{this.typeFlag==e.type&&this.$nextTick(()=>{this.tableColumn=e.tableColumn})})}},refurlistBack(){console.log(this.params),this.highSearch(),this.employeeTableBoardList()},inputkeywork(){this.$forceUpdate()},keywordInput(){this.$forceUpdate()},changeOccupationType(){this.showdialogOccType=!0}}},y=C,v=(A("d6b7"),Object(w["a"])(y,a,s,!1,null,null,null));t["default"]=v.exports},fe00:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAARCAYAAAGutmwVAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAFqADAAQAAAABAAAAEQAAAACuAe9KAAACKElEQVQ4EZ1TS2sUQRCu6m4H9hK8CvkbHjx4FLJ7UERExZMH8RHEnQlBRAJBDYjE7CAJxEMgRBTRm4eZBA+5hcT8CUG9+zjO9LTVna2mZpNNwD1sVX3fV4+ergaQv36pf/q4X2gX8LTQP6QA0p3JTqCjRNIoA+8HFYILhEzJe/aQOCRTx28tJi115RwY49MR4Tc46HgglHDOoSdk7VBn3s2r4Az/WjUlwT5VqMnXPo7jkvN30LMTLOJhOPYzRDGDo1aeNY7hB09L07BYihg70aZlcp1GeuuFsfJRWTNlcsM6+37IbbQ+jUzISn1VCEGh2jYELjcOphWoc0u9atcnUNvLhH3kZEQ1vdSt1sNtRNCos1A3Z2iZPjNGFR+S8LWPlUJYYcLVzX5biDMs9JqD71zqVVqAO5wUrMJH+VT9UmLhgHnX3qXrWWMCFT4ZFTIXbVqYxaw0WQRGnGO/84j2yLBfJDcR7AaddXgN+OV0Z/LifxfOtpJrjbXvqFvYXtmVjv89FqZ9myXyvAJ89qpb7Uuh9LNNfYVe2Af/yiQefP+aUd0fTFWrmBXmaQNuriVC+EOCCyT4yni6qS9RsU90c6cYkxaVekD6ZcYOd/WMgwnnmj16qL9oGxZokAXXQMJJ0tKmprSpOYCV8MEOhae3ZVaggXst9tgAZ/NevThOEr+xF/gGtEJv6IZvj01AfDzo1i/G8Yy3CjM4bLBGDW4xhohzVPA5xyfZf48D1SPVWDi5AAAAAElFTkSuQmCC"}}]);