作者 刘晓艳

测试

... ... @@ -53,7 +53,6 @@ class FriendsController extends WeChatBaseController
foreach ($article as $k=>$v){
$article[$k]['pic']=cmf_get_image_url(json_decode($v['amore'],true)['thumbnail']);
}
dump($article);
$this->assign('info',$info);
$this->assign('group',$group);
$this->assign('article',$article);
... ...
<?php
/**
* Created by PhpStorm.
* auther: sgj
* Date: 2019/1/6
* Time: 14:45
*/
namespace app\user\controller;
use cmf\controller\WeChatBaseController;
class ExpertController extends WeChatBaseController
{
public function inquiryAnswer(){
return $this->fetch();
}
public function transferAnswer(){
return $this->fetch();
}
public function engageAnswer(){
return $this->fetch();
}
public function inquiryDetail(){
return $this->fetch();
}
}
\ No newline at end of file
... ...
... ... @@ -174,6 +174,13 @@ class IndexController extends HomeBaseController
public function index(){
$user=$this->UserModel->getMyself()->toArray();
$message=$this->UserModel->userMessage()->toArray();
/*收货地址sdk*/
$config=config('wechat_config');
$Wechat=new Application($config);
$js = $Wechat->js;
$api[]='openAddress';
// $sdk=$js->config($api, true);
// $this->assign('sdk',$sdk);
$message_count=count($message);
$this->assign('user',$user);
$this->assign('message_count',$message_count);
... ... @@ -274,7 +281,7 @@ class IndexController extends HomeBaseController
return $this->fetch();
}
public function myAdress(){
public function myAddress(){
return $this->fetch();
}
... ... @@ -361,7 +368,13 @@ class IndexController extends HomeBaseController
return $this->fetch();
}
/**
* 我要问诊页面
* @return mixed
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public function inquiry(){
$Hospital= new HospitalModel();
$config=config('wechat_config');
... ... @@ -390,6 +403,95 @@ class IndexController extends HomeBaseController
return $this->fetch();
}
public function inqueryPost(){
$data=input();
$insert['user_id']=cmf_get_current_user_id();
$insert['expert_id']=$data['expert_id'];
//病人主诉判断是音频还是文字
$insert['patient']=$this->getSaveContent($data,'patient');
//
}
public function getSaveContent($input,$name){
dump($input[$name]);
$return['type']=$this->checkType($input[$name]);
dump($return['type']);
if ($return['type']=='voice'){
// / $img_str = rtrim($input, ',');
$return['content']=explode(',',$input['patient']);
dump($return['content']);
foreach ($return['content'] as $k=>$v) {
$dir[$k]=$this->saveWxVocie($v);
dump($dir);
}
dump(json_encode($return));
}
}
/**
* 获取微信语音到本地
* @param $audioID
*/
public function saveWxVocie($mediaId){
$config=config('wechat_config');
$Wechat=new Application($config);
$temporary = $Wechat->material_temporary;
$dir=ROOT_PATH.'public/'.'upload/inquery'.'/';
$name=date('YmdHis',time()).rand(1000,9999).'.jpg';
$data=$temporary->download($mediaId,"$dir", "$name");
return $data;
}
/**
* @return mixed
* @throws \EasyWeChat\Core\Exceptions\InvalidArgumentException
*/
public function upload_wx_pic_mul($mediaId)
{
$config=config('wechat_config');
$Wechat=new Application($config);
// $js = $Wechat->js;
// $access_token = $js->getAccessToken();
// $img_str = $this->request->param('media', '');
// $img_str = rtrim($img_str, ',');
// $img_arr = explode(',', $img_str);
$temporary = $Wechat->material_temporary;
$dir=ROOT_PATH.'public/'.'upload/friend'.'/';
$name=date('YmdHis',time()).rand(1000,9999).'.jpg';
$data=$temporary->download($mediaId,"$dir", "$name");
return $data;
}
/**
* 判断类型
* @param $input
* @return string
*/
public function checkType($input){
$isin=strstr($input,'wxLocalResource');
if($isin==false){
return 'text';
}else{
return 'voice';
}
}
/**
* 我要转诊
*/
public function transfer(){
return $this->fetch();
}
/**
* 我要进修
*/
public function engage(){
return $this->fetch();
}
/**
* 通过平台获取专家
* @throws \think\db\exception\DataNotFoundException
... ... @@ -404,4 +506,6 @@ class IndexController extends HomeBaseController
$this->success('','',$export);
}
}
... ...
... ... @@ -125,6 +125,7 @@
<div class="content_box" hidden ">
<div>
<volist name="article" id="v1">
<a href="{:url('portal/article/index',['id'=>$v1.id])}">
<div class="item_box circle">
<div>
<img src="{$v1.pic}" alt="">
... ... @@ -132,11 +133,12 @@
<div>
<div class="item_title">{$v1.post_title}</div>
<div class="item_content">
{:getDescirpe($vo.post_content,0,10)}...
{:getDescirpe(getSaveContent($v1.post_content),0,50)}...
</div>
<div>{:date('Y.m.d',$vo.create_time)}</div>
<div>{:date('Y.m.d',$v1.create_time)}</div>
</div>
</div>
</a>
</volist>
... ... @@ -170,9 +172,7 @@
$('.collect_box').click(function () {
window.location.href='{:url('addTalk',['gid'=>$group.id])}'
})
$('.circle').click(function () {
window.location.href='../circle/articleDetail.html'
})
$('.icon-xin3').click(function () {
var id= $(this).attr('data-id');
$.ajax({
... ...
... ... @@ -601,10 +601,127 @@
});
});
//上传图片
$('.addpic').on('click', function (res) {
console.log(11111);
var length = $('.length').length;
if (length >= 9) {
alert('不能上传了')
$('#addpic').hide();
return false;
}
wx.chooseImage({
count: 9 - length, // 默认9
sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有
sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有
success: function (res) {
console.log(res.localIds);
console.log(1111111111);
for (var i = 0; i < res.localIds.length; i++) {
// $('.addpic').before('<img style="width:100px;height:100px;" class="length" src="'+res.localIds[i]+'"/>')
$('.addpic').before('<li class="weui-uploader__file length" src="' + res.localIds[i] + '" style="background-image:url(' + res.localIds[i] + ')"></li>')
}
uploadImages(res.localIds)// 返回选定照片的本地ID列表,localId可以作为img标签的src属性显示图片
}
});
})
function uploadImages(localIds) {
var localId = localIds.pop();
wx.uploadImage({
localId: localId,
isShowProgressTips: 1,
success: function (res) {
var serverId = res.serverId; // 返回图片的服务器端ID
console.log(serverId);
serverIds += serverId + ',';
if (localIds.length > 0) {
uploadImages(localIds);
}
},
fail: function (res) {
$modal.toast(JSON.stringify(res));
}
});
}
//提交按钮
// $('.submit').click(function () {
// $('.box').show().delay(2000).hide(2)
// })
$('.submit').click(function () {
/*获取疾病分类*/
var ill_id=$('.inquiry_value').data('data-id');
if(!ill_id){
alert('疾病分类不能为空!')
return;
}
/*获取问诊专家*/
var expert_id=$('.expert_value').data('data-id');
if(!expert_id){
alert('问诊专家不能为空!')
}
/*获取病人主诉*/
/*判断发送类型*/
var display1=$('.voice_btn').css('display');
if (display1=='none'){
var tell='';
$('#voice_module1').children('.voice_list').children('.voice_third').each(function () {
/*拼接信息*/
var voiceId1=$(this).attr('data-try');
if (voiceId1!=undefined){
if (tell==''){
tell=voiceId1;
}else{
tell+=','+voiceId1;
}
console.log(tell)
}
})
}else{
var tell=$('.textarea1').val();
if (!tell){
alert('病人主诉不能为空!')
}
}
/*获取你的困惑*/
var display2=$('.voice_btn2').css('display');
if (display2=='none'){
var puzzled=''
$('#voice_module2').children('.voice_list').children('.voice_third').each(function () {
var voiceId1=$(this).attr('data-try');
if (voiceId1!=undefined){
if (puzzled==''){
puzzled=voiceId1;
}else{
puzzled+=','+voiceId1;
}
}
})
}else{
var puzzled=$('.textarea2').val();
if (!puzzled){
alert('你的困惑不能为空!')
}
}
/*获取图片*/
console.log(serverIds);
/*提交后台*/
$.ajax({
url:'/user/index/inquerypost.html',
type:'POST',
data:{
ill_id:ill_id,
expert_id:expert_id,
tell:tell,
puzzled:puzzled,
photos:serverIds
},
success:function (res) {
console.log(res);
$('.box').show().delay(2000).hide(2)
}
})
//$('.box').show().delay(2000).hide(2)
})
//我要转诊表单判断
$('.referral_btn').click(function () {
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<title>转诊模块</title>
<script src="__TMPL__/public/assets/js/fontsize.js"></script>
<link rel="stylesheet" href="__TMPL__/public/assets/css/init.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/swiper-3.4.2.min.css">
<link rel="stylesheet" href="http://at.alicdn.com/t/font_793738_tlxymah92x.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/referralModule.css">
</head>
<body STYLE="background: #F5F6FA">
<div class="container">
<div class="tab_box">
<div class="tab_item tab_on">
<text>待处理</text>
<text class="point">1</text>
</div>
<div class="tab_item">
<text>已处理</text>
<text class="point">1</text>
</div>
</div>
<div>
<!--待回答-->
<div class="state_box">
<div class="tab_content_box">
<div class="tab_info">
<text class="">提交时间:2018.08.30</text>
<text class="tab_state">已通过</text>
<!--<text class="tab_state state">待审核</text>-->
<!--<text class="tab_state state">已驳回</text>-->
</div>
<div class="tab_content">
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
</div>
</div>
<div class="tab_content_box">
<div class="tab_info">
<text>提交时间:2018.08.30</text>
<!--<text class="tab_state">已通过</text>-->
<text class="tab_state state">待审核</text>
<!--<text class="tab_state state">已驳回</text>-->
</div>
<div class="tab_content">
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
</div>
</div>
</div>
<!--已回复-->
<div class="state_box" hidden>
<div class="tab_content_box">
<div class="tab_info">
<text>提交时间:2018.08.30</text>
<!--<text class="tab_state">已通过</text>-->
<!--&lt;!&ndash;<text class="tab_state state">待审核</text>&ndash;&gt;-->
<!--&lt;!&ndash;<text class="tab_state state">已驳回</text>&ndash;&gt;-->
</div>
<div class="tab_content">
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
<script>
$('.tab_item').click(function () {
var index = $(this).index()
$(this).addClass('tab_on').siblings().removeClass('tab_on')
$('.state_box').eq(index).show().siblings().hide()
})
$('.tab_content_box').click(function () {
window.location.href='../expert/referralModuleDetail.html'
})
</script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<title>转诊模块</title>
<script src="__TMPL__/public/assets/js/fontsize.js"></script>
<link rel="stylesheet" href="__TMPL__/public/assets/css/init.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/swiper-3.4.2.min.css">
<link rel="stylesheet" href="http://at.alicdn.com/t/font_793738_tlxymah92x.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/weui.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/myweui.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/referralModule.css">
</head>
<body STYLE="background: #F5F6FA">
<div class="container">
<div class="tab_content_box top">
<div class="tab_info">转诊基本信息</div>
<div class="tab_content">
<div class="content_item">
<div class="tab_title">临床表现</div>
<div class="tab_textarea">
<textarea readonly>临床表现内容临床表现内容临床表现内容</textarea>
</div>
</div>
<div class="content_item">
<div class="tab_title">已做检查</div>
<div class="tab_textarea">
<textarea>已做检查内容已做检查内容已做检查内容</textarea>
</div>
</div>
<div class="content_item">
<div class="tab_title">已用药物</div>
<div class="tab_textarea">
<textarea readonly>xx药物、xx药物、xx药物</textarea>
</div>
</div>
<div class="content_item">
<div class="tab_title">当前困惑</div>
<div class="tab_textarea">
<textarea readonly>当前困惑内容当前困惑内容当前困惑内容</textarea>
</div>
</div>
<div class="content_item">
<div class="tab_title">咨询时间</div>
<div>2018.08.30 18:00:00</div>
</div>
</div>
</div>
<div class="tab_content_box">
<div class="tab_info">转诊基本信息</div>
<div class="user_info_box">
<div class="head_box"><img src="__TMPL__/public/assets/images/chead@2x.png" alt=""></div>
<div>
<div>姓名:赵梓明</div>
<div>电话:13626495215</div>
<div>医院:中心医院.</div>
<div>科室:急诊室</div>
</div>
</div>
</div>
<div class=""></div>
<div class="tab_content_box">
<div class="tab_info">
<text class="tab_title">若您对转诊信息不明确,请点击发起提问</text>
<text class="iconfont icon-icon02 add_problem"></text>
</div>
</div>
<!--提问内容部分-->
<div class="tab_content_box">
<div class="tab_info inquiry_content">
<text>提问</text>
<text class="iconfont icon-huatong voice_btn"></text>
<text class="iconfont icon-tianxie "></text>
</div>
<div class="textarea_content">
<textarea class="area" type="text" placeholder="请输入" maxlength="1000"></textarea>
<p class="text_num num_box"><span class="text-count">0</span>/1000</p>
</div>
<div class="voice_module">
<div class="voice_box voice_second">
<div class="voice_item">
<text class="iconfont icon-luying_ongoing voice_icon"></text>
<text class="voice_font luying_ongoing">正在播放 10秒/60秒</text>
</div>
</div>
<div class="voice_box voice_third">
<div class="voice_item">
<text class="iconfont icon-luyin voice_icon"></text>
<text class="voice_font luyin">点击图标可播放 时长:10秒</text>
</div>
<div class="voice_btn_box">
<text class="iconfont icon-quxiao"></text>
<text class="iconfont icon-tianjia add_voice"></text>
</div>
</div>
<div class="voice_list">
<div class="voice_box voice_first">
<div class="voice_item">
<text class="iconfont icon-huatong mike voice_icon"></text>
<text class="voice_font huatong">点击图标开始语音语音最长60秒</text>
</div>
<div class="voice_btn_box">
<text class="iconfont icon-quxiao add_icon"></text>
</div>
</div>
</div>
</div>
</div>
<!--转诊意见内容部分-->
<div class="tab_content_box">
<div class="tab_info inquiry_content">
<text>转诊意见</text>
<text class="iconfont icon-huatong voice_btn"></text>
<text class="iconfont icon-tianxie "></text>
</div>
<div class="textarea_content">
<textarea class="area" type="text" placeholder="请输入" maxlength="1000"></textarea>
<p class="text_num num_box"><span class="text-count">0</span>/1000</p>
</div>
<div class="voice_module">
<div class="voice_box voice_second">
<div class="voice_item">
<text class="iconfont icon-luying_ongoing voice_icon"></text>
<text class="voice_font luying_ongoing">正在播放 10秒/60秒</text>
</div>
</div>
<div class="voice_box voice_third">
<div class="voice_item">
<text class="iconfont icon-luyin voice_icon"></text>
<text class="voice_font luyin">点击图标可播放 时长:10秒</text>
</div>
<div class="voice_btn_box">
<text class="iconfont icon-quxiao"></text>
<text class="iconfont icon-tianjia add_voice"></text>
</div>
</div>
<div class="voice_list">
<div class="voice_box voice_first">
<div class="voice_item">
<text class="iconfont icon-huatong mike voice_icon"></text>
<text class="voice_font huatong">点击图标开始语音语音最长60秒</text>
</div>
<div class="voice_btn_box">
<text class="iconfont icon-quxiao add_icon"></text>
</div>
</div>
</div>
</div>
</div>
<!--专家提问显示内容-->
<div class="tab_content_box">
<div class="tab_info">
<text>专家提问</text>
</div>
<div class="user_info_box">
专家提问内容专家提问内容专家提问内容专家提问内容
专家提问内容专家提问内容专家提问内容专家提问内容
专家提问内容专家提问内容
</div>
</div>
<!--回复专家的内容-->
<div class="tab_content_box">
<div class="tab_info">
<text>回答</text>
</div>
<div class="user_info_box">
用户回复专家提问的内容回复专家提问的内容回复专家
提问回复专家提问的内容回复专家提问的内容回复专家
提问回复专家提问的内容的内容的内容
</div>
</div>
<div class="tab_content_box">
<div class="tab_content">
<div class="content_item">
<div class="tab_title">接诊信息(同意转诊时需要填写此表单)</div>
<div class="info_box">
<div class="info_item">
<div class="title">接诊医院</div>
<div class="info_input"><input type="text" placeholder="请填写接诊医院"></div>
</div>
<div class="info_item">
<div class="title">接诊医院</div>
<div class="info_input"><input type="text" placeholder="请填写接诊医院"></div>
</div>
<div class="info_item">
<div class="title">接诊医院</div>
<div class="info_input"><input type="text" placeholder="请填写接诊医院"></div>
</div>
<div class="info_item">
<div class="title">接诊医院</div>
<div class="info_input"><input type="text" placeholder="请填写接诊医院">
<text class="iconfont icon-xiala"></text>
</div>
</div>
</div>
</div>
</div>
</div>
<!--确认回复按钮-->
<div class="agree_btn submit">确认回复</div>
<!---->
<div class="bottom_box">
<div class="agree_btn">同意</div>
<div class="bottom_btn">驳回</div>
</div>
</div>
<div class="mask_box" hidden>
<div class="referral_popup_box">
<div>确认驳回</div>
<div class="referral_info">确定驳回转诊吗?</div>
<div class="referral_btn_box">
<div class="btn cancel_btn">取消</div>
<div class="btn confirm_btn">确认</div>
</div>
</div>
</div>
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
<script src="__TMPL__/public/assets/js/weui.js"></script>
<script src="__TMPL__/public/assets/js/myweui.js"></script>
<script src="__TMPL__/public/assets/js/referral.js"></script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<title>转诊模块</title>
<script src="__TMPL__/public/assets/js/fontsize.js"></script>
<link rel="stylesheet" href="__TMPL__/public/assets/css/init.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/swiper-3.4.2.min.css">
<link rel="stylesheet" href="http://at.alicdn.com/t/font_793738_tlxymah92x.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/referralModule.css">
</head>
<body STYLE="background: #F5F6FA">
<div class="container">
<div class="tab_box">
<div class="tab_item tab_on">
<text>待处理</text>
<text class="point">1</text>
</div>
<div class="tab_item">
<text>已处理</text>
<text class="point">1</text>
</div>
</div>
<div>
<!--待回答-->
<div class="state_box">
<div class="tab_content_box" data-id="">
<div class="tab_info">
<text class="">提交时间:2018.08.30</text>
<text class="tab_state">已通过</text>
<!--<text class="tab_state state">待审核</text>-->
<!--<text class="tab_state state">已驳回</text>-->
</div>
<div class="tab_content">
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
</div>
</div>
<div class="tab_content_box">
<div class="tab_info">
<text>提交时间:2018.08.30</text>
<!--<text class="tab_state">已通过</text>-->
<text class="tab_state state">待审核</text>
<!--<text class="tab_state state">已驳回</text>-->
</div>
<div class="tab_content">
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
</div>
</div>
</div>
<!--已回复-->
<div class="state_box" hidden>
<div class="tab_content_box">
<div class="tab_info">
<text>提交时间:2018.08.30</text>
<!--<text class="tab_state">已通过</text>-->
<!--&lt;!&ndash;<text class="tab_state state">待审核</text>&ndash;&gt;-->
<!--&lt;!&ndash;<text class="tab_state state">已驳回</text>&ndash;&gt;-->
</div>
<div class="tab_content">
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
<script>
$('.tab_item').click(function () {
var index = $(this).index()
$(this).addClass('tab_on').siblings().removeClass('tab_on')
$('.state_box').eq(index).show().siblings().hide()
})
$('.tab_content_box').click(function () {
window.location.href='../expert/inquiryDetail.html'
})
</script>
</body>
</html>
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<title>转诊模块</title>
<script src="__TMPL__/public/assets/js/fontsize.js"></script>
<link rel="stylesheet" href="__TMPL__/public/assets/css/init.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/swiper-3.4.2.min.css">
<link rel="stylesheet" href="http://at.alicdn.com/t/font_793738_tlxymah92x.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/referralModule.css">
</head>
<body STYLE="background: #F5F6FA">
<div class="container">
<div class="tab_box">
<div class="tab_item tab_on">
<text>待处理</text>
<text class="point">1</text>
</div>
<div class="tab_item">
<text>已处理</text>
<text class="point">1</text>
</div>
</div>
<div>
<!--待回答-->
<div class="state_box">
<div class="tab_content_box">
<div class="tab_info">
<text class="">提交时间:2018.08.30</text>
<text class="tab_state">已通过</text>
<!--<text class="tab_state state">待审核</text>-->
<!--<text class="tab_state state">已驳回</text>-->
</div>
<div class="tab_content">
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
</div>
</div>
<div class="tab_content_box">
<div class="tab_info">
<text>提交时间:2018.08.30</text>
<!--<text class="tab_state">已通过</text>-->
<text class="tab_state state">待审核</text>
<!--<text class="tab_state state">已驳回</text>-->
</div>
<div class="tab_content">
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
</div>
</div>
</div>
<!--已回复-->
<div class="state_box" hidden>
<div class="tab_content_box">
<div class="tab_info">
<text>提交时间:2018.08.30</text>
<!--<text class="tab_state">已通过</text>-->
<!--&lt;!&ndash;<text class="tab_state state">待审核</text>&ndash;&gt;-->
<!--&lt;!&ndash;<text class="tab_state state">已驳回</text>&ndash;&gt;-->
</div>
<div class="tab_content">
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
<div class="content_item">
<div class="tab_title">临床表现</div>
<div>临床表现内容临床表现内容临床表现内容</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
<script>
$('.tab_item').click(function () {
var index = $(this).index()
$(this).addClass('tab_on').siblings().removeClass('tab_on')
$('.state_box').eq(index).show().siblings().hide()
})
$('.tab_content_box').click(function () {
window.location.href='../expert/referralModuleDetail.html'
})
</script>
</body>
</html>
\ No newline at end of file
... ...
... ... @@ -46,23 +46,23 @@
<div class="icon_img"><img src="__TMPL__/public/assets/images/dicon02@2x.png" alt=""></div>
<div>我要问诊</div>
</a>
<a class="type_item" href="referral.html">
<a class="type_item" href="transfer.html">
<div class="icon_img"><img src="__TMPL__/public/assets/images/dicon03@2x.png" alt=""></div>
<div>我要转诊</div>
</a>
<a class="type_item" href="training.html">
<a class="type_item" href="engage.html">
<div class="icon_img"><img src="__TMPL__/public/assets/images/dicon04@2x.png" alt=""></div>
<div>我要进修</div>
</a>
<a class="type_item" href="../expert/referralModule.html">
<a class="type_item" href="../expert/inquiryAnswer.html">
<div class="icon_img"><img src="__TMPL__/public/assets/images/dicon06@2x.png" alt=""></div>
<div>问诊待答</div>
</a>
<a class="type_item" href="../expert/referralModule.html">
<a class="type_item" href="../expert/transferAnswer.html">
<div class="icon_img"><img src="__TMPL__/public/assets/images/dicon07@2x.png" alt=""></div>
<div>转诊待答</div>
</a>
<a class="type_item" href="../expert/referralModule.html">
<a class="type_item" href="../expert/engageAnswer.html">
<div class="icon_img"><img src="__TMPL__/public/assets/images/dicon07@2x.png" alt=""></div>
<div>进修待答</div>
</a>
... ... @@ -84,7 +84,7 @@
</div>
<text class="iconfont icon-jiantou1"></text>
</a>
<a class="list_input" href="{:url('myAdress')}" >
<a id="addressEdit" class="list_input" href="{:url('myAddress')}" >
<div class="list_img_box">
<text class="list_img"><img src="__TMPL__/public/assets/images/dicon10@2x.png"></text>
<text>我的地址</text>
... ... @@ -107,6 +107,7 @@
</a>
</div>
</div>
<div class="footer">
<ul>
<li class=""><a href="/"><em class="footer_icon1"></em>首页</a></li>
... ... @@ -115,12 +116,15 @@
<li class="footer_curr"><a href="#"><em class="footer_icon4"></em>我的</a></li>
</ul>
</div>
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
<script src="__TMPL__/public/assets/js/comment.js"></script>
<script>
<script type="application/javascript">
$('.sign_in').click(function () {
window.location.href='{:url('signIn')}'
})
</script>
</body>
</html>
\ No newline at end of file
... ...
... ... @@ -23,6 +23,7 @@
<div class="title">
<text>疾病分类</text>
</div>
<div class="info_input"><input class="inquiry_value" type="text" placeholder="请选择基本种类" readonly="" onfocus="this.focus()">
<text class="iconfont icon-xiala"></text>
</div>
... ... @@ -31,6 +32,7 @@
<div class="title">
<text>问诊专家</text>
</div>
<div class="info_input"><input class="expert_value" type="text" placeholder="推荐专家" readonly="" onfocus="this.focus()">
<text class="iconfont icon-xiala"></text>
</div>
... ... @@ -38,11 +40,13 @@
<div class="hint_info">提示:您可以选择推荐专家,平台会为您匹配对应专家;您也可以
选择其他专家。
</div>
<div class="info_item ">
<div class="title" data-id="1">
<text>病人主述</text>
<!--<text class="info_tab_box">-->
<text class="iconfont icon-huatong voice_btn"></text>
<text class="iconfont icon-tianxie" style="display: inline;"></text>
<!--</text>-->
</div>
... ... @@ -50,6 +54,7 @@
<textarea class="area" type="text" placeholder="请输入临床表现" maxlength="1000"></textarea>
<p class="text_num"><span class="text-count">0</span>/1000</p>
</div>
<div class="voice_module" video-id="1">
<div class="voice_list" voiceitemid="1">
<div class="voice_box voice_third">
... ... @@ -62,12 +67,14 @@
<text class="iconfont icon-tianjia add_voice"></text>
</div>
</div>
<!--<div class="voice_box voice_second">-->
<!--<div class="voice_item">-->
<!--<text class="iconfont icon-luying_ongoing voice_icon"></text>-->
<!--<text class="voice_font luying_ongoing">正在播放 10秒/60秒</text>-->
<!--</div>-->
<!--</div>-->
<div class="voice_box voice_first" voiceid="1">
<div class="voice_item">
<text class="iconfont icon-huatong mike voice_icon"></text>
... ... @@ -83,6 +90,7 @@
<div class="info_item">
<div class="title" data-id="2">
<text>你的困惑</text>
<text class="iconfont icon-huatong voice_btn"></text>
<text class="iconfont icon-tianxie" style="display: none;"></text>
</div>
... ... @@ -108,6 +116,7 @@
<!--<text class="voice_font luying_ongoing">正在播放 10秒/60秒</text>-->
<!--</div>-->
<!--</div>-->
<div class="voice_box voice_first" voiceid="1">
<div class="voice_item">
<text class="iconfont icon-huatong mike voice_icon"></text>
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<title>我要转诊</title>
<script src="__TMPL__/public/assets/js/fontsize.js"></script>
<link rel="stylesheet" href="__TMPL__/public/assets/css/init.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/swiper-3.4.2.min.css">
<link rel="stylesheet" href="http://at.alicdn.com/t/font_793738_tlxymah92x.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/weui.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/myweui.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/referralModule.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/comment.css">
</head>
<body>
<div class="container">
<div class="inquary_box">
<div class="content_item">
<!--<div class="tab_title">接诊信息(同意转诊时需要填写此表单)</div>-->
<div class="info_box">
<div class="info_item">
<div class="title">
<text>姓名</text>
</div>
<div class="info_input"><input class="" type="text" placeholder="请填写姓名" id="user_name"></div>
</div>
<div class="info_item sex_type">
<div class="title">
<text>性别</text>
</div>
<div class="info_input"><input class="sex_value" type="text" placeholder="请选择性别" readonly onfocus="this.focus()" id="user_sex">
<text class="iconfont icon-xiala"></text>
</div>
</div>
<div class="info_item">
<div class="title">
<text>年龄</text>
</div>
<div class="info_input"><input class="" type="number" placeholder="请填写年龄" id="user_age"></div>
</div>
<div class="info_item">
<div class="title">
<text>地址</text>
</div>
<div class="info_input"><input class="" type="text" placeholder="请填写地址" id="user_address"></div>
</div>
<div class="info_item inquiry_type">
<div class="title">
<text>疾病分类</text>
</div>
<div class="info_input"><input class="inquiry_value" type="text" placeholder="请选择疾病种类" readonly onfocus="this.focus()" id="disease_type">
<text class="iconfont icon-xiala"></text>
</div>
</div>
<div class="info_item expert">
<div class="title">
<text>转诊专家</text>
</div>
<div class="info_input"><input class="expert_value" type="text" placeholder="请选择转诊专家" readonly onfocus="this.focus()" id="expert">
<text class="iconfont icon-xiala"></text>
</div>
</div>
<div class="info_item" >
<div class="title" data-id="1">
<text>临床表现</text>
<text class="iconfont icon-huatong voice_btn"></text>
<text class="iconfont icon-tianxie"></text>
</div>
<div class="textarea_box">
<textarea class="area" type="text" placeholder="请输入临床表现" maxlength="1000" id="behavior"></textarea>
<p class="text_num"><span class="text-count">0</span>/1000</p>
</div>
<div class="voice_module" video-id="1">
<div class="voice_box voice_third">
<div class="voice_item">
<text class="iconfont icon-luyin voice_icon"></text>
<text class="voice_font luyin">点击图标可播放 时长:10秒</text>
</div>
<div class="voice_btn_box">
<text class="iconfont icon-quxiao"></text>
<text class="iconfont icon-tianjia add_voice"></text>
</div>
</div>
<div class="voice_box voice_second">
<div class="voice_item">
<text class="iconfont icon-luying_ongoing voice_icon"></text>
<text class="voice_font luying_ongoing">正在播放 10秒/60秒</text>
</div>
</div>
<div class="voice_list">
<div class="voice_box voice_first">
<div class="voice_item">
<text class="iconfont icon-huatong mike voice_icon"></text>
<text class="voice_font huatong">点击图标开始语音语音最长60秒</text>
</div>
<div class="voice_btn_box">
<text class="iconfont icon-quxiao icon_cancle"></text>
</div>
</div>
</div>
</div>
</div>
<div class="info_item">
<div class="title" data-id="2">
<text>已做检查</text>
<text class="iconfont icon-huatong voice_btn"></text>
<text class="iconfont icon-tianxie"></text>
</div>
<div class="textarea_box">
<textarea class="area" type="text" placeholder="请输入你已做的检查 " maxlength="1000" id="examination"></textarea>
<p class="text_num"><span class="text-count">0</span>/1000</p>
</div>
<div class="voice_module" video-id="2">
<div class="voice_box voice_third">
<div class="voice_item">
<text class="iconfont icon-luyin voice_icon"></text>
<text class="voice_font luyin">点击图标可播放 时长:10秒</text>
</div>
<div class="voice_btn_box">
<text class="iconfont icon-quxiao"></text>
<text class="iconfont icon-tianjia add_voice"></text>
</div>
</div>
<div class="voice_box voice_second">
<div class="voice_item">
<text class="iconfont icon-luying_ongoing voice_icon"></text>
<text class="voice_font luying_ongoing">正在播放 10秒/60秒</text>
</div>
</div>
<div class="voice_list">
<div class="voice_box voice_first">
<div class="voice_item">
<text class="iconfont icon-huatong mike voice_icon"></text>
<text class="voice_font huatong">点击图标开始语音语音最长60秒</text>
</div>
<div class="voice_btn_box">
<text class="iconfont icon-quxiao icon_cancle"></text>
</div>
</div>
</div>
</div>
</div>
<div class="info_item">
<div class="title" data-id="3">
<text>目前诊断</text>
<text class="iconfont icon-huatong voice_btn"></text>
<text class="iconfont icon-tianxie"></text>
</div>
<div class="textarea_box">
<textarea class="area" type="text" placeholder="请输入目前诊断" maxlength="1000" id="diagnosis"></textarea>
<p class="text_num"><span class="text-count">0</span>/1000</p>
</div>
<div class="voice_module" video-id="3">
<div class="voice_box voice_third">
<div class="voice_item">
<text class="iconfont icon-luyin voice_icon"></text>
<text class="voice_font luyin">点击图标可播放 时长:10秒</text>
</div>
<div class="voice_btn_box">
<text class="iconfont icon-quxiao"></text>
<text class="iconfont icon-tianjia add_voice"></text>
</div>
</div>
<div class="voice_box voice_second">
<div class="voice_item">
<text class="iconfont icon-luying_ongoing voice_icon"></text>
<text class="voice_font luying_ongoing">正在播放 10秒/60秒</text>
</div>
</div>
<div class="voice_list">
<div class="voice_box voice_first">
<div class="voice_item">
<text class="iconfont icon-huatong mike voice_icon"></text>
<text class="voice_font huatong">点击图标开始语音语音最长60秒</text>
</div>
<div class="voice_btn_box">
<text class="iconfont icon-quxiao icon_cancle"></text>
</div>
</div>
</div>
</div>
</div>
<div class="info_item">
<div class="title" data-id="4">
<text>已用药物</text>
<text class="iconfont icon-huatong voice_btn"></text>
<text class="iconfont icon-tianxie"></text>
</div>
<div class="textarea_box">
<textarea class="area" type="text" placeholder="请输入已用药物" maxlength="1000" id="drugs"></textarea>
<p class="text_num"><span class="text-count">0</span>/1000</p>
</div>
<div class="voice_module" video-id="4">
<div class="voice_box voice_third">
<div class="voice_item">
<text class="iconfont icon-luyin voice_icon"></text>
<text class="voice_font luyin">点击图标可播放 时长:10秒</text>
</div>
<div class="voice_btn_box">
<text class="iconfont icon-quxiao"></text>
<text class="iconfont icon-tianjia add_voice"></text>
</div>
</div>
<div class="voice_box voice_second">
<div class="voice_item">
<text class="iconfont icon-luying_ongoing voice_icon"></text>
<text class="voice_font luying_ongoing">正在播放 10秒/60秒</text>
</div>
</div>
<div class="voice_list">
<div class="voice_box voice_first">
<div class="voice_item">
<text class="iconfont icon-huatong mike voice_icon"></text>
<text class="voice_font huatong">点击图标开始语音语音最长60秒</text>
</div>
<div class="voice_btn_box">
<text class="iconfont icon-quxiao icon_cancle"></text>
</div>
</div>
</div>
</div>
</div>
<div class="info_item">
<div class="title" data-id="5">
<text>当前困惑</text>
<text class="iconfont icon-huatong voice_btn"></text>
<text class="iconfont icon-tianxie"></text>
</div>
<div class="textarea_box">
<textarea class="area" type="text" placeholder="请输入你的困惑" maxlength="1000" id="confused"></textarea>
<p class="text_num"><span class="text-count">0</span>/1000</p>
</div>
<div class="voice_module" video-id="5">
<div class="voice_box voice_third">
<div class="voice_item">
<text class="iconfont icon-luyin voice_icon"></text>
<text class="voice_font luyin">点击图标可播放 时长:10秒</text>
</div>
<div class="voice_btn_box">
<text class="iconfont icon-quxiao"></text>
<text class="iconfont icon-tianjia add_voice"></text>
</div>
</div>
<div class="voice_box voice_second">
<div class="voice_item">
<text class="iconfont icon-luying_ongoing voice_icon"></text>
<text class="voice_font luying_ongoing">正在播放 10秒/60秒</text>
</div>
</div>
<div class="voice_list">
<div class="voice_box voice_first">
<div class="voice_item">
<text class="iconfont icon-huatong mike voice_icon"></text>
<text class="voice_font huatong">点击图标开始语音语音最长60秒</text>
</div>
<div class="voice_btn_box">
<text class="iconfont icon-quxiao icon_cancle"></text>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div class="weui-uploader__hd">
<p class="title">报告单(最多上传30张)</p>
</div>
<div class="weui-uploader__bd">
<ul class="weui-uploader__files" id="uploaderFiles">
</ul>
<div class="weui-uploader__input-box">
<input id="uploaderInput" class="weui-uploader__input" type="file" accept="image/*"
multiple/>
</div>
</div>
</div>
<div class="agree_btn submit referral_btn">提交</div>
</div>
</div>
<!--表单判断弹窗-->
<div class="form_popup_box" hidden>
<text></text>
</div>
<!--弹窗-->
<div class="box" hidden>
<div class="public_popup_box">
<text>您已签到成功!</text>
<text>恭喜您获得10个积分</text>
</div>
</div>
<!--录音弹窗-->
<div class="mask_box first" hidden>
<div class="popup_box">
<div class="popup_title">录制语音</div>
<div class="popup_time">
<div>00:00:00</div>
<div class="popup_info">还可以录制 <span>5</span></div>
</div>
<div class="popup_btn_box">
<div class="popup_item start ">
<img class="popup_icon" src="__TMPL__/public/assets/images/eicon09@2x.png" alt="">
<div>开始</div>
</div>
<div class="popup_item pause" hidden>
<img class="popup_icon" src="__TMPL__/public/assets/images/eicon13@2x.png" alt="">
<div>暂停</div>
</div>
<div class="popup_item stop" hidden>
<img class="popup_icon" src="__TMPL__/public/assets/images/eicon14@2x.png" alt="">
<div>已停止</div>
</div>
<div class="popup_center play start">
<img class="" src="__TMPL__/public/assets/images/eicon11@2x.png" alt="">
</div>
<div class="popup_center stopping" hidden>
<img class="" src="__TMPL__/public/assets/images/eicon12@2x.png" alt="">
</div>
<div class="popup_item next_step">
<img class="popup_icon" src="__TMPL__/public/assets/images/eicon10@2x.png" alt="">
<div>下一步</div>
</div>
</div>
</div>
</div>
<!---->
<div class="mask_box second" hidden>
<div class="popup_box">
<div class="popup_title">录制语音</div>
<div class="popup_time">
<div class="popup_btn audition">点击试听</div>
<div class="popup_info">时长:4分58秒</div>
</div>
<div class="popup_btn_box">
<div class="large_icon rerecord">
<img class="popup_icon " src="__TMPL__/public/assets/images/eicon15@2x.png" alt="">
<div>重新录制</div>
</div>
<div class="large_icon">
<img class="popup_icon" src="__TMPL__/public/assets/images/eicon16@2x.png" alt="">
<div>我要发送</div>
</div>
</div>
</div>
</div>
<script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
<script src="__TMPL__/public/assets/js/weui.js"></script>
<script src="__TMPL__/public/assets/js/myweui.js"></script>
<script src="__TMPL__/public/assets/js/referral.js"></script>
</body>
</html>
\ No newline at end of file
... ...