duanliangtao 2 years ago
parent
commit
190f26f9d2
  1. 2
      src/views/dataBoard/overview/components/MapDialog/DemandList.vue
  2. 2
      src/views/dataBoard/overview/components/MapDialog/DisputeDispatch.vue
  3. 4
      src/views/dataBoard/overview/components/MapDialog/index.vue
  4. 2
      src/views/dataBoard/overview/components/MapResourceInfoMore.vue
  5. 1
      src/views/dataBoard/overview/components/ResourceInfo.vue
  6. 5
      src/views/dataBoard/overview/components/ResourceScheduling.vue
  7. 6
      src/views/dataBoard/overview/components/jdjs.vue
  8. 33
      src/views/dataBoard/renfang/cpts/jmPieOption.js
  9. 5
      src/views/dataBoard/renfang/cpts/jmgl.vue
  10. 2
      src/views/dataBoard/satisfactionEval/Problem/tyry/list.vue
  11. 5
      src/views/dataBoard/satisfactionEval/modules/DissatisfiedReason/index.vue

2
src/views/dataBoard/overview/components/MapDialog/DemandList.vue

@ -104,7 +104,7 @@ export default {
} }
}, },
mounted() { mounted() {
this.typeChange(this.type)
}, },
watch: { watch: {
categoryCode() { categoryCode() {

2
src/views/dataBoard/overview/components/MapDialog/DisputeDispatch.vue

@ -225,7 +225,7 @@ export default {
this.type === '4' ? 3 : this.type === '4' ? 3 :
this.type === 'staffGrid' ? 4 : this.type === 'staffGrid' ? 4 :
this.type === 'publicWelfareNum' ? 5 : '' this.type === 'publicWelfareNum' ? 5 : ''
this.$refs.MapResourceInfo.open(type === 3 ? data.agencyId : data.id, type) this.$refs.MapResourceInfo.open(type === 3 ? data.orgId : data.id, type)
}, },
typeChange(val) { typeChange(val) {
this.type = val this.type = val

4
src/views/dataBoard/overview/components/MapDialog/index.vue

@ -58,7 +58,7 @@
<DifficultyCharts v-if="catVal === 1" :currentLevelData="currentLevelData" <DifficultyCharts v-if="catVal === 1" :currentLevelData="currentLevelData"
style="margin-bottom: 56px;"/> style="margin-bottom: 56px;"/>
<DisputeDispatch v-if="catVal === 2" :currentLevelData="currentLevelData" style="margin-bottom: 56px;"/> <DisputeDispatch v-if="catVal === 2" :currentLevelData="currentLevelData" style="margin-bottom: 56px;"/>
<Njjwtqk :catVal="catVal"/> <Njjwtqk :currentLevelData="currentLevelData" :catVal="catVal"/>
</template> </template>
<template v-if="type === 'bmysxqk'"> <template v-if="type === 'bmysxqk'">
@ -134,7 +134,7 @@ export default {
children: 'children', children: 'children',
label: 'label' label: 'label'
}, },
catVal: '', catVal: 1,
catValSub: '', catValSub: '',
catLabel: '', catLabel: '',
totalCount: [], totalCount: [],

2
src/views/dataBoard/overview/components/MapResourceInfoMore.vue

@ -268,7 +268,7 @@ export default {
this.education = data.education; this.education = data.education;
this.hobby = data.hobby; this.hobby = data.hobby;
this.dialogVisible = true this.dialogVisible = true
this.queryParams.serviceType = this.queryParams.serviceOrgType =
data.type === 1 ? 'ic_user_volunteer' : data.type === 1 ? 'ic_user_volunteer' :
data.type === 2 ? 'party_unit' : data.type === 2 ? 'party_unit' :
data.type === 3 ? 'community_org' : data.type === 3 ? 'community_org' :

1
src/views/dataBoard/overview/components/ResourceInfo.vue

@ -175,6 +175,7 @@ export default {
this.rowData = rowData this.rowData = rowData
}, },
handleSure() { handleSure() {
this.handleClose()
this.$emit('ok',this.rowData) this.$emit('ok',this.rowData)
}, },
getData(type) { getData(type) {

5
src/views/dataBoard/overview/components/ResourceScheduling.vue

@ -175,9 +175,10 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
console.log(this.currentLevelData, 'this.currentLevelData') console.log(this.currentLevelData, 'this.currentLevelData')
const {level,orgId} = this.$store.state.chooseArea.chooseName
this.$http.get("/actual/base/streetOverview/queryPersonnelGroup" + this.$http.get("/actual/base/streetOverview/queryPersonnelGroup" +
"?level=" + this.currentLevelData.orgLevel + "?level=" + (this.currentLevelData.orgLevel || level) +
"&orgId=" + this.currentLevelData.orgId + "&orgId=" + (this.currentLevelData.orgId || orgId) +
"&personnelType=" + this.peopleType) "&personnelType=" + this.peopleType)
.then(({data: {data}}) => { .then(({data: {data}}) => {
this.loading = false; this.loading = false;

6
src/views/dataBoard/overview/components/jdjs.vue

@ -16,7 +16,7 @@
element-loading-text="加载中..." element-loading-text="加载中..."
element-loading-spinner="el-icon-loading" element-loading-spinner="el-icon-loading"
element-loading-background="rgba(0,0,0,0.5)" element-loading-background="rgba(0,0,0,0.5)"
style="height: 130px" style="height: 135px;margin-top: 10px"
/> />
</div> </div>
<title-small text="不满意风险人员"> <title-small text="不满意风险人员">
@ -277,7 +277,7 @@ export default {
fontSize: 12 fontSize: 12
}, },
align: 'right', align: 'right',
padding: [6, 5, 5, 5], padding: [0, 5, -5, 5],
}, },
axisLabel: { axisLabel: {
show: true, show: true,
@ -405,6 +405,6 @@ export default {
margin-top: 20px; margin-top: 20px;
} }
.f-darkGray{ .f-darkGray{
margin-top: 15px; margin-top: 5px;
} }
</style> </style>

33
src/views/dataBoard/renfang/cpts/jmPieOption.js

@ -4,24 +4,21 @@ export function pieOption() {
const center = ["50%", "170px"]; const center = ["50%", "170px"];
return { return {
color: ["#1A95FF", "#FFAA00", "#04C790"], color: ["#1A95FF", "#FFAA00", "#04C790"],
/* title: { title: {
text: "0", text: "",
top: 45, subtext: '总数',
left: "center", left: '45%',
top: '35%',
textAlign :'center',
textStyle: { textStyle: {
width: "100%", color: '#7FCEFF',
fontSize: 24, fontSize: 18,
color: "#FFFFFF",
fontWeight: 400,
}, },
itemGap: 5, subtextStyle: {
// subtext: "总数", fontSize: 12,
// subtextStyle: { color: '#A3B9DA'
// fontSize: 20, },
// color: "#fff", },
// fontWeight: 400,
// },
},*/
tooltip: { tooltip: {
show: false, show: false,
}, },
@ -47,7 +44,7 @@ export function pieOption() {
show: false show: false
}, },
data: [], data: [],
label: { /* label: {
show: false, show: false,
position: 'center', position: 'center',
formatter: data => { formatter: data => {
@ -75,7 +72,7 @@ export function pieOption() {
fontSize: '14', fontSize: '14',
fontWeight: 'normal' fontWeight: 'normal'
} }
}, },*/
/* label: { /* label: {
show: false, show: false,
position: 'center' position: 'center'

5
src/views/dataBoard/renfang/cpts/jmgl.vue

@ -180,6 +180,7 @@ export default {
this.pieOption = pieOption(); this.pieOption = pieOption();
const {pandectData} = this; const {pandectData} = this;
console.log(pandectData) console.log(pandectData)
this.pieOption.title.text = pandectData.totalResidents;
this.pieData = [ this.pieData = [
{value: pandectData.permanentResiCount, name: "常住人口"}, {value: pandectData.permanentResiCount, name: "常住人口"},
{value: pandectData.floatingResiCount, name: "流动人口"}, {value: pandectData.floatingResiCount, name: "流动人口"},
@ -187,7 +188,7 @@ export default {
this.pieOption.series[0].data = this.pieData; this.pieOption.series[0].data = this.pieData;
this.$refs.pieChart.setOption(this.pieOption); this.$refs.pieChart.setOption(this.pieOption);
this.$refs.pieChart.myChart.setOption(this.pieOption); this.$refs.pieChart.myChart.setOption(this.pieOption);
this.$refs.pieChart.myChart.on('mouseover', (params) => { /*this.$refs.pieChart.myChart.on('mouseover', (params) => {
var oldIndex = currentIndex; var oldIndex = currentIndex;
var currentIndex = params.dataIndex; var currentIndex = params.dataIndex;
this.highlightPie(currentIndex, oldIndex); this.highlightPie(currentIndex, oldIndex);
@ -195,7 +196,7 @@ export default {
setTimeout(() => { setTimeout(() => {
this.highlightPie(0, 1); this.highlightPie(0, 1);
}, 50) }, 50)*/
}, },
highlightPie(currentIndex, oldIndex) { highlightPie(currentIndex, oldIndex) {
this.$refs.pieChart.myChart.dispatchAction({ this.$refs.pieChart.myChart.dispatchAction({

2
src/views/dataBoard/satisfactionEval/Problem/tyry/list.vue

@ -24,7 +24,7 @@
<div class="table"> <div class="table">
<el-table v-loading="loading" :data="list" element-loading-background="rgba(0,0,0,0.5)" <el-table v-loading="loading" :data="list" element-loading-background="rgba(0,0,0,0.5)"
element-loading-spinner="el-icon-loading" element-loading-text="加载中..."> element-loading-spinner="el-icon-loading" element-loading-text="加载中...">
<el-table-column label="序号" type="index" width="50"/> <el-table-column label="序号" type="index" width="80"/>
<el-table-column label="联系方式" prop="mobile"> <el-table-column label="联系方式" prop="mobile">
<template slot-scope="scope"> <template slot-scope="scope">
{{ $sensitive(scope.row.mobile, 3, 7) }} {{ $sensitive(scope.row.mobile, 3, 7) }}

5
src/views/dataBoard/satisfactionEval/modules/DissatisfiedReason/index.vue

@ -33,6 +33,7 @@ export default {
this.myChart = echarts.init(div); this.myChart = echarts.init(div);
var getname = data.map(item => item.dissatisfactionReasonName); // var getname = data.map(item => item.dissatisfactionReasonName); //
var getNum = data.map(item => item.qty); var getNum = data.map(item => item.qty);
var total = eval(getNum.join('+'))
var data = []; var data = [];
for (var i = 0; i < getname.length; i++) { for (var i = 0; i < getname.length; i++) {
@ -90,10 +91,10 @@ export default {
avoidLabelOverlap: false, avoidLabelOverlap: false,
label: { label: {
show: false, show: true,
position: "center", position: "center",
color: "rgba(13, 17, 29,0)", color: "rgba(13, 17, 29,0)",
formatter: `{primary|{d}%}\n{point|占比}}`, formatter: `{primary|${total}}\n{point|总数}}`,
rich: { rich: {
primary: { primary: {
fontSize: 24, fontSize: 24,

Loading…
Cancel
Save