Browse Source

修改样式

master
KeXuCong 1 month ago
parent
commit
34d5f1d1b7
  1. BIN
      jwtech-pc-page/src/assets/image/人员信息.png
  2. BIN
      jwtech-pc-page/src/assets/image/人员信息_at.png
  3. BIN
      jwtech-pc-page/src/assets/image/动态信用.png
  4. BIN
      jwtech-pc-page/src/assets/image/动态信用_at.png
  5. BIN
      jwtech-pc-page/src/assets/image/工程获奖.png
  6. BIN
      jwtech-pc-page/src/assets/image/工程获奖_at.png
  7. BIN
      jwtech-pc-page/src/assets/image/资质信息.png
  8. BIN
      jwtech-pc-page/src/assets/image/资质信息_at.png
  9. BIN
      jwtech-pc-page/src/assets/image/项目业绩.png
  10. BIN
      jwtech-pc-page/src/assets/image/项目业绩_at.png
  11. 33
      jwtech-pc-page/src/views/enterpriseInformation/components/actionList.vue
  12. 415
      jwtech-pc-page/src/views/enterpriseInformation/components/descriptionsEnterpriseTable.vue
  13. 14
      jwtech-pc-page/src/views/enterpriseInformation/components/lineCredit.vue
  14. 103
      jwtech-pc-page/src/views/enterpriseInformation/components/personalTable.vue
  15. 20
      jwtech-pc-page/src/views/enterpriseInformation/components/proAchievementTable.vue
  16. 6
      jwtech-pc-page/src/views/enterpriseInformation/components/projectAwardTable.vue
  17. 26
      jwtech-pc-page/src/views/enterpriseInformation/components/qualificationTable.vue
  18. 157
      jwtech-pc-page/src/views/enterpriseInformation/components/realTimeCredit.vue
  19. 162
      jwtech-pc-page/src/views/enterpriseInformation/enterpriseInDetail.vue
  20. 2
      jwtech-pc-page/static/config.js

BIN
jwtech-pc-page/src/assets/image/人员信息.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 B

BIN
jwtech-pc-page/src/assets/image/人员信息_at.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

BIN
jwtech-pc-page/src/assets/image/动态信用.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 B

BIN
jwtech-pc-page/src/assets/image/动态信用_at.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

BIN
jwtech-pc-page/src/assets/image/工程获奖.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 555 B

BIN
jwtech-pc-page/src/assets/image/工程获奖_at.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 B

BIN
jwtech-pc-page/src/assets/image/资质信息.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 B

BIN
jwtech-pc-page/src/assets/image/资质信息_at.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 876 B

BIN
jwtech-pc-page/src/assets/image/项目业绩.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

BIN
jwtech-pc-page/src/assets/image/项目业绩_at.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

33
jwtech-pc-page/src/views/enterpriseInformation/components/actionList.vue

