Commit 2ebfed63 by hanpeng

Revert "-mark- 治疗方式页面交互;我的一生"

This reverts commit 3e330abe.
parent 3e330abe
define(['zepto','medtap'],function($,medtap){
var doctor = {
init:function(){
},
getDoctorList:function(){
},
getToken:function(){
}
}
})
\ No newline at end of file
define(['zepto','medtap'],function($,medtap){
var rukou = {
wechatId:medtap.getRequest('wechatId'),
init:function(){
rukou.getToken()
},
checkUser:function(){
medtap.loading(1);
medtap.submitAjax({
url:'https://testdevgw.medtap.cn/wechat/user/getWechatUser',
type:'GET',
async: false,
data:{
wechatId:rukou.wechatId
},
success:function(res){
medtap.loading(0);
var info = res.content.wechatUser;
if(info.hasOwnProperty('userId')){
//medtap.pushWindow('index.html?wechatId=' + rukou.wechatId)
window.location.replace('index.html?wechatId=' + rukou.wechatId)
}else{
window.location.replace('https://review-formal.iplusmed.com/wechatForLungCancer/dev/wechat_lung_login/login.html?wechatId=' + rukou.wechatId)
}
}
})
},
getToken:function(){
localStorage.wxLungToken = '';
medtap.loading(1);
medtap.submitAjax({
url: 'https://testdevgw.medtap.cn/user/auth/token',
type: 'POST',
async: false,
contentType: 'application/json',
data: {
wechatId: rukou.wechatId
},
success: function(res) {
medtap.loading(0);
if (res.success == true) {
var token = res.content.token;
localStorage.setItem('wxLungToken', token);
rukou.checkUser();
} else {
}
},
error: function(res) {
console.log(res.resultDesc);
}
})
}
}
rukou.init();
})
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<meta content="email=no" name="format-detection">
<link rel="stylesheet" type="text/css" href="https://review-formal.iplusmed.com/Common/css/wechat_Reset.min.css" />
<script src="https://review-formal.iplusmed.com/Common/javaScript/calRem.js" type="text/javascript" charset="utf-8"></script>
<title>我的医生</title>
<script src="https://review-formal.iplusmed.com/Common/javaScript/require.min.js"></script>
<script type="text/javascript">
require.config({
baseUrl: "./",
paths: {
"zepto": "https://review-formal.iplusmed.com/Common/javaScript/zepto.min",
"medtap": "https://review-formal.iplusmed.com/Common/javaScript/medtap_core_wx",
"md5": "https://review-formal.iplusmed.com/Common/javaScript/md5.min"
},
shim: {
"zepto": {
exports: "$"
}
}
});
</script>
</head>
<body>
<div id="content">
<div class="doctor_list">
<div class="doctor_item">
<img src="../images/post_title_bg@2x.png" class="doctor_profile">
<div class="doctor_info">
<span class="doctor_name">刘怎容</span>
<span class="doctor_title">主任医师</span>
<span class="attention_status">互相关注</span>
<p class="doctor_hospital">哈尔滨医科大学附属肿瘤医院 肿瘤内科</p>
</div>
</div>
</div>
</div>
</body>
<script type="text/javascript">
require(['../javaScript/myDoctor.js'])
</script>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>加载中...</title>
<script src="https://review-formal.iplusmed.com/Common/javaScript/require.min.js"></script>
<script type="text/javascript">
require.config({
baseUrl: "./",
paths: {
"zepto": "https://review-formal.iplusmed.com/Common/javaScript/zepto.min",
"medtap": "https://review-formal.iplusmed.com/Common/javaScript/medtap_core_wx",
"md5": "https://review-formal.iplusmed.com/Common/javaScript/md5.min"
},
shim: {
"zepto": {
exports: "$"
}
}
});
</script>
</head>
<body>
</body>
<script type="text/javascript">
require(['javaScript/rukou.js'])
</script>
</html>
......@@ -44,7 +44,7 @@
</div>
<div class="input_item clearfix">
<div class="input_item_title">当前正在接受的治疗</div>
<div class="input_item_info treatWay_btn">
<div class="input_item_info">
<span class="input_content">请选择</span>
<img src="../images/_arrows _right@2x.png" class="arrow_icon">
</div>
......@@ -60,7 +60,7 @@
<img src="../images/post_ picture_btn@2x.png" >
</div>
<div class="image_files clearfix" id="ImgUp">
<!-- <div class="image_files_item">
<div class="image_files_item">
<img src="../images/post_title_bg@2x.png" class="image_files_img">
<img src="../images/post_delete_btn@2x.png" class="image_del" >
</div>
......@@ -95,7 +95,7 @@
<div class="image_files_item">
<img src="../images/post_title_bg@2x.png" class="image_files_img">
<img src="../images/post_delete_btn@2x.png" class="image_del" >
</div> -->
</div>
</div>
</div>
</div>
......@@ -139,188 +139,6 @@
<div class="content_mod">
</div>
<div class="content_2">
<div class="select_warp">
<span class="select_title">治疗项目(多选)</span>
<span class="select_item has select"></span>
<span class="select_item no"></span>
</div>
<div class="common_btn">
<div class="select_btn_list">
<div class="select_btn clearfix">
<div class="btn_name">化疗</div>
<div class="btn_icon">
</div>
</div>
<div class="select_btn clearfix">
<div class="btn_name">手术</div>
<div class="btn_icon">
</div>
</div>
<div class="select_btn clearfix">
<div class="btn_name">放疗</div>
<div class="btn_icon">
</div>
</div>
<div class="select_btn clearfix">
<div class="btn_name">PD-1/PD-L1</div>
<div class="btn_icon">
</div>
</div>
<div class="select_btn clearfix">
<div class="btn_name">中药治疗</div>
<div class="btn_icon">
</div>
</div>
</div>
<div class="more_way_list">
<div class="more_way_title">靶向治疗</div>
<div class="more_way_item_header clearfix">
<div class="green_line"></div>
<div class="more_way_item_name">EGFR突变</div>
</div>
<div class="more_way_item_header_title">一代</div>
<div class="more_way_item_btn">
<span class="more_way_btn btnOn">易瑞沙(吉非替尼片)</span>
<span class="more_way_btn rl">特罗凯(厄洛替尼片)</span>
<span class="more_way_btn">凯美纳(埃克替尼片)</span>
<span class="more_way_btn rl">伊瑞可(国产吉非替尼片)</span>
<span class="more_way_btn">其他</span>
</div>
<div class="more_way_item_header_title mr_3">二代</div>
<div class="more_way_item_btn">
<span class="more_way_btn btnOn">吉泰瑞(阿法替尼)</span>
<span class="more_way_btn rl">其他</span>
</div>
<div class="more_way_item_header_title mr_3">三代</div>
<div class="more_way_item_btn">
<span class="more_way_btn btnOn">泰瑞沙(奥希替尼片)</span>
<span class="more_way_btn rl">其他</span>
</div>
<div class="more_way_item_header clearfix db">
<div class="green_line"></div>
<div class="more_way_item_name">ALK突变</div>
</div>
<div class="more_way_item_header_title"></div>
<div class="more_way_item_btn">
<span class="more_way_btn btnOn">赛可瑞(克唑替尼)</span>
<span class="more_way_btn rl">赛可瑞(克唑替尼)</span>
<span class="more_way_btn">安圣莎(阿来替尼)</span>
<span class="more_way_btn rl">其他</span>
</div>
<div class="more_way_item_header clearfix db">
<div class="green_line"></div>
<div class="more_way_item_name">VEGFR</div>
</div>
<div class="more_way_item_header_title"></div>
<div class="more_way_item_btn">
<span class="more_way_btn btnOn">福可维(安罗替尼)</span>
<span class="more_way_btn rl">艾坦(阿帕替尼)</span>
<span class="more_way_btn">安维汀(贝伐单抗)</span>
<span class="more_way_btn rl">其他</span>
</div>
</div>
<div class="select_btn clearfix" style="margin-top:0.2rem;">
<div class="btn_name">其他</div>
<div class="btn_icon">
</div>
</div>
</div>
<div class="footer_btn_02" id="treat_confirm">
确定
</div>
</div>
<div class="content_3">
<div class="select_warp">
<span class="select_title">治疗项目(多选)</span>
<span class="select_item has select"></span>
<span class="select_item no"></span>
</div>
<div class="common_btn">
<div class="select_btn_list">
<div class="select_btn clearfix">
<div class="btn_name">化疗</div>
<div class="btn_icon">
</div>
</div>
<div class="select_btn clearfix">
<div class="btn_name">手术</div>
<div class="btn_icon">
</div>
</div>
<div class="select_btn clearfix">
<div class="btn_name">放疗</div>
<div class="btn_icon">
</div>
</div>
<div class="select_btn clearfix">
<div class="btn_name">PD-1/PD-L1</div>
<div class="btn_icon">
</div>
</div>
<div class="select_btn clearfix">
<div class="btn_name">中药治疗</div>
<div class="btn_icon">
</div>
</div>
</div>
<div class="more_way_list">
<div class="more_way_title">靶向治疗</div>
<div class="more_way_item_header clearfix">
<div class="green_line"></div>
<div class="more_way_item_name">EGFR突变</div>
</div>
<div class="more_way_item_header_title">一代</div>
<div class="more_way_item_btn">
<span class="more_way_btn btnOn">易瑞沙(吉非替尼片)</span>
<span class="more_way_btn rl">特罗凯(厄洛替尼片)</span>
<span class="more_way_btn">凯美纳(埃克替尼片)</span>
<span class="more_way_btn rl">伊瑞可(国产吉非替尼片)</span>
<span class="more_way_btn">其他</span>
</div>
<div class="more_way_item_header_title mr_3">二代</div>
<div class="more_way_item_btn">
<span class="more_way_btn btnOn">吉泰瑞(阿法替尼)</span>
<span class="more_way_btn rl">其他</span>
</div>
<div class="more_way_item_header_title mr_3">三代</div>
<div class="more_way_item_btn">
<span class="more_way_btn btnOn">泰瑞沙(奥希替尼片)</span>
<span class="more_way_btn rl">其他</span>
</div>
<div class="more_way_item_header clearfix db">
<div class="green_line"></div>
<div class="more_way_item_name">ALK突变</div>
</div>
<div class="more_way_item_header_title"></div>
<div class="more_way_item_btn">
<span class="more_way_btn btnOn">赛可瑞(克唑替尼)</span>
<span class="more_way_btn rl">赛可瑞(克唑替尼)</span>
<span class="more_way_btn">安圣莎(阿来替尼)</span>
<span class="more_way_btn rl">其他</span>
</div>
<div class="more_way_item_header clearfix db">
<div class="green_line"></div>
<div class="more_way_item_name">VEGFR</div>
</div>
<div class="more_way_item_header_title"></div>
<div class="more_way_item_btn">
<span class="more_way_btn btnOn">福可维(安罗替尼)</span>
<span class="more_way_btn rl">艾坦(阿帕替尼)</span>
<span class="more_way_btn">安维汀(贝伐单抗)</span>
<span class="more_way_btn rl">其他</span>
</div>
</div>
<div class="select_btn clearfix" style="margin-top:0.2rem;">
<div class="btn_name">其他</div>
<div class="btn_icon">
</div>
</div>
</div>
<div class="footer_btn_03" id="treat_confirm_history">
确定
</div>
</div>
</body>
<script type="text/javascript">
require(['../javaScript/createTreatmentInfo.js'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment