| | |
| | | }); |
| | | }; |
| | | |
| | | // 学术流派 |
| | | // 学术图谱 |
| | | export const getDynastyStatistics = () => { |
| | | return req1({ |
| | | url: "/school/dynasty/statistics", |
| | |
| | | }); |
| | | }; |
| | | |
| | | // 查询人物学术流派 |
| | | // 查询人物学术图谱 |
| | | export const getSchoolInfo = (id) => { |
| | | return req1({ |
| | | url: "/person/chain/search/school?schoolId=" + id + "&maxStep=3", |
| | |
| | | <span slot="title">家学传承</span> |
| | | </el-menu-item> |
| | | <el-menu-item index="6"> |
| | | <span slot="title">学术流派</span> |
| | | <span slot="title">学术图谱</span> |
| | | </el-menu-item> |
| | | <el-menu-item index="3"> |
| | | <span slot="title">学术图谱</span> |
| | | <span slot="title">学术流派</span> |
| | | </el-menu-item> |
| | | <el-menu-item index="4"> |
| | | <span slot="title">地域图谱</span> |
| | |
| | | id: 2 |
| | | }, |
| | | { |
| | | name: "学术流派", |
| | | name: "学术图谱", |
| | | id: 6 |
| | | }, |
| | | { |
| | | name: "学术图谱", |
| | | name: "学术流派", |
| | | id: 3 |
| | | }, |
| | | { |
| | |
| | | id: 2 |
| | | }, |
| | | { |
| | | name: "学术流派", |
| | | name: "学术图谱", |
| | | id: 6 |
| | | }, |
| | | { |
| | | name: "学术图谱", |
| | | name: "学术流派", |
| | | id: 3 |
| | | }, |
| | | { |
| | |
| | | style="width: 100%; height: 100%; display: flex; flex-direction: column" |
| | | > |
| | | <!-- 顶部导航 --> |
| | | <headNav :idIndex="3 + ''" text="学术图谱" /> |
| | | <headNav :idIndex="3 + ''" text="学术流派" /> |
| | | <view class="Midde flex"> |
| | | <!-- <view class="MiddeBack">返回</view> --> |
| | | <el-button class="MiddeBack flex flex-center" @click="goBack" |
| | |
| | | <template> |
| | | <view class="bag"> |
| | | <!-- 顶部导航 --> |
| | | <headNav idIndex="3" text="学术图谱" /> |
| | | <headNav idIndex="3" text="学术流派" /> |
| | | <view class="Midde flex"> |
| | | <!-- <view class="MiddeBack">返回</view> --> |
| | | <el-button class="MiddeBack flex flex-center" @click="goBack" |
| | |
| | | <template> |
| | | <view style="width: 100%;height: 100%;display: flex;flex-direction: column;"> |
| | | <!-- 顶部导航 --> |
| | | <headNav :idIndex="idIndex" text="学术图谱" /> |
| | | <headNav :idIndex="idIndex" text="学术流派" /> |
| | | <view id="line-chart" style="flex: 1;overflow: hidden;padding: 50px;"></view> |
| | | </view> |
| | | </template> |
| | |
| | | <view |
| | | style="width: 100%; height: 100%; display: flex; flex-direction: column" |
| | | > |
| | | <headNav :idIndex="'6'" text="学术流派" /> |
| | | <headNav :idIndex="'6'" text="学术图谱" /> |
| | | <!-- 高级搜索 --> |
| | | <view |
| | | style=" |
| | |
| | | } |
| | | " |
| | | ></i> |
| | | <el-table :data="personList" style="width: 100%"> |
| | | <el-table :data="personList" style="width: 100%" :max-height="600"> |
| | | <el-table-column prop="name" label="姓名"> |
| | | <template slot-scope="scope"> |
| | | <span |
| | |
| | | name: "活动地" |
| | | }, |
| | | { |
| | | name: "学术流派" |
| | | name: "学术图谱" |
| | | } |
| | | ], |
| | | // 当前人物信息 |
| | |
| | | // place = [...newArr]; |
| | | // } |
| | | // if (obj.schoolList?.length) { |
| | | // this.categories.push({ name: "学术流派" }); |
| | | // this.categories.push({ name: "学术图谱" }); |
| | | // let newArr = []; |
| | | // const data = this.changeLiterature(obj.schoolList, "schoolList"); |
| | | // this.getPersonInfo( |
| | |
| | | if (item.placeList && item.placeList.length) { |
| | | this.handleData(item.placeList, { ...item, thisType: 3 }); |
| | | } |
| | | // 学术流派 |
| | | // 学术图谱 |
| | | if (item.schoolList && item.schoolList.length) { |
| | | this.handleData(item.schoolList, { ...item, thisType: 4 }); |
| | | } |
| | |
| | | searchPerson(key) { |
| | | academicSearch({ |
| | | keyword: key, |
| | | page: this.personPageInfo.page, |
| | | pageSize: this.personPageInfo.limit |
| | | page: 1, |
| | | pageSize: 999 |
| | | }).then((res) => { |
| | | this.personList = res.list.map((item) => { |
| | | return { |
| | |
| | | id: 2 |
| | | }, |
| | | { |
| | | name: "学术流派", |
| | | name: "学术图谱", |
| | | id: 6 |
| | | }, |
| | | { |
| | | name: "学术图谱", |
| | | name: "学术流派", |
| | | id: 3 |
| | | }, |
| | | { |
| | |
| | | id: 2, |
| | | }, |
| | | { |
| | | name: "学术流派", |
| | | name: "学术图谱", |
| | | id: 6, |
| | | }, |
| | | { |
| | | name: "学术图谱", |
| | | name: "学术流派", |
| | | id: 3, |
| | | }, |
| | | { |