@ -1,6 +1,11 @@
<template>
<div class="action-wrap">
<headerImg :title="title" />
<!-- <headerImg :title="title" /> -->
<div class="table-title">
<span>
{{ title }}
</span>
</div>
<el-table :data="tableList" style="width: 100%">
<el-table-column prop="projectName" label="项目名称" width="300">
<template slot-scope="scope">
@ -144,7 +149,31 @@ export default {
</script>
<style lang="less" scoped>
.action-wrap {
padding: 20px;
// padding: 20px;
.table-title {
height: 47px;
line-height: 47px;
background-color: #f6f6f6;
span {
font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 16px;
color: #333333;
font-style: normal;
&::before {
content: "";
display: inline-block;
width: 3px;
height: 16px;
background: #005eb7;
margin-right: 10px;
vertical-align: middle;
}
}
}
/deep/.el-table {
margin-top: 10px;

415
jwtech-pc-page/src/views/enterpriseInformation/components/descriptionsEnterpriseTable.vue

@ -1,136 +1,313 @@
<template>
<div class="descriptions-table">
<el-descriptions class="margin-top" :column="2" border :content-style="rowCenter" :label-style="labelRowCenter">
<el-descriptions-item :label="item.label" v-for="(item, index) in descrData" :key="(item, index)">
{{ item.val }}
</el-descriptions-item>
<el-descriptions-item label="更新时间" span="2">
{{ updateTime }}
</el-descriptions-item>
<el-descriptions-item label="经营范围" span="2">
{{ businessScope }}
</el-descriptions-item>
</el-descriptions>
<div class="descriptions-table">
<div class="title-wrap">
<div class="letf">
<span>{{ firstName }}</span>
</div>
<div class="right">
<div class="top">
<h2 class="name">{{ enterpriseObj.enterpriseName }}</h2>
<span class="status">存续</span>
</div>
<p class="code">
统一社会信用代码{{ enterpriseObj.unifiedSocialCreditCode }}
</p>
</div>
</div>
<!-- 重要提示 -->
<div class="tips">
<div class="tips-title">重要提示</div>
<div class="tips-content">
本平台信用信息来源于基本信息信用承诺资质信息人员信息业绩信息和其他信息等由企事业单位自行申报其真实性有效性由企事业单位负责企事业单位对所填报的信息客任负责不得含有虚假或违规内容
</div>
</div>
<div class="table-wrap">
<div class="table-title">
<span>
基本信息
</span>
</div>
<el-descriptions
class="margin-top"
:column="2"
border
:content-style="rowCenter"
:label-style="labelRowCenter"
>
<el-descriptions-item
:label="item.label"
v-for="(item, index) in descrData"
:key="(item, index)"
>
{{ item.val }}
</el-descriptions-item>
<el-descriptions-item label="更新时间" span="2">
{{ updateTime }}
</el-descriptions-item>
<el-descriptions-item label="经营范围" span="2">
{{ businessScope }}
</el-descriptions-item>
</el-descriptions>
</div>
</div>
</template>
<script>
import { enterpriseInfo } from "@/api/enterpriseInformation"
import { getGuangDong } from "@/api/creditStatistics"
import { enterpriseInfo } from "@/api/enterpriseInformation";
import { getGuangDong } from "@/api/creditStatistics";
export default {
data() {
return {
rowCenter: {
'borderColor': '#DADCE3'
},
labelRowCenter: {
'borderColor': '#DADCE3'
},
enterpriseId: "",
enterpriseObj: {},
descrData: [{
label: "企业名称",
code: "enterpriseName",
val: ""
}, {
label: "投资组成",
code: "investmentComposition",
val: ""
}, {
label: "法定代表人",
code: "legalRepresentative",
val: ""
}, {
label: "成立日期",
code: "establishmentDate",
val: ""
}, {
label: "统一社会信用代码",
code: "unifiedSocialCreditCode",
val: ""
}, {
label: "登记机关",
code: "creditCodeIssuingAuthority",
val: ""
}, {
label: "注册地区",
code: "adcd",
val: ""
}, {
label: "注册地址",
code: "registeredAddress",
val: ""
}, {
label: "注册资本(万元)",
code: "registeredCapital",
val: ""
}, {
label: "实缴注册资本(万元)",
code: "paidRegisteredCapital",
val: ""
},],
updateTime: "",
businessScope: "",
areaList:[]
}
},
mounted() {
this.enterpriseId = this.$route.query.enterpriseId
this.getArea()
},
methods: {
getDetail() {
enterpriseInfo(this.enterpriseId).then(res => {
this.enterpriseObj = res.data.data
for (let key in this.enterpriseObj) {
this.descrData.forEach(item => {
if (key == item.code&&item.code=='adcd') {
item.val = this.getadcd(this.enterpriseObj[key]) || "-"
}else if (key == item.code) {
item.val = this.enterpriseObj[key] || "-"
}
})
}
this.updateTime = this.enterpriseObj.updateTime || "-"
this.businessScope = this.enterpriseObj.businessScope || "-"
})
data() {
return {
rowCenter: {
borderColor: "#DADCE3"
},
labelRowCenter: {
borderColor: "#DADCE3"
},
enterpriseId: "",
enterpriseObj: {},
firstName: "",
descrData: [
// {
// label: "",
// code: "enterpriseName",
// val: ""
// },
{
label: "投资组成",
code: "investmentComposition",
val: ""
},
getArea() {
getGuangDong().then(res => {
this.areaList = res.data.data
this.getDetail()
})
{
label: "法定代表人",
code: "legalRepresentative",
val: ""
},
getadcd(row) {
let adcdText = ""
let adcdCode = row.slice(0, 4) + "00"
this.areaList.forEach(item => {
if (item.xzqhdm == adcdCode) {
adcdText = item.name
}
})
if (adcdText == "") {
adcdText = "省外"
}
return adcdText
{
label: "成立日期",
code: "establishmentDate",
val: ""
},
// {
// label: "",
// code: "unifiedSocialCreditCode",
// val: ""
// },
{
label: "登记机关",
code: "creditCodeIssuingAuthority",
val: ""
},
{
label: "注册地区",
code: "adcd",
val: ""
},
{
label: "注册地址",
code: "registeredAddress",
val: ""
},
{
label: "注册资本(万元)",
code: "registeredCapital",
val: ""
},
{
label: "实缴注册资本(万元)",
code: "paidRegisteredCapital",
val: ""
}
],
updateTime: "",
businessScope: "",
areaList: []
};
},
mounted() {
this.enterpriseId = this.$route.query.enterpriseId;
this.getArea();
},
methods: {
getDetail() {
enterpriseInfo(this.enterpriseId).then(res => {
this.enterpriseObj = res.data.data;
this.firstName = this.enterpriseObj.enterpriseName.trim().split("")[0];
for (let key in this.enterpriseObj) {
this.descrData.forEach(item => {
if (key == item.code && item.code == "adcd") {
item.val = this.getadcd(this.enterpriseObj[key]) || "-";
} else if (key == item.code) {
item.val = this.enterpriseObj[key] || "-";
}
});
}
this.updateTime = this.enterpriseObj.updateTime || "-";
this.businessScope = this.enterpriseObj.businessScope || "-";
});
},
getArea() {
getGuangDong().then(res => {
this.areaList = res.data.data;
this.getDetail();
});
},
getadcd(row) {
let adcdText = "";
let adcdCode = row.slice(0, 4) + "00";
this.areaList.forEach(item => {
if (item.xzqhdm == adcdCode) {
adcdText = item.name;
}
});
if (adcdText == "") {
adcdText = "省外";
}
return adcdText;
}
}
}
};
</script>
<style lang="less" scoped>
.descriptions-table {
/deep/.el-descriptions {
.el-descriptions-item__cell {
padding: 11px 10px;
font-size: 16px;
padding: 20px;
background-color: #ffffff;
border-radius: 8px;
.title-wrap {
display: flex;
.letf {
margin-right: 20px;
span {
display: block;
width: 70px;
height: 70px;
background: #f4faff;
border-radius: 8px;
border: 1px solid rgba(0, 94, 183, 0.3);
text-align: center;
line-height: 70px;
font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 34px;
color: #005eb7;
font-style: normal;
}
}
.right {
padding: 10px 0;
.top {
display: flex;
h2 {
font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 24px;
color: #333333;
line-height: 24px;
text-align: left;
font-style: normal;
margin-bottom: 12px;
}
.status {
margin-left: 10px;
width: 40px;
height: 24px;
background: #f3fff9;
border-radius: 4px;
border: 1px solid rgba(0, 197, 96, 0.5);
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #00c560;
text-align: center;
line-height: 24px;
font-style: normal;
}
}
.code {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #666666;
line-height: 14px;
text-align: left;
font-style: normal;
}
}
}
.tips {
margin-top: 20px;
padding: 20px;
background: #f8fbfe;
border: 1px solid #eff5fb;
.tips-title {
font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 16px;
color: #005eb7;
line-height: 16px;
text-align: left;
font-style: normal;
}
.tips-content {
margin-top: 10px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #666666;
line-height: 20px;
text-align: left;
font-style: normal;
}
}
.table-wrap {
margin-top: 20px;
.table-title {
height: 47px;
line-height: 47px;
background-color: #f6f6f6;
span {
font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 16px;
color: #333333;
font-style: normal;
.el-descriptions-item__label {
background: #EBF4FE;
width: 240px;
font-weight: 600;
color: #005EB7;
padding-left: 21px;
&::before {
content: "";
display: inline-block;
width: 3px;
height: 16px;
background: #005eb7;
margin-right: 10px;
vertical-align: middle;
}
}
}
}
/deep/.el-descriptions {
.el-descriptions-item__cell {
padding: 11px 10px;
font-size: 16px;
}
.el-descriptions-item__label {
background: #ebf4fe;
width: 240px;
font-weight: 600;
color: #005eb7;
padding-left: 21px;
}
}
}
</style>
</style>

14
jwtech-pc-page/src/views/enterpriseInformation/components/lineCredit.vue

@ -14,7 +14,7 @@ export default {
enterpriseId: "",
qualificationCategory: ""
},
myChartStyle: { float: "left", width: "90%", height: "500px" }, //
myChartStyle: { float: "left", width: "90%", height: "400px" }, //
enterpriseInfo:null,
dates:null,
values:null,
@ -65,13 +65,13 @@ export default {
this.interval=0
}
const option = {
title: {
text: this.enterpriseInfo.enterpriseName
},
// title: {
// text: this.enterpriseInfo.enterpriseName
// },
grid: {
top: "10%",
top: "5%",
left: "10%",
right: "5%",
right: "0%",
bottom: "8%"
},
xAxis: {
@ -140,6 +140,6 @@ export default {
</script>
<style lang="less" scoped>
.chart-wrap {
padding: 20px;
// padding: 20px;
}
</style>

103
jwtech-pc-page/src/views/enterpriseInformation/components/personalTable.vue

@ -1,38 +1,52 @@
<template>
<div class="descriptions-table">
<div v-if="hasValidData">
<div
class="table-item"
v-for="(item, index) in allPersonType"
:key="(item, index)"
v-if="item.personTypeData && item.personTypeData.length > 0"
>
<span
style="font-size: 16px; font-weight: 700;margin-bottom: 10px;display: block;"
>{{ item.personTypeLabel }}</span
<el-descriptions
:column="1"
border
:labelStyle="{ 'min-width': '130px' }"
>
<el-table :data="item.personTypeData" border style="width: 100%">
<el-table-column prop="name" label="姓名" width="100">
</el-table-column>
<el-table-column prop="idNo" label="身份证号" width="180">
</el-table-column>
<el-table-column prop="certificateSpeciality" label="专业" width="150">
</el-table-column>
<el-table-column
prop="certificateLevel"
label="等级"
width="120"
:formatter="certificateLevelFormatter"
<el-descriptions-item
v-for="(item, index) in allPersonType"
:key="(item, index)"
:label="item.personTypeLabel"
>
</el-table-column>
<el-table-column prop="certificateNo" label="注册证书编号" width="200">
</el-table-column>
<el-table-column prop="issuedBy" label="核发机构" width="280">
</el-table-column>
<el-table-column prop="issuanceDate" label="核发日期">
</el-table-column>
</el-table>
</div>
<div v-if="item.personTypeLabel === '法定代表人'">
{{ item.personTypeData[0].name }}
</div>
<div v-else>
<el-table :data="item.personTypeData" border style="width: 100%">
<el-table-column prop="name" label="姓名" width="110">
</el-table-column>
<el-table-column prop="idNo" label="身份证号" width="110">
</el-table-column>
<el-table-column
prop="certificateSpeciality"
label="专业"
width="130"
>
</el-table-column>
<el-table-column
prop="certificateLevel"
label="等级"
width="100"
:formatter="certificateLevelFormatter"
>
</el-table-column>
<el-table-column
prop="certificateNo"
label="注册证书编号"
width="220"
>
</el-table-column>
<el-table-column prop="issuedBy" label="核发机构" width="220">
</el-table-column>
<el-table-column prop="issuanceDate" label="核发日期" width="120">
</el-table-column>
</el-table>
</div>
</el-descriptions-item>
</el-descriptions>
</div>
<div v-else>暂无数据</div>
</div>
@ -73,13 +87,12 @@ export default {
res.data.data.forEach(item => {
let obj = {};
obj = {
personTypeLabel: item.dictLabel,
personTypeValue: item.dictValue,
personTypeData: []
};
this.allPersonType.push(obj)
personTypeLabel: item.dictLabel,
personTypeValue: item.dictValue,
personTypeData: []
};
this.allPersonType.push(obj);
});
});
this.enterpriseId = this.$route.query.enterpriseId;
this.getPersonInfo();
@ -88,7 +101,10 @@ export default {
hasValidData() {
// allPersonType personTypeData
for (let i = 0; i < this.allPersonType.length; i++) {
if (this.allPersonType[i].personTypeData && this.allPersonType[i].personTypeData.length > 0) {
if (
this.allPersonType[i].personTypeData &&
this.allPersonType[i].personTypeData.length > 0
) {
return true;
}
}
@ -117,6 +133,13 @@ export default {
this.allPersonType[2].personTypeData.push(item);
}
});
this.allPersonType.sort((a, b) => {
if (a.personTypeLabel === "法定代表人") return -1;
if (b.personTypeLabel === "法定代表人") return 1;
return 0;
});
console.log(this.allPersonType);
});
// personInfo(this.enterpriseId).then(res => {
@ -148,12 +171,12 @@ export default {
}
th {
background: #ebf4fe;
background: #f6f6f6;
.cell {
font-size: 16px !important;
font-weight: 600 !important;
color: #005eb7;
font-weight: 500 !important;
color: #333333;
}
}
.el-table__cell {

20
jwtech-pc-page/src/views/enterpriseInformation/components/proAchievementTable.vue

@ -24,6 +24,10 @@
</el-form-item>
</el-form>
<el-table :data="tableData" style="width: 100%" v-loading="loading">
<el-table-column
type="index"
width="35">
</el-table-column>
<el-table-column
prop="enterpriseName"
label="企业名称"
@ -65,6 +69,7 @@
</el-table-column>
</el-table>
<pagination
:hidden="total == 0"
:total="total"
:page.sync="apidata.pageNum"
:limit.sync="apidata.pageSize"
@ -101,10 +106,19 @@ export default {
},
methods: {
getDate(row){
return row.commencementDate.split(" ")[0]
if(row.commencementDate){
return row.commencementDate.split(" ")[0]
}else{
return ""
}
},
getCoDate(row){
return row.completionDate.split(" ")[0]
if(row.completionDate){
return row.completionDate.split(" ")[0]
}
else{
return ""
}
},
getResult() {
this.loading = true;
@ -132,7 +146,7 @@ export default {
min-height: 500px;
/deep/.el-table {
margin-top: 10px;
// margin-top: 10px;
.el-table__header-wrapper {
height: 44px;

6
jwtech-pc-page/src/views/enterpriseInformation/components/projectAwardTable.vue

@ -16,7 +16,7 @@
<el-table-column prop="validityPeriodEnd" label="有效期止" align="center">
</el-table-column>
</el-table>
<pagination :total="total" :page.sync="apidata.pageNum" :limit.sync="apidata.pageSize" :pageSizes="pageSizes"
<pagination v-show="total>0" :total="total" :page.sync="apidata.pageNum" :limit.sync="apidata.pageSize" :pageSizes="pageSizes"
@pagination="getResult" />
</div>
</template>
@ -61,7 +61,7 @@ export default {
min-height: 500px;
/deep/.el-table {
margin-top: 10px;
// margin-top: 10px;
.el-table__header-wrapper {
height: 44px;
@ -86,4 +86,4 @@ export default {
}
}
}
</style>
</style>

26
jwtech-pc-page/src/views/enterpriseInformation/components/qualificationTable.vue

@ -1,22 +1,22 @@
<template>
<div class="descriptions-table">
<el-table :data="dataList" border style="width: 100%">
<el-table-column prop="enterpriseName" label="企业名称" width="200">
<el-table :data="dataList" style="width: 100%">
<el-table-column prop="enterpriseName" label="企业名称">
</el-table-column>
<el-table-column prop="qualificationCategory" label="资质类别" width="180">
<el-table-column prop="qualificationCategory" label="资质类别" width="100" align="center">
</el-table-column>
<el-table-column prop="professionalCategory" label="资质专业类别" width="150">
<el-table-column prop="professionalCategory" label="资质专业类别" width="150" align="center">
</el-table-column>
<el-table-column prop="level" label="资质等级名称" width="200">
<el-table-column prop="level" label="资质等级名称" width="120" align="center">
</el-table-column>
<el-table-column prop="certificateNo" label="资质证书号" width="280">
<el-table-column prop="certificateNo" label="资质证书号" width="150" align="center">
</el-table-column>
<el-table-column prop="issuedBy" label="资质证书核发机关" width="200">
<el-table-column prop="issuedBy" label="资质证书核发机关" width="150" align="center">
</el-table-column>
<el-table-column prop="issuanceDate" label="资质证书核发日期" width="200">
<el-table-column prop="issuanceDate" label="资质证书核发日期" width="150" align="center">
</el-table-column>
<el-table-column prop="validityPeriod" label="有效到期日期" width="200">
<el-table-column prop="validityPeriod" label="有效到期日期" width="120" align="center">
</el-table-column>
</el-table>
<div v-if="certificationData.length == 0">
@ -148,5 +148,13 @@ export default {
padding-left: 21px;
}
}
/deep/.el-table th.el-table__cell{
background-color: #EBF4FE !important;
.cell{
color: #005EB7;
}
}
}
</style>

157
jwtech-pc-page/src/views/enterpriseInformation/components/realTimeCredit.vue

@ -17,16 +17,34 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="实时信用分数:" label-width="110px">
<el-form-item label="实时信用分数:" label-width="120px">
<span
style="font-size: 35px;display: block;font-style:italic; font-style:oblique;color: red;"
>{{ qualificationCategoryLabel }} {{ dynamicCreditScore }}</span
style="font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 16px;
color: #333333;
line-height: 22px;
text-align: left;
font-style: normal;"
>{{ qualificationCategoryLabel }}
</span>
<span
style="font-family: DINAlternate, DINAlternate;
font-weight: bold;
font-size: 20px;
color: #FF6200;
line-height: 20px;
text-align: left;
font-style: normal;"
>{{ dynamicCreditScore }}</span
>
</el-form-item>
</el-form>
<div class="time-wrap">
<i class="el-icon-time"></i>
<span id="y"></span><span id="mo"></span><span id="s"></span>
星期<span id="d"></span> <span id="h"></span>:<span id="m"></span>:<span
<span id="d"></span> <span id="h"></span>:<span id="m"></span>:<span
id="sec"
></span>
</div>
@ -39,13 +57,19 @@
</el-tabs>
</div>
<div class="line-wrap">
<lineCredit v-if="qualificationCategory&&month" :key="month" :enterpriseId="this.queryForm.enterpriseId" :qualificationCategory="this.qualificationCategory" :month="this.month"/>
<lineCredit
v-if="qualificationCategory && month"
:key="month"
:enterpriseId="this.queryForm.enterpriseId"
:qualificationCategory="this.qualificationCategory"
:month="this.month"
/>
</div>
</div>
</div>
</template>
<script>
import { getParent,enterpriseInfo } from "@/api/enterpriseInformation";
import { getParent, enterpriseInfo } from "@/api/enterpriseInformation";
import lineCredit from "./lineCredit";
export default {
components: {
@ -61,9 +85,9 @@ export default {
selectData: [],
dynamicCreditScore: "",
qualificationCategoryLabel: "",
qualificationCategory:"",
enterpriseName:null,
month:1
qualificationCategory: "",
enterpriseName: null,
month: 1
};
},
created() {
@ -77,15 +101,14 @@ export default {
});
},
methods: {
handleTabClick(tab){
console.log(tab.label,3333)
if (tab.label === '近一个月') {
this.month = '1';
} else if (tab.label === '近三个月') {
this.month = '3'; //
} else if (tab.label === '近六个月') {
this.month = '6'; //
handleTabClick(tab) {
console.log(tab.label, 3333);
if (tab.label === "近一个月") {
this.month = "1";
} else if (tab.label === "近三个月") {
this.month = "3"; //
} else if (tab.label === "近六个月") {
this.month = "6"; //
}
},
getParentData() {
@ -106,7 +129,7 @@ export default {
this.queryForm.qualificationCategory = this.selectData[0].qualificationCategory;
this.dynamicCreditScore = this.selectData[0].dynamicCreditScore;
this.qualificationCategoryLabel = this.selectData[0].qualificationCategoryLabel;
this.qualificationCategory=this.selectData[0].qualificationCategory
this.qualificationCategory = this.selectData[0].qualificationCategory;
});
},
selectVal(val) {
@ -114,7 +137,7 @@ export default {
if (item.qualificationCategory == val) {
this.dynamicCreditScore = item.dynamicCreditScore;
this.qualificationCategoryLabel = item.qualificationCategoryLabel;
this.qualificationCategory=item.qualificationCategory
this.qualificationCategory = item.qualificationCategory;
}
});
},
@ -167,19 +190,51 @@ export default {
</script>
<style lang="less" scoped>
.credit-wrap {
margin: 20px;
height: 700px;
border: 1px solid #cfe7fe;
position: relative;
// margin: 20px;
height: 550px;
// border: 1px solid #cfe7fe;
/deep/.el-form {
margin-top: 20px;
// margin-top: 20px;
display: flex;
justify-content: center;
// justify-content: center;
.el-form-item {
margin-right: 20px;
margin-bottom: 20px;
.el-form-item__label {
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 16px;
color: #333333;
}
}
.el-input__inner{
border-color: #AAD8FB;
}
}
.time-wrap {
position: absolute;
top: 10px;
right: 0;
display: flex;
justify-content: center;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 16px;
color: #666666;
line-height: 22px;
text-align: left;
font-style: normal;
i {
margin-right: 8px;
line-height: 22px;
}
}
.tabs-line {
@ -187,11 +242,55 @@ export default {
}
.list-wrap {
margin-top: 20px;
// margin-top: 20px;
}
}
/deep/.el-tabs--border-card > .el-tabs__header {
background: #fff;
/deep/.el-tabs {
.el-tabs__header {
background-color: #fff;
border-bottom-color: #c8dff8;
}
.el-tabs__nav-wrap {
height: 50px;
// padding-left: 5px;
.el-tabs__item {
height: 50px;
font-size: 14px;
font-weight: 600;
color: #333333;
// padding-top: 5px;
margin-top: 5px;
margin-left: 8px;
padding-left: 31px !important;
padding-right: 31px !important;
margin-right: 18px;
}
}
.el-tabs__item.is-active {
padding-left: 31px !important;
padding-right: 31px !important;
color: #005eb7;
border-right-color: #c8dff8;
border-left-color: #c8dff8;
border-top-color: #c8dff8;
border-radius: 8px 8px 0px 0px;
}
.el-tabs__content {
padding: 0px;
}
}
/deep/.el-tabs--border-card {
border: none;
box-shadow: none;
}
}
// /deep/.el-tabs--border-card > .el-tabs__header {
// background: #fff;
// }
</style>

162
jwtech-pc-page/src/views/enterpriseInformation/enterpriseInDetail.vue

@ -13,27 +13,57 @@
</div>
<div class="basic-main">
<div class="main-wrap">
<el-tabs
type="border-card"
v-model="activeName"
@tab-click="handleClick"
>
<el-tab-pane label="企业基本信息" name="basic"></el-tab-pane>
<el-tab-pane label="资质信息" name="qualification"></el-tab-pane>
<el-tab-pane label="人员信息" name="personal"></el-tab-pane>
<el-tab-pane label="项目业绩" name="proAchievement"></el-tab-pane>
<el-tab-pane label="工程获奖" name="projectAward"></el-tab-pane>
</el-tabs>
<div class="descriptions-wrap">
<descriptionsEnterpriseTable v-if="activeName == 'basic'" />
<qualificationTable v-else-if="activeName == 'qualification'" />
<personalTable v-else-if="activeName == 'personal'" />
<proAchievementTable v-else-if="activeName == 'proAchievement'" />
<projectAwardTable v-else-if="activeName == 'projectAward'" />
<div class="basicinfo" style="margin-bottom: 20px;">
<descriptionsEnterpriseTable />
</div>
<div class="real-time" v-if="activeName == 'basic'">
<realTimeCredit />
<div class="tabs-wrap">
<el-tabs
type="border-card"
v-model="activeName"
@tab-click="handleClick"
class="tabs"
>
<!-- <el-tab-pane label="企业基本信息" name="basic"></el-tab-pane> -->
<el-tab-pane
v-for="item in tabsOption"
:key="item.name"
:label="item.label"
:name="item.name"
>
<div slot="label" class="tab-label">
<img
:src="activeName == item.name ? item.atImg : item.normalImg"
alt=""
style="width: 24px;
height: 24px; margin-right: 10px;"
/>
<span>{{ item.label }}</span>
</div>
</el-tab-pane>
<!-- <el-tab-pane label="人员信息" name="personal"></el-tab-pane>
<el-tab-pane label="项目业绩" name="proAchievement"></el-tab-pane>
<el-tab-pane label="工程获奖" name="projectAward"></el-tab-pane>
<el-tab-pane label="动态信用" name="credit"></el-tab-pane> -->
</el-tabs>
<div class="descriptions-wrap">
<descriptionsEnterpriseTable v-if="activeName == 'basic'" />
<qualificationTable v-else-if="activeName == 'qualification'" />
<personalTable v-else-if="activeName == 'personal'" />
<proAchievementTable v-else-if="activeName == 'proAchievement'" />
<projectAwardTable v-else-if="activeName == 'projectAward'" />
<div v-else-if="activeName == 'credit'">
<realTimeCredit />
<actionList :title="'良好行为列表'" />
<actionList :title="'不良行为列表'" />
</div>
</div>
<!-- <div class="real-time" v-if="activeName == 'basic'">
<realTimeCredit />
</div> -->
</div>
<div v-if="activeName == 'basic'">
<!-- <actionList
:title="'良好行为列表'"
@ -63,7 +93,7 @@ import proAchievementTable from "./components/proAchievementTable";
import projectAwardTable from "./components/projectAwardTable";
import realTimeCredit from "./components/realTimeCredit";
import actionList from "./components/actionList";
import {enterpriseInfo} from "../../api/enterpriseInformation";
import { enterpriseInfo } from "../../api/enterpriseInformation";
export default {
components: {
descriptionsEnterpriseTable,
@ -76,7 +106,40 @@ export default {
},
data() {
return {
activeName: "basic",
activeName: "qualification",
tabsOption: [
{
label: "资质信息",
name: "qualification",
atImg: require("@/assets/image/资质信息_at.png"),
normalImg: require("@/assets/image/资质信息.png")
},
{
label: "人员信息",
name: "personal",
atImg: require("@/assets/image/人员信息_at.png"),
normalImg: require("@/assets/image/人员信息.png")
},
{
label: "项目业绩",
name: "proAchievement",
atImg: require("@/assets/image/项目业绩_at.png"),
normalImg: require("@/assets/image/项目业绩.png")
},
{
label: "工程获奖",
name: "projectAward",
atImg: require("@/assets/image/工程获奖_at.png"),
normalImg: require("@/assets/image/工程获奖.png")
},
{
label: "动态信用",
name: "credit",
atImg: require("@/assets/image/动态信用_at.png"),
normalImg: require("@/assets/image/动态信用.png")
}
]
// enterpriseGoodForm: {
// pageNum: 1,
// pageSize: 10,
@ -168,45 +231,68 @@ export default {
.main-wrap {
width: 1200px;
margin: 0 auto;
background: #ffffff;
// background: #ffffff;
border-radius: 8px;
overflow: hidden;
/deep/.el-tabs {
.tabs-wrap {
// padding: 20px;
background-color: #ffffff;
border-radius: 8px;
overflow: hidden;
}
/deep/.tabs {
.el-tabs__header {
border-bottom-color: #c8dff8;
// border-bottom-color: #c8dff8;
border-color: transparent;
}
.el-tabs__nav-wrap {
height: 50px;
padding-left: 5px;
// height: 50px;
// padding-left: 5px;
.el-tabs__nav {
width: 100%;
display: flex;
}
.el-tabs__item {
height: 45px;
flex: 1;
height: 50px;
font-size: 14px;
font-weight: 600;
color: #333333;
margin-top: 5px;
margin-left: 1px;
padding-left: 0;
padding-right: 0;
margin-right: 18px;
padding-top: 5px;
text-align: center;
// margin-top: 5px;
// margin-left: 1px;
// padding-left: 20px;
// padding-right: 20px;
// margin-right: 18px;
}
}
.el-tabs__item.is-active {
padding-left: 15px;
padding-right: 15px;
// padding-left: 35px;
// padding-right: 35px;
color: #005eb7;
border-right-color: #c8dff8;
border-left-color: #c8dff8;
border-top-color: #c8dff8;
border-radius: 8px 8px 0px 0px;
border-right-color: #dadce3;
border-left-color: #dadce3;
border-top-color: #dadce3;
// border-bottom: 0px solid red;
// border-radius: 8px 8px 0px 0px;
}
.el-tabs__content {
padding: 0px;
}
.tab-label {
display: flex;
align-items: center;
justify-content: center;
}
}
/deep/.el-tabs--border-card {

2
jwtech-pc-page/static/config.js

@ -10,7 +10,7 @@ window.g = {
// url: "http://106.2.224.58:1036/kms-pc-web/api",
// url: "http://106.2.224.58:1039/kms-pc-web",
// url: "http://192.168.2.100:18082/tianhui-admin-web",
url: "http://localhost:8082/jgThinking/thinking/",
url: "http://175.178.86.109:18082/kms-pc-web",
// url: "http://127.0.0.1:18082/kms-pc-web",
// url: "http://192.168.1.113:8083/kms-pc-web",

Loading…
Cancel
Save