liangweifeng 6 éve
szülő
commit
e12d631b98

BIN
page/bigDataOut/css/images/combo_icon.png


BIN
page/bigDataOut/css/images/combo_over_icon.png


BIN
page/bigDataOut/css/images/common/loading.gif


BIN
page/bigDataOut/css/images/layout/panel-header2.gif


+ 1 - 0
page/bigDataOut/css/zidian.css

@ -31,6 +31,7 @@ html {
    margin: 0;
    padding: 0;
    height: 100%;
    height: 615px;
}
.el-menu {

+ 4 - 4
page/bigDataOut/html/zidian.html

@ -102,8 +102,8 @@
                    var vm = this;
                    var params = {
                        code: this.code,
                        size: 15,
                        page: 1
                        size: this.currentPage*this.pageSize,
                        page: this.pageSize
                    }
                    if (this.searchKey) {
                        params.filters = "code?" + this.searchKey + " ;hashCode?" + this.searchKey + ";desc?" + this.searchKey
@ -114,8 +114,8 @@
                    bigDataOutApi.lastDictItem(params).then(function (res) {
                        console.log(res)
                        GlobalEventBus.$emit('setLoading');
                        vm.tableData = res;
                        vm.total = res.length;
                        vm.tableData = res.detailModelList;
                        vm.total = res.totalCount;
                    }).catch(function (err) {
                        console.log(err)

+ 6 - 6
page/bigDataOut/js/handleChangeViewA.js

@ -30,8 +30,8 @@ Vue.component('comA', {
           </el-table>\
           <div class="flex f_y_c f_x_e">\
           <el-pagination @size-change="handleSizeChange" background @current-change="handleCurrentChange" :current-page="currentPage"\
           :page-sizes="[2,10, 20, 40]" :page-size="pageSize" layout="total,sizes,prev, pager, next, jumper"\
           :total="tableData.length">\
           :page-sizes=" pageSizeArr" :page-size="pageSize" layout="total,sizes,prev, pager, next, jumper"\
           :total="total">\
           </el-pagination>\
       </div>\
    </template>\
@ -44,6 +44,7 @@ Vue.component('comA', {
            pageSizeArr: [10, 20, 30, 50],
            total: 0,
            value4: new Date(),
        }
    },
@ -71,8 +72,8 @@ Vue.component('comA', {
            var vm = this;
            var params = {
                time: this.value4.format('yyyy-MM-dd'),
                size: 15,
                page: 1,
                size: this.pageSize*this.currentPage,
                page: this.currentPage
            }
            GlobalEventBus.$emit('setLoading', {
                loading: true
@ -81,8 +82,7 @@ Vue.component('comA', {
                console.log(res)
                GlobalEventBus.$emit('setLoading');
                vm.tableData = res.detailModelList;
                debugger
                vm.total = res.detailModelList.length;
                vm.total = res.totalCount;
            }).catch(function (err) {
                console.log(err)
                GlobalEventBus.$emit('setLoading');

+ 5 - 5
page/bigDataOut/js/handleChangeViewB.js

@ -48,8 +48,8 @@ Vue.component('comB', {
                </el-table>\
                <div class="flex f_y_c f_x_e">\
                <el-pagination @size-change="handleSizeChange" background @current-change="handleCurrentChange" :current-page="currentPage"\
                :page-sizes="[2,10, 20, 40]" :page-size="pageSize" layout="total,sizes,prev, pager, next, jumper"\
                :total="tableData.length">\
                :page-sizes=" pageSizeArr" :page-size="pageSize" layout="total,sizes,prev, pager, next, jumper"\
                :total="total">\
                </el-pagination>\
            </div>\
        </template>\
@ -172,8 +172,8 @@ Vue.component('comB', {
                eventType: this.eventType,
                hosLevel: this.level,
                hosHierarchy: this.hos,
                size: 15,
                page: 1,
                size: this.pageSize*this.currentPage,
                page: this.currentPage
            }
            GlobalEventBus.$emit('setLoading', {
                loading: true
@ -182,7 +182,7 @@ Vue.component('comB', {
                console.log(res)
                GlobalEventBus.$emit('setLoading');
                vm.tableData = res.detailModelList;
                vm.total = res.detailModelList.length;
                vm.total = res.totalCount;
                var obj = res.obj;
                vm.getFeiYongStr(obj)
                console.log(obj)

+ 8 - 8
page/bigDataOut/js/handleChangeViewC.js

@ -39,8 +39,8 @@ Vue.component('comC', {
    </el-table>\
    <div class="flex f_y_c f_x_e">\
        <el-pagination @size-change="handleSizeChange" background @current-change="handleCurrentChange" :current-page="currentPage"\
        :page-sizes="[2,10, 20, 40]" :page-size="pageSize" layout="total,sizes,prev, pager, next, jumper"\
        :total="tableData.length">\
        :page-sizes=" pageSizeArr" :page-size="pageSize" layout="total,sizes,prev, pager, next, jumper"\
        :total="total">\
        </el-pagination>\
    </div>\
</template>\
@ -83,8 +83,8 @@ Vue.component('comC', {
            var vm = this;
            var params = {
                month: this.value4.format('yyyy-MM'),
                size: 15,
                page: 1,
                size: this.pageSize*this.currentPage,
                page: this.currentPage,
                inspect: this.inspect,
            }
            GlobalEventBus.$emit('setLoading', {
@ -94,7 +94,7 @@ Vue.component('comC', {
                console.log(res)
                GlobalEventBus.$emit('setLoading');
                vm.tableData = res.detailModelList;
                vm.total = res.detailModelList.length;
                vm.total = res.totalCount;
            }).catch(function (err) {
                console.log(err)
@ -105,7 +105,7 @@ Vue.component('comC', {
            var it = this;
            var params = {
                code: "STD_LAB_EXAM_TYPE",
                size: 15,
                size: 20,
                page: 1
            }
            GlobalEventBus.$emit('setLoading', {
@ -146,8 +146,8 @@ Vue.component('comC', {
        handleZidian: function () {
            var url = '../html/zidian.html'
            console.log(url)
            var width = (0.5212 * window.screen.width) + 'px';
            var height = (0.6528 * window.screen.height) + 'px';
            var width = 1000 + 'px';
            var height = 600 + 'px';
            top.layer.open({
                id: 'Lay_zidian',
                type: 2,

+ 14 - 15
page/bigDataOut/js/handleChangeViewD.js

@ -2,9 +2,9 @@ Vue.component('comD', {
    template: ' <div class="tab4">\
    <template>\
      <span>就诊时间:</span>    \
      <el-date-picker v-model="value1" type="date" 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 v-model="value2" type="date" placeholder="选择日期" >\
      </el-date-picker>\
      <span>药品名称:</span>    \
      <div class="modelSearch" >\
@ -14,7 +14,7 @@ Vue.component('comD', {
      </div>\
        <a href="#" @click="handleZidian">  查看药品字典  </a>\
        <span>就诊类型:</span>  \
                      <el-select v-model="eventType" placeholder="请选择">\
                      <el-select v-model="eventType" class="inputbox" placeholder="请选择">\
                            <el-option v-for="item in event_type" :key="item.code" :label="item.name" :value="item.code">\
                            </el-option>\
                      </el-select>\
@ -45,8 +45,8 @@ Vue.component('comD', {
    </el-table>\
    <div class="flex f_y_c f_x_e">\
    <el-pagination @size-change="handleSizeChange" background @current-change="handleCurrentChange" :current-page="currentPage"\
    :page-sizes="[2,10, 20, 40]" :page-size="pageSize" layout="total,sizes,prev, pager, next, jumper"\
    :total="tableData.length">\
    :page-sizes=" pageSizeArr" :page-size="pageSize" layout="total,sizes,prev, pager, next, jumper"\
    :total="total">\
    </el-pagination>\
</div>\
</template>\
@ -93,22 +93,20 @@ Vue.component('comD', {
            this.getData()
        },
        searchClick: function () {
            console.log(this.eventType)
            console.log(this.drugName)
            this.initData()
        },
        formInit: function () {
            debugger
            var url = httpRequest.server + '/gateway/hos-admin/api/v1.0/standardCenter/lastDictItem/list'
            $("#dataArr").customCombo(url, {
                token: sessionStorage.asstoken,
                tenant_name: 'jkzl',
                code: "STD_MEDICINE",
            }, false, false, false, {
            
                    valueField: "id",//id
                    textField: 'value',//name
            
                    conditionSearchClick: function (g) {
                        var searchParm = g.rules.length > 0 ? g.rules[0].value : '';
                        var parms = g.grid.get("parms");
@ -137,8 +135,8 @@ Vue.component('comD', {
                end: this.value2.format('yyyy-MM-dd'),
                drugName: this.drugName,
                eventType: this.eventType,
                size: 15,
                page: 1,
                size: this.pageSize * this.currentPage,
                page: this.currentPage
            }
            GlobalEventBus.$emit('setLoading', {
                loading: true
@ -147,11 +145,12 @@ Vue.component('comD', {
                console.log(res)
                GlobalEventBus.$emit('setLoading');
                vm.tableData = res.detailModelList;
                vm.total = res.detailModelList.length;
                vm.tableData = vm.tableData.map(function (item) {
                    item.event_date = new Date(item.event_date).format('yyyy-MM-dd hh:mm:ss')
                    return item;
                })
                vm.total = res.totalCount;
            }).catch(function (err) {
                console.log(err)
                GlobalEventBus.$emit('setLoading');
@ -166,7 +165,7 @@ Vue.component('comD', {
                'healthProblemName=' + '&demographic_id=' + demographic_id + '&medication=' + medication + '&eventdate=' + eventdate
            console.log(url)
            var width = 1000 + 'px';
            var height = 600+ 'px';
            var height = 600 + 'px';
            top.layer.open({
                id: 'Lay_xiangqingD',
                type: 2,
@ -181,8 +180,8 @@ Vue.component('comD', {
        handleZidian: function () {
            var url = '../html/zidian.html'
            console.log(url)
            var width = (0.5212 * window.screen.width) + 'px';
            var height = (0.6528 * window.screen.height) + 'px';
            var width = 1000 + 'px';
            var height = 600 + 'px';
            top.layer.open({
                id: 'Lay_zidian',
                type: 2,