Commit 4df56485 authored by danfuman's avatar danfuman

修改

parent 2df9aea5
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<div class="m-main"> <div class="m-main">
<div class="main-item"> <div class="main-item">
<div class="label">推送频率</div> <div class="label">推送频率</div>
<el-radio v-model="queryParams.pushFrequency" label="0">每小时</el-radio> <!--<el-radio v-model="queryParams.pushFrequency" label="0">每小时</el-radio>-->
<el-radio v-model="queryParams.pushFrequency" label="1">每天</el-radio> <el-radio v-model="queryParams.pushFrequency" label="1">每天</el-radio>
<el-radio v-model="queryParams.pushFrequency" label="2">工作日(排除节假日)</el-radio> <el-radio v-model="queryParams.pushFrequency" label="2">工作日(排除节假日)</el-radio>
</div> </div>
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
checkFx: true, checkFx: true,
checkJkwd: true, checkJkwd: true,
queryParams:{ queryParams:{
pushFrequency:'0', pushFrequency:'1',
receiveMode:'0', receiveMode:'0',
phones:'' phones:''
}, },
...@@ -198,7 +198,6 @@ ...@@ -198,7 +198,6 @@
if(this.endTime){ if(this.endTime){
params.timePeriodEnd=this.endTime params.timePeriodEnd=this.endTime
} }
console.log(params)
insertOrUpdate(params).then(res => { insertOrUpdate(params).then(res => {
this.$message.success(res.msg); this.$message.success(res.msg);
}) })
...@@ -209,7 +208,7 @@ ...@@ -209,7 +208,7 @@
this.startTime ='' this.startTime =''
this.endTime = '' this.endTime = ''
this.queryParams={ this.queryParams={
pushFrequency:'0', pushFrequency:'1',
receiveMode:'0', receiveMode:'0',
phones:'' phones:''
} }
......
...@@ -351,19 +351,22 @@ ...@@ -351,19 +351,22 @@
params.condition.companyName=this.companyName params.condition.companyName=this.companyName
} }
if(this.fxjbType.length > 0){ if(this.fxjbType.length > 0){
params.condition.fxjbType=this.fxjbType.join() params.condition.riskLevel=this.fxjbType
}else {
delete params.condition.riskLevel
} }
if(this.sffx.length > 0 && this.gsfx.length > 0){ if(this.sffx.length > 0 && this.gsfx.length > 0){
params.riskType='司法风险,工商风险' params.condition.riskType='司法风险,工商风险'
params.dimension=this.sffx.join()+','+this.gsfx.join() params.condition.dimension=this.sffx.concat(this.gsfx)
console.log(this.sffx.concat(this.gsfx))
} }
if(this.sffx.length > 0 && this.gsfx.length === 0){ if(this.sffx.length > 0 && this.gsfx.length === 0){
params.riskType='司法风险' params.condition.riskType='司法风险'
params.dimension=this.sffx.join() params.condition.dimension=this.sffx
} }
if(this.sffx.length === 0 && this.gsfx.length > 0){ if(this.sffx.length === 0 && this.gsfx.length > 0){
params.riskType='工商风险' params.condition.riskType='工商风险'
params.dimension=this.gsfx.join() params.condition.dimension=this.gsfx
} }
dynamicPage(params).then(res => { dynamicPage(params).then(res => {
this.isSkeleton = false; this.isSkeleton = false;
...@@ -387,6 +390,7 @@ ...@@ -387,6 +390,7 @@
getDetail(name,id) { getDetail(name,id) {
companyDetail({dimensionName:name,sourceId:id}).then(res => { companyDetail({dimensionName:name,sourceId:id}).then(res => {
console.log(res) console.log(res)
this.dialogVisible=true;
this.detail=res.data; this.detail=res.data;
}) })
}, },
...@@ -432,33 +436,32 @@ ...@@ -432,33 +436,32 @@
switch (item.dimensionName) { switch (item.dimensionName) {
case '新增开庭公告': case '新增开庭公告':
this.title='开庭公告详情' this.title='开庭公告详情'
this.dialogVisible=true; this.getDetail(item.dimensionName,item.sourceId)
break; break;
case '新增法院公告': case '新增法院公告':
this.title='法院公告详情' this.title='法院公告详情'
this.dialogVisible=true; this.getDetail(item.dimensionName,item.sourceId)
break; break;
case '新增裁判文书': case '新增裁判文书':
this.title='裁判文书详情' this.title='裁判文书详情'
this.dialogVisible=true; this.getDetail(item.dimensionName,item.sourceId)
break; break;
case '新增经营异常': case '新增经营异常':
this.title='经营异常详情' this.title='经营异常详情'
this.dialogVisible=true; this.getDetail(item.dimensionName,item.sourceId)
break; break;
case '新增失信被执行人': case '新增失信被执行人':
this.title='失信被执行人详情' this.title='失信被执行人详情'
this.dialogVisible=true; this.getDetail(item.dimensionName,item.sourceId)
break; break;
case '新增股权冻结': case '新增股权冻结':
this.title='股权冻结详情' this.title='股权冻结详情'
this.dialogVisible=true; this.getDetail(item.dimensionName,item.sourceId)
break; break;
default: default:
this.$message.success("暂无详情"); this.$message.success("暂无详情");
break; break;
} }
this.getDetail(item.dimensionName,item.sourceId)
}, },
handleKeyword(){ handleKeyword(){
this.queryParams.pageNum=1 this.queryParams.pageNum=1
...@@ -649,7 +652,13 @@ ...@@ -649,7 +652,13 @@
} }
} }
</script> </script>
<style lang="scss">
.el-select-dropdown__item.selected,
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected::after{
color: #3181fa;
font-size: 0;
}
</style>
<style lang="scss" scoped> <style lang="scss" scoped>
.MonitoringDynamics{ .MonitoringDynamics{
.search{ .search{
......
...@@ -352,19 +352,22 @@ ...@@ -352,19 +352,22 @@
params.condition.companyName=this.companyName params.condition.companyName=this.companyName
} }
if(this.fxjbType.length > 0){ if(this.fxjbType.length > 0){
params.condition.fxjbType=this.fxjbType.join() params.condition.riskLevel=this.fxjbType
}else {
delete params.condition.riskLevel
} }
if(this.sffx.length > 0 && this.gsfx.length > 0){ if(this.sffx.length > 0 && this.gsfx.length > 0){
params.riskType='司法风险,工商风险' params.condition.riskType='司法风险,工商风险'
params.dimension=this.sffx.join()+','+this.gsfx.join() params.condition.dimension=this.sffx.concat(this.gsfx)
console.log(this.sffx.concat(this.gsfx))
} }
if(this.sffx.length > 0 && this.gsfx.length === 0){ if(this.sffx.length > 0 && this.gsfx.length === 0){
params.riskType='司法风险' params.condition.riskType='司法风险'
params.dimension=this.sffx.join() params.condition.dimension=this.sffx
} }
if(this.sffx.length === 0 && this.gsfx.length > 0){ if(this.sffx.length === 0 && this.gsfx.length > 0){
params.riskType='工商风险' params.condition.riskType='工商风险'
params.dimension=this.gsfx.join() params.condition.dimension=this.gsfx
} }
dynamicPage(params).then(res => { dynamicPage(params).then(res => {
this.isSkeleton = false; this.isSkeleton = false;
...@@ -387,7 +390,7 @@ ...@@ -387,7 +390,7 @@
}, },
getDetail(name,id) { getDetail(name,id) {
companyDetail({dimensionName:name,sourceId:id}).then(res => { companyDetail({dimensionName:name,sourceId:id}).then(res => {
console.log(res) this.dialogVisible=true;
this.detail=res.data; this.detail=res.data;
}) })
}, },
...@@ -413,33 +416,32 @@ ...@@ -413,33 +416,32 @@
switch (item.dimensionName) { switch (item.dimensionName) {
case '新增开庭公告': case '新增开庭公告':
this.title='开庭公告详情' this.title='开庭公告详情'
this.dialogVisible=true; this.getDetail(item.dimensionName,item.sourceId)
break; break;
case '新增法院公告': case '新增法院公告':
this.title='法院公告详情' this.title='法院公告详情'
this.dialogVisible=true; this.getDetail(item.dimensionName,item.sourceId)
break; break;
case '新增裁判文书': case '新增裁判文书':
this.title='裁判文书详情' this.title='裁判文书详情'
this.dialogVisible=true; this.getDetail(item.dimensionName,item.sourceId)
break; break;
case '新增经营异常': case '新增经营异常':
this.title='经营异常详情' this.title='经营异常详情'
this.dialogVisible=true; this.getDetail(item.dimensionName,item.sourceId)
break; break;
case '新增失信被执行人': case '新增失信被执行人':
this.title='失信被执行人详情' this.title='失信被执行人详情'
this.dialogVisible=true; this.getDetail(item.dimensionName,item.sourceId)
break; break;
case '新增股权冻结': case '新增股权冻结':
this.title='股权冻结详情' this.title='股权冻结详情'
this.dialogVisible=true; this.getDetail(item.dimensionName,item.sourceId)
break; break;
default: default:
this.$message.success("暂无详情"); this.$message.success("暂无详情");
break; break;
} }
this.getDetail(item.dimensionName,item.sourceId)
}, },
// 重置页数 // 重置页数
handleSizeChange(val) { handleSizeChange(val) {
...@@ -575,7 +577,13 @@ ...@@ -575,7 +577,13 @@
} }
} }
</script> </script>
<style lang="scss">
.el-select-dropdown__item.selected,
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected::after{
color: #3181fa;
font-size: 0;
}
</style>
<style lang="scss" scoped> <style lang="scss" scoped>
.MonitoringReportDetails{ .MonitoringReportDetails{
.search{ .search{
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<div class="c-title">推送人信息</div> <div class="c-title">推送人信息</div>
<div class="main"> <div class="main">
<div class="table-item" v-if="tableDataTotal > 0 && !isSkeleton"> <div class="table-item" v-if="tableDataTotal > 0 && !isSkeleton">
<el-button class="btn" icon="el-icon-plus" type="primary">添加推送人</el-button> <el-button class="btn" icon="el-icon-plus" type="primary" @click="visible=true">添加推送人</el-button>
<el-table <el-table
class="fixed-table" class="fixed-table"
:data="tableData" :data="tableData"
......
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