You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rcgy_xmf_qrcode/js/chunk-7cadfc10.c27e21f1.js.map

1 line
18 KiB

{"version":3,"sources":["webpack:///./src/views/commodity/page/evaluationList.vue","webpack:///src/views/commodity/page/evaluationList.vue","webpack:///./src/views/commodity/page/evaluationList.vue?8885","webpack:///./src/views/commodity/page/evaluationList.vue?bd74","webpack:///./src/api/shop.js"],"names":["render","_vm","this","_c","_self","staticClass","_m","ref","attrs","config","on","tableCheck","scopedSlots","_u","key","fn","slotData","data","score","colors","slot","$event","reply","table_row","_v","replyDialog","dialogclose","staticStyle","model","value","replyContent","callback","$$v","expression","replyOk","staticRenderFns","thatId","photos_Visible","goodsImgsList","imglist","activeName","thead","label","type","width","prop","slotName","table_data","url","search_item","placeholder","options","pageNum","size","methods","message","console","goodsAppointmentId","shopEvaluationReply","component","shopSupplierInsert","service","request","method","shopGoodsInsert","shopSupplierList","params","orderArrivalGoods","shopCategoryList","shopCategoryUpdate","shopCategoryDelete","shopCategoryInsert","shopGoodsLoading","shopGoodsUnloading","shopOrderDeliverGoods","refundExchangeGoods","shopRefundExamine"],"mappings":"uHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACJ,EAAIK,GAAG,GAAGH,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,GAAG,CAACA,EAAG,WAAW,CAACI,IAAI,QAAQC,MAAM,CAAC,OAASP,EAAIQ,QAAQC,GAAG,CAAC,WAAaT,EAAIU,YAAYC,YAAYX,EAAIY,GAAG,CAAC,CAACC,IAAI,QAAQC,GAAG,SAASC,GAAU,MAAO,CAACb,EAAG,MAAM,CAACA,EAAG,UAAU,CAACK,MAAM,CAAC,MAAQQ,EAASC,KAAKC,MAAQ,EAAE,OAASjB,EAAIkB,OAAO,SAAW,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,IAAI,qBACJkB,OAAQjD,IAIT,SAASkD,EAAkBlD,GAC9B,OAAO4C,OAAQC,QAAQ,CACnBC,OAAO,OACPf,IAAI,0BACJ/B,KAAMA,IAIP,SAASmD,EAAiBnD,GAC7B,OAAO4C,OAAQC,QAAQ,CACnBC,OAAO,MACPf,IAAI,qBACJkB,OAAQjD,IAIT,SAASoD,EAAmBpD,GAC/B,OAAO4C,OAAQC,QAAQ,CACnBC,OAAO,OACPf,IAAI,uBACJ/B,KAAMA,IAIP,SAASqD,EAAmBrD,GAC/B,OAAO4C,OAAQC,QAAQ,CACnBC,OAAO,MACPf,IAAI,uBACJkB,OAAQjD,IAGT,SAASsD,EAAmBtD,GAC/B,OAAO4C,OAAQC,QAAQ,CACnBC,OAAO,OACPf,IAAI,uBACJ/B,KAAMA,IAKP,SAASuD,EAAiBvD,GAC7B,OAAO4C,OAAQC,QAAQ,CACnBC,OAAO,MACPf,IAAI,qBACJkB,OAAQjD,IAGT,SAASwD,EAAmBxD,GAC/B,OAAO4C,OAAQC,QAAQ,CACnBC,OAAO,MACPf,IAAI,uBACJkB,OAAQjD,IAIT,SAASyD,EAAsBzD,GAClC,OAAO4C,OAAQC,QAAQ,CACnBC,OAAO,OACPf,IAAI,0BACJ/B,KAAMA,IAIP,SAAS0D,EAAoB1D,GAChC,OAAO4C,OAAQC,QAAQ,CACnBC,OAAO,MACPf,IAAI,4BACJkB,OAAOjD,IAIR,SAAS2D,EAAkB3D,GAC9B,OAAO4C,OAAQC,QAAQ,CACnBC,OAAO,OACPf,IAAI,sBACJ/B,KAAMA,IAIP,SAASyC,EAAoBzC,GAChC,OAAO4C,OAAQC,QAAQ,CACnBC,OAAO,OACPf,IAAI,wBACJ/B,KAAMA","file":"js/chunk-7cadfc10.c27e21f1.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"main-content\"},[_vm._m(0),_c('div',{staticClass:\"content\"},[_c('div',{},[_c('VueTable',{ref:\"table\",attrs:{\"config\":_vm.config},on:{\"tableCheck\":_vm.tableCheck},scopedSlots:_vm._u([{key:\"score\",fn:function(slotData){return [_c('div',[_c('el-rate',{attrs:{\"value\":slotData.data.score / 2,\"colors\":_vm.colors,\"disabled\":\"\"}})],1)]}}])},[_c('template',{slot:\"footer\"},[_c('div',{staticClass:\"table-footer\"},[_c('button',{on:{\"click\":function($event){return _vm.reply(_vm.table_row)}}},[_vm._v(\"回复\")])])])],2)],1),_c('el-dialog',{attrs:{\"title\":\"评价回复\",\"width\":\"480px\",\"top\":\"40vh\",\"visible\":_vm.replyDialog},on:{\"close\":function($event){return _vm.dialogclose()},\"update:visible\":function($event){_vm.replyDialog=$event}}},[_c('div',{staticClass:\"dialang-box\"},[_c('el-input',{staticStyle:{\"width\":\"423px\",\"height\":\"32px\"},attrs:{\"placeholder\":\"客服回复内容\",\"size\":\"mini\",\"type\":\"textarea\"},model:{value:(_vm.replyContent),callback:function ($$v) {_vm.replyContent=$$v},expression:\"replyContent\"}})],1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){_vm.replyDialog = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"primary\"},on:{\"click\":function($event){return _vm.replyOk()}}},[_vm._v(\"确 定\")])],1)])],1)])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"main-titel\"},[_c('span',[_vm._v(\"评价管理\")])])\n}]\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div class=\"main-content\">\n <div class=\"main-titel\">\n <span>评价管理</span>\n </div>\n <div class=\"content\">\n <div class=\"\">\n <VueTable\n ref=\"table\"\n :config=\"config\"\n @tableCheck=\"tableCheck\"\n >\n <template v-slot:score=\"slotData\">\n <div>\n <el-rate\n :value=\"slotData.data.score / 2\"\n :colors=\"colors\"\n disabled\n ></el-rate>\n </div>\n </template>\n <template slot=\"footer\">\n <div class=\"table-footer\">\n <!-- <button @click=\"send(table_row)\">发货</button> -->\n <button @click=\"reply(table_row)\">回复</button>\n </div>\n </template>\n </VueTable>\n </div>\n <el-dialog\n title=\"评价回复\"\n width=\"480px\"\n top=\"40vh\"\n @close=\"dialogclose()\"\n :visible.sync=\"replyDialog\"\n >\n <div class=\"dialang-box\">\n <el-input\n placeholder=\"客服回复内容\"\n size=\"mini\"\n type=\"textarea\"\n v-model=\"replyContent\"\n style=\"width: 423px; height: 32px\"\n ></el-input>\n </div>\n <span slot=\"footer\" class=\"dialog-footer\">\n <el-button size=\"mini\" @click=\"replyDialog = false\"\n >取 消</el-button\n >\n <el-button size=\"mini\" type=\"primary\" @click=\"replyOk()\"\n >确 定</el-button\n >\n </span>\n </el-dialog>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport viewsPhoto from '@/components/dialog/viewsPhoto'\nimport { shopOrderDeliverGoods, orderArrivalGoods ,shopEvaluationReply} from '@/api/shop'\nexport default {\n data() {\n return {\n thatId:null,\n photos_Visible: false,\n replyContent: null,\n replyDialog: false,\n colors: ['#FB4702', '#FB4702', '#FB4702'],\n goodsImgsList: [],\n table_row: [],\n // 上传img文件\n imglist: [],\n activeName: '0',\n config: {\n thead: [\n { label: '序号', type: 'index', width: '80' },\n { label: '订单号', prop: 'code', width: '120' },\n { label: '商品名称', prop: 'goodsName', width: 'auto' },\n {\n label: '一级分类名称',\n prop: 'categoryLevelOne',\n width: '120'\n },\n {\n label: '二级分类名称',\n prop: 'categoryLevelTwo',\n width: '100'\n },\n {\n label: '评分',\n prop: 'score',\n width: 'auto',\n type: 'slot',\n slotName: 'score'\n },\n {\n label: '评价时间',\n prop: 'evaluationDate',\n width: 'auto'\n },\n {\n label: '评价原因',\n prop: 'evaluationReason',\n width: 'auto'\n },\n { label: '评价人姓名', prop: 'createName', width: '100' },\n { label: '评价人手机号', prop: 'createTel', width: 'auto' },\n { label: '客户回复内容', prop: 'replyContent', width: 'auto' },\n { label: '客户回复时间', prop: 'replyDate', width: 'auto' }\n ],\n table_data: [],\n url: 'shopEvaluationList',\n search_item: [\n {\n type: 'select',\n label: '评价',\n placeholder: '请选择',\n options: [\n { value: 1, label: '差评' },\n { value: 2, label: '中评' },\n { value: 3, label: '好评' }\n ],\n prop: 'score'\n },\n {\n type: 'Int',\n label: '客户手机号',\n placeholder: '请输入手机号',\n prop: 'tel'\n },\n {\n type: 'select',\n label: '回复状态',\n placeholder: '请选择',\n options: [\n { value: 1, label: '已回复' },\n { value: 2, label: '未回复' },\n ],\n prop: 'replyStatus'\n },\n ],\n data: {\n pageNum: 1,\n size: 10\n }\n }\n }\n },\n methods: {\n //回复\n reply(data) {\n if (data.length != 1) {\n this.$message({\n type: 'error',\n message: '请选择一条评价回复'\n })\n //没有回复时间和回复内容的评价才可以回复\n } else if(data[0].replyContent!=null&&data[0].replyDate!=null){\n this.$message({\n type: 'error',\n message: '该评价已回复'\n })\n }\n else {\n console.log(data)\n this.replyDialog = true\n console.log(data)\n this.thatId = data[0].id\n }\n },\n // 回复提交\n replyOk() {\n if(this.replyContent==null){\n this.$message({\n type: 'error',\n message: '回复不能为空'\n })\n return\n }\n let resData = {\n goodsAppointmentId: this.thatId,\n replyContent: this.replyContent\n }\n console.log(resData)\n shopEvaluationReply(resData).then((res) => {\n if (res.status) {\n this.$message({\n type: 'success',\n message: res.message\n })\n }\n })\n this.dialogclose()\n this.$refs.table.loadData()\n },\n //回复框关闭\n dialogclose() {\n this.replyDialog = false\n this.thatId = null\n this.replyContent = null\n },\n tableCheck(data) {\n this.table_row = data\n }\n }\n}\n</script>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./evaluationList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./evaluationList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./evaluationList.vue?vue&type=template&id=7a02f58b&\"\nimport script from \"./evaluationList.vue?vue&type=script&lang=js&\"\nexport * from \"./evaluationList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import service from '../utils/request'\nimport requestUrl from './requestUrl'\n\n//supplierManagement供应商 shop/supplier/list\nexport function shopSupplierInsert(data){\n return service.request({\n method:'POST',\n url:'shop/supplier/insert',\n data: data\n })\n}\n//shop/goods/insert\nexport function shopGoodsInsert(data){\n return service.request({\n method:'POST',\n url:'shop/goods/insert',\n data: data\n })\n}\nexport function shopSupplierList(data){\n return service.request({\n method:'GET',\n url:'shop/supplier/list',\n params: data\n })\n}\n//到货order/arrivalGoods\nexport function orderArrivalGoods(data){\n return service.request({\n method:'POST',\n url:'shop/order/arrivalGoods',\n data: data\n })\n}\n//分类'shop/category/list'\nexport function shopCategoryList(data){\n return service.request({\n method:'GET',\n url:'shop/category/list',\n params: data\n })\n}\n//shop/category/update\nexport function shopCategoryUpdate(data){\n return service.request({\n method:'POST',\n url:'shop/category/update',\n data: data\n })\n}\n// shop/category/delete shop/category/insert\nexport function shopCategoryDelete(data){\n return service.request({\n method:'GET',\n url:'shop/category/delete',\n params: data\n })\n}\nexport function shopCategoryInsert(data){\n return service.request({\n method:'POST',\n url:'shop/category/insert',\n data: data\n })\n}\n\n//商品管理 上架shop/goods/loading 下架shop/goods/unloading\nexport function shopGoodsLoading(data){\n return service.request({\n method:'GET',\n url:'shop/goods/loading',\n params: data\n })\n}\nexport function shopGoodsUnloading(data){\n return service.request({\n method:'GET',\n url:'shop/goods/unloading',\n params: data\n })\n}\n//shop/order/deliverGoods 发货\nexport function shopOrderDeliverGoods(data){\n return service.request({\n method:'POST',\n url:'shop/order/deliverGoods',\n data: data\n })\n}\n//shop/refund/exchangeGoods\nexport function refundExchangeGoods(data){\n return service.request({\n method:'GET',\n url:'shop/refund/exchangeGoods',\n params:data\n })\n}\n//shop/refund/examine\nexport function shopRefundExamine(data){\n return service.request({\n method:'POST',\n url:'shop/refund/examine',\n data: data\n })\n}\n//商城评价回复 shop/evaluation/reply\nexport function shopEvaluationReply(data){\n return service.request({\n method:'POST',\n url:'shop/evaluation/reply',\n data: data\n })\n}"],"sourceRoot":""}