master
loveflow 11 months ago
parent 6b8b11e9e6
commit 0f3e83eda7

@ -0,0 +1,8 @@
import request from "@/utils/request";
//高发问题区域展示
export function highincidenceproblems() {
return request({
url: "/synergism/highincidenceproblems",
method: "post",
});
}

@ -0,0 +1,8 @@
import request from "@/utils/request";
//问题整改概览
export function OverviewList() {
return request({
url: "/tbRectificationOfAProblem/OverviewList",
method: "post",
});
}

@ -0,0 +1,8 @@
import request from "@/utils/request";
//高发问题区域展示
export function highincidenceproblems() {
return request({
url: "/synergism/highincidenceproblems",
method: "post",
});
}

@ -54,6 +54,8 @@
<script> <script>
import colWrap from "../components/colWrap.vue"; import colWrap from "../components/colWrap.vue";
import barWrap from "./bar.vue"; import barWrap from "./bar.vue";
import { highincidenceproblems } from "@/api/enterpriseTeamWork/problemAnalysis/index.js";
export default { export default {
components: { components: {
colWrap, colWrap,
@ -101,7 +103,17 @@ export default {
}, },
}; };
}, },
mounted() {
this.getData();
},
methods: { methods: {
getData() {
highincidenceproblems().then((res) => {
if (res.code == 200) {
let data = res.data || {};
}
});
},
typeChange(val) { typeChange(val) {
console.log(val); console.log(val);
if (val == "1") { if (val == "1") {

@ -142,6 +142,7 @@ import dpieWrap from "./dpie.vue";
import mapWrap from "./map.vue"; import mapWrap from "./map.vue";
import { commonMixins } from "@/loveflow/mixins/commonMixins"; import { commonMixins } from "@/loveflow/mixins/commonMixins";
import { tableListMixins } from "@/loveflow/mixins/tableListMixins"; import { tableListMixins } from "@/loveflow/mixins/tableListMixins";
import { OverviewList } from "@/api/enterpriseTeamWork/problemRectify/index.js";
export default { export default {
components: { screenMain, barWrap, gaugeWrap, dpieWrap, mapWrap }, components: { screenMain, barWrap, gaugeWrap, dpieWrap, mapWrap },
@ -273,9 +274,17 @@ export default {
this.timeValue = this.timeArr.length ? this.timeArr[0] : ""; this.timeValue = this.timeArr.length ? this.timeArr[0] : "";
this.ipagination.pageSizes = []; this.ipagination.pageSizes = [];
this.ipagination.layout = "total, prev, pager, next"; this.ipagination.layout = "total, prev, pager, next";
this.loadData(); //this.loadData();
this.getData();
}, },
methods: { methods: {
getData() {
OverviewList().then((res) => {
if (res.code == 200) {
let data = res.data || {};
}
});
},
timeSelect(val) { timeSelect(val) {
this.timeValue = val; this.timeValue = val;
}, },

@ -289,7 +289,7 @@ export default {
} }
var text = `{tline|${name}\n}{label|已整改}: {fline|${yn}\n}{label|正在整改}: {fline|${zn}\n}{label|未整改}: {fline|${wn}\n}`; var text = `{tline|${name}\n}{label|已整改}: {fline|${yn}\n}{label|正在整改}: {fline|${zn}\n}{label|未整改}: {fline|${wn}\n}`;
console.log(text); //console.log(text);
if (optType == "state") { if (optType == "state") {
if (stateVal === "0") { if (stateVal === "0") {
// //

@ -126,13 +126,13 @@
<gDict :options="isNoList" :value="scope.row.msg"></gDict> <gDict :options="isNoList" :value="scope.row.msg"></gDict>
</template> </template>
<template v-slot:jjSlot="{ scope }"> <template v-slot:jjSlot="{ scope }">
<div class="ybWrap" v-if="scope.row.jj == 0"> <div class="ybWrap" v-if="scope.row.urgencyLevel == '一般'">
<div class="text">一般</div> <div class="text">一般</div>
</div> </div>
<div class="zdWrap" v-if="scope.row.jj == 1"> <div class="zdWrap" v-if="scope.row.urgencyLevel == '重点关注'">
<div class="text">重点关注</div> <div class="text">重点关注</div>
</div> </div>
<div class="jjWrap" v-if="scope.row.jj == 2"> <div class="jjWrap" v-if="scope.row.urgencyLevel == '紧急'">
<div class="text">紧急</div> <div class="text">紧急</div>
</div> </div>
</template> </template>
@ -146,14 +146,26 @@
<gDict :options="unitList" :value="scope.row.unit"></gDict> <gDict :options="unitList" :value="scope.row.unit"></gDict>
</template> </template>
<template v-slot:stateSlot="{ scope }"> <template v-slot:stateSlot="{ scope }">
<div class="failWrap" v-if="scope.row.state == 0"> <div
<div class="text">处理失败</div> class="failWrap"
v-if="scope.row.rectificationStatus == '未按要求整改'"
>
<div class="text">未按要求整改</div>
</div> </div>
<div class="ingWrap" v-if="scope.row.state == 1"> <div
<div class="text">进行中</div> class="ingWrap"
v-if="scope.row.rectificationStatus == '正在整改'"
>
<div class="text">正在整改</div>
</div> </div>
<div class="finishWrap" v-if="scope.row.state == 2"> <div
<div class="text">处置完成</div> class="finishWrap"
v-if="
scope.row.rectificationStatus == '已整改' ||
scope.row.rectificationStatus == '按照要求整改'
"
>
<div class="text">已整改</div>
</div> </div>
</template> </template>
<template v-slot:dealWaySlot="{ scope }"> <template v-slot:dealWaySlot="{ scope }">
@ -197,37 +209,37 @@ export default {
}, },
}, },
{ {
prop: "time", prop: "createTime",
label: "风险产生时间", label: "风险产生时间",
attrs: { attrs: {
width: 180, width: 180,
}, },
}, },
{ {
prop: "cmy", prop: "enterpriseName",
label: "风险关联企业", label: "风险关联企业",
attrs: { attrs: {
width: 240, width: 240,
}, },
}, },
{ {
slot: "ysSlot", //slot: "ysSlot",
prop: "ys", prop: "elementAbnormalDetail",
label: "风险要素", label: "风险要素",
attrs: { attrs: {
width: 160, width: 160,
}, },
}, },
{ {
prop: "date", prop: "rectificationDeadline",
label: "整改截止日期", label: "整改截止日期",
attrs: { attrs: {
width: 180, width: 180,
}, },
}, },
{ {
slot: "unitSlot", //slot: "unitSlot",
prop: "unit", prop: "supervisionUnit",
label: "监管单位", label: "监管单位",
attrs: { attrs: {
width: 160, width: 160,
@ -235,7 +247,7 @@ export default {
}, },
{ {
slot: "stateSlot", slot: "stateSlot",
prop: "state", prop: "rectificationStatus",
label: "整改状态", label: "整改状态",
attrs: { attrs: {
width: 120, width: 120,
@ -250,7 +262,7 @@ export default {
}, },
}, },
{ {
prop: "remarks", prop: "rectificationNoNum",
label: "整改结果详情", label: "整改结果详情",
attrs: { attrs: {
width: 180, width: 180,
@ -265,23 +277,23 @@ export default {
}, },
}, },
{ {
slot: "gpSlot", //slot: "gpSlot",
prop: "msg", prop: "listedSupervision",
label: "是否挂牌督办", label: "是否挂牌督办",
attrs: { attrs: {
width: 120, width: 120,
}, },
}, },
{ {
prop: "sshs", prop: "appealVerificationNotNeeded",
label: "申诉核实", label: "申诉核实",
attrs: { attrs: {
width: 120, width: 120,
}, },
}, },
{ {
slot: "dealWaySlot", //slot: "dealWaySlot",
prop: "dealWay", prop: "disposalMethod",
label: "处置方式", label: "处置方式",
attrs: { attrs: {
width: 140, width: 140,
@ -289,13 +301,16 @@ export default {
}, },
{ {
slot: "jjSlot", slot: "jjSlot",
prop: "jj", prop: "urgencyLevel",
label: "紧急程度", label: "紧急程度",
attrs: { attrs: {
width: 140, width: 140,
}, },
}, },
], ],
url: {
list: "/synergism/rickdisposal",
},
}; };
}, },
methods: { methods: {

Loading…
Cancel
Save