Commit cfb75ac7 authored by tyn's avatar tyn

风险信息 限制高消费 股权冻结 60%

parent 97f75d12
import request from '@/utils/request' import request from '@/utils/request';
// 行政处罚列表 // 行政处罚列表
export function penalizePage(data) { export function penalizePage(data) {
return request({ return request({
url: '/enterpriseCredit/penalizePage', url: '/enterpriseCredit/penalizePage',
method: 'post', method: 'post',
data:data data: data
}) });
} }
// 行政处罚类型 // 行政处罚类型
export function penalizeReasonType(data) { export function penalizeReasonType(data) {
return request({ return request({
url: '/enterpriseCredit/penalizeReasonType', url: '/enterpriseCredit/penalizeReasonType',
method: 'post', method: 'post',
data:data data: data
}) });
} }
// 经营异常列表 // 经营异常列表
...@@ -22,16 +22,16 @@ export function abnormalPage(data) { ...@@ -22,16 +22,16 @@ export function abnormalPage(data) {
return request({ return request({
url: '/enterpriseCredit/abnormalPage', url: '/enterpriseCredit/abnormalPage',
method: 'post', method: 'post',
data:data data: data
}) });
} }
// 经营异常年份 // 经营异常年份
export function abnormalYears(data) { export function abnormalYears(data) {
return request({ return request({
url: '/enterpriseCredit/abnormalYears', url: '/enterpriseCredit/abnormalYears',
method: 'post', method: 'post',
data:data data: data
}) });
} }
// 被执行人列表 // 被执行人列表
...@@ -39,8 +39,8 @@ export function executedPersonsPage(data) { ...@@ -39,8 +39,8 @@ export function executedPersonsPage(data) {
return request({ return request({
url: '/enterpriseCredit/executedPersonsPage', url: '/enterpriseCredit/executedPersonsPage',
method: 'post', method: 'post',
data:data data: data
}) });
} }
// 失信被执行人列表 // 失信被执行人列表
...@@ -48,8 +48,8 @@ export function executedPage(data) { ...@@ -48,8 +48,8 @@ export function executedPage(data) {
return request({ return request({
url: '/enterpriseCredit/executedPage', url: '/enterpriseCredit/executedPage',
method: 'post', method: 'post',
data:data data: data
}) });
} }
// 裁判文书列表 // 裁判文书列表
...@@ -57,24 +57,24 @@ export function lawsuitsPage(data) { ...@@ -57,24 +57,24 @@ export function lawsuitsPage(data) {
return request({ return request({
url: '/enterpriseCredit/lawsuitsPage', url: '/enterpriseCredit/lawsuitsPage',
method: 'post', method: 'post',
data:data data: data
}) });
} }
// 裁判文书案由 // 裁判文书案由
export function lawsuitsCauseAction(data) { export function lawsuitsCauseAction(data) {
return request({ return request({
url: '/enterpriseCredit/lawsuitsCauseAction', url: '/enterpriseCredit/lawsuitsCauseAction',
method: 'post', method: 'post',
data:data data: data
}) });
} }
// 裁判文书身份 // 裁判文书身份
export function lawsuitsRole(data) { export function lawsuitsRole(data) {
return request({ return request({
url: '/enterpriseCredit/lawsuitsRole', url: '/enterpriseCredit/lawsuitsRole',
method: 'post', method: 'post',
data:data data: data
}) });
} }
// 法院公告列表 // 法院公告列表
...@@ -82,32 +82,32 @@ export function noticesPage(data) { ...@@ -82,32 +82,32 @@ export function noticesPage(data) {
return request({ return request({
url: '/enterpriseCredit/noticesPage', url: '/enterpriseCredit/noticesPage',
method: 'post', method: 'post',
data:data data: data
}) });
} }
// 法院公告类型 // 法院公告类型
export function noticesType(data) { export function noticesType(data) {
return request({ return request({
url: '/enterpriseCredit/noticesType', url: '/enterpriseCredit/noticesType',
method: 'post', method: 'post',
data:data data: data
}) });
} }
// 法院公告身份 // 法院公告身份
export function noticesRole(data) { export function noticesRole(data) {
return request({ return request({
url: '/enterpriseCredit/noticesRole', url: '/enterpriseCredit/noticesRole',
method: 'post', method: 'post',
data:data data: data
}) });
} }
// 法院公告案由 // 法院公告案由
export function noticesCaseReason(data) { export function noticesCaseReason(data) {
return request({ return request({
url: '/enterpriseCredit/noticesCaseReason', url: '/enterpriseCredit/noticesCaseReason',
method: 'post', method: 'post',
data:data data: data
}) });
} }
// 开庭公告列表 // 开庭公告列表
...@@ -115,23 +115,37 @@ export function kaitingPage(data) { ...@@ -115,23 +115,37 @@ export function kaitingPage(data) {
return request({ return request({
url: '/enterpriseCredit/kaitingPage', url: '/enterpriseCredit/kaitingPage',
method: 'post', method: 'post',
data:data data: data
}) });
} }
// 开庭公告案由 // 开庭公告案由
export function kaitingCauseAction(data) { export function kaitingCauseAction(data) {
return request({ return request({
url: '/enterpriseCredit/kaitingCauseAction', url: '/enterpriseCredit/kaitingCauseAction',
method: 'post', method: 'post',
data:data data: data
}) });
} }
// 开庭公告当事人身份 // 开庭公告当事人身份
export function kaitingPureRole(data) { export function kaitingPureRole(data) {
return request({ return request({
url: '/enterpriseCredit/kaitingPureRole', url: '/enterpriseCredit/kaitingPureRole',
method: 'post', method: 'post',
data:data data: data
}) });
} }
// 风险信息 限制高消费
export const getLimitHighConsumptionApi = (data) => request({
url: "/enterpriseCredit/restrictedConsumerPage",
method: "post",
data
});
// 风险信息 股权冻结
export const getEquityFreezingApi = (data) => request({
url: "/enterpriseCredit/judicialFreezesPage",
method: "post",
data
})
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
<transition name="fade-position" appear mode="out-in"> <transition name="fade-position" appear mode="out-in">
<span v-if="!form.hover && !form.value">搜索</span> <span v-if="!form.hover && !form.value">搜索</span>
<el-input v-model="form.value" :placeholder="form.placeholder ? form.placeholder : '输入关键词查询'" <el-input v-model="form.value" :placeholder="form.placeholder ? form.placeholder : '输入关键词查询'"
:style="form.width?'width:'+form.width+'px':'width:238px'" @focus.stop="searchFocus($event,form)" @blur.stop="searchBlur($event,form)" :style="form.width?'width:'+form.width+'px':'width:238px'" @focus.stop="searchFocus($event,form)"
@input="value => searchInput(value,form)" v-else @keydown.native.enter="changeSelect"> @blur.stop="searchBlur($event,form)" @input="value => searchInput(value,form)" v-else @keydown.native.enter="changeSelect">
<template slot="suffix"> <template slot="suffix">
<transition mode="out-in" appear name="fade"> <transition mode="out-in" appear name="fade">
<img src="@/assets/images/enterprise/search-input-clear-icon.svg" @click.stop="form.value = '';changeSelect()" <img src="@/assets/images/enterprise/search-input-clear-icon.svg" @click.stop="form.value = '';changeSelect()"
...@@ -78,8 +78,8 @@ ...@@ -78,8 +78,8 @@
</template> </template>
<div v-else class="flex-box"> <div v-else class="flex-box">
<span class="flex-box ability-total" v-if="isTotal">共有{{ total }}条</span> <span class="flex-box ability-total" v-if="isTotal">共有{{ total }}条</span>
<span class="flex-box ability-excel" v-hasPermi="['combine:info:export:win:bid','combine:info:export:bid']" v-if="isExcel && title ==='集团业绩'|| title ==='集团招标' " <span class="flex-box ability-excel" v-hasPermi="['combine:info:export:win:bid','combine:info:export:bid']"
@click="clickEXCEL"><img src="@/assets/images/ability_excel.png">导出EXCEL</span> v-if="isExcel && title ==='集团业绩'|| title ==='集团招标' " @click="clickEXCEL"><img src="@/assets/images/ability_excel.png">导出EXCEL</span>
<span class="flex-box ability-excel" v-else @click="clickEXCEL"><img src="@/assets/images/ability_excel.png">导出EXCEL</span> <span class="flex-box ability-excel" v-else @click="clickEXCEL"><img src="@/assets/images/ability_excel.png">导出EXCEL</span>
</div> </div>
</div> </div>
...@@ -283,7 +283,8 @@ export default { ...@@ -283,7 +283,8 @@ export default {
textContainer.style.setProperty("box-sizing", "border-box"); textContainer.style.setProperty("box-sizing", "border-box");
textContainer.textContent = iptChild.value ? iptChild.value : iptChild.getAttribute("placeholder"); textContainer.textContent = iptChild.value ? iptChild.value : iptChild.getAttribute("placeholder");
document.body.append(textContainer); document.body.append(textContainer);
let containerWidth = textContainer.offsetWidth + 12 + 8; // 1px 误差
let containerWidth = textContainer.offsetWidth + 12 + 8 + 1;
textContainer.remove(); textContainer.remove();
dom.style.setProperty("width", `${containerWidth}px`); dom.style.setProperty("width", `${containerWidth}px`);
} }
......
...@@ -102,9 +102,11 @@ export default { ...@@ -102,9 +102,11 @@ export default {
{ title: '经营异常', pathName: 'businessAnomaly' }, { title: '经营异常', pathName: 'businessAnomaly' },
{ title: '被执行人', pathName: 'ifThePerson' }, { title: '被执行人', pathName: 'ifThePerson' },
{ title: '失信被执行人', pathName: 'dishonesty' }, { title: '失信被执行人', pathName: 'dishonesty' },
{ title: '裁判文书', pathName: 'judgment' }, { title: '限制高消费', pathName: 'limitHighConsumption' },
{ title: '法院公告', pathName: 'courtNotice' }, { title: '股权冻结', pathName: 'equityFreezing' },
{ title: '开庭公告', pathName: 'openacourtsessionNotice' }, // { title: '裁判文书', pathName: 'judgment' },
// { title: '法院公告', pathName: 'courtNotice' },
// { title: '开庭公告', pathName: 'openacourtsessionNotice' },
// {title: '信用中国', pathName: ''} // {title: '信用中国', pathName: ''}
] ]
}, },
...@@ -160,9 +162,11 @@ export default { ...@@ -160,9 +162,11 @@ export default {
{ title: '经营异常', pathName: 'businessAnomaly' }, { title: '经营异常', pathName: 'businessAnomaly' },
{ title: '被执行人', pathName: 'ifThePerson' }, { title: '被执行人', pathName: 'ifThePerson' },
{ title: '失信被执行人', pathName: 'dishonesty' }, { title: '失信被执行人', pathName: 'dishonesty' },
{ title: '裁判文书', pathName: 'judgment' }, { title: '限制高消费', pathName: 'limitHighConsumption' },
{ title: '法院公告', pathName: 'courtNotice' }, { title: '股权冻结', pathName: 'equityFreezing' },
{ title: '开庭公告', pathName: 'openacourtsessionNotice' }, // { title: '裁判文书', pathName: 'judgment' },
// { title: '法院公告', pathName: 'courtNotice' },
// { title: '开庭公告', pathName: 'openacourtsessionNotice' },
// {title: '信用中国', pathName: ''} // {title: '信用中国', pathName: ''}
] ]
}, },
...@@ -232,7 +236,6 @@ export default { ...@@ -232,7 +236,6 @@ export default {
_tempMap.forEach((value, key, mapOrigin) => { _tempMap.forEach((value, key, mapOrigin) => {
// 找到对应的数据源 // 找到对应的数据源
console.log(_sideBarData);
const data = this.findDataOrigin(_sideBarData, key); const data = this.findDataOrigin(_sideBarData, key);
const sideBarOption = this.findSideBarOption(this.sideRoute, value); const sideBarOption = this.findSideBarOption(this.sideRoute, value);
// 禁用菜单 小于一 或 server返回的对象数据不存在 // 禁用菜单 小于一 或 server返回的对象数据不存在
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<slot :name="cld.prop" :row="cldscope.row" :data="cld"></slot> <slot :name="cld.prop" :row="cldscope.row" :data="cld"></slot>
</template> </template>
<template v-else> <template v-else>
<span>{{cldscope.row[cld.prop] || '--'}}</span> <span>{{cldscope.row[cld.prop] || '-'}}</span>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<slot v-if="item.slot" :name="item.prop" :row="scope.row" :index="scope.$index" :data="item"></slot> <slot v-if="item.slot" :name="item.prop" :row="scope.row" :index="scope.$index" :data="item"></slot>
<span v-else> <span v-else>
{{ scope.row[item.prop] || '--' }} {{ scope.row[item.prop] || '-' }}
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
......
...@@ -41,9 +41,13 @@ ...@@ -41,9 +41,13 @@
<BusinessAnomaly v-if="currentPath.pathName=='businessAnomaly'" :company-id="companyId" /> <BusinessAnomaly v-if="currentPath.pathName=='businessAnomaly'" :company-id="companyId" />
<IfThePerson v-if="currentPath.pathName=='ifThePerson'" :company-id="companyId" /> <IfThePerson v-if="currentPath.pathName=='ifThePerson'" :company-id="companyId" />
<Dishonesty v-if="currentPath.pathName=='dishonesty'" :company-id="companyId" /> <Dishonesty v-if="currentPath.pathName=='dishonesty'" :company-id="companyId" />
<Judgment v-if="currentPath.pathName=='judgment'" :company-id="companyId" /> <!-- 限制高消费 -->
<limit-high-consumption v-if="currentPath.pathName=='limitHighConsumption'" :company-id="companyId"></limit-high-consumption>
<!-- 股权冻结 -->
<equity-freezing v-if="currentPath.pathName=='equityFreezing'" :company-id="companyId"></equity-freezing>
<!-- <Judgment v-if="currentPath.pathName=='judgment'" :company-id="companyId" />
<CourtNotice v-if="currentPath.pathName=='courtNotice'" :company-id="companyId" /> <CourtNotice v-if="currentPath.pathName=='courtNotice'" :company-id="companyId" />
<OpenacourtsessionNotice v-if="currentPath.pathName=='openacourtsessionNotice'" :company-id="companyId" /> <OpenacourtsessionNotice v-if="currentPath.pathName=='openacourtsessionNotice'" :company-id="companyId" /> -->
</template> </template>
<template v-if="customerId && isCustomer"> <template v-if="customerId && isCustomer">
<!-- 商务信息 --> <!-- 商务信息 -->
...@@ -101,6 +105,8 @@ import Punish from "./riskInformation/punish"; //风险信息-行政处罚 ...@@ -101,6 +105,8 @@ import Punish from "./riskInformation/punish"; //风险信息-行政处罚
import BusinessAnomaly from "./riskInformation/businessAnomaly"; //风险信息-经营异常 import BusinessAnomaly from "./riskInformation/businessAnomaly"; //风险信息-经营异常
import IfThePerson from "./riskInformation/ifThePerson"; //风险信息-被执行人 import IfThePerson from "./riskInformation/ifThePerson"; //风险信息-被执行人
import Dishonesty from "./riskInformation/dishonesty"; //风险信息-失信被执行 import Dishonesty from "./riskInformation/dishonesty"; //风险信息-失信被执行
import LimitHighConsumption from "./riskInformation/limitHighConsumption"; //风险信息-限制高消费
import EquityFreezing from "./riskInformation/equityFreezing"; //风险信息-股权冻结
import Judgment from "./riskInformation/judgment"; //风险信息-判决文书 import Judgment from "./riskInformation/judgment"; //风险信息-判决文书
import CourtNotice from "./riskInformation/courtNotice"; //风险信息-法院公告 import CourtNotice from "./riskInformation/courtNotice"; //风险信息-法院公告
import OpenacourtsessionNotice from "./riskInformation/openacourtsessionNotice"; //风险信息-开庭公告 import OpenacourtsessionNotice from "./riskInformation/openacourtsessionNotice"; //风险信息-开庭公告
...@@ -145,6 +151,8 @@ export default { ...@@ -145,6 +151,8 @@ export default {
BusinessAnomaly, BusinessAnomaly,
IfThePerson, IfThePerson,
Dishonesty, Dishonesty,
LimitHighConsumption,
EquityFreezing,
Judgment, Judgment,
CourtNotice, CourtNotice,
OpenacourtsessionNotice, OpenacourtsessionNotice,
......
...@@ -95,7 +95,8 @@ export default { ...@@ -95,7 +95,8 @@ export default {
this.handleQuery1(); this.handleQuery1();
}, },
methods: { methods: {
handleClick() { handleClick(v) {
if (v.name == this.activeName) return;
if (this.activeName == 'first') { if (this.activeName == 'first') {
this.handleQuery(); this.handleQuery();
} else { } else {
......
<template>
<div class="equity-freezing-container">
<el-tabs v-model="queryParams.type" @tab-click="handleClick" class="detail-tab">
<el-tab-pane label="股权冻结" name="0"></el-tab-pane>
<el-tab-pane label="历史股权冻结" :disabled="tableDataTotal==0" name="1"></el-tab-pane>
</el-tabs>
<head-form-new ref="headFormNew" title="" :form-data="formData" :query-params="queryParams" :total="tableDataTotal" :isExcel="true"
@handle-search="handleSearch" />
<skeleton v-if="isSkeleton" style="padding: 16px"></skeleton>
<tables v-if="!isSkeleton" :indexFixed="true" :tableData="tableData" :forData="forData" :tableDataTotal="tableDataTotal"
:queryParams="queryParams" @handle-current-change="handleCurrentChange">
<template slot="operation-table" slot-scope="scope">
<span style="color: #0081FF;cursor: pointer;" @click="viewDetail(scope.row)">操作</span>
</template>
</tables>
</div>
</template>
<script>
import skeleton from '../component/skeleton';
import mixin from '@/views/detail/party-a/mixins/mixin';
import { getEquityFreezingApi } from "@/api/detail/party-a/riskInformation";
export default {
name: "equityFreezingContainer",
mixins: [mixin],
components: {
skeleton
},
props: ['companyId'],
data() {
return {
queryParams: {
cid: this.companyId,
pageNum: 1,
pageSize: 10,
type: "0"
},
forData: [
{ label: '执行通知书文号', prop: 'name', width: '164' },
{ label: '被执行人', prop: 'companyName', minWidth: '146' },
{ label: '股权数额', prop: 'executionApplicant', width: '113' },
{ label: '执行法院', prop: 'court', minWidth: '146' },
{ label: '状态', prop: 'releaseDate', width: '50' },
{ label: '冻结起止日期', prop: 'source', width: '171' },
{ label: '公式时间', prop: 'source', width: '93' },
{ label: '操作', prop: 'operation-table', width: '50', slot: true },
],
formData: [
{ type: 5, fieldName: 'time', value: '', placeholder: '选择日期', startTime: 'dateFrom', endTime: 'dateTo', uid: this.getUid() },
],
//列表
tableLoading: false,
tableData: [],
tableDataTotal: 0,
showList: [],
isSkeleton: true,
resetStatus: false
};
},
//可访问data属性
created() {
this.initDetail();
},
//计算集
computed: {
},
//方法集
methods: {
async initDetail() {
try {
await this.handleQuery();
} catch (error) {
}
},
resetQueryParams() {
const data = this.$options.data.call(this);
this.queryParams = { ...data.queryParams, type: this.queryParams.type };
this.formData[0].value = "";
},
async handleQuery(params) {
try {
let data = params ? params : this.queryParams;
this.isSkeleton = true;
const res = await getEquityFreezingApi(data);
this.tableData = res.rows ? res.rows : [];
this.tableDataTotal = res.total ? res.total : 0;
} catch (error) {
console.log(error);
} finally {
this.isSkeleton = false;
}
},
handleClick(v) {
if (v.name == this.queryParams.type) return;
this.resetQueryParams();
this.handleQuery();
},
// 查看详情
viewDetail(row) {
}
},
}
</script>
<style lang="scss" scoped>
.equity-freezing-container {
padding: 16px;
background: #ffffff;
border-radius: 4px;
input {
border: 1px solid #efefef;
}
::v-deep .el-form-item {
margin-right: 8px !important;
}
.query-box {
margin: 10px 0 20px;
}
.cell-span {
display: inline-block;
position: relative;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
cursor: pointer;
> span {
display: inline-block;
width: 37px;
position: absolute;
right: 0;
bottom: 0;
background-color: #fff;
z-index: 1;
}
}
.detail-tab {
margin: 0 0 0 -16px;
::v-deep .el-tabs__nav-wrap::after {
display: none;
}
::v-deep .el-tabs__item {
font-size: 16px;
height: 30px;
line-height: 30px;
padding: 0 16px;
&.is-active {
font-weight: bold;
}
}
}
@import "@/assets/styles/search-common.scss";
}
</style>
<template>
<div class="limit-high-consumption-container">
<head-form-new title="限制高消费" :form-data="formData" :query-params="queryParams" :total="tableDataTotal" :isExcel="true"
@handle-search="handleSearch" />
<skeleton v-if="isSkeleton" style="padding: 16px"></skeleton>
<tables v-if="!isSkeleton" :indexFixed="true" :tableData="tableData" :forData="forData" :tableDataTotal="tableDataTotal"
:queryParams="queryParams" @handle-current-change="handleCurrentChange">
<template slot="source" slot-scope="scope">
<span v-if="scope.row.source" style="color: #0081FF;cursor: pointer;" @click="viewOriginalArticle(scope.row)">查看原文</span>
<span v-else>-</span>
</template>
</tables>
</div>
</template>
<script>
import skeleton from '../component/skeleton';
import mixin from '@/views/detail/party-a/mixins/mixin';
import { getLimitHighConsumptionApi } from "@/api/detail/party-a/riskInformation";
export default {
name: "limitHighConsumptionContainer",
mixins: [mixin],
components: {
skeleton
},
props: ['companyId'],
data() {
return {
queryParams: {
cid: this.companyId,
pageNum: 1,
pageSize: 10
},
forData: [
{ label: '限消令对象', prop: 'name', width: '215' },
{ label: '关联对象', prop: 'companyName', minWidth: '136' },
{ label: '申请执行人', prop: 'executionApplicant', width: '136' },
{ label: '执行法院', prop: 'court', minWidth: '171' },
{ label: '发布日期', prop: 'releaseDate', width: '136' },
{ label: '原文', prop: 'source', width: '136', slot: true },
],
formData: [
{ type: 5, fieldName: 'time', value: '', placeholder: '发布日期', startTime: 'dateFrom', endTime: 'dateTo', uid: this.getUid() },
],
//列表
tableLoading: false,
tableData: [],
tableDataTotal: 0,
showList: [],
isSkeleton: true
};
},
//可访问data属性
created() {
this.initDetail();
},
//计算集
computed: {
},
//方法集
methods: {
async initDetail() {
try {
await this.handleQuery();
} catch (error) {
}
},
async handleQuery(params) {
try {
let data = params ? params : this.queryParams;
this.isSkeleton = true;
const res = await getLimitHighConsumptionApi(data);
this.tableData = res.rows ? res.rows : [];
this.tableDataTotal = res.total ? res.total : 0;
} catch (error) {
console.log(error);
} finally {
this.isSkeleton = false;
}
},
// 查看原文
viewOriginalArticle(row) {
}
},
}
</script>
<style lang="scss" scoped>
.limit-high-consumption-container {
background: #ffffff;
border-radius: 4px;
padding: 16px;
input {
border: 1px solid #efefef;
}
::v-deep .el-form-item {
margin-right: 8px !important;
}
.query-box {
margin: 10px 0 20px;
}
.cell-span {
display: inline-block;
position: relative;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
cursor: pointer;
> span {
display: inline-block;
width: 37px;
position: absolute;
right: 0;
bottom: 0;
background-color: #fff;
z-index: 1;
}
}
@import "@/assets/styles/search-common.scss";
}
</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