\n
\n \n
\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!./ContentBox.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!./ContentBox.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ContentBox.vue?vue&type=template&id=4fdb9663&\"\nimport script from \"./ContentBox.vue?vue&type=script&lang=js&\"\nexport * from \"./ContentBox.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ContentBox.vue?vue&type=style&index=0&lang=less&\"\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 null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.tag,{tag:\"component\",class:_vm.classes},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","
\n \n \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!./Cellbox.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!./Cellbox.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Cellbox.vue?vue&type=template&id=2e9dc0a0&scoped=true&\"\nimport script from \"./Cellbox.vue?vue&type=script&lang=js&\"\nexport * from \"./Cellbox.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Cellbox.vue?vue&type=style&index=0&id=2e9dc0a0&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 \"2e9dc0a0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.tag||_vm.$parent.itemTag,{tag:\"component\",staticClass:\"cell-item\",style:(_vm.styles)},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","
\n \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!./CellItem.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!./CellItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CellItem.vue?vue&type=template&id=117b2e7e&scoped=true&\"\nimport script from \"./CellItem.vue?vue&type=script&lang=js&\"\nexport * from \"./CellItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CellItem.vue?vue&type=style&index=0&id=117b2e7e&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 \"117b2e7e\",\n null\n \n)\n\nexport default component.exports","\nimport XHeader from './XHeader/index'\nimport XBody from './XBody'\nimport XFooter from './XFooter'\nimport Sidebar from './Sidebar/index'\nimport Wrapper from './Wrapper'\nimport Layout from './Layout'\nimport Pagination from './Pagination'\nimport Placeholder from './Placeholder/index'\nimport ContentBox from './ContentBox'\nimport {Cellbox, CellItem} from './Cellbox/index'\n\n\nconst components = {\n XHeader,\n XBody,\n XFooter,\n Sidebar,\n Wrapper,\n Layout,\n Pagination,\n Placeholder,\n Cellbox,\n CellItem,\n ContentBox\n}\n\nconst install = function (Vue) {\n for (let name in components) {\n Vue.component(name, components[name])\n }\n}\n\nexport {\n install,\n XHeader,\n XBody,\n XFooter,\n Sidebar,\n Wrapper,\n Layout,\n Pagination,\n Placeholder,\n Cellbox,\n CellItem,\n ContentBox\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"imporjuect_box\",class:{ showbox: !_vm.slideflgs },style:({ padding: _vm.paddings, transition: _vm.ms }),attrs:{\"id\":\"app\"}},[(!_vm.version)?_c('el-alert',{staticClass:\"window-version-tip\",attrs:{\"title\":\"\",\"type\":\"error\"}},[_vm._v(\"\\n 为保障系统正常使用,请使用\"),_c('a',{attrs:{\"href\":\"https://www.google.cn/chrome/\"}},[_vm._v(\"谷歌浏览器\")])]):_vm._e(),(_vm.afterStatus)?_c('div',{staticClass:\"silder_box\"},[_c('Slider',{attrs:{\"slideflg\":_vm.slideflgs},on:{\"update:slideflg\":function($event){_vm.slideflgs=$event}}})],1):_vm._e(),(_vm.afterStatus)?_c('div',{staticClass:\"totop\"},[_c('Totop',{attrs:{\"slideflg\":_vm.slideflgs},on:{\"update:slideflg\":function($event){_vm.slideflgs=$event}}})],1):_vm._e(),_c('div',{staticClass:\"container\"},[_c('router-view')],1),_c('ServiceMessageDarwer',{ref:\"ServiceMessageDarwerRef\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"about\"},[_c('h1',[_vm._v(\"This is an about page\")])])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./about.vue?vue&type=template&id=15c53fe8&\"\nvar script = {}\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 null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"im-slider\"}},[_vm._m(0),_c('div',[_c('div',{staticClass:\"menulist\"},_vm._l((_vm.list),function(item,index){return _c('div',{key:index,staticClass:\"menulist_box\",class:{ showul: !item.showul }},[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(false),expression:\"false\"}]},[_vm._v(_vm._s(item.showul))]),(item.funcName == '首页')?_c('p',{class:{ hidespan: !_vm.slideflg }},[_c('i',{staticClass:\"el-icon-setting\"}),_c('router-link',{attrs:{\"target\":\"_blank\",\"to\":\"/home\"}},[_vm._v(_vm._s(item.funcName))])],1):_c('p',{class:{ hidespan: !_vm.slideflg },on:{\"click\":function($event){return _vm.setslide(item)}}},[_c('i',{staticClass:\"el-icon-setting\"}),_c('span',{staticClass:\"pzfont\"},[_vm._v(_vm._s(item.funcName))]),_c('label',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.slideflg),expression:\"slideflg\"}]},[_c('i',{directives:[{name:\"show\",rawName:\"v-show\",value:(item.showul),expression:\"item.showul\"}],staticClass:\"el-icon-arrow-down\"}),_c('i',{directives:[{name:\"show\",rawName:\"v-show\",value:(!item.showul),expression:\"!item.showul\"}],staticClass:\"el-icon-arrow-up\"})])]),_c('ul',{class:{ hidefont: !_vm.slideflg }},_vm._l((item.newchildIds),function(item1,index1){return _c('li',{key:index1,class:{ activemenu: _vm.activeroute == item1.goto }},[_c('router-link',{attrs:{\"target\":\"_blank\",\"to\":item1.goto}},[_vm._v(_vm._s(item1.funcName))])],1)}),0)])}),0)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"slider_top\"},[_c('img',{attrs:{\"src\":require(\"./yunjiLogo.png\")}}),_vm._v(\"\\n 客服系统\\n \")])}]\n\nexport { render, staticRenderFns }","/*\n * @Description: \n * @Autor: lkz\n * @Date: 2020-12-29 09:47:40\n * @LastEditors: lkz\n * @LastEditTime: 2020-12-29 11:09:31\n */\nconst roleConfig = [\n '/xinyunweb/',\n '/xinyunweb', \n '/xinyunweb/work', \n '/xinyunweb/home', \n '/xinyunweb/workMenu/generalQuery/searchIndex', \n '/xinyunweb/juridistion', \n '/xinyunweb/rolement', \n '/xinyunweb/newbusiness/bbx', \n '/xinyunweb/newbusiness/button', \n '/xinyunweb/newbusiness/personal', \n '/xinyunweb/session/session_chat', \n '/xinyunweb/session/session_service', \n '/xinyunweb/taskManagement/myTask', \n '/xinyunweb/workOrderManagement/allWorkOrder/allWorkOrderList', \n '/xinyunweb/knowledgeBase/knowledgeSearch', \n '/xinyunweb/intellectQuality/qualityMonitor', \n '/xinyunweb/intellectQuality/allQuality', \n '/xinyunweb/taskManagement/allTask', \n '/xinyunweb/monitor/monitor', \n '/xinyunweb/monitor/skillMonitor', \n '/xinyunweb/monitor/seatMonitor', \n '/xinyunweb/monitor/workMonitor', \n '/xinyunweb/monitor/taskMonitor'\n]\n\nexport default roleConfig\n","/*\n 本文件用于定义与API接口服务的代码\n 只允许导出接口方法,不允许导出其它非接口方法的功能\n */\nimport * as httpAgent from 'utils/http'\n\n\n/*\n * 获取权限\n */\nexport function menuAll(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/menuAll', params, options)\n}\n\n/*\n * 获取权限\n */\nexport function uniqueKey(params, options) {\n return httpAgent.GET('/scsadmin/admin/private/Yinfo/uniqueKey', params, options)\n}\n\n/*\n* 获取按钮权限\n*/\nexport function buttonAll(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/buttonAll', params, options)\n}\n","\n
\n \n
\n

