zhangyanfang 6 лет назад
Родитель
Сommit
0a47762433

+ 1 - 1
api/http-request.js

@ -28,7 +28,7 @@
        socketUrl = "http://172.19.103.88:3000";
//      server = "http://192.168.131.154:8080/"
        articleServer="http://172.19.103.88:9092/wlyy/"
     server = "http://192.168.131.130:8080/";
    //  server = "http://192.168.131.130:8080/";
//		server = "http://192.168.131.123:8080/"; // 明芬
//      server = "http://192.168.131.127:8060/"; //逸祥
//      server = "http://192.168.131.24:8080/"; //仕杰

+ 2 - 1
app/rehabilitation/css/moreplan.css

@ -126,7 +126,7 @@ p {
.quote {
    position: relative;
    top: 58px;
    top: 50px;
    left: 0;
    width: 4px;
    height: 81px;
@ -186,6 +186,7 @@ p {
    background-color: #fafaeb;
    color: #666666;
    padding-left: 5px;
    height: 60px;
}

+ 1 - 1
app/rehabilitation/html/moreplan.html

@ -56,7 +56,7 @@
                            <div class="dataabom">
                                <p>疾病类型:</p>
                                <p v-for="(data1, index) in diseaseList" class="inline-block">{{data1}}</p>
                                <p v-for="(data1, index) in dat.diseaseList" class="inline-block">{{data1}}</p>
                            </div>
                        </div>

+ 6 - 12
app/rehabilitation/js/moreplan.js

@ -97,14 +97,11 @@ layui.use('element', function () {
                        var ishospitalName = val[i].hospitalName
                        for (var i = 0; i < val.length; i++){
                            var isOperator=val[i].isOperator
                            console.log(isOperator)
                            if (isOperator==0) {
                                console.log('aa')
                                $("#stopBtn_" + val[i].planId).attr('disabled', 'true')
                                $("#stopBtn_" + val[i].planId).css("pointer-events", "none")
                               
                                    // $(".ii_"+val[i].patientCode).attr('disabled', 'true')
                                    // $(".ii_"+val[i].patientCode).css("pointer-events", "none");
                                $("#stopBtn_" + val[i].planId).css("color","#999999")
                                    
                            }
                        if (ishospitalName == null) {
@ -139,15 +136,10 @@ layui.use('element', function () {
                }
                })
            },
            patientlist:function(val){
                this.$nextTick(function () {
                  
                })
            }
           
        },
        mounted() {
            var vm = this
@ -188,13 +180,15 @@ layui.use('element', function () {
                        vm.name = res.data.patientName
                        vm.sex = res.data.sex
                        vm.age = res.data.age
                        vm.patientlist=res.data
                        vm.patientPhoto = res.data.patientPhoto
                        vm.hospital = res.data.hospitalName
                        vm.patientlist=res.data
                        vm.docInfo = JSON.parse(window.localStorage.getItem('wlyyAgent'))
                        console.log(res.data.length)
                        for(var i=0;i<res.data.length;i++){
                            vm.diseaseList = res.data[i].diseaseList
                        //  vm.diseaseList = res.data[i].diseaseList
                        vm.tablelist = _.sortBy(res.data[i].rehabilitationPlanList, "patientName")
                        console.log(vm.diseaseList)
                        }