parent
07608cbd32
commit
a778fcfb81
@ -0,0 +1,100 @@
|
||||
<template>
|
||||
<div class="project-info-box">
|
||||
<div class="project-info-title">【企业基本信息】</div>
|
||||
<el-descriptions class="margin-top" :column="3" size="medium" border v-loading="loading">
|
||||
<!-- <el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent"
|
||||
v-for="(item,index) in info"
|
||||
:key="index"
|
||||
:label="item.key"
|
||||
:span="item.span"
|
||||
>
|
||||
{{ item.value }}
|
||||
</el-descriptions-item> -->
|
||||
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="注册资本">
|
||||
{{ info.registeredCapital }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="所属行业">
|
||||
{{ info.industry }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="成立日期">
|
||||
{{ info.establishDate }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="曾用名">
|
||||
{{ info.formerName }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="组织机构代码">
|
||||
{{ info.institutionCode }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="注册地址">
|
||||
{{ info.enrollAddress }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="注册类型">
|
||||
{{ info.enrollType }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent" label="经营范围">
|
||||
{{ info.business }}
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
<!-- <el-descriptions class="margin-top-file" :column="3" size="medium" v-loading="loading">
|
||||
<el-descriptions-item labelClassName="tabOneFileLabel" contentClassName="tabOneFileContent"
|
||||
v-for="(item,index) in fileInfo"
|
||||
:key="index"
|
||||
:label="item.key"
|
||||
>
|
||||
<a :href="item.url" target="_blank">
|
||||
{{ item.value }}
|
||||
</a>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions> -->
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name:"tabOne",
|
||||
props:{
|
||||
detailedInfo:{
|
||||
type:Object,
|
||||
default:()=>{
|
||||
return {};
|
||||
}
|
||||
},
|
||||
fileJson:{
|
||||
type:Object,
|
||||
default:()=>{
|
||||
return {};
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
detailedInfo: {
|
||||
handler(newInfo){
|
||||
this.loading = true;
|
||||
if(newInfo) {
|
||||
this.loading = false;
|
||||
|
||||
this.$nextTick(()=>{
|
||||
this.info = newInfo
|
||||
})
|
||||
}
|
||||
|
||||
},
|
||||
immediate:true,
|
||||
deep:true
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
info:[],
|
||||
fileInfo:[],
|
||||
loading:false,
|
||||
VUE_APP_BASE_API:process.env.VUE_APP_BASE_API,
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
// console.log(this.info,"tabOne");
|
||||
// this.loading = true;
|
||||
},
|
||||
methods:{
|
||||
},
|
||||
}
|
||||
</script>
|
@ -0,0 +1,101 @@
|
||||
<template>
|
||||
<div class="money-schedule" id="L-contacts-main">
|
||||
<div class="schedule-title" id="L-header-list">【项目清单】</div>
|
||||
<div class="schedule-timeline">
|
||||
<section>
|
||||
<el-table v-loading="loading" border class="tabTwo-table" :data="tableData" :row-class-name="tableRowClassName" :height="tabHeader" :max-height="tabHeader">
|
||||
<el-table-column type="index" width="55" label="序号"/>
|
||||
<el-table-column label="项目名称" prop="projectName" />
|
||||
<el-table-column label="操作" prop="userId" class-name="table-operation">
|
||||
<template slot-scope="scope">
|
||||
<span class="look-info" @click="goInfo(scope.row)">查看详情</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<my-pagination
|
||||
id="L-pagination-list"
|
||||
:total="total"
|
||||
:page="pagination.current"
|
||||
:limit="pagination.size"
|
||||
@pagination="getPagination"
|
||||
:current-page.sync="pagination.current"
|
||||
></my-pagination>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import myPagination from "@/views/components/Pagination/index.vue"
|
||||
import { jProject } from "@/api/jin_ji_hu/project/index"
|
||||
export default {
|
||||
components:{myPagination},
|
||||
name:"tabThree",
|
||||
props:{
|
||||
creditCode:{
|
||||
type:String,
|
||||
default:""
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
tableData: [],
|
||||
tabHeader: null,
|
||||
total:0,
|
||||
pagination: {
|
||||
current:1,
|
||||
size:10,
|
||||
creditCode: this.creditCode,
|
||||
},
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.cancalDebounce();
|
||||
window.addEventListener('resize', this.cancalDebounce);
|
||||
this.getList()
|
||||
},
|
||||
destroyed() {
|
||||
window.removeEventListener('resize', this.cancalDebounce);
|
||||
},
|
||||
methods:{
|
||||
// 列表获取
|
||||
getList(){
|
||||
this.loading = true;
|
||||
jProject(this.pagination).then(res=>{
|
||||
this.loading = false;
|
||||
this.total = res.data.total;
|
||||
this.tableData = res.data.records;
|
||||
})
|
||||
},
|
||||
// 页码更改
|
||||
getPagination(pages) {
|
||||
this.pagination.current = pages.page;
|
||||
this.pagination.size = pages.limit;
|
||||
this.getList();
|
||||
},
|
||||
goInfo(row){
|
||||
this.$router.push({
|
||||
name: 'Project',
|
||||
params: { projectName: row.projectName }
|
||||
})
|
||||
},
|
||||
// 修改table背景色
|
||||
tableRowClassName({row, rowIndex}){
|
||||
if (rowIndex % 2 !== 0) {
|
||||
return 'evenNumber-row';
|
||||
}
|
||||
return '';
|
||||
},
|
||||
// 屏幕尺寸变化
|
||||
cancalDebounce(){
|
||||
const element = document.getElementById('L-contacts-main'); // 通过元素的 ID 获取元素
|
||||
const header = document.getElementById('L-header-list'); // 通过元素的 ID 获取元素
|
||||
const pagination = document.getElementById('L-pagination-list'); // 通过元素的 ID 获取元素
|
||||
const elementHeight = element.offsetHeight;
|
||||
const headerHeight = header.offsetHeight;
|
||||
const paginationHeight = pagination.offsetHeight;
|
||||
this.tabHeader = elementHeight - headerHeight - paginationHeight - 100;
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
@ -0,0 +1,65 @@
|
||||
<template>
|
||||
<div class="L-unitInfo" id="L-contacts-main">
|
||||
<div id="L-header-list" class="project-info-title">【联络人列表】</div>
|
||||
<section>
|
||||
<el-table v-loading="loading" class="tabTwo-table" border :data="tableData" :row-class-name="tableRowClassName" :max-height="tabHeader">
|
||||
<el-table-column label="联系人姓名" prop="contactName" />
|
||||
<el-table-column label="公司职务" prop="firmOffice" />
|
||||
<el-table-column label="手机号码" prop="phone" />
|
||||
<el-table-column label="邮箱" prop="email" />
|
||||
</el-table>
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { getjContacts } from "@/api/jin_ji_hu/enterList"
|
||||
export default {
|
||||
name:"tabTwo",
|
||||
data() {
|
||||
return {
|
||||
tableData:[],
|
||||
loading:false,
|
||||
tabHeader: null,
|
||||
}
|
||||
},
|
||||
props:{
|
||||
creditCode:{
|
||||
type:String,
|
||||
default:""
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.cancalDebounce();
|
||||
window.addEventListener('resize', this.cancalDebounce);
|
||||
this.getList()
|
||||
},
|
||||
destroyed() {
|
||||
window.removeEventListener('resize', this.cancalDebounce);
|
||||
},
|
||||
methods:{
|
||||
// 修改table背景色
|
||||
tableRowClassName({row, rowIndex}){
|
||||
if (rowIndex % 2 !== 0) {
|
||||
return 'evenNumber-row';
|
||||
}
|
||||
return '';
|
||||
},
|
||||
// 查询联络人列表
|
||||
getList(){
|
||||
this.loading = true;
|
||||
getjContacts({creditCode: this.creditCode}).then(res=>{
|
||||
this.tableData = res.data
|
||||
this.loading = false;
|
||||
})
|
||||
},
|
||||
// 屏幕尺寸变化
|
||||
cancalDebounce(){
|
||||
const element = document.getElementById('L-contacts-main'); // 通过元素的 ID 获取元素
|
||||
const header = document.getElementById('L-header-list'); // 通过元素的 ID 获取元素
|
||||
const elementHeight = element.offsetHeight;
|
||||
const headerHeight = header.offsetHeight;
|
||||
this.tabHeader = elementHeight - headerHeight - 100;
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
@ -1,175 +0,0 @@
|
||||
<template>
|
||||
<div class="project-info-box">
|
||||
<div class="project-info-title">【项目详细信息】</div>
|
||||
<el-descriptions class="margin-top" :column="3" size="medium" border v-loading="loading">
|
||||
<el-descriptions-item labelClassName="tabOneLabel" contentClassName="tabOneContent"
|
||||
v-for="(item,index) in info"
|
||||
:key="index"
|
||||
:label="item.key"
|
||||
:span="item.span"
|
||||
>
|
||||
{{ item.value }}
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
<!-- <el-descriptions class="margin-top-file" :column="3" size="medium" v-loading="loading">
|
||||
<el-descriptions-item labelClassName="tabOneFileLabel" contentClassName="tabOneFileContent"
|
||||
v-for="(item,index) in fileInfo"
|
||||
:key="index"
|
||||
:label="item.key"
|
||||
>
|
||||
<a :href="item.url" target="_blank">
|
||||
{{ item.value }}
|
||||
</a>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions> -->
|
||||
<div class="project-info-title" style="margin-top: 20px;">【上传材料】</div>
|
||||
<el-row v-for="(item,index) in fileInfo" :key="index" style="margin-top: 20px;">
|
||||
<el-col :span="3">
|
||||
<span>{{ item.key }}</span>
|
||||
</el-col>
|
||||
<el-col :span="21" class="file-info-content">
|
||||
<span class="file-link" v-for="(itemTwo,indexTwo) in item.url" :key="indexTwo + 'a' + index" style="border: 1px solid #dcdfe6;padding: 5px;display: flex; align-items: center; width: 45%; margin-right: 10px;">
|
||||
<img src="@/assets/images/uploadBgc.jpg" class="li_img" alt="" style="width: 20px; margin-right: 10px;">
|
||||
<a :href="VUE_APP_BASE_API + itemTwo.url" target="_blank">{{ itemTwo.value }}</a>
|
||||
</span>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-row>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name:"tabOne",
|
||||
props:{
|
||||
detailedInfo:{
|
||||
type:Object,
|
||||
default:()=>{
|
||||
return {};
|
||||
}
|
||||
},
|
||||
fileJson:{
|
||||
type:Object,
|
||||
default:()=>{
|
||||
return {};
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
detailedInfo: {
|
||||
handler(newInfo){
|
||||
this.loading = true;
|
||||
if(newInfo) {
|
||||
this.loading = false;
|
||||
let arr = []
|
||||
for (var key in newInfo) {
|
||||
if (newInfo.hasOwnProperty(key)) {
|
||||
|
||||
let obj = {};
|
||||
obj["key"] = key;
|
||||
if(key == "是否获得园区其他经营奖励") {
|
||||
obj["value"] = newInfo[key] == 0 ? '是' : newInfo[key] == 1 ? '否':'';
|
||||
} else if(key == "申报类型") {
|
||||
obj["value"] = newInfo[key] == 1 ? '两业融合示范企业' : newInfo[key] == 2 ? '制造业企业设立财务独立核算的制造服务业职能部门' : newInfo[key] == 3 ? "制造业企业剥离服务业务成立独立的法人制造业企业剥离服务业务成立独立的法人" : "";
|
||||
} else if(key == "所属类型"){
|
||||
obj["value"] = newInfo[key] == 0 ? '市场服务类' : newInfo[key] == 1 ? '公共服务类' : "";
|
||||
} else {
|
||||
obj["value"] = newInfo[key] ? newInfo[key] : '暂无'
|
||||
}
|
||||
obj["span"] = 1;
|
||||
arr.push(obj)
|
||||
}
|
||||
}
|
||||
arr = arr.filter(element => element.key !== "" && element.key !== "序号");
|
||||
for (var i = 0; i < arr.length; i++) {
|
||||
// if(!arr[i].key) {
|
||||
// delete arr[i];
|
||||
// continue;
|
||||
// }
|
||||
// 计算不同长度所占的列宽
|
||||
if(arr[i].value) {
|
||||
if((i + 1) % 3 == 1 && arr[i].value.length > 50 && arr[i - 1]?.span == 2) {
|
||||
arr[i - 1].span = 3
|
||||
arr[i].span = 3
|
||||
} else if((i + 1) % 3 == 1 && arr[i].value.length > 18 && arr[i].value.length < 50 && arr[i - 1]?.span == 2) {
|
||||
arr[i - 1].span = 3
|
||||
arr[i].span = 2
|
||||
} else if((i + 1) % 3 == 1 && arr[i].value.length > 18 && arr[i].value.length < 50) {
|
||||
arr[i].span = 2
|
||||
} else if((i + 1) % 3 == 2 && arr[i].value.length > 50) {
|
||||
arr[i - 1].span = 3
|
||||
arr[i].span = 3
|
||||
} else if((i + 1) % 3 == 2 && arr[i].value.length > 18 && arr[i].value.length < 50 && arr[i - 1]?.span == 2) {
|
||||
arr[i - 1].span = 3
|
||||
arr[i].span = 2
|
||||
} else if((i + 1) % 3 == 2 && arr[i].value.length > 18 && arr[i].value.length < 50) {
|
||||
arr[i].span = 2
|
||||
} else if((i + 1) % 3 == 0 && arr[i].value.length > 18 && arr[i].value.length < 50 && arr[i - 1]?.span == 1) {
|
||||
arr[i - 1].span = 2
|
||||
arr[i].span = 2
|
||||
} else if((i + 1) % 3 == 0 && arr[i].value.length > 50 && arr[i - 1].span == 1) {
|
||||
arr[i - 1].span = 2
|
||||
arr[i].span = 3
|
||||
} else if((i + 1) % 3 == 0 && arr[i].value.length > 18 && arr[i].value.length < 50 && arr[i - 1]?.span == 2) {
|
||||
arr[i].span = 2
|
||||
} else if((i + 1) % 3 == 0 && arr[i].value.length > 50) {
|
||||
arr[i].span = 3
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.$nextTick(()=>{
|
||||
this.info = [...arr]
|
||||
})
|
||||
}
|
||||
|
||||
},
|
||||
immediate:true,
|
||||
deep:true
|
||||
},
|
||||
fileJson: {
|
||||
handler(newFile){
|
||||
if(newFile) {
|
||||
let arr = []
|
||||
for (var key in newFile) {
|
||||
if (newFile.hasOwnProperty(key)) {
|
||||
let url = newFile[key] ? newFile[key].split("/") : null;
|
||||
let obj = {};
|
||||
obj["key"] = key;
|
||||
if(newFile[key]) {
|
||||
let url = newFile[key].split(',')
|
||||
obj["url"] = []
|
||||
url.forEach(element => {
|
||||
let urlSplit = element.split("/");
|
||||
let objec = {}
|
||||
objec.url = element;
|
||||
objec.value = urlSplit[urlSplit.length - 1];
|
||||
obj["url"].push(objec);
|
||||
});
|
||||
}
|
||||
// obj["value"] = url ? url[url.length - 1] : '';
|
||||
arr.push(obj)
|
||||
}
|
||||
}
|
||||
this.fileInfo = arr;
|
||||
}
|
||||
},
|
||||
deep:true,
|
||||
immediate:true
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
info:[],
|
||||
fileInfo:[],
|
||||
loading:false,
|
||||
VUE_APP_BASE_API:process.env.VUE_APP_BASE_API,
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
// console.log(this.info,"tabOne");
|
||||
// this.loading = true;
|
||||
},
|
||||
methods:{
|
||||
},
|
||||
}
|
||||
</script>
|
@ -1,50 +0,0 @@
|
||||
<template>
|
||||
<div class="money-schedule">
|
||||
<div class="schedule-title">【资金拨付进度】</div>
|
||||
<div class="schedule-timeline">
|
||||
<el-timeline>
|
||||
<el-timeline-item
|
||||
v-for="(activity, index) in activities"
|
||||
:key="index"
|
||||
:icon="activity.icon"
|
||||
:type="activity.type"
|
||||
:size="activity.size"
|
||||
>
|
||||
<el-card> <!-- 去除阴影 shadow="never -->
|
||||
<div class="schedule-content">
|
||||
<div class="schedule-card-title">xxxx年xx月xx日 政府财务审核通过</div>
|
||||
<div class="schedule-status" :class="activity.status == 0 ? 'orange' : activity.status == 1 ? 'green' : activity.status == 2 ? 'blue' : ''">
|
||||
{{ activity.status == 0 ? '已提交' : activity.status == 1 ? '审核通过' : activity.status == 2 ? '已拨付' : '' }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="schedule-time">2023-05-11</div>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
</el-timeline>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name:"tabThree",
|
||||
data() {
|
||||
return {
|
||||
activities: [{
|
||||
size: 'large',
|
||||
icon: 'icon iconfont icon-jc-kong-yuan',
|
||||
status: 2,
|
||||
}, {
|
||||
icon: 'icon iconfont icon-jc-kong-yuan',
|
||||
size: 'large',
|
||||
status: 1,
|
||||
}, {
|
||||
size: 'large',
|
||||
icon: 'icon iconfont icon-jc-kong-yuan',
|
||||
status: 0,
|
||||
}]
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
},
|
||||
}
|
||||
</script>
|
@ -1,40 +0,0 @@
|
||||
<template>
|
||||
<div class="L-unitInfo">
|
||||
<div class="project-info-title">【申报单位信息】</div>
|
||||
<el-descriptions class="margin-top" :column="3" size="medium" border>
|
||||
<el-descriptions-item label="申报类型">投资补助</el-descriptions-item>
|
||||
<el-descriptions-item label="申报企业名称"><a class="a-primary" v-show="info.declareUnit">{{ info.declareUnit }}</a></el-descriptions-item>
|
||||
<el-descriptions-item label="企业性质">内资民营</el-descriptions-item>
|
||||
<el-descriptions-item label="统一社会信用代码">QRDVCDS1321412FDSFDS</el-descriptions-item>
|
||||
<el-descriptions-item label="邮编">215513</el-descriptions-item>
|
||||
<el-descriptions-item label="电话">0512-6782727</el-descriptions-item>
|
||||
<el-descriptions-item label="企业注册地">江苏-苏州-工业园区</el-descriptions-item>
|
||||
<el-descriptions-item label="企业资本" :span="2">4000万元</el-descriptions-item>
|
||||
<el-descriptions-item label="企业责任人(法人代表)姓名">张珊</el-descriptions-item>
|
||||
<el-descriptions-item label="项目联系人 姓名">万林</el-descriptions-item>
|
||||
<el-descriptions-item label="项目联系人 姓名">赵文</el-descriptions-item>
|
||||
<el-descriptions-item label="电话">18012345432</el-descriptions-item>
|
||||
<el-descriptions-item label="电话">18023494876</el-descriptions-item>
|
||||
<el-descriptions-item label="电话">18743870987</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name:"tabTwo",
|
||||
data() {
|
||||
return {
|
||||
}
|
||||
},
|
||||
props:{
|
||||
info:{
|
||||
type:Object,
|
||||
default:()=>{
|
||||
return {}
|
||||
}
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
},
|
||||
}
|
||||
</script>
|
Loading…
Reference in new issue