1 |
- {"version":3,"sources":["webpack:///./src/views/journalQun/AddJournal.vue?c6d4","webpack:///src/views/journalQun/AddJournal.vue","webpack:///./src/views/journalQun/AddJournal.vue?e44f","webpack:///./src/views/journalQun/AddJournal.vue","webpack:///./src/views/journalQun/AddJournal.vue?bdab"],"names":["render","_vm","this","_h","$createElement","_c","_self","_m","staticClass","ref","attrs","form","rules","model","value","callback","$$v","$set","expression","_l","item","index","key","name","id","handleAvatarSuccess","img","staticStyle","_v","on","save","staticRenderFns","components","fuEditor","data","subjectList","organizerList","imageUrl","journal_id","author","publish_time","methods","file","response","console","log","handleAvatarSuccess1","speaker","beforeAvatarUpload","handleClick","addSpeaker","push","gopage","size","page_size","page","$refs","pageButton","getData","loading","$api","searchSubjectList","then","searchOrganizerList","getJournal","validate","valid","parm","res","code","type","message","del","$confirm","created","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,CAACI,IAAI,OAAOD,YAAY,SAASE,MAAM,CAAC,KAAO,QAAQ,cAAc,QAAQ,MAAQT,EAAIU,KAAK,MAAQV,EAAIW,QAAQ,CAACP,EAAG,SAAS,CAACA,EAAG,SAAS,CAACK,MAAM,CAAC,KAAO,KAAK,CAACL,EAAG,eAAe,CAACK,MAAM,CAAC,MAAQ,QAAQ,KAAO,SAAS,CAACL,EAAG,WAAW,CAACK,MAAM,CAAC,YAAc,UAAU,UAAY,IAAIG,MAAM,CAACC,MAAOb,EAAIU,KAAS,KAAEI,SAAS,SAAUC,GAAMf,EAAIgB,KAAKhB,EAAIU,KAAM,OAAQK,IAAME,WAAW,gBAAgB,IAAI,GAAGb,EAAG,SAAS,CAACK,MAAM,CAAC,KAAO,IAAI,CAACL,EAAG,eAAe,CAACK,MAAM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AhB,UACkBC,KAAM,UACNC,QAAS,UAGX,EAAhB,4BAIY,EAAZ,qCACmC,GAAjBH,EAAIlC,KAAKmC,KACX,EAAhB,UACkBC,KAAM,UACNC,QAAS,UAGX,EAAhB,2BAKU,EAAV,+BAIIC,IA3EJ,SA2EA,cACMtE,KAAKuE,SAAS,QAAS,KAAM,CAC3BH,KAAM,YACd,iBACQ,EAAR,0CACU,EAAV,UACYC,QAAS,OACTD,KAAM,YAER,EAAV,kBAKEI,QAhHF,WAiHIxE,KAAKwD,YCla8b,I,wBCQnciB,EAAY,eACd,EACA3E,EACA+B,GACA,EACA,KACA,WACA,MAIa,aAAA4C,E,6CCnBf,W","file":"js/chunk-690f7c5b.a10b5165.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',{ref:\"form\",staticClass:\"over_y\",attrs:{\"size\":\"small\",\"label-width\":\"140px\",\"model\":_vm.form,\"rules\":_vm.rules}},[_c('el-row',[_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{attrs:{\"label\":\"期刊名称:\",\"prop\":\"name\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入期刊名称\",\"clearable\":\"\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"微信号:\",\"prop\":\"wxcode\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入微信号\",\"clearable\":\"\"},model:{value:(_vm.form.wxcode),callback:function ($$v) {_vm.$set(_vm.form, \"wxcode\", $$v)},expression:\"form.wxcode\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"中文名称:\",\"prop\":\"cname\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入中文名称\",\"clearable\":\"\"},model:{value:(_vm.form.cname),callback:function ($$v) {_vm.$set(_vm.form, \"cname\", $$v)},expression:\"form.cname\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"外文名称:\",\"prop\":\"ename\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入外文名称\",\"clearable\":\"\"},model:{value:(_vm.form.ename),callback:function ($$v) {_vm.$set(_vm.form, \"ename\", $$v)},expression:\"form.ename\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"主办单位:\",\"prop\":\"organizer_id\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\",\"filterable\":\"\"},model:{value:(_vm.form.organizer_id),callback:function ($$v) {_vm.$set(_vm.form, \"organizer_id\", $$v)},expression:\"form.organizer_id\"}},_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\":6}},[_c('el-form-item',{attrs:{\"label\":\"学科:\",\"prop\":\"subject_id\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\",\"filterable\":\"\"},model:{value:(_vm.form.subject_id),callback:function ($$v) {_vm.$set(_vm.form, \"subject_id\", $$v)},expression:\"form.subject_id\"}},_vm._l((_vm.subjectList),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item.name,\"value\":item.id}})}),1)],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"语种:\",\"prop\":\"languages\"}},[_c('el-input',{attrs:{\"placeholder\":\"\"},model:{value:(_vm.form.languages),callback:function ($$v) {_vm.$set(_vm.form, \"languages\", $$v)},expression:\"form.languages\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"出版时间:\",\"prop\":\"publishingTime\"}},[_c('el-input',{attrs:{\"placeholder\":\"\"},model:{value:(_vm.form.publishingTime),callback:function ($$v) {_vm.$set(_vm.form, \"publishingTime\", $$v)},expression:\"form.publishingTime\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"主编:\",\"prop\":\"editor\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入期刊名称\",\"clearable\":\"\"},model:{value:(_vm.form.editor),callback:function ($$v) {_vm.$set(_vm.form, \"editor\", $$v)},expression:\"form.editor\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"主管单位:\",\"prop\":\"corganizers\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入主管单位\",\"clearable\":\"\"},model:{value:(_vm.form.corganizers),callback:function ($$v) {_vm.$set(_vm.form, \"corganizers\", $$v)},expression:\"form.corganizers\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"办刊单位:\",\"prop\":\"publishingUnit\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入期刊名称\",\"clearable\":\"\"},model:{value:(_vm.form.publishingUnit),callback:function ($$v) {_vm.$set(_vm.form, \"publishingUnit\", $$v)},expression:\"form.publishingUnit\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"创刊时间:\",\"prop\":\"\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入期刊名称\",\"clearable\":\"\"},model:{value:(_vm.form.publishingTime),callback:function ($$v) {_vm.$set(_vm.form, \"publishingTime\", $$v)},expression:\"form.publishingTime\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"出版周期:\",\"prop\":\"publishingCycle\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入出版周期\",\"clearable\":\"\"},model:{value:(_vm.form.publishingCycle),callback:function ($$v) {_vm.$set(_vm.form, \"publishingCycle\", $$v)},expression:\"form.publishingCycle\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"国内刊号:\",\"prop\":\"domestic\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入国内刊号\",\"clearable\":\"\"},model:{value:(_vm.form.domestic),callback:function ($$v) {_vm.$set(_vm.form, \"domestic\", $$v)},expression:\"form.domestic\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"国际刊号:\",\"prop\":\"issn\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入国际刊号\",\"clearable\":\"\"},model:{value:(_vm.form.issn),callback:function ($$v) {_vm.$set(_vm.form, \"issn\", $$v)},expression:\"form.issn\"}})],1)],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{attrs:{\"label\":\"期刊官网:\",\"prop\":\"website\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入期刊官网\",\"clearable\":\"\"},model:{value:(_vm.form.website),callback:function ($$v) {_vm.$set(_vm.form, \"website\", $$v)},expression:\"form.website\"}})],1)],1),_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{attrs:{\"label\":\"编辑部地址:\",\"prop\":\"editorialAddress\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入编辑部地址\",\"clearable\":\"\"},model:{value:(_vm.form.editorialAddress),callback:function ($$v) {_vm.$set(_vm.form, \"editorialAddress\", $$v)},expression:\"form.editorialAddress\"}})],1)],1)],1),_c('el-form-item',{attrs:{\"label\":\"文章简介:\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":3,\"placeholder\":\"请输入文章简介\"},model:{value:(_vm.form.desc),callback:function ($$v) {_vm.$set(_vm.form, \"desc\", $$v)},expression:\"form.desc\"}})],1),_c('el-form-item',{attrs:{\"label\":\"封面图:\",\"prop\":\"img\"}},[_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',{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\"},on:{\"click\":_vm.save}},[_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,\r\n .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.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</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\r\n ref=\"form\"\r\n size=\"small\"\r\n label-width=\"140px\"\r\n class=\"over_y\"\r\n :model=\"form\"\r\n :rules=\"rules\"\r\n >\r\n <el-row>\r\n <el-col :span=\"24\">\r\n <el-form-item label=\"期刊名称:\" prop=\"name\">\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-col>\r\n <el-col :span=\"6\">\r\n <el-form-item label=\"微信号:\" prop=\"wxcode\">\r\n <el-input\r\n placeholder=\"请输入微信号\"\r\n v-model=\"form.wxcode\"\r\n clearable\r\n ></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <el-form-item label=\"中文名称:\" prop=\"cname\">\r\n <el-input\r\n placeholder=\"请输入中文名称\"\r\n v-model=\"form.cname\"\r\n clearable\r\n ></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <el-form-item label=\"外文名称:\" prop=\"ename\">\r\n <el-input\r\n placeholder=\"请输入外文名称\"\r\n v-model=\"form.ename\"\r\n clearable\r\n ></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <el-form-item label=\"主办单位:\" prop=\"organizer_id\">\r\n <el-select\r\n placeholder=\"请选择\"\r\n v-model=\"form.organizer_id\"\r\n filterable\r\n >\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=\"6\">\r\n <el-form-item label=\"学科:\" prop=\"subject_id\">\r\n <el-select\r\n placeholder=\"请选择\"\r\n v-model=\"form.subject_id\"\r\n filterable\r\n >\r\n <el-option\r\n v-for=\"(item, index) in subjectList\"\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=\"6\">\r\n <el-form-item label=\"语种:\" prop=\"languages\">\r\n <el-input v-model=\"form.languages\" placeholder=\"\"> </el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <el-form-item label=\"出版时间:\" prop=\"publishingTime\">\r\n <el-input v-model=\"form.publishingTime\" placeholder=\"\"> </el-input>\r\n </el-date-picker>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <el-form-item label=\"主编:\" prop=\"editor\">\r\n <el-input\r\n placeholder=\"请输入期刊名称\"\r\n v-model=\"form.editor\"\r\n clearable\r\n ></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <el-form-item label=\"主管单位:\" prop=\"corganizers\">\r\n <el-input\r\n placeholder=\"请输入主管单位\"\r\n v-model=\"form.corganizers\"\r\n clearable\r\n ></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <el-form-item label=\"办刊单位:\" prop=\"publishingUnit\">\r\n <el-input\r\n placeholder=\"请输入期刊名称\"\r\n v-model=\"form.publishingUnit\"\r\n clearable\r\n ></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <el-form-item label=\"创刊时间:\" prop=\"\">\r\n <el-input\r\n placeholder=\"请输入期刊名称\"\r\n v-model=\"form.publishingTime\"\r\n clearable\r\n ></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <el-form-item label=\"出版周期:\" prop=\"publishingCycle\">\r\n <el-input\r\n placeholder=\"请输入出版周期\"\r\n v-model=\"form.publishingCycle\"\r\n clearable\r\n ></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <el-form-item label=\"国内刊号:\" prop=\"domestic\">\r\n <el-input\r\n placeholder=\"请输入国内刊号\"\r\n v-model=\"form.domestic\"\r\n clearable\r\n ></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <el-form-item label=\"国际刊号:\" prop=\"issn\">\r\n <el-input\r\n placeholder=\"请输入国际刊号\"\r\n v-model=\"form.issn\"\r\n clearable\r\n ></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"6\">\r\n <el-form-item label=\"期刊官网:\" prop=\"website\">\r\n <el-input\r\n placeholder=\"请输入期刊官网\"\r\n v-model=\"form.website\"\r\n clearable\r\n ></el-input>\r\n </el-form-item>\r\n </el-col>\r\n <el-col :span=\"24\">\r\n <el-form-item label=\"编辑部地址:\" prop=\"editorialAddress\">\r\n <el-input\r\n placeholder=\"请输入编辑部地址\"\r\n v-model=\"form.editorialAddress\"\r\n clearable\r\n ></el-input>\r\n </el-form-item>\r\n </el-col>\r\n </el-row>\r\n <el-form-item label=\"文章简介:\">\r\n <el-input\r\n type=\"textarea\"\r\n v-model=\"form.desc\"\r\n :rows=\"3\"\r\n placeholder=\"请输入文章简介\"\r\n ></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"封面图:\" prop=\"img\">\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 >\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\"\r\n >建议图片尺寸为:210*160</span\r\n >\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\" @click=\"save\">保存</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 subjectList: [],\r\n organizerList:[],\r\n imageUrl: \"\",\r\n rules: {\r\n name: [{ required: true, message: \"请输入标题\", trigger: \"blur\" }],\r\n journal_id: [\r\n { required: true, message: \"请选择来源\", trigger: \"change\" },\r\n ],\r\n author: [{ required: true, message: \"请选择模板\", trigger: \"blur\" }],\r\n publish_time: [\r\n { required: true, message: \"发布时间\", trigger: \"blur\" },\r\n ],\r\n img: [{ required: true, message: \"封面图\", trigger: \"blur\" }],\r\n },\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 handleClick() {},\r\n addSpeaker() {\r\n this.form.speaker.push({ name: \"\", intruduce: \"\" });\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 this.loading = true;\r\n this.$api.searchSubjectList().then((res) => {\r\n this.subjectList = res.data.data;\r\n });\r\n this.$api.searchOrganizerList().then((res) => {\r\n this.organizerList = res.data.data;\r\n });\r\n // 期刊详情\r\n let id = this.$route.query.id;\r\n if (id) {\r\n this.$api.getJournal({ id: id }).then((res) => {\r\n this.form = res.data.data;\r\n });\r\n }\r\n },\r\n save() {\r\n let id = this.$route.query.id;\r\n let parm = this.form;\r\n this.$refs[\"form\"].validate((valid) => {\r\n if (valid) {\r\n if (id) {\r\n parm.id = id;\r\n this.$api.updateJournal(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 });\r\n } else {\r\n this.$api.addJournal(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 });\r\n }\r\n } else {\r\n this.$message.error(\"有必填项没有填!\");\r\n }\r\n });\r\n },\r\n del(id) {\r\n this.$confirm(\"确定删除吗\", \"提示\", {\r\n type: \"warning\",\r\n }).then(() => {\r\n this.$api.delJournal({ 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!./AddJournal.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!./AddJournal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddJournal.vue?vue&type=template&id=02605f79&scoped=true&\"\nimport script from \"./AddJournal.vue?vue&type=script&lang=js&\"\nexport * from \"./AddJournal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AddJournal.vue?vue&type=style&index=0&id=02605f79&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 \"02605f79\",\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!./AddJournal.vue?vue&type=style&index=0&id=02605f79&lang=scss&scoped=true&\""],"sourceRoot":""}
|