chenyue 5 年之前
父节点
当前提交
6a07c196c5

+ 2 - 1
app/statistics/css/common.css

@ -916,7 +916,8 @@ body .el-table th.gutter{
	height: 50px;
    font-size: 16px;
    padding-left:15px;
    padding-right:15px;
    padding-right:15px;    
    word-break: break-all;
}
.table-panel th{
	text-align: center;

+ 2 - 2
app/statistics/html/smfw-comprehensive-analysis.html

@ -109,11 +109,11 @@
							    </el-radio-group>
		            		</div>
		            	</div>
		            	<div  v-show="ptab=='1'" style="overflow:auto;height: 417px;" v-loading="tableParams[2].isloading">
		            	<div  v-show="ptab=='1'" style="overflow-y:scroll;height: 417px;" v-loading="tableParams[2].isloading">
			    			<table-panel ref="tableRef2"  :tabledata="itemList" :hastopbar="true" :cantclick="true"></table-panel>
			            	<div v-if="!tableParams[2].noMore" class="c-border-l c-border-r c-border-b ptb8 mlr25 c-t-center mb40 c-f16" style="margin-top: -40px;cursor: pointer;" @click="loadTableData(2)">查看更多</div>
		            	</div>
		            	<div  v-show="ptab=='2'" style="overflow:auto;height: 417px;" v-loading="tableParams[1].isloading">
		            	<div  v-show="ptab=='2'" style="overflow-y:scroll;height: 417px;" v-loading="tableParams[1].isloading">
			    			<table-panel ref="tableRef3"  :tabledata="drugList" :hastopbar="true" :cantclick="true"></table-panel>
			            	<div v-if="!tableParams[1].noMore" class="c-border-l c-border-r c-border-b ptb8 mlr25 c-t-center mb40 c-f16" style="margin-top: -40px;cursor: pointer;" @click="loadTableData(1)">查看更多</div>
		            	</div>

+ 2 - 2
app/statistics/js/smfw-comprehensive-analysis.js

@ -171,11 +171,11 @@ new Vue({
			})
			vm.$refs.tableRef2.initTable({
				//表格表头
				headers:[{thead:"服务项目",param:"name",canclick:true},{thead:"使用人数(人)",param:"patientCount"},{thead:"工单量(个)",param:"orderCount"}],
				headers:[{thead:"服务项目",param:"name",canclick:true,style:{width:'260px'}},{thead:"使用人数(人)",param:"patientCount"},{thead:"工单量(个)",param:"orderCount"}],
			})
			vm.$refs.tableRef3.initTable({
				//表格表头
				headers:[{thead:"药品",param:"name",canclick:true},{thead:"使用人数(人)",param:"patientCount"},{thead:"工单量(个)",param:"orderCount"}],
				headers:[{thead:"药品",param:"name",canclick:true,style:{width:'260px'}},{thead:"使用人数(人)",param:"patientCount"},{thead:"工单量(个)",param:"orderCount"}],
			})
			vm.$refs.tableRef0.initTable({
    			tabList:[{name:"各区",level:"4",lowlevel:"3",isShow:true},{name:"社区",level:"3",lowlevel:"2",isShow:true},{name:"团队",level:"2",lowlevel:"1",isShow:true}],

+ 2 - 2
component/statistics/table-panel.js

@ -10,8 +10,8 @@
    		<div class="ptb20 plr25">\
    			<table class="table-content table-bordered table-striped mb20" id="listTable">\
	                <thead><tr>\
	                	<th class="c-t-center" v-if="firstTh">{{firstTh}}</th>\
	                    <th v-for="(th,i) in headers" :key="i" :class="i>=2?\'c-t-right\':\'\'">{{th.thead}}\
	                	<th class="c-t-center" v-if="firstTh" style="width:50px;">{{firstTh}}</th>\
	                    <th v-for="(th,i) in headers" :key="i" :class="i>=2?\'c-t-right\':\'\'"  :style="th.style">{{th.thead}}\
	                    	<el-tooltip class="item" effect="dark" :content="th.tip" placement="top" v-if="th.tip">\
						      <img class="c-position-a tip" src="../../../images/icon_wenhao2.png" alt="" style="top: 13px;left:70px;">\
						    </el-tooltip>\