Compare commits
3 Commits
7c31a17146
...
b09524e012
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b09524e012 | ||
|
|
9a45c7aa03 | ||
|
|
c0c1f0716c |
10
api/api.js
10
api/api.js
@ -20,10 +20,10 @@ const api = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getArticleDetail(id) { //获取详情
|
getArticleDetail(id) { //获取详情
|
||||||
return request('/clinical/article/'+id,{}, 'get', false);
|
return request('/clinical/article/'+id,{}, 'get', true);
|
||||||
},
|
},
|
||||||
getVideoDetail(id) { //获取详情
|
getVideoDetail(id) { //获取详情
|
||||||
return request('/clinical/video/'+id,{}, 'get', false);
|
return request('/clinical/video/'+id,{}, 'get', true);
|
||||||
},
|
},
|
||||||
collectArticle(id){
|
collectArticle(id){
|
||||||
return request('/clinical/article/collect/'+id, {}, 'post',false);
|
return request('/clinical/article/collect/'+id, {}, 'post',false);
|
||||||
@ -105,7 +105,7 @@ const api = {
|
|||||||
return request('/exchange/list', data, 'post',true,'application/json');
|
return request('/exchange/list', data, 'post',true,'application/json');
|
||||||
},
|
},
|
||||||
getExchangeDetail(id){
|
getExchangeDetail(id){
|
||||||
return request('/exchange/'+id,{}, 'get', false);
|
return request('/exchange/'+id,{}, 'get', true);
|
||||||
},
|
},
|
||||||
getExchangeVote(id){
|
getExchangeVote(id){
|
||||||
return request('/exchange/vote/'+id,{}, 'get', false);
|
return request('/exchange/vote/'+id,{}, 'get', false);
|
||||||
@ -141,7 +141,7 @@ const api = {
|
|||||||
return request('/exchange/draft/search', data, 'post',false,'application/json');
|
return request('/exchange/draft/search', data, 'post',false,'application/json');
|
||||||
},
|
},
|
||||||
saveDraft(data){
|
saveDraft(data){
|
||||||
return request('/exchange/draft', data, 'post',false,'application/json');
|
return request('/exchange/draft', data, 'post',true,'application/json');
|
||||||
},
|
},
|
||||||
delDraft(id){
|
delDraft(id){
|
||||||
return request('/exchange/draft/'+id, {}, 'delete',false);
|
return request('/exchange/draft/'+id, {}, 'delete',false);
|
||||||
@ -180,7 +180,7 @@ const api = {
|
|||||||
return request('/reward',data,'post',true);
|
return request('/reward',data,'post',true);
|
||||||
},
|
},
|
||||||
h5Login(data){
|
h5Login(data){
|
||||||
return request('/login/hcp',data,'post');
|
return request('/login/hcp',data,'post',true);
|
||||||
},
|
},
|
||||||
readRecord(data){
|
readRecord(data){
|
||||||
return request('/user/case/read',data,'post',false,'application/json');
|
return request('/user/case/read',data,'post',false,'application/json');
|
||||||
|
|||||||
@ -2058,6 +2058,7 @@ const readRecord=()=>{
|
|||||||
border-radius: 38px;
|
border-radius: 38px;
|
||||||
height: 77rpx;
|
height: 77rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
overflow: hidden;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.ipt {
|
.ipt {
|
||||||
@ -2087,19 +2088,20 @@ const readRecord=()=>{
|
|||||||
font-size: 38rpx;
|
font-size: 38rpx;
|
||||||
color: #111827;
|
color: #111827;
|
||||||
line-height: 54rpx;
|
line-height: 54rpx;
|
||||||
|
margin-bottom: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info {
|
.info {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 20rpx;
|
|
||||||
padding: 0 30rpx;
|
padding: 0 30rpx;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #4b5563;
|
color: #4b5563;
|
||||||
line-height: 38rpx;
|
line-height: 28rpx;
|
||||||
|
|
||||||
:deep(.u-image) {
|
:deep(.u-image) {
|
||||||
margin-top: 10rpx;
|
margin-top: 8rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
|
|||||||
@ -206,7 +206,7 @@ const labelObj = reactive({
|
|||||||
});
|
});
|
||||||
const getCaseLabel = (lev,pid=0) => {
|
const getCaseLabel = (lev,pid=0) => {
|
||||||
api.getCaseLabel({
|
api.getCaseLabel({
|
||||||
pid:pid
|
pId:pid
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (lev == 1) {
|
if (lev == 1) {
|
||||||
labelObj.list1 = res.data.data;
|
labelObj.list1 = res.data.data;
|
||||||
@ -391,7 +391,11 @@ const searchVideo = async(params) => {
|
|||||||
let searchForm={
|
let searchForm={
|
||||||
keyword: keyWord.value,
|
keyword: keyWord.value,
|
||||||
hospital_id:hospital_id.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){
|
if(isSearch.value){
|
||||||
searchForm.is_need_num=1;
|
searchForm.is_need_num=1;
|
||||||
|
|||||||
@ -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;"}
|
||||||
10
unpackage/dist/dev/mp-weixin/api/api.js
vendored
10
unpackage/dist/dev/mp-weixin/api/api.js
vendored
@ -17,10 +17,10 @@ const api = {
|
|||||||
return utils_request.request("/clinical/stats", data, "get", true);
|
return utils_request.request("/clinical/stats", data, "get", true);
|
||||||
},
|
},
|
||||||
getArticleDetail(id) {
|
getArticleDetail(id) {
|
||||||
return utils_request.request("/clinical/article/" + id, {}, "get", false);
|
return utils_request.request("/clinical/article/" + id, {}, "get", true);
|
||||||
},
|
},
|
||||||
getVideoDetail(id) {
|
getVideoDetail(id) {
|
||||||
return utils_request.request("/clinical/video/" + id, {}, "get", false);
|
return utils_request.request("/clinical/video/" + id, {}, "get", true);
|
||||||
},
|
},
|
||||||
collectArticle(id) {
|
collectArticle(id) {
|
||||||
return utils_request.request("/clinical/article/collect/" + id, {}, "post", false);
|
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");
|
return utils_request.request("/exchange/list", data, "post", true, "application/json");
|
||||||
},
|
},
|
||||||
getExchangeDetail(id) {
|
getExchangeDetail(id) {
|
||||||
return utils_request.request("/exchange/" + id, {}, "get", false);
|
return utils_request.request("/exchange/" + id, {}, "get", true);
|
||||||
},
|
},
|
||||||
getExchangeVote(id) {
|
getExchangeVote(id) {
|
||||||
return utils_request.request("/exchange/vote/" + id, {}, "get", false);
|
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");
|
return utils_request.request("/exchange/draft/search", data, "post", false, "application/json");
|
||||||
},
|
},
|
||||||
saveDraft(data) {
|
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) {
|
delDraft(id) {
|
||||||
return utils_request.request("/exchange/draft/" + id, {}, "delete", false);
|
return utils_request.request("/exchange/draft/" + id, {}, "delete", false);
|
||||||
@ -176,7 +176,7 @@ const api = {
|
|||||||
return utils_request.request("/reward", data, "post", true);
|
return utils_request.request("/reward", data, "post", true);
|
||||||
},
|
},
|
||||||
h5Login(data) {
|
h5Login(data) {
|
||||||
return utils_request.request("/login/hcp", data, "post");
|
return utils_request.request("/login/hcp", data, "post", true);
|
||||||
},
|
},
|
||||||
readRecord(data) {
|
readRecord(data) {
|
||||||
return utils_request.request("/user/case/read", data, "post", false, "application/json");
|
return utils_request.request("/user/case/read", data, "post", false, "application/json");
|
||||||
|
|||||||
@ -434,6 +434,7 @@
|
|||||||
border-radius: 38px;
|
border-radius: 38px;
|
||||||
height: 77rpx;
|
height: 77rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
overflow: hidden;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.bottom .iptbox .ipt.data-v-eca06f3c {
|
.bottom .iptbox .ipt.data-v-eca06f3c {
|
||||||
@ -460,18 +461,18 @@
|
|||||||
font-size: 38rpx;
|
font-size: 38rpx;
|
||||||
color: #111827;
|
color: #111827;
|
||||||
line-height: 54rpx;
|
line-height: 54rpx;
|
||||||
|
margin-bottom: 20rpx;
|
||||||
}
|
}
|
||||||
.box .info.data-v-eca06f3c {
|
.box .info.data-v-eca06f3c {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 20rpx;
|
|
||||||
padding: 0 30rpx;
|
padding: 0 30rpx;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #4b5563;
|
color: #4b5563;
|
||||||
line-height: 38rpx;
|
line-height: 28rpx;
|
||||||
}
|
}
|
||||||
.box .info.data-v-eca06f3c .u-image {
|
.box .info.data-v-eca06f3c .u-image {
|
||||||
margin-top: 10rpx;
|
margin-top: 8rpx;
|
||||||
}
|
}
|
||||||
.box .info .name.data-v-eca06f3c {
|
.box .info .name.data-v-eca06f3c {
|
||||||
margin-left: 15rpx;
|
margin-left: 15rpx;
|
||||||
|
|||||||
@ -71,7 +71,7 @@ const _sfc_main = {
|
|||||||
});
|
});
|
||||||
const getCaseLabel = (lev, pid = 0) => {
|
const getCaseLabel = (lev, pid = 0) => {
|
||||||
api_api.api.getCaseLabel({
|
api_api.api.getCaseLabel({
|
||||||
pid
|
pId: pid
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (lev == 1) {
|
if (lev == 1) {
|
||||||
labelObj.list1 = res.data.data;
|
labelObj.list1 = res.data.data;
|
||||||
@ -244,8 +244,12 @@ const _sfc_main = {
|
|||||||
let searchForm = {
|
let searchForm = {
|
||||||
keyword: keyWord.value,
|
keyword: keyWord.value,
|
||||||
hospital_id: hospital_id.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) {
|
if (isSearch.value) {
|
||||||
searchForm.is_need_num = 1;
|
searchForm.is_need_num = 1;
|
||||||
}
|
}
|
||||||
@ -321,7 +325,7 @@ const _sfc_main = {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
const queryList = (pageNo, pageSize) => {
|
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 = {
|
const params = {
|
||||||
page: pageNo,
|
page: pageNo,
|
||||||
page_size: pageSize
|
page_size: pageSize
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user