Commit ab3f22ca authored by danfuman's avatar danfuman

修改

parent f0cc39a8
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="app-container EnterpriseMonitoring"> <div class="app-container EnterpriseMonitoring">
<div class="header"> <div class="header">
<div class="search"> <div class="search">
<div class="label">监控维度</div> <div class="label">风险动态时间</div>
<div class="checkbox"> <div class="checkbox">
<el-radio-group v-model="radio" @change="radioBtn"> <el-radio-group v-model="radio" @change="radioBtn">
<el-radio v-for="item in radioList" :label="item.type">{{item.label}}</el-radio> <el-radio v-for="item in radioList" :label="item.type">{{item.label}}</el-radio>
...@@ -53,11 +53,11 @@ ...@@ -53,11 +53,11 @@
<span class="color5 span">正向 {{scope.row.positiveCount}}</span> <span class="color5 span">正向 {{scope.row.positiveCount}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="监控时间" width="240" align="left" prop="createTime"></el-table-column> <el-table-column label="监控时间" width="200" align="left" prop="createTime"></el-table-column>
<el-table-column <el-table-column
label="操作" label="操作"
align="left" align="left"
width="180" width="160"
class-name="small-padding fixed-width" class-name="small-padding fixed-width"
fixed="right" fixed="right"
> >
...@@ -79,14 +79,14 @@ ...@@ -79,14 +79,14 @@
</div> </div>
</div> </div>
<el-dialog :visible.sync="jkVisible" custom-class='dialog-claim' title="提示" width="480px" > <el-dialog :visible.sync="jkVisible" custom-class='dialog-claim' title="提示" width="480px" :close-on-click-modal="false">
<div class="dialog-content"><i class="el-icon-warning"></i>取消后将错过企业最新动态</div> <div class="dialog-content"><i class="el-icon-warning"></i>取消后将错过企业最新动态</div>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="jkVisible===false">我再想想</el-button> <el-button @click="jkVisible=false">我再想想</el-button>
<el-button type="primary" @click="handleConfirm">确定取消</el-button> <el-button type="primary" @click="handleConfirm">确定取消</el-button>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog :visible.sync="qyVisible" custom-class='dialog-claim dialogAdd' title="添加监控企业" width="480px" > <el-dialog :visible.sync="qyVisible" custom-class='dialog-claim dialogAdd' title="添加监控企业" width="480px" :close-on-click-modal="false">
<div class="add-content"> <div class="add-content">
<div class="enterprise"> <div class="enterprise">
<div class="label">企业名称</div> <div class="label">企业名称</div>
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
<el-button type="primary" @click="handleAdd">确定</el-button> <el-button type="primary" @click="handleAdd">确定</el-button>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog :visible.sync="pldrVisible" custom-class='dialog-claim' title="批量导入监控企业" width="480px" > <el-dialog :visible.sync="pldrVisible" custom-class='dialog-claim' title="批量导入监控企业" width="480px" :close-on-click-modal="false">
<div class="upload-content"> <div class="upload-content">
<el-upload <el-upload
class="upload-demo" class="upload-demo"
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
</div> </div>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button class="download" icon="el-icon-download">下载模版</el-button> <el-button class="download" icon="el-icon-download">下载模版</el-button>
<el-button>取消</el-button> <el-button @click="handleUploadCancel1">取消</el-button>
<el-button type="primary" @click="submitUpload">确定</el-button> <el-button type="primary" @click="submitUpload">确定</el-button>
</div> </div>
</el-dialog> </el-dialog>
...@@ -244,13 +244,15 @@ ...@@ -244,13 +244,15 @@
} }
companyAdd(data).then(res => { companyAdd(data).then(res => {
this.qyVisible=false; this.qyVisible=false;
this.$modal.success("新增成功"); this.$message.success("新增成功");
this.querySubmit() this.querySubmit()
}) })
}, },
radioBtn(val){ radioBtn(val){
let endTime = new Date() let endTime = new Date()
this.queryParams.pageNum=1
this.queryParams.pageSize=10
switch (val) { switch (val) {
case 1: case 1:
this.queryParams.condition.beginTime=this.formatDate(endTime) this.queryParams.condition.beginTime=this.formatDate(endTime)
...@@ -322,7 +324,7 @@ ...@@ -322,7 +324,7 @@
handleConfirm(){ handleConfirm(){
companyCancel({cid:[this.companyId]}).then(res => { companyCancel({cid:[this.companyId]}).then(res => {
this.jkVisible=false; this.jkVisible=false;
this.$modal.success("取消成功"); this.$message.success("取消成功");
this.querySubmit() this.querySubmit()
}) })
}, },
...@@ -361,6 +363,10 @@ ...@@ -361,6 +363,10 @@
else else
this.$message.error({message:res.msg,showClose:true}) this.$message.error({message:res.msg,showClose:true})
}, },
handleUploadCancel1(){
this.fileList=[]
this.pldrVisible=false;
},
submitUpload() { submitUpload() {
this.$refs.upload.submit(); this.$refs.upload.submit();
}, },
...@@ -389,6 +395,9 @@ ...@@ -389,6 +395,9 @@
align-items: flex-start; align-items: flex-start;
padding-left: 12px; padding-left: 12px;
position: relative; position: relative;
::v-deep .el-radio{
margin-right:16px;
}
::v-deep .el-date-editor{ ::v-deep .el-date-editor{
position: absolute; position: absolute;
left: 602px; left: 602px;
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
</div> </div>
<div class="search"> <div class="search">
<span class="btn1" @click="handleAdd">保存</span> <span class="btn1" @click="handleAdd">保存</span>
<span class="btn2">重置</span> <span class="btn2" @click="handleResetting">重置</span>
</div> </div>
</div> </div>
...@@ -203,6 +203,17 @@ ...@@ -203,6 +203,17 @@
this.$modal.success(res.msg); this.$modal.success(res.msg);
}) })
}, },
handleResetting(){
this.sffx=[];
this.gsfx=[];
this.startTime =''
this.endTime = ''
this.queryParams={
pushFrequency:'0',
receiveMode:'0',
phones:''
}
},
changeTime(val){ changeTime(val){
console.log(val) console.log(val)
}, },
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="app-container MonitoringDynamics"> <div class="app-container MonitoringDynamics">
<div class="search"> <div class="search">
<div class="search-item" style="line-height: 32px;margin-top: 0;padding-bottom: 8px;"> <div class="search-item" style="line-height: 32px;margin-top: 0;padding-bottom: 8px;">
<div class="label">监控维度</div> <div class="label">监控动态</div>
<el-input class="name" placeholder="请输入监控对象名称" v-model="companyName"> <el-input class="name" placeholder="请输入监控对象名称" v-model="companyName">
<el-button slot="append" @click="handleKeyword()">搜索</el-button> <el-button slot="append" @click="handleKeyword()">搜索</el-button>
</el-input> </el-input>
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
fixed="right" fixed="right"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span style="cursor: pointer;" @click="handleDetail">查看详情</span> <span style="cursor: pointer;" @click="handleDetail(scope.row)">查看详情</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
<el-pagination background :current-page="queryParams.pageNum" :page-size="queryParams.pageSize" :total="tableDataTotal" layout="prev, pager, next, jumper" @current-change="handleCurrentChange" @size-change="handleSizeChange" /> <el-pagination background :current-page="queryParams.pageNum" :page-size="queryParams.pageSize" :total="tableDataTotal" layout="prev, pager, next, jumper" @current-change="handleCurrentChange" @size-change="handleSizeChange" />
</div> </div>
</div> </div>
<el-dialog :visible.sync="dialogVisible" custom-class='dialog-claim' :title="title" width="720px" > <el-dialog :visible.sync="dialogVisible" custom-class='dialog-claim' :title="title" width="720px" :close-on-click-modal="false">
<div class="dialog-content"> <div class="dialog-content">
<template v-if="title=='开庭公告详情'"> <template v-if="title=='开庭公告详情'">
<info-table class="info-tab" :list="defaultList0" :obj="detail" :labelWidth="labelWidth"> <info-table class="info-tab" :list="defaultList0" :obj="detail" :labelWidth="labelWidth">
...@@ -339,17 +339,34 @@ ...@@ -339,17 +339,34 @@
methods: { methods: {
async querySubmit() { async querySubmit() {
let endTime = new Date() let endTime = new Date()
let params={
pageNum:this.queryParams.pageNum,
pageSize:this.queryParams.pageSize,
condition:this.queryParams.condition
}
if(this.radio === 1){ if(this.radio === 1){
this.queryParams.condition.beginTime=this.formatDate(endTime) params.condition.beginTime=this.formatDate(endTime)
this.queryParams.condition.endTime=this.formatDate(endTime) params.condition.endTime=this.formatDate(endTime)
} }
if(this.companyName){ if(this.companyName){
this.queryParams.condition.companyName=this.companyName params.condition.companyName=this.companyName
} }
if(this.fxjbType.length > 0){ if(this.fxjbType.length > 0){
this.queryParams.condition.fxjbType=this.riskLevel.join() params.condition.fxjbType=this.fxjbType.join()
}
if(this.sffx.length > 0 && this.gsfx.length > 0){
params.riskType='司法风险,工商风险'
params.dimension=this.sffx.join()+','+this.gsfx.join()
}
if(this.sffx.length > 0 && this.gsfx.length === 0){
params.riskType='司法风险'
params.dimension=this.sffx.join()
}
if(this.sffx.length === 0 && this.gsfx.length > 0){
params.riskType='工商风险'
params.dimension=this.gsfx.join()
} }
dynamicPage(this.queryParams).then(res => { dynamicPage(params).then(res => {
this.isSkeleton = false; this.isSkeleton = false;
this.tableData=res.rows; this.tableData=res.rows;
this.tableDataTotal=res.total; this.tableDataTotal=res.total;
...@@ -368,8 +385,8 @@ ...@@ -368,8 +385,8 @@
console.log(this.tableData) console.log(this.tableData)
}) })
}, },
getDetail() { getDetail(name,id) {
companyDetail({dimensionName:'新增法院公告',sourceId:'0001c8e8-183f-48b5-a8ce-575b5c214b1a_65250c621707e177f7983cbf_'}).then(res => { companyDetail({dimensionName:name,sourceId:id}).then(res => {
console.log(res) console.log(res)
this.detail=res.data; this.detail=res.data;
}) })
...@@ -380,6 +397,9 @@ ...@@ -380,6 +397,9 @@
} else { } else {
this.sffx.splice(this.sffx.indexOf(val.dimensionName), 1) this.sffx.splice(this.sffx.indexOf(val.dimensionName), 1)
} }
this.queryParams.pageNum=1
this.queryParams.pageSize=10
this.querySubmit()
}, },
changeGsfx(val) { changeGsfx(val) {
if (this.gsfx.indexOf(val.dimensionName) == -1) { if (this.gsfx.indexOf(val.dimensionName) == -1) {
...@@ -387,10 +407,15 @@ ...@@ -387,10 +407,15 @@
} else { } else {
this.gsfx.splice(this.gsfx.indexOf(val.dimensionName), 1) this.gsfx.splice(this.gsfx.indexOf(val.dimensionName), 1)
} }
this.queryParams.pageNum=1
this.queryParams.pageSize=10
this.querySubmit()
}, },
checkFxjbBtn(val) { checkFxjbBtn(val) {
this.fxjbType = []; this.fxjbType = [];
this.checkFx = true; this.checkFx = true;
this.queryParams.pageNum=1
this.queryParams.pageSize=10
this.querySubmit() this.querySubmit()
}, },
checkFxjb1Btn(val){ checkFxjb1Btn(val){
...@@ -400,17 +425,50 @@ ...@@ -400,17 +425,50 @@
this.checkFx = true; this.checkFx = true;
this.fxjbType = []; this.fxjbType = [];
} }
this.queryParams.pageNum=1
this.queryParams.pageSize=10
this.querySubmit() this.querySubmit()
}, },
handleDetail(){ handleDetail(item){
switch (item.dimensionName) {
case '新增开庭公告':
this.title='开庭公告详情'
this.dialogVisible=true;
break;
case '新增法院公告':
this.title='法院公告详情'
this.dialogVisible=true;
break;
case '新增裁判文书':
this.title='裁判文书详情'
this.dialogVisible=true; this.dialogVisible=true;
this.getDetail() break;
case '新增经营异常':
this.title='经营异常详情'
this.dialogVisible=true;
break;
case '新增失信被执行人':
this.title='失信被执行人详情'
this.dialogVisible=true;
break;
case '新增股权冻结':
this.title='股权冻结详情'
this.dialogVisible=true;
break;
default:
break;
}
this.getDetail(item.dimensionName,item.sourceId)
}, },
handleKeyword(){ handleKeyword(){
this.queryParams.pageNum=1
this.queryParams.pageSize=10
this.querySubmit() this.querySubmit()
}, },
radioBtn(val){ radioBtn(val){
let endTime = new Date() let endTime = new Date()
this.queryParams.pageNum=1
this.queryParams.pageSize=10
switch (val) { switch (val) {
case 1: case 1:
this.queryParams.condition.beginTime=this.formatDate(endTime) this.queryParams.condition.beginTime=this.formatDate(endTime)
...@@ -465,6 +523,8 @@ ...@@ -465,6 +523,8 @@
this.queryParams.condition.beginTime = value[0] this.queryParams.condition.beginTime = value[0]
this.queryParams.condition.endTime = value[1] this.queryParams.condition.endTime = value[1]
} }
this.queryParams.pageNum=1
this.queryParams.pageSize=10
this.querySubmit() this.querySubmit()
}, },
// 时间格式化 // 时间格式化
...@@ -607,6 +667,9 @@ ...@@ -607,6 +667,9 @@
font-size: 14px; font-size: 14px;
color: rgba(35,35,35,0.8); color: rgba(35,35,35,0.8);
} }
.color_text {
color: #0081ff;
}
::v-deep .name{ ::v-deep .name{
width: 405px; width: 405px;
height: 32px; height: 32px;
......
...@@ -96,7 +96,9 @@ ...@@ -96,7 +96,9 @@
}) })
}, },
handleClick() { handleClick() {
this.queryParams.condition.reportType=Number(this.activeName) this.queryParams.condition.reportType=Number(this.activeName);
this.queryParams.pageNum=1
this.queryParams.pageSize=10
this.querySubmit() this.querySubmit()
} }
} }
......
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
<el-pagination background :current-page="queryParams.pageNum" :page-size="queryParams.pageSize" :total="tableDataTotal" layout="prev, pager, next, jumper" @current-change="handleCurrentChange" @size-change="handleSizeChange" /> <el-pagination background :current-page="queryParams.pageNum" :page-size="queryParams.pageSize" :total="tableDataTotal" layout="prev, pager, next, jumper" @current-change="handleCurrentChange" @size-change="handleSizeChange" />
</div> </div>
</div> </div>
<el-dialog :visible.sync="dialogVisible" custom-class='dialog-claim' :title="title" width="720px" > <el-dialog :visible.sync="dialogVisible" custom-class='dialog-claim' :title="title" width="720px" :close-on-click-modal="false">
<div class="dialog-content"> <div class="dialog-content">
<template v-if="title=='开庭公告详情'"> <template v-if="title=='开庭公告详情'">
<info-table class="info-tab" :list="defaultList0" :obj="detail" :labelWidth="labelWidth"></info-table> <info-table class="info-tab" :list="defaultList0" :obj="detail" :labelWidth="labelWidth"></info-table>
...@@ -163,9 +163,13 @@ ...@@ -163,9 +163,13 @@
return { return {
changeTime, changeTime,
isSkeleton:true, isSkeleton:true,
radio:0, radio:null,
date:'', date:'',
radioList:[ radioList:[
{
type:null,
label:'全部'
},
{ {
type:1, type:1,
label:'今天' label:'今天'
...@@ -319,6 +323,9 @@ ...@@ -319,6 +323,9 @@
} else { } else {
this.sffx.splice(this.sffx.indexOf(val.dimensionName), 1) this.sffx.splice(this.sffx.indexOf(val.dimensionName), 1)
} }
this.queryParams.pageNum=1
this.queryParams.pageSize=10
this.querySubmit()
}, },
changeGsfx(val) { changeGsfx(val) {
if (this.gsfx.indexOf(val.dimensionName) == -1) { if (this.gsfx.indexOf(val.dimensionName) == -1) {
...@@ -326,20 +333,40 @@ ...@@ -326,20 +333,40 @@
} else { } else {
this.gsfx.splice(this.gsfx.indexOf(val.dimensionName), 1) this.gsfx.splice(this.gsfx.indexOf(val.dimensionName), 1)
} }
this.queryParams.pageNum=1
this.queryParams.pageSize=10
this.querySubmit()
}, },
async querySubmit() { async querySubmit() {
let endTime = new Date() let endTime = new Date()
let params={
pageNum:this.queryParams.pageNum,
pageSize:this.queryParams.pageSize,
condition:this.queryParams.condition
}
if(this.radio === 1){ if(this.radio === 1){
this.queryParams.condition.beginTime=this.formatDate(endTime) params.condition.beginTime=this.formatDate(endTime)
this.queryParams.condition.endTime=this.formatDate(endTime) params.condition.endTime=this.formatDate(endTime)
} }
if(this.companyName){ if(this.companyName){
this.queryParams.condition.companyName=this.companyName params.condition.companyName=this.companyName
} }
if(this.fxjbType.length > 0){ if(this.fxjbType.length > 0){
this.queryParams.condition.fxjbType=this.riskLevel.join() params.condition.fxjbType=this.fxjbType.join()
}
if(this.sffx.length > 0 && this.gsfx.length > 0){
params.riskType='司法风险,工商风险'
params.dimension=this.sffx.join()+','+this.gsfx.join()
}
if(this.sffx.length > 0 && this.gsfx.length === 0){
params.riskType='司法风险'
params.dimension=this.sffx.join()
}
if(this.sffx.length === 0 && this.gsfx.length > 0){
params.riskType='工商风险'
params.dimension=this.gsfx.join()
} }
dynamicPage(this.queryParams).then(res => { dynamicPage(params).then(res => {
this.isSkeleton = false; this.isSkeleton = false;
this.object=res.object; this.object=res.object;
this.tableData=res.rows; this.tableData=res.rows;
...@@ -358,8 +385,8 @@ ...@@ -358,8 +385,8 @@
}) })
}) })
}, },
getDetail() { getDetail(name,id) {
companyDetail({dimensionName:'新增法院公告',sourceId:'0001c8e8-183f-48b5-a8ce-575b5c214b1a_65250c621707e177f7983cbf_'}).then(res => { companyDetail({dimensionName:name,sourceId:id}).then(res => {
console.log(res) console.log(res)
this.detail=res.data; this.detail=res.data;
}) })
...@@ -367,9 +394,13 @@ ...@@ -367,9 +394,13 @@
checkFxjbBtn(val) { checkFxjbBtn(val) {
this.fxjbType = []; this.fxjbType = [];
this.checkFx = true; this.checkFx = true;
this.queryParams.pageNum=1
this.queryParams.pageSize=10
this.querySubmit() this.querySubmit()
}, },
checkFxjb1Btn(val){ checkFxjb1Btn(val){
this.queryParams.pageNum=1
this.queryParams.pageSize=10
if (val.length > 0) { if (val.length > 0) {
this.checkFx = false; this.checkFx = false;
} else if (val.length == 0) { } else if (val.length == 0) {
...@@ -378,8 +409,36 @@ ...@@ -378,8 +409,36 @@
} }
this.querySubmit() this.querySubmit()
}, },
handleDetail(){ handleDetail(item){
switch (item.dimensionName) {
case '新增开庭公告':
this.title='开庭公告详情'
this.dialogVisible=true; this.dialogVisible=true;
break;
case '新增法院公告':
this.title='法院公告详情'
this.dialogVisible=true;
break;
case '新增裁判文书':
this.title='裁判文书详情'
this.dialogVisible=true;
break;
case '新增经营异常':
this.title='经营异常详情'
this.dialogVisible=true;
break;
case '新增失信被执行人':
this.title='失信被执行人详情'
this.dialogVisible=true;
break;
case '新增股权冻结':
this.title='股权冻结详情'
this.dialogVisible=true;
break;
default:
break;
}
this.getDetail(item.dimensionName,item.sourceId)
}, },
// 重置页数 // 重置页数
handleSizeChange(val) { handleSizeChange(val) {
...@@ -558,6 +617,9 @@ ...@@ -558,6 +617,9 @@
font-size: 14px; font-size: 14px;
color: rgba(35,35,35,0.8); color: rgba(35,35,35,0.8);
} }
.color_text {
color: #0081ff;
}
.main-right { .main-right {
width: calc(100% - 112px); width: calc(100% - 112px);
.select-popper { .select-popper {
......
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