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. 269
      jwtech-pc-page/src/views/enterpriseInformation/components/descriptionsEnterpriseTable.vue
  13. 14
      jwtech-pc-page/src/views/enterpriseInformation/components/lineCredit.vue
  14. 63
      jwtech-pc-page/src/views/enterpriseInformation/components/personalTable.vue
  15. 16
      jwtech-pc-page/src/views/enterpriseInformation/components/proAchievementTable.vue
  16. 4
      jwtech-pc-page/src/views/enterpriseInformation/components/projectAwardTable.vue
  17. 26
      jwtech-pc-page/src/views/enterpriseInformation/components/qualificationTable.vue
  18. 145
      jwtech-pc-page/src/views/enterpriseInformation/components/realTimeCredit.vue
  19. 130
      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> <template>
<div class="action-wrap"> <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 :data="tableList" style="width: 100%">
<el-table-column prop="projectName" label="项目名称" width="300"> <el-table-column prop="projectName" label="项目名称" width="300">
<template slot-scope="scope"> <template slot-scope="scope">
@ -144,7 +149,31 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.action-wrap { .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 { /deep/.el-table {
margin-top: 10px; margin-top: 10px;

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

@ -1,7 +1,45 @@
<template> <template>
<div class="descriptions-table"> <div class="descriptions-table">
<el-descriptions class="margin-top" :column="2" border :content-style="rowCenter" :label-style="labelRowCenter"> <div class="title-wrap">
<el-descriptions-item :label="item.label" v-for="(item, index) in descrData" :key="(item, index)"> <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 }} {{ item.val }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="更新时间" span="2"> <el-descriptions-item label="更新时间" span="2">
@ -12,112 +50,251 @@
</el-descriptions-item> </el-descriptions-item>
</el-descriptions> </el-descriptions>
</div> </div>
</div>
</template> </template>
<script> <script>
import { enterpriseInfo } from "@/api/enterpriseInformation" import { enterpriseInfo } from "@/api/enterpriseInformation";
import { getGuangDong } from "@/api/creditStatistics" import { getGuangDong } from "@/api/creditStatistics";
export default { export default {
data() { data() {
return { return {
rowCenter: { rowCenter: {
'borderColor': '#DADCE3' borderColor: "#DADCE3"
}, },
labelRowCenter: { labelRowCenter: {
'borderColor': '#DADCE3' borderColor: "#DADCE3"
}, },
enterpriseId: "", enterpriseId: "",
enterpriseObj: {}, enterpriseObj: {},
descrData: [{ firstName: "",
label: "企业名称", descrData: [
code: "enterpriseName", // {
val: "" // label: "",
}, { // code: "enterpriseName",
// val: ""
// },
{
label: "投资组成", label: "投资组成",
code: "investmentComposition", code: "investmentComposition",
val: "" val: ""
}, { },
{
label: "法定代表人", label: "法定代表人",
code: "legalRepresentative", code: "legalRepresentative",
val: "" val: ""
}, { },
{
label: "成立日期", label: "成立日期",
code: "establishmentDate", code: "establishmentDate",
val: "" val: ""
}, { },
label: "统一社会信用代码", // {
code: "unifiedSocialCreditCode", // label: "",
val: "" // code: "unifiedSocialCreditCode",
}, { // val: ""
// },
{
label: "登记机关", label: "登记机关",
code: "creditCodeIssuingAuthority", code: "creditCodeIssuingAuthority",
val: "" val: ""
}, { },
{
label: "注册地区", label: "注册地区",
code: "adcd", code: "adcd",
val: "" val: ""
}, { },
{
label: "注册地址", label: "注册地址",
code: "registeredAddress", code: "registeredAddress",
val: "" val: ""
}, { },
{
label: "注册资本(万元)", label: "注册资本(万元)",
code: "registeredCapital", code: "registeredCapital",
val: "" val: ""
}, { },
{
label: "实缴注册资本(万元)", label: "实缴注册资本(万元)",
code: "paidRegisteredCapital", code: "paidRegisteredCapital",
val: "" val: ""
},], }
],
updateTime: "", updateTime: "",
businessScope: "", businessScope: "",
areaList: [] areaList: []
} };
}, },
mounted() { mounted() {
this.enterpriseId = this.$route.query.enterpriseId this.enterpriseId = this.$route.query.enterpriseId;
this.getArea() this.getArea();
}, },
methods: { methods: {
getDetail() { getDetail() {
enterpriseInfo(this.enterpriseId).then(res => { enterpriseInfo(this.enterpriseId).then(res => {
this.enterpriseObj = res.data.data this.enterpriseObj = res.data.data;
this.firstName = this.enterpriseObj.enterpriseName.trim().split("")[0];
for (let key in this.enterpriseObj) { for (let key in this.enterpriseObj) {
this.descrData.forEach(item => { this.descrData.forEach(item => {
if (key == item.code&&item.code=='adcd') { if (key == item.code && item.code == "adcd") {
item.val = this.getadcd(this.enterpriseObj[key]) || "-" item.val = this.getadcd(this.enterpriseObj[key]) || "-";
} else if (key == item.code) { } else if (key == item.code) {
item.val = this.enterpriseObj[key] || "-" item.val = this.enterpriseObj[key] || "-";
} }
}) });
} }
this.updateTime = this.enterpriseObj.updateTime || "-" this.updateTime = this.enterpriseObj.updateTime || "-";
this.businessScope = this.enterpriseObj.businessScope || "-" this.businessScope = this.enterpriseObj.businessScope || "-";
}) });
}, },
getArea() { getArea() {
getGuangDong().then(res => { getGuangDong().then(res => {
this.areaList = res.data.data this.areaList = res.data.data;
this.getDetail() this.getDetail();
}) });
}, },
getadcd(row) { getadcd(row) {
let adcdText = "" let adcdText = "";
let adcdCode = row.slice(0, 4) + "00" let adcdCode = row.slice(0, 4) + "00";
this.areaList.forEach(item => { this.areaList.forEach(item => {
if (item.xzqhdm == adcdCode) { if (item.xzqhdm == adcdCode) {
adcdText = item.name adcdText = item.name;
} }
}) });
if (adcdText == "") { if (adcdText == "") {
adcdText = "省外" adcdText = "省外";
} }
return adcdText return adcdText;
},
} }
} }
};
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.descriptions-table { .descriptions-table {
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;
&::before {
content: "";
display: inline-block;
width: 3px;
height: 16px;
background: #005eb7;
margin-right: 10px;
vertical-align: middle;
}
}
}
}
/deep/.el-descriptions { /deep/.el-descriptions {
.el-descriptions-item__cell { .el-descriptions-item__cell {
padding: 11px 10px; padding: 11px 10px;
@ -125,10 +302,10 @@ export default {
} }
.el-descriptions-item__label { .el-descriptions-item__label {
background: #EBF4FE; background: #ebf4fe;
width: 240px; width: 240px;
font-weight: 600; font-weight: 600;
color: #005EB7; color: #005eb7;
padding-left: 21px; padding-left: 21px;
} }
} }

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

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

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

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

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

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

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

@ -16,7 +16,7 @@
<el-table-column prop="validityPeriodEnd" label="有效期止" align="center"> <el-table-column prop="validityPeriodEnd" label="有效期止" align="center">
</el-table-column> </el-table-column>
</el-table> </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" /> @pagination="getResult" />
</div> </div>
</template> </template>
@ -61,7 +61,7 @@ export default {
min-height: 500px; min-height: 500px;
/deep/.el-table { /deep/.el-table {
margin-top: 10px; // margin-top: 10px;
.el-table__header-wrapper { .el-table__header-wrapper {
height: 44px; height: 44px;

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

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

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

@ -17,16 +17,34 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="实时信用分数:" label-width="110px"> <el-form-item label="实时信用分数:" label-width="120px">
<span <span
style="font-size: 35px;display: block;font-style:italic; font-style:oblique;color: red;" style="font-family: PingFangSC, PingFang SC;
>{{ qualificationCategoryLabel }} {{ dynamicCreditScore }}</span 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-item>
</el-form> </el-form>
<div class="time-wrap"> <div class="time-wrap">
<i class="el-icon-time"></i>
<span id="y"></span><span id="mo"></span><span id="s"></span> <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" id="sec"
></span> ></span>
</div> </div>
@ -39,7 +57,13 @@
</el-tabs> </el-tabs>
</div> </div>
<div class="line-wrap"> <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> </div>
</div> </div>
@ -78,14 +102,13 @@ export default {
}, },
methods: { methods: {
handleTabClick(tab) { handleTabClick(tab) {
console.log(tab.label,3333) console.log(tab.label, 3333);
if (tab.label === '近一个月') { if (tab.label === "近一个月") {
this.month = '1'; this.month = "1";
} else if (tab.label === '近三个月') { } else if (tab.label === "近三个月") {
this.month = "3"; //
this.month = '3'; // } else if (tab.label === "近六个月") {
} else if (tab.label === '近六个月') { this.month = "6"; //
this.month = '6'; //
} }
}, },
getParentData() { getParentData() {
@ -106,7 +129,7 @@ export default {
this.queryForm.qualificationCategory = this.selectData[0].qualificationCategory; this.queryForm.qualificationCategory = this.selectData[0].qualificationCategory;
this.dynamicCreditScore = this.selectData[0].dynamicCreditScore; this.dynamicCreditScore = this.selectData[0].dynamicCreditScore;
this.qualificationCategoryLabel = this.selectData[0].qualificationCategoryLabel; this.qualificationCategoryLabel = this.selectData[0].qualificationCategoryLabel;
this.qualificationCategory=this.selectData[0].qualificationCategory this.qualificationCategory = this.selectData[0].qualificationCategory;
}); });
}, },
selectVal(val) { selectVal(val) {
@ -114,7 +137,7 @@ export default {
if (item.qualificationCategory == val) { if (item.qualificationCategory == val) {
this.dynamicCreditScore = item.dynamicCreditScore; this.dynamicCreditScore = item.dynamicCreditScore;
this.qualificationCategoryLabel = item.qualificationCategoryLabel; this.qualificationCategoryLabel = item.qualificationCategoryLabel;
this.qualificationCategory=item.qualificationCategory this.qualificationCategory = item.qualificationCategory;
} }
}); });
}, },
@ -167,19 +190,51 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.credit-wrap { .credit-wrap {
margin: 20px; position: relative;
height: 700px; // margin: 20px;
border: 1px solid #cfe7fe; height: 550px;
// border: 1px solid #cfe7fe;
/deep/.el-form { /deep/.el-form {
margin-top: 20px; // margin-top: 20px;
display: flex; 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 { .time-wrap {
position: absolute;
top: 10px;
right: 0;
display: flex; display: flex;
justify-content: center; 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 { .tabs-line {
@ -187,11 +242,55 @@ export default {
} }
.list-wrap { .list-wrap {
margin-top: 20px; // margin-top: 20px;
} }
/deep/.el-tabs {
.el-tabs__header {
background-color: #fff;
border-bottom-color: #c8dff8;
} }
/deep/.el-tabs--border-card > .el-tabs__header { .el-tabs__nav-wrap {
background: #fff; 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> </style>

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

@ -13,16 +13,38 @@
</div> </div>
<div class="basic-main"> <div class="basic-main">
<div class="main-wrap"> <div class="main-wrap">
<div class="basicinfo" style="margin-bottom: 20px;">
<descriptionsEnterpriseTable />
</div>
<div class="tabs-wrap">
<el-tabs <el-tabs
type="border-card" type="border-card"
v-model="activeName" v-model="activeName"
@tab-click="handleClick" @tab-click="handleClick"
class="tabs"
> >
<el-tab-pane label="企业基本信息" name="basic"></el-tab-pane> <!-- <el-tab-pane label="企业基本信息" name="basic"></el-tab-pane> -->
<el-tab-pane label="资质信息" name="qualification"></el-tab-pane> <el-tab-pane
<el-tab-pane label="人员信息" name="personal"></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="proAchievement"></el-tab-pane>
<el-tab-pane label="工程获奖" name="projectAward"></el-tab-pane> <el-tab-pane label="工程获奖" name="projectAward"></el-tab-pane>
<el-tab-pane label="动态信用" name="credit"></el-tab-pane> -->
</el-tabs> </el-tabs>
<div class="descriptions-wrap"> <div class="descriptions-wrap">
<descriptionsEnterpriseTable v-if="activeName == 'basic'" /> <descriptionsEnterpriseTable v-if="activeName == 'basic'" />
@ -30,10 +52,18 @@
<personalTable v-else-if="activeName == 'personal'" /> <personalTable v-else-if="activeName == 'personal'" />
<proAchievementTable v-else-if="activeName == 'proAchievement'" /> <proAchievementTable v-else-if="activeName == 'proAchievement'" />
<projectAwardTable v-else-if="activeName == 'projectAward'" /> <projectAwardTable v-else-if="activeName == 'projectAward'" />
<div v-else-if="activeName == 'credit'">
<realTimeCredit />
<actionList :title="'良好行为列表'" />
<actionList :title="'不良行为列表'" />
</div>
</div> </div>
<div class="real-time" v-if="activeName == 'basic'"> <!-- <div class="real-time" v-if="activeName == 'basic'">
<realTimeCredit /> <realTimeCredit />
</div> -->
</div> </div>
<div v-if="activeName == 'basic'"> <div v-if="activeName == 'basic'">
<!-- <actionList <!-- <actionList
:title="'良好行为列表'" :title="'良好行为列表'"
@ -76,7 +106,40 @@ export default {
}, },
data() { data() {
return { 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: { // enterpriseGoodForm: {
// pageNum: 1, // pageNum: 1,
// pageSize: 10, // pageSize: 10,
@ -168,45 +231,68 @@ export default {
.main-wrap { .main-wrap {
width: 1200px; width: 1200px;
margin: 0 auto; margin: 0 auto;
background: #ffffff; // background: #ffffff;
border-radius: 8px;
overflow: hidden;
.tabs-wrap {
// padding: 20px;
background-color: #ffffff;
border-radius: 8px; border-radius: 8px;
overflow: hidden; overflow: hidden;
}
/deep/.el-tabs { /deep/.tabs {
.el-tabs__header { .el-tabs__header {
border-bottom-color: #c8dff8; // border-bottom-color: #c8dff8;
border-color: transparent;
} }
.el-tabs__nav-wrap { .el-tabs__nav-wrap {
height: 50px; // height: 50px;
padding-left: 5px; // padding-left: 5px;
.el-tabs__nav {
width: 100%;
display: flex;
}
.el-tabs__item { .el-tabs__item {
height: 45px; flex: 1;
height: 50px;
font-size: 14px; font-size: 14px;
font-weight: 600; font-weight: 600;
color: #333333; color: #333333;
margin-top: 5px; padding-top: 5px;
margin-left: 1px; text-align: center;
padding-left: 0; // margin-top: 5px;
padding-right: 0; // margin-left: 1px;
margin-right: 18px; // padding-left: 20px;
// padding-right: 20px;
// margin-right: 18px;
} }
} }
.el-tabs__item.is-active { .el-tabs__item.is-active {
padding-left: 15px; // padding-left: 35px;
padding-right: 15px; // padding-right: 35px;
color: #005eb7; color: #005eb7;
border-right-color: #c8dff8; border-right-color: #dadce3;
border-left-color: #c8dff8; border-left-color: #dadce3;
border-top-color: #c8dff8; border-top-color: #dadce3;
border-radius: 8px 8px 0px 0px; // border-bottom: 0px solid red;
// border-radius: 8px 8px 0px 0px;
} }
.el-tabs__content { .el-tabs__content {
padding: 0px; padding: 0px;
} }
.tab-label {
display: flex;
align-items: center;
justify-content: center;
}
} }
/deep/.el-tabs--border-card { /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:1036/kms-pc-web/api",
// url: "http://106.2.224.58:1039/kms-pc-web", // url: "http://106.2.224.58:1039/kms-pc-web",
// url: "http://192.168.2.100:18082/tianhui-admin-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://127.0.0.1:18082/kms-pc-web",
// url: "http://192.168.1.113:8083/kms-pc-web", // url: "http://192.168.1.113:8083/kms-pc-web",

Loading…
Cancel
Save