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OtC,KAAK8E,MAAQ,IAAMxC,CAC5B,IChGsI,ICQtI,GAAY,OACd,EACAxC,EACAyB,GACA,EACA,KACA,WACA,MAIF,EAAe,EAAiB,O,wHClBzB,SAASwD,IACd,OAAO,OAAQ,CACbC,IAAK,sBACLC,OAAQ,OAEZ,CACO,SAASC,EAAejE,GAC7B,OAAO,OAAQ,CACb+D,IAAK,2BAA6B/D,EAClCgE,OAAQ,OAEZ,CAEO,SAASE,EAA4BlE,GAC1C,OAAO,OAAQ,CACb+D,IAAK,wCAA0C/D,EAC/CgE,OAAQ,OAEZ,C,uCCjBA,8BAAiC,EAGjC,MAAMG,EAAU,WAAa,CAE3BC,QAAS,OACTC,oBAAoB,EACpBC,QAAS,MAIXH,EAAQI,aAAaC,SAASC,KAS3BD,IACC,MAAMjB,EAAMiB,EAAS7B,KAGrB,GAAiB,IAAbY,EAAImB,KAQR,OAAOnB,CAAG,IAEXoB,IACCjB,QAAQC,IAAI,oBAAqBgB,GAC7BA,EAAMH,SAAS7B,KAAKpB,OAcjBqD,QAAQC,OAAOF,MAK1BR,EAAQI,aAAaO,QAAQL,KAAI,SAAUM,GACzC,IAAIC,EAAQC,OAAOC,aAAaC,QAAQ,eACxC,OAAIH,GACFD,EAAOK,QAAQC,YAAcL,EACtBD,GAIFA,CACT,IAEA,Q","sources":["webpack://app/./src/views/department/department.vue?e489","webpack://app/./src/components/InfoCard.vue?9a64","webpack://app/./src/utils/filter.js","webpack://app/src/components/InfoCard.vue","webpack://app/./src/components/InfoCard.vue?a687","webpack://app/./src/components/InfoCard.vue","webpack://app/src/views/department/department.vue","webpack://app/./src/views/department/department.vue?8904","webpack://app/./src/views/department/department.vue","webpack://app/./src/api/department.js","webpack://app/./src/utils/request.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"titleCard\"},[_c('div',{staticStyle:{\"width\":\"60%\"}},[_c('h1',[_vm._v(_vm._s(_vm.name))]),_c('span',{staticClass:\"titleInfo\"},[_vm._v(_vm._s(_vm.intro))])]),_c('div',{staticStyle:{\"width\":\"10%\"}},[_c('a',{attrs:{\"href\":_vm.official_link,\"target\":\"_blank\"}},[_c('img',{attrs:{\"width\":\"140px\",\"src\":_vm.logoUrl}})])])]),_vm._l((_vm.labList),function(lab,i){return _c('div',{key:i,staticClass:\"labCard\"},[_c('div',{staticClass:\"labCardTitle\"},[_vm._v(_vm._s(lab.name))]),_c('el-row',{attrs:{\"gutter\":20}},_vm._l((lab.digitalList),function(r,i){return _c('el-col',{key:i,attrs:{\"xs\":20,\"sm\":11,\"md\":8,\"lg\":6,\"xl\":6}},[_c('InfoCard',{staticClass:\"infoCard\",attrs:{\"id\":r.id,\"pic\":r.imgUrl,\"name\":r.title,\"info\":r.intro,\"date\":r.date != null ? r.date.substring(0,10) : '--- --, ----',\"activity\":r.active}})],1)}),1)],1)})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-card',{attrs:{\"body-style\":{ padding: '0px' },\"shadow\":\"hover\"}},[_c('div',{staticClass:\"imgWrapper\"},[_c('img',{staticClass:\"image\",attrs:{\"src\":_vm.pic != null ? _vm.pic : require('@/assets/department/im/1.jpg')}})]),_c('div',{staticClass:\"textWrapper\"},[_c('h3',[_vm._v(_vm._s(_vm.name))]),_c('p',{staticClass:\"textInfo\"},[_vm._v(_vm._s(_vm._f(\"textFilter\")(_vm.info,80)))])]),_c('div',{staticStyle:{\"display\":\"flex\",\"justify-content\":\"right\"}},[_c('el-rate',{attrs:{\"disabled\":\"\"},model:{value:(_vm.activity),callback:function ($$v) {_vm.activity=$$v},expression:\"activity\"}})],1),_c('div',{staticClass:\"operationWrapper\"},[_c('el-tag',[_vm._v(_vm._s(_vm.date))]),_c('el-button',{staticClass:\"button\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.peek()}}},[_vm._v(\"查看详情\")])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export function projectCheckedFilter(projectList) {\r\n for (let project of projectList) {\r\n project.checked = project.id === localStorage.getItem(\"pid\");\r\n }\r\n// console.log(projectList,'lll');\r\n return projectList;\r\n}\r\nexport function textFilter(str, max_len) {\r\n if (str && str.length > max_len) {\r\n return str.substring(0, max_len)+\"...\";\r\n }\r\n return str;\r\n}\r\n","<template>\r\n<el-card :body-style=\"{ padding: '0px' }\" shadow=\"hover\">\r\n <div class=\"imgWrapper\">\r\n <img :src=\"pic != null ? pic : require('@/assets/department/im/1.jpg')\" class=\"image\" />\r\n </div>\r\n <div class=\"textWrapper\">\r\n <h3>{{name}}</h3>\r\n <p class=\"textInfo\">{{info | textFilter(80)}}</p>\r\n </div>\r\n <div style=\"display: flex; justify-content: right;\">\r\n<!-- <span class=\"textSmall\">活跃度</span>-->\r\n <el-rate disabled v-model=\"activity\"></el-rate>\r\n </div>\r\n\r\n <div class=\"operationWrapper\">\r\n <el-tag>{{date}}</el-tag>\r\n<!-- <div class=\"num\">{{num}}</div>-->\r\n <el-button type=\"text\" class=\"button\" @click=\"peek()\">查看详情</el-button>\r\n </div>\r\n</el-card>\r\n</template>\r\n\r\n<script>\r\nimport { textFilter } from \"@/utils/filter\"\r\n\r\nimport { Card, Button, Tag, Rate } from \"element-ui\";\r\nexport default {\r\n\r\n name: \"InfoCard\",\r\n components: {\r\n \"el-card\": Card,\r\n \"el-button\": Button,\r\n \"el-tag\": Tag,\r\n \"el-rate\": Rate\r\n },\r\n filters: { textFilter },\r\n props: {\r\n id: {\r\n type: String,\r\n default: \"1\"\r\n },\r\n name: {\r\n type: String,\r\n default: \"\"\r\n },\r\n pic: {\r\n type: String,\r\n default: \"tianwen/3.jpg\"\r\n },\r\n info: {\r\n type: String,\r\n default: \"\"\r\n },\r\n activity:{\r\n type:Number,\r\n default: 2\r\n },\r\n date:{\r\n type: String,\r\n default: \"--- --, ----\"\r\n }\r\n },\r\n methods:{\r\n peek(){\r\n this.$router.push(\"/dataset/\"+this.id);\r\n }\r\n },\r\n mounted() {\r\n }\r\n\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.imgWrapper {\r\n width: 100%;\r\n height: 100px;\r\n overflow: hidden;\r\n position: relative;\r\n}\r\n\r\n.imgWrapper .image {\r\n width: 100%;\r\n object-fit: contain;\r\n position: absolute;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -50%);\r\n display: block;\r\n}\r\n\r\n\r\n/*}*/\r\n.el-card{\r\n height: 300px;\r\n border:0.5px #bcc0c5 solid;\r\n margin-bottom: 20px;\r\n}\r\n.textWrapper{\r\n margin: 10px;\r\n height: 110px;\r\n}\r\n.textInfo{\r\n text-align: justify;\r\n font-size: small;\r\n}\r\n.operationWrapper{\r\n border-top: 0.5px #bcc0c5 solid;\r\n padding: 5px 10px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n.num{\r\n border: 0.5px #bcc0c5 solid;\r\n width: 5em;\r\n line-height: 1.5em;\r\n}\r\n.textSmall{\r\n font-size: small;\r\n}\r\n\r\n</style>\r\n","import mod from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InfoCard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InfoCard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InfoCard.vue?vue&type=template&id=bac3a636&scoped=true&\"\nimport script from \"./InfoCard.vue?vue&type=script&lang=js&\"\nexport * from \"./InfoCard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./InfoCard.vue?vue&type=style&index=0&id=bac3a636&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bac3a636\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div>\r\n <div class=\"titleCard\">\r\n <div style=\"width: 60%\">\r\n <h1>{{ name }}</h1>\r\n <span class=\"titleInfo\">{{ intro }}</span>\r\n </div>\r\n <!-- 官网和图片-->\r\n <div style=\"width: 10%;\">\r\n <a :href=\"official_link\" target=\"_blank\">\r\n <img width=\"140px\" :src=\"logoUrl\"/>\r\n </a>\r\n </div>\r\n </div>\r\n <!-- 数据 -->\r\n <div v-for=\"(lab,i) in labList\" :key=\"i\" class=\"labCard\">\r\n <div class=\"labCardTitle\">{{ lab.name }}</div>\r\n <el-row :gutter=\"20\">\r\n <el-col :xs=\"20\" :sm=\"11\" :md=\"8\" :lg=\"6\" :xl=\"6\" v-for=\"(r,i) in lab.digitalList\" :key=\"i\">\r\n <InfoCard\r\n class=\"infoCard\"\r\n :id=\"r.id\"\r\n :pic=\"r.imgUrl\"\r\n :name=\"r.title\"\r\n :info=\"r.intro\"\r\n :date=\"r.date != null ? r.date.substring(0,10) : '--- --, ----'\"\r\n :activity=\"r.active\"\r\n >\r\n </InfoCard>\r\n </el-col>\r\n </el-row>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport InfoCard from \"@/components/InfoCard\";\r\n// import {labList} from \"@/assets/department/im/lab\";\r\nimport { getFacultyById, getLabAndDigitalByFacultyId } from \"@/api/department\";\r\nimport {Row, Col} from \"element-ui\";\r\nexport default {\r\n name: \"departmentPage\",\r\n components: {\r\n \"el-row\": Row,\r\n \"el-col\": Col,\r\n InfoCard\r\n },\r\n data() {\r\n return {\r\n id:\"1\",\r\n pre: \"@/assets/department/\",\r\n name: \"信息管理学院\",\r\n labList:[],\r\n logoUrl: \"logo.png\",\r\n official_link: \"https://im.nju.edu.cn/main.psp\",\r\n intro: \"南京大学信息管理学院是南京大学历史最悠久的学科之一,也是信息管理教育的优先序列学科,在国内稳居前列,在中国同类学科院系居于引领发展地位,具有良好的品牌专业建设基础和发展优势。\"\r\n }\r\n },\r\n mounted() {\r\n this.init();\r\n },\r\n watch: {\r\n '$route.params.id': function(newId, oldId) {\r\n if (newId !== oldId) {\r\n this.init();\r\n }\r\n }\r\n },\r\n methods: {\r\n initId() {\r\n //获取url最后的id\r\n this.id = this.$route.params.id;\r\n },\r\n initDepartment() {\r\n getFacultyById(this.id).then(res => {\r\n this.name = res.data.name;\r\n this.logoUrl = res.data.logoUrl;\r\n this.intro = res.data.intro;\r\n\r\n })\r\n },\r\n initLabList() {\r\n const that = this\r\n getLabAndDigitalByFacultyId(that.id).then(res => {\r\n console.log(res.data)\r\n this.labList = res.data;\r\n })\r\n },\r\n init() {\r\n this.initId();\r\n this.initDepartment();\r\n this.initLabList();\r\n\r\n },\r\n getImgUrl(str) {\r\n return this.name_ + \"/\" + str;\r\n }\r\n }\r\n}\r\n</script>\r\n<style scoped>\r\n.titleCard {\r\n display: flex;\r\n justify-content: space-between;\r\n position: relative;\r\n background-color: #640761;\r\n /*background: url(\"../../assets/department/by.png\") right repeat ;*/\r\n color: white;\r\n padding: 15px 20px;\r\n align-items: center;\r\n}\r\n.titleInfo {\r\n font-size: small;\r\n}\r\n\r\n.labCard {\r\n margin-bottom: 20px;\r\n margin-top: 20px;\r\n}\r\n\r\n.labCardTitle {\r\n border-left: #63065f solid 10px;\r\n font-size: 24px;\r\n padding-left: 10px;\r\n margin: 20px 0 20px auto;\r\n}\r\n\r\n</style>\r\n","import mod from \"-!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./department.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./department.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./department.vue?vue&type=template&id=5e22504c&scoped=true&\"\nimport script from \"./department.vue?vue&type=script&lang=js&\"\nexport * from \"./department.vue?vue&type=script&lang=js&\"\nimport style0 from \"./department.vue?vue&type=style&index=0&id=5e22504c&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5e22504c\",\n null\n \n)\n\nexport default component.exports","import request from \"../utils/request\";\r\nexport function getFacultyList() {\r\n return request({\r\n url: `/faculty/allFaculty`,\r\n method: \"GET\",\r\n });\r\n}\r\nexport function getFacultyById(id) {\r\n return request({\r\n url: `/faculty/getFacultyById/` + id,\r\n method: \"GET\",\r\n });\r\n}\r\n\r\nexport function getLabAndDigitalByFacultyId(id) {\r\n return request({\r\n url: `/faculty/getLabAndDigitalByFacultyId/` + id,\r\n method: \"GET\",\r\n });\r\n}\r\n","import axios from \"axios\";\r\n// import { Message } from \"element-ui\";\r\naxios.defaults.withCredentials = true;\r\n\r\n// create an axios instance\r\nconst service = axios.create({\r\n //API\r\n baseURL: \"/api\",\r\n withCredentinpmals: true, // send cookies when cross-domain requests\r\n timeout: 100000, // request timeout\r\n});\r\n\r\n// response interceptor\r\nservice.interceptors.response.use(\r\n /**1、头、request、返回值变化的策略、、todo\r\n * If you want to get http information such as headers or status\r\n * Please return response => response\r\n */\r\n\r\n /**\r\n * 可以通过自定义状态码进行全局的拦截控制,没有约定的话就不做处理\r\n */\r\n (response) => {\r\n const res = response.data;\r\n // console.log(res, \"res requestjs response\");\r\n // if (res.code !== undefined && res.code !== 200 &&res.code !==20000) {\r\n if (res.code === 0) {\r\n // Message({\r\n // message: res.message || \"Error\",\r\n // type: \"error\",\r\n // duration: 3 * 1000,\r\n // });\r\n return;\r\n }\r\n return res;\r\n },\r\n (error) => {\r\n console.log(\"err requestjs err\", error); // for debug\r\n if (error.response.data.length > 1000) {\r\n // Message({\r\n // message: \"服务器出错\",\r\n // type: \"error\",\r\n // duration: 3 * 1000\r\n // });\r\n } else {\r\n // Message({\r\n // message: error.response.data.message,\r\n // type: \"error\",\r\n // duration:3 * 1000\r\n // });\r\n }\r\n\r\n return Promise.reject(error);\r\n }\r\n);\r\n// request interceptor\r\n\r\nservice.interceptors.request.use(function (config) {\r\n let token = window.localStorage.getItem(\"accessToken\");\r\n if (token) {\r\n config.headers.accessToken = token;\r\n return config;\r\n //这里经常搭配token使用,将token值配置到tokenkey中,将tokenkey放在请求头中\r\n // config.headers['accessToken'] = Token;\r\n }\r\n return config;\r\n});\r\n\r\nexport default service;\r\n"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","_v","_s","name","intro","attrs","official_link","logoUrl","_l","lab","i","key","r","id","imgUrl","title","date","substring","active","staticRenderFns","padding","pic","_f","info","model","value","callback","$$v","activity","expression","on","$event","peek","textFilter","str","max_len","length","components","Card","Button","Tag","Rate","filters","props","type","String","default","Number","methods","$router","push","mounted","component","Row","Col","InfoCard","data","pre","labList","init","watch","newId","oldId","initId","$route","params","initDepartment","then","res","initLabList","that","console","log","getImgUrl","name_","getFacultyList","url","method","getFacultyById","getLabAndDigitalByFacultyId","service","baseURL","withCredentinpmals","timeout","interceptors","response","use","code","error","Promise","reject","request","config","token","window","localStorage","getItem","headers","accessToken"],"sourceRoot":""}