{"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,MAAA,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,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":["\r\n\r\n\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":""}