zhanghaoyu 7 éve
szülő
commit
9802eb6d3f

+ 13 - 13
patient-co-manage/wlyy-manage/src/main/webapp/WEB-INF/views/specialty/index.jsp

@ -126,7 +126,7 @@
                            <div class="layui-form-item" style="position: relative;width: max-content;">
                                <label class="layui-form-label required-1">完成方式:</label>
                                <div class="layui-input-block flex">
                                    <input type="radio" name="type" value="0" title="上传附件">
                                    <input type="radio" name="type" value="0" title="记录服务">
                                    <input type="radio" name="type" value="1" title="扫码">
                                    <input type="radio" name="type" value="2" title="健康教育">
                                    <input type="radio" name="type" value="3" title="健康指导">
@ -148,8 +148,8 @@
                        <div class="layui-form">
                            <div class="layui-form-item">
                                <div class="layui-input-block ml40 required-2">
                                    <input type="radio" name="item_type" value="0" title="康复服务">
                                    <input type="radio" name="item_type" value="1" title="健康管理">
                                    <input type="radio" name="item_type" value="0" title="诊疗服务">
                                    <input type="radio" name="item_type" value="1" title="健康服务">
                                </div>
                            </div>
                        </div>
@ -255,10 +255,10 @@
                    <a href="#">所有</a>
                </li>
                <li>
                    <a href="#">康复服务</a>
                    <a href="#">诊疗服务</a>
                </li>
                <li>
                    <a href="#">健康管理</a>
                    <a href="#">健康服务</a>
                </li>
            </ul>
        </div>
@ -418,7 +418,7 @@
            $($('.lay input[name="reserve"]')[row.reserve+2]).prop("checked",true);
            $($('.lay input[name="type"]')[row.type+5]).prop("checked",true);
            $($('.lay input[name="evaluation')[row.evaluation+2]).prop("checked",true);
            row.itemType == '康复服务' ? row.itemType = 0: row.itemType = 1;
            row.itemType == '诊疗服务' ? row.itemType = 0: row.itemType = 1;
            $($('.lay input[name="item_type')[row.itemType+2]).prop("checked",true);
            if (row.hospitalGrade == '三级医院'){
                row.hospitalGrade = 3
@ -538,13 +538,13 @@
                        var ul = '';
                        log.forEach(function (t,k) {
                            if(t['itemType旧']){
                                t['itemType旧'] == '0'? t['itemType旧'] = "康复服务":t['itemType旧'] = "健康管理";
                                t['itemType旧'] == '0'? t['itemType旧'] = "诊疗服务":t['itemType旧'] = "健康服务";
                            }
                            if(t['type旧']){
                                if (t['type旧'] == 0){
                                if (t['type旧'] == 1){
                                    t['type旧'] = '扫码'
                                }else if (t['type旧'] == 1){
                                    t['type旧'] = '上传附件'
                                }else if (t['type旧'] == 0){
                                    t['type旧'] = '记录服务'
                                }else if (t['type旧'] == 2){
                                    t['type旧'] = '健康教育'
                                }else if (t['type旧'] == 3){
@ -752,7 +752,7 @@
                        display:"项目类型",
                        width:81,
                        render:function (row) {
                            row.itemType == '0'? row.itemType = "康复服务":row.itemType = "健康管理";
                            row.itemType == '0'? row.itemType = "诊疗服务":row.itemType = "健康服务";
                            return row.itemType;
                        }
                    },
@ -870,9 +870,9 @@
        $('.search-btn').on('click',function (e) {
            e.stopPropagation()
            var data = {};
            if ($('.xiangmu').text() == '康复服务'){
            if ($('.xiangmu').text() == '诊疗服务'){
                data.itemType = 0
            }else if($('.xiangmu').text() == '健康管理'){
            }else if($('.xiangmu').text() == '健康服务'){
                data.itemType = 1
            }else if($('.xiangmu').text() == '所有'){
                data.itemType = ''