Compare commits

...

3 Commits

Author SHA1 Message Date
zoujiandong
b09524e012 111 2025-07-16 17:16:16 +08:00
zoujiandong
9a45c7aa03 111 2025-07-16 16:52:00 +08:00
zoujiandong
c0c1f0716c 111 2025-07-16 16:51:06 +08:00
7 changed files with 34 additions and 23 deletions

View File

@ -20,10 +20,10 @@ const api = {
},
getArticleDetail(id) { //获取详情
return request('/clinical/article/'+id,{}, 'get', false);
return request('/clinical/article/'+id,{}, 'get', true);
},
getVideoDetail(id) { //获取详情
return request('/clinical/video/'+id,{}, 'get', false);
return request('/clinical/video/'+id,{}, 'get', true);
},
collectArticle(id){
return request('/clinical/article/collect/'+id, {}, 'post',false);
@ -105,7 +105,7 @@ const api = {
return request('/exchange/list', data, 'post',true,'application/json');
},
getExchangeDetail(id){
return request('/exchange/'+id,{}, 'get', false);
return request('/exchange/'+id,{}, 'get', true);
},
getExchangeVote(id){
return request('/exchange/vote/'+id,{}, 'get', false);
@ -141,7 +141,7 @@ const api = {
return request('/exchange/draft/search', data, 'post',false,'application/json');
},
saveDraft(data){
return request('/exchange/draft', data, 'post',false,'application/json');
return request('/exchange/draft', data, 'post',true,'application/json');
},
delDraft(id){
return request('/exchange/draft/'+id, {}, 'delete',false);
@ -180,7 +180,7 @@ const api = {
return request('/reward',data,'post',true);
},
h5Login(data){
return request('/login/hcp',data,'post');
return request('/login/hcp',data,'post',true);
},
readRecord(data){
return request('/user/case/read',data,'post',false,'application/json');

View File

@ -2058,6 +2058,7 @@ const readRecord=()=>{
border-radius: 38px;
height: 77rpx;
display: flex;
overflow: hidden;
align-items: center;
.ipt {
@ -2087,19 +2088,20 @@ const readRecord=()=>{
font-size: 38rpx;
color: #111827;
line-height: 54rpx;
margin-bottom: 20rpx;
}
.info {
display: flex;
align-items: center;
margin-top: 20rpx;
padding: 0 30rpx;
font-size: 28rpx;
color: #4b5563;
line-height: 38rpx;
line-height: 28rpx;
:deep(.u-image) {
margin-top: 10rpx;
margin-top: 8rpx;
}
.name {

View File

@ -206,7 +206,7 @@ const labelObj = reactive({
});
const getCaseLabel = (lev,pid=0) => {
api.getCaseLabel({
pid:pid
pId:pid
}).then((res) => {
if (lev == 1) {
labelObj.list1 = res.data.data;
@ -391,7 +391,11 @@ const searchVideo = async(params) => {
let searchForm={
keyword: keyWord.value,
hospital_id:hospital_id.value,
doctor_id:doctor_id.value
doctor_id:doctor_id.value,
label_iden:label_iden.value
}
if(label_iden.value===''){
delete searchForm.label_iden
}
if(isSearch.value){
searchForm.is_need_num=1;

View File

@ -1 +1 @@
{"version":3,"file":"search.js","sources":["../../software/HBuilderX.4.23.2024070804/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvc2VhcmNoL3NlYXJjaC52dWU"],"sourcesContent":["import MiniProgramPage from 'D:/GitWorkPlace/caseDataBase/pages/search/search.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,WAAW,eAAe;"}
{"version":3,"file":"search.js","sources":["../../software/HBuilderX.4.23.2024070804/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvc2VhcmNoL3NlYXJjaC52dWU"],"sourcesContent":["import MiniProgramPage from 'D:/GitWorkPlace/caseDataBase/pages/search/search.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,WAAW,eAAe;"}

View File

@ -17,10 +17,10 @@ const api = {
return utils_request.request("/clinical/stats", data, "get", true);
},
getArticleDetail(id) {
return utils_request.request("/clinical/article/" + id, {}, "get", false);
return utils_request.request("/clinical/article/" + id, {}, "get", true);
},
getVideoDetail(id) {
return utils_request.request("/clinical/video/" + id, {}, "get", false);
return utils_request.request("/clinical/video/" + id, {}, "get", true);
},
collectArticle(id) {
return utils_request.request("/clinical/article/collect/" + id, {}, "post", false);
@ -101,7 +101,7 @@ const api = {
return utils_request.request("/exchange/list", data, "post", true, "application/json");
},
getExchangeDetail(id) {
return utils_request.request("/exchange/" + id, {}, "get", false);
return utils_request.request("/exchange/" + id, {}, "get", true);
},
getExchangeVote(id) {
return utils_request.request("/exchange/vote/" + id, {}, "get", false);
@ -137,7 +137,7 @@ const api = {
return utils_request.request("/exchange/draft/search", data, "post", false, "application/json");
},
saveDraft(data) {
return utils_request.request("/exchange/draft", data, "post", false, "application/json");
return utils_request.request("/exchange/draft", data, "post", true, "application/json");
},
delDraft(id) {
return utils_request.request("/exchange/draft/" + id, {}, "delete", false);
@ -176,7 +176,7 @@ const api = {
return utils_request.request("/reward", data, "post", true);
},
h5Login(data) {
return utils_request.request("/login/hcp", data, "post");
return utils_request.request("/login/hcp", data, "post", true);
},
readRecord(data) {
return utils_request.request("/user/case/read", data, "post", false, "application/json");

View File

@ -434,6 +434,7 @@
border-radius: 38px;
height: 77rpx;
display: flex;
overflow: hidden;
align-items: center;
}
.bottom .iptbox .ipt.data-v-eca06f3c {
@ -460,18 +461,18 @@
font-size: 38rpx;
color: #111827;
line-height: 54rpx;
margin-bottom: 20rpx;
}
.box .info.data-v-eca06f3c {
display: flex;
align-items: center;
margin-top: 20rpx;
padding: 0 30rpx;
font-size: 28rpx;
color: #4b5563;
line-height: 38rpx;
line-height: 28rpx;
}
.box .info.data-v-eca06f3c .u-image {
margin-top: 10rpx;
margin-top: 8rpx;
}
.box .info .name.data-v-eca06f3c {
margin-left: 15rpx;

View File

@ -71,7 +71,7 @@ const _sfc_main = {
});
const getCaseLabel = (lev, pid = 0) => {
api_api.api.getCaseLabel({
pid
pId: pid
}).then((res) => {
if (lev == 1) {
labelObj.list1 = res.data.data;
@ -244,8 +244,12 @@ const _sfc_main = {
let searchForm = {
keyword: keyWord.value,
hospital_id: hospital_id.value,
doctor_id: doctor_id.value
doctor_id: doctor_id.value,
label_iden: label_iden.value
};
if (label_iden.value === "") {
delete searchForm.label_iden;
}
if (isSearch.value) {
searchForm.is_need_num = 1;
}
@ -321,7 +325,7 @@ const _sfc_main = {
});
};
const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/search/search.vue:474", 666666);
common_vendor.index.__f__("log", "at pages/search/search.vue:478", 666666);
const params = {
page: pageNo,
page_size: pageSize