\n 客服系统\n
\n
\n \n
\n
\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!./slider.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!./slider.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./slider.vue?vue&type=template&id=b729bb46&\"\nimport script from \"./slider.vue?vue&type=script&lang=js&\"\nexport * from \"./slider.vue?vue&type=script&lang=js&\"\nimport style0 from \"./slider.vue?vue&type=style&index=0&lang=less&\"\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 null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"totop\"}},[_c('div',{staticClass:\"totop_left\"},[_c('label',{on:{\"click\":_vm.setflg}},[(_vm.flg)?_c('img',{attrs:{\"src\":require(\"./slideLeft.png\"),\"alt\":\"\"}}):_c('img',{attrs:{\"src\":require(\"./sildeRight.png\"),\"alt\":\"\"}})]),_c('span',[_vm._v(_vm._s(this.$route.meta.title))])]),(_vm.showEmpIndex)?_c('div',{staticClass:\"totop_mid\"},[_c('table',{attrs:{\"width\":\"300px\"}},[_vm._m(0),_c('tr',{staticStyle:{\"text-align\":\"center\",\"font-size\":\"14px\"}},[_c('td',[_vm._v(_vm._s(_vm.empTarget.responseCount))]),_c('td',[_vm._v(_vm._s(_vm.empTarget.satisfaction)+\"%\")]),_c('td',[_vm._v(_vm._s(_vm.empTarget.firstResponseTime)+\"s\")]),_c('td',[_vm._v(_vm._s(_vm.empTarget.allRings)+\"s\")]),_c('td',[_vm._v(_vm._s(_vm.empTarget.queueUpCnt)+\"人\")])])])]):_vm._e(),_c('div',{staticClass:\"totop_right\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showline),expression:\"showline\"}],staticClass:\"totop_menus\"},[_c('span',{attrs:{\"id\":\"panelProp\"}},[_c('el-cascader',{attrs:{\"show-all-levels\":false,\"options\":_vm.startTypeEnum,\"props\":_vm.cascaderProps},on:{\"change\":_vm.handleCascader},model:{value:(_vm.cascaderValue),callback:function ($$v) {_vm.cascaderValue=$$v},expression:\"cascaderValue\"}})],1),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOaStartName),expression:\"isOaStartName\"}],staticClass:\"oa_state\"},[_vm._v(_vm._s(_vm.oaStateName)),_c('i',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOaClose),expression:\"isOaClose\"}],staticClass:\"el-icon-circle-close\",on:{\"click\":_vm.getOaClose}})]),_c('span',[_vm._v(\"通讯:\")]),_c('span',{style:({ color: _vm.wsConnetState ? '#FF0000' : '#009933', marginRight: '28px' })},[_vm._v(\"\\n \"+_vm._s(_vm.wsConnetState ? '已断开' : '正常')+\"\\n \"),(_vm.wsConnetState == 1)?_c('span',{staticStyle:{\"color\":\"#6b6b6b\",\"margin-left\":\"8px\"}},[_vm._v(\"\\n \"+_vm._s('重连中...')+\"\\n \")]):_vm._e(),(_vm.wsConnetState == 2)?_c('span',{staticStyle:{\"color\":\"#189eff\",\"margin-left\":\"8px\"},on:{\"click\":_vm.reload}},[_vm._v(\"\\n \"+_vm._s('刷新')+\"\\n \")]):_vm._e()])]),_c('div',{staticClass:\"totop_menus\"},[(_vm.showButton)?_c('el-dropdown',{attrs:{\"trigger\":\"click\"}},[_c('span',{staticClass:\"el-dropdown-link\"},[_vm._v(\" 快捷导航\"),_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"})]),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('el-dropdown-item',[_c('span',{on:{\"click\":_vm.getwork}},[_vm._v(\"工作台\")])])],1)],1):_vm._e(),_c('el-popover',{attrs:{\"placement\":\"bottom\",\"width\":\"400\",\"title\":\"通知\",\"trigger\":\"click\",\"popper-class\":\"totop-message-class\"}},[_c('message-box',{model:{value:(_vm.messageTotal),callback:function ($$v) {_vm.messageTotal=$$v},expression:\"messageTotal\"}}),_c('el-badge',{staticClass:\"message-badge\",attrs:{\"slot\":\"reference\",\"value\":_vm.messageTotal,\"hidden\":_vm.messageTotal === 0},slot:\"reference\"},[_c('span',[_vm._v(\"消息\")])])],1)],1)]),_c('el-dialog',{attrs:{\"title\":\"提示\",\"visible\":_vm.ApprovalVisible,\"modal\":false,\"top\":\"30vh\",\"width\":\"400px\",\"center\":\"\"},on:{\"update:visible\":function($event){_vm.ApprovalVisible=$event}}},[_c('span',[_vm._v(\"申请切换到\"+_vm._s(_vm.stateName)+\"状态需要OA审批,确定吗?\")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.approvalCancel}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.approvalSubmit}},[_vm._v(\"确 定\")])],1)])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',{staticStyle:{\"color\":\"#808080\"}},[_c('th',[_vm._v(\"应答量\")]),_c('th',[_vm._v(\"满意度\")]),_c('th',[_vm._v(\"首响\")]),_c('th',[_vm._v(\"均响\")]),_c('th',[_vm._v(\"本队列排队\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"message-box-view\"},[_c('div',{staticClass:\"message-auto\"},_vm._l((_vm.messageList),function(item){return _c('div',{key:item.id,staticClass:\"message-item\",attrs:{\"title\":item.messageContent},on:{\"click\":function($event){return _vm.handleReadMessage(item)}}},[_c('div',{staticClass:\"message-title\"},[_c('span',[_vm._v(_vm._s(item.messageTitle))]),_c('span',[_vm._v(_vm._s(item.dataString))])]),_c('div',{staticClass:\"message-body\"},[_vm._v(_vm._s(item.messageContent))])])}),0),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.total === 0),expression:\"total === 0\"}],staticClass:\"no-message\"},[_vm._v(\"暂无消息\")]),_c('footer',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.total > 2),expression:\"total > 2\"}],staticClass:\"more-message\"},[_c('router-link',{attrs:{\"target\":\"_blank\",\"to\":\"/sendSms/myMessage\"}},[_vm._v(\"查看更多\")])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n * @Description: \n * @Author: 李方强\n * @Date: 2019-07-25 16:12:31\n * @LastEditTime: 2021-07-30 14:58:44\n * @LastEditors: lkz\n */\n/*\n 本文件用于定义与API接口服务的代码\n 只允许导出接口方法,不允许导出其它非接口方法的功能\n */\nimport * as httpAgent from 'utils/http'\n\n\n/**\n * 查询正在排队用户,\n * 每5秒定时请求一次,\n * 点击其他侧栏取消定时\n * \n * * */\nexport function QueueUp(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/allocation/queueUp', params, options)\n}\n\n/** *\n * 接待用户\n * empId 客服登录时获取的id\n * consumerId 被接待的id\n * \n * * */\nexport function getReception(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/allocation/reception', params, options)\n}\n\n\n/** *\n * 历史记录\n * \n * * */\nexport function getList(params, options) {\n return httpAgent.GET('/yunjiIm/service/message/list', params, options)\n}\n\n/**\n *点击顶部上线开始连接websocket \n * \n * */\n\nexport function getTopstatus(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/allocation/customerServiceSetStatus', params, options)\n}\n\n\n/** *\n * 关闭会话\n * \n * * */\nexport function closeDialogue(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/allocation/closeDialogue', params, options)\n}\n\n\n/** *\n * 获取技能组, 针对转交\n * ** */\n\nexport function getGroupAll(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/skillGroup/findByGroupTitle', params, options)\n}\n\n/** *\n * 获取客服, 针对转交\n * ** */\n\nexport function getAllcurrentCase(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/customerService/findCustomerServiceCurrentCase', params, options)\n}\n\n\n/** *\n * 转交技能组\n * ** */\nexport function makeOverSkillGroup(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/allocation/makeOverSkillGroup', params, options)\n}\n\n/** *\n * 转交客服\n * ** */\nexport function makeOverService(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/allocation/makeOverService', params, options)\n}\n\n/** *\n * 客服上线后自动分配用户\n * ** */\n\nexport function allocaTionCustomer(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/allocation/allocationCustomer', params, options)\n}\n\n\n/** *\n * 上传图片\n * ** */\n\nexport function upLoad(params, options) {\n return httpAgent.POST('/yunjixinyunadmin/admin/xinyun/upload/uploadPic_json.json', params, options)\n}\n\n/** *\n * 获取右侧用户信息\n * * */\n\nexport function getConsumerInfo(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/customerService/getConsumerInfo', params, options)\n}\n\n/** *\n * 判断是否有聊天记录\n * * */\n\nexport function hasMessage(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/customerService/hasMessage', params, options)\n}\n\n/**\n * 获取tree\n *\n * @export\n * @returns\n */\nexport function workList(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/fastResponse/list', params, options)\n}\n\n\n/** *\n * 获取历史列表\n * \n * ** */\n\n\nexport function findHistoryByEmpId(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/customerService/findHistoryByEmpId', params, options)\n}\n\n/** *\n * 拉取对话历史记录\n * \n * *** */\n\nexport function messageList(params, options) {\n return httpAgent.GET('yunjixinyunadmin/admin/xinyun/customerService/messageList', params, options)\n}\n\n/** *\n * 右侧获取补偿列表\n * ** */\nexport function searchCompensateList(params, options) {\n return httpAgent.GET('yunjixinyunadmin/xinyun/refund/searchCompensateList.json', params, options)\n}\n\n/** *\n * 右侧获取售后列表\n * ** */\nexport function returnMoneyDetailList(params, options) {\n return httpAgent.GET('yunjixinyunadmin/xinyun/refund/returnMoneyDetailList', params, options)\n}\n\n\n/**\n * 获取tree\n *\n * @export\n * @returns\n */\nexport function fastResponseList(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/serviceIssue/listChild', params, options)\n}\n\n/** *\n * 获取所有服务小记的对象\n * * */\nexport function getServiceSubtotalTarget(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/serviceSubtotal/getServiceSubtotalTarget', params, options)\n}\n\n\n/** *\n * 获取所有服务小记诉求\n * * */\nexport function getServiceSubtotalAppeal(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/serviceSubtotal/getServiceSubtotalAppeal', params, options)\n}\n\n\n/** *\n * 新建服务小记\n * * */\n\nexport function Savexj(params, options) {\n return httpAgent.POST('/yunjixinyunadmin/admin/xinyun/serviceSubtotal/save', params, options)\n}\n\n\n/** *\n * 所有快递公司\n * * */\n\nexport function searchDeliverCompanys(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/xinyun/refund/searchDeliverCompanys', params, options)\n}\n\n/** *\n * 查询工单\n * * */\n\nexport function queryWorkOrders(params, options) {\n return httpAgent.POST('/kpi/yunjixinyun/admin/xinyun/workorder/queryWorkOrders', params, options)\n}\n\n/**\n * 点击顶部状态判断是否需要OA审批\n * @export\n * @param {*} params\n * @param {*} data\n * @returns\n */\nexport function verifyOaCheck(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/allocation/verifyOaCheck', params, options)\n}\n\n/**\n * 新客服状态\n * @export\n * @param {*} params\n * @param {*} data\n * @returns\n */\nexport function newCustomerStatus(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/allocation/newCustomerStatus', params, options)\n}\n\n/** *\n * 通过工号查询前十条未读取消息\n * * */\n\nexport function findByNoReadBeforeTenMessageList(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/messageBox/findByNoReadBeforeTenMessageList', params, options)\n}\n\n/** *\n * 设置未读消息成已读\n * * */\n\nexport function batchUpdateToRead(params, options = { type: 'formData' }) {\n return httpAgent.POST('/yunjixinyunadmin/admin/xinyun/messageBox/batchUpdateToRead', params, options)\n}\n\n/** *\n * 获取消息盒子跳转地址\n * * */\n\nexport function findByJumpUrl(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/messageBox/findByJumpUrl.json', params, options)\n}\n\n// 获取客服个人指标\nexport function getEmpIndex(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/customerService/getEmpIndex', params, options)\n}\n","\n
\n \n
\n
\n
\n {{item.messageTitle}}\n {{item.dataString}}\n
\n
{{item.messageContent}}
\n
\n
\n
暂无消息
\n
\n
\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!./MessageBox.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!./MessageBox.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MessageBox.vue?vue&type=template&id=5da1039b&scoped=true&\"\nimport script from \"./MessageBox.vue?vue&type=script&lang=js&\"\nexport * from \"./MessageBox.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MessageBox.vue?vue&type=style&index=0&id=5da1039b&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 \"5da1039b\",\n null\n \n)\n\nexport default component.exports","\n
\n \n
\n
\n
{{ this.$route.meta.title }}\n
\n
\n
\n 应答量 | 满意度 | 首响 | 均响 | 本队列排队 |
\n \n {{empTarget.responseCount}} | \n {{empTarget.satisfaction}}% | \n {{empTarget.firstResponseTime}}s | \n {{empTarget.allRings}}s | \n {{empTarget.queueUpCnt}}人 | \n
\n
\n
\n \n
\n \n \n \n
\n \n
\n 申请切换到{{ stateName }}状态需要OA审批,确定吗?\n \n \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!./totop.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!./totop.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./totop.vue?vue&type=template&id=841985a6&\"\nimport script from \"./totop.vue?vue&type=script&lang=js&\"\nexport * from \"./totop.vue?vue&type=script&lang=js&\"\nimport style0 from \"./totop.vue?vue&type=style&index=0&lang=less&\"\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 null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"title\":\"客服留言\",\"visible\":_vm.show,\"append-to-body\":\"\",\"modal\":\"\",\"width\":\"740px\",\"id\":\"dialog-wrap\",\"destroy-on-close\":\"\",\"before-close\":_vm.close,\"close-on-click-modal\":false},on:{\"update:visible\":function($event){_vm.show=$event},\"closed\":_vm.resetDialog}},[_c('el-alert',{attrs:{\"title\":\"留言内容将通过客服机器人推送给客户,请注意使用规范话术\",\"type\":\"warning\",\"show-icon\":\"\"}}),_c('el-form',{ref:\"form\",staticStyle:{\"overflow\":\"hidden\",\"margin-top\":\"8px\"},attrs:{\"label-width\":\"108px\",\"model\":_vm.form}},[_c('el-form-item',{attrs:{\"label\":\" \"}},[_c('el-select',{staticStyle:{\"width\":\"100px\"},attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.targetId),callback:function ($$v) {_vm.targetId=$$v},expression:\"targetId\"}},_vm._l((_vm.clueOptions),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1),_c('el-input',{staticStyle:{\"width\":\"250px\"},model:{value:(_vm.form.receiptNo),callback:function ($$v) {_vm.$set(_vm.form, \"receiptNo\", $$v)},expression:\"form.receiptNo\"}}),_c('el-button',{staticClass:\"btns\",attrs:{\"type\":\"primary\"},on:{\"click\":_vm.getContent}},[_vm._v(\"查询\")])],1),_c('el-form-item',{attrs:{\"label\":\"留言模板:\",\"prop\":\"compensateType\",\"rules\":[{ required: true, message: '请选择留言模板' }]}},[_c('el-select',{staticStyle:{\"width\":\"200px\"},attrs:{\"placeholder\":\"请选择\",\"filterable\":\"\"},on:{\"change\":_vm.getSopChange},model:{value:(_vm.form.compensateType),callback:function ($$v) {_vm.$set(_vm.form, \"compensateType\", $$v)},expression:\"form.compensateType\"}},_vm._l((_vm.targetValue ? _vm.leaveMsgSopList : []),function(item){return _c('el-option',{key:item.sopId,attrs:{\"label\":item.title,\"value\":item.sopId}})}),1)],1),_vm._l((_vm.sopDetailList.sopDataList),function(item,index){return _c('div',{key:index,staticStyle:{\"margin-bottom\":\"6px\"}},[(item.systemNodeCache==null)?[(item.showType == 5)?_c('el-form-item',{attrs:{\"label\":\"选择子订单:\",\"prop\":\"compensateReason\"}},[_c('div',{staticClass:\"goods-wrapper\"},[_c('card-detail-template',{attrs:{\"isType\":\"\",\"sopWorkFlowDetail\":item,\"sopDetailList\":_vm.sopDetailList},on:{\"getCheckInvoices\":_vm.getCheckInvoices,\"getReselection\":_vm.getReselection}})],1)]):(item.showType == 2)?[_c('el-form-item',{attrs:{\"label\":\"留言内容:\",\"prop\":\"leaveMsg\",\"rules\":[{ required: true, message: '请输入' }]}},[_c('ElInput',{directives:[{name:\"focus\",rawName:\"v-focus\"}],staticStyle:{\"width\":\"420px\"},attrs:{\"type\":\"textarea\",\"value\":item.interactionDesc || _vm.form.leaveMsg,\"numberWord\":\"\",\"maxlength\":200,\"autofocus\":\"\"},on:{\"input\":function ($event) { return _vm.form.leaveMsg = $event; },\"blur\":function($event){return _vm.updateMessageText($event, item)}},model:{value:(item.interactionDesc),callback:function ($$v) {_vm.$set(item, \"interactionDesc\", $$v)},expression:\"item.interactionDesc\"}})],1),_c('el-form-item',{attrs:{\"label\":\"客户选项:\"}},[_c('el-radio-group',{on:{\"input\":function($event){return _vm.getLinkStep(item)}},model:{value:(item.checkedId),callback:function ($$v) {_vm.$set(item, \"checkedId\", $$v)},expression:\"item.checkedId\"}},_vm._l((item.customOptions),function(radio){return _c('el-radio-button',{key:radio.nodeId,attrs:{\"label\":radio.nodeId}},[_vm._v(_vm._s(radio.optionName))])}),1)],1)]:(item.nodeType==='solution')?_c('el-form-item',{attrs:{\"label\":\"执行动作:\"}},[_c('div',{staticClass:\"action-list\"},[((item.solutionNode && item.solutionNode.solutionType||'').includes('8'))?_c('div',{staticClass:\"action-row\"},[_vm._v(\"\\n 售后申请状态:\\n \"),_c('span',{staticClass:\"status\"},[_vm._v(_vm._s(_vm.getStatusByType(item.solutionNode, 8)))]),_c('el-button',{on:{\"click\":function($event){return _vm.addshouhouBtn(item.solutionNode)}}},[_vm._v(\"预申请售后\")])],1):_vm._e(),((item.solutionNode && item.solutionNode.solutionType||'').includes('9'))?_c('div',{staticClass:\"action-row\"},[_vm._v(\"\\n 补偿申请状态:\\n \"),_c('span',{staticClass:\"status\"},[_vm._v(_vm._s(_vm.getStatusByType(item.solutionNode, 9)))]),_c('el-button',{on:{\"click\":function($event){return _vm.getApplyCompensation(item.solutionNode)}}},[_vm._v(\"预申请补偿\")])],1):_vm._e(),((item.solutionNode && item.solutionNode.solutionType||'').includes('10'))?_c('div',{staticClass:\"action-row\"},[_vm._v(\"\\n 工单提交状态:\\n \"),_c('span',{staticClass:\"status\"},[_vm._v(_vm._s(_vm.getStatusByType(item.solutionNode, 10)))]),_c('el-button',{on:{\"click\":function($event){return _vm.createWorkOrder(item.solutionNode)}}},[_vm._v(\"预提交工单\")])],1):_vm._e(),(!item.solutionNode || \n (\n !(item.solutionNode.solutionType || '').includes('8') &&\n !(item.solutionNode.solutionType || '').includes('9') &&\n !(item.solutionNode.solutionType || '').includes('10')\n ))?_c('div',{staticClass:\"action-row\"},[_vm._v(\"\\n 暂无\\n \")]):_vm._e()])]):_vm._e()]:_vm._e(),(item.systemNodeCache && item.systemNodeCache.combineTips)?_c('el-form-item',{attrs:{\"label\":\"系统判断:\"}},[_vm._v(_vm._s(item.systemNodeCache.combineTips))]):_vm._e()],2)}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.sopDetailList && _vm.sopDetailList.lastNodeFlag),expression:\"sopDetailList && sopDetailList.lastNodeFlag\"}]},[_c('el-button',{directives:[{name:\"preventReClick\",rawName:\"v-preventReClick\"}],staticStyle:{\"display\":\"block\",\"margin\":\"0 auto\"},attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.sumbit('form', true, true, true)}}},[_vm._v(\"确认提交\")])],1)],2),_c('el-drawer',{style:({ height: _vm.midHeight + 'px' }),attrs:{\"title\":\"申请补偿\",\"modal\":false,\"id\":\"drawer-body\",\"visible\":_vm.drawerCompensate,\"before-close\":_vm.handleDrawerCompensateClose},on:{\"update:visible\":function($event){_vm.drawerCompensate=$event}}},[_c('div',{staticClass:\"elDrawer-body\",style:({ height: _vm.maxHeight + 'px' })},[_c('newAddCompensate',{ref:\"newCompensateRef\",attrs:{\"sumbit\":_vm.createCompensate}})],1)]),_c('el-drawer',{style:({ height: _vm.midHeight + 'px' }),attrs:{\"title\":\"创建工单\",\"modal\":false,\"id\":\"drawer-body\",\"visible\":_vm.showServerNotes,\"withHeader\":false,\"before-close\":_vm.closeWorkOrder},on:{\"update:visible\":function($event){_vm.showServerNotes=$event}}},[_c('div',{staticClass:\"elDrawer-body\",style:({ height: _vm.maxHeight + 'px' })},[(_vm.showServerNotes)?_c('create-order',{ref:\"createOrderRef\",attrs:{\"showHeader\":\"\",\"sumbit\":_vm.createServerNotes},on:{\"close\":function($event){_vm.showServerNotes=false},\"reload\":function (){}}}):_vm._e()],1)]),_c('el-drawer',{style:({ height: _vm.midHeight + 'px' }),attrs:{\"title\":\"申请售后\",\"modal\":false,\"id\":\"drawer-body\",\"visible\":_vm.showAddAfterOrder,\"before-close\":_vm.handleCloseAddAfterOrder},on:{\"update:visible\":function($event){_vm.showAddAfterOrder=$event}}},[_c('div',{staticClass:\"elDrawer-body\",style:({ height: _vm.maxHeight + 'px' })},[_c('addAfterOrder',{ref:\"addAfterOrder\",attrs:{\"sumbit\":_vm.createAfterOrder}})],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import * as httpAgent from 'utils/http'\r\nimport link from '@/utils/link/link'\r\n/**\r\n * @method: 获取缩略版sop\r\n * @param {type} \r\n * @return: \r\n */\r\nexport function handleSopCustomerService(params, options) {\r\n return httpAgent.POST('/yunjixinyunadmin/admin/xinyun/csRobot/handleWithSopWorkFlowSimple', params, options)\r\n}\r\n\r\n\r\n// /***\r\n// * 新版申请补偿-获取补偿列表\r\n// * **/\r\nexport function preViewCompensateOrderItem(params, options) {\r\n if (document.domain === link.domain) { // 本地調試则不需要代理\r\n return httpAgent.POST('/refundadmin/admin/compensateV2/preViewCompensateOrderItem', params, options)\r\n }\r\n return httpAgent.POST(`//${link.getlink().refundUrl}/admin/compensateV2/preViewCompensateOrderItem`, params, options)\r\n}\r\n\r\n/**\r\n * @method: 查询订单列表\r\n * @param {type} \r\n * @return: \r\n * @Author: 陈长吉(chencj@yunjiglobal.com)\r\n * @Date: 2019-10-14 15:24:53\r\n */\r\nexport function getOrder(params, options) {\r\n return httpAgent.POST('/yunjixinyunadmin/admin/xinyun/crm/v2/orderInfo', params, { ...options, timeout: 6000 })\r\n}\r\n\r\n/**\r\n * @method: 获取留言sop下拉框\r\n * @param {type} \r\n * @return: \r\n * @Author: 陈长吉(chencj@yunjiglobal.com)\r\n * @Date: 2019-10-14 15:24:53\r\n */\r\nexport function getLeaveMsgSopApi(params, options) {\r\n return httpAgent.POST('/yunjixinyunadmin/admin/xinyun/leaveMsg/getLeaveMsgSop', params, { ...options, timeout: 6000 })\r\n}\r\n\r\n/**\r\n * @method: 提交缓存表单\r\n * @param {type} \r\n * @return: \r\n * @Author: 陈长吉(chencj@yunjiglobal.com)\r\n * @Date: 2019-10-14 15:24:53\r\n */\r\nexport function handleDraftCacheApi(params, options) {\r\n return httpAgent.POST('/yunjixinyunadmin/admin/xinyun/leaveMsg/handleDraftCache', params, { ...options, timeout: 6000 })\r\n}\r\n\r\n/**\r\n * @method: 提交能力表单内容\r\n * @param {type} \r\n * @return: \r\n * @Author: 陈长吉(chencj@yunjiglobal.com)\r\n * @Date: 2019-10-14 15:24:53\r\n */\r\nexport function handleMsgContentCacheApi(params, options) {\r\n return httpAgent.POST('/yunjixinyunadmin/admin/xinyun/leaveMsg/handleMsgContentCache', params, { ...options, timeout: 6000 })\r\n}\r\n\r\n/**\r\n * @method: 一二线工作台留言创建\r\n * @param {type} \r\n * @return: \r\n * @Author: 陈长吉(chencj@yunjiglobal.com)\r\n * @Date: 2019-10-14 15:24:53\r\n */\r\nexport function submitLeaveMsgApi(params, options) {\r\n return httpAgent.POST('/yunjixinyunadmin/admin/xinyun/leaveMsg/submitLeaveMsg', params, { ...options, timeout: 6000 })\r\n}\r\n","
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n 查询\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n form.leaveMsg = $event\" @blur=\"updateMessageText($event, item)\" autofocus v-focus/>\r\n \r\n \r\n \r\n {{radio.optionName}}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n 售后申请状态:\r\n {{getStatusByType(item.solutionNode, 8)}} \r\n 预申请售后\r\n
\r\n
\r\n 补偿申请状态:\r\n {{getStatusByType(item.solutionNode, 9)}} 预申请补偿\r\n
\r\n
\r\n 工单提交状态:\r\n {{getStatusByType(item.solutionNode, 10)}} 预提交工单\r\n
\r\n
\r\n 暂无\r\n
\r\n \r\n
\r\n \r\n \r\n
{{item.systemNodeCache.combineTips }}\r\n
\r\n \r\n 确认提交\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n {}\" ref=\"createOrderRef\" :sumbit=\"createServerNotes\">\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\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=643af38c&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=643af38c&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 \"643af38c\",\n null\n \n)\n\nexport default component.exports","/**\n * Created by zhanghuan on 2016/12/15.\n * 公共方法类\n */\n function YunJi() {\n\n}\nvar currentAjax = null; //当前请求的ajax\n\nYunJi.prototype = {\n appUA: \"\",//app传过来的UserAgent,\n //basePath:\"//t.yunjiweidian.com/yunjibuyer\",\n basePath: \"//\" + window.location.host + \"/yunjibuyer\",\n weixinInfo: { //微信分享相关的信息\n title: \"\",\n desc: \"\",\n imgUrl: \"\",\n shareLink: \"\"\n },\n /**\n * rem单位计算\n * 设计稿是宽750,当一个div的宽是30px,转换rem为:30px/100px = 0.3rem\n * 设计稿是宽375,当一个div的宽是30px,转换rem为:30px*2/100px = 0.6rem\n */\n initRem() {\n var appUA = navigator.userAgent //app的UserAgent信息\n if (appUA && appUA.indexOf('{\"appVersion') != -1) {\n YunJi.appUA = JSON.parse(appUA.substring(appUA.indexOf('{')))\n }\n\n /*rem控制不同屏幕显示大小*/\n YunJi.windowSize(document, window);\n window.onresize = function () {\n YunJi.windowSize(document, window);\n };\n },\n /**\n * 计算html字体font-size大小\n * @param doc document对象\n * @param win window对象\n */\n windowSize: function (doc, win) {\n var docEl = doc.documentElement,\n isIOS = navigator.userAgent.match(/iphone|ipod|ipad/gi),\n dpr = isIOS ? Math.min(win.devicePixelRatio, 3) : 1,\n dpr = window.top === window.self ? dpr : 1, //被iframe引用时,禁止缩放\n dpr = 1, // 首页引用IFRAME,强制为1\n scale = 1 / dpr,\n resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize';\n docEl.dataset.dpr = win.devicePixelRatio;\n if (navigator.userAgent.match(/iphone/gi) && screen.width == 375 && win.devicePixelRatio == 2) {\n docEl.classList.add('iphone6');\n //scale = 0.5;\n }\n if (navigator.userAgent.match(/iphone/gi) && screen.width == 414 && win.devicePixelRatio == 3) {\n docEl.classList.add('iphone6p');\n //scale = 0.3333333333333333;\n }\n var metaEl = doc.createElement('meta');\n metaEl.name = 'viewport';\n metaEl.content = 'initial-scale=' + scale + ',maximum-scale=' + scale + ', minimum-scale=' + scale;\n docEl.firstElementChild.appendChild(metaEl);\n //deviceWidth通过document.documentElement.clientWidth就能取到\n var recalc = function () {\n var width = document.body.clientWidth;\n if (width / dpr > 750) {\n width = 750 * dpr;\n }\n docEl.style.fontSize = 100 * (width / 750) + 'px';\n };\n recalc();\n if (!doc.addEventListener) return;\n },\n /**\n * rem转成px\n */\n remToPx: function (remNum) {\n let rootFontSize = Number.parseFloat(document.documentElement.style.fontSize);\n return remNum * rootFontSize;\n },\n /*获取 storage 缓存数据\n\t* type 类型 local:localStorage session:sessionStorage\n\t* name 缓存数据name名\n\t*/\n getStorage(type,name){\n var type=type||'local'\n if(type=='local'){\n var result = localStorage.getItem(name)? localStorage.getItem(name):\"\"\n }else if(type=='session'){\n var result = sessionStorage.getItem(name)? sessionStorage.getItem(name):\"\"\n }\n return result;\n },\n\n /*设置 storage 缓存数据\n *type 类型 local:localStorage session:sessionStorage\n *name 缓存数据name名\n *content 缓存的数据内容\n */\n setStorage(type,name,content){\n var type=type||'local'\n var data=content\n if(typeof(data)=='object'){ data=JSON.stringify(content) }\n if(type=='local'){\n localStorage.setItem(name,data)\n }else if(type=='session'){\n sessionStorage.setItem(name,data)\n }\n },\n /**\n * 调用app内部方法\n * eg:appCommonRule('20181224','reportLoadingCompletedJs',['1','2'])\n * 版本号日期,方法名,数组格式的参数\n * @param callback 回调传入app方法返回的值\n */\n appCommonRule(appIdForH5, methodName, value, callback) {\n // console.log('当前客户端版本为: ', YunJi.getversions())\n // console.log('当前页面为: ', 'xinyunpage')\n // console.log('获取到的csUseWKWeb', typeof YunJi.getcsUseWKWeb(), YunJi.getcsUseWKWeb(), Boolean(YunJi.getcsUseWKWeb()))\n\n if (YunJi.getversions() == '3.70.1021' && YunJi.appUA && YunJi.appUA.appClient == 'ios') {\n YunJi.newappCommonRule(20201021, methodName, value)\n return\n }\n \n if (parseInt(YunJi.getcsUseWKWeb(), 10) && YunJi.appUA && YunJi.appUA.appClient == 'ios') {\n YunJi.newappCommonRule(20201021, methodName, value)\n return\n }\n let appCont = YunJi.getUrlParams(\"appCont\") || 0\n let backValue\n if ((parseInt(appCont) == 1 || parseInt(appCont) == 2) && YunJi.appUA && YunJi.appUA.appIdForH5 >= appIdForH5) {\n // alert('yjapp[methodName]='+yjapp[methodName])\n if (typeof(yjapp) != \"undefined\" && typeof yjapp[methodName] == 'function') {\n // alert('这里把参数给app,参数为:'+value)\n if (value == undefined) {\n // backValue=eval(\"yjapp.\"+methodName+\"()\")\n backValue = yjapp[methodName]()\n } else {\n // backValue=eval(\"yjapp.\"+methodName+\"(\"+value+\")\")\n backValue = yjapp[methodName](value)\n }\n backValue&&callback&&callback(backValue)\n } else {\n if (!YunJi.getPhoneType()) {\n YunJi.appRule(methodName, value)\n }\n }\n }\n },\n newappCommonRule(appIdForH5,methodName,value) {\n console.log('使用了新的调用规则:', methodName)\n const appCont = YunJi.getUrlParams('appCont') || 0\n if ((parseInt(appCont) == 1 || parseInt(appCont) == 2) && YunJi.appUA && YunJi.appUA.appIdForH5 >= appIdForH5) {\n if (JSON.stringify(value) == '{}' || value == undefined || value == '') {\n try {\n console.log('实际进来了1')\n window.webkit.messageHandlers[methodName].postMessage(null)\n } catch (e) {\n // console.log(e)\n }\n } else {\n try {\n console.log('实际进来了2')\n window.webkit.messageHandlers[methodName].postMessage(value)\n } catch (e) {\n // console.log(e)\n }\n }\n }\n },\n /**\n * app的Android低版本手机规则调用\n * eg:appRule('reportLoadingCompletedJs',['1','2'])\n * {methodName:'reportLoadingCompletedJs',value:['1','2']}\n */\n appRule(methodName,value){\n // prompt(\"{methodName:\"+methodName+\",value:\"+value+\"}\");\n },\n /**\n * 获取url参数\n * @param param 参数名\n * @returns {*}\n */\n getUrlParams: function (param) {\n var ps = decodeURI(location.href);\n if (ps == '') return '';\n var params = (ps.substr(ps.lastIndexOf(\"?\") + 1)).split(\"&\");\n if (params != null) {\n for (var i = 0; i < params.length; i++) {\n var strs = params[i].split(\"=\");\n if (strs[0] == param && strs[1]) {\n return strs[1];\n }\n }\n }\n return \"\";\n },\n /**\n * 获取url参数\n * @param url 用来获取参数的链接\n * @param param 参数名\n * @returns {*}\n */\n getRedirectUrlParams: function (url,param) {\n var ps = decodeURI(url);\n if (ps == '') return '';\n var params = (ps.substr(ps.lastIndexOf(\"?\") + 1)).split(\"&\");\n if (params != null) {\n for (var i = 0; i < params.length; i++) {\n var strs = params[i].split(\"=\");\n if (strs[0] == param && strs[1]) {\n return strs[1];\n }\n }\n }\n return \"\";\n },\n /**\n * 设备类型\n */\n getPhoneType() {\n var result = false;\n var u = navigator.userAgent;\n if (u.indexOf('Android') > -1 || u.indexOf('Linux') > -1) {//安卓手机\n result = false;\n } else if (u.indexOf('iPhone') > -1) {//苹果手机\n result = true;\n } else if (u.indexOf('Windows Phone') > -1) {//winphone手机\n result = false;\n } else if (u.indexOf('iPhone Simulator') > -1) {\n result = true;\n }\n return result;\n },\n /**\n * 是否是ipx\n */\n isIphoneX(){\n return /iphone/gi.test(navigator.userAgent) && (screen.height == 812 && screen.width == 375)\n },\n /**\n * 传入版本号,如果当前客户端号 < 传入的版本号,则返回false布尔值\n */\n getVersionBool(version) {\n var appUA = navigator.userAgent; //app的UserAgent信息\n var appV = null\n if (appUA && appUA.indexOf('{\"appVersion') != -1) {\n // alert(appV.appIdForH5)\n appV = JSON.parse(appUA.substring(appUA.indexOf('{')))\n if(!appV || appV.appIdForH5 < version ){\n return false\n }\n return true\n }\n return false\n },\n getversions() {\n let appV = {}\n const appUA = navigator.userAgent // app的UserAgent信息\n if (appUA && appUA.indexOf('{\"appVersion') != -1) {\n appV = JSON.parse(appUA.substring(appUA.indexOf('{')))\n }\n return appV.appVersion\n },\n getcsUseWKWeb() {\n let appV = {}\n const appUA = navigator.userAgent // app的UserAgent信息\n if (appUA && appUA.indexOf('{\"appVersion') != -1) {\n appV = JSON.parse(appUA.substring(appUA.indexOf('{')))\n }\n return appV.csUseWKWeb\n },\n /**\n * 获取cookie的函数\n */\n getCookie(cookieName) {\n const strCookie = document.cookie\n const arrCookie = strCookie.split('; ')\n for (let i = 0; i < arrCookie.length; i++) {\n const arr = arrCookie[i].split('=')\n if (cookieName == arr[0]) {\n return arr[1]\n }\n }\n return ''\n }\n}\nexport default YunJi = new YunJi();","\n
\n \n
\n 为保障系统正常使用,请使用谷歌浏览器\n \n
\n \n
\n
\n \n
\n
\n \n
\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!./App.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!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=bef77114&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=less&\"\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 null,\n null\n \n)\n\nexport default component.exports","/* eslint-disable no-console */\n\nimport {\n register\n} from 'register-service-worker'\n\nif (process.env.NODE_ENV === 'production') {\n register(`${process.env.BASE_URL}service-worker.js`, {\n ready() {\n console.log(\n 'App is being served from cache by a service worker.\\n' +\n 'For more details, visit https://goo.gl/AFskqB'\n )\n },\n cached() {\n console.log('Content has been cached for offline use.')\n },\n updated() {\n console.log('New content is available please refresh.')\n },\n offline() {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n )\n },\n error() {\n }\n })\n}\n","/*\n对Date的扩展,将 Date 转化为指定格式的String\n月(M)、日(d)、小时(h)、分(m)、秒(s)、季度(q) 可以用 1-2 个占位符,\n年(y)可以用 1-4 个占位符,毫秒(S)只能用 1 个占位符(是 1-3 位的数字)\n(new Date()).format(\"yyyy-MM-dd hh:mm:ss.S\") ==> 2006-07-02 08:09:04.423\n(new Date()).format(\"yyyy-M-d h:m:s.S\") ==> 2006-7-2 8:9:4.18\n*/\nDate.prototype.format = function (fmt = 'yyyy-MM-dd') { // author: meizz\n var o = {\n 'M+': this.getMonth() + 1, // 月份\n 'd+': this.getDate(), // 日\n 'h+': this.getHours(), // 小时\n 'm+': this.getMinutes(), // 分\n 's+': this.getSeconds(), // 秒\n 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度\n 'S': this.getMilliseconds() // 毫秒\n }\n if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))\n for (var k in o) {\n if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))\n }\n return fmt\n}\n","import {\n version,\n locale,\n install,\n CollapseTransition,\n Loading,\n Pagination,\n Dialog,\n Autocomplete,\n Dropdown,\n DropdownMenu,\n DropdownItem,\n Menu,\n Submenu,\n MenuItem,\n MenuItemGroup,\n Input,\n InputNumber,\n Radio,\n RadioGroup,\n RadioButton,\n Checkbox,\n CheckboxButton,\n CheckboxGroup,\n Switch,\n Select,\n Option,\n OptionGroup,\n Button,\n ButtonGroup,\n Table,\n TableColumn,\n DatePicker,\n TimeSelect,\n TimePicker,\n Popover,\n Tooltip,\n MessageBox,\n Breadcrumb,\n BreadcrumbItem,\n Form,\n FormItem,\n Tabs,\n TabPane,\n Tag,\n Tree,\n Alert,\n Notification,\n Slider,\n Icon,\n Row,\n Col,\n Upload,\n Progress,\n Spinner,\n Message,\n Badge,\n Card,\n Rate,\n Steps,\n Step,\n Carousel,\n Scrollbar,\n CarouselItem,\n Collapse,\n CollapseItem,\n Cascader,\n ColorPicker,\n Transfer\n} from 'element-ui'\n\nBreadcrumb.props.separator.default = '>'\n\n// Switch.props.onValue.default = '0'\n// Switch.props.offValue.default = '1'\n\nMessageBox._confirm = MessageBox.confirm\nMessageBox.confirm = (content, title, props) => {\n return MessageBox._confirm(content, title, {\n customClass: 'dialog',\n ...props\n })\n}\n\nUpload.props.action.required = false\nUpload.props.action.default = '/api/upload/image'\n\nCarousel.beforeMount = function() {\n // 修正轮播图片在表单BUTTON提交的行为\n this.$nextTick(function() {\n Array.prototype.slice.call(this.$el.querySelectorAll('button')).forEach(function(item) {\n item.type = 'button'\n })\n })\n}\n\nCarousel.props.trigger.default = 'click'\n\nCarousel.props.slides = {\n type: Number,\n default: 1\n}\n\n/*\n *扩展Col组件百分比布局\n */\nCol.props.spanPercent = {\n type: Number\n}\nif (!Col.updated && !Col.mounted) {\n Col.updated = Col.mounted = function() {\n if (this.spanPercent) {\n let width = `${this.spanPercent}%`\n if (this.$el.style.width !== width) {\n this.$el.style.width = width\n }\n }\n }\n}\n\nForm.props.labelWidth.default = '142px'\n\nPagination.props.layout.default = 'prev, pager, next, sizes, jumper, total'\nPagination.props.pageSizes.default = () => {\n return [15, 20, 30, 40, 50]\n}\n/*\n *重写InputNumber默认行为\n */\nInputNumber.props.value.default = null\nInputNumber.props.validateEvent = true\nInputNumber.props.controls = false // 默认不是控制按钮\n// InputNumber.props.debounce.default = 380\nInputNumber.props.max.default = 100000\nInputNumber.props.bit = {\n type: Number\n}\nInputNumber.created = () => {}\nInputNumber.beforeMount = function() {\n this.$nextTick(() => {\n var self = this\n this.$el.addEventListener(\n 'keydown',\n function(e) {\n e.keyCode === 13 && self.handleBlur(e)\n },\n false\n )\n this.$el.addEventListener(\n 'focusin',\n function(e) {\n e.target.select() // 得到焦点选中值\n },\n false\n )\n this.$refs.input.setCurrentValue = function(value) {\n // 重写 setCurrentValue控制validateEvent\n if (value === this.currentValue) return\n this.$nextTick(function() {\n this.resizeTextarea()\n })\n this.currentValue = value\n if (self.validateEvent) {\n this.dispatch('ElFormItem', 'el.form.change', [value])\n }\n }\n })\n}\nInputNumber.methods.debounceHandleInput = function() {}\nInputNumber.methods.handleBlur = function(e) {\n var value = Number(e.target.value)\n if (!isNaN(value)) {\n let bValue = this.bit || 1\n let newValue = Math.round((1 / bValue) * value) / (1 / bValue)\n this.setCurrentValue(newValue)\n } else {\n this.$refs.input.setCurrentValue(this.currentValue)\n }\n}\n\n// DatePicker.props.editable = false\n// DatePicker.props.format = {\n// type: String,\n// default: 'yyyy-MM-dd'\n// }\n// if (!DatePicker.mounted && !DatePicker.updated) {\n// // 对format ww 月周扩展\n// DatePicker.mounted = DatePicker.updated = function() {\n// let value = this.currentValue\n// if (value && this.type === 'week' && this.format.indexOf('ww') > -1) {\n// this.$nextTick(function() {\n// var getMonthWeek = function(a, b, c) {\n// var date = new Date(a, parseInt(b), c)\n// var w = date.getDay()\n// var d = date.getDate()\n// return Math.ceil((d + 6 - w) / 7)\n// }\n// let currentValue = this.$el.querySelector('input').value\n// this.$el.querySelector('input').value = currentValue.replace(\n// 'ww',\n// getMonthWeek(value.getFullYear(), value.getMonth(), value.getDate())\n// )\n// })\n// }\n// }\n// }\n\n/*\n * Input组件含输入文字数扩展\n */\nInput.props.numberWord = {\n type: Boolean,\n default: false\n}\nInput.beforeMount = function() {\n if (this.numberWord) {\n // this.$refs.input.attributes.maxlength = this.maxlength\n this.$nextTick(function() {\n if (this.$attrs.maxlength) {\n let node = document.createElement('div')\n node.className = 'el-input-word-counter'\n node.innerHTML = this.value ? this.value.length+ '/' + this.$attrs.maxlength : 0 + '/' + this.$attrs.maxlength\n this.$el.appendChild(node)\n if (this.$el.classList) {\n this.$el.classList.add('el-input__number-word')\n } else if (this.$el.className.indexOf('el-input__number-word') === -1) {\n this.$el.className += ' el-input__number-word'\n }\n }\n })\n }\n}\nInput.updated = function() {\n if (this.numberWord) {\n let node = this.$el.querySelector('.el-input-word-counter')\n if (node && this.value) {\n node.innerHTML = this.value.length + '/' + this.$attrs.maxlength\n }else if(node && !this.value) {\n node.innerHTML = 0 + '/' + this.$attrs.maxlength\n }\n }\n}\n\nexport {\n version,\n locale,\n install,\n CollapseTransition,\n Loading,\n Pagination,\n Dialog,\n Autocomplete,\n Dropdown,\n DropdownMenu,\n DropdownItem,\n Menu,\n Submenu,\n MenuItem,\n MenuItemGroup,\n Input,\n InputNumber,\n Radio,\n RadioGroup,\n RadioButton,\n Checkbox,\n CheckboxButton,\n CheckboxGroup,\n Switch,\n Select,\n Option,\n OptionGroup,\n Button,\n ButtonGroup,\n Table,\n TableColumn,\n DatePicker,\n TimeSelect,\n TimePicker,\n Popover,\n Tooltip,\n MessageBox,\n Breadcrumb,\n BreadcrumbItem,\n Form,\n FormItem,\n Tabs,\n TabPane,\n Tag,\n Tree,\n Alert,\n Notification,\n Slider,\n Icon,\n Row,\n Col,\n Upload,\n Progress,\n Spinner,\n Message,\n Badge,\n Card,\n Rate,\n Steps,\n Step,\n Carousel,\n Scrollbar,\n CarouselItem,\n Collapse,\n CollapseItem,\n Cascader,\n ColorPicker,\n Transfer\n}\n","// state\nlet state = {\n lock: false\n}\n\n// getters\nconst getters = {\n lock: state => state.lock\n}\n\n// actions\nconst actions = {\n // open({ commit, state }, params) {\n close({ commit }) {\n commit('CLOSE')\n },\n open({ commit }) {\n commit('OPEN')\n }\n}\n// mutations\nconst mutations = {\n CLOSE(state) {\n state.lock = false\n },\n OPEN(state) {\n state.lock = true\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}","/*\n * @Description: \n * @Author: 李方强\n * @Date: 2019-07-25 16:12:31\n * @LastEditTime: 2021-08-06 16:04:46\n * @LastEditors: lkz\n */\nimport util from '../../views/work/util'\n// state\nconst state = {\n send: 0,\n arrlist: [], // 所有数组\n index: 99, // 当前第几个\n leftnum: 0, // 0:当前对话、1:历史对话、2:正在排队\n showmid: false, // 显示中间和右边\n topfont: '2', // 顶部上线离线状态\n nowlist: {}, // 当前对话\n empIds: '', // 客服empid\n treecontent: '', // 点击快捷回复\n cleararr: false, // 清空所有记录\n oldflg: true, // 显示历史对话\n oldlist: [],\n oldnow: {}, // 当前历史对话\n fonttext: 0,\n dingdan: {},\n showZone: {\n message: false,\n quickReply: false\n },\n wsState: false, // webstock 链接状态\n wsConnetState: 2,\n midItemClick: {}, // 点击中间了的商品订单item\n startTypeEnum: [], // 工作台状态列表\n setOastate: {}, // 设置头部OA申请状态切换\n oldIndex: 99, // 历史对话当前点击第几个\n serviceOption: [], // 工作台服务小记公告列表\n threadData: { // 获取当前crm的线索\n channelId: '',\n channelContent: '',\n targetId: '',\n targetContent: ''\n },\n orderLesseeId: ''\n}\n\n// getters\nconst getters = {\n getSend: state => state.send,\n getArrlist: state => state.arrlist,\n getIndex: state => state.index,\n getleftnum: state => state.leftnum,\n getshowmid: state => state.showmid,\n gettopfont: state => state.topfont,\n nowlist: state => state.nowlist,\n empIds: state => state.empId,\n gettreecontent: state => state.treecontent,\n setclear: state => state.cleararr,\n oldflg: state => state.oldflg,\n oldlist: state => state.oldlist,\n oldnow: state => state.oldnow,\n getfonttext: state => state.fonttext,\n showZone: state => state.showZone,\n wsState: state => state.wsState,\n wsConnetState: state => state.wsConnetState,\n getMidItemClick: state => state.midItemClick,\n startTypeEnum: state => state.startTypeEnum,\n getsetOastate: state => state.setOastate,\n getoldIndex: state => state.oldIndex,\n serviceOption: state => state.serviceOption,\n getThreadData: state => state.threadData,\n getorderLesseeId: state => state.orderLesseeId\n}\n\n// actions\nconst actions = {\n setIndexval({ commit }, val) {\n // 当前第几个\n commit('SETINDEX', val)\n },\n setArr({ commit, state }, val) {\n // 每次获取消息都存起来\n if (val.cmd === 1) {\n if (val.content) {\n val.content = JSON.parse(val.content)\n }\n const checklist = util.checkarrflg(state.arrlist, val.content.consumerId)\n val.showclose = 0\n switch (val.onlineStatus) {\n case 1:\n val.onlineStatus = 2\n break\n case 3:\n val.onlineStatus = 0\n break\n default: break\n }\n if (!checklist.flg) {\n val.children = []\n val.read = 0\n val.choose = false\n // val.star = 1\n val.hasMessage = 0\n val.serviceCount = 0 // ?\n val.box = {} // ?\n val.userdata = {} // 用户信息-预留字段\n val.readnum = 0 // 消息数\n val.orderList = []\n val.imgList = []\n val.sessionId = val.content.sessionId\n // val.updateFirstResponseTime = true\n val.showclose = 0\n const time = (val.content.noReplyTime ? (new Date() - val.content.noReplyTime) : 0) || val.getTime || 0\n val.getTime = time // 影响刷新第一次进线有没有倒计时\n if (val.content.empNickName) {\n // 客服头像需求 empNickName用来区分客服信息和用户信息,防止推入用户信息 2019/8/6\n const newval = JSON.parse(JSON.stringify(val))\n val.children.push(newval)\n }\n state.arrlist.push(val)\n } else {\n state.arrlist[checklist.index].showclose = val.onlineStatus\n state.arrlist[checklist.index].sessionId = val.content.sessionId\n // state.arrlist[checklist.index].getTime = new Date() // 影响接收用户信息,并开始倒计时\n if (val.markStarLevel !== undefined) state.arrlist[checklist.index].markStarLevel = val.markStarLevel\n if (state.nowlist.content.consumerId === val.content.consumerId) {\n if (state.nowlist.content.sessionId !== val.content.sessionId) {\n state.nowlist.content = val.content\n state.nowlist.sessionId = val.content.sessionId\n state.nowlist.star = 1\n // val.updateFirstResponseTime = true\n }\n }\n if (state.arrlist[checklist.index].content.sessionId !== val.content.sessionId) {\n // state.arrlist[checklist.index].star = 1\n state.arrlist[checklist.index].content.sessionId = val.content.sessionId\n // state.arrlist[checklist.index].updateFirstResponseTime = true\n }\n if (val.reset == 1) {\n val.children = []\n val.choose = false\n val.hasMessage = 0\n val.userdata = {}\n val.orderList = []\n val.imgList = []\n }\n }\n commit('SETARRLIST', state.arrlist)\n } else if (val.cmd == 0 || val.cmd == 23) {\n let num = 99\n let flgs = false\n if (val.send == 1) {\n // 判断是否客服发送\n val.flg = 2\n flgs = true\n num = state.index\n if (val.type == 10) {\n if (val.content.orderPackageVoList && val.content.orderPackageVoList.length) {\n val.content.seldata = val.content.orderPackageVoList[0]\n val.content.nums = 0\n }\n }\n state.arrlist[num].getTime = 0\n } else {\n // 如果是用户发送消息\n if (val.cmd == 0 && val.fromType == 'POP') return\n state.arrlist.forEach((item, i) => {\n if (item.content.consumerId == val.from) {\n num = i\n flgs = true\n val.flg = 1\n const itemMsgid = item.children.find(j => j.msgId == val.msgId)\n if (itemMsgid) {\n flgs = false\n }\n }\n })\n if (state.arrlist[num]) {\n state.arrlist[num].readnum = state.arrlist[num].readnum += 1\n }\n // if ((val.cmd == 0 && (val.type == 1 || val.type == 2)) || val.type == 14) {\n // val.content = JSON.parse(val.content)\n // }\n val = util.parseContent(val)\n if (state.arrlist[num] && !state.arrlist[num].getTime) state.arrlist[num].getTime = new Date()\n }\n if (state.index < 30) {\n state.arrlist[state.index].readnum = 0\n }\n if (flgs) {\n // state.arrlist[num].getTime = 0 // 影响客服清空倒计时,有问题要改\n state.arrlist[num].read = 0\n if (state.index < 90) {\n state.arrlist[state.index].read = 1\n }\n if (val.cmd === 0 && val.type === 3) { // 图片保存起来\n if (state.nowlist && state.nowlist.content.consumerId === val.from) {\n // 当前用户推送图片时\n state.nowlist.imgList.push(val.content)\n }\n // 非当前沟通用户推送图片时保存图片\n const msgItem = state.arrlist.find(item => item.from === val.from)\n if (msgItem) msgItem.imgList.push(val.content)\n // for (let i = 0; i < state.arrlist.length; i += 1) {\n // const { from } = state.arrlist[i]\n // if (from.toString() === val.from) {\n // if (state.arrlist[i].imgList.indexOf(val.content) === -1) state.arrlist[i].imgList.push(val.content)\n // }\n // }\n }\n state.arrlist[num].box = val\n state.arrlist[num].children.push(val)\n commit('SETARRLIST', state.arrlist)\n }\n } else if (val.cmd == 2) {\n const checklist = util.checkarrflg(state.arrlist, val.from)\n if (checklist.flg) {\n val.showclose = val.type\n state.arrlist[checklist.index].showclose = val.type\n commit('SETARRLIST', state.arrlist)\n }\n } else if (val.cmd == 10) {\n if (window.location.href.indexOf('t.yunjiglobal.com') > -1) {\n window.location.href = 'http://tsso.yunjiglobal.com/index'\n } else {\n window.location.href = 'http://sso.yunjiglobal.com'\n }\n } else if (val.cmd === 3) {\n // const newcurlist = JSON.parse(JSON.stringify(state.arrlist))\n state.arrlist.forEach((i, v) => {\n if (i.content.consumerId == val.to) {\n i.children.forEach((j, k) => {\n if (j.msgId == val.msgId) {\n j.showgif = 3\n j.msgTime = val.msgTime\n }\n })\n }\n })\n // commit('SETARRLIST', newcurlist)\n if (state.nowlist.children) {\n state.nowlist.children = state.arrlist[state.index].children\n }\n }\n },\n setleft({ commit, state }, val) {\n // 保存左侧栏当前第几个\n commit('SETLEFTNUM', val)\n },\n setshowmid({ commit, state }, val) {\n // 显示中间和右边的开关\n commit('SETSHOW', val)\n },\n settopfont({ commit, state }, val) {\n // 顶部上线离线状态\n commit('SETFONTS', val)\n },\n setNewarrs({ commit, state }, val) {\n // 重新赋值arrlist\n commit('SETARRLIST', val)\n },\n setnowlist({ commit, state }, val) {\n commit('SETNOWLIST', val)\n },\n setempIds({ commit, state }, val) {\n commit('SETEMPIDS', val)\n },\n settreecontent({ commit, state }, val) {\n commit('SETTREECONTENT', val)\n },\n setcleararr({ commit, state }, val) {\n commit('SETCLEARARR', val)\n },\n setoldflg({ commit, state }, val) {\n commit('SETOLDFLG', val)\n },\n setoldlist({ commit, state }, val) {\n commit('SETOLDLIST', val)\n },\n setoldnow({ commit, state }, val) {\n commit('SETOLDNOW', val)\n },\n getfonttext({ commit, state }, val) {\n commit('GETFONTTEXT', val)\n },\n getdingdan({ commit, state }, val) {\n commit('GETDINGDAN', val)\n },\n\n setnowlistchildren({ commit, state }, val) {\n commit('SETNOWLISTCHILDREN', val)\n },\n setStartTypeEnum({ commit, state }, val) {\n commit('SETSTARTTYPEENUM', val)\n },\n /**\n * @description: 控制显示区域\n * @param {type}\n * @return:\n */\n setShowZone({ commit }, val) {\n commit('SETSHOWZONE', val)\n },\n /**\n * @description: 设置webstock状态\n * @param {type}\n * @return:\n */\n setWsState({ commit }, params) {\n commit('SET_WS_STATE', params)\n },\n /**\n * @description: 设置webstock连接状态\n * @param {*} param0\n * @param {*} params\n */\n setWsConnetState({ commit }, params) {\n commit('SET_WS_CONNET_STATE', params)\n },\n /**\n * @description: 设置中间商品卡片的点击item\n * @param {*} param0\n * @param {*} params\n */\n setMidItemClick({ commit }, params) {\n commit('SET_MID_ITEM_CLICK', params)\n },\n setSetOastate({ commit }, params) {\n commit('SETOASTATE', params)\n },\n /**\n * @description: 历史对话当前点击第几个\n * @param {*} param0\n * @param {*} params\n */\n setoldIndex({ commit }, params) {\n commit('SETOLDINDEX', params)\n },\n setserviceOption({ commit }, params) {\n commit('SETSERVICEOPTION', params)\n },\n setThreadData({ commit }, params) {\n commit('SETTHREADDATA', params)\n },\n setOrderLesseeId({ commit }, params) {\n commit('SETORDERLESSEEID', params)\n },\n setNowListByItem({ commit }, params) {\n commit('SETNOWLISTBYITEM', params)\n }\n}\n// mutations\nconst mutations = {\n SETARRLIST(state, val) {\n // 通知SETARRLIST\n state.arrlist = val\n },\n SETINDEX(state, val) {\n // 当前第几个\n state.index = val\n },\n SETLEFTNUM(state, val) {\n // 保存左侧栏\n state.leftnum = val\n },\n SETSHOW(state, val) {\n // 显示中间和右边的开关\n state.showmid = val\n },\n SETFONTS(state, val) {\n state.topfont = val // 顶部上线离线状态\n },\n SETNOWLIST(state, val) {\n // 历史对话\n\n if (val) {\n state.nowlist = val\n } else {\n state.nowlist = {}\n }\n },\n SETEMPIDS(state, val) {\n state.empIds = val\n },\n SETTREECONTENT(state, val) {\n state.treecontent = val\n },\n SETCLEARARR(state, val) {\n state.arrlist = []\n state.index = 0\n state.nowlist = []\n state.showmid = false\n state.cleararr = val\n },\n SETOLDFLG(state, val) {\n state.oldflg = val\n },\n SETOLDLIST(state, val) {\n state.oldlist = val\n },\n SETOLDNOW(state, val) {\n state.oldnow = val\n },\n GETFONTTEXT(state, val) {\n state.getfonttext = val\n },\n GETDINGDAN(state, val) {\n state.dingdan = val\n },\n SETNOWLISTCHILDREN(state, val) {\n state.nowlist.children = val\n },\n SETSHOWZONE(state, val) {\n state.showZone = Object.assign(state.showZone, val)\n },\n SET_WS_STATE(state, params) {\n state.wsState = params\n },\n SET_WS_CONNET_STATE(state, params) {\n state.wsConnetState = params // 状态有3中: 0是正常 1是重连中 2断开\n },\n SET_MID_ITEM_CLICK(state, params) {\n state.midItemClick = params\n },\n SETSTARTTYPEENUM(state, params) {\n state.startTypeEnum = params\n },\n SETOASTATE(state, params) {\n state.setOastate = params\n },\n SETOLDINDEX(state, params) {\n state.oldIndex = params\n },\n SETSERVICEOPTION(state, params) {\n state.serviceOption = params\n },\n SETTHREADDATA(state, params) {\n state.threadData = params\n },\n SETORDERLESSEEID(state, params) {\n state.orderLesseeId = params\n },\n SETNOWLISTBYITEM(state, params) {\n // console.log(state.nowlist.children[params].content)\n const random = new Date().getTime()\n const item = state.nowlist.children[params]\n item.content = `${item.content}?v=${random}`\n state.nowlist.children.splice(params, 1, JSON.parse(JSON.stringify(state.nowlist.children[params])))\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * @Description: \n * @Author: 李方强\n * @Date: 2019-12-06 09:53:45\n * @LastEditTime: 2020-03-10 15:26:13\n * @LastEditors: 李方强\n */\n// state\nlet state = {\n types:1, //页面条件\n orderType:{}, // 排序条件\n ruleForm:{},\n knowledgeMasterId:'',\n moreSearch:'', //查看更多\n treeKey:[], //树形结构\n}\n\n// getters\nconst getters ={\n getTypes: state => state.types,\n getOrderType:state => state.orderType,\n getRuleForm: state => state.ruleForm,\n getknowledgeMasterId: state => state.knowledgeMasterId,\n getMoreSearch: state => state.moreSearch,\n getTreeKey:state => state.treeKey,\n\n}\n\n//actions\nconst actions ={\n setTypes({commit, state},val) {\n commit('SETTYPES',val)\n },\n setOrderType({commit, state},val) {\n commit('SETORDERTYPE',val)\n },\n setRuleForm({commit, state},val) {\n commit('SETRULEFORM',val)\n },\n setknowledgeMasterId({commit, state},val) {\n commit('SETKNOWLEDGEMASTERID',val)\n },\n setmoreSearch({commit,state},val) {\n commit('SETMORESEARCH',val)\n },\n setTreeKey({commit,state},val) {\n commit('SETTREEKEY',val)\n }\n}\n\nconst mutations ={\n SETTYPES(state, val) {\n //通知SETTYPES\n state.types = val\n },\n SETORDERTYPE(state, val) {\n //通知SETTYPES\n state.orderType = val\n },\n SETRULEFORM(state, val) {\n //通知SETRULEFORM\n console.log(val)\n state.ruleForm = val\n },\n SETKNOWLEDGEMASTERID(state, val) {\n //通知SETKNOWLEDGEMASTERID\n state.knowledgeMasterId = val\n },\n SETMORESEARCH(state,val) {\n state.moreSearch = val\n },\n SETTREEKEY(state,val) {\n state.treeKey = val\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}","/*\n * @Description: \n * @Author: 李方强\n * @Date: 2019-07-25 16:12:31\n * @LastEditTime: 2019-09-12 11:11:15\n * @LastEditors: 李方强\n */\nimport Vue from 'vue'\nimport Vuex from 'vuex'\nimport test from './modules/test'\nimport work from './modules/work'\nimport knowledgeSearch from './modules/knowledgeSearch'\n\nVue.use(Vuex)\n\n// state\nlet state = {\n token: '',\n userId: '',\n sessdatas: {},\n buttonAll: []\n}\n\n// getters\nconst getters = {\n getsessdatas: state => state.sessdatas,\n getbuttonAll: state => state.buttonAll\n}\n\n\n// actions\nconst actions = {\n setdatas({ commit, state}, val) {\n commit('SETDATAS', val)\n },\n setbuttonAll({ commit, state}, val) {\n commit('SETBUTTONALL', val)\n }\n}\n\n// mutations\nconst mutations = {\n SETDATAS(state, val) {\n state.sessdatas = val\n },\n SETBUTTONALL(state, val) {\n state.buttonAll = val\n }\n}\n\nconst store = new Vuex.Store({\n state,\n actions,\n getters,\n mutations,\n modules: {\n test,\n work,\n knowledgeSearch\n },\n strict: false\n})\n\nexport default store\n","import Vue from 'vue'\n\nconst Bus = new Vue()\nexport default Bus\n","import Vue from 'vue'\n\nconst preventReClick = Vue.directive('preventReClick', {\n inserted: function (el, binding) {\n el.addEventListener('click', () => {\n if (!el.disabled) {\n el.disabled = true\n setTimeout(() => {\n el.disabled = false\n }, binding.value || 3000)\n }\n })\n }\n})\n\nexport { preventReClick }","/*\n * @Description: \n * @Author: 李方强\n * @Date: 2019-12-06 09:53:45\n * @LastEditTime: 2020-03-26 10:48:02\n * @LastEditors: 李方强\n */\n/** \n \n- 禁用过滤器(filter),采用函数包装的形式代替,如:{{ filterCompany(data) }}\n- 禁用 directive (涉及dom操作),推荐改用直接传递 props 形式,包装成一个新的组件\n- 禁用 mixins,因为它会带来隐式的依赖传递,随着后期维护成本攀升,会导致名称冲突、业务逻辑冲突等等潜在的风险,尽可能的将代码包装成一个class模块或者vue组件,以便让代码内聚更高,可维护可扩展性更高\n\n */\n\nimport Vue from 'vue'\nimport * as GlobalUI from '@ui/manage'\nimport * as filters from '@core/filters' // 全局vue filter\nimport DOMPurify from 'dompurify'\nimport * as yunjiComponents from 'yunji-components'\nimport App from '@/App.vue'\nimport router from '@/routers'\nimport '@/registerServiceWorker'\nimport '@core/polyfill' // 原型方法\nimport * as ElementUI from '@/element-ui'\nimport 'element-ui/lib/theme-chalk/index.css'\nimport '@ui/manage/styles/index.less'\nimport store from '@/store'\nimport { YjErrorReport } from '@yunji/report'\n// 防止重复点击指令\nimport preventReClick from './utils/config/preventReclick'\nimport bus from './utils/bus'\n \n/**\n * 原因:包黄说没有添加被动监听器来阻止'touchstart'事件,请考虑添加事件管理者,使页面更流畅\n * 解决方案:npm i default-passive-events -S\n*/\nimport 'default-passive-events'\n\n// import 'yunji-components/lib/styles/index.less'\nimport 'yunji-components/lib/yunji-components.css'\n\nVue.use(ElementUI, { size: 'small' })\nVue.use(yunjiComponents)\n\nVue.use((Vue) => {\n ((requireContext) => {\n const arr = requireContext.keys().map(requireContext);\n (arr || []).forEach((directive) => {\n directive = directive.__esModule && directive.default ? directive.default : directive\n Object.keys(directive).forEach((key) => {\n Vue.directive(key, directive[key])\n })\n })\n })(require.context('./directive', false, /^\\.\\/.*\\.js$/))\n})\nVue.prototype.$xss = DOMPurify.sanitize\nVue.use(ElementUI, {\n size: 'small'\n})\nVue.use(GlobalUI)\nVue.use(bus)\nVue.prototype.$bus = bus\n\n// register global utility filters.\nObject.keys(filters).forEach((key) => {\n Vue.filter(key, filters[key])\n})\n\n// 开发环境警告\nVue.config.warnHandler = (msg, vm, trace) => {\n // `trace` 是组件的继承关系追踪\n console.warn(msg, vm, trace)\n}\n// 生产环境错误信息\n// Vue.config.errorHandler = (err, vm) => {\n// // handle error\n// // `info` 是 Vue 特定的错误信息,比如错误所在的生命周期钩子\n// // 只在 2.2.0+ 可用\n// console.error(err, vm)\n// }\n\n// 全局配置\nVue.config.productionTip = false\n// Vue.config.errorHandler = function (err, vm, info) {\n// // 用作全局页面处理\n// // 异步则跳到 500 错误页面,并将错误信息传递过去\n// }\n// 设置title\nrouter.beforeEach((to, from, next) => {\n document.title = to.meta.title || 'IM客服系统'\n window.scrollTo(0, 0)\n next()\n})\n\n/**\n * 守望系统上传报错\n */\nconst returnPackage = () => {\n if (typeof window.JENKINS !== 'undefined' && window.JENKINS.packageName) {\n return {\n packageName: window.JENKINS.packageName,\n packageVersion: window.JENKINS.packageVersion\n }\n }\n return {}\n}\n/** \n * 调用\n */\nconst yjerror = new YjErrorReport(Vue, {\n projectName: 'xinyunweb',\n environment: document.domain !== 'xinyunadmin.yunjiglobal.com' ? 'test' : 'release',\n packageName: returnPackage().packageName,\n packageVersion: returnPackage().packageVersion\n})\nnew Vue({\n router,\n store,\n render: h => h(App)\n}).$mount('#app')\n","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../node_modules/css-loader/index.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!./createWorkOrder.vue?vue&type=style&index=0&id=44e07f3e&lang=less&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/index.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!./Wrapper.vue?vue&type=style&index=0&lang=less&\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../node_modules/css-loader/index.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!./VideoUpload.vue?vue&type=style&index=0&id=7636856c&lang=less&scoped=true&\"","export * from \"-!../../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../../../node_modules/css-loader/index.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!./cardDetailTemplate.vue?vue&type=style&index=0&lang=less&\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../node_modules/css-loader/index.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!./ItemTemplate.vue?vue&type=style&index=0&id=48fa968f&lang=less&scoped=true&\"","/*\n * @Description: \n * @Autor: wk\n * @Date: 2019-05-18 10:42:34\n * @LastEditors: 一诺(丘汉文)\n * @LastEditTime: 2020-03-20 14:52:39\n */\nclass Util {\n /**\n * 检测某值在数组中是否存在 并返回存在的索引值\n * arr 数组集合(一维json数组)\n * value json的key值\n * checkKey 检测的key值\n * 用法:let arrlist = [{name:'张三',sex:'男'},{name:'李四',sex:'女'}]\n * isInArrayAndIndex(arrlist,'张三','name')\n * */\n isInArrayAndIndex = (arr, value, checkKey) => {\n const result = {\n isin: false,\n index: 0\n }\n for (let i = 0, len = arr.length; i < len; i += 1) {\n if (value == arr[i][checkKey]) {\n result.isin = true\n result.index = i\n }\n }\n return result\n }\n\n /** *\n * 检查是否对应用户\n * arr 数组集合\n * value json的key值 \n * * */\n checkarrflg = (arr, value) => {\n const result = {\n index: 0,\n flg: false\n }\n arr.forEach((i, v) => {\n if (value === i.content.consumerId) {\n result.index = v\n result.flg = true\n }\n })\n return result\n }\n\n /** *时间* */\n FormatDate = (date, type) => {\n if (!date) return ''\n date = typeof date === 'number' ? new Date(date) : date\n type = type || 'yyyy-MM-dd HH:mm:ss'\n const obj = {\n y: date.getFullYear(), // 年份,注意必须用getFullYear\n M: date.getMonth() + 1, // 月份,注意是从0-11\n d: date.getDate(), // 日期\n q: Math.floor((date.getMonth() + 3) / 3), // 季度\n w: date.getDay(), // 星期,注意是0-6\n H: date.getHours(), // 24小时制\n h: date.getHours() % 12 === 0 ? 12 : date.getHours() % 12, // 12小时制\n m: date.getMinutes(), // 分钟\n s: date.getSeconds(), // 秒\n S: date.getMilliseconds() // 毫秒\n }\n const week = ['天', '一', '二', '三', '四', '五', '六']\n for (const i in obj) {\n type = type.replace(new RegExp(`${i}+`, 'g'), (m) => {\n let val = `${obj[i]}`\n if (i === 'w') return (m.length > 2 ? '星期' : '周') + week[val]\n for (let j = 0, len = val.length; j < m.length - len; j += 1) val = `0${val}`\n return m.length === 1 ? val : val.substring(val.length - m.length)\n })\n }\n return type\n }\n\n // 处理消息中需要将content转换json情况\n parseContent = (data) => {\n if (data.type === 1 || data.type === 2 || data.type === 10 || data.type === 14 || data.cmd === 1 || data.type === 16 || data.cmd == 23 || data.cmd == 22 || data.cmd == 0 && data.type === 21 || data.cmd == 0 && data.type === 12) {\n try {\n data.content = JSON.parse(data.content)\n } catch (error) {\n data.content = data.content\n }\n }\n return data\n }\n}\nexport default new Util()\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/index.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=643af38c&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.figureVisible)?_c('div',[_c('el-dialog',{attrs:{\"append-to-body\":true,\"custom-class\":\"figureDialog\",\"close-on-click-modal\":false,\"title\":_vm.title,\"visible\":_vm.figureVisible,\"width\":\"500px\"},on:{\"update:visible\":function($event){_vm.figureVisible=$event}}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.dialogtype == 1),expression:\"dialogtype == 1\"}],staticClass:\"dialogtype\"},[_vm._v(\"存在以下同图的售后单/补偿单,请确认是否要提交:\")]),_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData,\"span-method\":_vm.objectSpanMethod,\"border\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"imageUrl\",\"label\":\"图片\",\"width\":\"100\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"img-wrapper\"},[_c('img',{attrs:{\"src\":scope.row.imageUrl}})])]}}],null,false,431640755)}),_c('el-table-column',{attrs:{\"prop\":\"afterTypeName\",\"label\":\"单号类型\",\"align\":\"center\"}}),_c('el-table-column',{attrs:{\"prop\":\"afterId\",\"label\":\"单号\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(scope.row.afterType == 2),expression:\"scope.row.afterType == 2\"}],attrs:{\"type\":\"text\"},on:{\"click\":function($event){_vm.$emit('cellClick', Object.assign(scope.row,{ verson : 2}))}}},[_vm._v(_vm._s(scope.row.afterId))]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(scope.row.afterType == 1),expression:\"scope.row.afterType == 1\"}]},[_vm._v(_vm._s(scope.row.afterId))])]}}],null,false,3091411645)})],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.dialogtype==1),expression:\"dialogtype==1\"}],on:{\"click\":function($event){_vm.figureVisible=false}}},[_vm._v(\"取消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.handleSave}},[_vm._v(\"确认\")])],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","
\n \n
\n 存在以下同图的售后单/补偿单,请确认是否要提交:
\n \n \n \n \n
![]()
\n
\n \n \n \n \n \n {{\n scope.row.afterId\n }}\n {{ scope.row.afterId }}\n \n \n \n \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!./figureDialog.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!./figureDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./figureDialog.vue?vue&type=template&id=3b59d3f5&\"\nimport script from \"./figureDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./figureDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./figureDialog.vue?vue&type=style&index=0&lang=less&\"\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 null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../../node_modules/css-loader/index.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!./priceProtectionCalculationTool.vue?vue&type=style&index=0&id=d97e66a0&lang=less&scoped=true&\"","/*\n * @Description:\n * @Autor: wk\n * @Date: 2019-06-11 11:16:08\n * @LastEditors: lkz\n * @LastEditTime: 2021-11-07 09:34:11\n */\nimport * as httpAgent from 'utils/http'\nimport { addRequestParam, returnReqURI } from '../utils'\n\n/** 工单原因 */\nexport function serviceIssueList(params, options) {\n return httpAgent.GET(returnReqURI('woTemplate/serviceIssueList.json'), params, options)\n}\nexport function getLevelCount3Issues(params, options) {\n return httpAgent.GET(returnReqURI('woTemplate/getLevelCount3Issues.json'), params, options)\n}\n\n\n/** 创建工单 */\nexport function createWorkOrder(params, options = { type: 'formData', errorMsg: 'none', context: true }) {\n params = addRequestParam(params)\n return httpAgent.POST(returnReqURI('workorder/extend/createWorkOrder'), params, options)\n}\n/** 获取全部工单 */\n// export function queryAllWorkOrder(params, options) {\n// return httpAgent.GET('workorder/extend/queryAllWorkOrder.json', params, options)\n// }\n/** 分配任务 */\nexport function dispatchWorkOrderManual(params, options = { type: 'formData' }) {\n params = addRequestParam(params)\n return httpAgent.POST(returnReqURI('workorder/extend/dispatchWorkOrderManual.json'), params, options)\n}\n/** 转交任务 */\nexport function transTask(params, options = { type: 'formData' }) {\n params = addRequestParam(params)\n return httpAgent.POST(returnReqURI('workorder/extend/transTask.json'), params, options)\n}\n/** 认领任务 */\nexport function claimCurrentTask(params, options = { type: 'formData' }) {\n params = addRequestParam(params)\n return httpAgent.POST(returnReqURI('workorder/extend/claimCurrentTask.json'), params, options)\n}\n/** 催促任务 */\nexport function workOrderTaskUrge(params, options = { type: 'formData' }) {\n params = addRequestParam(params)\n return httpAgent.POST(returnReqURI('workorder/extend/workOrderTaskUrge.json'), params, options)\n}\n/** 获取模板配置 */\nexport function queryTempleteInfo(params, options) {\n return httpAgent.POST(\n returnReqURI(`woTemplate/${options && options.isNewApi ? 'selectTemplateByParam' : 'selectTemplateByCondition'}`),\n params,\n options\n )\n}\n/** 查询工单详情 */\nexport function getWorkOrderDetail(params, options) {\n params = addRequestParam(params)\n return httpAgent.GET(returnReqURI('workorder/extend/getWorkOrderDetail.json'), params, options)\n}\n/** 回复工单 */\nexport function interveneTask(params, options = { type: 'formData' }) {\n params = addRequestParam(params)\n return httpAgent.POST(returnReqURI('workorder/extend/interveneTask.json'), params, options)\n}\n/** 取消工单 */\nexport function cancelWorkOrder(params, options = { type: 'formData' }) {\n params = addRequestParam(params)\n return httpAgent.POST(returnReqURI('workorder/extend/cancelWorkOrder.json'), params, options)\n}\n/** 备注工单 */\nexport function addRemark(params, options = { type: 'formData' }) {\n params = addRequestParam(params)\n return httpAgent.POST(returnReqURI('workorder/extend/addRemark.json'), params, options)\n}\n/** 获取任务节点可操作列表 */\nexport function getTaskOperateType(params, options) {\n params = addRequestParam(params)\n return httpAgent.GET(returnReqURI('workorder/extend/getTaskOperateType.json'), params, options)\n}\n/** 获取用户标签 */\nexport function findLabelByUserInfo(params, options) {\n return httpAgent.GET(returnReqURI('labelService/findLabelByUserInfo.json'), params, options)\n}\n/** 给用户打标签 */\nexport function saveLabel(params, options) {\n return httpAgent.GET(returnReqURI('labelService/saveLabel.json'), params, options)\n}\n/** 客服信息列表 */\nexport function searchCustomerServiceList(params, options) {\n params = addRequestParam(params)\n return httpAgent.GET(returnReqURI('workorder/extend/searchCustomerServiceList.json'), params, options)\n}\n/** 技能组信息列表 */\nexport function getSkillGroupListByTitle(params, options) {\n return httpAgent.GET(returnReqURI('workorder/extend/getSkillGroupListByTitle.json'), params, options)\n}\n/** 搜索客服名称 */\nexport function findAllServiceByRealName(params, options) {\n // return httpAgent.GET(returnReqURI('customerService/searchServiceByRealName.json'), params, options)\n return httpAgent.GET(returnReqURI('workorder/searchByRealName.json'), params, options)\n}\n/** 处理工单 */\nexport function handleTask(params, options) {\n params = addRequestParam(params)\n return httpAgent.GET(returnReqURI('workorder/extend/handleTask.json'), params, options)\n}\n\n/** ----------------------工单2.2涉及接口-------------------- */\n\n/** 工单列表页查询视图列表 */\nexport function workViewList(params, options) {\n return httpAgent.GET(returnReqURI('workView/workViewList'), params, options)\n}\n/** 查询全部工单 */\nexport function queryAllWorkOrderList(params, options) {\n params = addRequestParam(params)\n return httpAgent.POST(returnReqURI('workorder/extend/queryAllWorkOrderList'), params, options)\n}\n/** 查询业务域下线索配置 */\nexport function queryCluesTypeByRegionId(params, options) {\n return httpAgent.GET(returnReqURI('workRegion/queryCluesTypeByRegionId'), params, options)\n}\n/** 单号查商品列表 */\nexport function queryOrderProducts(params, options) {\n params = addRequestParam(params)\n return httpAgent.GET(returnReqURI('workorder/extend/queryOrderProducts'), params, options)\n}\n/** 查询用户对应角色类型 */\nexport function selectByConditions(params, options) {\n return httpAgent.GET(returnReqURI('customerRole/selectByConditions'), params, options)\n}\n// 查询业务域下角色列表\nexport function queryRoleByRegionId(params, options) {\n return httpAgent.GET(returnReqURI('workRegion/queryRoleByRegionId'), params, options)\n}\n// 任务操作评价\nexport function appraiseLog(params, options) {\n return httpAgent.GET(returnReqURI('workorder/extend/appraiseLog'), params, options)\n}\n// 查询任务详情页面跳转类型\nexport function queryOrderDetailType(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/workorder/queryOrderDetailType.json', params, options)\n}\n/** 查询用户对应角色类型 */\nexport function specialQuery(params, options) {\n return httpAgent.POST(returnReqURI('customerRole/selectByConditions'), params, options)\n}\n/** 查询客服 */\nexport function allocationEmpId(params, options) {\n return httpAgent.GET(returnReqURI('customerService/searchServiceByRealName'), params, options)\n}\n/** 查询技能组 */\nexport function allocationSkillGroupId(params, options) {\n return httpAgent.GET(returnReqURI('skillGroup/findAllGroup'), params, options)\n}\n/** 查询任务类型 */\nexport function selectChildList(params, options) {\n return httpAgent.GET(returnReqURI('tasktype/selectChildList'), params, options)\n}\n/** 查询队列 */\nexport function findQueueId(params, options) {\n return httpAgent.GET(returnReqURI('queue/queryAllByParam'), params, options)\n}\n/** 查询队列 */\nexport function getStoreInfoByOutSoId(params, options) {\n // params = addRequestParam(params)\n return httpAgent.GET(returnReqURI('workorder/getStoreInfoByOutSoId'), params, options)\n}\n// 任务日志(全部)\nexport function getOperateLogs(params, options) {\n return httpAgent.GET('/yunjixinyunadmin/admin/xinyun/wooperatelog/getOperateLogs.json', params, options)\n}\n/** 查询物流下拉枚举 */\nexport function listByInvoiceNum(params, options) {\n // params = addRequestParam(params)\n return httpAgent.GET(returnReqURI('logistics/listByInvoiceNum'), params, options)\n}\n// 获取结案类型\nexport function getCloseListByTaskType(params, options) {\n return httpAgent.POST('/yunjixinyunadmin/admin/xinyun/closetype/getCloseListByTaskType.json', params, options)\n}\n\n/** 查询用户对应角色类型 */\nexport function selectWareByConditions(params, options) {\n return httpAgent.GET(returnReqURI('customerRole/getCustomerRoleList'), params, options)\n}\n\n/** 清空未读 */\nexport function clearNoReadCnt(params, options) {\n return httpAgent.GET(returnReqURI('workorder/extend/clearNoReadCnt'), params, options)\n}\n\n/** 工单类型 */\nexport function selectByWoType(params, options) {\n return httpAgent.GET(returnReqURI('workView/selectByWoType'), params, options)\n}\n\n/** 物流仓储获取排序 */\nexport function queryShowSortInfo(params, options) {\n return httpAgent.GET(returnReqURI('workView/queryShowSortInfo'), params, options)\n}\n\n/** 物流仓储保存排序 */\nexport function sortInfo(params, options) {\n return httpAgent.POST(returnReqURI('workView/updateShowSortInfo.json'), params, options)\n}\n\n/** 物流保存判责方 */\nexport function assignResponsibilityPart(params, options) {\n return httpAgent.POST(returnReqURI('workorder/extend/assignResponsibilityPart.json'), params, options)\n}\n\n/** 获取标签 */\nexport function getWorkOrderLabelOptions(params, options) {\n return httpAgent.GET(returnReqURI('workView/getWorkOrderLabelList'), params, options)\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('PreviewBox',{staticClass:\"img-group-upload\"},[_vm._l((_vm.myValue),function(item,index){return (_vm.myValue)?_c('div',{key:index,staticClass:\"img-group-item\",style:(_vm.style)},[_c('button',{attrs:{\"type\":\"button\"}},[_c('img',{attrs:{\"src\":item}})]),_c('i',{staticClass:\"el-icon-close\",on:{\"click\":function($event){return _vm.handleRemove(index)}}}),_c('i',{directives:[{name:\"show\",rawName:\"v-show\",value:(index > 0),expression:\"index > 0\"}],staticClass:\"el-icon-arrow-left\",on:{\"click\":function($event){return _vm.handleMoveLeft(index)}}}),_c('i',{directives:[{name:\"show\",rawName:\"v-show\",value:(index < _vm.myValue.length - 1),expression:\"index < myValue.length - 1\"}],staticClass:\"el-icon-arrow-right\",on:{\"click\":function($event){return _vm.handleMoveRight(index)}}})]):_vm._e()}),(!_vm.$listeners.add)?[(!_vm.myDisabled)?_c('ImgUpload',{style:(_vm.style),attrs:{\"multiple\":_vm.multiple,\"size\":_vm.size,\"headers\":_vm.headers,\"action\":_vm.action,\"disabled\":_vm.myDisabled,\"validate-event\":false,\"is-crop\":_vm.isCrop,\"crop-props\":_vm.cropProps,\"data\":_vm.data},on:{\"change\":_vm.handleChange}}):_vm._e()]:[(!_vm.myDisabled)?_c('div',{staticClass:\"img-group-add\",style:((\"width:\" + _vm.width + \"px;height:\" + _vm.height + \"px;\")),on:{\"click\":_vm.handle}},[_c('button',{attrs:{\"type\":\"button\"}},[_c('i',{staticClass:\"el-icon-plus\"})])]):_vm._e()]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","
\n \n \n
\n
\n
0\" class=\"el-icon-arrow-left\">\n
\n
\n \n \n \n \n \n \n
\n \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!./ImgGroupUpload.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!./ImgGroupUpload.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ImgGroupUpload.vue?vue&type=template&id=4d4369f8&\"\nimport script from \"./ImgGroupUpload.vue?vue&type=script&lang=js&\"\nexport * from \"./ImgGroupUpload.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ImgGroupUpload.vue?vue&type=style&index=0&lang=less&\"\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 null,\n null\n \n)\n\nexport default component.exports","/* eslint-disable */\nimport { deviceEvent, getClient } from '../utils/index'\n\nexport default {\n drag: {\n bind(el) {\n const dialogHeaderEl = el.querySelector('.el-dialog__header')\n const dragDom = el.querySelector('.el-dialog')\n dialogHeaderEl.style.cssText += ';cursor:move;'\n dragDom.style.cssText += ';margin-bottom:0px;top:0px;'\n\n // 获取原有属性\n // ie: dom.currentStyle\n // firefox、chrome: window.getComputedStyle(dom, null)\n const getStyle = (function () {\n if (window.document.currentStyle) {\n return (dom, attr) => dom.currentStyle[attr]\n } \n return (dom, attr) => window.getComputedStyle(dom, false)[attr]\n }())\n const reg_rate = /%/g\n const reg_px = /px/g\n\n dialogHeaderEl[`on${deviceEvent.startEvent}`] = function (e) {\n // 隐藏 el-popper\n const elArr = document.querySelectorAll('.el-popper:not([style*=\"display: none\"])')\n elArr && elArr.forEach(v => v.style.display = 'none')\n\n // 鼠标按下,计算当前元素距离可视区的距离\n const dis = getClient(e)\n const disX = dis.x - dialogHeaderEl.offsetLeft\n const disY = dis.y - dialogHeaderEl.offsetTop\n\n const dragDomWidth = dragDom.offsetWidth\n const screenWidth = window.innerWidth\n const screenHeight = window.innerHeight\n\n const minDragDomLeft = dragDom.offsetLeft + dragDomWidth - 45\n const maxDragDomLeft = screenWidth - dragDom.offsetLeft - 45\n\n const minDragDomTop = dragDom.offsetTop\n const maxDragDomTop = screenHeight - dragDom.offsetTop - 45\n\n // 获取到的值带px 正则匹配替换\n let styL = getStyle(dragDom, 'left')\n let styT = getStyle(dragDom, 'top')\n\n if (styL.includes('%')) {\n styL = +document.body.clientWidth * (+styL.replace(reg_rate, '') / 100)\n styT = +document.body.clientHeight * (+styT.replace(reg_rate, '') / 100)\n } else {\n styL = +styL.replace(reg_px, '')\n styT = +styT.replace(reg_px, '')\n }\n\n document[`on${deviceEvent.moveEvent}`] = function (e) {\n // 通过事件委托,计算移动的距离\n const dis = getClient(e)\n let left = dis.x - disX\n let top = dis.y - disY\n\n // 边界处理\n if (-(left) > minDragDomLeft) {\n left = -minDragDomLeft\n } else if (left > maxDragDomLeft) {\n left = maxDragDomLeft\n }\n\n if (-(top) > minDragDomTop) {\n top = -minDragDomTop\n } else if (top > maxDragDomTop) {\n top = maxDragDomTop\n }\n\n // 移动当前元素\n dragDom.style.cssText += `;left:${left + styL}px;top:${top + styT}px;`\n }\n\n document[`on${deviceEvent.endEvent}`] = function () {\n document[`on${deviceEvent.moveEvent}`] = null\n document[`on${deviceEvent.endEvent}`] = null\n }\n }\n }\n }\n}\n","export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../../node_modules/css-loader/index.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!./newCompensate.vue?vue&type=style&index=0&lang=less&\"","export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../../node_modules/css-loader/index.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!./figureDialog.vue?vue&type=style&index=0&lang=less&\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/index.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!./slider.vue?vue&type=style&index=0&lang=less&\"","export default {\n maxNum: 80, // 最大缓存数量\n clearTime: 0, // 上次清理时间\n interval: 7200, // 缓存时间 单位 秒\n /**\n * @method: 新增缓存\n * @param {type} \n * @return: \n * @Author: 陈长吉(chencj@yunjiglobal.com)\n * @Date: 2019-10-15 10:04:56\n */\n addCache({ id, formId, data }) {\n const cacheName = `${id}${formId}`\n let cacheData = this.getCacheData('cacheData') || {}\n // 前出后进,超过最大数量时 删除最优先缓存的数据\n this.clearMaxNum(cacheData)\n // 存入时间\n cacheData[cacheName] = new Date().getTime() + 3600 * 1000\n localStorage.setItem('cacheData', JSON.stringify(cacheData))\n // 存入数据\n localStorage.setItem(cacheName, JSON.stringify(data))\n // // 执行接口数据缓存\n // this.cacheData[cacheName] = {\n // data: JSON.stringify(data),\n // date: new Date().getTime() + 3600 * 1000 // 缓存60分钟\n // }\n },\n /**\n * @method: 外部执行的针对ID删除缓存\n * @param {type} \n * @return: \n * @Author: 陈长吉(chencj@yunjiglobal.com)\n * @Date: 2019-10-15 10:05:04\n */\n removeCache({ id, formId }) {\n const cacheName = `${id}${formId}`\n // 获取时间缓存数据\n const cacheData = this.getCacheData('cacheData') || {}\n // 删除时间缓存\n delete cacheData[cacheName]\n // 存回缓存\n localStorage.setItem('cacheData', JSON.stringify(cacheData))\n // 删除数据缓存\n this.removeCacheData(cacheName)\n },\n /**\n * @method: 删除缓存数据\n * @param {type} \n * @return: \n * @Author: 陈长吉(chencj@yunjiglobal.com)\n * @Date: 2019-10-15 10:05:04\n */\n removeCacheData(cacheName) {\n localStorage.removeItem(cacheName)\n },\n /**\n * @method: 查询缓存\n * @param {type} \n * @return: \n * @Author: 陈长吉(chencj@yunjiglobal.com)\n * @Date: 2019-10-15 10:05:11\n */\n queryCache({ id, formId }) {\n const cacheName = `${id}${formId}`\n const cacheData = this.getCacheData('cacheData') || {}\n // 判断缓存是否过期\n if (cacheData[cacheName] && cacheData[cacheName] > new Date().getTime()) {\n return this.getCacheData(cacheName)\n }\n return false\n },\n /**\n * @method: HTTP 清理过期缓存 固定一个间隔时间清理过期缓存 默认30秒清理一次\n * @param interval {number} 清理缓存数据间隔时间\n * @return: 缓存数据\n * @Author: 陈长吉(chencj@yunjiglobal.com)\n * @Date: 2019-10-15 10:13:44\n */\n clearCache(interval = 60) {\n const nowDate = new Date().getTime()\n const cacheData = this.getCacheData('cacheData') || {}\n let hasHandler = false\n // 判断缓存间隔清理时间\n if (this.clearTime + interval * 1000 < nowDate) {\n this.clearTime = nowDate\n Object.keys(cacheData).forEach((item) => {\n if (cacheData[item] < nowDate) {\n hasHandler = true\n // 删除时间记录值\n delete cacheData[item]\n // 清空缓存数据\n this.removeCacheData(item)\n }\n })\n // 执行清理过期缓存数据\n this.clearCache(this.interval)\n // 最大数量限制\n cacheData = this.clearMaxNum(cacheData)\n }\n if (hasHandler) {\n localStorage.setItem('cacheData', JSON.stringify(cacheData))\n }\n },\n /**\n * @Date: 2019-11-04 15:45:15\n * @method: 获取缓存时间数据\n * @param {type} \n * @return: \n * @Author: 陈长吉(chencj@yunjiglobal.com)\n */\n getCacheData(name) {\n try {\n return JSON.parse(localStorage.getItem(name))\n } catch (error) {\n return undefined\n }\n },\n clearMaxNum(cacheData) {\n const list = Object.keys(cacheData)\n if (list.length >= this.maxNum) {\n // 删除的数量\n const num = this.maxNum - list.length + 1\n // 按照时间排序\n list.sort((a, b) => cacheData[a] - cacheData[b])\n // 执行删除,可能多个\n for (let i = 0; i < Math.abs(num); i += 1) {\n const removeKey = list[i]\n // 删除时间记录值\n delete cacheData[removeKey]\n // 清空缓存数据\n this.removeCacheData(removeKey)\n }\n }\n return cacheData\n }\n}\n","export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../../node_modules/css-loader/index.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!./address.vue?vue&type=style&index=0&lang=less&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"item-template-view\"},[(_vm.wordType === 1)?[_c('el-input',{attrs:{\"placeholder\":_vm.placeholder},on:{\"input\":_vm.checkNumber},model:{value:(_vm.val),callback:function ($$v) {_vm.val=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"val\"}})]:(_vm.wordType === 2)?[_c('el-date-picker',{attrs:{\"type\":\"datetimerange\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\",\"value-format\":\"yyyy-MM-dd HH:mm:ss\",\"clearable\":\"\"},model:{value:(_vm.val),callback:function ($$v) {_vm.val=$$v},expression:\"val\"}})]:(_vm.wordType === 3)?[_c('el-select',{attrs:{\"multiple\":_vm.multiples,\"collapse-tags\":\"\",\"clearable\":\"\"},on:{\"change\":_vm.changeVal},model:{value:(_vm.val),callback:function ($$v) {_vm.val=$$v},expression:\"val\"}},_vm._l((_vm.options),function(item,idx){return _c('el-option',{key:idx,attrs:{\"label\":item.name,\"value\":item.id}})}),1)]:_vm._e(),(_vm.wordType === 4)?[_c('el-input',{attrs:{\"placeholder\":_vm.placeholderStr(_vm.placeholder),\"clearable\":\"\"},model:{value:(_vm.val),callback:function ($$v) {_vm.val=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"val\"}})]:_vm._e(),(_vm.wordType === 5)?[_c('el-radio-group',{attrs:{\"clearable\":\"\"},model:{value:(_vm.val),callback:function ($$v) {_vm.val=$$v},expression:\"val\"}},_vm._l((_vm.options),function(item,idx){return _c('el-radio',{key:idx,attrs:{\"label\":item.id}},[_vm._v(\"\\n \"+_vm._s(item.name)+\"\\n \")])}),1)]:_vm._e(),(_vm.wordType === 6)?[_c('el-checkbox-group',{attrs:{\"clearable\":\"\"},model:{value:(_vm.val),callback:function ($$v) {_vm.val=$$v},expression:\"val\"}},_vm._l((_vm.options),function(item,idx){return _c('el-checkbox',{key:idx,attrs:{\"label\":item.id}},[_vm._v(\"\\n \"+_vm._s(item.name)+\"\\n \")])}),1)]:_vm._e(),(_vm.wordType === 7)?[_c('el-select',{attrs:{\"clearable\":\"\",\"multiple\":\"\",\"collapse-tags\":\"\"},model:{value:(_vm.val),callback:function ($$v) {_vm.val=$$v},expression:\"val\"}},_vm._l((_vm.options),function(item,idx){return _c('el-option',{key:idx,attrs:{\"label\":item.name,\"value\":item.id}})}),1)]:_vm._e(),(_vm.wordType === 8)?[_c('el-cascader',{attrs:{\"options\":_vm.options,\"props\":_vm.cascaderProps,\"collapse-tags\":\"\",\"clearable\":\"\"},model:{value:(_vm.val),callback:function ($$v) {_vm.val=$$v},expression:\"val\"}})]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {{item.name}}\n \n \n \n \n \n \n \n {{item.name}}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\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!./ItemTemplate.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!./ItemTemplate.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ItemTemplate.vue?vue&type=template&id=48fa968f&scoped=true&\"\nimport script from \"./ItemTemplate.vue?vue&type=script&lang=js&\"\nexport * from \"./ItemTemplate.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ItemTemplate.vue?vue&type=style&index=0&id=48fa968f&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 \"48fa968f\",\n null\n \n)\n\nexport default component.exports","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAyNJREFUSA21Vl1IVEEU/mbuvetqrr/9aGSBZEVZYi+ZW9ZDkBtI+OJDRkb5lCFGBpH0g2FYTxJBEb2UL9FDiv09CKZSKaWgaVaUEaSRiYmu7q7uvXeamV1vuxSUth64957zzcx3zpxzdmYJgsKSXHFuv7sKBHlgLIsB0XNj//IlgBeE9IKh3aE5asiPJ5NiHceBiThnDlfvceI0Yf+3EPIFYEXxk887iYh8Unf3R4x8LjruJE51ZKoyLYhQ5HPk4suzIbipzHnoQCR1Xk8qChpJzjAuzk3n2y2CQM3PRfTdWih5W3lvEETfrob9SkUYtzAEtxqKxjTVga5ODYUsXW/ugO9UnbS1kgJo+3aArloBNu2BkrUesKmgWRlynH0bg7fknNTJhMPJHc1D7DY4Pj8Gm5iC98gFudBeVwm6JhWewpPSZr4ZmN1vpR62A4n85aVkbwAoAUlwIKrykJxNU5YCmmrZ5sgYfN01C3NgdLyG0TUAJXMtjJ53AQeb0kFi7JbNxt1WmHIHZHkSljRfD4CKwqvIH90ADP6EiEjLdN7RAGIyGP2Dot+heWaARBNG38fAmMdnrfqtBlHVxxBVcQDT+WUwXvRaE0MV+82z0PbvBhsdl0GQ5AQZFOOpEWJ+HYXHdVzq4Q545LHvG8GGRjC9q1ROoOvWgKQkw3jWw1eaElNytgCxgbOQ8t0r2zJhDHyCOTgkx8XujdYuqYcVWXXx1luWCM/pq4GJ/E03piPmzkV4DlZBb2qTuLIzG5Q7FUJ4q2ouJ/TOPph9HyTGfLOWAyqR4Mt2uADm8Hfo91ssWG98CuPNIGxlRRbmr38IkhwP42U//LcaJK4/aIOfrxO43vBrfZgDEZnBI6HpK0Ez0qxHb3kFdTs/UYJpsZUWQt2TA72123IqFOGQbs6A7USxhYelyHfmGtS9uYi6VG5NkArvFN/5G8CUN4DznveWX4Yoqjkcj9n6R7IG8OvwldVCK3bxX7YGzPpBJh1Oz0LOo/AI/myJW44f1/yaWyzh3Py4Rvti8QvuRb8yaeD2Z0U8VfyijpAEL33BLf9VCNrF+tvyE+YqNvmla2TeAAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"img/placeholder.4d000175.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"new-compensate\"}},[_c('el-form',{ref:\"shouhouQueryFrom\",staticStyle:{\"overflow\":\"hidden\"},attrs:{\"label-position\":_vm.labelPosition,\"label-width\":\"108px\",\"rules\":_vm.afterSaleFormRules,\"model\":_vm.afterSaleForm}},[_c('el-form-item',{attrs:{\"label\":\"线索\"}},[_c('el-select',{staticStyle:{\"width\":\"100px\"},attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.afterSaleForm.compensateType),callback:function ($$v) {_vm.$set(_vm.afterSaleForm, \"compensateType\", $$v)},expression:\"afterSaleForm.compensateType\"}},_vm._l((_vm.clueOptions),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1),_c('el-input',{staticStyle:{\"width\":\"250px\"},model:{value:(_vm.afterSaleForm.receiptNo),callback:function ($$v) {_vm.$set(_vm.afterSaleForm, \"receiptNo\", $$v)},expression:\"afterSaleForm.receiptNo\"}}),_c('el-button',{staticClass:\"btns\",attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.getOrderInfo(1)}}},[_vm._v(\"查询\")]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isPhone),expression:\"!isPhone\"}],staticClass:\"goods-wrapper\"},[(_vm.orderObj.orderItemBo)?_c('table',{staticClass:\"googs_table\"},_vm._l((_vm.orderObj.orderItemBo),function(item,index){return _c('tbody',{key:index},[_c('tr',[_c('td',[_c('div',{staticClass:\"elradio\"},[_c('el-radio',{directives:[{name:\"show\",rawName:\"v-show\",value:(!item.tuDetails),expression:\"!item.tuDetails\"}],staticStyle:{\"padding-top\":\"25px\"},attrs:{\"label\":item.subOrderId},on:{\"change\":function($event){return _vm.setitems(item, 1)}},model:{value:(_vm.itemId),callback:function ($$v) {_vm.itemId=$$v},expression:\"itemId\"}}),(item.tuDetails)?_c('i',{staticClass:\"el-icon-caret-bottom\",class:{ 'active': !_vm.tuShow['isTuShow' + index] },on:{\"click\":function($event){return _vm.handleToggle(index)}}}):_vm._e()],1),_c('div',{staticClass:\"goods-info-wrapper\"},[_c('div',{staticClass:\"info-wrapper-flex\"},[_c('img',{attrs:{\"src\":item.itemImg,\"alt\":\"\"}}),_c('div',{staticClass:\"goods-info\"},[_c('h4',[_c('span',[_vm._v(_vm._s(item.itemName))]),_c('label',[_vm._v(\"¥\"+_vm._s(item.itemPrice))])]),_c('p',[_c('span',[_vm._v(\"规格:\"+_vm._s(item.itemModel))]),_c('label',[_vm._v(\"x\"+_vm._s(item.buyCount))])])])])])])]),_vm._l((item.tuDetails),function(itemT,indexT){return _c('tr',{directives:[{name:\"show\",rawName:\"v-show\",value:(item.tuDetails && _vm.tuShow[\"isTuShow\" + index]),expression:\"item.tuDetails && tuShow[\\\"isTuShow\\\" + index]\"}],key:indexT},[_c('td',[_c('div',{staticClass:\"elradio\"},[_c('el-radio',{staticStyle:{\"padding-top\":\"25px\"},attrs:{\"label\":itemT.subOrderId},on:{\"change\":function($event){return _vm.setitems(item, 2, itemT)}},model:{value:(_vm.itemId),callback:function ($$v) {_vm.itemId=$$v},expression:\"itemId\"}})],1),_c('div',{staticClass:\"goods-info-wrapper\"},[_c('div',{staticClass:\"info-wrapper-flex\"},[_c('img',{attrs:{\"src\":itemT.itemImg,\"alt\":\"\"}}),_c('div',{staticClass:\"goods-info\"},[_c('h4',[_c('span',[_vm._v(_vm._s(itemT.itemName))]),_c('label',[_vm._v(\"¥\"+_vm._s(itemT.itemPrice))])]),_c('p',[_c('span',[_vm._v(\"规格:\"+_vm._s(itemT.itemModel))]),_c('label',[_vm._v(\"x\"+_vm._s(itemT.buyCount))])])])])])])])})],2)}),0):_vm._e(),(_vm.orderObj.logisticsBeanList)?_c('div',{staticClass:\"googs_list\"},_vm._l((_vm.orderObj.logisticsBeanList),function(item,index){return _c('div',{key:index},[_c('el-radio',{attrs:{\"label\":item.returnId},on:{\"change\":function($event){return _vm.setitems(item)}},model:{value:(_vm.itemId),callback:function ($$v) {_vm.itemId=$$v},expression:\"itemId\"}}),_c('div',{staticClass:\"googs_list-right\"},[_c('p',[_vm._v(\"快递单号:\"+_vm._s(item.wuLiuId)+\"(\"+_vm._s(item.wuLiuName)+\")\")]),_c('p',{staticStyle:{\"color\":\"#ccc\"}},[_vm._v(\"售后单号:\"+_vm._s(item.returnId)+\"(\"+_vm._s(_vm.getOrderStatus(item.returnStatus))+\")\")])])],1)}),0):_vm._e()])],1),_c('el-form-item',{attrs:{\"label\":\"补偿原因\",\"prop\":\"compensateReason\"}},[_c('el-cascader',{staticStyle:{\"width\":\"422px\"},attrs:{\"options\":_vm.causeOptions,\"props\":_vm.causeProps},on:{\"change\":_vm.getCompensateReasonChange},model:{value:(_vm.afterSaleForm.compensateReason),callback:function ($$v) {_vm.$set(_vm.afterSaleForm, \"compensateReason\", $$v)},expression:\"afterSaleForm.compensateReason\"}}),_c('i',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isExplain),expression:\"isExplain\"}],staticClass:\"el-icon-question explain-icon\",on:{\"click\":_vm.getExplain}})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isShow),expression:\"isShow\"}]},[_c('div',{staticClass:\"rule-description\"},[_c('div',{staticClass:\"rule-description-box\"},[_c('span',{staticClass:\"box-left\"},[_vm._v(\"规则说明:\")]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.explain.ruleExplain),expression:\"explain.ruleExplain\"}],staticClass:\"box-right\"},[_vm._v(_vm._s(_vm.explain.ruleExplain))]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.explain.ruleExplain),expression:\"!explain.ruleExplain\"}],staticClass:\"box-right\"},[_vm._v(\"暂无\")])]),_c('div',{staticClass:\"rule-description-box\"},[_c('span',{staticClass:\"box-left\"},[_vm._v(\"补偿标准:\")]),_c('div',{staticClass:\"box-right\"},[_vm._v(\"\\n \"+_vm._s(_vm.explain.compensateText)+\"\\n \"),_c('span',[_vm._v(_vm._s(_vm.explain.guideText))]),(_vm.afterSaleForm.compensateType === 1 &&\n _vm.afterSaleForm.compensateReason.length &&\n (_vm.afterSaleForm.compensateReason.includes(7213) || _vm.afterSaleForm.compensateReason.includes(7214)))?_c('priceProtectionCalculationTool',{attrs:{\"orgOrderId\":_vm.afterSaleForm.receiptNo,\"orgSubOrderId\":_vm.itemId},on:{\"fillAmount\":_vm.fillAmount}}):(!_vm.isPhone)?_c('el-popover',{attrs:{\"placement\":\"top\",\"title\":\"补偿金额计算\",\"width\":\"600\",\"trigger\":\"click\"}},[_c('div',{staticClass:\"calculate-money\"},[_c('h6',[_vm._v(\"商品金额=订单商品总金额+运费+税费\")]),_c('div',{staticClass:\"table-money\"},[_c('div',{staticClass:\"table-left\"},[_c('div',{staticClass:\"table-left-list\"},[_c('p',[_vm._v(\"补偿数量\")]),_c('el-input',{attrs:{\"size\":\"mini\"},model:{value:(_vm.compensateNum),callback:function ($$v) {_vm.compensateNum=$$v},expression:\"compensateNum\"}})],1),_c('i',[_vm._v(\" ÷ \")]),_c('div',{staticClass:\"table-left-list\"},[_c('p',[_vm._v(\"购买数量\")]),_c('el-input',{attrs:{\"size\":\"mini\"},model:{value:(_vm.buyCount),callback:function ($$v) {_vm.buyCount=$$v},expression:\"buyCount\"}})],1),_c('i',[_vm._v(\" x 商品金额 = ¥\")]),_c('div',{staticClass:\"table-left-list\"},[_c('p',[_vm._v(\"补偿金额\")]),_c('el-input',{attrs:{\"size\":\"mini\"},model:{value:(_vm.compensateMoney),callback:function ($$v) {_vm.compensateMoney=$$v},expression:\"compensateMoney\"}})],1)]),_c('div',{staticClass:\"table-right\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":_vm.getCalculate}},[_vm._v(\"计算\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\"},on:{\"click\":_vm.getFill}},[_vm._v(\"填入\")])],1)])]),_c('i',{staticClass:\"box-right-money\",attrs:{\"slot\":\"reference\"},slot:\"reference\"},[_vm._v(\"金额计算\")])]):_vm._e()],1)])]),_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{attrs:{\"label\":\"总补偿金额\",\"prop\":\"compensateTotalMoney\"}},[_c('el-input',{staticStyle:{\"width\":\"136px\"},model:{value:(_vm.afterSaleForm.compensateTotalMoney),callback:function ($$v) {_vm.$set(_vm.afterSaleForm, \"compensateTotalMoney\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"afterSaleForm.compensateTotalMoney\"}}),_vm._v(\" 元\\n \")],1)],1),_c('el-col',{attrs:{\"span\":12}},[_c('el-form-item',{attrs:{\"label\":\"补偿方式\",\"prop\":\"compensateMode\"}},[_c('div',{staticClass:\"compensation-way\",staticStyle:{\"display\":\"flex\",\"padding-top\":\"10px\"}},[_c('el-radio',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.explain.compensateMode.indexOf(0) > -1),expression:\"explain.compensateMode.indexOf(0) > -1\"}],staticStyle:{\"margin-left\":\"0\"},attrs:{\"label\":0},model:{value:(_vm.afterSaleForm.compensateMode),callback:function ($$v) {_vm.$set(_vm.afterSaleForm, \"compensateMode\", $$v)},expression:\"afterSaleForm.compensateMode\"}},[_vm._v(\"云币\")]),_c('el-radio',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.explain.compensateMode.indexOf(2) > -1),expression:\"explain.compensateMode.indexOf(2) > -1\"}],staticStyle:{\"margin-left\":\"0\"},attrs:{\"label\":2},model:{value:(_vm.afterSaleForm.compensateMode),callback:function ($$v) {_vm.$set(_vm.afterSaleForm, \"compensateMode\", $$v)},expression:\"afterSaleForm.compensateMode\"}},[_vm._v(\"优惠券\")]),_c('el-radio',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.explain.compensateMode.indexOf(1) > -1),expression:\"explain.compensateMode.indexOf(1) > -1\"}],staticStyle:{\"margin-left\":\"0\"},attrs:{\"label\":1},model:{value:(_vm.afterSaleForm.compensateMode),callback:function ($$v) {_vm.$set(_vm.afterSaleForm, \"compensateMode\", $$v)},expression:\"afterSaleForm.compensateMode\"}},[_vm._v(\"余额\")])],1)])],1),_c('el-col',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.afterSaleForm.compensateMode === 0),expression:\"afterSaleForm.compensateMode === 0\"}],attrs:{\"span\":12}},[_c('el-form-item',{attrs:{\"label\":\"有效期\",\"prop\":\"moneyValidTime\"}},[_c('el-select',{staticStyle:{\"width\":\"136px\"},attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.afterSaleForm.moneyValidTime),callback:function ($$v) {_vm.$set(_vm.afterSaleForm, \"moneyValidTime\", $$v)},expression:\"afterSaleForm.moneyValidTime\"}},_vm._l((_vm.dateOptions),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1)],1)],1),_c('el-col',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.afterSaleForm.compensateMode === 2 && _vm.targetId === 6),expression:\"afterSaleForm.compensateMode === 2 && targetId === 6\"}],attrs:{\"span\":12}},[_c('el-form-item',{attrs:{\"label\":\"有效期\",\"prop\":\"moneyValidTime\"}},[_c('el-select',{staticStyle:{\"width\":\"136px\"},attrs:{\"placeholder\":\"请选择\"},model:{value:(_vm.afterSaleForm.moneyValidTime),callback:function ($$v) {_vm.$set(_vm.afterSaleForm, \"moneyValidTime\", $$v)},expression:\"afterSaleForm.moneyValidTime\"}},_vm._l((_vm.timeOptions),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1)],1)],1),_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{attrs:{\"label\":\"发放账户\",\"prop\":\"compensateAccountType\"}},[_c('el-radio',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.explain.compensateAccountType.indexOf(0) > -1),expression:\"explain.compensateAccountType.indexOf(0) > -1\"}],staticStyle:{\"margin-left\":\"0\"},attrs:{\"label\":0},model:{value:(_vm.afterSaleForm.compensateAccountType),callback:function ($$v) {_vm.$set(_vm.afterSaleForm, \"compensateAccountType\", $$v)},expression:\"afterSaleForm.compensateAccountType\"}},[_vm._v(\"买家\")]),_c('el-radio',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.explain.compensateAccountType.indexOf(1) > -1),expression:\"explain.compensateAccountType.indexOf(1) > -1\"}],staticStyle:{\"margin-left\":\"0\"},attrs:{\"label\":1},model:{value:(_vm.afterSaleForm.compensateAccountType),callback:function ($$v) {_vm.$set(_vm.afterSaleForm, \"compensateAccountType\", $$v)},expression:\"afterSaleForm.compensateAccountType\"}},[_vm._v(\"卖家\")]),_c('el-radio',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.explain.compensateAccountType.indexOf(2) > -1),expression:\"explain.compensateAccountType.indexOf(2) > -1\"}],staticStyle:{\"margin-left\":\"0\"},attrs:{\"label\":2},model:{value:(_vm.afterSaleForm.compensateAccountType),callback:function ($$v) {_vm.$set(_vm.afterSaleForm, \"compensateAccountType\", $$v)},expression:\"afterSaleForm.compensateAccountType\"}},[_vm._v(\"买家\")]),_c('el-radio',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.explain.compensateAccountType.indexOf(3) > -1),expression:\"explain.compensateAccountType.indexOf(3) > -1\"}],staticStyle:{\"margin-left\":\"0\"},attrs:{\"label\":3},model:{value:(_vm.afterSaleForm.compensateAccountType),callback:function ($$v) {_vm.$set(_vm.afterSaleForm, \"compensateAccountType\", $$v)},expression:\"afterSaleForm.compensateAccountType\"}},[_vm._v(\"卖家\")])],1)],1),_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{attrs:{\"label\":\"补偿说明\",\"prop\":\"compensateDesc\"}},[_c('el-input',{staticStyle:{\"width\":\"413px\"},attrs:{\"type\":\"textarea\",\"rows\":3,\"maxlength\":\"512\",\"show-word-limit\":\"\",\"placeholder\":\"请输入内容\"},model:{value:(_vm.afterSaleForm.compensateDesc),callback:function ($$v) {_vm.$set(_vm.afterSaleForm, \"compensateDesc\", $$v)},expression:\"afterSaleForm.compensateDesc\"}})],1)],1),_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{staticClass:\"skill-input-wrapper\",attrs:{\"label\":\"图片地址:\"}},[_c('work-upload',{on:{\"uploadImg\":_vm.workImgs}})],1)],1),_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{attrs:{\"label\":\"图片凭证\",\"prop\":\"compensateImages\"}},[_c('div',{staticClass:\"imgList\"},_vm._l((_vm.afterSaleForm.compensateImages),function(item,index){return _c('span',{key:index},[_c('img',{attrs:{\"src\":item,\"alt\":\"\"},on:{\"click\":function($event){return _vm.showimg(index)}}}),_c('i',{staticClass:\"el-icon-error\",on:{\"click\":function($event){return _vm.delbtnpic(index)}}})])}),0),_c('el-upload',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.afterSaleForm.compensateImages && _vm.afterSaleForm.compensateImages.length < 5),expression:\"afterSaleForm.compensateImages && afterSaleForm.compensateImages.length < 5\"}],staticStyle:{\"display\":\"inline\"},attrs:{\"action\":\"/yunjixinyunadmin/admin/xinyun/upload/uploadPic_json.json\",\"list-type\":\"picture-card\",\"name\":\"data\",\"drag\":true,\"limit\":5,\"accept\":\".jpg,.png\",\"on-success\":_vm.handlePictureCardPreview,\"show-file-list\":false}},[_c('i',{staticClass:\"el-icon-plus\"})]),_c('div',{staticClass:\"line-tip\"},[_vm._v(\"最多支持5张,图片仅支持jpg和png格式,单张图片不要超过5M\")])],1)],1),_c('el-col',{attrs:{\"span\":24}},[_c('el-button',{directives:[{name:\"preventReClick\",rawName:\"v-preventReClick\"}],staticStyle:{\"display\":\"block\",\"margin\":\"0 auto\"},attrs:{\"type\":\"primary\",\"disabled\":_vm.isDisabled},on:{\"click\":function($event){return _vm.submitShouhouForm('afterSaleForm', true, true, true)}}},[_vm._v(\"确认创建\")])],1)],1)],1),_c('viewer',{ref:\"viewerRef\",attrs:{\"images\":_vm.afterSaleForm.compensateImages,\"options\":{ title: false, zIndex: 9999 }}},_vm._l((_vm.afterSaleForm.compensateImages),function(src){return _c('img',{directives:[{name:\"show\",rawName:\"v-show\",value:(false),expression:\"false\"}],key:src,attrs:{\"src\":src}})}),0),_c('el-dialog',{attrs:{\"title\":\"查看原因\",\"visible\":_vm.explainVisible,\"width\":\"400px\"},on:{\"update:visible\":function($event){_vm.explainVisible=$event}}},[_c('el-form',{ref:\"explainForm\",attrs:{\"model\":_vm.explainForm,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"选择原因\"}},[_c('el-select',{on:{\"change\":_vm.getExplainChange},model:{value:(_vm.explainForm.region),callback:function ($$v) {_vm.$set(_vm.explainForm, \"region\", $$v)},expression:\"explainForm.region\"}},_vm._l((_vm.explainList),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item.ruleDataResp.reasonName,\"value\":item.ruleDataResp.reasonId}})}),1)],1),_c('el-form-item',{attrs:{\"label\":\"是否可选\"}},[_c('span',[_vm._v(_vm._s(_vm.explainForm.choose ? '是' : '否'))])]),_c('el-form-item',{attrs:{\"label\":\"不可选原因\"}},[_c('span',[_vm._v(_vm._s(_vm.explainForm.desc))])])],1)],1),_c('figureDialog',{ref:\"figureDialog\",attrs:{\"title\":\"确认提示\",\"dialogtype\":1},on:{\"cellClick\":_vm.cellClick,\"handleSave\":_vm.handleSave}})],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('el-popover',{ref:\"popoverRef\",attrs:{\"placement\":\"top\",\"title\":\"补偿金额计算\",\"width\":\"560\",\"trigger\":\"click\"},on:{\"hide\":_vm.hidePopover}},[_c('div',{staticClass:\"tool-box\"},[_c('el-form',{ref:\"queryFrom\",attrs:{\"inline\":true,\"model\":_vm.queryFrom,\"rules\":_vm.rules}},[_c('el-form-item',{attrs:{\"label\":\"差价订单\",\"prop\":\"orderId\"}},[_c('el-input',{staticClass:\"w-240\",attrs:{\"placeholder\":\"请输入订单号\"},model:{value:(_vm.queryFrom.orderId),callback:function ($$v) {_vm.$set(_vm.queryFrom, \"orderId\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"queryFrom.orderId\"}})],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.queryData()}}},[_vm._v(\"查询\")])],1)],1),(_vm.itemData.length)?_c('div',{staticClass:\"goods-wrapper\"},[_c('table',{staticClass:\"googs_table\"},_vm._l((_vm.itemData),function(item,index){return _c('tbody',{key:index},[_c('tr',[_c('td',[_c('div',{staticClass:\"elradio\"},[_c('el-radio',{directives:[{name:\"show\",rawName:\"v-show\",value:(!item.tuDetails),expression:\"!item.tuDetails\"}],attrs:{\"label\":item.subOrderId},on:{\"change\":function($event){return _vm.handleChange()}},model:{value:(_vm.subObrderId),callback:function ($$v) {_vm.subObrderId=$$v},expression:\"subObrderId\"}}),(item.tuDetails)?_c('i',{staticClass:\"el-icon-caret-bottom\",class:{'active': !item.isTuShow},on:{\"click\":function($event){item.isTuShow = !item.isTuShow}}}):_vm._e()],1),_c('div',{staticClass:\"goods-info-wrapper\"},[_c('div',{staticClass:\"info-wrapper-flex\"},[_c('img',{attrs:{\"src\":item.itemImg,\"alt\":\"\"}}),_c('div',{staticClass:\"goods-info\"},[_c('h4',[_c('span',[_vm._v(_vm._s(item.itemName))]),_c('label',[_vm._v(\"¥\"+_vm._s(item.itemPrice))])]),_c('p',[_c('span',[_vm._v(\"规格:\"+_vm._s(item.itemModel))]),_c('label',[_vm._v(\"x\"+_vm._s(item.buyCount))])])])])])])]),_vm._l((item.tuDetails),function(itemT,indexT){return _c('tr',{directives:[{name:\"show\",rawName:\"v-show\",value:(item.tuDetails && item.isTuShow),expression:\"item.tuDetails && item.isTuShow\"}],key:indexT},[_c('td',[_c('div',{staticClass:\"elradio\"},[_c('el-radio',{attrs:{\"label\":itemT.subOrderId},on:{\"change\":function($event){return _vm.handleChange()}},model:{value:(_vm.subObrderId),callback:function ($$v) {_vm.subObrderId=$$v},expression:\"subObrderId\"}})],1),_c('div',{staticClass:\"goods-info-wrapper\"},[_c('div',{staticClass:\"info-wrapper-flex\"},[_c('img',{attrs:{\"src\":itemT.itemImg,\"alt\":\"\"}}),_c('div',{staticClass:\"goods-info\"},[_c('h4',[_c('span',[_vm._v(_vm._s(itemT.itemName))]),_c('label',[_vm._v(\"¥\"+_vm._s(itemT.itemPrice))])]),_c('p',[_c('span',[_vm._v(\"规格:\"+_vm._s(itemT.itemModel))]),_c('label',[_vm._v(\"x\"+_vm._s(itemT.buyCount))])])])])])])])})],2)}),0)]):_vm._e(),(_vm.calcData.calcText)?_c('div',{staticClass:\"tool-box\"},[_c('div',{staticClass:\"tool-text\"},[_vm._v(_vm._s(_vm.calcData.calcText))]),_c('div',{staticClass:\"tool-text\"},[_c('span',[_vm._v(_vm._s(_vm.calcData.calcNumText))])]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.fillAmount()}}},[_vm._v(\"填入\")])],1):_vm._e(),(_vm.errorMsg)?_c('div',{staticClass:\"error-tips\"},[_vm._v(_vm._s(_vm.errorMsg))]):_vm._e()],1),_c('i',{staticClass:\"box-right-money\",attrs:{\"slot\":\"reference\"},slot:\"reference\"},[_vm._v(\"金额计算\")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","
\n \n \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!./priceProtectionCalculationTool.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!./priceProtectionCalculationTool.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./priceProtectionCalculationTool.vue?vue&type=template&id=d97e66a0&scoped=true&\"\nimport script from \"./priceProtectionCalculationTool.vue?vue&type=script&lang=js&\"\nexport * from \"./priceProtectionCalculationTool.vue?vue&type=script&lang=js&\"\nimport style0 from \"./priceProtectionCalculationTool.vue?vue&type=style&index=0&id=d97e66a0&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 \"d97e66a0\",\n null\n \n)\n\nexport default component.exports","\n
\n \n
\n \n \n \n \n \n \n 查询\n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n ![\"\"]() \n \n {{ item.itemName }}\n 规格:{{ item.itemModel }}\n \n \n \n \n | \n
\n \n \n \n \n \n \n \n ![\"\"]() \n \n {{ itemT.itemName }}\n 规格:{{ itemT.itemModel }}\n \n \n \n \n | \n
\n \n
\n \n
\n
\n
\n
\n
快递单号:{{ item.wuLiuId }}({{ item.wuLiuName }})
\n
售后单号:{{ item.returnId }}({{ getOrderStatus(item.returnStatus) }})
\n
\n
\n
\n
\n \n \n \n \n \n \n \n
\n
\n
规则说明:\n
{{ explain.ruleExplain }}
\n
暂无
\n
\n
\n
补偿标准:\n
\n {{ explain.compensateText }}\n
{{ explain.guideText }}\n \n
\n \n \n
\n \n
商品金额=订单商品总金额+运费+税费
\n
\n
\n
\n
÷ \n
\n
x 商品金额 = ¥\n
\n
\n
\n 计算\n 填入\n
\n
\n
\n 金额计算\n \n
\n
\n
\n
\n \n 元\n \n \n
\n \n \n -1\"\n v-model=\"afterSaleForm.compensateMode\" :label=\"0\">云币\n -1\"\n v-model=\"afterSaleForm.compensateMode\" :label=\"2\">优惠券\n -1\"\n v-model=\"afterSaleForm.compensateMode\" :label=\"1\">余额\n
\n \n \n \n \n
\n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n
\n \n -1\"\n v-model=\"afterSaleForm.compensateAccountType\" :label=\"0\">买家\n -1\"\n v-model=\"afterSaleForm.compensateAccountType\" :label=\"1\">卖家\n -1\"\n v-model=\"afterSaleForm.compensateAccountType\" :label=\"2\">买家\n -1\"\n v-model=\"afterSaleForm.compensateAccountType\" :label=\"3\">卖家\n \n \n
\n \n \n \n \n \n
\n \n \n \n \n
\n \n \n
\n
\n \n \n
\n \n \n \n 最多支持5张,图片仅支持jpg和png格式,单张图片不要超过5M
\n \n \n
\n 确认创建\n \n
\n \n
\n
\n \n \n
\n \n \n \n \n \n \n \n {{ explainForm.choose ? '是' : '否' }}\n \n \n {{ explainForm.desc }}\n \n \n \n \n
\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!./newCompensate.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!./newCompensate.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./newCompensate.vue?vue&type=template&id=7140591c&\"\nimport script from \"./newCompensate.vue?vue&type=script&lang=js&\"\nexport * from \"./newCompensate.vue?vue&type=script&lang=js&\"\nimport style0 from \"./newCompensate.vue?vue&type=style&index=0&lang=less&\"\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 null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}