瀏覽代碼

医保控费

liangweifeng 6 年之前
父節點
當前提交
817365b4dc

+ 5 - 9
page/bigDataOut/css/tableChange.css

@ -98,7 +98,7 @@ body {
}
.modelSearch .el-input__inner {
    width: 200px;
    width: 180px;
    height: 30px;
}
@ -107,16 +107,12 @@ a {
    margin-right: 15px;
    margin-bottom: 15px;
}
.tab4 .el-icon-date{
    position: relative;
    top: 0;
    left: 5px;
.tab4 .el-input .el-input__inner{
 height: 35px;
}
.tab4 .el-range-editor.el-input__inner {
.tab4 input.el-input {
    height: 35px;
    padding: 0;
    width: 200px; 
    /* width: 200px; */
}
 .el-date-editor.el-input, .el-date-editor.el-input__inner{
    width: 140px;

+ 1 - 1
page/bigDataOut/html/tableChange.html

@ -16,7 +16,7 @@
            <template>
                <el-radio-group v-model="tabPosition" style="margin-bottom: 30px;" class="tabNav">
                    <el-radio-button label="top" @click.native='handleChangeView("A")'>频繁就医</el-radio-button>
                    <el-radio-button label="right" @click.native='handleChangeView("B")'>高额费用</el-radio-button>
                    <el-radio-button label="right" @click.native='handleChangeView("B")'>超高费用</el-radio-button>
                    <el-radio-button label="bottom" @click.native='handleChangeView("C")'>重复检查检验</el-radio-button>
                    <el-radio-button label="left" @click.native='handleChangeView("D")'>用药分析</el-radio-button>
                </el-radio-group>

+ 16 - 5
page/bigDataOut/js/handleChangeViewA.js

@ -77,9 +77,9 @@ Vue.component('comA', {
                size: 15,
                page: 1,
            }
            // GlobalEventBus.$emit('setLoading', {
            //     loading: true
            // }); //等待效果
            GlobalEventBus.$emit('setLoading', {
                loading: true
            }); //等待效果
            bigDataOutApi.getOftenIllList(params).then(function (res) {
                console.log(res)
                GlobalEventBus.$emit('setLoading');
@ -94,11 +94,22 @@ Vue.component('comA', {
            demographic_id=row.demographic_id,
            blurry_type='',
            searchParam=''
            debugger
            var url =  httpRequest.server+'/profile/app/medication/html/jiuzhen-item.html?'+
            'healthProblemName='+'&demographic_id='+demographic_id+'&blurry_type='+blurry_type+'&searchParam='+searchParam
            console.log(url)
           window.open(url)
        //    window.open(url)
        var width=(0.5212*window.screen.width)+'px';
        var height=(0.7878*window.screen.height)+'px';
        top.layer.open({
            id:'Lay_xiangqing',
            type:2,
            title:false,
            closeBtn:0,
            shade:0.5,
            shadeClose:true,
            area:[width,height],
            content:url
        })
        }
    }
})

+ 20 - 2
page/bigDataOut/js/handleChangeViewB.js

@ -107,8 +107,26 @@ Vue.component('comB', {
        this.getData()
    },
    methods: {
        handleClick: function (row) {
            console.log(row);
        handleClick:function(row) {
            demographic_id=row.demographic_id,
            blurry_type=row.eventType,
            searchParam=''
            var url =  httpRequest.server+'/profile/app/medication/html/jiuzhen-item.html?'+
            'healthProblemName='+'&demographic_id='+demographic_id+'&blurry_type='+blurry_type+'&searchParam='+searchParam
            console.log(url)
        //    window.open(url)
        var width=(0.5212*window.screen.width)+'px';
        var height=(0.7878*window.screen.height)+'px';
        top.layer.open({
            id:'Lay_xiangqing',
            type:2,
            title:false,
            closeBtn:0,
            shade:0.5,
            shadeClose:true,
            area:[width,height],
            content:url
        })
        },
        selectChange(value) {
            console.log(value);

+ 23 - 5
page/bigDataOut/js/handleChangeViewC.js

@ -80,9 +80,9 @@ methods: {
            page: 1,
            inspect:8,
        }
        // GlobalEventBus.$emit('setLoading', {
        //     loading: true
        // }); //等待效果
        GlobalEventBus.$emit('setLoading', {
            loading: true
        }); //等待效果
        bigDataOutApi.getRepeateInspectList(params).then(function (res) {
            console.log(res)
            GlobalEventBus.$emit('setLoading');
@ -93,8 +93,26 @@ methods: {
            GlobalEventBus.$emit('setLoading');
        })
    },
    handleClick:function() {
        console.log(row);
    handleClick:function(row) {
        demographic_id=row.demographic_id,
        blurry_type='',
        searchParam=''
        var url =  httpRequest.server+'/profile/app/medication/html/jiuzhen-item.html?'+
        'healthProblemName='+'&demographic_id='+demographic_id+'&blurry_type='+blurry_type+'&searchParam='+searchParam
        console.log(url)
    //    window.open(url)
    var width=(0.5212*window.screen.width)+'px';
    var height=(0.7878*window.screen.height)+'px';
    top.layer.open({
        id:'Lay_xiangqing',
        type:2,
        title:false,
        closeBtn:0,
        shade:0.5,
        shadeClose:true,
        area:[width,height],
        content:url
    })
    }
}
})

+ 31 - 10
page/bigDataOut/js/handleChangeViewD.js

@ -2,11 +2,13 @@ Vue.component('comD',{
    template:' <div class="tab4">\
    <template>\
      <span>就诊时间:</span>    \
      <el-date-picker v-model="value6"type="daterange" range-separator="至" start-placeholder="开始日期"end-placeholder="结束日期">\
      <el-date-picker v-model="value1" type="date" placeholder="选择日期">\
      </el-date-picker>\
      <el-date-picker v-model="value2" type="date" placeholder="选择日期">\
      </el-date-picker>\
      <span>药品名称:</span>    \
      <div class="modelSearch" >\
      <el-input paceholder="请输入药品名称"  v-model="drugName" clearable>\
      <el-input paceholder="请输入药品名称"  v-model="drugName">\
      </el-input>\
      </div>\
        <a href="">  查看药品字典  </a>\
@ -71,7 +73,8 @@ Vue.component('comD',{
                "code": '1',
                "name": '住院'
            }],
              value6: '',
              value1: new Date(getLastMonthStartDate()),
              value2:new Date(getLastMonthEndDate()),
              drugName:'',
            eventType: '0',
@ -104,16 +107,16 @@ Vue.component('comD',{
            var vm = this;
            debugger
            var params = {
               start:'2018-08-01',
               end:'2018-08-31',
               start:this.value1.format('yyyy-MM-dd'),
               end:this.value2.format('yyyy-MM-dd'),
               drugName:this.drugName,
               eventType:this.eventType,
               size:15,
               page:1,
            }
            // GlobalEventBus.$emit('setLoading', {
            //     loading: true
            // }); //缓存效果
            GlobalEventBus.$emit('setLoading', {
                loading: true
            }); //缓存效果
            bigDataOutApi.drugAnalysis(params).then(function (res) {
                console.log(res)
                GlobalEventBus.$emit('setLoading');
@ -124,8 +127,26 @@ Vue.component('comD',{
                GlobalEventBus.$emit('setLoading');
            })
        },
        handleClick:function() {
            console.log(row);
        handleClick:function(row) {
            demographic_id=row.demographic_id,
            blurry_type='',
            searchParam=''
            var url =  httpRequest.server+'/profile/app/medication/html/jiuzhen-item.html?'+
            'healthProblemName='+'&demographic_id='+demographic_id+'&blurry_type='+blurry_type+'&searchParam='+searchParam
            console.log(url)
        //    window.open(url)
        var width=(0.5212*window.screen.width)+'px';
        var height=(0.7878*window.screen.height)+'px';
        top.layer.open({
            id:'Lay_xiangqing',
            type:2,
            title:false,
            closeBtn:0,
            shade:0.5,
            shadeClose:true,
            area:[width,height],
            content:url
        })
        }
    }
})