1 |
- {"version":3,"sources":["webpack:///src/views/sms/brand/index.vue","webpack:///./src/api/homeBrand.js","webpack:///./src/views/sms/brand/index.vue?a1b0","webpack:///./src/views/sms/brand/index.vue"],"names":["defaultListQuery","pageNum","pageSize","brandName","recommendStatus","defaultRecommendOptions","label","value","sms_brand","name","data","listQuery","assign_default","recommendOptions","list","total","listLoading","multipleSelection","operates","operateType","selectDialogVisible","dialogData","keyword","sortDialogVisible","sortDialogData","sort","id","created","this","getList","filters","formatRecommendStatus","status","methods","handleResetSearch","handleSearchList","handleSelectionChange","val","handleSizeChange","handleCurrentChange","handleRecommendStatusStatusChange","index","row","updateRecommendStatusStatus","handleDelete","deleteBrand","handleBatchOperate","$message","message","type","duration","ids","i","length","push","handleSelectBrand","getDialogList","handleSelectSearch","handleDialogSizeChange","handleDialogCurrentChange","handleDialogSelectionChange","handleSelectDialogConfirm","_this","selectBrands","brandId","$confirm","confirmButtonText","cancelButtonText","then","Object","request","url","method","response","handleEditSort","handleUpdateSort","_this2","params","_this3","_this4","obj","join","requestType","catch","_this5","_this6","brand","views_sms_brand","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","shadow","_v","staticStyle","float","size","on","click","$event","margin-right","margin-top","inline","model","label-width","placeholder","callback","$$v","$set","expression","clearable","_l","item","key","directives","rawName","ref","width","border","selection-change","align","scopedSlots","_u","fn","scope","_s","active-value","inactive-value","change","$index","_f","margin-left","background","layout","page-size","page-sizes","current-page","size-change","current-change","update:currentPage","title","visible","update:visible","margin-bottom","slot","icon","productCount","productCommentCount","clear","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"2JA+KAA,GACAC,QAAA,EACAC,SAAA,EACAC,UAAA,KACAC,gBAAA,MAEAC,IAEAC,MAAA,MACAC,MAAA,IAGAD,MAAA,MACAC,MAAA,IAGAC,GACAC,KAAA,gBACAC,KAFA,WAGA,OACAC,UAAAC,OAAAZ,GACAa,iBAAAD,OAAAP,GACAS,KAAA,KACAC,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EAAAQ,GAAA,KAAAL,EAAA,QAAiCG,OAAOqD,KAAA,UAAgBA,KAAA,WAAexD,EAAA,aAAkBG,OAAOK,KAAA,SAAeC,IAAKC,MAAA,SAAAC,GAAyBd,EAAAlE,mBAAA,MAAgCkE,EAAAQ,GAAA,SAAAR,EAAAQ,GAAA,KAAAL,EAAA,aAA8CG,OAAO9C,KAAA,UAAAmD,KAAA,SAAgCC,IAAKC,MAAAb,EAAAd,oBAA8Bc,EAAAQ,GAAA,sBAErxPwD,oBCCjB,IAcAC,EAdAC,EAAA,OAcAC,CACApJ,EACA+E,GATA,EAVA,SAAAsE,GACAF,EAAA,SAaA,KAEA,MAUAG,EAAA,QAAAJ,EAAA","file":"static/js/27.60246654576eed7d53f0.js","sourcesContent":["<template> \r\n <div class=\"app-container\">\r\n <el-card class=\"filter-container\" shadow=\"never\">\r\n <div>\r\n <i class=\"el-icon-search\"></i>\r\n <span>筛选搜索</span>\r\n <el-button\r\n style=\"float:right\"\r\n type=\"primary\"\r\n @click=\"handleSearchList()\"\r\n size=\"small\">\r\n 查询搜索\r\n </el-button>\r\n <el-button\r\n style=\"float:right;margin-right: 15px\"\r\n @click=\"handleResetSearch()\"\r\n size=\"small\">\r\n 重置\r\n </el-button>\r\n </div>\r\n <div style=\"margin-top: 15px\">\r\n <el-form :inline=\"true\" :model=\"listQuery\" size=\"small\" label-width=\"140px\">\r\n <el-form-item label=\"品牌名称:\">\r\n <el-input v-model=\"listQuery.brandName\" class=\"input-width\" placeholder=\"品牌名称\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"推荐状态:\">\r\n <el-select v-model=\"listQuery.recommendStatus\" placeholder=\"全部\" clearable class=\"input-width\">\r\n <el-option v-for=\"item in recommendOptions\"\r\n :key=\"item.value\"\r\n :label=\"item.label\"\r\n :value=\"item.value\">\r\n </el-option>\r\n </el-select>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n </el-card>\r\n <el-card class=\"operate-container\" shadow=\"never\">\r\n <i class=\"el-icon-tickets\"></i>\r\n <span>数据列表</span>\r\n <el-button size=\"mini\" class=\"btn-add\" @click=\"handleSelectBrand()\">选择品牌</el-button>\r\n </el-card>\r\n <div class=\"table-container\">\r\n <el-table ref=\"homeBrandTable\"\r\n :data=\"list\"\r\n style=\"width: 100%;\"\r\n @selection-change=\"handleSelectionChange\"\r\n v-loading=\"listLoading\" border>\r\n <el-table-column type=\"selection\" width=\"60\" align=\"center\"></el-table-column>\r\n <el-table-column label=\"编号\" width=\"120\" align=\"center\">\r\n <template slot-scope=\"scope\">{{scope.row.id}}</template>\r\n </el-table-column>\r\n <el-table-column label=\"品牌名称\" align=\"center\">\r\n <template slot-scope=\"scope\">{{scope.row.brandName}}</template>\r\n </el-table-column>\r\n <el-table-column label=\"是否推荐\" width=\"200\" align=\"center\">\r\n <template slot-scope=\"scope\">\r\n <el-switch\r\n @change=\"handleRecommendStatusStatusChange(scope.$index, scope.row)\"\r\n :active-value=\"1\"\r\n :inactive-value=\"0\"\r\n v-model=\"scope.row.recommendStatus\">\r\n </el-switch>\r\n </template>\r\n </el-table-column>\r\n <el-table-column label=\"排序\" width=\"160\" align=\"center\">\r\n <template slot-scope=\"scope\">{{scope.row.sort}}</template>\r\n </el-table-column>\r\n <el-table-column label=\"状态\" width=\"160\" align=\"center\">\r\n <template slot-scope=\"scope\">{{scope.row.recommendStatus | formatRecommendStatus}}</template>\r\n </el-table-column>\r\n <el-table-column label=\"操作\" width=\"180\" align=\"center\">\r\n <template slot-scope=\"scope\">\r\n <el-button size=\"mini\"\r\n type=\"text\"\r\n @click=\"handleEditSort(scope.$index, scope.row)\">设置排序\r\n </el-button>\r\n <el-button size=\"mini\"\r\n type=\"text\"\r\n @click=\"handleDelete(scope.$index, scope.row)\">删除\r\n </el-button>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n </div>\r\n <div class=\"batch-operate-container\">\r\n <el-select\r\n size=\"small\"\r\n v-model=\"operateType\" placeholder=\"批量操作\">\r\n <el-option\r\n v-for=\"item in operates\"\r\n :key=\"item.value\"\r\n :label=\"item.label\"\r\n :value=\"item.value\">\r\n </el-option>\r\n </el-select>\r\n <el-button\r\n style=\"margin-left: 20px\"\r\n class=\"search-button\"\r\n @click=\"handleBatchOperate()\"\r\n type=\"primary\"\r\n size=\"small\">\r\n 确定\r\n </el-button>\r\n </div>\r\n <div class=\"pagination-container\">\r\n <el-pagination\r\n background\r\n @size-change=\"handleSizeChange\"\r\n @current-change=\"handleCurrentChange\"\r\n layout=\"total, sizes,prev, pager, next,jumper\"\r\n :page-size=\"listQuery.pageSize\"\r\n :page-sizes=\"[5,10,15]\"\r\n :current-page.sync=\"listQuery.pageNum\"\r\n :total=\"total\">\r\n </el-pagination>\r\n </div>\r\n <el-dialog title=\"选择品牌\" :visible.sync=\"selectDialogVisible\" width=\"40%\">\r\n <el-input v-model=\"dialogData.listQuery.keyword\"\r\n style=\"width: 250px;margin-bottom: 20px\"\r\n size=\"small\"\r\n placeholder=\"品牌名称搜索\">\r\n <el-button slot=\"append\" icon=\"el-icon-search\" @click=\"handleSelectSearch()\"></el-button>\r\n </el-input>\r\n <el-table :data=\"dialogData.list\"\r\n @selection-change=\"handleDialogSelectionChange\" border>\r\n <el-table-column type=\"selection\" width=\"60\" align=\"center\"></el-table-column>\r\n <el-table-column label=\"品牌名称\"align=\"center\">\r\n <template slot-scope=\"scope\">{{scope.row.name}}</template>\r\n </el-table-column>\r\n <el-table-column label=\"相关\" width=\"220\" align=\"center\">\r\n <template slot-scope=\"scope\">\r\n 商品:<span class=\"color-main\">{{scope.row.productCount}}</span>\r\n 评价:<span class=\"color-main\">{{scope.row.productCommentCount}}</span>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <div class=\"pagination-container\">\r\n <el-pagination\r\n background\r\n @size-change=\"handleDialogSizeChange\"\r\n @current-change=\"handleDialogCurrentChange\"\r\n layout=\"prev, pager, next\"\r\n :current-page.sync=\"dialogData.listQuery.pageNum\"\r\n :page-size=\"dialogData.listQuery.pageSize\"\r\n :page-sizes=\"[5,10,15]\"\r\n :total=\"dialogData.total\">\r\n </el-pagination>\r\n </div>\r\n <div style=\"clear: both;\"></div>\r\n <div slot=\"footer\">\r\n <el-button size=\"small\" @click=\"selectDialogVisible = false\">取 消</el-button>\r\n <el-button size=\"small\" type=\"primary\" @click=\"handleSelectDialogConfirm()\">确 定</el-button>\r\n </div>\r\n </el-dialog>\r\n <el-dialog title=\"设置排序\"\r\n :visible.sync=\"sortDialogVisible\"\r\n width=\"40%\">\r\n <el-form :model=\"sortDialogData\"\r\n label-width=\"150px\">\r\n <el-form-item label=\"排序:\">\r\n <el-input v-model=\"sortDialogData.sort\" style=\"width: 200px\"></el-input>\r\n </el-form-item>\r\n </el-form>\r\n <span slot=\"footer\">\r\n <el-button @click=\"sortDialogVisible = false\" size=\"small\">取 消</el-button>\r\n <el-button type=\"primary\" @click=\"handleUpdateSort\" size=\"small\">确 定</el-button>\r\n </span>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n<script>\r\n import {fetchList,updateRecommendStatus,deleteHomeBrand,createHomeBrand,updateHomeBrandSort} from '@/api/homeBrand';\r\n import {fetchList as fetchBrandList} from '@/api/brand';\r\n\r\n const defaultListQuery = {\r\n pageNum: 1,\r\n pageSize: 5,\r\n brandName: null,\r\n recommendStatus: null\r\n };\r\n const defaultRecommendOptions = [\r\n {\r\n label: '未推荐',\r\n value: 0\r\n },\r\n {\r\n label: '推荐中',\r\n value: 1\r\n }\r\n ];\r\n export default {\r\n name: 'homeBrandList',\r\n data() {\r\n return {\r\n listQuery: Object.assign({}, defaultListQuery),\r\n recommendOptions: Object.assign({}, defaultRecommendOptions),\r\n list: null,\r\n total: null,\r\n listLoading: false,\r\n multipleSelection: [],\r\n operates: [\r\n {\r\n label: \"设为推荐\",\r\n value: 0\r\n },\r\n {\r\n label: \"取消推荐\",\r\n value: 1\r\n },\r\n {\r\n label: \"删除\",\r\n value: 2\r\n }\r\n ],\r\n operateType: null,\r\n selectDialogVisible:false,\r\n dialogData:{\r\n list: null,\r\n total: null,\r\n multipleSelection:[],\r\n listQuery:{\r\n keyword: null,\r\n pageNum: 1,\r\n pageSize: 5\r\n }\r\n },\r\n sortDialogVisible:false,\r\n sortDialogData:{sort:0,id:null}\r\n }\r\n },\r\n created() {\r\n this.getList();\r\n },\r\n filters:{\r\n formatRecommendStatus(status){\r\n if(status===1){\r\n return '推荐中';\r\n }else{\r\n return '未推荐';\r\n }\r\n }\r\n },\r\n methods: {\r\n handleResetSearch() {\r\n this.listQuery = Object.assign({}, defaultListQuery);\r\n },\r\n handleSearchList() {\r\n this.listQuery.pageNum = 1;\r\n this.getList();\r\n },\r\n handleSelectionChange(val){\r\n this.multipleSelection = val;\r\n },\r\n handleSizeChange(val) {\r\n this.listQuery.pageNum = 1;\r\n this.listQuery.pageSize = val;\r\n this.getList();\r\n },\r\n handleCurrentChange(val) {\r\n this.listQuery.pageNum = val;\r\n this.getList();\r\n },\r\n handleRecommendStatusStatusChange(index,row){\r\n this.updateRecommendStatusStatus([row.id],row.recommendStatus);\r\n },\r\n handleDelete(index,row){\r\n this.deleteBrand([row.id]);\r\n },\r\n handleBatchOperate(){\r\n if (this.multipleSelection < 1) {\r\n this.$message({\r\n message: '请选择一条记录',\r\n type: 'warning',\r\n duration: 1000\r\n });\r\n return;\r\n }\r\n let ids = [];\r\n for (let i = 0; i < this.multipleSelection.length; i++) {\r\n ids.push(this.multipleSelection[i].id);\r\n }\r\n if (this.operateType === 0) {\r\n //设为推荐\r\n this.updateRecommendStatusStatus(ids,1);\r\n } else if (this.operateType === 1) {\r\n //取消推荐\r\n this.updateRecommendStatusStatus(ids,0);\r\n } else if(this.operateType===2){\r\n //删除\r\n this.deleteBrand(ids);\r\n }else {\r\n this.$message({\r\n message: '请选择批量操作类型',\r\n type: 'warning',\r\n duration: 1000\r\n });\r\n return;\r\n }\r\n },\r\n handleSelectBrand(){\r\n this.selectDialogVisible=true;\r\n this.getDialogList();\r\n },\r\n handleSelectSearch(){\r\n this.getDialogList();\r\n },\r\n handleDialogSizeChange(val) {\r\n this.dialogData.listQuery.pageNum = 1;\r\n this.dialogData.listQuery.pageSize = val;\r\n this.getDialogList();\r\n },\r\n handleDialogCurrentChange(val) {\r\n this.dialogData.listQuery.pageNum = val;\r\n this.getDialogList();\r\n },\r\n handleDialogSelectionChange(val){\r\n this.dialogData.multipleSelection = val;\r\n },\r\n handleSelectDialogConfirm(){\r\n if (this.dialogData.multipleSelection < 1) {\r\n this.$message({\r\n message: '请选择一条记录',\r\n type: 'warning',\r\n duration: 1000\r\n });\r\n return;\r\n }\r\n let selectBrands = [];\r\n for (let i = 0; i < this.dialogData.multipleSelection.length; i++) {\r\n selectBrands.push({\r\n brandId:this.dialogData.multipleSelection[i].id,\r\n brandName:this.dialogData.multipleSelection[i].name\r\n });\r\n }\r\n this.$confirm('使用要进行添加操作?', '提示', {\r\n confirmButtonText: '确定',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n }).then(() => {\r\n createHomeBrand(selectBrands).then(response=>{\r\n this.selectDialogVisible=false;\r\n this.dialogData.multipleSelection=[];\r\n this.getList();\r\n this.$message({\r\n type: 'success',\r\n message: '添加成功!'\r\n });\r\n });\r\n });\r\n },\r\n handleEditSort(index,row){\r\n this.sortDialogVisible=true;\r\n this.sortDialogData.sort=row.sort;\r\n this.sortDialogData.id=row.id;\r\n },\r\n handleUpdateSort(){\r\n this.$confirm('是否要修改排序?', '提示', {\r\n confirmButtonText: '确定',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n }).then(() => {\r\n updateHomeBrandSort(this.sortDialogData).then(response=>{\r\n this.sortDialogVisible=false;\r\n this.getList();\r\n this.$message({\r\n type: 'success',\r\n message: '删除成功!'\r\n });\r\n });\r\n })\r\n },\r\n getList() {\r\n this.listLoading = true;\r\n fetchList(this.listQuery).then(response => {\r\n this.listLoading = false;\r\n this.list = response.data.list;\r\n this.total = response.data.total;\r\n })\r\n },\r\n updateRecommendStatusStatus(ids,status){\r\n this.$confirm('是否要修改推荐状态?', '提示', {\r\n confirmButtonText: '确定',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n }).then(() => {\r\n // let params=new URLSearchParams();\r\n // params.append(\"ids\",ids);\r\n // params.append(\"recommendStatus\",status);\r\n let obj = {\r\n ids:ids.join(','),\r\n recommendStatus:status\r\n }\r\n updateRecommendStatus(obj).then(response=>{\r\n this.getList();\r\n this.$message({\r\n type: 'success',\r\n message: '修改成功!'\r\n });\r\n });\r\n }).catch(() => {\r\n this.$message({\r\n type: 'success',\r\n message: '已取消操作!'\r\n });\r\n this.getList();\r\n });\r\n },\r\n deleteBrand(ids){\r\n this.$confirm('是否要删除该推荐?', '提示', {\r\n confirmButtonText: '确定',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n }).then(() => {\r\n // let params=new URLSearchParams();\r\n // params.append(\"ids\",ids);\r\n let obj = {\r\n ids:ids.join(',')\r\n }\r\n deleteHomeBrand(obj).then(response=>{\r\n this.getList();\r\n this.$message({\r\n type: 'success',\r\n message: '删成功!'\r\n });\r\n });\r\n })\r\n },\r\n getDialogList(){\r\n fetchBrandList(this.dialogData.listQuery).then(response=>{\r\n this.dialogData.list=response.data.list;\r\n this.dialogData.total=response.data.total;\r\n })\r\n }\r\n }\r\n }\r\n</script>\r\n<style></style>\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/views/sms/brand/index.vue","import request from '@/utils/request'\r\nexport function fetchList(params) {\r\n return request({\r\n url:'/home/brand/list',\r\n method:'get',\r\n params:params\r\n })\r\n}\r\n\r\nexport function updateRecommendStatus(data) {\r\n return request({\r\n url:'/home/brand/update/recommendStatus',\r\n method:'post',\r\n data:data,\r\n requestType:'form'\r\n })\r\n}\r\n\r\nexport function deleteHomeBrand(data) {\r\n return request({\r\n url:'/home/brand/delete',\r\n method:'post',\r\n data:data,\r\n requestType:'form'\r\n })\r\n}\r\n\r\nexport function createHomeBrand(data) {\r\n return request({\r\n url:'/home/brand/create',\r\n method:'post',\r\n data:data\r\n })\r\n}\r\n\r\nexport function updateHomeBrandSort(params) {\r\n return request({\r\n url:'/home/brand/update/sort/'+params.id,\r\n method:'post',\r\n params:params\r\n })\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/homeBrand.js","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.handleSearchList()}}},[_vm._v(\"\\n 查询搜索\\n \")]),_vm._v(\" \"),_c('el-button',{staticStyle:{\"float\":\"right\",\"margin-right\":\"15px\"},attrs:{\"size\":\"small\"},on:{\"click\":function($event){_vm.handleResetSearch()}}},[_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',{staticClass:\"input-width\",attrs:{\"placeholder\":\"品牌名称\"},model:{value:(_vm.listQuery.brandName),callback:function ($$v) {_vm.$set(_vm.listQuery, \"brandName\", $$v)},expression:\"listQuery.brandName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"推荐状态:\"}},[_c('el-select',{staticClass:\"input-width\",attrs:{\"placeholder\":\"全部\",\"clearable\":\"\"},model:{value:(_vm.listQuery.recommendStatus),callback:function ($$v) {_vm.$set(_vm.listQuery, \"recommendStatus\", $$v)},expression:\"listQuery.recommendStatus\"}},_vm._l((_vm.recommendOptions),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}))],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.handleSelectBrand()}}},[_vm._v(\"选择品牌\")])],1),_vm._v(\" \"),_c('div',{staticClass:\"table-container\"},[_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.listLoading),expression:\"listLoading\"}],ref:\"homeBrandTable\",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\":\"120\",\"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.brandName))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"是否推荐\",\"width\":\"200\",\"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.handleRecommendStatusStatusChange(scope.$index, scope.row)}},model:{value:(scope.row.recommendStatus),callback:function ($$v) {_vm.$set(scope.row, \"recommendStatus\", $$v)},expression:\"scope.row.recommendStatus\"}})]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"排序\",\"width\":\"160\",\"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\":\"160\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(_vm._f(\"formatRecommendStatus\")(scope.row.recommendStatus)))]}}])}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"180\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"text\"},on:{\"click\":function($event){_vm.handleEditSort(scope.$index, scope.row)}}},[_vm._v(\"设置排序\\n \")]),_vm._v(\" \"),_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"text\"},on:{\"click\":function($event){_vm.handleDelete(scope.$index, scope.row)}}},[_vm._v(\"删除\\n \")])]}}])})],1)],1),_vm._v(\" \"),_c('div',{staticClass:\"batch-operate-container\"},[_c('el-select',{attrs:{\"size\":\"small\",\"placeholder\":\"批量操作\"},model:{value:(_vm.operateType),callback:function ($$v) {_vm.operateType=$$v},expression:\"operateType\"}},_vm._l((_vm.operates),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})})),_vm._v(\" \"),_c('el-button',{staticClass:\"search-button\",staticStyle:{\"margin-left\":\"20px\"},attrs:{\"type\":\"primary\",\"size\":\"small\"},on:{\"click\":function($event){_vm.handleBatchOperate()}}},[_vm._v(\"\\n 确定\\n \")])],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),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"选择品牌\",\"visible\":_vm.selectDialogVisible,\"width\":\"40%\"},on:{\"update:visible\":function($event){_vm.selectDialogVisible=$event}}},[_c('el-input',{staticStyle:{\"width\":\"250px\",\"margin-bottom\":\"20px\"},attrs:{\"size\":\"small\",\"placeholder\":\"品牌名称搜索\"},model:{value:(_vm.dialogData.listQuery.keyword),callback:function ($$v) {_vm.$set(_vm.dialogData.listQuery, \"keyword\", $$v)},expression:\"dialogData.listQuery.keyword\"}},[_c('el-button',{attrs:{\"slot\":\"append\",\"icon\":\"el-icon-search\"},on:{\"click\":function($event){_vm.handleSelectSearch()}},slot:\"append\"})],1),_vm._v(\" \"),_c('el-table',{attrs:{\"data\":_vm.dialogData.list,\"border\":\"\"},on:{\"selection-change\":_vm.handleDialogSelectionChange}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"60\",\"align\":\"center\"}}),_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\":\"220\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n 商品:\"),_c('span',{staticClass:\"color-main\"},[_vm._v(_vm._s(scope.row.productCount))]),_vm._v(\"\\n 评价:\"),_c('span',{staticClass:\"color-main\"},[_vm._v(_vm._s(scope.row.productCommentCount))])]}}])})],1),_vm._v(\" \"),_c('div',{staticClass:\"pagination-container\"},[_c('el-pagination',{attrs:{\"background\":\"\",\"layout\":\"prev, pager, next\",\"current-page\":_vm.dialogData.listQuery.pageNum,\"page-size\":_vm.dialogData.listQuery.pageSize,\"page-sizes\":[5,10,15],\"total\":_vm.dialogData.total},on:{\"size-change\":_vm.handleDialogSizeChange,\"current-change\":_vm.handleDialogCurrentChange,\"update:currentPage\":function($event){_vm.$set(_vm.dialogData.listQuery, \"pageNum\", $event)}}})],1),_vm._v(\" \"),_c('div',{staticStyle:{\"clear\":\"both\"}}),_vm._v(\" \"),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"small\"},on:{\"click\":function($event){_vm.selectDialogVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":function($event){_vm.handleSelectDialogConfirm()}}},[_vm._v(\"确 定\")])],1)],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"设置排序\",\"visible\":_vm.sortDialogVisible,\"width\":\"40%\"},on:{\"update:visible\":function($event){_vm.sortDialogVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.sortDialogData,\"label-width\":\"150px\"}},[_c('el-form-item',{attrs:{\"label\":\"排序:\"}},[_c('el-input',{staticStyle:{\"width\":\"200px\"},model:{value:(_vm.sortDialogData.sort),callback:function ($$v) {_vm.$set(_vm.sortDialogData, \"sort\", $$v)},expression:\"sortDialogData.sort\"}})],1)],1),_vm._v(\" \"),_c('span',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"small\"},on:{\"click\":function($event){_vm.sortDialogVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"small\"},on:{\"click\":_vm.handleUpdateSort}},[_vm._v(\"确 定\")])],1)],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-f6055908\",\"hasScoped\":false,\"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/sms/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}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-f6055908\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../../../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-f6055908\\\",\\\"hasScoped\\\":false,\\\"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__ = null\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/sms/brand/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
|