{"version":3,"sources":["webpack:///./src/assets/imgs/rake-set.png","webpack:///./src/webapp/system-set/dept-set/index.vue?00a3","webpack:///./src/webapp/system-set/dept-set/index-dialog.vue?0429","webpack:///./src/webapp/system-set/dept-set/index.vue?ec73","webpack:///./src/webapp/system-set/dept-set/apis.js","webpack:///./src/webapp/system-set/dept-set/index-dialog.vue?e3c1","webpack:///src/webapp/system-set/dept-set/index-dialog.vue","webpack:///./src/webapp/system-set/dept-set/index-dialog.vue?1f38","webpack:///./src/webapp/system-set/dept-set/index-dialog.vue","webpack:///src/webapp/system-set/dept-set/index.vue","webpack:///./src/webapp/system-set/dept-set/index.vue?0cf0","webpack:///./src/webapp/system-set/dept-set/index.vue","webpack:///./src/apis/regExp.js","webpack:///./src/apis/index.js"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","directives","name","rawName","staticClass","_m","_v","attrs","on","goSetting","_b","ref","search","table","dialogVisible","$event","clearValidate","rules","formInline","model","value","callback","$$v","$set","expression","_l","point","key","label","choosedData","includes","type","scopedSlots","_u","fn","proxy","Q","M","N","level","n","_s","_f","money","Math","pow","proportion","slot","_e","cancel","sureSubmit","closemodal","staticRenderFns","Api","constructor","super","userInfo","window","global","$tools","auth","getCurrentUserInfo","mpsCustomerId","sessionStorage","getItem","JSON","parse","partnerId","path","apiMps","getRakeList","params","cb","err","$http","get","then","res","error","addRake","post","data","putRake","id","put","getRake","delete","deleteRake","closeDailog","mounted","methods","$emit","component","components","IndexModal","filters","filterMoneyFuc","val","h","showModal","pointList","required","message","trigger","unit","position","placeholder","maxlength","max","min","polishing","allowMinus","page","total","btns","click","bind","disabled","icon","cols","prop","fuc","row","gmt_create","Moment","format","canEdit","e","editRake","canDelete","computed","map","item","$apis","Server","init","$refs","validate","valid","modified_id","employeeId","modified_name","employeeName","$message","success","created_id","created_name","$nextTick","done","length","$confirm","confirmButtonText","cancelButtonText","catch","stringify","open","email","apiCrmOS","apiCrmUs","http","axios","allError","warning","isadd","response","headers","resData","msg","errors","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,EAAOyC,aAAaJ,EAAEhJ,WAFxBgJ,EAAEhJ,GAMf,OAAOgJ,GAAKD,EAGd,iBAAkBA,GAChB,MAAMC,EAAIK,OAAOC,OAAO,GAAIP,GAC5B,IAAK,MAAM/I,KAAOgJ,EACXA,EAAEhJ,IAAmB,IAAXgJ,EAAEhJ,WACRgJ,EAAEhJ,GAGb,OAAOgJ,EAET,iBAAkBD,GAChB,MAAMC,EAAIK,OAAOC,OAAO,GAAIP,GAC5B,IAAK,MAAM/I,KAAOgJ,EACXA,EAAEhJ,IAAmB,IAAXgJ,EAAEhJ,IAEc,kBAAZgJ,EAAEhJ,IAAsBgJ,EAAEhJ,aAAgBuJ,UAC3DP,EAAEhJ,GAAOgJ,EAAEhJ,GAAKwJ,eAFTR,EAAEhJ,GAKb,OAAOgJ,EAGT,cAAe5I,GACb,OAAOqJ,EAAOrJ,GAGhB,gBAAiBsJ,EAAMjB,GACfA,GAAYA,EAASC,SAAWD,EAASC,QAAQ,kBAA0D,YAAtCD,EAASC,QAAQ,iBAOhFD,EAASC,SACnBgB,EAAKtC,SAASqB,GAAYA,EAASkB,OAPnCD,EAAKtC,SAAS,CACZhH,KAAM,QACNuE,QAAU8D,GAAYA,EAASnF,OAASmF,EAASnF,KAAKsF,KAAOH,EAASnF,KAAKqB,SAAY8D,EAASnF,KAAKuF,QAAUJ,EAASnF,KAAKuF,OAAOrC,KAAI,SAAUC,GAChJ,OAAOA,EAAK9B,WACXmE,KAAK,OAAW,gBAQ3BnC,EAAOlE,KAAOA,EACCkE","file":"js/dept-set.d40222d7.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/rake-set.8209281d.png\";","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=070f8725&prod&lang=less&scoped=true\"","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index-dialog.vue?vue&type=style&index=0&id=39079924&prod&lang=less&scoped=true\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"judgeRight\",rawName:\"v-judgeRight\"}],staticClass:\"rake-setting\"},[_c('div',{staticClass:\"rake-tips\"},[_vm._m(0),_c('div',{staticClass:\"rake-tips-right\"},[_c('p',[_vm._v(\" 设置分佣规则,激励企业成员传播,达成营销目标,通过社交裂变提升销售转化; \")]),_c('p',[_vm._v(\" 满足规则条件实现佣金到账,通过绑定「微信公众号」,配置「微信支付」来实现佣金提现;\"),_c('el-button',{attrs:{\"type\":\"text\"},on:{\"click\":_vm.goSetting}},[_vm._v(\"开启提现功能\")])],1),_c('p',[_vm._v(\" 配置完佣金规则,可以给文章内容、产品内容、小蜜蜂H5使用,简单开启,高效裂变,快捷返佣。 \")])])]),_c('jw-table',_vm._b({ref:\"table\",on:{\"search\":_vm.search}},'jw-table',_vm.table,false)),_c('el-dialog',{attrs:{\"title\":\"添加分佣规则\",\"visible\":_vm.dialogVisible,\"width\":\"700px\"},on:{\"update:visible\":function($event){_vm.dialogVisible=$event},\"open\":_vm.clearValidate}},[_c('el-form',{ref:\"formInline\",staticClass:\"demo-form-inline\",attrs:{\"rules\":_vm.rules,\"model\":_vm.formInline,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"分佣节点\",\"prop\":\"point\"}},[_c('el-select',{attrs:{\"placeholder\":\"分佣节点\"},model:{value:(_vm.formInline.point),callback:function ($$v) {_vm.$set(_vm.formInline, \"point\", $$v)},expression:\"formInline.point\"}},_vm._l((_vm.pointList),function(point){return _c('el-option',{key:point.label,attrs:{\"disabled\":_vm.choosedData.includes(point.value),\"label\":point.label,\"value\":point.value}})}),1)],1),_c('el-form-item',{attrs:{\"label\":\"分佣方式\",\"prop\":\"type\"}},[_c('el-select',{attrs:{\"placeholder\":\"分佣方式\"},model:{value:(_vm.formInline.type),callback:function ($$v) {_vm.$set(_vm.formInline, \"type\", $$v)},expression:\"formInline.type\"}},[_c('el-option',{attrs:{\"label\":\"按比例分佣\",\"value\":1}}),_c('el-option',{attrs:{\"label\":\"按定额分佣\",\"value\":2}})],1)],1),(+_vm.formInline.type === 1)?[_c('el-form-item',{attrs:{\"label\":\"分佣规则公式\"}},[_c('p',[_vm._v(\" 佣金 = 分佣金额Q *( 1- 佣金比例M )^ 分佣层级N-1 * 分佣比例M \"),_c('el-tooltip',{attrs:{\"placement\":\"top\",\"effect\":\"light\"},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('p',{staticClass:\"pd-6\"},[_c('strong',[_vm._v(\"分佣金额:\")]),_vm._v(\"为单次可分佣的奖金数额;\")]),_c('p',{staticClass:\"pd-6\"},[_c('strong',[_vm._v(\"佣金比例:\")]),_vm._v(\"为每层级均可获得的剩余金额比例(剩余金额=分佣金额-已分配的佣金);\")]),_c('p',{staticClass:\"pd-6\"},[_c('strong',[_vm._v(\"分佣层级:\")]),_vm._v(\"为设定的可获得佣金的层级范围,从订单直接关系人开始计算,并向上数的上级层数;\")])]},proxy:true}])},[_c('i',{staticClass:\"el-icon-question\"})])],1)]),_c('el-form-item',{attrs:{\"label\":\"公式变量\",\"prop\":\"money\"}},[_c('span',{staticClass:\"inner-label\"},[_vm._v(\"分佣金额 Q\")]),_c('jw-number',_vm._b({ref:\"Q\",model:{value:(_vm.formInline.money),callback:function ($$v) {_vm.$set(_vm.formInline, \"money\", $$v)},expression:\"formInline.money\"}},'jw-number',_vm.Q,false))],1),_c('el-form-item',{attrs:{\"label\":\"\",\"prop\":\"proportion\"}},[_c('span',{staticClass:\"inner-label\"},[_vm._v(\"佣金比例 M\")]),_c('jw-number',_vm._b({ref:\"M\",model:{value:(_vm.formInline.proportion),callback:function ($$v) {_vm.$set(_vm.formInline, \"proportion\", $$v)},expression:\"formInline.proportion\"}},'jw-number',_vm.M,false))],1),_c('el-form-item',{attrs:{\"label\":\"\",\"prop\":\"level\"}},[_c('span',{staticClass:\"inner-label\"},[_vm._v(\"分佣层级 N\")]),_c('jw-number',_vm._b({ref:\"N\",model:{value:(_vm.formInline.level),callback:function ($$v) {_vm.$set(_vm.formInline, \"level\", $$v)},expression:\"formInline.level\"}},'jw-number',_vm.N,false))],1),_c('el-form-item',{attrs:{\"label\":\"\"}},[_c('el-popover',{attrs:{\"trigger\":\"click\",\"placement\":\"top\",\"effect\":\"light\"}},[_vm._l((+_vm.formInline.level),function(n){return _c('p',{key:n,staticClass:\"pd-6\"},[_c('strong',[_vm._v(\"第\"+_vm._s(n)+\"级:\")]),_vm._v(\"分佣金额 \"+_vm._s(_vm._f(\"filterMoneyFuc\")(_vm.formInline.money * Math.pow((1- _vm.formInline.proportion/100),(n-1)) * ( _vm.formInline.proportion/100 )))+\" 元;\")])}),_c('el-button',{attrs:{\"slot\":\"reference\",\"disabled\":!_vm.formInline.money||!_vm.formInline.proportion||!_vm.formInline.level,\"type\":\"text\"},slot:\"reference\"},[_vm._v(\"计算各级佣金金额\")])],2)],1)]:_vm._e(),(+_vm.formInline.type === 2)?[_c('el-form-item',{attrs:{\"label\":\"分佣金额\",\"prop\":\"money\"}},[_c('jw-number',_vm._b({ref:\"Q\",model:{value:(_vm.formInline.money),callback:function ($$v) {_vm.$set(_vm.formInline, \"money\", $$v)},expression:\"formInline.money\"}},'jw-number',_vm.Q,false)),_vm._v(\" /人 \")],1)]:_vm._e()],2),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.cancel}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.sureSubmit}},[_vm._v(\"确 定\")])],1)],1),(_vm.showModal)?_c('index-modal',{on:{\"closemodal\":_vm.closemodal}}):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"rake-tips-left\"},[_c('img',{attrs:{\"src\":require(\"@/assets/imgs/rake-set.png\"),\"alt\":\"\",\"srcset\":\"\"}})])}]\n\nexport { render, staticRenderFns }","import Api from '@/apis/index.js'\nexport default class extends Api {\n constructor () {\n super()\n this.userInfo = window.global.$tools.auth.getCurrentUserInfo()\n const mpsCustomerId = window.sessionStorage.getItem('mps_customer_orang') && JSON.parse(window.sessionStorage.getItem('mps_customer_orang')).partnerId\n this.path = `${Api.path.apiMps}${mpsCustomerId ? `/agent/${this.userInfo.partnerId}` : ''}/partner/${mpsCustomerId || this.userInfo.partnerId}`\n }\n // 579 查询设置列表\n getRakeList (params, cb, err) {\n this.$http.get(`${this.path}/commission`, { params }).then(res => {\n cb(res)\n }, this.error(err))\n }\n // 580 新增返佣\n addRake (params, cb, err) {\n this.$http.post(`${this.path}/commission`, params).then(res => {\n cb(res.data)\n }, this.error(err))\n }\n // 582 编辑返佣\n putRake (id, params, cb, err) {\n this.$http.put(`${this.path}/commission/${id}`, params).then(res => {\n cb(res.data)\n }, this.error(err))\n }\n // 581 查询返佣设置\n getRake (id, cb, err) {\n this.$http.delete(`${this.path}/commission/${id}`).then(res => {\n cb(res)\n }, this.error(err))\n }\n // 583 删除返佣\n deleteRake (id, cb, err) {\n this.$http.delete(`${this.path}/commission/${id}`).then(res => {\n cb(res)\n }, this.error(err))\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"rake-dailog\"},[_c('img',{staticClass:\"rake-dailog-img\",attrs:{\"src\":\"https://xmf-bos.jwyun.net/hnjing-xmf/d704419ae8075351ec66a23670903068.png\",\"alt\":\"\",\"srcset\":\"\"}}),_c('h2',{staticClass:\"rake-dailog-tips\"},[_vm._v(\"通过佣金模式, 激励团队成员, 达到裂变目标\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.closeDailog}},[_vm._v(\"开启分拥\")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index-dialog.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index-dialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./index-dialog.vue?vue&type=template&id=39079924&scoped=true\"\nimport script from \"./index-dialog.vue?vue&type=script&lang=js\"\nexport * from \"./index-dialog.vue?vue&type=script&lang=js\"\nimport style0 from \"./index-dialog.vue?vue&type=style&index=0&id=39079924&prod&lang=less&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"39079924\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=070f8725&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=070f8725&prod&lang=less&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"070f8725\",\n null\n \n)\n\nexport default component.exports","export default {\n email: /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/\n}\n","import regExp from './regExp'\nimport axios from 'axios'\nconst path = {\n apiMps: '/saas-ability-mps/v1',\n apiCrmOS: '/paas-ability-os/v1/',\n apiCrmUs: '/paas-ability-us/v1/'\n}\n\nclass Server {\n constructor (http = axios, allError = window.global.$message.warning) {\n this.$http = http\n this.error = function (err, isadd, cb) {\n return function (res) {\n const { response } = res\n if (!(response && response.headers && response.headers['x-response-by'] && response.headers['x-response-by'] === 'gateway')) {\n if (err) {\n err(res.data)\n }\n if (isadd || !err) {\n const resData = res.response.data\n const msg = resData.errors && resData.errors.map(function (item) {\n return item.message || item.msg\n }).join(',')\n allError(msg || resData.message || resData.msg || '系统异常,请稍后再试!')\n }\n }\n cb && cb()\n }\n }\n }\n // 提供方法清空所有为空的字段\n static clearAllNull (obj) {\n let o\n if (obj instanceof Array) {\n o = []\n obj.forEach(function (item) {\n o.push(Server.clearAllNull(item))\n })\n } else if (obj instanceof Object) {\n o = Object.assign({}, obj)\n for (const key in o) {\n if (!o[key] && o[key] !== 0) {\n delete o[key]\n } else {\n o[key] = Server.clearAllNull(o[key])\n }\n }\n }\n return o || obj\n }\n // 提供方法清空一层为空的obj字段\n static clearNull (obj) {\n const o = Object.assign({}, obj)\n for (const key in o) {\n if (!o[key] && o[key] !== 0) {\n delete o[key]\n }\n }\n return o\n }\n static clearTrim (obj) {\n const o = Object.assign({}, obj)\n for (const key in o) {\n if (!o[key] && o[key] !== 0) {\n delete o[key]\n } else if (typeof (o[key]) === 'string' || o[key] instanceof String) {\n o[key] = o[key].trim()\n }\n }\n return o\n }\n // 验证集合\n static regExp (type) {\n return regExp[type]\n }\n\n static $message (self, response) {\n if (!(response && response.headers && response.headers['x-response-by'] && response.headers['x-response-by'] === 'gateway')) {\n self.$message({\n type: 'error',\n message: (response && response.data && (response.data.msg || response.data.message || (response.data.errors && response.data.errors.map(function (item) {\n return item.message\n }).join(',')))) || '网络异常,请稍后再试'\n })\n } else if (!response.headers) {\n self.$message(response && response.stack)\n }\n }\n}\n\nServer.path = path\nexport default Server\n"],"sourceRoot":""}