liangweifeng 6 years ago
parent
commit
ddc636572a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      page/bigDataOut/js/handleChangeViewD.js

+ 2 - 2
page/bigDataOut/js/handleChangeViewD.js

@ -149,7 +149,7 @@ Vue.component('comD', {
                vm.tableData = res.detailModelList;
                vm.tableData = res.detailModelList;
                vm.total = res.detailModelList.length;
                vm.total = res.detailModelList.length;
                vm.tableData = vm.tableData.map(function (item) {
                vm.tableData = vm.tableData.map(function (item) {
                    item.event_date = new Date(item.event_date).format('yyyy-MM-dd-hh-mm-ss')
                    item.event_date = new Date(item.event_date).format('yyyy-MM-dd hh:mm:ss')
                    return item;
                    return item;
                })
                })
            }).catch(function (err) {
            }).catch(function (err) {
@ -161,7 +161,7 @@ Vue.component('comD', {
            console.log(row)
            console.log(row)
            demographic_id = row.demographic_id,
            demographic_id = row.demographic_id,
                medication = row.HDSD00_04_023,
                medication = row.HDSD00_04_023,
                eventdate = row.event_date
                eventdate = new Date(row.event_date).format('yyyy-MM-ddThh:mm:ssZ')
            var url = httpRequest.server + '/profile/app/medication/html/medication.html?' +
            var url = httpRequest.server + '/profile/app/medication/html/medication.html?' +
                'healthProblemName=' + '&demographic_id=' + demographic_id + '&medication=' + medication + '&eventdate=' + eventdate
                'healthProblemName=' + '&demographic_id=' + demographic_id + '&medication=' + medication + '&eventdate=' + eventdate
            console.log(url)
            console.log(url)