forked from kidgrow-microservices-platform

zhaoxiaohao
2021-03-03 f5df017deac69032a31b6f637c3ce80cd1c414cb
将查看套餐的开始时间和结束时间与h端对应
2 files modified
17 ■■■■ changed files
kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/contract.html 8 ●●●● patch | view | raw | blame | history
kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/hospital.html 9 ●●●●● patch | view | raw | blame | history
kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/contract.html
@@ -181,12 +181,16 @@
                            },
                            {
                                field: 'proBegintime', width: 150, title: '开始时间', templet: function (d) {
                                    return new Date(d.proBegintime).dateFormat("yyyy/MM/dd");
                                    return new Date(d.proBegintime).dateFormat("yyyy/MM/dd hh:mm:ss");
                                }
                            },
                            {
                                field: 'proEndtime', width: 180, title: '结束时间', templet: function (d) {
                                    return new Date(d.proEndtime).dateFormat("yyyy/MM/dd");
                                    var dateTime=new Date(d.proEndtime);
                                         dateTime=dateTime.setDate(dateTime.getDate()-1);
                                        dateTime=new Date(dateTime);
                                        return dateTime
                                            .dateFormat("yyyy/MM/dd")+" 24:00:00";
                                }
                            },
                            { field: 'createTime', width: 160, sort: true, title: '创建时间' }
kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/hospital.html
@@ -400,7 +400,7 @@
                                    title: '开始时间',
                                    templet: function (d) {
                                        return new Date(d.proBegintime)
                                            .dateFormat("yyyy/MM/dd");
                                            .dateFormat("yyyy/MM/dd hh:mm:ss");
                                    }
                                },
                                {
@@ -408,8 +408,11 @@
                                    width: 180,
                                    title: '结束时间',
                                    templet: function (d) {
                                        return new Date(d.proEndtime)
                                            .dateFormat("yyyy/MM/dd");
                                        var dateTime=new Date(d.proEndtime);
                                         dateTime=dateTime.setDate(dateTime.getDate()-1);
                                        dateTime=new Date(dateTime);
                                        return dateTime
                                            .dateFormat("yyyy/MM/dd")+" 24:00:00";
                                    }
                                },
                                {