chunk-9f22a01c.acd38daa.js.map 18 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/editor/detail.vue?e462","webpack:///./src/views/editor/detail.vue?b520","webpack:///src/views/editor/detail.vue","webpack:///./src/views/editor/detail.vue?c8ef","webpack:///./src/views/editor/detail.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_v","_s","data","name","on","$event","$router","go","staticStyle","journal","journaluser_realname","journaluser_phone","style","workflow_records","length","_l","item","index","key","color","ctime","nativeOn","step","record_id","desc","_e","journal_fourface","word","role","post_status","imageChange","file","filelist","handleRemove","ref","show_record","post","staticRenderFns","component"],"mappings":"kHAAA,W,gECAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACE,YAAY,QAAQ,CAACF,EAAG,gBAAgB,CAACG,MAAM,CAAC,UAAY,MAAM,CAACH,EAAG,qBAAqB,CAACJ,EAAIQ,GAAG,UAAUJ,EAAG,qBAAqB,CAACJ,EAAIQ,GAAG,UAAUJ,EAAG,qBAAqB,CAACJ,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIU,KAAKC,UAAU,GAAIX,EAAIU,KAAO,GAAEN,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,YAAY,CAACG,MAAM,CAAC,KAAO,QAAQK,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOb,EAAIc,QAAQC,IAAI,MAAM,CAACf,EAAIQ,GAAG,QAAQJ,EAAG,KAAK,CAACE,YAAY,YAAY,CAACN,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIU,KAAKC,SAASP,EAAG,SAAS,CAACY,YAAY,CAAC,QAAU,SAAS,CAACZ,EAAG,SAAS,CAACY,YAAY,CAAC,WAAa,UAAU,QAAU,QAAQT,MAAM,CAAC,KAAO,IAAI,CAACP,EAAIQ,GAAG,2BAA2BR,EAAIS,GAAGT,EAA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V,uBACA,gBACc,EAAd,mBAEc,EAAd,YAGU,EAAV,wBAEQ,QAAR,gBAII,OA/CJ,WA+CM,IAAN,OACA,aACM,EAAN,iCACM,EAAN,iCACM,KAAN,sCACA,gBACU,EAAV,UAAY,QAAZ,QAAY,KAAZ,YACU,EAAV,gBAEU,EAAV,mCAII,KA5DJ,SA4DA,GAAM,IAAN,OACA,wBACQ,EAAR,4CAEQ,EAAR,uCAEM,KAAN,sCACA,gBACU,EAAV,UAAY,QAAZ,QAAY,KAAZ,YACU,EAAV,gBAEU,EAAV,oCAKE,QArGF,WAsGA,uBACM,KAAN,8BACM,KAAN,YAGE,QA3GF,WA4GI,KAAJ,oCCzOmc,I,wBCQ/bC,EAAY,eACd,EACA/C,EACA8C,GACA,EACA,KACA,KACA,MAIa,aAAAC,E","file":"js/chunk-9f22a01c.acd38daa.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!./detail.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',{staticClass:\"tjfx\"},[_c('el-breadcrumb',{attrs:{\"separator\":\"/\"}},[_c('el-breadcrumb-item',[_vm._v(\"审读管理\")]),_c('el-breadcrumb-item',[_vm._v(\"四封审读\")]),_c('el-breadcrumb-item',[_vm._v(_vm._s(_vm.data.name))])],1),(_vm.data.id)?_c('div',{staticClass:\"content\"},[_c('el-button',{attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.$router.go(-1)}}},[_vm._v(\"返回\")]),_c('h1',{staticClass:\"sh_title\"},[_vm._v(_vm._s(_vm.data.name))]),_c('el-row',{staticStyle:{\"padding\":\"10px\"}},[_c('el-col',{staticStyle:{\"background\":\"#f5f5f5\",\"padding\":\"10px\"},attrs:{\"span\":6}},[_vm._v(\"\\n 期刊名称: \"+_vm._s(_vm.data.journal)),_c('br'),_c('br'),_vm._v(\"\\n 期刊负责人: \"+_vm._s(_vm.data.journaluser_realname)),_c('br'),_c('br'),_vm._v(\"\\n 负责人电话:\"+_vm._s(_vm.data.journaluser_phone)),_c('br'),_c('br'),_c('b',[_vm._v(\"审读工作流程:\")]),_c('br'),_c('br'),(_vm.data.workflow_records)?_c('div',{style:(\"height:\"+_vm.data.workflow_records.length*100+\"px\")},[_c('el-timeline',_vm._l((_vm.data.workflow_records),function(item,index){return _c('el-timeline-item',{key:index,staticStyle:{\"cursor\":\"pointer\"},attrs:{\"color\":item.color,\"timestamp\":item.ctime},nativeOn:{\"click\":function($event){return _vm.step(item.record_id,index)}}},[_vm._v(\"\\n \"+_vm._s(item.desc)+\"\\n \")])}),1)],1):_vm._e()]),_c('el-col',{staticClass:\"wj\",attrs:{\"span\":18}},[(_vm.data.journal_fourface)?_c('div',[_c('p',[_vm._v(_vm._s(_vm.data.journal)+\"四封图片:\")]),_c('br'),(_vm.data.journal_fourface)?_c('ul',_vm._l((_vm.data.journal_fourface),function(item,index){return _c('li',{key:index},[_c('el-image',{staticStyle:{\"width\":\"100px\"},attrs:{\"src\":item,\"preview-src-list\":_vm.data.journal_fourface}}),_c('br'),_vm._v(\"\\n 封 \"+_vm._s(_vm.word[index])+\"\\n \")],1)}),0):_vm._e()]):_vm._e(),(_vm.role==1&&_vm.data.post_status==0)?_c('div',[_c('p',[_vm._v(\"上传期刊四封图片:\")]),_c('br'),_c('el-upload',{attrs:{\"action\":\"/api/admin/uploadfile\",\"list-type\":\"picture-card\",\"on-success\":_vm.imageChange,\"on-remove\":function (file,filelist){ return _vm.handleRemove(file,filelist); }}},[_c('i',{staticClass:\"el-icon-plus\"})])],1):_vm._e(),_c('temp',{ref:\"temp\",attrs:{\"show_record\":_vm.show_record,\"show_head\":true,\"info\":_vm.data},on:{\"post\":_vm.post}})],1)],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<style lang='scss'>\r\n.sh_title{\r\n font-size: 28px;\r\n text-align: center;\r\n padding: 0 0 30px;\r\n font-weight: 300;\r\n color: #333;\r\n}\r\n.wj{\r\n padding-left: 20px;\r\n &>p{\r\n color: #666;\r\n margin-bottom: 10px;\r\n }\r\n li{\r\n display: inline-block;\r\n list-style: none;\r\n text-align: center;\r\n color: #999;\r\n margin-right: 20px;\r\n margin-bottom: 20px;\r\n img{\r\n border: 1px solid #409EFF;\r\n }\r\n }\r\n .el-icon-question{\r\n font-size: 20px;\r\n color: #409EFF;\r\n position: relative;\r\n top:2px;\r\n }\r\n .result{\r\n border: 1px solid #d9d9d9;\r\n border-radius: 5px;\r\n padding: 10px;\r\n margin: 20px 0 0;\r\n }\r\n .reresult{\r\n background: #f7f8fc;\r\n padding: 10px;\r\n margin-top: 10px;\r\n line-height: 32px;\r\n p{\r\n color: #666;\r\n }\r\n .result{\r\n margin: 0;\r\n \r\n }\r\n }\r\n}\r\n</style>\r\n<template>\r\n <section class=\"tjfx\">\r\n <el-breadcrumb separator=\"/\">\r\n <el-breadcrumb-item >审读管理</el-breadcrumb-item>\r\n <el-breadcrumb-item >四封审读</el-breadcrumb-item>\r\n <el-breadcrumb-item >{{data.name}}</el-breadcrumb-item>\r\n </el-breadcrumb>\r\n <div class=\"content\" v-if=\"data.id\">\r\n <el-button type=\"text\" @click=\"$router.go(-1)\">返回</el-button>\r\n <h1 class=\"sh_title\">{{data.name}}</h1>\r\n <el-row style=\"padding:10px;\">\r\n <el-col :span='6' style=\"background:#f5f5f5;padding:10px;\">\r\n 期刊名称: {{data.journal}}<br><br>\r\n 期刊负责人: {{data.journaluser_realname}}<br><br>\r\n 负责人电话:{{data.journaluser_phone}}<br><br>\r\n <b>审读工作流程:</b><br><br>\r\n <div v-if='data.workflow_records' :style='\"height:\"+data.workflow_records.length*100+\"px\"'>\r\n \r\n <el-timeline>\r\n <el-timeline-item\r\n style=\"cursor: pointer;\"\r\n v-for='(item,index) in data.workflow_records'\r\n :key=\"index\" :color='item.color'\r\n @click.native='step(item.record_id,index)'\r\n :timestamp=\"item.ctime\">\r\n {{item.desc}}\r\n </el-timeline-item>\r\n </el-timeline>\r\n </div>\r\n </el-col>\r\n <el-col :span='18' class=\"wj\">\r\n <div v-if='data.journal_fourface'>\r\n <p>{{data.journal}}四封图片:</p><br>\r\n <ul v-if='data.journal_fourface'>\r\n <li v-for='(item,index) in data.journal_fourface' :key=index>\r\n <el-image \r\n style=\"width: 100px;\"\r\n :src=\"item\" \r\n :preview-src-list=\"data.journal_fourface\">\r\n </el-image><br>\r\n 封 {{word[index]}}\r\n </li>\r\n </ul>\r\n </div>\r\n <div v-if='role==1&&data.post_status==0'>\r\n <p>上传期刊四封图片:</p><br>\r\n <el-upload\r\n action=\"/api/admin/uploadfile\"\r\n list-type=\"picture-card\"\r\n :on-success=\"imageChange\" \r\n :on-remove=\"(file,filelist)=> handleRemove(file,filelist)\">\r\n <i class=\"el-icon-plus\"></i>\r\n </el-upload>\r\n </div>\r\n <temp ref=\"temp\" :show_record='show_record' @post='post' :show_head=true :info='data'/>\r\n <!-- <div style=\"text-align:center;\">\r\n <el-button v-if='data.post_status==0' type=\"primary\" @click=\"post\">提交</el-button>\r\n </div> -->\r\n \r\n <!-- <div class=\"reresult\">\r\n 审核退回原因:\r\n <p>专家组长1:2020-01-01 10:10:20 </p>\r\n <p>原因详见每题下边的批注信息</p>\r\n </div> -->\r\n </el-col>\r\n </el-row>\r\n </div>\r\n \r\n </section>\r\n</template>\r\n\r\n<script>\r\nimport temp from \"../../components/template\";\r\nexport default{\r\n components: {\r\n temp\r\n },\r\n data() {\r\n return{\r\n active:0,\r\n title:'申请复检原因',\r\n word:['一','二','三','四'],\r\n open:false,\r\n query:{record_id:'',},\r\n list:[],\r\n form:{name:''},\r\n progress:1,\r\n data:{},\r\n journal_fourface:[],\r\n role:'',\r\n review_remark:'',\r\n review_attach:'',\r\n show_record:false,\r\n flow_index:0,\r\n url:'https://tederen.oss-cn-shanghai.aliyuncs.com/Axure/zhongkeyuan/03_2021/sifengshendu_04_jb/images/%E9%A2%84%E8%A7%88%E5%B0%81%E5%9B%9B1/u2979.jpg',\r\n img_list:['https://tederen.oss-cn-shanghai.aliyuncs.com/Axure/zhongkeyuan/03_2021/sifengshendu_04_jb/images/%E9%A2%84%E8%A7%88%E5%B0%81%E5%9B%9B1/u2979.jpg']\r\n }\r\n },\r\n methods:{\r\n step(id,index){\r\n this.flow_index=index\r\n this.query.record_id=id;\r\n this.getData()\r\n if(this.data.workflow_records[0].record_id==id){\r\n this.show_record=false\r\n }else{\r\n this.show_record=true\r\n }\r\n \r\n },\r\n //图片上传\r\n handleRemove(file,filelist){\r\n let imgs=[];\r\n for(let i=0;i<filelist.length;i++){\r\n imgs.push(filelist[i].response.data)\r\n }\r\n this.journal_fourface=imgs\r\n },\r\n imageChange(data){\r\n if(this.journal_fourface.length<4){\r\n this.journal_fourface.push(data.data)\r\n }else{\r\n this.$message.error('只能上传4张封面');\r\n }\r\n \r\n },\r\n getData(){\r\n this.$api.getWorkflow(this.query).then(res => {\r\n this.data = res.data.data;\r\n var flow=this.data.workflow_records\r\n if(flow){\r\n this.data.workflow_records=flow\r\n for(let i=0;i<flow.length;i++){\r\n if(i<=this.flow_index){\r\n flow[i].color='#0bbd87'\r\n }else{\r\n flow[i].color=''\r\n }\r\n }\r\n this.data.workflow_records=flow\r\n }\r\n console.log(this.data)\r\n });\r\n },\r\n \r\n review(){\r\n var form=this.form1;\r\n form.review_remark=this.review_remark;\r\n form.review_attach=this.review_attach;\r\n this.$api.addWorkflow(form).then(res=>{\r\n if(res.data.code == 0){\r\n this.$message({ message: \"申请成功!\", type: \"success\" });\r\n this.$router.go(-1)\r\n }else{\r\n this.$message.error(res.data.message);\r\n }\r\n })\r\n },\r\n post(form){\r\n if(this.data.post_status>0){\r\n form.journal_fourface=this.data.journal_fourface\r\n }else{\r\n form.journal_fourface=this.journal_fourface;\r\n }\r\n this.$api.addWorkflow(form).then(res=>{\r\n if(res.data.code == 0){\r\n this.$message({ message: \"操作成功!\", type: \"success\" });\r\n this.$router.go(-1)\r\n }else{\r\n this.$message.error(res.data.message);\r\n }\r\n })\r\n }\r\n },\r\n mounted(){\r\n if(this.$route.query.id){\r\n this.query.id=this.$route.query.id;\r\n this.getData()\r\n }\r\n },\r\n created(){\r\n this.role=localStorage.getItem('role')\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!./detail.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!./detail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./detail.vue?vue&type=template&id=395229bc&\"\nimport script from \"./detail.vue?vue&type=script&lang=js&\"\nexport * from \"./detail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./detail.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":""}