41.9a999024ef5936908785.js.map 23 KB

1
  1. {"version":3,"sources":["webpack:///src/views/pms/brand/index.vue","webpack:///./src/views/pms/brand/index.vue?f02e","webpack:///./src/views/pms/brand/index.vue"],"names":["pms_brand","name","data","operates","label","value","operateType","listQuery","keyword","pageNum","pageSize","list","total","listLoading","multipleSelection","created","this","getList","methods","_this","Object","brand","then","response","totalPage","handleSelectionChange","val","handleUpdate","index","row","$router","push","path","query","id","handleDelete","_this2","$confirm","confirmButtonText","cancelButtonText","type","$message","message","duration","getProductList","console","log","getProductCommentList","handleShowStatusChange","_this3","obj","ids","showStatus","catch","error","handleSizeChange","handleCurrentChange","searchBrandList","handleBatchOperate","_this4","i","length","join","addBrand","views_pms_brand","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","shadow","_v","staticStyle","float","size","on","click","$event","margin-top","inline","model","label-width","width","placeholder","callback","$$v","$set","expression","directives","rawName","ref","border","selection-change","align","scopedSlots","_u","key","fn","scope","_s","firstLetter","sort","active-value","inactive-value","change","$index","background","layout","page-size","page-sizes","current-page","size-change","current-change","update:currentPage","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"sHA4IAA,GACAC,KAAA,YACAC,KAFA,WAGA,OACAC,WAEAC,MAAA,OACAC,MAAA,cAGAD,MAAA,OACAC,MAAA,cAGAC,YAAA,KACAC,WACAC,QAAA,KACAC,QAAA,EACAC,SAAA,IAEAC,KAAA,KACAC,MAAA,KACAC,aAAA,EACAC,uBAGAC,QA1BA,WA2BAC,KAAAC,WAEAC,SACAD,QADA,WACA,IAAAE,EAAAH,KACAA,KAAAH,aAAA,EACAO,OAAAC,EAAA,EAAAD,CAAAJ,KAAAT,WAAAe,KAAA,SAAAC,GACAJ,EAAAN,aAAA,EACAM,EAAAR,KAAAY,EAAArB,KAAAS,KACAQ,EAAAP,MAAAW,EAAArB,KAAAU,MACAO,EAAAK,UAAAD,EAAArB,KAAAsB,UACAL,EAAAT,SAAAa,EAAArB,KAAA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,WAAA,GAAAC,OAAA,wCAAAC,YAAA7C,EAAA3D,UAAAG,SAAAsG,cAAA,SAAAC,eAAA/C,EAAA3D,UAAAE,QAAAG,MAAAsD,EAAAtD,OAAkLkE,IAAKoC,cAAAhD,EAAAX,iBAAA4D,iBAAAjD,EAAAV,oBAAA4D,qBAAA,SAAApC,GAAkHd,EAAAuB,KAAAvB,EAAA3D,UAAA,UAAAyE,QAA6C,QAEpmHqC,oBCCjB,IAcAC,EAdAC,EAAA,OAcAC,CACAxH,EACAgE,GATA,EAVA,SAAAyD,GACAF,EAAA,SAaA,kBAEA,MAUAG,EAAA,QAAAJ,EAAA","file":"static/js/41.9a999024ef5936908785.js","sourcesContent":["<template> \n <div class=\"app-container\">\n <el-card class=\"filter-container\" shadow=\"never\">\n <div>\n <i class=\"el-icon-search\"></i>\n <span>筛选搜索</span>\n <el-button\n style=\"float: right\"\n @click=\"searchBrandList()\"\n type=\"primary\"\n size=\"small\">\n 查询结果\n </el-button>\n </div>\n <div style=\"margin-top: 15px\">\n <el-form :inline=\"true\" :model=\"listQuery\" size=\"small\" label-width=\"140px\">\n <el-form-item label=\"输入搜索:\">\n <el-input style=\"width: 203px\" v-model=\"listQuery.keyword\" placeholder=\"品牌名称/关键字\"></el-input>\n </el-form-item>\n </el-form>\n </div>\n </el-card>\n <el-card class=\"operate-container\" shadow=\"never\">\n <i class=\"el-icon-tickets\"></i>\n <span>数据列表</span>\n <el-button\n class=\"btn-add\"\n @click=\"addBrand()\"\n size=\"mini\">\n 添加\n </el-button>\n </el-card>\n <div class=\"table-container\">\n <el-table ref=\"brandTable\"\n :data=\"list\"\n style=\"width: 100%\"\n @selection-change=\"handleSelectionChange\"\n v-loading=\"listLoading\"\n border>\n <el-table-column type=\"selection\" width=\"60\" align=\"center\"></el-table-column>\n <el-table-column label=\"编号\" width=\"100\" align=\"center\">\n <template slot-scope=\"scope\">{{scope.row.id}}</template>\n </el-table-column>\n <el-table-column label=\"品牌名称\" align=\"center\">\n <template slot-scope=\"scope\">{{scope.row.name}}</template>\n </el-table-column>\n <el-table-column label=\"品牌首字母\" width=\"100\" align=\"center\">\n <template slot-scope=\"scope\">{{scope.row.firstLetter}}</template>\n </el-table-column>\n <el-table-column label=\"排序\" width=\"100\" align=\"center\">\n <template slot-scope=\"scope\">{{scope.row.sort}}</template>\n </el-table-column>\n <!-- <el-table-column label=\"品牌制造商\" width=\"100\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-switch\n @change=\"handleFactoryStatusChange(scope.$index, scope.row)\"\n :active-value=\"1\"\n :inactive-value=\"0\"\n v-model=\"scope.row.factoryStatus\">\n </el-switch>\n </template>\n </el-table-column> -->\n <el-table-column label=\"是否显示\" width=\"100\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-switch\n @change=\"handleShowStatusChange(scope.$index, scope.row)\"\n :active-value=\"1\"\n :inactive-value=\"0\"\n v-model=\"scope.row.showStatus\">\n </el-switch>\n </template>\n </el-table-column>\n <!-- <el-table-column label=\"相关\" width=\"220\" align=\"center\">\n <template slot-scope=\"scope\">\n <span>商品:</span>\n <el-button\n size=\"mini\"\n type=\"text\"\n @click=\"getProductList(scope.$index, scope.row)\">100\n </el-button>\n <span>评价:</span>\n <el-button\n size=\"mini\"\n type=\"text\"\n @click=\"getProductCommentList(scope.$index, scope.row)\">1000\n </el-button>\n </template>\n </el-table-column> -->\n <el-table-column label=\"操作\" width=\"200\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-button\n size=\"mini\"\n @click=\"handleUpdate(scope.$index, scope.row)\">编辑\n </el-button>\n <el-button\n size=\"mini\"\n type=\"danger\"\n @click=\"handleDelete(scope.$index, scope.row)\">删除\n </el-button>\n </template>\n </el-table-column>\n </el-table>\n </div>\n <!-- <div class=\"batch-operate-container\">\n <el-select\n size=\"small\"\n v-model=\"operateType\" placeholder=\"批量操作\">\n <el-option\n v-for=\"item in operates\"\n :key=\"item.value\"\n :label=\"item.label\"\n :value=\"item.value\">\n </el-option>\n </el-select>\n <el-button\n style=\"margin-left: 20px\"\n class=\"search-button\"\n @click=\"handleBatchOperate()\"\n type=\"primary\"\n size=\"small\">\n 确定\n </el-button>\n </div> -->\n <div class=\"pagination-container\">\n <el-pagination\n background\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\"\n layout=\"total, sizes,prev, pager, next,jumper\"\n :page-size=\"listQuery.pageSize\"\n :page-sizes=\"[5,10,15]\"\n :current-page.sync=\"listQuery.pageNum\"\n :total=\"total\">\n </el-pagination>\n </div>\n </div>\n</template>\n<script>\n import {fetchList, updateShowStatus, updateFactoryStatus, deleteBrand} from '@/api/brand'\n\n export default {\n name: 'brandList',\n data() {\n return {\n operates: [\n {\n label: \"显示品牌\",\n value: \"showBrand\"\n },\n {\n label: \"隐藏品牌\",\n value: \"hideBrand\"\n }\n ],\n operateType: null,\n listQuery: {\n keyword: null,\n pageNum: 1,\n pageSize: 10\n },\n list: null,\n total: null,\n listLoading: true,\n multipleSelection: []\n }\n },\n created() {\n this.getList();\n },\n methods: {\n getList() {\n this.listLoading = true;\n fetchList(this.listQuery).then(response => {\n this.listLoading = false;\n this.list = response.data.list;\n this.total = response.data.total;\n this.totalPage = response.data.totalPage;\n this.pageSize = response.data.pageSize;\n });\n },\n handleSelectionChange(val) {\n this.multipleSelection = val;\n },\n handleUpdate(index, row) {\n this.$router.push({path: '/pms/updateBrand', query: {id: row.id}})\n },\n handleDelete(index, row) {\n this.$confirm('是否要删除该品牌', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(() => {\n deleteBrand(row.id).then(response => {\n this.$message({\n message: '删除成功',\n type: 'success',\n duration: 1000\n });\n this.getList();\n });\n });\n },\n getProductList(index, row) {\n console.log(index, row);\n },\n getProductCommentList(index, row) {\n console.log(index, row);\n },\n // handleFactoryStatusChange(index, row) {\n // var data = new URLSearchParams();\n // data.append(\"ids\", row.id);\n // data.append(\"factoryStatus\", row.factoryStatus);\n // updateFactoryStatus(data).then(response => {\n // this.$message({\n // message: '修改成功',\n // type: 'success',\n // duration: 1000\n // });\n // }).catch(error => {\n // if (row.factoryStatus === 0) {\n // row.factoryStatus = 1;\n // } else {\n // row.factoryStatus = 0;\n // }\n // });\n // },\n handleShowStatusChange(index, row) {\n // let data = new URLSearchParams();\n // ;\n // data.append(\"ids\", row.id);\n // data.append(\"showStatus\", row.showStatus);\n let obj = {\n ids:row.id,\n showStatus:row.showStatus\n }\n updateShowStatus(obj).then(response => {\n this.$message({\n message: '修改成功',\n type: 'success',\n duration: 1000\n });\n }).catch(error => {\n if (row.showStatus === 0) {\n row.showStatus = 1;\n } else {\n row.showStatus = 0;\n }\n });\n },\n handleSizeChange(val) {\n this.listQuery.pageNum = 1;\n this.listQuery.pageSize = val;\n this.getList();\n },\n handleCurrentChange(val) {\n this.listQuery.pageNum = val;\n this.getList();\n },\n searchBrandList() {\n this.listQuery.pageNum = 1;\n this.getList();\n },\n handleBatchOperate() {\n // console.log(this.multipleSelection);\n if (this.multipleSelection < 1) {\n this.$message({\n message: '请选择一条记录',\n type: 'warning',\n duration: 1000\n });\n return;\n }\n let showStatus = 0;\n if (this.operateType === 'showBrand') {\n showStatus = 1;\n } else if (this.operateType === 'hideBrand') {\n showStatus = 0;\n } else {\n this.$message({\n message: '请选择批量操作类型',\n type: 'warning',\n duration: 1000\n });\n return;\n }\n let ids = [];\n for (let i = 0; i < this.multipleSelection.length; i++) {\n ids.push(this.multipleSelection[i].id);\n }\n // let data = new URLSearchParams();\n // data.append(\"ids\", ids);\n // data.append(\"showStatus\", showStatus);\n let obj = {\n ids:ids.join(','),\n showStatus:showStatus\n }\n updateShowStatus(obj).then(response => {\n this.getList();\n this.$message({\n message: '修改成功',\n type: 'success',\n duration: 1000\n });\n });\n },\n addBrand() {\n this.$router.push({path: '/pms/addBrand'})\n }\n }\n }\n</script>\n<style rel=\"stylesheet/scss\" lang=\"scss\" scoped>\n\n\n</style>\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/views/pms/brand/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"app-container\"},[_c('el-card',{staticClass:\"filter-container\",attrs:{\"shadow\":\"never\"}},[_c('div',[_c('i',{staticClass:\"el-icon-search\"}),_vm._v(\" \"),_c('span',[_vm._v(\"筛选搜索\")]),_vm._v(\" \"),_c('el-button',{staticStyle:{\"float\":\"right\"},attrs:{\"type\":\"primary\",\"size\":\"small\"},on:{\"click\":function($event){_vm.searchBrandList()}}},[_vm._v(\"\\n 查询结果\\n \")])],1),_vm._v(\" \"),_c('div',{staticStyle:{\"margin-top\":\"15px\"}},[_c('el-form',{attrs:{\"inline\":true,\"model\":_vm.listQuery,\"size\":\"small\",\"label-width\":\"140px\"}},[_c('el-form-item',{attrs:{\"label\":\"输入搜索:\"}},[_c('el-input',{staticStyle:{\"width\":\"203px\"},attrs:{\"placeholder\":\"品牌名称/关键字\"},model:{value:(_vm.listQuery.keyword),callback:function ($$v) {_vm.$set(_vm.listQuery, \"keyword\", $$v)},expression:\"listQuery.keyword\"}})],1)],1)],1)]),_vm._v(\" \"),_c('el-card',{staticClass:\"operate-container\",attrs:{\"shadow\":\"never\"}},[_c('i',{staticClass:\"el-icon-tickets\"}),_vm._v(\" \"),_c('span',[_vm._v(\"数据列表\")]),_vm._v(\" \"),_c('el-button',{staticClass:\"btn-add\",attrs:{\"size\":\"mini\"},on:{\"click\":function($event){_vm.addBrand()}}},[_vm._v(\"\\n 添加\\n \")])],1),_vm._v(\" \"),_c('div',{staticClass:\"table-container\"},[_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.listLoading),expression:\"listLoading\"}],ref:\"brandTable\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.list,\"border\":\"\"},on:{\"selection-change\":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"60\",\"align\":\"center\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"编号\",\"width\":\"100\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(scope.row.id))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"品牌名称\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(scope.row.name))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"品牌首字母\",\"width\":\"100\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(scope.row.firstLetter))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"排序\",\"width\":\"100\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(scope.row.sort))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"是否显示\",\"width\":\"100\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-switch',{attrs:{\"active-value\":1,\"inactive-value\":0},on:{\"change\":function($event){_vm.handleShowStatusChange(scope.$index, scope.row)}},model:{value:(scope.row.showStatus),callback:function ($$v) {_vm.$set(scope.row, \"showStatus\", $$v)},expression:\"scope.row.showStatus\"}})]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"200\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){_vm.handleUpdate(scope.$index, scope.row)}}},[_vm._v(\"编辑\\n \")]),_vm._v(\" \"),_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){_vm.handleDelete(scope.$index, scope.row)}}},[_vm._v(\"删除\\n \")])]}}])})],1)],1),_vm._v(\" \"),_c('div',{staticClass:\"pagination-container\"},[_c('el-pagination',{attrs:{\"background\":\"\",\"layout\":\"total, sizes,prev, pager, next,jumper\",\"page-size\":_vm.listQuery.pageSize,\"page-sizes\":[5,10,15],\"current-page\":_vm.listQuery.pageNum,\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange,\"update:currentPage\":function($event){_vm.$set(_vm.listQuery, \"pageNum\", $event)}}})],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-4070c70f\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/pms/brand/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-4070c70f\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4070c70f\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-4070c70f\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/pms/brand/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}