@ -0,0 +1,19 @@
|
||||
import request from "@/utils/request"
|
||||
|
||||
// 数据云图荣誉情况
|
||||
export function honor(params) {
|
||||
return request({
|
||||
url: "/jjh/dataScreen/honor",
|
||||
method: "get",
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 数据云图项目追踪情况
|
||||
export function projectTracking(params) {
|
||||
return request({
|
||||
url: "/jjh/dataScreen/projectTracking",
|
||||
method: "get",
|
||||
params
|
||||
})
|
||||
}
|
After Width: | Height: | Size: 642 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 604 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 553 B |
After Width: | Height: | Size: 827 B |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 6.3 KiB |
@ -0,0 +1,143 @@
|
||||
<template>
|
||||
<el-dialog
|
||||
title="服务业分行业汇总"
|
||||
:visible.sync="infoVisible"
|
||||
:close-on-click-modal="false"
|
||||
:close-on-press-escape="false"
|
||||
@close="infoClose"
|
||||
custom-class="collectDialog-dialog"
|
||||
append-to-body
|
||||
width="60%"
|
||||
>
|
||||
<div class="collectDialog-box">
|
||||
<section>
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
row-key="id"
|
||||
class="dataMap-two-table"
|
||||
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"
|
||||
:data="tableData"
|
||||
:row-class-name="tableRowClassName"
|
||||
:header-cell-style="{background:'#D1D9E6'}"
|
||||
height="550px"
|
||||
> <!-- :max-height="tabHeader" -->
|
||||
<el-table-column label="行业" prop="industry" width="300"/>
|
||||
<el-table-column label="全年营收" prop="revenue" align="center"/>
|
||||
<el-table-column label="增加值(亿元)" prop="valueAdded" align="center" />
|
||||
<el-table-column label="增加值增速(按不变价)" prop="speedUp" align="center" />
|
||||
<el-table-column label="增加值占GDP比重" prop="proportion" align="center" />
|
||||
</el-table>
|
||||
</section>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: "honorDialog",
|
||||
data() {
|
||||
return {
|
||||
infoVisible: false,
|
||||
loading: false,
|
||||
tableData:[
|
||||
{
|
||||
id: 1,
|
||||
industry:"批发和零售业",
|
||||
revenue:"506.63",
|
||||
valueAdded:"201",
|
||||
speedUp:"0.89%",
|
||||
proportion:"11%",
|
||||
children:[
|
||||
{
|
||||
id: 11,
|
||||
industry:"批发业",
|
||||
revenue:"506.63",
|
||||
valueAdded:"201",
|
||||
speedUp:"0.89%",
|
||||
proportion:"11%",
|
||||
},{
|
||||
id: 12,
|
||||
industry:"零售业",
|
||||
revenue:"506.63",
|
||||
valueAdded:"201",
|
||||
speedUp:"0.89%",
|
||||
proportion:"11%",
|
||||
},
|
||||
]
|
||||
},{
|
||||
id: 2,
|
||||
industry:"交通运输、仓储和邮政业",
|
||||
revenue:"506.63",
|
||||
valueAdded:"201",
|
||||
speedUp:"0.89%",
|
||||
proportion:"11%",
|
||||
children:[
|
||||
{
|
||||
id: 21,
|
||||
industry:"铁路运输业",
|
||||
revenue:"506.63",
|
||||
valueAdded:"201",
|
||||
speedUp:"0.89%",
|
||||
proportion:"11%",
|
||||
},{
|
||||
id: 22,
|
||||
industry:"道路运输业",
|
||||
revenue:"506.63",
|
||||
valueAdded:"201",
|
||||
speedUp:"0.89%",
|
||||
proportion:"11%",
|
||||
},{
|
||||
id: 23,
|
||||
industry:"水上运输业",
|
||||
revenue:"506.63",
|
||||
valueAdded:"201",
|
||||
speedUp:"0.89%",
|
||||
proportion:"11%",
|
||||
}
|
||||
]
|
||||
},{
|
||||
id: 3,
|
||||
industry:"住宿和餐饮业",
|
||||
revenue:"506.63",
|
||||
valueAdded:"201",
|
||||
speedUp:"0.89%",
|
||||
proportion:"11%",
|
||||
children:[],
|
||||
},{
|
||||
id: 4,
|
||||
industry:"信息传输、软件和信息技术服务业",
|
||||
revenue:"506.63",
|
||||
valueAdded:"201",
|
||||
speedUp:"0.89%",
|
||||
proportion:"11%",
|
||||
children:[],
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
open(){
|
||||
this.infoVisible = true;
|
||||
},
|
||||
infoClose(){
|
||||
this.infoVisible = false;
|
||||
},
|
||||
// 修改table背景色
|
||||
tableRowClassName({row, rowIndex}){
|
||||
if(row.children) {
|
||||
console.log(rowIndex);
|
||||
}
|
||||
if (!row.children) {
|
||||
return 'evenNumber-row-childred';
|
||||
} else if(row.children && rowIndex % 2 !== 0){
|
||||
return 'evenNumber-row';
|
||||
}
|
||||
return '';
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .collectDialog-dialog {
|
||||
margin-top: 14vh !important;
|
||||
}
|
||||
</style>
|
@ -0,0 +1,176 @@
|
||||
<template>
|
||||
<el-dialog
|
||||
title="总部企业"
|
||||
:visible.sync="infoVisible"
|
||||
:close-on-click-modal="false"
|
||||
:close-on-press-escape="false"
|
||||
@close="infoClose"
|
||||
custom-class="headquarterEnterprise-dialog"
|
||||
append-to-body
|
||||
width="75%"
|
||||
>
|
||||
<div class="headquarterEnterprise-box">
|
||||
<el-form :inline="true" :model="formInline" size="small" class="headquarterEnterprise-form" ref="queryFrom">
|
||||
<el-col :span="21">
|
||||
<el-form-item label="企业名称:">
|
||||
<el-input v-model.trim="formInline.enterpriseName" placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="统一社会信用代码:"> <!-- 申报单位 -->
|
||||
<el-input v-model.trim="formInline.creditCode" placeholder="请输入统一社会信用代码"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="总部类型:">
|
||||
<el-select class="ignoreElement" v-model="formInline.status" placeholder="请选择总部类型">
|
||||
<!-- <el-option
|
||||
v-for="dict in dict.type.bms_approval_status"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value">
|
||||
</el-option> -->
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="3">
|
||||
<el-form-item>
|
||||
<el-button size="mini" @click="resetQuery('queryFrom')">重置</el-button>
|
||||
<el-button size="mini" type="primary" @click="handleQuery('queryFrom')">查询</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-form>
|
||||
<!-- <el-row class="radio_btn"> -->
|
||||
<el-col class="radio_btn">
|
||||
<el-radio-group v-model="formInline.statusChange" @change="toggleOptionsEnter" fill="#134EE6">
|
||||
<el-radio-button label="0">全部(343)</el-radio-button>
|
||||
<el-radio-button label="1">省级总部(67)</el-radio-button>
|
||||
<el-radio-button label="2">市级总部(149)</el-radio-button>
|
||||
<el-radio-button label="3">区级总部(127)</el-radio-button>
|
||||
</el-radio-group>
|
||||
</el-col>
|
||||
<!-- </el-row> -->
|
||||
<section>
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
class="dataMap-two-table"
|
||||
:data="tableData"
|
||||
:row-class-name="tableRowClassName"
|
||||
:header-cell-style="{background:'#D1D9E6'}"
|
||||
height="500px"
|
||||
> <!-- :max-height="tabHeader" -->
|
||||
<el-table-column label="序号" type="index" align="center" width="50"/>
|
||||
<el-table-column label="企业名称" prop="enterpriseName" align="center"/>
|
||||
<el-table-column label="统一信用代码" prop="creditCode" align="center" />
|
||||
<el-table-column label="总部类型" prop="type" align="center" width="100">
|
||||
<template slot-scope="scope">
|
||||
<div>{{ scope.row.type }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="税收(亿元)" prop="taxRevenue" align="center" width="100"/>
|
||||
<el-table-column label="产值(亿元)" prop="productionValue" align="center" width="100"/>
|
||||
<el-table-column label="营收(亿元)" prop="revenue" align="center" width="100" />
|
||||
<el-table-column label="销售额(亿元)" prop="sale" align="center" width="100" />
|
||||
<el-table-column label="操作" align="center" width="100">
|
||||
<template slot-scope="scope">
|
||||
<div class="project-trace-table-number" @click="enterpriseInfo(scope.row)">企业详情</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<my-pagination
|
||||
:total="total"
|
||||
:page="pagination.current"
|
||||
:limit="pagination.size"
|
||||
@pagination="getPagination"
|
||||
:current-page.sync="pagination.current"
|
||||
></my-pagination>
|
||||
</section>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</template>
|
||||
<script>
|
||||
import myPagination from "@/views/components/Pagination/index.vue"
|
||||
export default {
|
||||
components:{myPagination},
|
||||
name: "honorDialog",
|
||||
data() {
|
||||
return {
|
||||
infoVisible: false,
|
||||
loading: false,
|
||||
tableData:[
|
||||
{
|
||||
enterpriseName:"XX信息技术服务有限公司",
|
||||
creditCode:"91310311118959380R",
|
||||
type:"制造业总部",
|
||||
taxRevenue:"506.63",
|
||||
productionValue:"201",
|
||||
revenue:"188",
|
||||
sale:"199",
|
||||
},{
|
||||
enterpriseName:"XX信息技术服务有限公司",
|
||||
creditCode:"91310311118959380R",
|
||||
type:"制造业总部",
|
||||
taxRevenue:"506.63",
|
||||
productionValue:"201",
|
||||
revenue:"188",
|
||||
sale:"199",
|
||||
},{
|
||||
enterpriseName:"XX信息技术服务有限公司",
|
||||
creditCode:"91310311118959380R",
|
||||
type:"制造业总部",
|
||||
taxRevenue:"506.63",
|
||||
productionValue:"201",
|
||||
revenue:"188",
|
||||
sale:"199",
|
||||
},
|
||||
],
|
||||
formInline:{
|
||||
enterpriseName:"",
|
||||
creditCode:"",
|
||||
statusChange:"0"
|
||||
},
|
||||
pagination: {
|
||||
current:1,
|
||||
size:10,
|
||||
},
|
||||
total:40,
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
open(){
|
||||
this.infoVisible = true;
|
||||
},
|
||||
infoClose(){
|
||||
this.infoVisible = false;
|
||||
},
|
||||
// 获取页码
|
||||
getPagination(pages) {
|
||||
this.pagination.current = pages.page;
|
||||
this.pagination.size = pages.limit;
|
||||
},
|
||||
// 重置
|
||||
resetQuery(){},
|
||||
// 查询
|
||||
handleQuery(){},
|
||||
// 大类数量点击
|
||||
enterpriseInfo(row){
|
||||
// this.$router.push({
|
||||
// name: 'enterpriselibraryInfo',
|
||||
// query: { userId: row.id, creditCode: row.tyshxydm }
|
||||
// })
|
||||
},
|
||||
// tab切换
|
||||
toggleOptionsEnter(val){
|
||||
// this.handleQuery();
|
||||
},
|
||||
// 修改table背景色
|
||||
tableRowClassName({row, rowIndex}){
|
||||
if (rowIndex % 2 !== 0) {
|
||||
return 'evenNumber-row';
|
||||
}
|
||||
return '';
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .headquarterEnterprise-dialog {
|
||||
margin-top: 10vh !important;
|
||||
}
|
||||
</style>
|
@ -0,0 +1,136 @@
|
||||
<template>
|
||||
<el-dialog
|
||||
:title="title"
|
||||
:visible.sync="infoVisible"
|
||||
:close-on-click-modal="false"
|
||||
:close-on-press-escape="false"
|
||||
@close="infoClose"
|
||||
custom-class="serviceIndustry-dialog"
|
||||
append-to-body
|
||||
>
|
||||
<div class="serviceIndustry-box">
|
||||
<el-form :inline="true" :model="formInline" size="small" class="serviceIndustry-form" ref="queryFrom">
|
||||
<el-col :span="20">
|
||||
<el-form-item label="企业名称:">
|
||||
<el-input v-model.trim="formInline.enterpriseName" placeholder="请输入内容"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="统一社会信用代码:"> <!-- 申报单位 -->
|
||||
<el-input v-model.trim="formInline.creditCode" placeholder="请输入统一社会信用代码"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item>
|
||||
<el-button size="mini" @click="resetQuery('queryFrom')">重置</el-button>
|
||||
<el-button size="mini" type="primary" @click="handleQuery('queryFrom')">查询</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-form>
|
||||
<section>
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
class="dataMap-two-table"
|
||||
:data="tableData"
|
||||
:row-class-name="tableRowClassName"
|
||||
:header-cell-style="{background:'#D1D9E6'}"
|
||||
height="550px"
|
||||
> <!-- :max-height="tabHeader" -->
|
||||
<el-table-column label="序号" type="index" align="center" width="50"/>
|
||||
<el-table-column label="企业名称" prop="enterpriseName" align="center"/>
|
||||
<el-table-column label="统一信用代码" prop="creditCode" align="center" />
|
||||
<el-table-column label="全年营收(亿元)" prop="revenue" align="center" width="150" />
|
||||
<el-table-column label="操作" align="center" width="150">
|
||||
<template slot-scope="scope">
|
||||
<div class="project-trace-table-number" @click="enterpriseInfo(scope.row)">企业详情</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<my-pagination
|
||||
:total="total"
|
||||
:page="pagination.current"
|
||||
:limit="pagination.size"
|
||||
@pagination="getPagination"
|
||||
:current-page.sync="pagination.current"
|
||||
></my-pagination>
|
||||
</section>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</template>
|
||||
<script>
|
||||
import myPagination from "@/views/components/Pagination/index.vue"
|
||||
export default {
|
||||
components:{myPagination},
|
||||
name: "honorDialog",
|
||||
data() {
|
||||
return {
|
||||
infoVisible: false,
|
||||
loading: false,
|
||||
tableData:[
|
||||
{
|
||||
enterpriseName:"XX信息技术服务有限公司",
|
||||
creditCode:"91310311118959380R",
|
||||
revenue:"188",
|
||||
},{
|
||||
enterpriseName:"XX信息技术服务有限公司",
|
||||
creditCode:"91310311118959380R",
|
||||
revenue:"188",
|
||||
},{
|
||||
enterpriseName:"XX信息技术服务有限公司",
|
||||
creditCode:"91310311118959380R",
|
||||
revenue:"188",
|
||||
},
|
||||
],
|
||||
formInline:{
|
||||
enterpriseName:"",
|
||||
creditCode:"",
|
||||
},
|
||||
pagination: {
|
||||
current:1,
|
||||
size:10,
|
||||
},
|
||||
total:40,
|
||||
}
|
||||
},
|
||||
props:{
|
||||
title:{
|
||||
typeof:String,
|
||||
default:"企业列表",
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
open(){
|
||||
this.infoVisible = true;
|
||||
},
|
||||
infoClose(){
|
||||
this.infoVisible = false;
|
||||
},
|
||||
// 获取页码
|
||||
getPagination(pages) {
|
||||
this.pagination.current = pages.page;
|
||||
this.pagination.size = pages.limit;
|
||||
},
|
||||
// 重置
|
||||
resetQuery(){},
|
||||
// 查询
|
||||
handleQuery(){},
|
||||
// 大类数量点击
|
||||
enterpriseInfo(row){
|
||||
// this.$router.push({
|
||||
// name: 'enterpriselibraryInfo',
|
||||
// query: { userId: row.id, creditCode: row.tyshxydm }
|
||||
// })
|
||||
},
|
||||
// 修改table背景色
|
||||
tableRowClassName({row, rowIndex}){
|
||||
if (rowIndex % 2 !== 0) {
|
||||
return 'evenNumber-row';
|
||||
}
|
||||
return '';
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .serviceIndustry-dialog {
|
||||
margin-top: 10vh !important;
|
||||
}
|
||||
</style>
|