1 |
- {"version":3,"sources":["webpack:///src/views/sms/subject/index.vue","webpack:///./src/api/homeSubject.js","webpack:///./src/views/sms/subject/index.vue?d64d","webpack:///./src/views/sms/subject/index.vue"],"names":["defaultListQuery","pageNum","pageSize","subjectName","recommendStatus","defaultRecommendOptions","label","value","sms_subject","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","formatTime","time","date","Date","Object","utils_date","methods","handleResetSearch","handleSearchList","handleSelectionChange","val","handleSizeChange","handleCurrentChange","handleRecommendStatusStatusChange","index","row","updateRecommendStatusStatus","handleDelete","deleteSubject","handleBatchOperate","$message","message","type","duration","ids","i","length","push","handleSelectSubject","getDialogList","handleSelectSearch","handleDialogSizeChange","handleDialogCurrentChange","handleDialogSelectionChange","handleSelectDialogConfirm","_this","selectSubjects","subjectId","title","$confirm","confirmButtonText","cancelButtonText","then","request","url","method","response","handleEditSort","handleUpdateSort","_this2","params","_this3","_this4","obj","join","requestType","catch","_this5","_this6","subject","views_sms_subject","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","visible","update:visible","margin-bottom","slot","icon","categoryName","createTime","clear","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"yKAgLAA,GACAC,QAAA,EACAC,SAAA,EACAC,YAAA,KACAC,gBAAA,MAEAC,IAEAC,MAAA,MACAC,MAAA,IAGAD,MAAA,MACAC,MAAA,IAGAC,GACAC,KAAA,kBACAC,KAFA,WAGA,OACAC,UAAAC,OAAAZ,GACAa,iBAAAD,OAAA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AAAxE,kBAAAsF,MAA+BX,EAAA,WAAgBG,OAAOY,MAAAlB,EAAAvE,eAAA0F,cAAA,WAAkDhB,EAAA,gBAAqBG,OAAO/F,MAAA,SAAe4F,EAAA,YAAiBM,aAAauB,MAAA,SAAgBd,OAAQ1G,MAAAwF,EAAAvE,eAAA,KAAA4F,SAAA,SAAAC,GAAyDtB,EAAAuB,KAAAvB,EAAAvE,eAAA,OAAA6F,IAA0CE,WAAA,0BAAmC,OAAAxB,EAAAQ,GAAA,KAAAL,EAAA,QAAiCG,OAAOoD,KAAA,UAAgBA,KAAA,WAAevD,EAAA,aAAkBG,OAAOK,KAAA,SAAeC,IAAKC,MAAA,SAAAC,GAAyBd,EAAAxE,mBAAA,MAAgCwE,EAAAQ,GAAA,SAAAR,EAAAQ,GAAA,KAAAL,EAAA,aAA8CG,OAAO9C,KAAA,UAAAmD,KAAA,SAAgCC,IAAKC,MAAAb,EAAAd,oBAA8Bc,EAAAQ,GAAA,sBAEz0PuD,oBCCjB,IAcAC,EAdAC,EAAA,OAcAC,CACAzJ,EACAqF,GATA,EAVA,SAAAqE,GACAF,EAAA,SAaA,KAEA,MAUAG,EAAA,QAAAJ,EAAA","file":"static/js/26.5dfc351d2f93bf362ebe.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 type=\"primary\"\n @click=\"handleSearchList()\"\n size=\"small\">\n 查询搜索\n </el-button>\n <el-button\n style=\"float:right;margin-right: 15px\"\n @click=\"handleResetSearch()\"\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 v-model=\"listQuery.subjectName\" class=\"input-width\" placeholder=\"专题名称\"></el-input>\n </el-form-item>\n <el-form-item label=\"推荐状态:\">\n <el-select v-model=\"listQuery.recommendStatus\" placeholder=\"全部\" clearable class=\"input-width\">\n <el-option v-for=\"item in recommendOptions\"\n :key=\"item.value\"\n :label=\"item.label\"\n :value=\"item.value\">\n </el-option>\n </el-select>\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 size=\"mini\" class=\"btn-add\" @click=\"handleSelectSubject()\">选择专题</el-button>\n </el-card>\n <div class=\"table-container\">\n <el-table ref=\"newSubjectTable\"\n :data=\"list\"\n style=\"width: 100%;\"\n @selection-change=\"handleSelectionChange\"\n v-loading=\"listLoading\" border>\n <el-table-column type=\"selection\" width=\"60\" align=\"center\"></el-table-column>\n <el-table-column label=\"编号\" width=\"120\" 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.subjectName}}</template>\n </el-table-column>\n <el-table-column label=\"是否推荐\" width=\"200\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-switch\n @change=\"handleRecommendStatusStatusChange(scope.$index, scope.row)\"\n :active-value=\"1\"\n :inactive-value=\"0\"\n v-model=\"scope.row.recommendStatus\">\n </el-switch>\n </template>\n </el-table-column>\n <el-table-column label=\"排序\" width=\"160\" align=\"center\">\n <template slot-scope=\"scope\">{{scope.row.sort}}</template>\n </el-table-column>\n <el-table-column label=\"状态\" width=\"160\" align=\"center\">\n <template slot-scope=\"scope\">{{scope.row.recommendStatus | formatRecommendStatus}}</template>\n </el-table-column>\n <el-table-column label=\"操作\" width=\"180\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-button size=\"mini\"\n type=\"text\"\n @click=\"handleEditSort(scope.$index, scope.row)\">设置排序\n </el-button>\n <el-button size=\"mini\"\n type=\"text\"\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 <el-dialog title=\"选择专题\" :visible.sync=\"selectDialogVisible\" width=\"50%\">\n <el-input v-model=\"dialogData.listQuery.keyword\"\n style=\"width: 250px;margin-bottom: 20px\"\n size=\"small\"\n placeholder=\"专题名称搜索\">\n <el-button slot=\"append\" icon=\"el-icon-search\" @click=\"handleSelectSearch()\"></el-button>\n </el-input>\n <el-table :data=\"dialogData.list\"\n @selection-change=\"handleDialogSelectionChange\" border>\n <el-table-column type=\"selection\" width=\"60\" align=\"center\"></el-table-column>\n <el-table-column label=\"专题名称\" align=\"center\">\n <template slot-scope=\"scope\">{{scope.row.title}}</template>\n </el-table-column>\n <el-table-column label=\"所属分类\" width=\"160\" align=\"center\">\n <template slot-scope=\"scope\">{{scope.row.categoryName}}</template>\n </el-table-column>\n <el-table-column label=\"添加时间\" width=\"160\" align=\"center\">\n <template slot-scope=\"scope\">{{scope.row.createTime | formatTime}}</template>\n </el-table-column>\n </el-table>\n <div class=\"pagination-container\">\n <el-pagination\n background\n @size-change=\"handleDialogSizeChange\"\n @current-change=\"handleDialogCurrentChange\"\n layout=\"prev, pager, next\"\n :current-page.sync=\"dialogData.listQuery.pageNum\"\n :page-size=\"dialogData.listQuery.pageSize\"\n :page-sizes=\"[5,10,15]\"\n :total=\"dialogData.total\">\n </el-pagination>\n </div>\n <div style=\"clear: both;\"></div>\n <div slot=\"footer\">\n <el-button size=\"small\" @click=\"selectDialogVisible = false\">取 消</el-button>\n <el-button size=\"small\" type=\"primary\" @click=\"handleSelectDialogConfirm()\">确 定</el-button>\n </div>\n </el-dialog>\n <el-dialog title=\"设置排序\"\n :visible.sync=\"sortDialogVisible\"\n width=\"40%\">\n <el-form :model=\"sortDialogData\"\n label-width=\"150px\">\n <el-form-item label=\"排序:\">\n <el-input v-model=\"sortDialogData.sort\" style=\"width: 200px\"></el-input>\n </el-form-item>\n </el-form>\n <span slot=\"footer\">\n <el-button @click=\"sortDialogVisible = false\" size=\"small\">取 消</el-button>\n <el-button type=\"primary\" @click=\"handleUpdateSort\" size=\"small\">确 定</el-button>\n </span>\n </el-dialog>\n </div>\n</template>\n<script>\n import {fetchList,updateRecommendStatus,deleteHomeSubject,createHomeSubject,updateHomeSubjectSort} from '@/api/homeSubject';\n import {fetchList as fetchSubjectList} from '@/api/subject';\n import {formatDate} from '@/utils/date';\n\n const defaultListQuery = {\n pageNum: 1,\n pageSize: 5,\n subjectName: null,\n recommendStatus: null\n };\n const defaultRecommendOptions = [\n {\n label: '未推荐',\n value: 0\n },\n {\n label: '推荐中',\n value: 1\n }\n ];\n export default {\n name: 'homeSubjectList',\n data() {\n return {\n listQuery: Object.assign({}, defaultListQuery),\n recommendOptions: Object.assign({}, defaultRecommendOptions),\n list: null,\n total: null,\n listLoading: false,\n multipleSelection: [],\n operates: [\n {\n label: \"设为推荐\",\n value: 0\n },\n {\n label: \"取消推荐\",\n value: 1\n },\n {\n label: \"删除\",\n value: 2\n }\n ],\n operateType: null,\n selectDialogVisible:false,\n dialogData:{\n list: null,\n total: null,\n multipleSelection:[],\n listQuery:{\n keyword: null,\n pageNum: 1,\n pageSize: 5\n }\n },\n sortDialogVisible:false,\n sortDialogData:{sort:0,id:null}\n }\n },\n created() {\n this.getList();\n },\n filters:{\n formatRecommendStatus(status){\n if(status===1){\n return '推荐中';\n }else{\n return '未推荐';\n }\n },\n formatTime(time){\n if(time==null||time===''){\n return '--';\n }\n let date = new Date(time);\n return formatDate(date, 'yyyy-MM-dd hh:mm:ss')\n },\n },\n methods: {\n handleResetSearch() {\n this.listQuery = Object.assign({}, defaultListQuery);\n },\n handleSearchList() {\n this.listQuery.pageNum = 1;\n this.getList();\n },\n handleSelectionChange(val){\n this.multipleSelection = val;\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 handleRecommendStatusStatusChange(index,row){\n this.updateRecommendStatusStatus([row.id],row.recommendStatus);\n },\n handleDelete(index,row){\n this.deleteSubject([row.id]);\n },\n handleBatchOperate(){\n if (this.multipleSelection < 1) {\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 if (this.operateType === 0) {\n //设为推荐\n this.updateRecommendStatusStatus(ids,1);\n } else if (this.operateType === 1) {\n //取消推荐\n this.updateRecommendStatusStatus(ids,0);\n } else if(this.operateType===2){\n //删除\n this.deleteSubject(ids);\n }else {\n this.$message({\n message: '请选择批量操作类型',\n type: 'warning',\n duration: 1000\n });\n }\n },\n handleSelectSubject(){\n this.selectDialogVisible=true;\n this.dialogData.listQuery.keyword=null;\n this.getDialogList();\n },\n handleSelectSearch(){\n this.getDialogList();\n },\n handleDialogSizeChange(val) {\n this.dialogData.listQuery.pageNum = 1;\n this.dialogData.listQuery.pageSize = val;\n this.getDialogList();\n },\n handleDialogCurrentChange(val) {\n this.dialogData.listQuery.pageNum = val;\n this.getDialogList();\n },\n handleDialogSelectionChange(val){\n this.dialogData.multipleSelection = val;\n },\n handleSelectDialogConfirm(){\n if (this.dialogData.multipleSelection < 1) {\n this.$message({\n message: '请选择一条记录',\n type: 'warning',\n duration: 1000\n });\n return;\n }\n let selectSubjects = [];\n for (let i = 0; i < this.dialogData.multipleSelection.length; i++) {\n selectSubjects.push({\n subjectId:this.dialogData.multipleSelection[i].id,\n subjectName:this.dialogData.multipleSelection[i].title\n });\n }\n this.$confirm('使用要进行添加操作?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(() => {\n createHomeSubject(selectSubjects).then(response=>{\n this.selectDialogVisible=false;\n this.dialogData.multipleSelection=[];\n this.getList();\n this.$message({\n type: 'success',\n message: '添加成功!'\n });\n });\n });\n },\n handleEditSort(index,row){\n this.sortDialogVisible=true;\n this.sortDialogData.sort=row.sort;\n this.sortDialogData.id=row.id;\n },\n handleUpdateSort(){\n this.$confirm('是否要修改排序?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(() => {\n updateHomeSubjectSort(this.sortDialogData).then(response=>{\n this.sortDialogVisible=false;\n this.getList();\n this.$message({\n type: 'success',\n message: '删除成功!'\n });\n });\n })\n },\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 })\n },\n updateRecommendStatusStatus(ids,status){\n this.$confirm('是否要修改推荐状态?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(() => {\n // let params=new URLSearchParams();\n // params.append(\"ids\",ids);\n // params.append(\"recommendStatus\",status);\n let obj = {\n ids:ids.join(','),\n recommendStatus:status\n }\n updateRecommendStatus(obj).then(response=>{\n this.getList();\n this.$message({\n type: 'success',\n message: '修改成功!'\n });\n });\n }).catch(() => {\n this.$message({\n type: 'success',\n message: '已取消操作!'\n });\n this.getList();\n });\n },\n deleteSubject(ids){\n this.$confirm('是否要删除该推荐?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(() => {\n // let params=new URLSearchParams();\n // params.append(\"ids\",ids);\n let obj = {\n ids:ids.join(','),\n\n }\n deleteHomeSubject(obj).then(response=>{\n this.getList();\n this.$message({\n type: 'success',\n message: '删除成功!'\n });\n });\n })\n },\n getDialogList(){\n fetchSubjectList(this.dialogData.listQuery).then(response=>{\n this.dialogData.list=response.data.list;\n this.dialogData.total=response.data.total;\n })\n }\n }\n }\n</script>\n<style></style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/sms/subject/index.vue","import request from '@/utils/request'\nexport function fetchList(params) {\n return request({\n url:'/home/recommendSubject/list',\n method:'get',\n params:params\n })\n}\n\nexport function updateRecommendStatus(data) {\n return request({\n url:'/home/recommendSubject/update/recommendStatus',\n method:'post',\n data:data,\n requestType:'form'\n })\n}\n\nexport function deleteHomeSubject(data) {\n return request({\n url:'/home/recommendSubject/delete',\n method:'post',\n data:data,\n requestType:'form'\n })\n}\n\nexport function createHomeSubject(data) {\n return request({\n url:'/home/recommendSubject/create',\n method:'post',\n data:data\n })\n}\n\nexport function updateHomeSubjectSort(params) {\n return request({\n url:'/home/recommendSubject/update/sort/'+params.id,\n method:'post',\n params:params\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/api/homeSubject.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.subjectName),callback:function ($$v) {_vm.$set(_vm.listQuery, \"subjectName\", $$v)},expression:\"listQuery.subjectName\"}})],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.handleSelectSubject()}}},[_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:\"newSubjectTable\",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.subjectName))]}}])}),_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.title))]}}])}),_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.categoryName))]}}])}),_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(\"formatTime\")(scope.row.createTime)))]}}])})],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-df1f7a08\",\"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/subject/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-df1f7a08\\\",\\\"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-df1f7a08\\\",\\\"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/subject/index.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
|