Commit 9ca4dd8a authored by danfuman's avatar danfuman

修改

parent 1f742afe
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
@sort-change="sortChange" @sort-change="sortChange"
highlight-current-row highlight-current-row
> >
<el-table-column prop="name" label="项目类型" width="150" /> <el-table-column prop="name" label="项目类型" width="160"/>
<el-table-column prop="number" label="项目个数" sortable="custom" width="140" /> <el-table-column prop="number" label="项目个数" align="right" sortable="custom" width="160" />
<el-table-column prop="value" label="投资额(亿元)" sortable="custom" width="140" /> <el-table-column prop="value" label="投资额(亿元)" align="right" sortable="custom" width="160" />
<el-table-column prop="proportion" label="比例(%)" width="140" sortable="custom" /> <el-table-column prop="proportion" label="比例(%)" align="right" width="160" sortable="custom" />
</el-table> </el-table>
</div> </div>
</div> </div>
...@@ -311,6 +311,34 @@ export default { ...@@ -311,6 +311,34 @@ export default {
.box-right{ .box-right{
float: right; float: right;
::v-deep .el-table{ ::v-deep .el-table{
.sort-caret.ascending{
border-bottom-color: rgba(0,129,255,0.5);
}
.ascending .sort-caret.ascending{
border-bottom-color: #0081FF;
}
.sort-caret.descending{
border-top-color: rgba(0,129,255,0.5);
}
.descending .sort-caret.descending{
border-top-color: #0081FF;
}
.el-table__header-wrapper{
background: #F0F3FA;
th{
background: #F0F3FA;
/*text-align: left;*/
}
}
.el-table__footer-wrapper{
background: #F0F3FA;
}
.el-table__fixed-header-wrapper{
th{
background: #F0F3FA;
}
}
td.el-table__cell{ td.el-table__cell{
border-bottom: 0; border-bottom: 0;
} }
...@@ -351,8 +379,22 @@ export default { ...@@ -351,8 +379,22 @@ export default {
background: #566380; background: #566380;
} }
} }
.gutter{ .has-gutter{
background: #f8f8f9; tr{
th:nth-child(4){
border-right:0;
}
}
}
.el-table__cell.gutter{
background: #F0F3FA;
}
.el-table__row{
td:last-child{
.cell{
padding-right: 12px !important;
}
}
} }
} }
} }
......
...@@ -259,6 +259,7 @@ ...@@ -259,6 +259,7 @@
import {encodeStr} from "@/assets/js/common.js" import {encodeStr} from "@/assets/js/common.js"
import dataRegion from '@/assets/json/dataRegion' import dataRegion from '@/assets/json/dataRegion'
import { uipGroupData,urbanInvestmentPage,urbanInvestmentStatistics,claim } from '@/api/macro/macro' import { uipGroupData,urbanInvestmentPage,urbanInvestmentStatistics,claim } from '@/api/macro/macro'
import { infoHeader } from '@/api/detail/party-a/index'
export default { export default {
name: 'Urban', name: 'Urban',
data() { data() {
...@@ -278,7 +279,7 @@ export default { ...@@ -278,7 +279,7 @@ export default {
tableData:[], tableData:[],
tableLoading: false, tableLoading: false,
pageIndex: 1, pageIndex: 1,
pageSize: 10, pageSize: 20,
tableDataTotal: null, tableDataTotal: null,
selected:[], selected:[],
xzdjCalss:'', xzdjCalss:'',
...@@ -587,12 +588,33 @@ export default { ...@@ -587,12 +588,33 @@ export default {
}); });
}, },
handleClick(item){ handleClick(item){
this.companyId=item.companyId this.companyId=item.companyId;
claim({uipId:item.uipId,companyName:item.companyName}).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){
this.claimVisible=true; let params={
this.customerId=res.data.customerId; uipId:item.uipId,
this.querySubmit() companyName:item.companyName,
companyId:item.companyId,
creditLevel:item.bratingSubjectLevel,
legalPerson:res.data.corporatePerson,
registerCapital:res.data.regCapital,
provinceId:res.data.provinceId || '',
cityId:res.data.cityId || '',
districtId:res.data.districtCode || '',
registerAddress:res.data.provinceName+res.data.provinceName?'-'+res.data.cityName:''+res.data.cityName+'-'+res.data.districtName,
creditCode:res.data.creditCode,
}
claim(params).then(res => {
if(res.code === 200){
this.claimVisible=true;
this.customerId=res.data.customerId;
this.querySubmit()
}
})
} }
}) })
}, },
......
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