| | |
| | | // 显示多少条职官数据 |
| | | institutionIndex: 4, |
| | | // 机构和职官的类型 取值:OFFICIAL->职官 INSTITUTION->机构 ALL->职官、机构 |
| | | searchType: "ALL", |
| | | classifyType: "ALL", |
| | | // 机构和职官的id |
| | | classifyId: "", |
| | |
| | | getMList(obj) { |
| | | this.pageLoading = true; |
| | | let Obj = { |
| | | medicalSearchType: "ALL", |
| | | medicalSearchType: this.searchType, |
| | | type: this.classifyType, //查询类型 取值:OFFICIAL->职官 INSTITUTION->机构 ALL->职官、机构 |
| | | name: this.SearchValue, //搜索框检索 |
| | | dynastyId: this.classifyId, //点击朝代查询数据时,带上此参数 |
| | |
| | | }, |
| | | // list数组 获取list里面的详情shuju |
| | | ListClick(item) { |
| | | console.log(item,this.searchType); |
| | | let Obj = { |
| | | id: item.dataId, |
| | | type: item.type |
| | | rowId: this.searchType == "ALL" ? item.id : item.rowId, |
| | | medicalSearchType: this.searchType, |
| | | type: this.classifyType, //查询类型 取值:OFFICIAL->职官 INSTITUTION->机构 ALL->职官、机构 |
| | | name: this.SearchValue, //搜索框检索 |
| | | dynastyId: this.classifyId, //点击朝代查询数据时,带上此参数 |
| | | sort: this.rankVal, //排序方式 取值:CREATE创建时间,NAME名称 |
| | | }; |
| | | getMedicalDetails(Obj).then((res) => { |
| | | this.ListDetails = { |
| | | ...item, |
| | | ...res.object |
| | | ...res.object.curr |
| | | }; |
| | | }); |
| | | this.dialogVisible = !this.dialogVisible; |