1 |
- {"version":3,"sources":["webpack:///./src/views/conference/AddConference.vue?2b0c","webpack:///src/views/conference/AddConference.vue","webpack:///./src/views/conference/AddConference.vue?1bfd","webpack:///./src/views/conference/AddConference.vue","webpack:///./src/views/conference/AddConference.vue?43f2"],"names":["render","_vm","this","_h","$createElement","_c","_self","_m","staticClass","attrs","model","value","form","callback","$$v","$set","expression","_l","item","index","key","name","id","staticStyle","cityList","on","handleChangeCity","_v","_s","handleAvatarSuccess","img","handleClick","activeName","res","file","handleAvatarSuccess1","addSpeaker","$event","clearSpeaker","staticRenderFns","component"],"mappings":"yHAAA,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,UAAU,CAACG,YAAY,SAASC,MAAM,CAAC,KAAO,QAAQ,cAAc,UAAU,CAACJ,EAAG,eAAe,CAACI,MAAM,CAAC,MAAQ,UAAU,CAACJ,EAAG,WAAW,CAACI,MAAM,CAAC,YAAc,UAAU,UAAY,IAAIC,MAAM,CAACC,MAAOV,EAAIW,KAAS,KAAEC,SAAS,SAAUC,GAAMb,EAAIc,KAAKd,EAAIW,KAAM,OAAQE,IAAME,WAAW,gBAAgB,GAAGX,EAAG,SAAS,CAACA,EAAG,SAAS,CAACI,MAAM,CAAC,KAAO,KAAK,CAACJ,EAAG,eAAe,CAACI,MAAM,CAAC,MAAQ,SAAS,CAACJ,EAAG,YAAY,CAACI,MAAM,CAAC,YAAc,SAAS,WAAa,IAAIC,MAAM,CAACC,MAAOV,EAAIW,KAAY,QAAEC,SAAS,SAAUC,GAAMb,EAAIc,KAAKd,EAAIW,KAAM,UAAWE,IAAME,WAAW,iBAAiBf,EAAIgB,GAAIhB,EAAiB,eAAE,SAASiB,EAAKC,GAAO,OAAOd,EAAG,YAAY,CAACe,IAAID,EA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aAtBJ,SAsBA,GACM,KAAN,0BAEI,aAzBJ,WA0BM,KAAN,0BAEI,iBA5BJ,SA4BA,GACM,QAAN,kBAEI,OA/BJ,SA+BA,GACA,IACQ,KAAR,kBAEM,KAAN,qCACM,KAAN,WAEI,eAtCJ,WAsCM,IAAN,OACM,KAAN,4CACQ,EAAR,qBAGI,QA3CJ,WA2CM,IAAN,OACA,UACM,KAAN,yCACQ,EAAR,6BAEM,KAAN,qCACQ,EAAR,yBAGI,IApDJ,SAoDA,GAAM,IAAN,OACM,KAAN,uBACQ,KAAR,YACA,iBACQ,EAAR,uBAAU,GAAV,sBACU,EAAV,UACY,QAAZ,OACY,KAAZ,YAEU,EAAV,kBAKE,QArGF,WAsGI,KAAJ,YC/e0c,I,wBCQtca,EAAY,eACd,EACAxC,EACAuC,GACA,EACA,KACA,WACA,MAIa,aAAAC,E,kECnBf","file":"js/chunk-ce5385fc.c813c327.js","sourcesContent":["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('el-form',{staticClass:\"over_y\",attrs:{\"size\":\"small\",\"label-width\":\"140px\"}},[_c('el-form-item',{attrs:{\"label\":\"会议名称:\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入会议名称\",\"clearable\":\"\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1),_c('el-row',[_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"主办方:\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择主办方\",\"filterable\":\"\"},model:{value:(_vm.form.sponsor),callback:function ($$v) {_vm.$set(_vm.form, \"sponsor\", $$v)},expression:\"form.sponsor\"}},_vm._l((_vm.organizerList),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item.name,\"value\":item.id}})}),1)],1)],1),_c('el-col',{attrs:{\"span\":12,\"offset\":2}},[_c('el-form-item',{attrs:{\"label\":\"会议时间:\"}},[_c('el-date-picker',{attrs:{\"type\":\"daterange\",\"range-separator\":\"至\",\"start-placeholder\":\"开始日期\",\"end-placeholder\":\"结束日期\"},model:{value:(_vm.form.time),callback:function ($$v) {_vm.$set(_vm.form, \"time\", $$v)},expression:\"form.time\"}})],1)],1)],1),_c('el-row',[_c('el-col',{attrs:{\"span\":10}},[_c('el-form-item',{attrs:{\"label\":\"城市:\"}},[_c('el-cascader',{staticStyle:{\"width\":\"100%\"},attrs:{\"options\":_vm.cityList},on:{\"change\":_vm.handleChangeCity},model:{value:(_vm.form.city),callback:function ($$v) {_vm.$set(_vm.form, \"city\", $$v)},expression:\"form.city\"}})],1)],1),_c('el-col',{attrs:{\"span\":12,\"offset\":2}},[_c('el-form-item',{attrs:{\"label\":\"地址\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入详细地址\"},model:{value:(_vm.form.address),callback:function ($$v) {_vm.$set(_vm.form, \"address\", $$v)},expression:\"form.address\"}})],1)],1)],1),_c('el-form-item',{attrs:{\"label\":\"会议简介:\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":3,\"placeholder\":\"请输入会议介绍\"},model:{value:(_vm.form.introduce),callback:function ($$v) {_vm.$set(_vm.form, \"introduce\", $$v)},expression:\"form.introduce\"}})],1),_c('el-row',[_c('el-col',{attrs:{\"span\":8}},[_c('el-form-item',{attrs:{\"label\":\"是否报名:\"}},[_c('el-switch',{attrs:{\"active-text\":\"可报名\",\"inactive-text\":\"不可报名\"},model:{value:(_vm.form.is_signup),callback:function ($$v) {_vm.$set(_vm.form, \"is_signup\", $$v)},expression:\"form.is_signup\"}})],1)],1),_c('el-col',{attrs:{\"span\":8}},[_c('el-form-item',{attrs:{\"label\":\"是否热门:\"}},[_c('el-switch',{attrs:{\"active-text\":\"热门\",\"inactive-text\":\"不热门\"},model:{value:(_vm.form.is_popular),callback:function ($$v) {_vm.$set(_vm.form, \"is_popular\", $$v)},expression:\"form.is_popular\"}})],1)],1),_c('el-col',{attrs:{\"span\":8}},[_c('el-form-item',{attrs:{\"label\":\"是否推荐:\"}},[_c('el-switch',{attrs:{\"active-text\":\"推荐\",\"inactive-text\":\"不推荐\"},model:{value:(_vm.form.is_recommend),callback:function ($$v) {_vm.$set(_vm.form, \"is_recommend\", $$v)},expression:\"form.is_recommend\"}})],1)],1),_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{attrs:{\"label\":\"报名需提交信息:\"}},[_c('el-checkbox-group',{model:{value:(_vm.form.signup_fields),callback:function ($$v) {_vm.$set(_vm.form, \"signup_fields\", $$v)},expression:\"form.signup_fields\"}},_vm._l((_vm.form.signup_fields),function(item,index){return _c('el-checkbox',{key:index,attrs:{\"label\":item.id}},[_vm._v(_vm._s(item.name))])}),1)],1)],1)],1),_c('el-form-item',{attrs:{\"label\":\"封面图:\"}},[_c('el-upload',{staticClass:\"avatar-uploader\",attrs:{\"action\":\"/api/admin/uploadfile\",\"show-file-list\":false,\"on-success\":_vm.handleAvatarSuccess}},[(_vm.form.img)?_c('img',{staticClass:\"avatar\",attrs:{\"src\":_vm.form.img}}):_c('i',{staticClass:\"el-icon-plus avatar-uploader-icon\"})]),_c('span',{staticStyle:{\"font-size\":\"12px\",\"color\":\"#999999\"}},[_vm._v(\"建议图片尺寸为:210*160\")])],1),_c('el-form-item',{attrs:{\"label\":\"\"}},[_c('el-tabs',{on:{\"tab-click\":_vm.handleClick},model:{value:(_vm.activeName),callback:function ($$v) {_vm.activeName=$$v},expression:\"activeName\"}},[_c('el-tab-pane',{attrs:{\"label\":\"会议详情\",\"name\":\"first\"}},[_c('fuEditor')],1),_c('el-tab-pane',{attrs:{\"label\":\"主讲人\",\"name\":\"second\"}},[_c('section',{staticStyle:{\"height\":\"544px\",\"padding\":\"10px 0px\",\"border\":\"1px solid #ccc\"}},_vm._l((_vm.form.speaker),function(item,index){return _c('div',{key:index,staticClass:\"speaker\"},[_c('el-row',[_c('el-col',{attrs:{\"span\":12}},[_c('el-form-item',{attrs:{\"label\":\"主讲人姓名\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入主讲人姓名\"},model:{value:(item.name),callback:function ($$v) {_vm.$set(item, \"name\", $$v)},expression:\"item.name\"}})],1),_c('el-form-item',{attrs:{\"label\":\"主讲人简介\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入主讲人简介\"},model:{value:(item.intruduce),callback:function ($$v) {_vm.$set(item, \"intruduce\", $$v)},expression:\"item.intruduce\"}})],1)],1),_c('el-col',{attrs:{\"span\":8}},[_c('el-form-item',{attrs:{\"label\":\"主讲人头像\"}},[_c('el-upload',{staticClass:\"avatar-uploader speaker_avatar\",attrs:{\"action\":\"/api/admin/uploadfile\",\"show-file-list\":false,\"on-success\":function (res,file){_vm.handleAvatarSuccess1(index,res,file)}}},[(item.img)?_c('img',{staticClass:\"avatar\",attrs:{\"src\":item.img}}):_c('i',{staticClass:\"el-icon-plus avatar-uploader-icon\"})])],1)],1),_c('el-col',{attrs:{\"span\":4}},[(index==0)?_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"primary\",\"plain\":\"\",\"icon\":\"el-icon-plus\"},on:{\"click\":_vm.addSpeaker}},[_vm._v(\"添加主讲人\")]):_c('el-button',{attrs:{\"type\":\"danger\",\"size\":\"mini\",\"plain\":\"\"},on:{\"click\":function($event){return _vm.clearSpeaker(index)}}},[_vm._v(\"删除\")])],1)],1)],1)}),0)])],1)],1),_c('el-form-item',{staticStyle:{\"position\":\"fixed\",\"bottom\":\"20px\",\"right\":\"60px\"}},[_c('el-button',{attrs:{\"type\":\"primary\"}},[_vm._v(\"预览\")]),_c('el-button',{attrs:{\"type\":\"success\"}},[_vm._v(\"发布\")]),_c('el-button',{attrs:{\"type\":\"default\"}},[_vm._v(\"保存并新增\")]),_c('el-button',{attrs:{\"type\":\"default\"}},[_vm._v(\"保存\")]),_c('el-button',{attrs:{\"type\":\"danger\",\"plain\":\"\"}},[_vm._v(\"删除\")])],1)],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\" scoped>\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.content .title {\r\n height: 32px;\r\n font-size: 14px;\r\n font-weight: bold;\r\n color: #333333;\r\n border-bottom: 1px solid #d8d8d8;\r\n margin-bottom: 25px;\r\n}\r\n.el-form{\r\n font-size: 14px;\r\n font-weight: 400;\r\n color: #666666;\r\n .el-select,.el-range-editor--small.el-input__inner{\r\n width:100%;\r\n }\r\n}\r\n/deep/.el-tabs__header{\r\n margin:0;\r\n .el-tabs__active-bar{\r\n height:0px;\r\n }\r\n .el-tabs__item{\r\n width: 160px;\r\n height: 40px;\r\n text-align: center;\r\n border-radius: 8px 8px 0px 0px;\r\n color:#333333;\r\n background: #ECECEC;\r\n margin-right:10px;\r\n }\r\n .el-tabs__item.is-active{\r\n background: #3895FE;\r\n \r\n color:#ffffff;\r\n \r\n }\r\n}\r\n.el-button{\r\n width:120px;\r\n height:36px;\r\n}\r\n// 上传\r\n\r\n/deep/.avatar-uploader .el-upload {\r\n width: 148px;\r\n height: 148px;\r\n line-height: 148px;\r\n border: 1px dashed #d9d9d9;\r\n border-radius: 6px;\r\n cursor: pointer;\r\n position: relative;\r\n overflow: hidden;\r\n .avatar{\r\n width: 100%;\r\n height: auto;\r\n }\r\n}\r\n.avatar-uploader .el-upload:hover {\r\n border-color: #409EFF;\r\n}\r\n.avatar-uploader-icon {\r\n font-size: 28px;\r\n color: #8c939d;\r\n width: 68px;\r\n height: 68px;\r\n line-height: 68px;\r\n text-align: center;\r\n}\r\n.avatar {\r\n width: 68px;\r\n height: 68px;\r\n display: block;\r\n}\r\n/deep/.speaker_avatar .el-upload{\r\n width: 80px;\r\n height: 80px;\r\n line-height: 80px;\r\n}\r\n.hotel_imgs {\r\n /deep/.el-upload--picture-card{\r\n width:79px;\r\n height: 79px;\r\n line-height: 79px;\r\n } \r\n}\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=\"title\">新增会议</div> -->\r\n <el-form size=\"small\" label-width=\"140px\" class='over_y'>\r\n <el-form-item label=\"会议名称:\">\r\n <el-input\r\n placeholder=\"请输入会议名称\"\r\n v-model=\"form.name\"\r\n clearable\r\n ></el-input>\r\n </el-form-item>\r\n <el-row>\r\n <el-col :span=\"10\">\r\n <el-form-item label=\"主办方:\">\r\n <el-select placeholder=\"请选择主办方\" v-model=\"form.sponsor\" filterable>\r\n <el-option\r\n v-for=\"(item, index) in organizerList\"\r\n :key=\"index\"\r\n :label=\"item.name\"\r\n :value=\"item.id\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"12\" :offset=\"2\">\r\n <el-form-item label=\"会议时间:\">\r\n <el-date-picker\r\n v-model=\"form.time\"\r\n type=\"daterange\"\r\n range-separator=\"至\"\r\n start-placeholder=\"开始日期\"\r\n end-placeholder=\"结束日期\"\r\n >\r\n </el-date-picker>\r\n </el-form-item>\r\n </el-col>\r\n </el-row>\r\n <el-row>\r\n <el-col :span=\"10\">\r\n <el-form-item label=\"城市:\">\r\n <el-cascader style=\"width:100%;\"\r\n v-model=\"form.city\"\r\n :options=\"cityList\"\r\n @change=\"handleChangeCity\">\r\n </el-cascader>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"12\" :offset=\"2\">\r\n <el-form-item label=\"地址\">\r\n <el-input placeholder=\"请输入详细地址\" v-model=\"form.address\"></el-input>\r\n </el-form-item>\r\n </el-col>\r\n </el-row>\r\n \r\n <el-form-item label='会议简介:'>\r\n <el-input type='textarea' v-model=\"form.introduce\" :rows=\"3\" placeholder=\"请输入会议介绍\"></el-input>\r\n </el-form-item>\r\n <el-row>\r\n <el-col :span=\"8\">\r\n <el-form-item label='是否报名:'>\r\n <el-switch\r\n v-model=\"form.is_signup\"\r\n active-text=\"可报名\"\r\n inactive-text=\"不可报名\">\r\n </el-switch>\r\n </el-form-item>\r\n </el-col>\r\n \r\n <el-col :span=\"8\">\r\n <el-form-item label='是否热门:'>\r\n <el-switch\r\n v-model=\"form.is_popular\"\r\n active-text=\"热门\"\r\n inactive-text=\"不热门\">\r\n </el-switch>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"8\">\r\n <el-form-item label='是否推荐:'>\r\n <el-switch\r\n v-model=\"form.is_recommend\"\r\n active-text=\"推荐\"\r\n inactive-text=\"不推荐\">\r\n </el-switch>\r\n <!-- <el-radio-group v-model='form.is_recommend'>\r\n <el-radio :label='0'>不推荐</el-radio>\r\n <el-radio :label='1'>推荐</el-radio>\r\n </el-radio-group> -->\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"24\">\r\n <el-form-item label='报名需提交信息:'>\r\n <el-checkbox-group v-model='form.signup_fields'>\r\n <el-checkbox v-for='(item,index) in form.signup_fields' :key='index' :label='item.id'>{{item.name}}</el-checkbox>\r\n </el-checkbox-group>\r\n </el-form-item>\r\n </el-col>\r\n </el-row>\r\n <el-form-item label='封面图:'>\r\n <el-upload\r\n class=\"avatar-uploader\"\r\n action=\"/api/admin/uploadfile\"\r\n :show-file-list=\"false\"\r\n :on-success=\"handleAvatarSuccess\">\r\n <img v-if=\"form.img\" :src=\"form.img\" class=\"avatar\">\r\n <i v-else class=\"el-icon-plus avatar-uploader-icon\"></i>\r\n </el-upload>\r\n <span style='font-size:12px;color:#999999;'>建议图片尺寸为:210*160</span>\r\n </el-form-item>\r\n <el-form-item label=''>\r\n <el-tabs v-model=\"activeName\" @tab-click=\"handleClick\">\r\n <el-tab-pane label=\"会议详情\" name=\"first\">\r\n <fuEditor></fuEditor>\r\n </el-tab-pane>\r\n <el-tab-pane label=\"主讲人\" name=\"second\">\r\n <section style=\"height:544px;padding:10px 0px;border:1px solid #ccc;\">\r\n <div v-for='(item,index) in form.speaker' :key='index' class='speaker'> \r\n <el-row>\r\n <el-col :span=\"12\">\r\n <el-form-item label=\"主讲人姓名\">\r\n <el-input placeholder=\"请输入主讲人姓名\" v-model=\"item.name\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"主讲人简介\">\r\n <el-input type=\"textarea\" placeholder=\"请输入主讲人简介\" v-model=\"item.intruduce\"></el-input>\r\n </el-form-item>\r\n </el-col>\r\n \r\n <el-col :span=\"8\">\r\n <el-form-item label=\"主讲人头像\">\r\n <el-upload\r\n class=\"avatar-uploader speaker_avatar\"\r\n action=\"/api/admin/uploadfile\"\r\n :show-file-list=\"false\"\r\n :on-success=\"(res,file)=>{handleAvatarSuccess1(index,res,file)}\">\r\n <img v-if=\"item.img\" :src=\"item.img\" class=\"avatar\">\r\n <i v-else class=\"el-icon-plus avatar-uploader-icon\"></i>\r\n </el-upload>\r\n </el-form-item>\r\n </el-col>\r\n \r\n <el-col :span=\"4\">\r\n <el-button v-if='index==0' size=\"mini\" type=\"primary\" plain @click='addSpeaker' icon=\"el-icon-plus\">添加主讲人</el-button>\r\n <el-button v-else type=\"danger\" size=\"mini\" plain @click='clearSpeaker(index)'>删除</el-button>\r\n </el-col>\r\n </el-row>\r\n </div>\r\n </section>\r\n </el-tab-pane>\r\n <!-- <el-tab-pane label=\"酒店信息\" name=\"third\">\r\n <section class=\"hotel\" style=\"padding:10px 0px;border:1px solid #ccc;\">\r\n <el-row>\r\n <el-col :span=\"16\">\r\n <el-form-item label=\"选择历史酒店\">\r\n <el-select placeholder=\"请选择酒店\" v-model=\"form.sponsor\" filterable>\r\n <el-option\r\n v-for=\"(item, index) in organizerList\"\r\n :key=\"index\"\r\n :label=\"item.name\"\r\n :value=\"item.id\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"4\" :offset='1'>\r\n <el-form-item>\r\n <el-button icon=\"el-icon-plus\">添加酒店</el-button>\r\n </el-form-item>\r\n </el-col>\r\n </el-row>\r\n <el-row>\r\n <el-form-item label=\"填写酒店信息\"></el-form-item>\r\n <el-col :span=\"8\">\r\n <el-form-item label=\"酒店名称\">\r\n <el-input placeholder=\"请输入主讲人姓名\" v-model=\"form.address\"></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"8\">\r\n <el-form-item label=\"酒店地址\">\r\n <el-input placeholder=\"请输入主讲人姓名\" v-model=\"form.address\"></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"8\">\r\n <el-form-item label=\"酒店电话\">\r\n <el-input placeholder=\"请输入主讲人姓名\" v-model=\"form.address\"></el-input>\r\n </el-form-item>\r\n </el-col>\r\n </el-row>\r\n <el-row>\r\n <el-col :span=\"24\">\r\n <el-form-item label=\"酒店图片\" class=\"hotel_imgs\">\r\n <el-upload\r\n action=\"/api/admin/uploadfile\"\r\n list-type=\"picture-card\">\r\n <i class=\"el-icon-plus\"></i>\r\n </el-upload>\r\n <span style='font-size:12px;color:#999999;'>建议图片尺寸为:210*160</span>\r\n </el-form-item>\r\n </el-col>\r\n </el-row>\r\n <el-row>\r\n <el-form-item label=\"填写房型信息\"></el-form-item>\r\n </el-row>\r\n <div class='hotel-type' v-for='(item,index) in form.hotel.type' :key='index'>\r\n <el-row>\r\n <el-col :span=\"5\">\r\n <el-form-item label=\"房型名称\">\r\n <el-input placeholder=\"请输入房型名称\" v-model=\"item.name\"></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"5\">\r\n <el-form-item label=\"可住人数\">\r\n <el-input placeholder=\"请输入可住人数\" v-model=\"item.number\"></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"5\">\r\n <el-form-item label=\"房型数量\">\r\n <el-input placeholder=\"请输入房型数量\" v-model=\"form.amount\"></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"4\">\r\n <el-form-item label=\"面积\">\r\n <el-input placeholder=\"请输入面积\" v-model=\"item.area\"></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"4\">\r\n <el-form-item label=\"楼层\">\r\n <el-input placeholder=\"请输入楼层\" v-model=\"item.floor\"></el-input>\r\n </el-form-item>\r\n </el-col>\r\n </el-row>\r\n <el-row>\r\n <el-col :span=\"5\">\r\n <el-form-item label=\"床型\">\r\n <el-input placeholder=\"请输入床型\" v-model=\"item.mattess\"></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"5\">\r\n <el-form-item label=\"餐食\">\r\n <el-input placeholder=\"请输入餐食\" v-model=\"item.meal\"></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"5\">\r\n <el-form-item label=\"窗户\">\r\n <el-input placeholder=\"请输入窗户\" v-model=\"item.window\"></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"4\">\r\n <el-form-item label=\"房型\">\r\n <el-input placeholder=\"请输入房型\" v-model=\"item.type\"></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"4\">\r\n <el-form-item label=\"房价\">\r\n <el-input placeholder=\"请输入房价\" v-model=\"item.price\"></el-input>\r\n </el-form-item>\r\n </el-col>\r\n </el-row>\r\n </div>\r\n <el-row>\r\n <el-col :span=\"24\">\r\n <el-form-item label=\"酒店图片\" class=\"hotel_imgs\">\r\n <el-upload\r\n action=\"/api/admin/uploadfile\"\r\n list-type=\"picture-card\" >\r\n <i class=\"el-icon-plus\"></i>\r\n </el-upload>\r\n <span style='font-size:12px;color:#999999;'>建议图片尺寸为:210*160</span>\r\n </el-form-item>\r\n </el-col>\r\n </el-row>\r\n <el-row>\r\n <el-col :span=\"24\">\r\n <el-form-item label=' '>\r\n <el-button type=\"normal\" icon=\"el-icon-plus\" @click='addHotelType'>添加房型</el-button>\r\n </el-form-item>\r\n </el-col>\r\n </el-row>\r\n </section>\r\n </el-tab-pane> -->\r\n </el-tabs>\r\n </el-form-item>\r\n <el-form-item style=\"position:fixed;bottom:20px;right:60px;\">\r\n <el-button type='primary'>预览</el-button>\r\n <el-button type='success'>发布</el-button>\r\n <el-button type='default'>保存并新增</el-button>\r\n <el-button type='default'>保存</el-button>\r\n <el-button type=\"danger\" plain>删除</el-button>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n </section>\r\n</template>\r\n<script>\r\nimport fuEditor from '../../components/fuEditor'\r\nexport default {\r\n components: {\r\n fuEditor,\r\n },\r\n data() {\r\n return {\r\n form: {\r\n is_signup:0,\r\n is_popular:0,\r\n is_recommend:0,\r\n city:[],\r\n signup_fields:[\r\n { name: \"姓名\", id: \"1\" },\r\n { name: \"性别\", id: \"2\" },\r\n { name: \"年龄\", id: \"3\" },\r\n { name: \"职务\", id: \"4\" },\r\n { name: \"职称\", id: \"5\" },\r\n { name: \"职称\", id: \"5\" },\r\n ],\r\n speaker:[\r\n {name:'',intruduce:''}\r\n ],\r\n img:''\r\n },\r\n optionList: [\r\n { name: \"成都交通\", id: \"1\" },\r\n { name: \"成都交通\", id: \"1\" },\r\n ],\r\n \r\n organizerList:[],\r\n cityList:[],\r\n activeName:'first',\r\n imageUrl:\"\"\r\n };\r\n },\r\n methods: {\r\n //封面\r\n handleAvatarSuccess(res, file) {\r\n this.form.img = file.response.data;\r\n console.log(this.form.img)\r\n },\r\n //主讲人\r\n handleAvatarSuccess1(index,res, file) {\r\n var speaker=this.form.speaker[index];\r\n speaker.img = file.response.data;\r\n this.$set(this.form.speaker,index,speaker)\r\n // console.log(this.form.img)\r\n },\r\n beforeAvatarUpload(){\r\n\r\n },\r\n handleClick(){\r\n\r\n },\r\n addSpeaker(){\r\n this.form.speaker.push({name:'',intruduce:''})\r\n },\r\n clearSpeaker(index){\r\n this.form.speaker.splice(index,1)\r\n },\r\n addHotelType(){\r\n this.form.hotel.type.push({})\r\n },\r\n handleChangeCity(value){\r\n console.log(value,222222222)\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 getData() {\r\n var parm = this.form;\r\n this.$api.getAllOrganizer().then((res) => {\r\n this.organizerList = res.data.data;\r\n });\r\n this.$api.getCityList().then((res) => {\r\n this.cityList = res.data.data;\r\n });\r\n },\r\n del(id) {\r\n this.$confirm(\"确定删除吗\", \"提示\", {\r\n type: \"warning\",\r\n }).then(() => {\r\n this.$api.deleteEnterprise({ 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 },\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!./AddConference.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!./AddConference.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddConference.vue?vue&type=template&id=2668156d&scoped=true&\"\nimport script from \"./AddConference.vue?vue&type=script&lang=js&\"\nexport * from \"./AddConference.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AddConference.vue?vue&type=style&index=0&id=2668156d&lang=scss&scoped=true&\"\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 \"2668156d\",\n null\n \n)\n\nexport default component.exports","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!./AddConference.vue?vue&type=style&index=0&id=2668156d&lang=scss&scoped=true&\""],"sourceRoot":""}
|