main
yanzai 6 months ago
parent 5a5751b5ad
commit 308e9f36f8

@ -549,7 +549,7 @@ class ReportController extends Controller
];
if (count($res) != 0) {
if($res[0]['体检状态']!='报告已出') Yo::error_echo(200090);
if($res[0]['体检状态']!='报告已出' and $res[0]['体检状态']!='总检完成') Yo::error_echo(200090);
$info = self::orderReport($res[0]);
// Yo::error_exit([
// 'message' => "res",
@ -561,11 +561,23 @@ class ReportController extends Controller
$list['info']['name'] = $info['姓名'];
$list['info']['password'] = $info['查询密码'];
$list['list'] = $info['报告文件列表'];
$jielun=$info['总检结论'];
$jianyi=$info['总检建议'];
if(empty($info['总检结论'])){
foreach ($info['综述建议'] as $item) {
$jielun=$jielun.$item['综述'];
}
}
if(empty($info['总检建议'])){
foreach ($info['综述建议'] as $item) {
$jianyi=$jianyi.$item['建议'];
}
}
$conclusion = [
'datetime' => str_replace('T', ' ', $info['登记时间']),
'doctor' => $info['总检医生'],
'content' => $info['总检结论'],
'suggestion' => $info['总检建议'],
'content' =>$jielun,
'suggestion' =>$jianyi,
];
foreach ($info['收费项目列表'] as $item) {
$content_list = [];

@ -1,4 +1,4 @@
let url_ = "https://lnfynew-tj.sixinyun.com";
let url_ = "https://liujiangyy-tj.sixinyun.com";
const dev = 0
if (dev === 1) {
url_ = "http://sixintijian"

@ -1,7 +1,7 @@
import {
$post
} from '@/lu/axios.js'
let url_ = "https://lnfynew-tj.sixinyun.com";
let url_ = "https://liujiangyy-tj.sixinyun.com";
const dev = 0
if (dev === 1) {
url_ = "http://sixintijian"

@ -1,7 +1,7 @@
let url_ = "https://lnfynew-tj.sixinyun.com";
let report_url_ = "https://lnfynew-tj.sixinyun.com";
let h5_url_ = "https://lnfynew-tj.sixinyun.com";
const dev = 1;
let url_ = "https://liujiangyy-tj.sixinyun.com";
let report_url_ = "https://liujiangyy-tj.sixinyun.com";
let h5_url_ = "https://liujiangyy-tj.sixinyun.com";
const dev = 0;
if (dev === 1) {
url_ = "http://liujiang-local";
report_url_ = "http://192.168.31.106:5173";

@ -2,9 +2,9 @@ import {
$post
} from '@/lu/axios.js'
import $api from './api.js'
let url_ = "https://lnfynew-tj.sixinyun.com";
let chat_url = "https://lnfynew-tj.sixinyun.com"
const dev =1
let url_ = "https://liujiangyy-tj.sixinyun.com";
let chat_url = "https://liujiangyy-tj.sixinyun.com"
const dev =0
if (dev === 1) {
url_ = "http://liujiang-local"
chat_url = "http://192.168.31.106:5173"

@ -1,4 +1,4 @@
let url_ = "https://lnfynew-tj.sixinyun.com";
let url_ = "https://liujiangyy-tj.sixinyun.com";
const dev = 0
if (dev === 1) {
url_ = "http://192.168.31.106:8000"

@ -1,7 +1,7 @@
import {
$post
} from '@/lu/axios.js'
let url_ = "https://lnfynew-tj.sixinyun.com";
let url_ = "https://liujiangyy-tj.sixinyun.com";
const dev = 0
if (dev === 1) {
url_ = "http://192.168.31.106:8000"

Loading…
Cancel
Save