39.5f1461ca7809095b2274.js.map 40 KB

1
  1. {"version":3,"sources":["webpack:///src/views/sms/hot/index.vue","webpack:///./src/api/hotProduct.js","webpack:///./src/views/sms/hot/index.vue?8c95","webpack:///./src/views/sms/hot/index.vue"],"names":["defaultListQuery","pageNum","pageSize","productName","recommendStatus","defaultRecommendOptions","label","value","hot","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","deleteProduct","handleBatchOperate","$message","message","type","duration","ids","i","length","push","handleSelectProduct","getDialogList","handleSelectSearch","handleDialogSizeChange","handleDialogCurrentChange","handleDialogSelectionChange","handleSelectDialogConfirm","_this","selectProducts","productId","$confirm","confirmButtonText","cancelButtonText","then","Object","request","url","method","response","handleEditSort","handleUpdateSort","_this2","params","_this3","_this4","obj","join","requestType","catch","_this5","_this6","product","sms_hot","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","productSn","price","clear","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"gLAoPAA,GACAC,QAAA,EACAC,SAAA,EACAC,YAAA,KACAC,gBAAA,MAEAC,IAEAC,MAAA,MACAC,MAAA,IAGAD,MAAA,MACAC,MAAA,IAGAC,GACAC,KAAA,iBACAC,KAFA,WAGA,OACAC,UAAAC,OAAAZ,GACAa,iBAAAD,OAAAP,GACAS,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AuB,KAAAvB,EAAAjE,eAAA,OAAAuF,IAA0CE,WAAA,0BAAmC,OAAAxB,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,sBAEpzPwD,oBCCjB,IAcAC,EAdAC,EAAA,OAcAC,CACApJ,EACA+E,GATA,EAVA,SAAAsE,GACAF,EAAA,SAaA,KAEA,MAUAG,EAAA,QAAAJ,EAAA","file":"static/js/39.5f1461ca7809095b2274.js","sourcesContent":["<template>\r\n  \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 查询搜索\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 重置\r\n </el-button>\r\n </div>\r\n <div style=\"margin-top: 15px\">\r\n <el-form\r\n :inline=\"true\"\r\n :model=\"listQuery\"\r\n size=\"small\"\r\n label-width=\"140px\"\r\n >\r\n <el-form-item label=\"商品名称:\">\r\n <el-input\r\n v-model=\"listQuery.productName\"\r\n class=\"input-width\"\r\n placeholder=\"商品名称\"\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"推荐状态:\">\r\n <el-select\r\n v-model=\"listQuery.recommendStatus\"\r\n placeholder=\"全部\"\r\n clearable\r\n class=\"input-width\"\r\n >\r\n <el-option\r\n v-for=\"item in recommendOptions\"\r\n :key=\"item.value\"\r\n :label=\"item.label\"\r\n :value=\"item.value\"\r\n >\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=\"handleSelectProduct()\"\r\n >选择商品</el-button\r\n >\r\n </el-card>\r\n <div class=\"table-container\">\r\n <el-table\r\n ref=\"newProductTable\"\r\n :data=\"list\"\r\n style=\"width: 100%\"\r\n @selection-change=\"handleSelectionChange\"\r\n v-loading=\"listLoading\"\r\n border\r\n >\r\n <el-table-column\r\n type=\"selection\"\r\n width=\"60\"\r\n align=\"center\"\r\n ></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.productName }}</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=\"\r\n handleRecommendStatusStatusChange(scope.$index, scope.row)\r\n \"\r\n :active-value=\"1\"\r\n :inactive-value=\"0\"\r\n v-model=\"scope.row.recommendStatus\"\r\n >\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\">{{\r\n scope.row.recommendStatus | formatRecommendStatus\r\n }}</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\r\n size=\"mini\"\r\n type=\"text\"\r\n @click=\"handleEditSort(scope.$index, scope.row)\"\r\n >设置排序\r\n </el-button>\r\n <el-button\r\n size=\"mini\"\r\n type=\"text\"\r\n @click=\"handleDelete(scope.$index, scope.row)\"\r\n >删除\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 size=\"small\" 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 >\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 确定\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 >\r\n </el-pagination>\r\n </div>\r\n <el-dialog title=\"选择商品\" :visible.sync=\"selectDialogVisible\" width=\"50%\">\r\n <el-input\r\n v-model=\"dialogData.listQuery.keyword\"\r\n style=\"width: 250px; margin-bottom: 20px\"\r\n size=\"small\"\r\n placeholder=\"商品名称搜索\"\r\n >\r\n <el-button\r\n slot=\"append\"\r\n icon=\"el-icon-search\"\r\n @click=\"handleSelectSearch()\"\r\n ></el-button>\r\n </el-input>\r\n <el-table\r\n :data=\"dialogData.list\"\r\n @selection-change=\"handleDialogSelectionChange\"\r\n border\r\n >\r\n <el-table-column\r\n type=\"selection\"\r\n width=\"60\"\r\n align=\"center\"\r\n ></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=\"160\" align=\"center\">\r\n <template slot-scope=\"scope\">NO.{{ scope.row.productSn }}</template>\r\n </el-table-column>\r\n <el-table-column label=\"价格\" width=\"120\" align=\"center\">\r\n <template slot-scope=\"scope\">¥{{ scope.row.price }}</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 >\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\"\r\n >取 消</el-button\r\n >\r\n <el-button\r\n size=\"small\"\r\n type=\"primary\"\r\n @click=\"handleSelectDialogConfirm()\"\r\n >确 定</el-button\r\n >\r\n </div>\r\n </el-dialog>\r\n <el-dialog title=\"设置排序\" :visible.sync=\"sortDialogVisible\" width=\"40%\">\r\n <el-form :model=\"sortDialogData\" label-width=\"150px\">\r\n <el-form-item label=\"排序:\">\r\n <el-input\r\n v-model=\"sortDialogData.sort\"\r\n style=\"width: 200px\"\r\n ></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\"\r\n >取 消</el-button\r\n >\r\n <el-button type=\"primary\" @click=\"handleUpdateSort\" size=\"small\"\r\n >确 定</el-button\r\n >\r\n </span>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n<script>\r\nimport {\r\n fetchList,\r\n updateRecommendStatus,\r\n deleteHotProduct,\r\n createHotProduct,\r\n updateHotProductSort,\r\n} from \"@/api/hotProduct\";\r\nimport { fetchList as fetchProductList } from \"@/api/product\";\r\n\r\nconst defaultListQuery = {\r\n pageNum: 1,\r\n pageSize: 5,\r\n productName: null,\r\n recommendStatus: null,\r\n};\r\nconst 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\nexport default {\r\n name: \"hotProductList\",\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.deleteProduct([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.deleteProduct(ids);\r\n } else {\r\n this.$message({\r\n message: \"请选择批量操作类型\",\r\n type: \"warning\",\r\n duration: 1000,\r\n });\r\n }\r\n },\r\n handleSelectProduct() {\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 selectProducts = [];\r\n for (let i = 0; i < this.dialogData.multipleSelection.length; i++) {\r\n selectProducts.push({\r\n productId: this.dialogData.multipleSelection[i].id,\r\n productName: 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 createHotProduct(selectProducts).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 updateHotProductSort(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 })\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 })\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 deleteProduct(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 deleteHotProduct(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 fetchProductList(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\n\n\n// WEBPACK FOOTER //\n// src/views/sms/hot/index.vue","import request from '@/utils/request'\r\nexport function fetchList(params) {\r\n return request({\r\n url:'/home/recommendProduct/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/recommendProduct/update/recommendStatus',\r\n method:'post',\r\n data:data,\r\n requestType:'form'\r\n })\r\n}\r\n\r\nexport function deleteHotProduct(data) {\r\n return request({\r\n url:'/home/recommendProduct/delete',\r\n method:'post',\r\n data:data,\r\n requestType:'form'\r\n })\r\n}\r\n\r\nexport function createHotProduct(data) {\r\n return request({\r\n url:'/home/recommendProduct/create',\r\n method:'post',\r\n data:data\r\n })\r\n}\r\n\r\nexport function updateHotProductSort(params) {\r\n return request({\r\n url:'/home/recommendProduct/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/hotProduct.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.productName),callback:function ($$v) {_vm.$set(_vm.listQuery, \"productName\", $$v)},expression:\"listQuery.productName\"}})],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.handleSelectProduct()}}},[_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:\"newProductTable\",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.productName))]}}])}),_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\":\"50%\"},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\":\"160\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"NO.\"+_vm._s(scope.row.productSn))]}}])}),_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.price))]}}])})],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-5ecbbffe\",\"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/hot/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-5ecbbffe\\\",\\\"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-5ecbbffe\\\",\\\"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/hot/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}