1 |
- {"version":3,"sources":["webpack:///./src/components/Page.vue?61f7","webpack:///./src/views/activity/OldActivity.vue?3300","webpack:///./src/views/activity/OldActivity.vue?2850","webpack:///src/views/activity/OldActivity.vue","webpack:///./src/views/activity/OldActivity.vue?1548","webpack:///./src/views/activity/OldActivity.vue","webpack:///./src/components/Page.vue?5a44","webpack:///src/components/Page.vue","webpack:///./src/components/Page.vue?7e0d","webpack:///./src/components/Page.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","_m","staticClass","attrs","model","value","form","callback","$$v","$set","expression","on","search","_v","staticStyle","addActivity","directives","name","rawName","list","scopedSlots","_u","key","fn","scope","row","img","_s","desc","$event","edit","del","id","ref","page","page_size","total","gopage","staticRenderFns","components","Page","fuEditor","data","loading","rules","methods","getData","openDiag","form1","dialogVisible","dialogTitle","size","$refs","pageButton","parm","type","$api","getActivityList","then","$confirm","message","$router","push","save","validate","valid","receiver_id","JSON","stringify","res","code","created","component","current","handleSizeChange"],"mappings":"kHAAA,W,6DCAA,W,2CCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACJ,EAAIM,GAAG,GAAGF,EAAG,MAAM,CAACG,YAAY,WAAW,CAACH,EAAG,MAAM,CAACG,YAAY,UAAU,CAACH,EAAG,UAAU,CAACI,MAAM,CAAC,KAAO,QAAQ,cAAc,OAAO,QAAS,EAAK,iBAAiB,SAAS,CAACJ,EAAG,eAAe,CAACI,MAAM,CAAC,MAAQ,KAAK,CAACJ,EAAG,WAAW,CAACI,MAAM,CAAC,UAAY,GAAG,YAAc,SAASC,MAAM,CAACC,MAAOV,EAAIW,KAAS,KAAEC,SAAS,SAAUC,GAAMb,EAAIc,KAAKd,EAAIW,KAAM,OAAQE,IAAME,WAAW,gBAAgB,GAAGX,EAAG,eAAe,CAACA,EAAG,YAAY,CAACI,MAAM,CAAC,KAAO,WAAWQ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AMD,IAAIF,EAAG,OAAOE,EAAG,gBAAgB,CAACI,MAAM,CAAC,WAAa,GAAG,YAAYR,EAAIwC,UAAUxC,EAAIwC,UAAU,GAAG,eAAexC,EAAI8E,QAAQ,aAAa,CAAC,GAAG,GAAI,GAAI,GAAI,GAAG,GAAG,GAAG,GAAG,GAAG,KAAK,OAAS,gCAAgC,MAAQ9E,EAAIyC,OAAOzB,GAAG,CAAC,iBAAiBhB,EAAImD,QAAQ,cAAcnD,EAAI+E,qBAC7WpC,EAAkB,GCwBtB,GACE,KADF,WAEI,MAAJ,CACM,KAAN,IAGE,MAAF,CACI,MAAJ,GACI,UAAJ,GACI,QAAJ,IAEE,QAAF,CACI,QADJ,SACA,GAMM,KAAN,OACM,KAAN,qBAEI,iBAVJ,SAUA,GACM,KAAN,wBAGE,QAzBF,cCzBkb,I,wBCQ9akC,EAAY,eACd,EACA9E,EACA4C,GACA,EACA,KACA,KACA,MAIa,OAAAkC,E","file":"js/chunk-d15446f2.f545983e.js","sourcesContent":["export * from \"-!../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=style&index=0&lang=scss&\"","export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./OldActivity.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[_vm._m(0),_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"filter\"},[_c('el-form',{attrs:{\"size\":\"small\",\"label-width\":\"70px\",\"inline\":true,\"label-position\":\"left\"}},[_c('el-form-item',{attrs:{\"label\":\"\"}},[_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"请输入标题\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.search}},[_vm._v(\"搜索\")])],1),_c('el-form-item',{staticStyle:{\"float\":\"right\"}},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.addActivity}},[_vm._v(\"发布活动\")])],1)],1)],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"table\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.list,\"height\":\"50vh\",\"border\":\"\",\"default-expand-all\":\"\",\"row-key\":\"id\"}},[_c('el-table-column',{attrs:{\"prop\":\"img\",\"label\":\"活动海报\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('img',{attrs:{\"src\":scope.row.img,\"alt\":\"\",\"height\":\"80\",\"width\":\"60\"}})]}}])}),_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"活动名称\",\"width\":\"300px\"}}),_c('el-table-column',{attrs:{\"prop\":\"journal_name\",\"label\":\"发布单位\"}}),_c('el-table-column',{attrs:{\"prop\":\"publish_time\",\"label\":\"主办方\"}}),_c('el-table-column',{attrs:{\"prop\":\"\",\"label\":\"承办方\"}}),_c('el-table-column',{attrs:{\"prop\":\"begin_time\",\"label\":\"活动时间\"}}),_c('el-table-column',{attrs:{\"prop\":\"address\",\"label\":\"活动地址\"}}),_c('el-table-column',{attrs:{\"prop\":\"desc\",\"label\":\"活动简介\",\"width\":\"500\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"desc\"},[_vm._v(_vm._s(scope.row.desc))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"zip\",\"width\":\"150\",\"label\":\"操作\",\"fixed\":\"right\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{staticClass:\"edit\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.edit(scope.row)}}},[_vm._v(\"编辑\")]),_c('el-button',{staticClass:\"del\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.del(scope.row.id)}}},[_vm._v(\"删除\")])]}}])})],1),_c('Page',{ref:\"pageButton\",attrs:{\"current\":_vm.form.page,\"page_size\":_vm.form.page_size,\"total\":_vm.total},on:{\"pageChange\":_vm.gopage}})],1)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('span',[_vm._v(\"信息管理>\")]),_vm._v(\"活动管理\")])}]\n\nexport { render, staticRenderFns }","<style lang=\"scss\">\r\n.preview {\r\n .el-form-item {\r\n margin-bottom: 15px;\r\n }\r\n label,\r\n p {\r\n line-height: 25px !important;\r\n }\r\n}\r\n.el-cascader {\r\n width: 100%;\r\n}\r\na {\r\n text-decoration: none;\r\n color: #409eff;\r\n cursor: pointer;\r\n}\r\n// 右边\r\n.item-main {\r\n // margin:34px;\r\n // height:600px;\r\n // background: #FFFFFF;\r\n border: 1px solid #dddddd;\r\n box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.13);\r\n border-radius: 20px;\r\n .el-form.over_y {\r\n max-height: calc(100vh - 340px);\r\n }\r\n /deep/.el-form-item__label {\r\n float: none;\r\n }\r\n}\r\n// label样式\r\n.edit_label {\r\n /deep/.el-input__inner {\r\n background: #f5faff;\r\n border: 0px;\r\n padding: 0px;\r\n }\r\n}\r\n/deep/.opicon {\r\n font-weight: bold;\r\n padding: 5px;\r\n color: #3895fe;\r\n}\r\n.tpl_title {\r\n font-size: 18px;\r\n margin: 20px 0;\r\n}\r\n.tpl_form {\r\n margin: 20px;\r\n border: 1px solid #ccc;\r\n border-radius: 20px;\r\n /deep/.el-form-item {\r\n background: none;\r\n }\r\n /deep/.el-form-item__content {\r\n width: 100%;\r\n }\r\n}\r\n.survey_logo {\r\n position: relative;\r\n top: 15px;\r\n left: 20px;\r\n}\r\n.result_dialog .el-dialog{\r\n width: 40%;\r\n margin-top:20vh!important;\r\n}\r\n.result-item{\r\n height: 35px;\r\n .label{\r\n font-weight: 600;\r\n }\r\n}\r\n .desc{\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 3;\r\n -webkit-box-orient: vertical;\r\n white-space: normal;\r\n }\r\n</style>\r\n<template>\r\n <section>\r\n <p><span>信息管理></span>活动管理</p>\r\n <div class=\"content\">\r\n <div class=\"filter\">\r\n <el-form\r\n size=\"small\"\r\n label-width=\"70px\"\r\n :inline=\"true\"\r\n label-position=\"left\"\r\n >\r\n <el-form-item label=\"\">\r\n <el-input\r\n clearable\r\n placeholder=\"请输入标题\"\r\n v-model=\"form.name\"\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button type=\"primary\" @click=\"search\">搜索</el-button>\r\n </el-form-item>\r\n <el-form-item style=\"float: right\">\r\n <el-button @click=\"addActivity\" type=\"primary\">发布活动</el-button>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n <el-table\r\n class=\"table\"\r\n :data=\"list\"\r\n height=\"50vh\"\r\n border\r\n v-loading=\"loading\"\r\n default-expand-all\r\n row-key=\"id\"\r\n style=\"width: 100%\"\r\n >\r\n <el-table-column prop=\"img\" label=\"活动海报\">\r\n <template slot-scope=\"scope\">\r\n <img :src=\"scope.row.img\" alt=\"\" height=\"80\" width=\"60\">\r\n </template>\r\n </el-table-column>\r\n <el-table-column prop=\"name\" label=\"活动名称\" width=\"300px\"></el-table-column>\r\n <el-table-column prop=\"journal_name\" label=\"发布单位\"></el-table-column>\r\n <el-table-column prop=\"publish_time\" label=\"主办方\"></el-table-column>\r\n <el-table-column prop=\"\" label=\"承办方\"></el-table-column>\r\n <el-table-column prop=\"begin_time\" label=\"活动时间\"></el-table-column>\r\n <el-table-column prop=\"address\" label=\"活动地址\"></el-table-column>\r\n <el-table-column prop=\"desc\" label=\"活动简介\" width=\"500\">\r\n <template slot-scope=\"scope\">\r\n <div class=\"desc\">{{scope.row.desc}}</div>\r\n </template>\r\n </el-table-column>\r\n <el-table-column prop=\"zip\" width=\"150\" label=\"操作\" fixed=\"right\">\r\n <template slot-scope=\"scope\">\r\n <el-button class=\"edit\" type=\"text\" @click=\"edit(scope.row)\"\r\n >编辑</el-button\r\n >\r\n <el-button class=\"del\" @click=\"del(scope.row.id)\" type=\"text\"\r\n >删除</el-button\r\n >\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <Page\r\n ref=\"pageButton\"\r\n :current=\"form.page\"\r\n :page_size=\"form.page_size\"\r\n :total=\"total\"\r\n @pageChange=\"gopage\"\r\n />\r\n </div>\r\n </section>\r\n</template>\r\n<script>\r\nimport Page from \"../../components/Page\";\r\nimport fuEditor from '../../components/fuEditor'\r\nexport default {\r\n components: {\r\n Page,\r\n fuEditor\r\n },\r\n data() {\r\n return {\r\n form: { name: \"\", page: 1, page_size: 20 },\r\n total: 1,\r\n list: [{ name: \"2333\" }],\r\n loading: false,\r\n rules: {\r\n name: [{ required: true, message: \"请输入标题\", trigger: \"blur\" }],\r\n },\r\n };\r\n },\r\n methods: {\r\n search() {\r\n let parm = this.form;\r\n this.getData();\r\n },\r\n openDiag() {\r\n this.form1 = {};\r\n this.dialogVisible = true;\r\n this.dialogTitle = \"发送消息\";\r\n },\r\n addActivity(){\r\n this.$router.push({path:'/learning/oldactivity/add',query:{type:1}})\r\n },\r\n gopage(size) {\r\n if (size) {\r\n this.form.page_size = size;\r\n }\r\n this.form.page = this.$refs.pageButton.page;\r\n this.getData();\r\n },\r\n getData() {\r\n var parm = this.form;\r\n this.loading = true;\r\n parm.type = 1\r\n this.$api.getActivityList(parm).then((res) => {\r\n this.list = res.data.data.list;\r\n this.loading = false;\r\n });\r\n },\r\n del(id) {\r\n this.$confirm(\"确定删除吗\", \"提示\", {\r\n type: \"warning\",\r\n }).then(() => {\r\n this.$api.delActivity({ id: id }).then((res) => {\r\n this.$message({\r\n message: \"删除成功\",\r\n type: \"success\",\r\n });\r\n this.getData();\r\n });\r\n });\r\n },\r\n edit(row) {\r\n this.$router.push({path:'/learning/oldactivity/add',query:{id:row.id}})\r\n },\r\n save() {\r\n this.$refs[\"form1\"].validate((valid) => {\r\n if (valid) {\r\n let parm = this.form1;\r\n let id = this.form1.id;\r\n let type = this.$route.query.type;\r\n parm.type = type;\r\n parm.receiver_id = JSON.stringify(parm.receiver_id);\r\n if (id) {\r\n this.$api.editMessage(parm).then((res) => {\r\n if (res.data.code == 0) {\r\n this.$message({\r\n type: \"success\",\r\n message: \"保存成功!\",\r\n });\r\n } else {\r\n this.$message.error(\"保存失败!\");\r\n }\r\n this.getData();\r\n this.dialogVisible = false;\r\n });\r\n } else {\r\n this.$api.addMessage(parm).then((res) => {\r\n if (res.data.code == 0) {\r\n this.$message({\r\n type: \"success\",\r\n message: \"保存成功!\",\r\n });\r\n } else {\r\n this.$message.error(\"保存失败!\");\r\n }\r\n this.getData();\r\n this.dialogVisible = false;\r\n });\r\n }\r\n }\r\n });\r\n },\r\n },\r\n created() {\r\n this.getData();\r\n },\r\n};\r\n</script>\r\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./OldActivity.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./OldActivity.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OldActivity.vue?vue&type=template&id=be81e66e&\"\nimport script from \"./OldActivity.vue?vue&type=script&lang=js&\"\nexport * from \"./OldActivity.vue?vue&type=script&lang=js&\"\nimport style0 from \"./OldActivity.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-pagination',{attrs:{\"background\":\"\",\"page-size\":_vm.page_size?_vm.page_size:20,\"current-page\":_vm.current,\"page-sizes\":[10,20, 30, 40, 50,60,70,80,90,100],\"layout\":\"total,sizes,prev, pager, next\",\"total\":_vm.total},on:{\"current-change\":_vm.getData,\"size-change\":_vm.handleSizeChange}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<style lang=\"scss\">\r\n @import '../style/style.scss';\r\n .el-pagination{\r\n li,button{\r\n border: 1px solid #CACACA !important;\r\n background-color: #fff !important;\r\n }\r\n .active{\r\n border:none !important;\r\n background: #3895FE !important;\r\n }\r\n }\r\n</style>\r\n<template>\r\n <el-pagination\r\n @current-change=\"getData\"\r\n background :page-size='page_size?page_size:20'\r\n @size-change=\"handleSizeChange\"\r\n :current-page=\"current\"\r\n :page-sizes=\"[10,20, 30, 40, 50,60,70,80,90,100]\"\r\n layout=\"total,sizes,prev, pager, next\"\r\n :total=\"total\">\r\n </el-pagination>\r\n</template>\r\n<script>\r\nexport default {\r\n data(){\r\n return{\r\n page:1\r\n }\r\n },\r\n props: {\r\n total:'',\r\n page_size:'',\r\n current:''\r\n },\r\n methods:{\r\n getData(type){\r\n // if(type == 1){\r\n // this.data.pageNumber=this.data.pageNumber-1\r\n // }else if(type == 2){\r\n // this.data.pageNumber=this.data.pageNumber+1\r\n // }\r\n this.page=type\r\n this.$emit('pageChange')\r\n },\r\n handleSizeChange(val){\r\n this.$emit('pageChange',val)\r\n }\r\n },\r\n created(){\r\n }\r\n}\r\n</script>","import mod from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Page.vue?vue&type=template&id=df237d3a&\"\nimport script from \"./Page.vue?vue&type=script&lang=js&\"\nexport * from \"./Page.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Page.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
|