Commit b9beb501 authored by caixingbing's avatar caixingbing
parents 60cc9dd4 0f789f40
...@@ -34,4 +34,104 @@ export function abnormalYears(data) { ...@@ -34,4 +34,104 @@ export function abnormalYears(data) {
}) })
} }
// 被执行人列表
export function executedPersonsPage(data) {
return request({
url: '/enterpriseCredit/executedPersonsPage',
method: 'post',
data:data
})
}
// 失信被执行人列表
export function executedPage(data) {
return request({
url: '/enterpriseCredit/executedPage',
method: 'post',
data:data
})
}
// 裁判文书列表
export function lawsuitsPage(data) {
return request({
url: '/enterpriseCredit/lawsuitsPage',
method: 'post',
data:data
})
}
// 裁判文书案由
export function lawsuitsCauseAction(data) {
return request({
url: '/enterpriseCredit/lawsuitsCauseAction',
method: 'post',
data:data
})
}
// 裁判文书身份
export function lawsuitsRole(data) {
return request({
url: '/enterpriseCredit/lawsuitsRole',
method: 'post',
data:data
})
}
// 法院公告列表
export function noticesPage(data) {
return request({
url: '/enterpriseCredit/noticesPage',
method: 'post',
data:data
})
}
// 法院公告类型
export function noticesType(data) {
return request({
url: '/enterpriseCredit/noticesType',
method: 'post',
data:data
})
}
// 法院公告身份
export function noticesRole(data) {
return request({
url: '/enterpriseCredit/noticesRole',
method: 'post',
data:data
})
}
// 法院公告案由
export function noticesCaseReason(data) {
return request({
url: '/enterpriseCredit/noticesCaseReason',
method: 'post',
data:data
})
}
// 开庭公告列表
export function kaitingPage(data) {
return request({
url: '/enterpriseCredit/kaitingPage',
method: 'post',
data:data
})
}
// 开庭公告案由
export function kaitingCauseAction(data) {
return request({
url: '/enterpriseCredit/kaitingCauseAction',
method: 'post',
data:data
})
}
// 开庭公告当事人身份
export function kaitingPureRole(data) {
return request({
url: '/enterpriseCredit/kaitingPureRole',
method: 'post',
data:data
})
}
...@@ -53,6 +53,10 @@ ...@@ -53,6 +53,10 @@
<el-option v-for="(item, index) in form.options" :key="index" :label="item.name" :value="item.value" /> <el-option v-for="(item, index) in form.options" :key="index" :label="item.name" :value="item.value" />
</el-select> </el-select>
</template> </template>
<!-- 自定义 -->
<template v-if="form.type==0">
<slot name="slot"></slot>
</template>
</div> </div>
...@@ -109,7 +113,6 @@ export default { ...@@ -109,7 +113,6 @@ export default {
}, },
methods: { methods: {
changeSelect(){ changeSelect(){
console.log(this.formData)
this.$emit('handle-search') this.$emit('handle-search')
}, },
clickEXCEL() { clickEXCEL() {
...@@ -204,6 +207,9 @@ export default { ...@@ -204,6 +207,9 @@ export default {
color: rgba(35,35,35,0.8); color: rgba(35,35,35,0.8);
margin-left: 16px; margin-left: 16px;
cursor: pointer; cursor: pointer;
&:hover{
color: #0081FF;
}
img{ img{
width: 18px; width: 18px;
height: 18px; height: 18px;
......
...@@ -43,6 +43,8 @@ ...@@ -43,6 +43,8 @@
</div> </div>
</template> </template>
<!-- <Detail />-->
<!-- 弹窗关联项目 --> <!-- 弹窗关联项目 -->
<el-drawer <el-drawer
title="添加合作情况" title="添加合作情况"
...@@ -130,11 +132,12 @@ import { ...@@ -130,11 +132,12 @@ import {
queryProject queryProject
} from '@/api/detail/party-a/cooperate' } from '@/api/detail/party-a/cooperate'
import {addProject} from '@/api/project/project' import {addProject} from '@/api/project/project'
import Detail from "../../../project/projectList/detail"
export default { export default {
name: 'Cooperate', name: 'Cooperate',
mixins: [mixin], mixins: [mixin],
components: { components: {
Detail
}, },
data() { data() {
return { return {
......
...@@ -25,25 +25,25 @@ ...@@ -25,25 +25,25 @@
<Tencent v-if="currentPath.pathName=='tencent'" :company-id="companyId" /> <Tencent v-if="currentPath.pathName=='tencent'" :company-id="companyId" />
<Administrative v-if="currentPath.pathName=='administrative'" :company-id="companyId" /> <Administrative v-if="currentPath.pathName=='administrative'" :company-id="companyId" />
<!-- 投诚分析 --> <!-- 投诚分析 -->
<LandAcquisition v-if="currentPath.pathName=='landAcquisition'" /> <LandAcquisition v-if="currentPath.pathName=='landAcquisition'" :company-id="companyId" />
<RegionalEconomies v-if="currentPath.pathName=='regionalEconomies'" /> <RegionalEconomies v-if="currentPath.pathName=='regionalEconomies'" :company-id="companyId" />
<SameRegion v-if="currentPath.pathName=='sameRegion'" /> <SameRegion v-if="currentPath.pathName=='sameRegion'" :company-id="companyId" />
<!-- 风险信息 --> <!-- 风险信息 -->
<Punish v-if="currentPath.pathName=='punish'" /> <Punish v-if="currentPath.pathName=='punish'" :company-id="companyId" />
<BusinessAnomaly v-if="currentPath.pathName=='businessAnomaly'" /> <BusinessAnomaly v-if="currentPath.pathName=='businessAnomaly'" :company-id="companyId" />
<IfThePerson v-if="currentPath.pathName=='ifThePerson'" /> <IfThePerson v-if="currentPath.pathName=='ifThePerson'" :company-id="companyId" />
<Dishonesty v-if="currentPath.pathName=='dishonesty'" /> <Dishonesty v-if="currentPath.pathName=='dishonesty'" :company-id="companyId" />
<Judgment v-if="currentPath.pathName=='judgment'" /> <Judgment v-if="currentPath.pathName=='judgment'" :company-id="companyId" />
<CourtNotice v-if="currentPath.pathName=='courtNotice'" /> <CourtNotice v-if="currentPath.pathName=='courtNotice'" :company-id="companyId" />
<OpenacourtsessionNotice v-if="currentPath.pathName=='openacourtsessionNotice'" /> <OpenacourtsessionNotice v-if="currentPath.pathName=='openacourtsessionNotice'" :company-id="companyId" />
<!-- 招标偏好 --> <!-- 招标偏好 -->
<Preference v-if="currentPath.pathName=='preference'" /> <Preference v-if="currentPath.pathName=='preference'" :company-id="companyId" />
<!-- 合作情况 --> <!-- 合作情况 -->
<Cooperate v-if="currentPath.pathName=='cooperate'" /> <Cooperate v-if="currentPath.pathName=='cooperate'" :company-id="companyId" />
<!-- 决策链条 --> <!-- 决策链条 -->
<DecisionMaking v-if="currentPath.pathName=='decisionMaking'" /> <DecisionMaking v-if="currentPath.pathName=='decisionMaking'" :company-id="companyId" />
<!-- 跟进记录 --> <!-- 跟进记录 -->
<Gjjl v-if="currentPath.pathName=='gjjl'" types="gjdt" /> <Gjjl v-if="currentPath.pathName=='gjjl'" :company-id="companyId" />
</div> </div>
</div> </div>
</div> </div>
......
...@@ -35,6 +35,9 @@ export default { ...@@ -35,6 +35,9 @@ export default {
}) })
Object.keys(condtion).forEach(key => { Object.keys(condtion).forEach(key => {
if(condtion[key]) { if(condtion[key]) {
if(Array.isArray(condtion[key]) && condtion[key].length == 0){
delete condtion[key]
}
reqData[key] = condtion[key] reqData[key] = condtion[key]
} }
}) })
...@@ -47,13 +50,14 @@ export default { ...@@ -47,13 +50,14 @@ export default {
handleSearch(){ handleSearch(){
let params = this.formParams() let params = this.formParams()
params.pageNum = 1 params.pageNum = 1
this.queryParams.pageNum = 1
this.handleQuery(params) this.handleQuery(params)
}, },
//分页 //分页
handleCurrentChange(e){ handleCurrentChange(e){
console.log(e)
let params = this.formParams() let params = this.formParams()
params.pageNum = e params.pageNum = e
this.queryParams.pageNum = e
this.handleQuery(params) this.handleQuery(params)
}, },
handleSizeChange(e){ handleSizeChange(e){
......
...@@ -32,11 +32,17 @@ export default { ...@@ -32,11 +32,17 @@ export default {
mixins: [mixin], mixins: [mixin],
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 6034, cid: 382724726,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
...@@ -49,7 +55,7 @@ export default { ...@@ -49,7 +55,7 @@ export default {
{label: '做出决定机关(移除)', prop: 'outDepartment', width: '264'} {label: '做出决定机关(移除)', prop: 'outDepartment', width: '264'}
], ],
formData: [ formData: [
{ type: 1, fieldName: 'years', value: '', placeholder: '列入时间', options: []} { type: 4, fieldName: 'years', value: '', placeholder: '列入时间', options: []}
], ],
//列表 //列表
tableLoading:false, tableLoading:false,
...@@ -61,6 +67,7 @@ export default { ...@@ -61,6 +67,7 @@ export default {
}, },
created() { created() {
this.handleQuery() this.handleQuery()
this.years()
}, },
computed: { computed: {
...@@ -68,10 +75,26 @@ export default { ...@@ -68,10 +75,26 @@ export default {
methods: { methods: {
handleQuery(params) { handleQuery(params) {
let data = params ? params : this.queryParams let data = params ? params : this.queryParams
this.tableLoading = true
abnormalPage(data).then(res => { abnormalPage(data).then(res => {
this.tableData = res.rows
this.tableDataTotal = res.total
this.tableLoading = false
}) })
}, },
years(){
abnormalYears({cid: this.queryParams.cid}).then(res => {
let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[0].options.push({
name: data[i].year + '(' + data[i].count + ')',
value: data[i].year,
})
}
}
})
}
} }
} }
</script> </script>
......
...@@ -22,85 +22,111 @@ ...@@ -22,85 +22,111 @@
</template> </template>
<script> <script>
import {
noticesPage,
noticesType,
noticesRole,
noticesCaseReason
} from '@/api/detail/party-a/riskInformation'
import mixin from '../mixins/mixin' import mixin from '../mixins/mixin'
export default { export default {
name: 'CourtNotice', name: 'CourtNotice',
mixins: [mixin], mixins: [mixin],
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 6034, cid: 20734,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
forData: [ forData: [
{label: '案由', prop: 'enterpriseName'}, {label: '案由', prop: 'caseReason'},
{label: '公告时间', prop: 'level', width: '95'}, {label: '公告时间', prop: 'date', width: '95'},
{label: '当事人', prop: 'capital', width: '240'}, {label: '当事人', prop: 'people', width: '240'},
{label: '案号', prop: 'cgrdm', width: '210'}, {label: '案号', prop: 'objId', width: '210'},
{label: '公告类型', prop: 'cgrssqy', width: '210'}, {label: '公告类型', prop: 'type', width: '210'},
{label: '公告法院', prop: 'dataId', width: '280'} {label: '公告法院', prop: 'court', width: '280'}
], ],
formData: [ formData: [
{ type: 1, fieldName: 'penalizeReasonType', value: '', placeholder: '公告类型', { type: 1, fieldName: 'type', value: '', placeholder: '公告类型', options: []},
options: [ { type: 1, fieldName: 'caseReason', value: '', placeholder: '案由', options: []},
{ name: '处罚类别1', value: '1' }, { type: 1, fieldName: 'role', value: '', placeholder: '身份', options: []},
{ name: '处罚类别2', value: '2' }, { type: 2, fieldName: 'time', value: '', placeholder: '',startTime: 'dateFrom',endTime: 'dateTo'},
{ name: '处罚类别3', value: '3' }, { type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词'},
{ name: '处罚类别4', value: '4' }
]
},
{ type: 1, fieldName: 'penalizeReasonType', value: '', placeholder: '案由',
options: [
{ name: '处罚类别1', value: '1' },
{ name: '处罚类别2', value: '2' },
{ name: '处罚类别3', value: '3' },
{ name: '处罚类别4', value: '4' }
]
},
{ type: 1, fieldName: 'penalizeReasonType', value: '', placeholder: '身份',
options: [
{ name: '处罚类别1', value: '1' },
{ name: '处罚类别2', value: '2' },
{ name: '处罚类别3', value: '3' },
{ name: '处罚类别4', value: '4' }
]
},
{ type: 2, fieldName: 'time', value: '', placeholder: '',startTime: 'dateFrom',endTime: 'dateTo', options: []},
{ type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词', options: []},
], ],
//列表 //列表
tableLoading:false, tableLoading:false,
tableData:[], tableData:[],
pageIndex:1,
pageSize:10,
tableDataTotal:0, tableDataTotal:0,
} }
}, },
created() { created() {
this.dataRegion() this.handleQuery()
this.noticesTypes()
this.noticesRoles()
this.noticesCaseReasons()
}, },
computed: { computed: {
}, },
methods: { methods: {
async dataRegion() {
// await axios.post("https://files.jiansheku.com/file/json/common/dataRegion.json", {}, {
// headers: {
// 'Content-Type': 'application/json'
// }
// }).then(res => {
// if (res.data.code == 200) {
// console.log(res.data.data)
// }
// })
},
handleQuery(params) { handleQuery(params) {
console.log(params) let data = params ? params : this.queryParams
this.tableLoading = true
noticesPage(data).then(res => {
this.tableData = res.rows
this.tableDataTotal = res.total
this.tableLoading = false
})
},
noticesTypes(){
noticesType({cid: this.queryParams.cid}).then(res => {
let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[0].options.push({
name: data[i].type + '(' + data[i].count + ')',
value: data[i].type,
})
}
} }
})
},
noticesRoles(){
noticesRole({cid: this.queryParams.cid}).then(res => {
let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[1].options.push({
name: data[i].role + '(' + data[i].count + ')',
value: data[i].role,
})
}
}
})
},
noticesCaseReasons(){
noticesCaseReason({cid: this.queryParams.cid}).then(res => {
let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[2].options.push({
name: data[i].caseReason + '(' + data[i].count + ')',
value: data[i].caseReason,
})
}
}
})
},
} }
} }
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
/> />
<tables <tables
:index-fixed="true"
:tableLoading="tableLoading" :tableLoading="tableLoading"
:tableData="tableData" :tableData="tableData"
:forData="forData" :forData="forData"
...@@ -22,22 +23,31 @@ ...@@ -22,22 +23,31 @@
</template> </template>
<script> <script>
import {
executedPage
} from '@/api/detail/party-a/riskInformation'
import mixin from '../mixins/mixin' import mixin from '../mixins/mixin'
export default { export default {
name: 'Dishonesty', name: 'Dishonesty',
mixins: [mixin], mixins: [mixin],
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 6034, cid: 5504335,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
forData: [ forData: [
{label: '失信被执行人行为具体情形', prop: 'executionDesc', width: '508'}, {label: '失信被执行人行为具体情形', prop: 'executionDesc', width: '508', fixed: true},
{label: '立案日期', prop: 'date', width: '95'}, {label: '立案日期', prop: 'date', width: '95'},
{label: '履行情况', prop: 'executionStatus', width: '120'}, {label: '履行情况', prop: 'executionStatus', width: '120'},
{label: '立案文号', prop: 'caseNumber', width: '210'}, {label: '立案文号', prop: 'caseNumber', width: '210'},
...@@ -50,31 +60,24 @@ export default { ...@@ -50,31 +60,24 @@ export default {
//列表 //列表
tableLoading:false, tableLoading:false,
tableData:[], tableData:[],
pageIndex:1,
pageSize:10,
tableDataTotal:0, tableDataTotal:0,
} }
}, },
created() { created() {
this.dataRegion() this.handleQuery()
}, },
computed: { computed: {
}, },
methods: { methods: {
async dataRegion() {
// await axios.post("https://files.jiansheku.com/file/json/common/dataRegion.json", {}, {
// headers: {
// 'Content-Type': 'application/json'
// }
// }).then(res => {
// if (res.data.code == 200) {
// console.log(res.data.data)
// }
// })
},
handleQuery(params) { handleQuery(params) {
console.log(params) let data = params ? params : this.queryParams
this.tableLoading = true
executedPage(data).then(res => {
this.tableData = res.rows
this.tableDataTotal = res.total
this.tableLoading = false
})
} }
} }
} }
......
...@@ -22,17 +22,26 @@ ...@@ -22,17 +22,26 @@
</template> </template>
<script> <script>
import {
executedPersonsPage
} from '@/api/detail/party-a/riskInformation'
import mixin from '../mixins/mixin' import mixin from '../mixins/mixin'
export default { export default {
name: 'IfThePerson', name: 'IfThePerson',
mixins: [mixin], mixins: [mixin],
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 6034, cid: 194738907,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
...@@ -48,34 +57,25 @@ export default { ...@@ -48,34 +57,25 @@ export default {
//列表 //列表
tableLoading:false, tableLoading:false,
tableData:[], tableData:[],
pageIndex:1,
pageSize:10,
tableDataTotal:0, tableDataTotal:0,
} }
}, },
created() { created() {
this.dataRegion() this.handleQuery()
}, },
computed: { computed: {
}, },
methods: { methods: {
async dataRegion() {
// await axios.post("https://files.jiansheku.com/file/json/common/dataRegion.json", {}, {
// headers: {
// 'Content-Type': 'application/json'
// }
// }).then(res => {
// if (res.data.code == 200) {
// console.log(res.data.data)
// }
// })
},
handleQuery(params) { handleQuery(params) {
console.log(params) let data = params ? params : this.queryParams
this.tableLoading = true
executedPersonsPage(data).then(res => {
this.tableData = res.rows
this.tableDataTotal = res.total
this.tableLoading = false
})
} }
} }
} }
</script> </script>
......
...@@ -16,24 +16,41 @@ ...@@ -16,24 +16,41 @@
:tableDataTotal="tableDataTotal" :tableDataTotal="tableDataTotal"
:queryParams="queryParams" :queryParams="queryParams"
@handle-current-change="handleCurrentChange" @handle-current-change="handleCurrentChange"
/> >
<template slot="relatedCompanies" slot-scope="scope">
<div v-for="item in scope.row.relatedCompanies">
<span>{{ item.clean_role }}</span>{{ item.name }}
</div>
</template>
</tables>
</div> </div>
</template> </template>
<script> <script>
import {
lawsuitsPage,
lawsuitsCauseAction,
lawsuitsRole
} from '@/api/detail/party-a/riskInformation'
import mixin from '../mixins/mixin' import mixin from '../mixins/mixin'
export default { export default {
name: 'Judgment', name: 'Judgment',
mixins: [mixin], mixins: [mixin],
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 6034, cid: 5504335,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
...@@ -41,59 +58,69 @@ export default { ...@@ -41,59 +58,69 @@ export default {
{label: '案由', prop: 'causeAction', width: '240'}, {label: '案由', prop: 'causeAction', width: '240'},
{label: '执行案号', prop: 'causeNo', width: '210'}, {label: '执行案号', prop: 'causeNo', width: '210'},
{label: '身份', prop: 'role', width: '120'}, {label: '身份', prop: 'role', width: '120'},
{label: '当事人', prop: 'relatedCompanies', width: '240'}, {label: '当事人', prop: 'relatedCompanies', width: '240', slot: true},
{label: '案件金额(元)', prop: 'subAmount', width: '140'}, {label: '案件金额(元)', prop: 'subAmount', width: '140'},
{label: '判决结果', prop: 'judgeresult', width: '508'}, {label: '判决结果', prop: 'judgeresult', width: '508'},
{label: '判决日期', prop: 'date', width: '95'}, {label: '判决日期', prop: 'date', width: '95'},
], ],
formData: [ formData: [
{ type: 1, fieldName: 'causeAction', value: '', placeholder: '案由', { type: 1, fieldName: 'causeAction', value: '', placeholder: '案由', options: []},
options: [ { type: 1, fieldName: 'role', value: '', placeholder: '身份', options: []},
{ name: '处罚类别1', value: '1' }, { type: 2, fieldName: 'time', value: '', placeholder: '',startTime: 'dateFrom',endTime: 'dateTo'},
{ name: '处罚类别2', value: '2' }, { type: 3, fieldName: 'keys', value: '', placeholder: '搜索关键字'}
{ name: '处罚类别3', value: '3' },
{ name: '处罚类别4', value: '4' }
]
},
{ type: 1, fieldName: 'role', value: '', placeholder: '身份',
options: [
{ name: '处罚类别1', value: '1' },
{ name: '处罚类别2', value: '2' },
{ name: '处罚类别3', value: '3' },
{ name: '处罚类别4', value: '4' }
]
},
{ type: 2, fieldName: 'tiem', value: '', placeholder: '',startTime: 'dateFrom',endTime: 'dateTo', options: []},
{ type: 3, fieldName: 'keys', value: '', placeholder: '搜索关键字', options: []}
], ],
//列表 //列表
tableLoading:false, tableLoading:false,
tableData:[], tableData:[],
pageIndex:1,
pageSize:10,
tableDataTotal:0, tableDataTotal:0,
} }
}, },
created() { created() {
this.dataRegion() this.handleQuery()
this.lawsuitsCauseActions()
this.lawsuitsRoles()
}, },
computed: { computed: {
}, },
methods: { methods: {
async dataRegion() {
// await axios.post("https://files.jiansheku.com/file/json/common/dataRegion.json", {}, {
// headers: {
// 'Content-Type': 'application/json'
// }
// }).then(res => {
// if (res.data.code == 200) {
// console.log(res.data.data)
// }
// })
},
handleQuery(params) { handleQuery(params) {
console.log(params) let data = params ? params : this.queryParams
this.tableLoading = true
lawsuitsPage(data).then(res => {
this.tableData = res.rows
for (var i=0;i<this.tableData.length;i++){
this.tableData[i].relatedCompanies = JSON.parse(this.tableData[i].relatedCompanies)
}
this.tableDataTotal = res.total
this.tableLoading = false
})
},
lawsuitsCauseActions(){
lawsuitsCauseAction({cid: this.queryParams.cid}).then(res => {
let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[0].options.push({
name: data[i].causeAction + '(' + data[i].num + ')',
value: data[i].causeAction,
})
}
}
})
},
lawsuitsRoles(){
lawsuitsRole({cid: this.queryParams.cid}).then(res => {
let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[1].options.push({
name: data[i].role + '(' + data[i].num + ')',
value: data[i].role,
})
}
}
})
} }
} }
} }
......
...@@ -10,63 +10,67 @@ ...@@ -10,63 +10,67 @@
/> />
<tables <tables
:index-fixed="true"
:tableLoading="tableLoading" :tableLoading="tableLoading"
:tableData="tableData" :tableData="tableData"
:forData="forData" :forData="forData"
:tableDataTotal="tableDataTotal" :tableDataTotal="tableDataTotal"
:queryParams="queryParams" :queryParams="queryParams"
@handle-current-change="handleCurrentChange" @handle-current-change="handleCurrentChange"
/> >
<template slot="relatedCompanies" slot-scope="scope">
<div v-for="item in scope.row.relatedCompanies">
<span>{{ item.role }}</span>{{ item.name }}
</div>
</template>
</tables>
</div> </div>
</template> </template>
<script> <script>
import {
kaitingPage,
kaitingCauseAction,
kaitingPureRole
} from '@/api/detail/party-a/riskInformation'
import mixin from '../mixins/mixin' import mixin from '../mixins/mixin'
export default { export default {
name: 'OpenacourtsessionNotice', name: 'OpenacourtsessionNotice',
mixins: [mixin], mixins: [mixin],
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 6034, cid: 20734,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
forData: [ forData: [
{label: '案由', prop: 'causeAction', width: '240'}, {label: '案由', prop: 'causeAction', width: '240', fixed: true},
{label: '开庭日期', prop: 'hearingDate', width: '95'}, {label: '开庭日期', prop: 'hearingDate', width: '95'},
{label: '当事人', prop: 'relatedCompanies', width: '428'}, {label: '当事人', prop: 'relatedCompanies', width: '428', slot: true},
{label: '身份', prop: 'pureRole', width: '120'}, {label: '身份', prop: 'pureRole', width: '120'},
{label: '公告内容', prop: 'cgrssqy', width: '508'}, {label: '公告内容', prop: '', width: '508'},
{label: '案号', prop: 'caseNo', width: '210'}, {label: '案号', prop: 'caseNo', width: '210'},
{label: '法院', prop: 'dataId', width: '280'}, {label: '法院', prop: 'court', width: '280'},
{label: '法庭', prop: 'dataId', width: '180'}, {label: '法庭', prop: '', width: '180'},
{label: '承办部门', prop: 'dataId', width: '280'}, {label: '承办部门', prop: '', width: '280'},
{label: '审判长/主判人', prop: 'dataId', width: '106'} {label: '审判长/主判人', prop: '', width: '106'}
], ],
formData: [ formData: [
{ type: 1, fieldName: 'causeAction', value: '', placeholder: '案由', { type: 1, fieldName: 'causeAction', value: '', placeholder: '案由', options: []},
options: [ { type: 1, fieldName: 'pureRole', value: '', placeholder: '身份', options: []},
{ name: '处罚类别1', value: '1' }, { type: 2, fieldName: 'time', value: '', placeholder: '',startTime: 'dateFrom',endTime: 'dateTo'},
{ name: '处罚类别2', value: '2' }, { type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词'},
{ name: '处罚类别3', value: '3' },
{ name: '处罚类别4', value: '4' }
]
},
{ type: 1, fieldName: 'pureRole', value: '', placeholder: '身份',
options: [
{ name: '处罚类别1', value: '1' },
{ name: '处罚类别2', value: '2' },
{ name: '处罚类别3', value: '3' },
{ name: '处罚类别4', value: '4' }
]
},
{ type: 2, fieldName: 'time', value: '', placeholder: '',startTime: 'dateFrom',endTime: 'dateTo', options: []},
{ type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词', options: []},
], ],
//列表 //列表
tableLoading:false, tableLoading:false,
...@@ -77,7 +81,9 @@ export default { ...@@ -77,7 +81,9 @@ export default {
} }
}, },
created() { created() {
this.dataRegion() this.handleQuery()
this.kaitingCauseActions()
this.kaitingPureRoles()
}, },
computed: { computed: {
...@@ -87,20 +93,44 @@ export default { ...@@ -87,20 +93,44 @@ export default {
let Id = '111' let Id = '111'
this.$router.push({ path: '/project/projectList/detail', query: Id }); this.$router.push({ path: '/project/projectList/detail', query: Id });
}, },
async dataRegion() {
// await axios.post("https://files.jiansheku.com/file/json/common/dataRegion.json", {}, {
// headers: {
// 'Content-Type': 'application/json'
// }
// }).then(res => {
// if (res.data.code == 200) {
// console.log(res.data.data)
// }
// })
},
handleQuery(params) { handleQuery(params) {
console.log(params) let data = params ? params : this.queryParams
this.tableLoading = true
kaitingPage(data).then(res => {
this.tableData = res.rows
for (var i=0;i<this.tableData.length;i++){
this.tableData[i].relatedCompanies = JSON.parse(this.tableData[i].relatedCompanies)
} }
this.tableDataTotal = res.total
this.tableLoading = false
})
},
kaitingCauseActions(){
kaitingCauseAction({cid: this.queryParams.cid}).then(res => {
let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[0].options.push({
name: data[i].causeAction + '(' + data[i].count + ')',
value: data[i].causeAction,
})
}
}
})
},
kaitingPureRoles(){
kaitingPureRole({cid: this.queryParams.cid}).then(res => {
let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[1].options.push({
name: data[i].pureRole + '(' + data[i].count + ')',
value: data[i].pureRole,
})
}
}
})
},
} }
} }
</script> </script>
......
...@@ -40,11 +40,17 @@ export default { ...@@ -40,11 +40,17 @@ export default {
mixins: [mixin], mixins: [mixin],
components: { components: {
},
props: {
companyId: {
type: Number,
default: 0
}
}, },
data() { data() {
return { return {
queryParams: { queryParams: {
cid: 382724726, cid: this.companyId,
pageNum: 1, pageNum: 1,
pageSize: 10 pageSize: 10
}, },
...@@ -53,9 +59,9 @@ export default { ...@@ -53,9 +59,9 @@ export default {
{label: '决定日期', prop: 'punishBegin', width: '95'}, {label: '决定日期', prop: 'punishBegin', width: '95'},
{label: '处罚结果', prop: 'punishResult', width: '264'}, {label: '处罚结果', prop: 'punishResult', width: '264'},
{label: '处罚文书号', prop: 'fileNum', width: '200'}, {label: '处罚文书号', prop: 'fileNum', width: '200'},
{label: '相关人员', prop: 'cgrdm', width: '88'}, {label: '相关人员', prop: '', width: '88'},
{label: '处罚机关', prop: 'office', width: '264'}, {label: '处罚机关', prop: 'office', width: '264'},
{label: '处罚结束日期', prop: 'dataId', width: '100'}, {label: '处罚结束日期', prop: '', width: '100'},
], ],
formData: [ formData: [
{ type: 1, fieldName: 'penalizeReasonType', value: '', placeholder: '处罚类别', options: []}, { type: 1, fieldName: 'penalizeReasonType', value: '', placeholder: '处罚类别', options: []},
...@@ -63,41 +69,40 @@ export default { ...@@ -63,41 +69,40 @@ export default {
], ],
//列表 //列表
tableLoading:false, tableLoading:false,
tableData:[ tableData:[],
{ tableDataTotal:0,
punishReason:'根据成都市住房和城乡建设局《关于持续开展建设工地扬尘治理专项攻坚行动的通知》(成住建发(2021]178号),对你单位参建的项目住宅、商业及配套设施(2020-510107-47-03-506368) (金茂府三期)(安监备案编号:WH-CJ-AJ-2021-001)监督检查中发现未湿法作业(现场存在露天切割石材,未采取降尘防尘措施)。)的违规行为,予以记录并扣分,预扣减施工企业现场信用信息得分0.05分,预扣减监理企业现场信用信息得分...预扣减施工企业现场信用信息得分0.05分,预扣减监理企业现场信用信息得分',
punishBegin:'2015-08-06',
punishResult:'列入全省3-6月份拖欠农民工工资预警项目,现予以限期整改通报。',
fileNum:'铜城建罚决字【2021)】18-5号',
cgrdm:'测试1',
office:'江苏省住房和城乡建设厅',
dataId:'2015-08-06',
}
],
tableDataTotal:200,
showList:[], showList:[],
} }
}, },
created() { created() {
this.getList() this.handleQuery()
this.penalizeReasonTypeData() this.penalizeReasonTypeData()
}, },
computed: { computed: {
}, },
methods: { methods: {
getList() { handleQuery(params) {
penalizePage(this.queryParams).then((res) => { let data = params ? params : this.queryParams
console.log(res.data.rows) this.tableLoading = true
penalizePage(data).then((res) => {
this.tableData = res.rows
this.tableDataTotal = res.total
this.tableLoading = false
}) })
}, },
penalizeReasonTypeData(){ penalizeReasonTypeData(){
penalizeReasonType({cid:this.queryParams.cid}).then((res) => { penalizeReasonType({cid:this.queryParams.cid}).then((res) => {
console.log(res) let data = res.data
if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[0].options.push({
name: data[i].punishType + '(' + data[i].count + ')',
value: data[i].punishTypeId,
})
}
}
}) })
},
handleQuery(params) {
console.log(params)
}, },
changeShowAll(row, column) { changeShowAll(row, column) {
this.showList.push({ this.showList.push({
......
...@@ -16,7 +16,11 @@ ...@@ -16,7 +16,11 @@
:tableDataTotal="tableDataTotal" :tableDataTotal="tableDataTotal"
:queryParams="queryParams" :queryParams="queryParams"
@handle-current-change="handleCurrentChange" @handle-current-change="handleCurrentChange"
/> >
<template slot="projectName" slot-scope="data">
<router-link :to="''+ data.row.id" style="color: #0081FF">{{ data.row.projectName }}</router-link>
</template>
</tables>
</div> </div>
</template> </template>
...@@ -42,19 +46,19 @@ export default { ...@@ -42,19 +46,19 @@ export default {
pageSize: 10 pageSize: 10
}, },
forData: [ forData: [
{label: '项目名称', prop: 'punishReason', width: '508'}, {label: '项目名称', prop: 'projectName', width: '508', slot: true},
{label: '土地用途', prop: 'punishBegin', width: '120'}, {label: '土地用途', prop: 'landUse', width: '120'},
{label: '行业分类', prop: 'punishResult', width: '120'}, {label: '行业分类', prop: 'industry', width: '120'},
{label: '供地方式', prop: 'fileNum', width: '120'}, {label: '供地方式', prop: 'supplyLandWay', width: '120'},
{label: '土地坐落', prop: 'cgrdm', width: '120'}, {label: '土地坐落', prop: 'landAddr', width: '150'},
{label: '成交金额(万元)', prop: 'office', width: '130'}, {label: '成交金额(万元)', prop: 'transactionPrice', width: '130'},
{label: '总面积(㎡)', prop: 'dataId', width: '120'}, {label: '总面积(㎡)', prop: 'acreage', width: '120'},
{label: '批准单位', prop: 'dataId', width: '120'}, {label: '批准单位', prop: 'authority', width: '120'},
{label: '签订日期', prop: 'dataId', width: '120'} {label: '签订日期', prop: 'contractSignTime', width: '120'}
], ],
formData: [ formData: [
{ type: 4, fieldName: 'landUse', value: [], placeholder: '土地用途', options: []}, { type: 4, fieldName: 'landUse', value: '', placeholder: '土地用途', options: []},
{ type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词', options: []}, { type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词'},
], ],
//列表 //列表
tableLoading:false, tableLoading:false,
...@@ -63,29 +67,34 @@ export default { ...@@ -63,29 +67,34 @@ export default {
} }
}, },
created() { created() {
this.getList() this.handleQuery()
this.getlandUse() this.getlandUse()
}, },
computed: { computed: {
}, },
methods: { methods: {
getList() { handleQuery(params) {
let data = params ? params : this.queryParams
this.tableLoading = true this.tableLoading = true
landTransactionPage(this.queryParams).then(res=>{ landTransactionPage(data).then(res=>{
this.tableData = res.data this.tableData = res.rows
this.tableDataTotal = res.data.total this.tableDataTotal = res.total
this.tableLoading = false this.tableLoading = false
}) })
}, },
handleQuery(params) {
console.log(params)
},
//土地用途 //土地用途
getlandUse(){ getlandUse(){
landUse({cid: this.queryParams.cid}).then(res=>{ landUse({cid: this.queryParams.cid}).then(res=>{
console.log(res) let data = res.data
// this.formData[0].options = res.data if(data.length > 0){
for (var i=0;i<data.length;i++){
this.formData[0].options.push({
name: data[i].landUse + '(' + data[i].count + ')',
value: data[i].landUse,
})
}
}
}) })
} }
} }
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
</div> </div>
<div class="table-item"> <div class="table-item">
<el-table <el-table
:tableLoading="tableLoading"
:data="getValues" :data="getValues"
:show-header="false" :show-header="false"
border border
...@@ -38,6 +39,11 @@ export default { ...@@ -38,6 +39,11 @@ export default {
provinceId: 500000, provinceId: 500000,
cityId: 500100 cityId: 500100
}, },
labels: [
'指标',
'财政',
'债务',
],
tableData: [], tableData: [],
headers: [ headers: [
{ {
...@@ -193,10 +199,10 @@ export default { ...@@ -193,10 +199,10 @@ export default {
label: '债务率-宽口径', label: '债务率-宽口径',
}, },
], ],
tableLoading: true
} }
}, },
created() { created() {
console.log(11)
this.dataRegion() this.dataRegion()
}, },
computed: { computed: {
...@@ -205,7 +211,7 @@ export default { ...@@ -205,7 +211,7 @@ export default {
}, },
getValues() { getValues() {
return this.headers.map(item => { return this.headers.map(item => {
return this.tableData.reduce((pre, cur, index) => Object.assign(pre, {['value' + index]: cur[item.prop]}), {'title': item.label,}); return this.tableData.reduce((pre, cur, index) => Object.assign(pre, {['value' + index]: cur[item.prop]}), {'title': item.label,})
}); });
} }
}, },
...@@ -214,6 +220,7 @@ export default { ...@@ -214,6 +220,7 @@ export default {
dataRegion() { dataRegion() {
regionalEconomy(this.params).then(res => { regionalEconomy(this.params).then(res => {
this.tableData = res.data this.tableData = res.data
this.tableLoading = false
}) })
}, },
} }
...@@ -224,9 +231,36 @@ export default { ...@@ -224,9 +231,36 @@ export default {
background: #ffffff; background: #ffffff;
border-radius: 4px; border-radius: 4px;
padding: 16px; padding: 16px;
::v-deep .el-table tr{
background: #F9FCFF;
}
::v-deep .table-item{
.el-table{
.el-table__body-wrapper{
tr{
&:first-child{
background: #F0F3FA;
div{
color: rgba(35,35,35,0.8);
}
}
&:nth-child(2n){
background: #FFFFFF;
}
}
}
}
}
.query-box{ .query-box{
margin: 10px 0 20px; margin: 10px 0 20px;
} }
} }
::v-deep .el-table__body-wrapper tr:nth-child(2) td:first-child,
::v-deep .el-table__body-wrapper tr:nth-child(16) td:first-child,
::v-deep .el-table__body-wrapper tr:nth-child(28) td:first-child{
font-weight: bold;
color: #232323;
}
</style> </style>
...@@ -7,7 +7,86 @@ ...@@ -7,7 +7,86 @@
:total="tableDataTotal" :total="tableDataTotal"
:isExcel="true" :isExcel="true"
@handle-search="handleSearch" @handle-search="handleSearch"
/> >
<template slot="slot">
<div class="search-box">
<span style="cursor: pointer;" @click="handleSearch">筛选<i class="el-icon-caret-bottom" style="color:rgba(35,35,35,0.4);margin-left: 5px"></i></span>
<div v-show="searchState" ref="showContent" class="search-main">
<div class="item">
<span class="wrap_label">行政等级</span>
<div class="item_ckquery">
<span :class="{color_text:xzdjCalss == ''}" @click="changeXZDJ('')">全部</span>
<template v-for="(item,index) in xzdj">
<span :class="{color_text:index+1 === xzdjCalss}" @click="changeXZDJ(index+1)">{{item.name}}</span>
</template>
</div>
</div>
<div class="item">
<span class="wrap_label">城投业务类型</span>
<div class="item_ckquery">
<span>全部</span>
<template v-for="(item,index) in typeList">
<span>{{item}}</span>
</template>
</div>
</div>
<div class="item">
<span class="wrap_label">主体评级</span>
<div class="item_ckquery">
<span>全部</span>
<template v-for="(item,index) in ztpj">
<span>{{item}}</span>
</template>
</div>
</div>
<div class="item">
<span class="wrap_label">股东背景</span>
<div class="item_ckquery">
<span>全部</span>
<template v-for="(item,index) in gdbj">
<span>{{item}}</span>
</template>
</div>
</div>
<div class="item">
<span class="wrap_label">股权关系</span>
<div class="item_ckquery">
<span>全部</span>
<template v-for="(item,index) in gqgx">
<span>{{item}}</span>
</template>
</div>
</div>
<div class="item">
<span class="wrap_label">平台重要性</span>
<div class="item_ckquery">
<span>全部</span>
<template v-for="(item,index) in pt">
<span>{{item}}</span>
</template>
</div>
</div>
<div class="item">
<span class="wrap_label" style="width: 78px;">开发区类别</span>
<div class="item_ckquery">
<span>全部</span>
<template v-for="(item,index) in lfqType">
<span>{{item}}</span>
</template>
</div>
</div>
<div class="item">
<span class="wrap_label">更多筛选</span>
<div class="item_ckquery">
<span :class="addresslength>0?'select-active':''">注册地区{{addresslength>0?(addresslength+'项'):''}}</span>
<el-cascader ref="address" class="cascader-region" popper-class='cascader-region-addd'
@input="addressListbtn" v-model="addressType" :options="addressList" :props="props" collapse-tags></el-cascader>
</div>
</div>
</div>
</div>
</template>
</head-form>
<tables <tables
:tableLoading="tableLoading" :tableLoading="tableLoading"
...@@ -73,16 +152,39 @@ export default { ...@@ -73,16 +152,39 @@ export default {
{label: '所属开发区', prop: 'developmentZone', width: '120'} {label: '所属开发区', prop: 'developmentZone', width: '120'}
], ],
formData: [ formData: [
{ type: 1, fieldName: 'penalizeReasonType', value: '', placeholder: '筛选', { type: 0, fieldName: 'penalizeReasonType', value: '', placeholder: '筛选', options: []},
options: []
},
{ type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词', options: []}, { type: 3, fieldName: 'keys', value: '', placeholder: '请输入关键词', options: []},
], ],
xzdj:[
{
name:'省级',
key:1,
},
{
name:'地级市',
key:2,
},
{
name:'区县级',
key:3,
}
],
selected:[],
xzdjCalss:'',
typeList:['土地开发整理','基础设施建设','棚改保障房建设','公用事业','文化旅游','交通建设运营','产投平台'],
ztpj:['AAA','AA+','AA','A+','A','A-','BBB+','其他'],
gdbj:['政府','财政','国资委','其他'],
gqgx:['直接控股','间接控股'],
pt:['重要平台','主要平台','一般平台'],
lfqType:['国家级经开','国家级高新区','国家海关监管区域','国家级新区','国家边和区','其他国家级','省级新区','省级开发区'],
props: { props: {
value: 'id', value: 'id',
multiple: true, multiple: true,
}, },
addressList: [], addressList: [],
addressType: [],
addresslength: 0,
searchState:false,
//列表 //列表
tableLoading:false, tableLoading:false,
tableData:[], tableData:[],
...@@ -148,6 +250,38 @@ export default { ...@@ -148,6 +250,38 @@ export default {
} }
this.addressList = str; this.addressList = str;
}, },
handleSearch(event){
// this.searchState=!this.searchState;
let dom = this.$refs.showContent;
if (!dom.contains(event.target)) {
this.searchState = !this.searchState;
document.removeEventListener('click', this.handleSearch);
}
},
changeXZDJ(index) {
this.xzdjCalss = index;
},
addressListbtn() {
let arr = this.$refs.address.getCheckedNodes();
let provinceCode = [],cityCode = [],countyCode = [];
for (var i in arr) {
if (arr[i].parent) {
if (!arr[i].parent.checked) {
arr[i].hasChildren && cityCode.push(arr[i].value);
!arr[i].hasChildren && countyCode.push(arr[i].value);
}
} else {
provinceCode.push(arr[i].value)
}
}
if (provinceCode.length > 0 || cityCode.length > 0 || countyCode.length > 0) {
this.addresslength = provinceCode.length + cityCode.length + countyCode.length;
} else {
this.addresslength = 0;
}
},
handleQuery(params){ handleQuery(params){
this.tableLoading = true this.tableLoading = true
let data = params ? params : this.queryParams let data = params ? params : this.queryParams
...@@ -168,5 +302,60 @@ export default { ...@@ -168,5 +302,60 @@ export default {
.query-box{ .query-box{
margin: 10px 0 20px; margin: 10px 0 20px;
} }
.search-box{
display: inline-block;
margin-right: 32px;
/*cursor: pointer;*/
color:#232323;
position: relative;
.search-main{
background: #ffffff;
box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.1);
border-radius: 4px;
width: 880px;
height: 337px;
padding: 16px;
position: absolute;
top: 25px;
left: 0;
z-index: 2001;
.item{
margin-bottom: 5px;
display: flex;
/*align-items: center;*/
font-size: 14px;
.wrap_label{
color: rgba(35,35,35,0.8);
margin-right: 12px;
line-height: 30px;
}
.item_ckquery{
position: relative;
span{
color: #232323;
padding: 5px 12px;
display: inline-block;
cursor: pointer;
}
.color_text{
background: #F3F4F5;
border-radius: 4px;
color: #0081FF;
}
.select-active{
color: #0081FF;
}
}
.cascader-region {
position: absolute;
left: 0;
top: -6px;
opacity: 0;
line-height: 22px;
}
}
}
}
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment