Commit c5cf0bca authored by danfuman's avatar danfuman

修改

parent cb8f89f8
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
border border
highlight-current-row highlight-current-row
@sort-change="sortChange" @sort-change="sortChange"
:default-sort = "{prop: 'gdp', order: 'descending'}"
> >
<el-table-column prop="province" label="下辖区" width="170" :formatter="formatStatus" fixed> <el-table-column prop="province" label="下辖区" width="170" :formatter="formatStatus" fixed>
<!--<template slot-scope="scope">--> <!--<template slot-scope="scope">-->
......
...@@ -33,11 +33,12 @@ ...@@ -33,11 +33,12 @@
@sort-change="sortChange" @sort-change="sortChange"
highlight-current-row highlight-current-row
v-if="tableDataTotal > 0" v-if="tableDataTotal > 0"
:default-sort = "{prop: 'skyCount', order: 'descending'}"
> >
<el-table-column label="序号" width="60" align="left" fixed> <el-table-column label="序号" width="60" align="left" fixed>
<template slot-scope="scope">{{ pageIndex * pageSize - pageSize + scope.$index + 1 }}</template> <template slot-scope="scope">{{ pageIndex * pageSize - pageSize + scope.$index + 1 }}</template>
</el-table-column> </el-table-column>
<el-table-column label="公司名称" align="left" fixed width="300"> <el-table-column label="公司名称" align="left" fixed width="350">
<template slot-scope="scope"> <template slot-scope="scope">
<router-link v-if="scope.row.jskEid" :to="`/company/${encodeStr(scope.row.jskEid)}`" tag="a" class="a-link" v-html="scope.row.name" ></router-link> <router-link v-if="scope.row.jskEid" :to="`/company/${encodeStr(scope.row.jskEid)}`" tag="a" class="a-link" v-html="scope.row.name" ></router-link>
<span v-else v-html="scope.row.name" ></span> <span v-else v-html="scope.row.name" ></span>
...@@ -54,8 +55,8 @@ ...@@ -54,8 +55,8 @@
<el-table-column label="水利业绩" prop="waterConservancy" sortable="custom" width="100" :formatter="formatStatus"/> <el-table-column label="水利业绩" prop="waterConservancy" sortable="custom" width="100" :formatter="formatStatus"/>
<el-table-column label="常合作业主" prop="topCustomer" width="150" :formatter="formatStatus"/> <el-table-column label="常合作业主" prop="topCustomer" width="150" :formatter="formatStatus"/>
<el-table-column label="客户(个)" prop="customerCount" sortable="custom" width="120" :formatter="formatStatus"/> <el-table-column label="客户(个)" prop="customerCount" sortable="custom" width="120" :formatter="formatStatus"/>
<el-table-column label="供应商(个)" prop="supplierCount" sortable="custom" :formatter="formatStatus"/> <el-table-column label="供应商(个)" prop="supplierCount" sortable="custom" width="150" :formatter="formatStatus"/>
<el-table-column label="常合作供应商" prop="topSupplier" width="150" :formatter="formatStatus"/> <el-table-column label="常合作供应商" prop="topSupplier" width="200" :formatter="formatStatus"/>
</el-table> </el-table>
<div class="empty" v-if="tableDataTotal === 0"> <div class="empty" v-if="tableDataTotal === 0">
<img class="img" src="@/assets/images/project/empty.png"> <img class="img" src="@/assets/images/project/empty.png">
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
fit fit
@sort-change="sortChange" @sort-change="sortChange"
highlight-current-row highlight-current-row
:default-sort = "{prop: 'value', order: 'descending'}"
> >
<el-table-column prop="name" label="项目类型" width="160"/> <el-table-column prop="name" label="项目类型" width="160"/>
<el-table-column prop="number" label="项目个数" align="right" sortable="custom" width="160" /> <el-table-column prop="number" label="项目个数" align="right" sortable="custom" width="160" />
...@@ -43,6 +44,7 @@ ...@@ -43,6 +44,7 @@
border border
fit fit
highlight-current-row highlight-current-row
:default-sort = "{prop: 'projectTotalInvestment', order: 'descending'}"
> >
<el-table-column label="序号" width="55" align="left" fixed> <el-table-column label="序号" width="55" align="left" fixed>
<template slot-scope="scope">{{ pageIndex * pageSize - pageSize + scope.$index + 1 }}</template> <template slot-scope="scope">{{ pageIndex * pageSize - pageSize + scope.$index + 1 }}</template>
...@@ -334,6 +336,15 @@ export default { ...@@ -334,6 +336,15 @@ export default {
.el-table__footer-wrapper{ .el-table__footer-wrapper{
background: #F0F3FA; background: #F0F3FA;
} }
th {
font-size: 13px !important;
font-weight: 400 !important;
}
.cell {
padding-right: 12px !important;
padding-left: 12px !important;
line-height: 18px;
}
.el-table__fixed-header-wrapper{ .el-table__fixed-header-wrapper{
th{ th{
background: #F0F3FA; background: #F0F3FA;
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
fit fit
highlight-current-row highlight-current-row
v-if="tableDataTotal > 0" v-if="tableDataTotal > 0"
:default-sort = "{prop: 'gdp', order: 'descending'}"
> >
<el-table-column label="序号" width="60" align="left" fixed> <el-table-column label="序号" width="60" align="left" fixed>
<template slot-scope="scope">{{ pageIndex * pageSize - pageSize + scope.$index + 1 }}</template> <template slot-scope="scope">{{ pageIndex * pageSize - pageSize + scope.$index + 1 }}</template>
......
...@@ -152,6 +152,7 @@ ...@@ -152,6 +152,7 @@
border border
fit fit
highlight-current-row highlight-current-row
:default-sort = "{prop: 'bratingSubjectLevel', order: 'descending'}"
> >
<el-table-column label="序号" width="60" align="left" fixed> <el-table-column label="序号" width="60" align="left" fixed>
<template slot-scope="scope">{{ pageIndex * pageSize - pageSize + scope.$index + 1 }}</template> <template slot-scope="scope">{{ pageIndex * pageSize - pageSize + scope.$index + 1 }}</template>
...@@ -590,11 +591,14 @@ export default { ...@@ -590,11 +591,14 @@ export default {
handleClick(item){ handleClick(item){
this.companyId=item.companyId; this.companyId=item.companyId;
infoHeader({companyId:this.companyId}).then(res => { infoHeader({companyId:this.companyId}).then(res => {
console.log(res.data.provinceName+'-'+res.data.cityName+'-'+res.data.districtName)
console.log(res.data.provinceName+res.data.cityName?'-'+res.data.cityName:'')
console.log(res.data.provinceName+res.data.provinceName?'-'+res.data.cityName:''+res.data.cityName+res.data.cityName?'-'+res.data.cityName:'')
return
if(res.code === 200){ if(res.code === 200){
let registerAddress=res.data.provinceName
if(res.data.cityName){
registerAddress=registerAddress+'-'+res.data.cityName
if(res.data.districtName){
registerAddress=registerAddress+'-'+res.data.districtName
}
}
let params={ let params={
uipId:item.uipId, uipId:item.uipId,
companyName:item.companyName, companyName:item.companyName,
...@@ -605,7 +609,7 @@ export default { ...@@ -605,7 +609,7 @@ export default {
provinceId:res.data.provinceId || '', provinceId:res.data.provinceId || '',
cityId:res.data.cityId || '', cityId:res.data.cityId || '',
districtId:res.data.districtCode || '', districtId:res.data.districtCode || '',
registerAddress:res.data.provinceName+res.data.provinceName?'-'+res.data.cityName:''+res.data.cityName+'-'+res.data.districtName, registerAddress:registerAddress,
creditCode:res.data.creditCode, creditCode:res.data.creditCode,
} }
claim(params).then(res => { claim(params).then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment