提交 dfa216d1 编写于 作者: 张敬贤's avatar 张敬贤

Merge branch 'release' of...

Merge branch 'release' of http://192.168.110.53/com.pica.cloud.frontend/pica-insurance into feature/zjx
...@@ -27,7 +27,7 @@ VUE_APP_CHANNEL=prod ...@@ -27,7 +27,7 @@ VUE_APP_CHANNEL=prod
VUE_APP_BUCKET_NAME='pica-app-prod' VUE_APP_BUCKET_NAME='pica-app-prod'
#arms日志监控脚本 #arms日志监控脚本
VUE_APP_ARMS='' VUE_APP_ARMS='!(function(c,b,d,a){c[a]||(c[a]={});c[a].config={pid:"bj53rb58f5@29641a9002f6545",appType:"web",imgUrl:"https://arms-retcode.aliyuncs.com/r.png?",sendResource:true,enableLinkTrace:true,behavior:true,enableSPA:true,useFmp:true,enableConsole:true};with(b)with(body)with(insertBefore(createElement("script"),firstChild))setAttribute("crossorigin","",src=d)})(window,document,"https://retcode.alicdn.com/retcode/bl.js","__bl");'
# 本地化存储:0、关闭 1、打开 # 本地化存储:0、关闭 1、打开
VUE_APP_CACHE_CONTROL=0 VUE_APP_CACHE_CONTROL=0
......
...@@ -30,22 +30,5 @@ ...@@ -30,22 +30,5 @@
<script src="<%= VUE_APP_OSS_URL %>static/js/crypto.min-4.0.0.js"></script> <script src="<%= VUE_APP_OSS_URL %>static/js/crypto.min-4.0.0.js"></script>
<script src="<%= VUE_APP_OSS_URL %>static/js/vconsole-3.3.4.js"></script> <script src="<%= VUE_APP_OSS_URL %>static/js/vconsole-3.3.4.js"></script>
<script src="<%= VUE_APP_OSS_URL %>static/js/lodash-4.17.15.js"></script> <script src="<%= VUE_APP_OSS_URL %>static/js/lodash-4.17.15.js"></script>
<script>
!(function(c,b,d,a){c[a]||(c[a]={});c[a].config=
{
pid:"bj53rb58f5@29641a9002f6545",
appType:"web",
imgUrl:"https://arms-retcode.aliyuncs.com/r.png?",
sendResource:true,
enableLinkTrace:true,
behavior:true,
useFmp:true,
enableSPA:true,
enableConsole:true
};
with(b)with(body)with(insertBefore(createElement("script"),firstChild))setAttribute("crossorigin","",src=d)
})(window,document,"https://retcode.alicdn.com/retcode/bl.js","__bl");
</script>
</body> </body>
</html> </html>
...@@ -220,7 +220,7 @@ ...@@ -220,7 +220,7 @@
阳性报销 阳性报销
</div> </div>
</div> </div>
<div v-else class="submit-container multi-sub-wrap"> <div v-if="showFlagForReport" class="submit-container multi-sub-wrap">
<div <div
class="submit-button2" class="submit-button2"
@click="getReport()" @click="getReport()"
...@@ -293,7 +293,8 @@ export default { ...@@ -293,7 +293,8 @@ export default {
}, },
openWebAppBtnName: '报告解读', openWebAppBtnName: '报告解读',
yunOrderNo: '', yunOrderNo: '',
action_code: '' action_code: '',
showFlagForReport: false
}; };
}, },
created() { created() {
...@@ -355,6 +356,11 @@ export default { ...@@ -355,6 +356,11 @@ export default {
} }
this.$loading.hide(); this.$loading.hide();
}); });
getDetailByYunOrderNo(this.yunOrderNo).then(res => {
console.log(res);
const {showFlagForReport} = res.data;
this.showFlagForReport = showFlagForReport;
});
}, },
copyText(val) { copyText(val) {
const input = document.createElement('input'); const input = document.createElement('input');
...@@ -464,32 +470,22 @@ export default { ...@@ -464,32 +470,22 @@ export default {
}, },
getReport() { getReport() {
this.$loading.show('报告生成中,请稍等...'); this.$loading.show('报告生成中,请稍等...');
getDetailByYunOrderNo(this.yunOrderNo).then(res => { const p = {
console.log(res); env: VUE_APP_ENV == 'production' ? 'prod' : 'test1',
const {showFlagForReport} = res.data; sample_code: this.dataDetail.sampleCode,
if(showFlagForReport == 1) { res_type: 1
const p = { };
env: VUE_APP_ENV == 'production' ? 'prod' : 'test1', axios.post('https://project.picahealth.com/auto_set_detection_report', p)
sample_code: this.dataDetail.sampleCode, .then(res => {
res_type: 1 console.error('请求menu接口失败error', res);
}; const {errorMessage} = res.data.data;
// this.$toast(errorMessage);
axios.post('https://project.picahealth.com/auto_set_detection_report', p) this.init();
.then(res => { }).catch(error => {
console.error('请求menu接口失败error', res); console.error('请求menu接口失败error', error);
const {errorMessage} = res.data.data; const {errorMessage} = error.data.data;
this.$toast(errorMessage); this.$toast(errorMessage);
this.init(); this.init();
}).catch(error => {
console.error('请求menu接口失败error', error);
const {errorMessage} = error.data.data;
this.$toast(errorMessage);
this.init();
});
}else {
this.$loading.hide();
}
console.log('--showFlagForReport', showFlagForReport);
}); });
}, },
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册