Files
starRiverProperty/frontend-source/decompiled/cwos-portal/static/js/32.064e052799b701fe60cd.js
T
反编译工作区 4f79e10bd6 chore: cleanup stray nested directories in frontend-source
Former-commit-id: 376f94edd602d3dfed1cbada6e08361ee7b08e73
2026-04-29 13:07:40 +08:00

1 line
7.1 KiB
JavaScript

webpackJsonp([32],{"4NmY":function(t,e,a){"use strict";e.a=function(t){return t.data&&t.data.datas?{data:t.data.datas,total:t.data.totalRows}:{data:[],total:0}}},Jt8d:function(t,e,a){"use strict";var n=a("Xxa5"),r=a.n(n),o=a("exGp"),i=a.n(o),u=a("imqz"),c=a("6a9s"),s={parentGroupCode:"vipBaseSetting"},l=a("4NmY"),p="/vipModule";e.a={check:function(){return u.a.post(p+"/vip/setting/groupQuery",s).then(function(t){var e=!0;try{var a=t.data;e="2"==(a=a.filter(function(t){return"recogStrategy"===t.keyData}))[0].valueData}catch(t){e=!1}return e})},checkRule:function(){var t=this;return i()(r.a.mark(function e(){var a,n,o,i,u,s;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,c.a.post(p+"/vip/import/rule/add/rate",{});case 3:return a=t.sent,n=a.data,o=n.jobRunning,i=n.totalNum,u=n.finishedNum,s=i?(100*u/i).toFixed(0):0,t.abrupt("return",{success:!o,data:s});case 9:return t.prev=9,t.t0=t.catch(0),t.abrupt("return",{success:!1,data:0});case 12:case"end":return t.stop()}},e,t,[[0,9]])}))()},search:function(t){return u.a.post(p+"/vip/import/rule/page",t).then(function(t){return Object(l.a)(t)})},add:function(t){return u.a.post(p+"/vip/import/rule/add",t)},delete:function(t){return u.a.post(p+"/vip/import/rule/delete",{id:t})},deleteByIds:function(t){return u.a.post(p+"/vip/import/rule/delete/batch",{id:t})},bathById:function(t){return u.a.post(p+"/vip/import/rule/execute",{id:t})},batch:function(){return u.a.post(p+"/vip/import/rule/execute/batch",{})}}},PE2J:function(t,e,a){(t.exports=a("FZ+f")(!1)).push([t.i,"\n.left[data-v-76380d3c] {\n display: inline-block;\n margin-right: 20px;\n position: absolute;\n right: 110px;\n}\n",""])},Pzze:function(t,e,a){var n=a("PE2J");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);a("rjj0")("760965f2",n,!0)},djgd:function(t,e,a){"use strict";var n=a("imqz"),r=a("4NmY"),o="/vipModule";e.a={search:function(t){return n.a.post(o+"/vip/setting/roam/page",t).then(function(t){return Object(r.a)(t)})},add:function(t){return n.a.post(o+"/vip/setting/roam/add",t)},delete:function(t){return n.a.post(o+"/vip/setting/roam/delete",{id:t})},deleteByIds:function(t){return n.a.post(o+"/vip/import/rule/delete/batch",{id:t})},bathById:function(t){return n.a.post(o+"/vip/import/rule/execute",{id:t})},batch:function(){return n.a.post(o+"/vip/import/rule/execute/batch",{})}}},q3g6:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Xxa5"),r=a.n(n),o=a("exGp"),i=a.n(o),u=a("vMX1"),c=a("djgd"),s=a("Jt8d"),l=a("x1DN"),p={data:function(){return{showDialoag:!1,total:0,tableData:[],tableLoading:!1,personTypes:[],vipLevels:[],searchForm:{name:null,orgId:"",personType:null,vipLevel:null,rowsOfPage:10,currentPage:1},showImport:!1,selected:[],effective:!0}},created:function(){this.fetchData()},filters:{roamType:function(t){return{1:"机构层级",2:"省市区(地区)",3:"具体机构"}[t]||""}},methods:{init:function(){var t=this;return i()(r.a.mark(function e(){return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.check();case 2:t.effective=e.sent;case 3:case"end":return e.stop()}},e,t)}))()},selectChange:function(t){this.selected=t.map(function(t){return t.id})},fetchData:function(){var t=this;this.tableLoading=!0,c.a.search(this.searchForm).then(function(e){setTimeout(function(){t.tableData=e.data,t.total=e.total,t.tableLoading=!1},500)}).catch(function(e){t.tableLoading=!1})},remove:function(t){var e=this;this.$confirm("删除此漫游策略将会影响识别结果,确认是否删除?","确认删除",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$set(t,"loading",!0),c.a.delete(t.id).then(function(a){e.$set(t,"loading",!1),e.fetchData()}).catch(function(a){e.$set(t,"loading",!1),e.fetchData()})}).catch(function(){})},goDataBase:function(t){this.$router.push({name:"VipDatabase",query:{id:t.id}})},handleReset:function(){this.$refs.queryForm.resetFields(),this.fetchData()},handleQuery:function(){this.searchForm.currentPage=1,this.fetchData()}},components:{searchPage:u.a,cascader:l.a,addRule:function(){return a.e(246).then(a.bind(null,"mvpM"))}}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container"},[a("el-card",{attrs:{shadow:"hover"}},[a("search-page",{attrs:{rowsOfPage:t.searchForm.rowsOfPage,pageNum:t.searchForm.currentPage,total:t.total},on:{"update:rowsOfPage":function(e){return t.$set(t.searchForm,"rowsOfPage",e)},"update:rows-of-page":function(e){return t.$set(t.searchForm,"rowsOfPage",e)},"update:pageNum":function(e){return t.$set(t.searchForm,"currentPage",e)},"update:page-num":function(e){return t.$set(t.searchForm,"currentPage",e)},change:t.fetchData}},[a("el-form",{ref:"queryForm",attrs:{inline:!0,"label-width":"82px",model:t.searchForm},nativeOn:{submit:function(t){t.preventDefault()}}},[a("el-form-item",{attrs:{label:"漫游名称:","label-width":"82px",prop:"name"}},[a("el-input",{attrs:{maxlength:"32",placeholder:"请输入漫游名称(模糊查询)"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery(e)}},model:{value:t.searchForm.name,callback:function(e){t.$set(t.searchForm,"name","string"==typeof e?e.trim():e)},expression:"searchForm.name"}})],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"warning"},on:{click:t.handleQuery}},[t._v("查询")]),t._v(" "),a("el-button",{on:{click:t.handleReset}},[t._v("重置")]),t._v(" "),t.effective?a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.showDialoag=!0}}},[t._v("新建")]):t._e()],1)],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.tableLoading,expression:"tableLoading"}],staticClass:"table_expand",staticStyle:{"margin-top":"20px"},attrs:{data:t.tableData}},[a("el-table-column",{attrs:{prop:"name","show-overflow-tooltip":"",label:"漫游名称"}}),t._v(" "),a("el-table-column",{attrs:{prop:"roamer","show-overflow-tooltip":"",label:"漫游数据"}}),t._v(" "),a("el-table-column",{attrs:{prop:"type",label:"漫游方式"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("roamType")(e.row.type))+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"destinationName","show-overflow-tooltip":"",label:"漫游至"}}),t._v(" "),a("el-table-column",{attrs:{prop:"createTime",label:"创建时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t._f("datetime")(e.row.createTime))+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"status",width:"200",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{size:"middle",loading:e.row.loading,type:"text"},on:{click:function(a){return t.remove(e.row)}}},[t._v("删除")]),t._v(" "),a("el-button",{attrs:{size:"middle",type:"text"},on:{click:function(a){return t.goDataBase(e.row)}}},[t._v("分库列表")])]}}])})],1)],1)],1),t._v(" "),a("addRule",{attrs:{show:t.showDialoag},on:{"update:show":function(e){t.showDialoag=e},success:t.handleQuery}})],1)},staticRenderFns:[]};var f=a("VU/8")(p,d,!1,function(t){a("Pzze")},"data-v-76380d3c",null);e.default=f.exports}});