Files
starRiverProperty/frontend/cwos-portal/static/js/13.0229047184dc6d8564ad.js
T
反编译工作区 0c56a3e599 chore(frontend): add static frontend build artifacts (portal, front_acs, etc.)
Made-with: Cursor

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

1 line
31 KiB
JavaScript

webpackJsonp([13],{"+IbL":function(e,t,n){var a=n("+ed6");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);n("rjj0")("6e7b96b6",a,!0)},"+PJY":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("4h5B"),i={data:function(){return{tabs:[],allForm:[],loading:!1,type:"1"}},created:function(){this.fetchTab()},computed:{curIndex:function(){var e=this,t=void 0;return this.tabs.some(function(n,a){if(n.code===e.type)return t=a,!0}),t}},methods:{fetchTab:function(){var e=this;a.a.fetchTab().then(function(t){e.tabs=t,e.allForm=t.map(function(e){return[]}),e.type=t[0].code,e.fetchData(e.type)})},handleClick:function(){this.fetchData(this.type)},fetchData:function(e){var t=this;this.loading=!0,a.a.fetch({parentGroupCode:e}).then(function(e){t.allForm[t.curIndex]=e,setTimeout(function(){t.loading=!1},500)}).catch(function(e){t.loading=!1})}},components:{dynamicForm:n("bHgw").a}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-tabs",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"app-container",staticStyle:{"min-height":"500px"},on:{"tab-click":e.handleClick},model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},e._l(e.tabs,function(t,a){return n("el-tab-pane",{key:a,attrs:{label:t.name,name:t.code}},[n("dynamic-form",{staticStyle:{margin:"30px 0 50px"},attrs:{formData:e.allForm[a],groupCode:t.code},on:{change:e.handleClick}})],1)}),1)},staticRenderFns:[]};var s=n("VU/8")(i,o,!1,function(e){n("+IbL")},"data-v-4b38ae3f",null);t.default=s.exports},"+ed6":function(e,t,n){(e.exports=n("FZ+f")(!1)).push([e.i,"\n[data-v-4b38ae3f] .el-tabs__nav-wrap.is-top {\n background: #fff;\n}\n[data-v-4b38ae3f] .el-tabs__nav-scroll {\n margin-left: 20px;\n}\n[data-v-4b38ae3f] .el-tabs__content {\n padding: 0 20px 0;\n}\n[data-v-4b38ae3f] .el-tabs__header {\n padding: 0;\n position: relative;\n margin: 0;\n margin-top: -1px;\n}\n[data-v-4b38ae3f] .el-tabs__item {\n height: 50px;\n line-height: 50px;\n}\n",""])},"/IHe":function(e,t,n){var a=n("PJ+d");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);n("rjj0")("8d121f46",a,!0)},"10w/":function(e,t,n){(e.exports=n("FZ+f")(!1)).push([e.i,"\n[data-v-6121b2b4] .el-input-number.is-without-controls .el-input__inner {\n padding: 0;\n}\n[data-v-6121b2b4] .el-input-number {\n width: 50px;\n}\n",""])},"4h5B":function(e,t,n){"use strict";var a=n("imqz");t.a={fetchTab:function(){return a.a.post("/portal/dict/query",{typeCode:"sysSetting"}).then(function(e){if(e.success)return e.data.filter(function(e){return 1===e.status});throw new Error(e.messgae)})},fetch:function(e){return a.a.post("/portal/setting/groupQuery",e).then(function(e){if(e.success)return e.data;throw new Error(e.messgae)})},save:function(e){return a.a.post("/portal/setting/edit",e)},reset:function(e){return a.a.post("/portal/setting/reset",e)}}},"8yfQ":function(e,t,n){(e.exports=n("FZ+f")(!1)).push([e.i,"\n.group-compose[data-v-42624cc0] {\n display: inline-block;\n vertical-align: middle;\n}\n.group-compose[data-v-42624cc0] .el-button.is-circle {\n padding: 11px;\n}\n.group-compose[data-v-42624cc0] .el-select {\n width: 401px;\n margin-bottom: 16px;\n}\n.icon_[data-v-42624cc0] {\n color: #3399ff;\n width: 14px;\n height: 15px;\n cursor: pointer;\n}\n",""])},EYuw:function(e,t,n){var a=n("q+sD");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);n("rjj0")("2a4da0c9",a,!0)},I59D:function(e,t,n){var a=n("10w/");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);n("rjj0")("0eab0be8",a,!0)},KYZT:function(e,t,n){(e.exports=n("FZ+f")(!1)).push([e.i,"\n[data-v-13841860] .flex1 {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n}\n.modify-slider[data-v-13841860] {\n display: inline-block;\n min-width: 200px;\n vertical-align: middle;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n}\n.w-max-465[data-v-13841860] {\n max-width: 465px;\n position: relative;\n padding-right: 20px;\n}\n.dy-flex[data-v-13841860] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n min-height: 40px;\n}\n.dy-flex .slider-box[data-v-13841860] {\n width: 50px;\n height: 27px;\n border-radius: 4px;\n border: 1px solid #d2d5d9;\n display: inline-block;\n margin-left: 10px;\n line-height: 27px;\n text-align: center;\n color: #2c2d2f;\n}\n.dy-form-card[data-v-13841860]:last-child {\n padding-bottom: 27px;\n}\n",""])},MS4k:function(e,t,n){var a=n("8yfQ");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);n("rjj0")("520cbea2",a,!0)},"PJ+d":function(e,t,n){(e.exports=n("FZ+f")(!1)).push([e.i,"\n.travel-compose[data-v-721f995d] {\n display: inline-block;\n vertical-align: middle;\n}\n",""])},PWch:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEkAAABHCAMAAAB8p5qeAAAAP1BMVEVHcEz///////////////////////////////////////////////////////////////////////////////9KjZoYAAAAFHRSTlMA5iClEtQHZDH6WHKY8Um0wjyAjN05G2MAAAI1SURBVFjD7ZjZloMgEERdQFDR4PL/3zpxIwLVgOSceZnhJS94jVBdVFMUvzhGxdX4PWZS5bqNUk3fYORyYI5RLjITM/PVHXx+DKsA5oJVDzA9hTlhfRKM9XqND92zCEbo1nuqXEZr5Y/RakHCWPcCmHP3LzVYsFcHYA3CDPXYfGaM9YBgjYVBkyxM2rxJxd8V+e/HEvSJ3x9ez/4tnjZ9TwJ73FZF90wnpO66OylRu7gWukLk1BOoT3GSuMy3Hm6RkHpSxkdhhpRli/cSupMe2qJtqC4peeV9J/RJCWqATghJm0JJob/lDZ+gSFvxARgToOQc0oJssbYMoelqZKiLQxLYFo3MoDXtuhE+iZ7ehF4CSZSTrSEnpEjhZUWbESBFDj3XwsIk8iAGoo2SQEngQkohWWVKFnci6c06SaRJ/FVSrWSc1AgtYyTWbqphQdKeJFSM1J+GMlIkdkp2aCIkI8aRIOnPqRskTcZMqP9kTFaHSeqaN5NfZyysCpLm0pqGVvx62UtGVDDu7qTpvdsXoDTVHFLmtjtdQAX8s7NxjU9NgCTZfwV/T6plJknWXsIgsk6QdDuA7KyC0jhNsg9FN/X4WYcgeQc1yE9O84NIKDyIovJiSGtFao90BJrWDTT7IsOu7YrUDgm1cMOtDIm4Jh2SjAc/qmvjszQkdBNBdYIw1nLnNykgJ1w6PGrh6IuQjCsRtLLZdz4o7ebeQ4FIndkEujLzhfNsnDKLXCEkt+AqpWn/Ab21qsA1q7qCAAAAAElFTkSuQmCC"},Pd57:function(e,t,n){(e.exports=n("FZ+f")(!1)).push([e.i,"\n.address-wrap[data-v-d078c8e4] {\n display: inline-block;\n vertical-align: top;\n}\n.address-wrap .address-item[data-v-d078c8e4] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.address-wrap .address-item > span[data-v-d078c8e4] {\n width: 50px;\n text-align: center;\n}\n.address-wrap .small_btn[data-v-d078c8e4] {\n -webkit-transform: scale(0.8);\n transform: scale(0.8);\n}\n.icon_[data-v-d078c8e4] {\n color: #3399ff;\n width: 14px;\n height: 15px;\n cursor: pointer;\n margin: 12px;\n}\n",""])},Srmx:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASBAMAAACk4JNkAAAAKlBMVEVHcEy0t8K1uMK2t8G0t8G1uLizuL+zt8C0tsLMzMy1uMKAgIC1uMK1ucPNHBb+AAAADnRSTlMA2pEf8AgrnGwFvQJUfubjbrMAAAB7SURBVAjXY2BAAmyKLkIJIAanYvNuC6EJQNasUiARvhJIqDMwhDEwFAFViTIwLGRgCExgYGpgYOhhYOBQYGA0YGCwYWBgFmBg2cDAIM7AwO0AYm1zBrOAsrwLwLJAHbsuXwDpAJrC5XIAZArQZOajYJORbEO4AOEqGAAATj8YsFG2XM0AAAAASUVORK5CYII="},"Zq0+":function(e,t,n){var a=n("t3Vh");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);n("rjj0")("7bfcffb7",a,!0)},b92q:function(e,t,n){var a=n("KYZT");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);n("rjj0")("6df0870b",a,!0)},bHgw:function(e,t,n){"use strict";var a=n("Xxa5"),i=n.n(a),o=n("exGp"),s=n.n(o),r=n("4h5B"),l=n("imqz"),c="/vipModule",d={save:function(e){return l.a.post(c+"/vip/setting/edit",e)},reset:function(e){return l.a.post(c+"/vip/setting/reset",e)}},u={data:function(){return{}},components:{},props:{type:{type:String,default:"add"}},methods:{handleClick:function(){this.$emit("click")}}},h={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticStyle:{display:"inline-block"}},["add"==this.type?t("el-button",{staticClass:"small_btn",attrs:{circle:"",size:"small",type:"success",icon:"el-icon-plus"},on:{click:this.handleClick}}):t("el-button",{staticClass:"small_btn",attrs:{circle:"",size:"small",type:"danger",icon:"el-icon-minus"},on:{click:this.handleClick}})],1)},staticRenderFns:[]};var p=n("VU/8")(u,h,!1,function(e){n("Zq0+")},"data-v-5a39d68a",null).exports,f={data:function(){return{allOptions:[{label:"人员类型",value:"1"},{label:"vip等级",value:"2"}],personOptions:[],org:"0"}},computed:{canUse:function(){var e=this;return this.allOptions.filter(function(t){return!e.personOptions.some(function(e){return e.value===t.value})})}},props:{value:{type:String,default:""}},mounted:function(){this.refreshOptions()},watch:{value:{immediate:!0,handler:function(e){if(e){var t=e.split(",");t.length&&(this.personOptions=t.slice(1).map(function(e){return{options:[],value:e}}),this.refreshOptions())}}}},methods:{handlerChange:function(e){this.refreshOptions()},refreshOptions:function(){var e=this,t=this.allOptions.filter(function(t){return!e.personOptions.some(function(e){return e.value===t.value})});this.personOptions.forEach(function(n){var a=e.allOptions.filter(function(e){return e.value===n.value});n.options=t.concat(a)})},add:function(){var e=this,t=this.allOptions.filter(function(t){return!e.personOptions.some(function(e){return e.value===t.value})});t.length&&(this.personOptions.push({canUse:t,value:t[0].value}),this.refreshOptions(),this.valueChange())},valueChange:function(){var e=this.personOptions.map(function(e){return e.value});e=[0].concat(e),this.$emit("input",e.join(","))},remove:function(e){this.personOptions.splice(e,1),this.refreshOptions(),this.valueChange()}},components:{adBtn:p}},v={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"group-compose"},[n("el-button",{directives:[{name:"show",rawName:"v-show",value:e.canUse.length,expression:"canUse.length"}],staticStyle:{"margin-bottom":"16px"},attrs:{icon:"el-icon-plus"},on:{click:e.add}},[e._v("添加条件")]),e._v(" "),n("div"),e._v(" "),n("el-select",{model:{value:e.org,callback:function(t){e.org=t},expression:"org"}},[n("el-option",{attrs:{label:"所属机构",value:"0"}})],1),e._v(" "),n("br"),e._v(" "),e._l(e.personOptions,function(t,a){return[n("div",{key:a},[n("el-select",{attrs:{placeholder:"请选择人员字段名称"},on:{change:e.handlerChange},model:{value:t.value,callback:function(n){e.$set(t,"value",n)},expression:"item.value"}},e._l(t.options,function(e,t){return n("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1),e._v(" "),n("i",{staticClass:"icon_ el-icon-delete",on:{click:function(t){return e.remove(a)}}})],1)]})],2)},staticRenderFns:[]};var m=n("VU/8")(f,v,!1,function(e){n("MS4k")},"data-v-42624cc0",null).exports,g={data:function(){return{}},props:{value:{type:String,default:""}},computed:{final:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}},watch:{value:{immedaite:!0,handler:function(e){}}},methods:{},components:{}},x={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"travel-compose"},[n("el-input",{model:{value:e.final,callback:function(t){e.final=t},expression:"final"}})],1)},staticRenderFns:[]};var b=n("VU/8")(g,x,!1,function(e){n("/IHe")},"data-v-721f995d",null).exports,w=n("//Fk"),k=n.n(w),y=n("mvHQ"),C=n.n(y),_={data:function(){return{allAddress:[{protocol:"1",address:""}]}},props:{value:{type:String,default:[]}},watch:{value:{immediate:!0,handler:function(e){if(e)try{this.allAddress=JSON.parse(e)}catch(e){this.allAddress=[{protocol:"1",address:""}]}}}},methods:{add:function(){this.allAddress.push({protocol:"1",address:""})},emitChange:function(){var e=this;this.$refs.ruleForm.validate(function(t){t&&e.$emit("input",C()(e.allAddress))})},check:function(){var e=this;return new k.a(function(t){e.$refs.ruleForm.validate(function(e){e&&t()})})},remove:function(e){var t=this;this.allAddress.splice(e,1),this.$nextTick(function(){t.emitChange(),t.$refs.ruleForm.clearValidate()})}},components:{}},D={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"address-wrap"},[n("el-form",{ref:"ruleForm",attrs:{model:e.allAddress,"label-width":"70px","label-position":"center"}},[n("el-button",{staticStyle:{margin:"0 0 16px 51px",width:"116px"},attrs:{size:"small",icon:"el-icon-plus"},on:{click:e.add}},[e._v("添加")]),e._v(" "),e._l(e.allAddress,function(t,a){return[n("div",{key:a,staticClass:"address-item"},[n("span",[e._v("协议")]),e._v(" "),n("el-select",{staticStyle:{width:"160px"},on:{change:e.emitChange},model:{value:t.protocol,callback:function(n){e.$set(t,"protocol",n)},expression:"item.protocol"}},[n("el-option",{attrs:{label:"http(s)",value:"1"}})],1),e._v(" "),n("el-form-item",{staticStyle:{padding:"0 0 24px 10px"},attrs:{label:"地址",prop:"["+a+"][address]",rules:[e.$rule.normalRule(),e.$rule.elRule(/^(((ht)tp(s)?):\/\/)([\w\-]+(\.[\w\-]+)*\/)*[\w\-]+(\.[\w\-]+)*\/?(\?([\w\-\.,@?^=%&:\/~\+#]*)+)?/,"url验证不通过")]}},[n("el-input",{staticStyle:{width:"384px"},attrs:{maxlength:"255"},on:{change:e.emitChange},model:{value:t.address,callback:function(n){e.$set(t,"address",n)},expression:"item.address"}})],1),e._v(" "),n("i",{staticClass:"icon_ el-icon-delete",on:{click:function(t){return e.remove(a)}}})],1)]})],2)],1)},staticRenderFns:[]};var A=n("VU/8")(_,D,!1,function(e){n("d6z0")},"data-v-d078c8e4",null).exports,F=n("lGPi"),S={data:function(){return{oldInfo:{}}},props:{value:{type:String,default:""}},computed:{modelStatus:function(){return{0:"使用中",1:"部分数据异常",2:"服务异常"}[this.oldInfo.status]||""},statusColor:function(){return{0:"#67DAC1",1:"#F3BD51",2:"#FA5555"}[this.oldInfo.status]||"#67DAC1"}},watch:{value:{immediate:!0,handler:function(e){if(e){var t=e.split(",");t.length&&(this.persons=t.slice(1))}}}},created:function(){this.init()},methods:{init:function(){var e=this;return s()(i.a.mark(function t(){var n,a;return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,F.c.status();case 2:n=t.sent;try{(a=n.data.modelStatuses[0])&&(e.oldInfo=a)}catch(t){e.oldInfo={}}case 4:case"end":return t.stop()}},t,e)}))()},handlerChange:function(e){var t=[0].concat(this.persons);this.$emit("input",t.join(","))},goDetail:function(e){var t=1===e?"VipLog":"VipDatabase";this.$router.push({name:t,params:{showBack:!0}})}},components:{}},$={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"service-compose"},[a("div",{staticStyle:{display:"flex"}},[a("div",{staticClass:"current-wrp"},[a("div",{staticClass:"title"},[e._v("\n 当前AI服务版本\n ")]),e._v(" "),a("div",{staticClass:"top",style:{backgroundColor:e.statusColor}},[a("img",{attrs:{src:n("PWch"),alt:""}})]),e._v(" "),a("div",{staticClass:"ct"},[a("p",[a("span",[e._v("AI服务版本:")]),e._v(" "+e._s(e.oldInfo.engineVersion))]),e._v(" "),a("p",[a("span",[e._v("当前状态:")]),a("i",{staticClass:"point",style:{backgroundColor:e.statusColor}}),e._v(e._s(e.modelStatus))]),e._v(" "),a("p",[e._v("最后使用时间:"+e._s(e._f("datetime")(e.oldInfo.lastUpdateTime)))]),e._v(" "),a("div",{staticClass:"link",on:{click:function(t){return e.goDetail(1)}}},[e._v("点击查看建模详情")]),e._v(" "),a("br"),e._v(" "),a("div",{staticClass:"link",on:{click:function(t){return e.goDetail(2)}}},[e._v("点击查看分库详情")])])]),e._v(" "),a("div",{staticClass:"current-wrp",staticStyle:{"margin-left":"210px"}},[a("div",{staticClass:"title"},[e._v("\n 预升级AI服务版本\n ")]),e._v(" "),a("div",{staticClass:"add-box",on:{click:function(t){return e.$message.warning("暂未开放")}}},[e._m(0)])])])])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"btns"},[t("i",{staticClass:"el-icon-plus"}),this._v(" "),t("br"),this._v(" "),t("div",{staticClass:"link"},[this._v("添加AI服务版本")])])}]};var O=n("VU/8")(S,$,!1,function(e){n("EYuw")},"data-v-000431b8",null).exports,I=function(e,t,n){t&&t.split(","),t&&t[0]?n():n(new Error("请选择机构"))},E={methods:{fetchRules:function(e){var t=e.keyData,n=(e.name,e.validateRegex?[this.$rule.elRule(new RegExp(e.validateRegex),e.validateMsg||"验证不通过","blur",!0)]:[]);switch(t){case"compose":n.push({validator:I,trigger:"blur"})}return n}}},T={data:function(){return{}},props:{value:{type:Number,required:!0}},computed:{selectVal:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}}},R={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{display:"flex"}},[n("el-slider",{staticStyle:{flex:"1","margin-right":"10px"},attrs:{step:.01,min:.01,max:.99},model:{value:e.selectVal,callback:function(t){e.selectVal=e._n(t)},expression:"selectVal"}}),e._v(" "),n("el-input-number",{attrs:{step:.01,controls:!1,min:0,max:1,precision:2},model:{value:e.selectVal,callback:function(t){e.selectVal=t},expression:"selectVal"}})],1)},staticRenderFns:[]};var V={components:{groupStrategy:m,travel:b,reAddress:A,aiService:O,slider:n("VU/8")(T,R,!1,function(e){n("I59D")},"data-v-6121b2b4",null).exports},mixins:[{data:function(){return{showTravelOptions:!0,showCompose:!1,composeChanged:!1}},watch:{groupCode:{immediate:!0,handler:function(e){this.composeChanged=!1}}},methods:{refresh:function(e,t){switch(t){case"compose":this.composeChanged=!this.composeChanged,this.showCompose="2"==e;break;case"travel":this.showTravelOptions="2"==e}},checkShowItem:function(e){var t=!0,n=e.keyData;switch(e.name,n){case"compose":t=this.showCompose}return this.$set(e,"ifShow",this.checkShowKS(e)&&t),this.checkShowKS(e)&&t}}},E,{methods:{fetchFinalForm:function(){var e=this,t=[];return this.showForm.forEach(function(n){n.children.forEach(function(n){if(n.ifShow){var a="address"===n.keyData&&!n.valueData;t.push({parentGroupCode:e.groupCode,groupCode:n.groupCode,keyData:n.keyData,valueData:a?"[]":n.valueData})}})}),t}}}],props:{hideTip:Boolean,ifVip:Boolean,hideOption:Boolean,hideResetButton:Boolean,saveButtonNoAuth:Boolean,formData:{type:Array,default:function(){return[]}},groupCode:{type:String,required:!0}},data:function(){return{log:console.log,ready:!1,showCheck:!1,showPwd:!1,showForm:[],finalForm:{},searchMode:!1,currentCheckObj:{},showKS:!0}},computed:{labelWidth:function(){var e=0;return this.showForm.forEach(function(t){t.children.forEach(function(t){t.ifShow&&t.name&&t.name.length>=e&&(e=t.name.length)})}),18*e}},watch:{formData:{immediate:!0,deep:!0,handler:function(e){var t=this;e&&e.length>0&&(this.showForm=[],this.$nextTick(function(){t.fetchShowForm(t.groupCode,e)}))}},groupCode:{immediate:!0,handler:function(e){}}},methods:{formatTooltip:function(e){return e/100},handleKSChange:function(e){this.showKS="1"===e},checkShowKS:function(e){var t=e.keyData;return!["Encryptkey","encryptType"].includes(t)||this.showKS},checkSuccess:function(){this.currentCheckObj.showPwd=!0},checkIfPwdType:function(e){var t=e.keyData;return["Encryptkey","emailPwd"].includes(t)},toggleItem:function(e){this.searchMode=["emailPwd"].includes(e.keyData),this.currentCheckObj=e,this.showCheck=!0,this.$forceUpdate()},hideItem:function(e){e.showPwd=!1,this.$forceUpdate()},checkAuthedGroup:function(e){if(!["identifiConfig","groupConfig"].includes(e))return!0;var t=this.$auth,n=t.vipRecogConfig,a=t.vipGroupConfig,i=this.$store.getters.auth,o=function(e){return-1!==i.indexOf(e)};return{identifiConfig:o(n),groupConfig:o(a)}[e]},fetchShowForm:function(e,t){var n=this,a=this.$store.getters.dicts.filter(function(t){return e===t.typeCode&&n.checkAuthedGroup(t.code)});(a=this.$clone(a)).forEach(function(e,t){e.children=[],n.formData.forEach(function(t){if(t.groupCode&&t.groupCode===e.code)switch(e.children.push(t),t.keyData){case"isOpenEncrypt":n.showKS="1"==t.valueData;break;case"recogThreshold":t.valueData=Number(t.valueData);break;case"groupStrategy":n.showCompose="2"==t.valueData;break;case"address":t.hideLabel=!0,t.hideTip=!0;break;case"compose":t.hideTip=!0;break;case"recogStrategy":n.showTravelOptions="2"==t.valueData;break;case"aiServiceVersion":t.hideLabel=!0,t.hideTip=!0}})}),this.showForm=a,window.$xx=this,this.ready=!0},handleReset:function(){var e=this,t="vipBaseSetting"===this.groupCode?"还原只对识别配置生效,对分组策略无效":"是否确定还原?";this.$confirm(t,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.resetLoading=!0;var t=e.ifVip?d:r.a,n="vipBaseSetting"===e.groupCode?"vipBaseSetting#identifiConfig":e.groupCode;t.reset({parentGroupCodes:[n]}).then(function(t){e.resetLoading=!1,e.$message.success("还原成功"),e.$emit("change")}).catch(function(t){e.resetLoading=!1,e.$message.error(t.message)})}).catch(function(){})},submit:function(){var e=this;return s()(i.a.mark(function t(){return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("vipBaseSetting"===e.groupCode&&e.composeChanged,"identifiPush"!==e.groupCode){t.next=5;break}if(!e.$refs.addressCmp||!e.$refs.addressCmp.length){t.next=5;break}return t.next=5,e.$refs.addressCmp[0].check();case 5:e.$refs.ruleForm.validate(function(t){if(t){e.submitLoading=!0;var n=e.fetchFinalForm(),a=[];for(var i in n)if(n.hasOwnProperty(i)){var o=n[i];a=a.concat(o)}n={paramList:a},(e.ifVip?d:r.a).save(n).then(function(t){e.submitLoading=!0,e.composeChanged=!1,e.$message.success("保存成功"),e.$emit("change")}).catch(function(t){e.submitLoading=!1,e.composeChanged=!1,e.$message.error(t.message)})}});case 6:case"end":return t.stop()}},t,e)}))()}}},B={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.ready?a("el-form",{ref:"ruleForm",attrs:{model:e.showForm,"label-position":"left"}},e._l(e.showForm,function(t,i){return a("el-card",{directives:[{name:"show",rawName:"v-show",value:e.showTravelOptions&&"extendConfig"==t.code||"extendConfig"!=t.code,expression:"(showTravelOptions&&current.code=='extendConfig')||current.code!='extendConfig'"}],key:i,staticClass:"dy-form-card",staticStyle:{"margin-bottom":"20px"},attrs:{shadow:"never"}},[a("div",{staticStyle:{"font-size":"16px","margin-bottom":"18px","padding-bottom":"18px","border-bottom":"1px solid #ececec"}},[e._v(e._s(t.name)+"\n ")]),e._v(" "),e.hideTip?e._e():a("info",{staticStyle:{"margin-bottom":"32px"},attrs:{text:t.remark}}),e._v(" "),e._l(t.children,function(t,o){return a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:e.checkShowItem(t),expression:"checkShowItem(item)"}],key:o,attrs:{"show-message":"address"!==t.keyData,prop:"["+i+"][children]["+o+"].valueData",rules:e.fetchRules(t),"label-width":(t.hideLabel?0:e.labelWidth)+"px",label:t.hideLabel?"":t.name}},[a("div",{staticClass:"w-max-465 dy-flex"},["isOpenEncrypt"===t.keyData?a("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},on:{change:e.handleKSChange},model:{value:e.showForm[i].children[o].valueData,callback:function(t){e.$set(e.showForm[i].children[o],"valueData",t)},expression:"showForm[idx]['children'][index].valueData"}}):"emailAgreement"===t.keyData?[a("el-radio",{attrs:{label:"smtp"},model:{value:e.showForm[i].children[o].valueData,callback:function(t){e.$set(e.showForm[i].children[o],"valueData",t)},expression:"showForm[idx]['children'][index].valueData"}},[e._v("SMTP")])]:"encryptType"===t.keyData?[a("span",{directives:[{name:"show",rawName:"v-show",value:e.showKS,expression:"showKS"}]},[a("el-radio",{attrs:{label:"1"},model:{value:e.showForm[i].children[o].valueData,callback:function(t){e.$set(e.showForm[i].children[o],"valueData",t)},expression:"showForm[idx]['children'][index].valueData"}},[e._v("SM4")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:e.showForm[i].children[o].valueData,callback:function(t){e.$set(e.showForm[i].children[o],"valueData",t)},expression:"showForm[idx]['children'][index].valueData"}},[e._v("AES")]),e._v(" "),a("el-radio",{attrs:{label:"3"},model:{value:e.showForm[i].children[o].valueData,callback:function(t){e.$set(e.showForm[i].children[o],"valueData",t)},expression:"showForm[idx]['children'][index].valueData"}},[e._v("DES")])],1)]:"recogMode"===t.keyData?[a("div",{staticClass:"flex1"},[a("el-radio",{attrs:{label:"1"},model:{value:e.showForm[i].children[o].valueData,callback:function(t){e.$set(e.showForm[i].children[o],"valueData",t)},expression:"showForm[idx]['children'][index].valueData"}},[e._v("快速模式")]),e._v(" "),a("el-radio",{attrs:{label:"2"},model:{value:e.showForm[i].children[o].valueData,callback:function(t){e.$set(e.showForm[i].children[o],"valueData",t)},expression:"showForm[idx]['children'][index].valueData"}},[e._v("扫描模式")])],1)]:"recogStrategy"===t.keyData?[a("div",{staticClass:"flex1"},[a("el-radio-group",{on:{change:function(t){return e.refresh(t,"travel")}},model:{value:e.showForm[i].children[o].valueData,callback:function(t){e.$set(e.showForm[i].children[o],"valueData",t)},expression:"showForm[idx]['children'][index].valueData"}},[a("el-radio",{attrs:{label:"1"}},[e._v("网点")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("网点漫游")])],1)],1)]:"groupStrategy"===t.keyData?[a("div",{staticClass:"flex1"},[a("el-radio-group",{on:{change:function(t){return e.refresh(t,"compose")}},model:{value:e.showForm[i].children[o].valueData,callback:function(t){e.$set(e.showForm[i].children[o],"valueData",t)},expression:"showForm[idx]['children'][index].valueData"}},[a("el-radio",{attrs:{label:"1"}},[e._v("单库")]),e._v(" "),a("el-radio",{attrs:{label:"2"}},[e._v("分库")])],1)],1)]:["emailAuth","stranger"].includes(t.keyData)?a("div",{class:{flex1:"stranger"===t.keyData}},[a("el-switch",{attrs:{"active-value":"1","inactive-value":"2"},model:{value:e.showForm[i].children[o].valueData,callback:function(t){e.$set(e.showForm[i].children[o],"valueData",t)},expression:"showForm[idx]['children'][index].valueData"}})],1):"recogThreshold"===t.keyData?a("slider",{staticStyle:{width:"100%"},model:{value:e.showForm[i].children[o].valueData,callback:function(t){e.$set(e.showForm[i].children[o],"valueData",e._n(t))},expression:"showForm[idx]['children'][index].valueData"}}):"compose"===t.keyData?a("groupStrategy",{staticClass:"flex1",model:{value:e.showForm[i].children[o].valueData,callback:function(t){e.$set(e.showForm[i].children[o],"valueData",t)},expression:"showForm[idx]['children'][index].valueData"}}):"extendStrategy"===t.keyData?a("travel",{model:{value:e.showForm[i].children[o].valueData,callback:function(t){e.$set(e.showForm[i].children[o],"valueData",t)},expression:"showForm[idx]['children'][index].valueData"}}):"address"===t.keyData?a("re-address",{ref:"addressCmp",refInFor:!0,model:{value:e.showForm[i].children[o].valueData,callback:function(t){e.$set(e.showForm[i].children[o],"valueData",t)},expression:"showForm[idx]['children'][index].valueData"}}):"aiServiceVersion"===t.keyData?a("ai-service",{model:{value:e.showForm[i].children[o].valueData,callback:function(t){e.$set(e.showForm[i].children[o],"valueData",t)},expression:"showForm[idx]['children'][index].valueData"}}):[e.checkIfPwdType(t)&&!t.showPwd?a("span",[e._v("******")]):a("el-input",{ref:"dyNamicForm",refInFor:!0,staticStyle:{"max-width":"465px"},attrs:{type:1===t.formType?"text":"textarea"},model:{value:e.showForm[i].children[o].valueData,callback:function(t){e.$set(e.showForm[i].children[o],"valueData","string"==typeof t?t.trim():t)},expression:"showForm[idx]['children'][index].valueData"}})],e._v(" "),t.hideTip?e._e():a("el-popover",{attrs:{placement:"right","popper-class":"md-popper",trigger:"hover"}},[a("div",{domProps:{innerHTML:e._s(t.remark)}}),e._v(" "),a("img",{staticStyle:{"margin-left":"10px",position:"relative",top:"4px"},attrs:{slot:"reference",src:n("Srmx"),alt:""},slot:"reference"})]),e._v(" "),"groupStrategy"===t.keyData?[a("el-button",{staticStyle:{color:"#cd061b",position:"absolute",right:"-162px"},attrs:{type:"text",size:"small"}},[e._v("\n 暂不支持动态修改分库策略")])]:e._e(),e._v(" "),e.checkIfPwdType(t)?[a("span",{staticStyle:{display:"inline-block","margin-left":"10px"}},[t.showPwd?a("el-button",{staticStyle:{color:"#cd061b"},attrs:{type:"text",size:"small"},on:{click:function(n){return e.hideItem(t)}}},[e._v("隐藏")]):a("el-button",{staticStyle:{color:"#cd061b"},attrs:{type:"text",size:"small"},on:{click:function(n){return e.toggleItem(t)}}},[e._v("显示")])],1)]:e._e()],2)])})],2)}),1):e._e(),e._v(" "),e.hideOption?e._e():a("fixed-bottom",[e.saveButtonNoAuth?[a("el-button",{attrs:{type:"primary"},on:{click:e.submit}},[e._v("确定")]),e._v(" "),e.hideResetButton?e._e():a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:[e.$auth.vipResetConfig],expression:"[$auth.vipResetConfig]"}],on:{click:e.handleReset}},[e._v("还原")])]:[a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:[e.$auth.configSave],expression:"[$auth.configSave]"}],attrs:{type:"primary"},on:{click:e.submit}},[e._v("确定")]),e._v(" "),e.hideResetButton?e._e():a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:[e.$auth.configReset],expression:"[$auth.configReset]"}],on:{click:e.handleReset}},[e._v("还原")])]],2),e._v(" "),a("m-check",{attrs:{show:e.showCheck,"seach-mode":e.searchMode,"seach-obj":e.currentCheckObj},on:{"update:show":function(t){e.showCheck=t},success:e.checkSuccess}})],1)},staticRenderFns:[]};var j=n("VU/8")(V,B,!1,function(e){n("b92q")},"data-v-13841860",null);t.a=j.exports},d6z0:function(e,t,n){var a=n("Pd57");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);n("rjj0")("e46ad28a",a,!0)},"q+sD":function(e,t,n){(e.exports=n("FZ+f")(!1)).push([e.i,'\n.service-compose[data-v-000431b8] {\n line-height: 24px;\n display: inline-block;\n vertical-align: top;\n}\n.service-compose .point[data-v-000431b8] {\n width: 6px;\n height: 6px;\n display: inline-block;\n border-radius: 50%;\n vertical-align: middle;\n margin-right: 5px;\n}\n.service-compose .title[data-v-000431b8] {\n padding-left: 24px;\n font-weight: bold;\n position: relative;\n height: 40px;\n line-height: 40px;\n}\n.service-compose .title[data-v-000431b8]:before {\n content: "";\n width: 4px;\n height: 18px;\n background: #3399ff;\n position: absolute;\n top: 10px;\n left: 0;\n}\n.service-compose .link[data-v-000431b8] {\n color: #3399ff;\n text-decoration: underline;\n cursor: pointer;\n display: inline-block;\n}\n.service-compose .current-wrp .top[data-v-000431b8] {\n width: 330px;\n height: 126px;\n position: relative;\n}\n.service-compose .current-wrp .top img[data-v-000431b8] {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n -moz-transform: translate(-50%, -50%);\n -o-transform: translate(-50%, -50%);\n}\n.service-compose .current-wrp .ct[data-v-000431b8] {\n padding: 24px;\n border: 1px solid #e4e6e9;\n}\n.service-compose .current-wrp .ct > p > span[data-v-000431b8] {\n width: 90px;\n text-align: left;\n display: inline-block;\n}\n.add-box[data-v-000431b8] {\n width: 330px;\n height: 304px;\n border: 1px dashed #3399ff;\n position: relative;\n}\n.add-box .btns[data-v-000431b8] {\n cursor: pointer;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n -moz-transform: translate(-50%, -50%);\n -o-transform: translate(-50%, -50%);\n color: #3399ff;\n margin-top: -10px;\n text-align: center;\n}\n',""])},t3Vh:function(e,t,n){(e.exports=n("FZ+f")(!1)).push([e.i,"\n.small_btn[data-v-5a39d68a] {\n -webkit-transform: scale(0.8);\n transform: scale(0.8);\n}\n",""])}});