| | |
| | | <template> |
| | | <view> |
| | | <!-- 顶部 --> |
| | | <headNav idIndex="0" text="中国医学人物知识库" /> |
| | | <headNav idIndex="0" text="中国历代医学人物知识库" /> |
| | | <!-- 搜索 --> |
| | | <view class="flex flex-center Search"> |
| | | <!-- <luanqing-search class="search_bar" @onSearch="onSearch"></luanqing-search> --> |
| | | <advancedSearch |
| | | @onSearch="onSearch" |
| | | placehold="输入姓名/别名/朝代/传主职业搜索" |
| | | placehold="输入姓名/别名/时期/传主职业搜索" |
| | | :isAvancedTrue="false" |
| | | :keyword="keywords" |
| | | /> |
| | |
| | | label="性别" |
| | | width="70" |
| | | ></el-table-column> |
| | | <el-table-column prop="period" label="时代"></el-table-column> |
| | | <el-table-column prop="period" label="时期"></el-table-column> |
| | | <el-table-column |
| | | prop="birthYear" |
| | | label="生年" |
| | |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | type: "input", |
| | | label: "职官", |
| | | name: "official", |
| | | value: "" |
| | | }, |
| | | // { |
| | | // type: "input", |
| | | // label: "职官", |
| | | // name: "official", |
| | | // value: "" |
| | | // }, |
| | | { |
| | | type: "select", |
| | | label: "性别", |
| | |
| | | }, |
| | | { |
| | | type: "input", |
| | | label: "时间", |
| | | label: "时期", |
| | | name: "dynasty", |
| | | value: "" |
| | | }, |
| | | { |
| | | type: "select", |
| | | label: "机构", |
| | | name: "institution", |
| | | options: [] |
| | | } |
| | | // { |
| | | // type: "select", |
| | | // label: "机构", |
| | | // name: "institution", |
| | | // options: [] |
| | | // } |
| | | ] |
| | | }, |
| | | |
| | |
| | | activeBox: null, |
| | | // 时期 |
| | | dynasty: { |
| | | title: "时代", |
| | | title: "时期", |
| | | id: "", |
| | | index: "", |
| | | list: [] |
| | |
| | | CurrentChange(val) { |
| | | if (this.CurrentPage != val) { |
| | | this.CurrentPage = val; |
| | | this.onSearch(""); |
| | | this.onSearch({ text: this.keywords }); |
| | | } |
| | | }, |
| | | // 上一页 |
| | | PrevClick(val) { |
| | | if (this.CurrentPage != val) { |
| | | this.CurrentPage = val; |
| | | this.onSearch(""); |
| | | this.onSearch({ text: this.keywords }); |
| | | } |
| | | }, |
| | | // 下一页 |
| | | NextClick(val) { |
| | | if (this.CurrentPage != val) { |
| | | this.CurrentPage = val; |
| | | this.onSearch(""); |
| | | this.onSearch({ text: this.keywords }); |
| | | } |
| | | } |
| | | } |