chunk-cee74608.0ae44c45.js.map 25 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/conference/Manage.vue?208a","webpack:///./src/views/conference/Manage.vue?c646","webpack:///src/views/conference/Manage.vue","webpack:///./src/views/conference/Manage.vue?7f62","webpack:///./src/views/conference/Manage.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","_m","staticClass","attrs","model","value","form","callback","$$v","$set","expression","on","getData","_v","staticStyle","addConference","directives","name","rawName","list","scopedSlots","_u","key","fn","scope","row","img","_s","begin_time","end_time","desc","$event","dialogVisible1","cur_id","id","getHotel","$router","push","path","query","del","ref","page","page_size","total","gopage","dialogVisible","status","hotel_list","dialogTitle","h_id","delHotel","updown","add","staticRenderFns","components","data","edit","form1","loading","input","defaultProps","methods","created","component"],"mappings":"kHAAA,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,GAAG,CAAC,MAAQhB,EAAIiB,UAAU,CAACjB,EAAIkB,GAAG,SAAS,GAAGd,EAAG,eAAe,CAACe,YAAY,CAAC,MAAQ,UAAU,CAACf,EAAG,YAAY,CAAC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,GACMiB,KAAN,GACMjC,KAAN,GACM8B,OAAN,GACMzC,KAAN,8BACMoD,MAAN,GACMd,MAAN,EACMzB,KAAN,gBACMwC,SAAN,EACMC,MAAN,GACMd,eAAN,EACMd,gBAAN,EACMiB,YAAN,OACMY,aAAN,GACML,KAAM,GACNR,WAAN,KAGEc,QAAF,CACI,cADJ,WAEM,KAAN,cAAQ,KAAR,gCAGI,IALJ,WAMM,KAAN,iBACM,KAAN,uBAEI,OATJ,SASA,GACA,IACQ,KAAR,kBAEM,KAAN,qCACM,KAAN,WAEI,eAhBJ,WAgBM,IAAN,OACM,KAAN,4CACQ,EAAR,qBAGI,SArBJ,SAqBA,GAAM,IAAN,OACM,KAAN,yBAAQ,cAAR,sBACQ,EAAR,2BAGI,OA1BJ,SA0BA,KAAM,IAAN,OACM,KAAN,aAAQ,KAAR,EAAQ,SAAR,EAAQ,cAAR,gCACA,eACU,EAAV,mBAEU,EAAV,UACY,QAAZ,eACY,KAAZ,cAKI,QAtCJ,WAsCM,IAAN,OACA,YACM,KAAN,WACM,KAAN,4CACQ,EAAR,sBACQ,EAAR,wBACQ,EAAR,eAGI,IA/CJ,SA+CA,GAAM,IAAN,OACM,KAAN,uBACQ,KAAR,YACA,iBACQ,EAAR,uBAAU,GAAV,sBACU,EAAV,UACY,QAAZ,OACY,KAAZ,YAEU,EAAV,iBAII,SA5DJ,SA4DA,GAAM,IAAN,OACM,KAAN,uBACQ,KAAR,YACA,iBACQ,EAAR,4BAAU,SAAV,EAAU,cAAV,6BACU,EAAV,UACY,QAAZ,OACY,KAAZ,YAEU,EAAV,2BAKEC,QAnGF,WAqGI,KAAJ,YCzPmc,I,wBCQ/bC,EAAY,eACd,EACAtE,EACA4D,GACA,EACA,KACA,KACA,MAIa,aAAAU,E","file":"js/chunk-cee74608.0ae44c45.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!./Manage.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.getData}},[_vm._v(\"搜索\")])],1),_c('el-form-item',{staticStyle:{\"float\":\"right\"}},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.addConference}},[_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\":\"59vh\",\"border\":\"\",\"default-expand-all\":\"\",\"row-key\":\"id\"}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"width\":\"200\",\"label\":\"会议名称\"}}),_c('el-table-column',{attrs:{\"prop\":\"username\",\"label\":\"会议海报\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('img',{attrs:{\"width\":\"100\",\"src\":scope.row.img,\"alt\":\"\"}})]}}])}),_c('el-table-column',{attrs:{\"prop\":\"username\",\"label\":\"主办方\"}}),_c('el-table-column',{attrs:{\"prop\":\"\",\"label\":\"主讲人\"}}),_c('el-table-column',{attrs:{\"prop\":\"\",\"width\":\"120\",\"label\":\"状态\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.is_signup)?_c('el-tag',[_vm._v(\"可报名\")]):_c('el-tag',{attrs:{\"type\":\"info\"}},[_vm._v(\"不可报名\")])]}}])}),_c('el-table-column',{attrs:{\"width\":\"220\",\"label\":\"会议时间\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n 开始:\"+_vm._s(scope.row.begin_time)+\" \"),_c('br'),_vm._v(\"\\n 结束:\"+_vm._s(scope.row.end_time)+\"\\n \")]}}])}),_c('el-table-column',{attrs:{\"prop\":\"desc\",\"width\":\"300\",\"label\":\"会议简介\"},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\":\"\",\"label\":\"酒店信息\"}}),_c('el-table-column',{attrs:{\"prop\":\"zip\",\"width\":\"220\",\"fixed\":\"right\",\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"type\":\"text\"},on:{\"click\":function($event){_vm.dialogVisible1=true,_vm.cur_id=scope.row.id,_vm.name=scope.row.name,_vm.getHotel(scope.row.id)}}},[_vm._v(\"管理酒店\")]),_c('el-button',{staticClass:\"edit\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.$router.push({path:'/conference/conference/add',query:{id:scope.row.id}})}}},[_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),_c('el-dialog',{staticClass:\"hotel\",attrs:{\"width\":\"80%\",\"title\":\"酒店列表\",\"close-on-click-modal\":false,\"visible\":_vm.dialogVisible1},on:{\"update:visible\":function($event){_vm.dialogVisible1=$event}}},[_vm._v(\"\\n 会议名称:\"+_vm._s(_vm.name)+\"\\n \"),_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":function($event){_vm.dialogVisible=true,_vm.status='bind'}}},[_vm._v(\"添加酒店\")]),_c('el-table',{staticClass:\"table\",staticStyle:{\"width\":\"100%\",\"margin-top\":\"10px\"},attrs:{\"data\":_vm.hotel_list,\"height\":\"400\",\"default-expand-all\":\"\"}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"酒店名称\"}}),_c('el-table-column',{attrs:{\"prop\":\"telephone\",\"label\":\"电话\"}}),_c('el-table-column',{attrs:{\"prop\":\"address\",\"label\":\"地址\"}}),_c('el-table-column',{attrs:{\"prop\":\"ctime\",\"label\":\"创建时间\"}}),_c('el-table-column',{attrs:{\"prop\":\"zip\",\"width\":\"220\",\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"type\":\"text\"},on:{\"click\":function($event){_vm.dialogVisible=true,_vm.dialogTitle='编辑酒店',_vm.status='edit',_vm.h_id=scope.row.id}}},[_vm._v(\"编辑\")]),_c('el-button',{staticClass:\"del\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.delHotel(scope.row.id)}}},[_vm._v(\"删除\")]),_c('el-button',{staticClass:\"edit\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.updown(scope.row.id,'up')}}},[_vm._v(\"上移\")]),_c('el-button',{staticClass:\"edit\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.updown(scope.row.id,'down')}}},[_vm._v(\"下移\")])]}}])})],1)],1),_c('el-dialog',{staticClass:\"hotel\",attrs:{\"width\":\"80%\",\"title\":_vm.dialogTitle,\"close-on-click-modal\":false,\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('Hotel',{attrs:{\"status\":_vm.status,\"huiyi_name\":_vm.name,\"huiyi_id\":_vm.cur_id,\"cur_id\":_vm.h_id},on:{\"addSuccess\":_vm.add}})],1)],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,p{\r\n line-height: 25px !important;\r\n }\r\n }\r\n .hotel{\r\n .el-dialog{\r\n margin-top: 30px !important;\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 size=\"small\" label-width=\"70px\" :inline=\"true\" label-position=\"left\">\r\n <el-form-item label=\"\">\r\n <el-input clearable placeholder=\"请输入标题\" v-model=\"form.name\"></el-input>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button @click=\"getData\" type=\"primary\">搜索</el-button>\r\n </el-form-item>\r\n <el-form-item style=\"float:right\" >\r\n <el-button @click=\"addConference\" 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='59vh'\r\n border v-loading=\"loading\"\r\n default-expand-all row-key=\"id\"\r\n style=\"width: 100%\">\r\n <el-table-column\r\n prop=\"name\" width=\"200\"\r\n label=\"会议名称\">\r\n </el-table-column>\r\n <el-table-column\r\n prop=\"username\" \r\n label=\"会议海报\">\r\n <template slot-scope=\"scope\"><img width=\"100\" :src=\"scope.row.img\" alt=\"\"></template>\r\n </el-table-column>\r\n \r\n <el-table-column\r\n prop=\"username\" \r\n label=\"主办方\">\r\n </el-table-column>\r\n <el-table-column\r\n prop=\"\" \r\n label=\"主讲人\">\r\n </el-table-column>\r\n <el-table-column\r\n prop=\"\" width=\"120\"\r\n label=\"状态\">\r\n <template slot-scope=\"scope\">\r\n <el-tag v-if='scope.row.is_signup'>可报名</el-tag>\r\n <el-tag v-else type=\"info\">不可报名</el-tag>\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n width=\"220\"\r\n label=\"会议时间\">\r\n <template slot-scope=\"scope\">\r\n 开始:{{scope.row.begin_time}} <br>\r\n 结束:{{scope.row.end_time}}\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n prop=\"desc\" width=\"300\"\r\n label=\"会议简介\">\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\r\n prop=\"\" \r\n label=\"酒店信息\">\r\n </el-table-column>\r\n \r\n <el-table-column \r\n prop=\"zip\" width=\"220\" fixed=\"right\"\r\n label=\"操作\">\r\n <template slot-scope=\"scope\">\r\n <el-button @click=\"dialogVisible1=true,cur_id=scope.row.id,name=scope.row.name,getHotel(scope.row.id)\" type=\"text\" >管理酒店</el-button>\r\n <!-- <el-button @click=\"dialogVisible=true,status='bind',cur_id=scope.row.id,name=scope.row.name\" type=\"text\" >添加酒店</el-button> -->\r\n <el-button @click=\"$router.push({path:'/conference/conference/add',query:{id:scope.row.id}})\" class=\"edit\" type=\"text\">编辑会议</el-button>\r\n <el-button @click=\"del(scope.row.id)\" type=\"text\" class=\"del\">删除会议</el-button>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <Page ref=\"pageButton\" :current='form.page' :page_size='form.page_size' :total='total' @pageChange='gopage'/>\r\n </div>\r\n\r\n <el-dialog width=\"80%\" class=\"hotel\"\r\n title=\"酒店列表\" :close-on-click-modal='false'\r\n :visible.sync=\"dialogVisible1\">\r\n 会议名称:{{name}}\r\n <el-button size=\"small\" @click=\"dialogVisible=true,status='bind'\" type=\"primary\">添加酒店</el-button>\r\n <el-table\r\n class=\"table\"\r\n :data=\"hotel_list\" height=\"400\"\r\n default-expand-all \r\n style=\"width: 100%;margin-top:10px;\">\r\n <el-table-column prop=\"name\" label=\"酒店名称\">\r\n </el-table-column>\r\n <el-table-column prop=\"telephone\" label=\"电话\">\r\n </el-table-column>\r\n <el-table-column prop=\"address\" label=\"地址\">\r\n </el-table-column>\r\n <el-table-column prop=\"ctime\" label=\"创建时间\">\r\n </el-table-column>\r\n <el-table-column \r\n prop=\"zip\" width=\"220\" \r\n label=\"操作\">\r\n <template slot-scope=\"scope\">\r\n <el-button @click=\"dialogVisible=true,dialogTitle='编辑酒店',status='edit',h_id=scope.row.id\" type=\"text\">编辑</el-button>\r\n <el-button @click=\"delHotel(scope.row.id)\" type=\"text\" class=\"del\">删除</el-button>\r\n <el-button @click=\"updown(scope.row.id,'up')\" type=\"text\" class=\"edit\">上移</el-button>\r\n <el-button @click=\"updown(scope.row.id,'down')\" type=\"text\" class=\"edit\">下移</el-button>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n </el-dialog>\r\n <el-dialog width=\"80%\" class=\"hotel\"\r\n :title=\"dialogTitle\" :close-on-click-modal='false'\r\n :visible.sync=\"dialogVisible\">\r\n <Hotel :status='status' :huiyi_name='name' :huiyi_id='cur_id' :cur_id='h_id' @addSuccess='add'/>\r\n </el-dialog>\r\n </section>\r\n</template>\r\n<script>\r\n\r\nimport Page from '../../components/Page';\r\nimport Hotel from '../../components/hotel';\r\nexport default {\r\n components:{\r\n Page,Hotel\r\n },\r\n data(){\r\n return{\r\n edit:0,\r\n cur_id:'',\r\n h_id:'',\r\n name:'',\r\n status:'',\r\n form:{name:'',page:1,page_size:20},\r\n form1:{},\r\n total:1,\r\n list:[{name:'2333'}],\r\n loading:false,\r\n input:'',\r\n dialogVisible:false,\r\n dialogVisible1:false,\r\n dialogTitle:\"添加酒店\",\r\n defaultProps:{},\r\n data: [],\r\n hotel_list:[]\r\n }\r\n },\r\n methods:{\r\n addConference(){\r\n this.$router.push({path:'/conference/conference/add'})\r\n },\r\n //添加酒店\r\n add(){\r\n this.dialogVisible=false;\r\n this.getHotel(this.cur_id)\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 getPermissions(){\r\n this.$api.getUserPermissions().then(res=>{\r\n this.data = res.data.data\r\n })\r\n },\r\n getHotel(id){\r\n this.$api.getConferenceHotel({conference_id:id}).then(res=>{\r\n this.hotel_list=res.data.data;\r\n })\r\n },\r\n updown(id,type){\r\n this.$api.updown({rank:type,hotel_id:id,conference_id:this.cur_id}).then(res=>{\r\n if(res.data.code==0){\r\n this.getHotel(this.cur_id)\r\n }else{\r\n this.$message({\r\n message: res.data.message,\r\n type: 'error'\r\n })\r\n }\r\n })\r\n },\r\n getData(){\r\n var parm=this.form; \r\n this.loading=true\r\n this.$api.getConferenceList(parm).then(res=>{\r\n this.list=res.data.data.list;\r\n this.total=res.data.data.total\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.deleteConference({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 delHotel(id){\r\n this.$confirm('确定删除吗', '提示', {\r\n type: 'warning'\r\n }).then(() => {\r\n this.$api.deleteConferenceHotel({hotel_id:id,conference_id:this.cur_id}).then((res)=>{\r\n this.$message({\r\n message: '删除成功',\r\n type: 'success'\r\n })\r\n this.getHotel(this.cur_id)\r\n })\r\n })\r\n },\r\n },\r\n created(){\r\n // this.getPermissions()\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!./Manage.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!./Manage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Manage.vue?vue&type=template&id=48d7a378&\"\nimport script from \"./Manage.vue?vue&type=script&lang=js&\"\nexport * from \"./Manage.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Manage.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":""}