bi/views/dist/static/js/chunk-44b49fce.ae886591.js
2025-05-22 16:27:39 +08:00

1 line
2.3 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-44b49fce"],{c3b4:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticStyle:{"line-height":"18px","font-weight":"bolder","font-size":"13px",padding:"10px 16px 10px"}},[t._v("\n 全局筛选用户分群\n ")]),t._v(" "),n("div",{staticStyle:{padding:"10px"}},[n("el-select",{attrs:{multiple:"","reserve-keyword":"","collapse-tags":"",placeholder:"筛选用户分群",clearable:"",filterable:"",size:"mini"},on:{change:t.onchange},model:{value:t.selectVal,callback:function(e){t.selectVal=e},expression:"selectVal"}},t._l(t.opt,(function(t,e,r){return n("el-option",{key:r,attrs:{label:t.group_name,value:t.id}})})),1)],1)])},a=[],u=n("c80c"),c=(n("96cf"),n("3b8d")),o=n("fa8d"),i={name:"Index",props:{value:{type:Array,default:[]}},data:function(){return{selectVal:this.value,opt:[]}},mounted:function(){this.init()},methods:{onchange:function(){this.$emit("input",this.selectVal)},init:function(){var t=Object(c["a"])(Object(u["a"])().mark((function t(){var e,n;return Object(u["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.opt=[],e={appid:this.$store.state.baseData.EsConnectID},t.next=4,Object(o["e"])(e);case 4:if(n=t.sent,0==n.code){t.next=8;break}return this.$message({offset:60,type:"error",message:n.msg}),t.abrupt("return");case 8:null==n.data&&(n.data=[]),this.opt=n.data;case 10:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},s=i,l=n("2877"),p=Object(l["a"])(s,r,a,!1,null,"8f1026ca",null);e["default"]=p.exports},fa8d:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"c",(function(){return c})),n.d(e,"b",(function(){return o})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return s}));var r=n("b775"),a="/api/user_group/";function u(t){return Object(r["a"])({url:a+"AddUserGroup",method:"post",data:t})}function c(t){return Object(r["a"])({url:a+"ModifyUserGroup",method:"post",data:t})}function o(t){return Object(r["a"])({url:a+"DeleteUserGroup",method:"post",data:t})}function i(t){return Object(r["a"])({url:a+"UserGroupList",method:"post",data:t})}function s(t){return Object(r["a"])({url:a+"UserGroupSelect",method:"post",data:t})}}}]);