{"version":3,"sources":["webpack:///./src/webapp/channel_manage/index.vue?d127","webpack:///./src/components/utils.js","webpack:///./src/webapp/channel_manage/index.vue?b0fb","webpack:///./src/webapp/channel_manage/apis.js","webpack:///./src/webapp/channel_manage/index_add.vue?7433","webpack:///./src/webapp/channel_manage/index_add_editor.vue?9357","webpack:///src/webapp/channel_manage/index_add_editor.vue","webpack:///./src/webapp/channel_manage/index_add_editor.vue?9b39","webpack:///./src/webapp/channel_manage/index_add_editor.vue","webpack:///src/webapp/channel_manage/index_add.vue","webpack:///./src/webapp/channel_manage/index_add.vue?ada7","webpack:///./src/webapp/channel_manage/index_add.vue","webpack:///src/webapp/channel_manage/index.vue","webpack:///./src/webapp/channel_manage/index.vue?d7f6","webpack:///./src/webapp/channel_manage/index.vue","webpack:///./src/webapp/channel_manage/index_add.vue?fedc","webpack:///./src/apis/regExp.js","webpack:///./src/apis/index.js"],"names":["colorList","getDateData","type","base","peroid","date","oneDay","oneHour","i","ctime","nowCol","Date","push","getFullYear","getMonth","getDate","join","getHours","getEchartsLineXAxis","lineData","timeData","today","setHours","timeArr","reduce","nextLine","concat","data","sort","t1","t2","time","start","length","end","dateLength","Math","ceil","timePeroid","timeType","boundaryGap","axisLine","lineStyle","color","axisLabel","getEchartsLineSeries","xAxisData","dataType","eseries","eseriesDataArr","forEach","line","index","lineArr","map","d","value","showData","Array","fill","findIndex","x","name","smooth","sampling","itemStyle","normal","areaStyle","echarts","graphic","LinearGradient","offset","echartsLineDataParser","option","tooltip","trigger","axisPointer","label","backgroundColor","formatter","params","marker","seriesName","textStyle","align","legend","itemGap","grid","left","right","top","bottom","containLabel","xAxis","yAxis","min","position","splitLine","show","series","max","formaterTime","val","parseInt","Excel","getCharCol","n","s","m","String","fromCharCode","dataClean","heads","list","result","items","Object","keys","total","item","s2ab","buf","ArrayBuffer","view","Uint8Array","charCodeAt","downloadExl","header","json","downName","cols","merges","tmpdata","k","unshift","v","j","this","prev","next","border","style","font","alignment","horizontal","vertical","outputPos","tmpWB","SheetNames","Sheets","assign","wpx","Sheet1","tmpDown","Blob","XLSX","write","bookType","undefined","bookSST","href","window","URL","createObjectURL","outFile","document","createElement","download","click","setTimeout","revokeObjectURL","listtoTree","arr","id","pid","child","root","tree","key","pkey","obj","children","getFileMd5","file","spark","SparkMD5","append","lastModified","size","clientUpload","async","res","axios","get","client","CreateClient","BosFactory","endpoint","endPoint","accessKeyId","secretAccessKey","sessionToken","bosUrl","suffix","split","pop","config","bucketName","multi","dataPickerShortcuts","text","onClick","picker","Moment","hour","minute","second","$emit","subtract","render","_vm","_h","$createElement","_c","_self","staticClass","_b","ref","on","treeClick","mostClick","remove","nodeAdd","nodeEdit","table","attrs","$route","query","isadd","detailReturn","success","slot","_v","submit","staticRenderFns","userInfo","global","$tools","auth","getCurrentUserInfo","Api","getChannelManageList","cb","err","$http","path","apiMps","partnerId","then","error","getChannels","deleteCategory","delete","type_id","putModifyCategory","put","postAddCategory","post","getVefifyTree","postAddChannel","putModifyChannel","chennelid","getChannelDetail","channelid","getVerifyChannel","deleteChannel","channelId","putSortChannel","putSortCategory","form","content","uploadUrl","onSuccess","buttons","beforeUpload","ButtonClick","contentInput","ready","props","default","editor","autoHeightEnabled","initialFrameWidth","autoFloatEnabled","topOffset","title","command","watch","newval","mounted","Server","beforeDestroy","querySelector","removeEventListener","updateAutoFloat","methods","eidtorReady","response","richEditorFileType","raw","url","getUrl","html","addEventListener","UE","utils","cssRule","uploadFile","from","imagesType","audioType","videoType","checkImageSize","$message","checkAudioSize","checkVideoSize","indexOf","component","components","UeEditor","bind","labelWidth","rules","auto","channel_name","required","validator","rule","callback","$apis","channel_id","Error","detail","medium","valuation","provider","test","prop","tag","placeholder","h","store","e","$refs","$setValueField","autoWrap","beforeTextTip","accept","acceptName","read","textTip","action","imgs","hasName","isThird","getImage","fileList","body","customUrl","imgSize","listType","$nextTick","replace","adv_img","$axios","warning","init","$setValue","JSON","parse","$validate","valid","formData","$getValue","stringify","created_id","employeeId","created_name","employeeName","it","channel_order","modified_id","modified_name","getElementsByClassName","parentNode","scrollIntoView","AddChannel","nodeKey","parentKey","mutateData","editSync","rootAddSort","noParent","addTitle","node","status","mostTitle","options","search","add","level","canAdd","other","disabled","isdefault","parent","childNodes","customIcon","icon","hide","maxlength","autoHeight","btns","addModal","open","currentNode","width","minWidth","fuc","row","canModify","canMove","channelSort","canDelete","permission","tableData","$router","cbk","nochange","type_name","p_type_id","$confirm","confirmButtonText","cancelButtonText","typeId","parentId","r","filter","type_order","flag","currentIndex","target","previousSibling","nextSibling","targetSort","insertBefore","insertAfter","deletefile","email","apiCrmOS","apiCrmUs","constructor","http","allError","headers","resData","msg","errors","message","o","clearAllNull","trim","regExp","self","stack"],"mappings":"oKAAA,W,oCCAA,qUAIA,MAAMA,EAAY,CAAC,UAAW,UAAW,UAAW,WAUpD,SAASC,EAAaC,EAAMC,EAAMC,GAChC,MAAMC,EAAO,GACPC,EAAS,MACTC,EAAU,KAChB,GAAa,QAATL,EACF,IAAK,IAAIM,EAAI,EAAGA,EAAIJ,EAAQI,IAAK,CAC/B,MAAMC,EAAQN,EAAOK,EAAIF,EACnBI,EAAS,IAAIC,KAAKF,GACxBJ,EAAKO,KAAK,CAACF,EAAOG,cAAeH,EAAOI,WAAa,EAAGJ,EAAOK,WAAWC,KAAK,WAGjF,IAAK,IAAIR,EAAI,EAAGA,EAAa,GAATJ,EAAaI,IAAK,CACpC,MAAMC,EAAQN,EAAOK,EAAID,EACnBG,EAAS,IAAIC,KAAKF,GAGxBJ,EAAKO,KAAKF,EAAOO,WAAa,OAGlC,OAAOZ,EAGT,SAASa,EAAqBC,EAAUC,GACtC,IAAIf,EACJ,MAAMgB,GAAS,IAAIV,MAAK,IAAIA,MAAOW,SAAS,EAAG,EAAG,EAAG,IAC/ChB,EAAS,MAGTiB,EAAUJ,EAASK,OAAO,CAACJ,EAAUK,IAClCL,EAASM,OAAOD,EAASE,MAC/B,IACHJ,EAAQK,KAAK,CAACC,EAAIC,IACTD,EAAGE,KAA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iW,EAAIjW,OAAOkC,OAAO,GAAI8B,GACtB,IAAK,MAAMF,KAAOmS,EACXA,EAAEnS,IAAmB,IAAXmS,EAAEnS,GAGfmS,EAAEnS,GAAO0H,EAAO0K,aAAaD,EAAEnS,WAFxBmS,EAAEnS,GAMf,OAAOmS,GAAKjS,EAGd,iBAAkBA,GAChB,MAAMiS,EAAIjW,OAAOkC,OAAO,GAAI8B,GAC5B,IAAK,MAAMF,KAAOmS,EACXA,EAAEnS,IAAmB,IAAXmS,EAAEnS,WACRmS,EAAEnS,GAGb,OAAOmS,EAET,iBAAkBjS,GAChB,MAAMiS,EAAIjW,OAAOkC,OAAO,GAAI8B,GAC5B,IAAK,MAAMF,KAAOmS,EACXA,EAAEnS,IAAmB,IAAXmS,EAAEnS,IAEc,kBAAZmS,EAAEnS,IAAsBmS,EAAEnS,aAAgBrE,UAC3DwW,EAAEnS,GAAOmS,EAAEnS,GAAKqS,eAFTF,EAAEnS,GAKb,OAAOmS,EAGT,cAAend,GACb,OAAOsd,EAAOtd,GAGhB,gBAAiBud,EAAMtK,GACfA,GAAYA,EAAS6J,SAAW7J,EAAS6J,QAAQ,kBAA0D,YAAtC7J,EAAS6J,QAAQ,iBAOhF7J,EAAS6J,SACnBS,EAAKtJ,SAAShB,GAAYA,EAASuK,OAPnCD,EAAKtJ,SAAS,CACZjU,KAAM,QACNkd,QAAUjK,GAAYA,EAASxR,OAASwR,EAASxR,KAAKub,KAAO/J,EAASxR,KAAKyb,SAAYjK,EAASxR,KAAKwb,QAAUhK,EAASxR,KAAKwb,OAAO7Z,KAAI,SAAUiE,GAChJ,OAAOA,EAAK6V,WACXpc,KAAK,OAAW,gBAQ3B4R,EAAO7C,KAAOA,EACC6C","file":"js/channel_manage.a987261f.js","sourcesContent":["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=5063243f&prod&lang=less&scoped=true\"","// import _lodash from 'lodash'\n// const colorMap = new Map()\nimport echarts from 'echarts'\nimport SparkMD5 from 'spark-md5'\nconst colorList = ['#67C23A', '#E6A23C', '#F56C6C', '#409EFF']\n// import XLSX from 'xlsx-style'\nimport XLSX from 'xlsx'\n\nimport axios from 'axios'\n\nimport Moment from 'moment'\n\nimport { BosFactory, CreateClient } from '@jw/file-uploader'\n\nfunction getDateData (type, base, peroid) {\n const date = []\n const oneDay = 24 * 3600 * 1000\n const oneHour = 1000 * 3600\n if (type === 'day') {\n for (let i = 0; i < peroid; i++) {\n const ctime = base + i * oneDay\n const nowCol = new Date(ctime)\n date.push([nowCol.getFullYear(), nowCol.getMonth() + 1, nowCol.getDate()].join('/'))\n }\n } else {\n for (let i = 0; i < peroid * 24; i++) {\n const ctime = base + i * oneHour\n const nowCol = new Date(ctime)\n // date.push([nowCol.getFullYear(), nowCol.getMonth() + 1, nowCol.getDate()].join('/') +\n // ' ' + nowCol.getHours() + ':00')\n date.push(nowCol.getHours() + ':00')\n }\n }\n return date\n}\n\nfunction getEchartsLineXAxis (lineData, timeData) {\n var date\n const today = +new Date(new Date().setHours(0, 0, 0, 0))\n const oneDay = 24 * 3600 * 1000\n\n // 寻找时间跨度, (这个是根据后端接口返回的数据, 获取起始时间)\n const timeArr = lineData.reduce((timeData, nextLine) => {\n return timeData.concat(nextLine.data)\n }, [])\n timeArr.sort((t1, t2) => {\n return t1.time - t2.time\n })\n const start = timeArr.length ? timeArr[0].time : 0\n const end = timeArr.length ? timeArr[timeArr.length - 1].time + 1 : 0\n const dateLength = Math.ceil((end - start) / oneDay)\n\n // 构建固定的时间跨度 (这个是根据选择的日期, 获取固定宽度的时间, 例如 今天 + 小时 则时间是今天的0~23点数据)\n let peroid = 1\n let base\n switch (timeData.timePeroid) {\n case 0:\n base = today\n break\n case 1:\n base = today - oneDay\n break\n default:\n peroid = timeData.timePeroid\n base = today - (peroid - 1) * oneDay\n break\n }\n // timePeroid为-1代表选择了全部, 此时x轴数据取自 寻找时间跨度 否则取自 构建固定的时间跨度\n if (timeData.timePeroid === -1) {\n if (timeData.timeType === 'day') {\n date = getDateData(timeData.timeType, start, dateLength)\n } else {\n date = getDateData(timeData.timeType, start, dateLength)\n }\n } else if (timeData.timeType === 'day') {\n date = getDateData(timeData.timeType, base, peroid)\n } else {\n date = getDateData(timeData.timeType, base, peroid)\n }\n return {\n type: 'category',\n boundaryGap: false,\n data: date,\n axisLine: {\n lineStyle: {\n color: '#ebeef5'\n }\n },\n axisLabel: {\n color: '#606266'\n }\n }\n}\n\nfunction getEchartsLineSeries (lineData, timeData, xAxisData, dataType) {\n const eseries = []\n const eseriesDataArr = []\n lineData.forEach((line, index) => {\n const lineArr = line.data.map(d => {\n const nowCol = new Date(d.time)\n if (timeData.timeType === 'day') {\n return {\n time: [nowCol.getFullYear(), nowCol.getMonth() + 1, nowCol.getDate()].join('/'),\n value: d.value\n }\n } else {\n return {\n // time: [nowCol.getFullYear(), nowCol.getMonth() + 1, nowCol.getDate()].join('/') +\n // ' ' + nowCol.getHours() + ':00',\n // value: d.value\n time: nowCol.getHours() + ':00',\n value: d.value\n }\n }\n })\n\n const showData = new Array(xAxisData.data.length)\n\n showData.fill(0)\n lineArr.forEach(d => {\n const index = xAxisData.data.findIndex(x => {\n return x === d.time\n })\n if (index !== -1) {\n showData[index] = d.value\n }\n })\n\n eseriesDataArr.push(showData)\n eseries.push({\n name: line.name,\n type: 'line',\n smooth: true,\n // symbol: 'none',\n sampling: 'average',\n itemStyle: {\n normal: {\n }\n },\n areaStyle: {\n normal: {\n color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{\n offset: 0,\n // color: colorGradientStrStart\n color: colorList[index]\n }, {\n offset: 1,\n color: '#fff'\n }])\n }\n },\n data: showData\n })\n })\n\n // const AllData = _lodash.zip(...eseriesDataArr).map(pointArr => {\n // return pointArr.reduce((p1, p2) => {\n // return p1 + p2\n // }, 0)\n // })\n\n // 所有数据统计在一起的值\n // eseries.push({\n // name: '全部',\n // type: 'line',\n // smooth: true,\n // symbol: 'none',\n // sampling: 'average',\n // itemStyle: {\n // normal: {\n // color: 'rgb(175,238,238)'\n // }\n // },\n // // areaStyle: {\n // // normal: {\n // // color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{\n // // offset: 0,\n // // color: 'rgba(175,238,238, 0)'\n // // }, {\n // // offset: 1,\n // // color: 'rgba(175,238,238, 1)'\n // // }])\n // // }\n // // },\n // data: AllData\n // })\n\n return eseries\n}\n\n/**\n *\n * @param {array} lineData 图标数据\n * @param {array} timeData\n * @param {string} timeType 小时、天\n * @param {number} timePeroid 时间区段\n * @param {string} dataType 数据类型 数字、百分比、秒\n */\nconst echartsLineDataParser = (lineData, timeData, dataType = 'number') => {\n // 计算x轴数据 (日期)\n const xAxisData = getEchartsLineXAxis(lineData, timeData)\n // 计算系列图的数据 (图表中曲线所经过的点)\n const eseries = getEchartsLineSeries(lineData, timeData, xAxisData, dataType)\n const option = {\n // title: {\n // text: '访问趋势图',\n // left: '5%'\n // },\n color: colorList,\n tooltip: {\n trigger: 'axis',\n axisPointer: {\n type: 'cross',\n label: {\n backgroundColor: 'rgba(106,121,133,0.6)'\n }\n },\n formatter: dataType !== 'number' ? (params) => {\n return `${params[0].name}
${params[0].marker}${params[0].seriesName} ${params[0].value}${dataType === 'percent' ? '%' : 's'}`\n } : '',\n textStyle: {\n align: 'left'\n }\n },\n legend: {\n // top: '-10000%',\n // left: '-10000%',\n // data: legend\n itemGap: 30\n },\n /* toolbox: {\n feature: {\n saveAsImage: {}\n }\n }, */\n grid: {\n left: '40px',\n right: '40px',\n top: '40px',\n bottom: '8%',\n containLabel: true\n },\n xAxis: [xAxisData],\n yAxis: [\n {\n type: 'value',\n // name: '温度',\n min: 0,\n // max: 25,\n position: 'left',\n axisLine: {\n lineStyle: {\n color: '#ebeef5'\n }\n },\n axisLabel: {\n color: '#606266'\n },\n splitLine: {\n show: false\n }\n }\n ],\n series: eseries\n }\n if (dataType === 'number') {\n option.yAxis = [\n {\n type: 'value',\n // name: '温度',\n min: 0,\n // max: 25,\n position: 'left',\n axisLine: {\n lineStyle: {\n color: '#ebeef5'\n }\n },\n axisLabel: {\n color: '#606266'\n },\n splitLine: {\n show: false\n }\n }\n ]\n } else if (dataType === 'percent') {\n option.yAxis = [\n {\n type: 'value',\n // name: '温度',\n min: 0,\n max: 100,\n position: 'left',\n axisLine: {\n lineStyle: {\n color: '#ebeef5'\n }\n },\n axisLabel: {\n formatter: '{value} %',\n color: '#606266'\n },\n splitLine: {\n show: false\n }\n }\n ]\n } else {\n option.yAxis = [\n {\n type: 'value',\n // name: '温度',\n min: 0,\n // max: 100,\n position: 'left',\n axisLine: {\n lineStyle: {\n color: '#ebeef5'\n }\n },\n axisLabel: {\n formatter: '{value} S',\n color: '#606266'\n },\n splitLine: {\n show: false\n }\n }\n ]\n }\n\n return option\n}\n/**\n * 秒转1min 30s\n * @param {number} val\n */\nconst formaterTime = val => {\n val = val || 0\n return val > 60 ? `${parseInt(val / 60)}min \\n ${val % 60}s` : val + 's'\n}\n\n// Excel.downloadExl(header, Excel.dataClean({\n// employeeName: '员工姓名',\n// title: '申领内容名称',\n// apply_time: '申领时间',\n// visit_count: '带来访问量',\n// clue_count: '带来线索量',\n// forward_count: '带来转发数',\n// timeRange: '统计时间'\n// }, data), '全员申领内容分析表', 'xlsx', [\n// { wpx: 140 },\n// { wpx: 250 },\n// { wpx: 150 },\n// { wpx: 150 },\n// { wpx: 150 },\n// { wpx: 150 },\n// { wpx: 200 }], merges)\nconst Excel = {\n /*\n 将指定的自然数转换为26进制表示。映射关系:[0-25] -> [A-Z]。 (excel-X坐标)\n */\n getCharCol: function (n) {\n let s = ''\n let m = 0\n while (n > 0) {\n m = n % 26 + 1\n s = String.fromCharCode(m + 64) + s\n n = (n - m) / 26\n }\n return s\n },\n dataClean (heads, list) { // 合并成xlsx渲染数据\n return list.reduce((result, items) => {\n result.push(Object.keys(items).reduce(function (total, item) {\n heads[item] && (total[heads[item]] = items[item])\n return total\n }, {}))\n return result\n }, [])\n },\n /*\n 字符串转字符流\n */\n s2ab: function (s) {\n var buf = new ArrayBuffer(s.length)\n var view = new Uint8Array(buf)\n for (var i = 0; i !== s.length; ++i) {\n view[i] = s.charCodeAt(i) & 0xFF\n }\n return buf\n },\n\n /**\n * 导出excel\n * @param {array} header 表头\n * @param {array} json 表格数据\n * @param {string} downName 下载文件名\n * @param {string} type 表格类型 xlsx xls\n * @param {array} cols 表格每列宽度\n * @param {merges} merges 表格合并项\n */\n downloadExl: function (header, json, downName, type, cols = [], merges = []) {\n let tmpdata = json[0]\n json.unshift({}) // 表格头\n // const keyMap = [] // 获取keys\n for (var k in tmpdata) {\n // keyMap.push(k)\n json[0][k] = k\n }\n\n tmpdata = []// 用来保存转换好的json\n json.map((v, i) => header.map((k, j) => {\n return {\n v: v[k],\n position: (j > 25 ? this.getCharCol(j) : String.fromCharCode(65 + j)) + (i + 1)\n }\n })).reduce((prev, next) => prev.concat(next)).forEach((v, i) => {\n tmpdata[v.position] = {\n v: v.v,\n s: {\n border: {\n top: { style: 'thin' }, left: { style: 'thin' }, bottom: { style: 'thin' }, right: { style: 'thin' }\n },\n font: {\n name: '微软雅黑'\n },\n alignment: {\n // horizontal: 'center',\n horizontal: 'left',\n vertical: 'center'\n }\n }\n }\n })\n const outputPos = Object.keys(tmpdata)\n // const borderStyle = {\n // right: {\n // style: 'thin',\n // color: { rgb: '000000' }\n // },\n // bottom: {\n // style: 'thin',\n // color: { rgb: '000000' }\n // },\n // top: {\n // style: 'thin',\n // color: { rgb: '000000' }\n // },\n // left: {\n // style: 'thin',\n // color: { rgb: '000000' }\n // }\n // }\n const tmpWB = {\n SheetNames: ['Sheet1'],\n Sheets: {\n 'Sheet1': Object.assign({},\n tmpdata,\n {\n '!ref': outputPos[0] + ':' + outputPos[outputPos.length - 1],\n '!cols': [\n { wpx: 80 },\n { wpx: 150 },\n { wpx: 150 },\n { wpx: 150 },\n { wpx: 150 },\n { wpx: 150 },\n { wpx: 150 },\n { wpx: 150 },\n { wpx: 150 },\n { wpx: 150 },\n { wpx: 150 },\n { wpx: 230 }\n ],\n '!merges': merges\n })\n }\n }\n if (cols.length) {\n tmpWB.Sheets.Sheet1['!cols'] = cols\n }\n const tmpDown = new Blob([this.s2ab(XLSX.write(tmpWB,\n { bookType: (type === undefined ? 'xlsx' : type), bookSST: false, type: 'binary' }\n ))], {\n type: ''\n })\n var href = window.URL.createObjectURL(tmpDown)\n const outFile = document.createElement('a')\n outFile.download = downName + '.xlsx'\n outFile.href = href\n outFile.click()\n setTimeout(function () {\n window.URL.revokeObjectURL(tmpDown)\n }, 100)\n }\n}\n\n/**\n * Array to Object\n * @param {array} arr\n * @param {string} id\n * @param {string} pid\n * @param {string} child\n * @param {number} root\n */\nconst listtoTree = (arr, id = 'id', pid = 'parentid', child = 'children', root = 0) => {\n const tree = []\n const map = {}\n for (let i = 0; i < arr.length; i++) {\n const item = arr[i]\n const key = item[id]\n const pkey = item[pid]\n const obj = {}\n obj[child] = []\n Object.assign(item, obj, map[key])\n if (map[key]) {\n map[key][child].forEach(function (child) {\n child[pid] = item\n })\n }\n map[key] = item\n if (pkey === root) {\n tree.push(item)\n } else {\n item[pid] = map[pkey]\n if (map[pkey]) {\n map[pkey][child].push(item)\n } else {\n const obj = {}\n obj[child] = [item]\n map[pkey] = obj\n }\n }\n }\n for (const key in map) {\n if (!map[key].children.length) {\n delete map[key].children\n }\n }\n return tree\n}\n\nexport function getFileMd5 (file) {\n const spark = new SparkMD5()\n spark.append(file.name)\n spark.append(String(file.lastModified))\n spark.append(String(file.size))\n return spark.end()\n}\n\n/**\n * bos 图片上传\n*/\nconst clientUpload = async (file) => {\n const res = await axios.get(`/saas-ability-mps/v1/bos/getaccesstoken `)\n\n const client = await CreateClient(new BosFactory(), {\n endpoint: res.data.endPoint // 传入Bucket所在区域域名 xmf-bos.jwyun.net\n }, {\n async getToken () {\n return {\n 'accessKeyId': res.data.accessKeyId,\n 'secretAccessKey': res.data.secretAccessKey,\n 'sessionToken': res.data.sessionToken,\n bosUrl: res.data.bosUrl || null\n }\n }\n })\n\n const suffix = file.name.split('.').pop()\n const date = new Date()\n const key = `${date.getFullYear()}/${date.getMonth() + 1}/${date.getDate()}/${getFileMd5(file)}.${suffix}`\n return {\n client,\n config: {\n bucketName: res.data.bucketName,\n multi: true,\n key\n }\n }\n}\n\n// 时间选择器快捷选项\nconst dataPickerShortcuts = [{\n text: '今天',\n onClick (picker) {\n const end = new Date()\n const start = Moment(new Date()).hour(0).minute(0).second(0)\n picker.$emit('pick', [start, end])\n }\n},\n{\n text: '昨天',\n onClick (picker) {\n const start = Moment(new Date()).hour(0).minute(0).second(0).subtract(1, 'days')\n const end = Moment(new Date()).hour(0).minute(0).second(0).subtract(1, 'days')\n picker.$emit('pick', [start, end])\n }\n},\n{\n text: '最近三天',\n onClick (picker) {\n const start = Moment(new Date()).hour(0).minute(0).second(0).subtract(2, 'days')\n const end = Moment(new Date()).hour(0).minute(0).second(0)\n picker.$emit('pick', [start, end])\n }\n},\n{\n text: '最近一周',\n onClick (picker) {\n const start = Moment(new Date()).hour(0).minute(0).second(0).subtract(6, 'days')\n const end = Moment(new Date()).hour(0).minute(0).second(0)\n picker.$emit('pick', [start, end])\n }\n}, {\n text: '最近一个月',\n onClick (picker) {\n const start = Moment(new Date()).hour(0).minute(0).second(0).subtract(29, 'days')\n const end = Moment(new Date()).hour(0).minute(0).second(0)\n picker.$emit('pick', [start, end])\n }\n}, {\n text: '最近三个月',\n onClick (picker) {\n const start = Moment(new Date()).hour(0).minute(0).second(0).subtract(89, 'days')\n const end = Moment(new Date()).hour(0).minute(0).second(0)\n picker.$emit('pick', [start, end])\n }\n}]\n\nexport {\n echartsLineDataParser,\n formaterTime,\n Excel,\n listtoTree,\n clientUpload,\n dataPickerShortcuts\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"channel-manage\"},[_c('jw-tree',_vm._b({ref:\"tree\",staticClass:\"channel-manage-tree\",on:{\"node-click\":_vm.treeClick,\"node-most-click\":_vm.mostClick,\"node-remove\":_vm.remove,\"node-add\":_vm.nodeAdd,\"node-edit\":_vm.nodeEdit}},'jw-tree',_vm.tree,false)),_c('jw-table',_vm._b({ref:\"table\",staticClass:\"channel-manage-table\"},'jw-table',_vm.table,false)),_c('jw-full-screen-dialog',{ref:\"addModal\",attrs:{\"old-style\":true,\"title\":+_vm.$route.query.isadd === 1 ? '新增渠道' : '编辑渠道',\"keep-render\":false,\"query-names\":['isadd'],\"before-close\":_vm.detailReturn}},[_c('add-channel',{ref:\"add\",on:{\"success\":_vm.success}}),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"small\"},on:{\"click\":_vm.detailReturn}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.submit}},[_vm._v(\"保存\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Api from '@/apis/index.js'\nconst userInfo = window.global.$tools.auth.getCurrentUserInfo()\nexport default class extends Api {\n // 获取渠道列表 067\n getChannelManageList (cb, err) {\n this.$http.get(`${Api.path.apiMps}/partner/${userInfo.partnerId}/channelmanage/category`).then(res => {\n cb(res.data)\n }, this.error(err))\n }\n // 268\n getChannels (params, cb, err) {\n this.$http.get(`${Api.path.apiMps}/partner/${userInfo.partnerId}}/channelmanage`, { params }).then(res => {\n cb(res)\n }, this.error(err))\n }\n // 260\n deleteCategory (params, cb, err) {\n this.$http.delete(`${Api.path.apiMps}/partner/${userInfo.partnerId}/channelmanage/category?type_id=${params.type_id}`).then(res => {\n cb(res)\n }, this.error(err))\n }\n // 259\n putModifyCategory (params, cb, err) {\n this.$http.put(`${Api.path.apiMps}/partner/${userInfo.partnerId}/channelmanage/category`, params).then(res => {\n cb(res)\n }, this.error(err))\n }\n // 258\n postAddCategory (params, cb, err) {\n this.$http.post(`${Api.path.apiMps}/partner/${userInfo.partnerId}/channelmanage/category`, params).then(res => {\n cb(res)\n }, this.error(err))\n }\n // 256\n getVefifyTree (params, cb, err) {\n this.$http.get(`${Api.path.apiMps}/partner/${userInfo.partnerId}/channelmanage/category/verify-name`, { params }).then(res => {\n cb(res)\n }, this.error(err))\n }\n // 262\n postAddChannel (params, cb, err) {\n this.$http.post(`${Api.path.apiMps}/partner/${userInfo.partnerId}/channelmanage`, params).then(res => {\n cb(res)\n }, this.error(err))\n }\n // 264\n putModifyChannel (params, chennelid, cb, err) {\n this.$http.put(`${Api.path.apiMps}/partner/${userInfo.partnerId}/channelmanage/${chennelid}`, params).then(res => {\n cb(res)\n }, this.error(err))\n }\n // 263\n getChannelDetail (channelid, cb, err) {\n this.$http.get(`${Api.path.apiMps}/partner/${userInfo.partnerId}/channelmanage/${channelid}`).then(res => {\n cb(res)\n }, this.error(err))\n }\n // 261\n getVerifyChannel (params, cb, err) {\n this.$http.get(`${Api.path.apiMps}/partner/${userInfo.partnerId}/channelmanage/verify-name`, { params }).then(res => {\n cb(res)\n }, this.error(err))\n }\n // 265\n deleteChannel (channelId, cb, err) {\n this.$http.delete(`${Api.path.apiMps}/partner/${userInfo.partnerId}/channelmanage/${channelId}`).then(res => {\n cb(res)\n }, this.error(err))\n }\n // 267\n putSortChannel (params, cb, err) {\n this.$http.put(`${Api.path.apiMps}/partner/${userInfo.partnerId}/channelmanage/sort`, { data: params }).then(res => {\n cb(res)\n }, this.error(err))\n }\n // 266\n putSortCategory (params, cb, err) {\n this.$http.put(`${Api.path.apiMps}/partner/${userInfo.partnerId}/channelmanage/category/sort`, { data: params }).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:\"channel-add\"},[_c('jw-form',_vm._b({ref:\"form\",staticClass:\"max\"},'jw-form',_vm.form,false))],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('rich-editor',{ref:\"editor\",attrs:{\"value\":_vm.content,\"action\":_vm.uploadUrl,\"ueditor-home-url\":\"/ueditor\",\"on-success\":_vm.onSuccess,\"config\":_vm.config,\"buttons\":_vm.buttons,\"before-upload\":_vm.beforeUpload,\"on-button-click\":_vm.ButtonClick},on:{\"input\":_vm.contentInput,\"ready\":_vm.ready}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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_add_editor.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_add_editor.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./index_add_editor.vue?vue&type=template&id=2bae351c&scoped=true\"\nimport script from \"./index_add_editor.vue?vue&type=script&lang=js\"\nexport * from \"./index_add_editor.vue?vue&type=script&lang=js\"\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 \"2bae351c\",\n null\n \n)\n\nexport default component.exports","\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_add.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_add.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./index_add.vue?vue&type=template&id=ad5dd922&scoped=true\"\nimport script from \"./index_add.vue?vue&type=script&lang=js\"\nexport * from \"./index_add.vue?vue&type=script&lang=js\"\nimport style0 from \"./index_add.vue?vue&type=style&index=0&id=ad5dd922&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 \"ad5dd922\",\n null\n \n)\n\nexport default component.exports","\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=5063243f&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=5063243f&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 \"5063243f\",\n null\n \n)\n\nexport default component.exports","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_add.vue?vue&type=style&index=0&id=ad5dd922&prod&lang=less&scoped=true\"","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":""}