作者 朱振飞

Merge branch 'master' of http://114.215.101.231:8099/dingling/A6079080424317 into Branch_zhu

@@ -122,7 +122,7 @@ var app = new Vue({ @@ -122,7 +122,7 @@ var app = new Vue({
122 }, 122 },
123 // 获取疾病类型 123 // 获取疾病类型
124 getIllness: function () { 124 getIllness: function () {
125 - 125 +
126 var app=this; 126 var app=this;
127 var heder = { 127 var heder = {
128 "XX-Device-Type": getDevice(), 128 "XX-Device-Type": getDevice(),
@@ -129,22 +129,35 @@ @@ -129,22 +129,35 @@
129 <span>上传照片或扫描报告</span> 129 <span>上传照片或扫描报告</span>
130 </div> 130 </div>
131 <div class="photo_box"> 131 <div class="photo_box">
132 - <div class="photo_item" @click="popupVisible=true">  
133 - <img v-if='img_report' :src="img_report" alt="">  
134 - <span v-else class="iconfont icon-jiajianzujianjiahao"></span> 132 + <!--<div class="photo_item" @click="popupVisible=true">-->
  133 + <!--<img v-if='img_report' :src="img_report" alt="">-->
  134 + <!--<span v-else class="iconfont icon-jiajianzujianjiahao"></span>-->
  135 + <!--</div>-->
  136 +
  137 + <div class="photo_item">
  138 + <!--../img/addimg.png-->
  139 + <div id="preview">
  140 + <img id="imghead" border="0" src="" style="width:100%;height:100%" onclick="$('#previewImg').click();">
  141 + </div>
  142 + <!--<img src="../img/delet.png" alt="" style="position:absolute;bottom:92px;left:46px" class="deleteimg"/>-->
  143 + <input type="file" onchange="previewImage(this)" style="display: none;" id="previewImg">
135 </div> 144 </div>
  145 +
  146 +
  147 +
  148 +
136 <div class="photo_item" @click="openQrc"> 149 <div class="photo_item" @click="openQrc">
137 <img v-if='img_sao_yi_sao' :src="img_sao_yi_sao" alt=""> 150 <img v-if='img_sao_yi_sao' :src="img_sao_yi_sao" alt="">
138 <span v-else class="iconfont icon-saoyisao"></span> 151 <span v-else class="iconfont icon-saoyisao"></span>
139 </div> 152 </div>
140 </div> 153 </div>
141 - <mt-popup v-model="popupVisible" position="bottom">  
142 - <ul class="moreoul">  
143 - <li @click="choose_pic('camera')">拍照</li>  
144 - <li @click="choose_pic('album')">从相册中选择</li>  
145 - <li @click="popupVisible=false" style="border-top: 2px solid #f0f0f0">取消</li>  
146 - </ul>  
147 - </mt-popup> 154 + <!--<mt-popup v-model="popupVisible" position="bottom">-->
  155 + <!--<ul class="moreoul">-->
  156 + <!--<li @click="choose_pic('camera')">拍照</li>-->
  157 + <!--<li @click="choose_pic('album')">从相册中选择</li>-->
  158 + <!--<li @click="popupVisible=false" style="border-top: 2px solid #f0f0f0">取消</li>-->
  159 + <!--</ul>-->
  160 + <!--</mt-popup>-->
148 <div class="save_btn" @click="save_info">保存</div> 161 <div class="save_btn" @click="save_info">保存</div>
149 </div> 162 </div>
150 </body> 163 </body>