+
- {{ detailInfo.newHomeName }}
+ {{ detailInfo.xxdz }}
+
-
+
+
+ 当前人员已不在该房屋
+
+
+ 取消
+
取消
提交
+ {
+ this.loadingForm = false
+ }, 500)
},
async getDatail(type, id) {
let url = '/epmetuser/myHome/moveOutConfirmDetail'
@@ -656,11 +686,23 @@ export default {
})
},
async handleVerify() {
- const params = {
+ let params = {
id: this.detailInfo.id,
confirmResult: this.confirmResult,
reason: this.reason
}
+ if (this.confirmResult == 1 && this.detailInfo.isInHome) {
+ params = {
+ ...params,
+ gridName: this.dataForm.gridName,
+ villageName: this.dataForm.villageName,
+ buildName: this.dataForm.buildName,
+ unitName: this.dataForm.unitName,
+ homeName: this.dataForm.homeName,
+ xxdz: this.dataForm.address
+ }
+ }
+
const { data, code, msg } = await requestPost('/epmetuser/myHome/moveOutConfirm', params)
From 41f6ffa69a5e01646fb4d89493570c4dd95e0ef4 Mon Sep 17 00:00:00 2001
From: dai <851733175@qq.com>
Date: Fri, 24 Jun 2022 14:04:16 +0800
Subject: [PATCH 10/27] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E9=BB=98=E8=AE=A4?=
=?UTF-8?q?=E8=89=B2=EF=BC=8C=E4=BC=98=E5=8C=96=E7=BB=BF=E5=8F=98=E8=93=9D?=
=?UTF-8?q?=E7=9A=84=E9=97=AA=E7=8E=B0=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/element-ui/theme-variables.scss | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/element-ui/theme-variables.scss b/src/element-ui/theme-variables.scss
index 9a9bacf46..93d161a54 100644
--- a/src/element-ui/theme-variables.scss
+++ b/src/element-ui/theme-variables.scss
@@ -16,7 +16,8 @@ $--color-transition-base: color .2s cubic-bezier(.645,.045,.355,1) !default;
/* Color
-------------------------- */
/// color|1|Brand Color|0
-$--color-primary: #17B3A3 !default;
+// $--color-primary: #17B3A3 !default;
+$--color-primary: #3E8EF7 !default;
/// color|1|Background Color|4
$--color-white: #FFFFFF !default;
/// color|1|Background Color|4
From 58a4a04a37508867d670ff3a4936fb86378dbe3d Mon Sep 17 00:00:00 2001
From: jiangyy
Date: Fri, 24 Jun 2022 16:13:47 +0800
Subject: [PATCH 11/27] =?UTF-8?q?=E8=BF=98=E5=8E=9F=E5=9B=BE=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../shijianchuli/lineOption copy.js | 86 -----
.../shijianchuli/pieOption copy.js | 183 ---------
.../communityGovern/shijianchuli/pieOption.js | 311 +++++++--------
.../shijianchuli/shijianchulifenxi.vue | 358 ++----------------
4 files changed, 183 insertions(+), 755 deletions(-)
delete mode 100644 src/views/modules/visual/communityGovern/shijianchuli/lineOption copy.js
delete mode 100644 src/views/modules/visual/communityGovern/shijianchuli/pieOption copy.js
diff --git a/src/views/modules/visual/communityGovern/shijianchuli/lineOption copy.js b/src/views/modules/visual/communityGovern/shijianchuli/lineOption copy.js
deleted file mode 100644
index 04b4f9503..000000000
--- a/src/views/modules/visual/communityGovern/shijianchuli/lineOption copy.js
+++ /dev/null
@@ -1,86 +0,0 @@
-import * as echarts from 'echarts'
-export function lineOption () {
-
- return {
- tooltip: {
- trigger: 'axis',
- axisPointer: {
- type: 'cross',
- label: {
- backgroundColor: '#6a7985'
- }
- }
- },
- xAxis: {
- type: 'category',
- // boundaryGap: false,
- axisLabel: {
- color: '#8ec7dc',
- fontSize: 16
- },
- axisTick: {
- show: false
- },
- axisLine: {
- lineStyle: {
- color: '#0c4b59'
- }
- }
- },
- yAxis: {
- nameTextStyle: {
- color: '#8ec7dc',
- fontSize: 18
- },
- splitNumber: 4,
- minInterval: 1,
- show: true,
- type: 'value',
- axisLabel: {
- color: '#8ec7dc',
- fontSize: 18
- },
- axisTick: {
- show: false
- },
- splitLine: {
- lineStyle: {
- color: ['#145968'],
- type: 'dotted'
- }
- },
- axisLine: {
- show: true,
- symbol: ['none', 'arrow'],
- symbolOffset: [0, 15],
- lineStyle: {
- color: '#0c4b59'
- }
- }
- },
- series: [
- {
- name: '项目数',
- type: 'line',
- smooth: true,
- barWidth: 15,
- areaStyle: {},
- itemStyle: {
- color: new echarts.graphic.LinearGradient(
- 0, 1, 0, 0,
- [
- { offset: 0, color: 'rgba(121, 55, 255, 0)' },
- { offset: 1, color: '#6339FF' }
- ]
- )
- }
- },
- // {
- // data: [820, 932, 901, 934, 1290, 1330, 1320],
- // type: 'line',
- // areaStyle: {}
- // }
- ]
-
- }
-}
diff --git a/src/views/modules/visual/communityGovern/shijianchuli/pieOption copy.js b/src/views/modules/visual/communityGovern/shijianchuli/pieOption copy.js
deleted file mode 100644
index 5eb83badb..000000000
--- a/src/views/modules/visual/communityGovern/shijianchuli/pieOption copy.js
+++ /dev/null
@@ -1,183 +0,0 @@
-
-export function pieOption (_charts) {
-const center= ['50%', '170px']
- return {
- title: {
- text: '0',
- top: 140,
- left: 'center',
- textStyle: {
- width: '100%',
- fontSize: 32,
- color: '#FFFFFF',
- fontWeight: 400
- },
- itemGap: 5,
- subtext: '总数',
- subtextStyle: {
- fontSize: 20,
- color: '#fff',
- fontWeight: 400
- }
- },
- tooltip: {
- show: false
- },
- // legend: {
- // top: 350,
- // bottom: 0,
- // itemWidth: 20,
- // itemHeight: 10,
- // textStyle: {
- // color: '#D2E7FF',
- // fontSize: 16,
- // lineHeight: 20,
- // },
-
- // },
- series: [
- // 外侧圆环
- {
- type: 'pie',
- // 起始刻度的角度,默认为 90 度,即圆心的正上方。0 度为圆心的正右方。
- startAngle: 0,
- hoverAnimation: false,
- // tooltip: {
- // },
- center: center,
- radius: ['58%', '58.3%'],
- label: {
- normal: {
- show: false
- }
- },
- labelLine: {
- normal: {
- show: false
- }
- },
- data: [{
- value: 360,
- itemStyle: {
- normal: {
- color: 'rgba(40, 101, 250, 0)',
- width:0,
- borderColor: 'rgba(40, 101, 250, 0.5)',
- borderWidth: 1,
- borderType: 'dotted'
- }
- }
- }
- ]
- },
-
- // 突出的
- {
- hoverAnimation: false,
- // name: 'Access From',
- type: 'pie',
- center: center,
- radius: ['35%', '48%'],
- avoidLabelOverlap: false,
- // top: top + '%',
- // height: '80%',
- selectedMode: 'single',
- left: 'center',
- width: 400,
- label: {
- // show: false,
- position: 'outside',
- alignTo: 'edge',
- // formatter: '{a|{c}}\n\n{name|{b}}',
- formatter: '{a|{c}%}\n{r|}\n{name|{b}}',
- minMargin: 5,
- edgeDistance: 1,
- lineHeight: 15,
- color: '#fff',
- fontSize: 12,
- // distanceToLabelLine: -60,
- rich: {
- name: {
- padding: [0, 6, 0, 6]
- },
- a: {
- fontSize: 30,
- color: '#fff',
- padding: [0, 6, 6, 6]
- },
- r: {
- backgroundColor: 'auto',
- borderRadius: 6,
- width: 6,
- height: 6,
- // padding: [3, 3, 0, -12]
- }
- }
- },
- labelLine: {
- show: false,
- smooth: 0.2,
- length: 30,
- length2: 0,
- maxSurfaceAngle: 80
- },
- labelLayout: function (params) {
-
- const isLeft = params.labelRect.x < _charts.getWidth() / 2;
- const points = params.labelLinePoints;
- // Update the end point.
- if (points) {
- points[2][0] = isLeft
- ? params.labelRect.x
- : params.labelRect.x + params.labelRect.width;
- }
-
- return {
- labelLinePoints: points
- };
- },
- itemStyle: {
- color:function(params) {
- //自定义颜色
- var colorList = [ '#FAC126', '#3DDA83'];
- return colorList[params.dataIndex]
- }
- },
- data: [],
-
- },
- // 中间圆环
- {
- type: 'pie',
- // 起始刻度的角度,默认为 90 度,即圆心的正上方。0 度为圆心的正右方。
- startAngle: 0,
- hoverAnimation: false,
- center: center,
- // tooltip: {
- // },
- radius: ['0%', '25%'],
- label: {
-
- show: false
-
- },
- labelLine: {
-
- show: false
-
- },
- data: [{
- value: 360,
- itemStyle: {
- normal: {
- color: 'rgba(8, 37, 134, 1)',
-
- }
- }
- }
- ]
- },
- ]
-
- }
-}
diff --git a/src/views/modules/visual/communityGovern/shijianchuli/pieOption.js b/src/views/modules/visual/communityGovern/shijianchuli/pieOption.js
index 5eb83badb..6e9b5c886 100644
--- a/src/views/modules/visual/communityGovern/shijianchuli/pieOption.js
+++ b/src/views/modules/visual/communityGovern/shijianchuli/pieOption.js
@@ -1,183 +1,184 @@
export function pieOption (_charts) {
-const center= ['50%', '170px']
- return {
- title: {
- text: '0',
- top: 140,
- left: 'center',
- textStyle: {
- width: '100%',
- fontSize: 32,
- color: '#FFFFFF',
- fontWeight: 400
- },
- itemGap: 5,
- subtext: '总数',
- subtextStyle: {
- fontSize: 20,
- color: '#fff',
- fontWeight: 400
- }
- },
- tooltip: {
- show: false
- },
- // legend: {
- // top: 350,
- // bottom: 0,
- // itemWidth: 20,
- // itemHeight: 10,
- // textStyle: {
- // color: '#D2E7FF',
- // fontSize: 16,
- // lineHeight: 20,
- // },
-
- // },
- series: [
- // 外侧圆环
- {
- type: 'pie',
- // 起始刻度的角度,默认为 90 度,即圆心的正上方。0 度为圆心的正右方。
- startAngle: 0,
- hoverAnimation: false,
- // tooltip: {
- // },
- center: center,
- radius: ['58%', '58.3%'],
- label: {
- normal: {
- show: false
- }
- },
- labelLine: {
- normal: {
- show: false
- }
+ const center= ['50%', '170px']
+ return {
+ title: {
+ text: '0',
+ top: 140,
+ left: 'center',
+ textStyle: {
+ width: '100%',
+ fontSize: 32,
+ color: '#FFFFFF',
+ fontWeight: 400
},
- data: [{
- value: 360,
- itemStyle: {
- normal: {
- color: 'rgba(40, 101, 250, 0)',
- width:0,
- borderColor: 'rgba(40, 101, 250, 0.5)',
- borderWidth: 1,
- borderType: 'dotted'
- }
- }
+ itemGap: 5,
+ subtext: '总数',
+ subtextStyle: {
+ fontSize: 20,
+ color: '#fff',
+ fontWeight: 400
}
- ]
},
-
- // 突出的
- {
- hoverAnimation: false,
- // name: 'Access From',
- type: 'pie',
- center: center,
- radius: ['35%', '48%'],
- avoidLabelOverlap: false,
- // top: top + '%',
- // height: '80%',
- selectedMode: 'single',
- left: 'center',
- width: 400,
- label: {
- // show: false,
- position: 'outside',
- alignTo: 'edge',
- // formatter: '{a|{c}}\n\n{name|{b}}',
- formatter: '{a|{c}%}\n{r|}\n{name|{b}}',
- minMargin: 5,
- edgeDistance: 1,
- lineHeight: 15,
- color: '#fff',
- fontSize: 12,
- // distanceToLabelLine: -60,
- rich: {
- name: {
- padding: [0, 6, 0, 6]
- },
- a: {
- fontSize: 30,
- color: '#fff',
- padding: [0, 6, 6, 6]
- },
- r: {
- backgroundColor: 'auto',
- borderRadius: 6,
- width: 6,
- height: 6,
- // padding: [3, 3, 0, -12]
- }
- }
- },
- labelLine: {
- show: false,
- smooth: 0.2,
- length: 30,
- length2: 0,
- maxSurfaceAngle: 80
- },
- labelLayout: function (params) {
-
- const isLeft = params.labelRect.x < _charts.getWidth() / 2;
- const points = params.labelLinePoints;
- // Update the end point.
- if (points) {
- points[2][0] = isLeft
- ? params.labelRect.x
- : params.labelRect.x + params.labelRect.width;
- }
-
- return {
- labelLinePoints: points
- };
- },
- itemStyle: {
- color:function(params) {
- //自定义颜色
- var colorList = [ '#FAC126', '#3DDA83'];
- return colorList[params.dataIndex]
- }
- },
- data: [],
-
+ tooltip: {
+ show: false
},
- // 中间圆环
- {
+ // legend: {
+ // top: 350,
+ // bottom: 0,
+ // itemWidth: 20,
+ // itemHeight: 10,
+ // textStyle: {
+ // color: '#D2E7FF',
+ // fontSize: 16,
+ // lineHeight: 20,
+ // },
+
+ // },
+ series: [
+ // 外侧圆环
+ {
type: 'pie',
// 起始刻度的角度,默认为 90 度,即圆心的正上方。0 度为圆心的正右方。
startAngle: 0,
hoverAnimation: false,
- center: center,
// tooltip: {
// },
- radius: ['0%', '25%'],
+ center: center,
+ radius: ['58%', '58.3%'],
label: {
-
+ normal: {
show: false
-
+ }
},
labelLine: {
-
+ normal: {
show: false
-
+ }
},
data: [{
value: 360,
itemStyle: {
normal: {
- color: 'rgba(8, 37, 134, 1)',
-
+ color: 'rgba(40, 101, 250, 0)',
+ width:0,
+ borderColor: 'rgba(40, 101, 250, 0.5)',
+ borderWidth: 1,
+ borderType: 'dotted'
}
}
}
]
},
- ]
-
+
+ // 突出的
+ {
+ hoverAnimation: false,
+ // name: 'Access From',
+ type: 'pie',
+ center: center,
+ radius: ['35%', '48%'],
+ avoidLabelOverlap: false,
+ // top: top + '%',
+ // height: '80%',
+ selectedMode: 'single',
+ left: 'center',
+ width: 400,
+ label: {
+ // show: false,
+ position: 'outside',
+ alignTo: 'edge',
+ // formatter: '{a|{c}}\n\n{name|{b}}',
+ formatter: '{a|{c}%}\n{r|}\n{name|{b}}',
+ minMargin: 5,
+ edgeDistance: 1,
+ lineHeight: 15,
+ color: '#fff',
+ fontSize: 12,
+ // distanceToLabelLine: -60,
+ rich: {
+ name: {
+ padding: [0, 6, 0, 6]
+ },
+ a: {
+ fontSize: 30,
+ color: '#fff',
+ padding: [0, 6, 6, 6]
+ },
+ r: {
+ backgroundColor: 'auto',
+ borderRadius: 6,
+ width: 6,
+ height: 6,
+ // padding: [3, 3, 0, -12]
+ }
+ }
+ },
+ labelLine: {
+ show: false,
+ smooth: 0.2,
+ length: 30,
+ length2: 0,
+ maxSurfaceAngle: 80
+ },
+ labelLayout: function (params) {
+
+ const isLeft = params.labelRect.x < _charts.getWidth() / 2;
+ const points = params.labelLinePoints;
+ // Update the end point.
+ if (points) {
+ points[2][0] = isLeft
+ ? params.labelRect.x
+ : params.labelRect.x + params.labelRect.width;
+ }
+
+ return {
+ labelLinePoints: points
+ };
+ },
+ itemStyle: {
+ color:function(params) {
+ //自定义颜色
+ var colorList = [ '#FAC126', '#3DDA83'];
+ return colorList[params.dataIndex]
+ }
+ },
+ data: [],
+
+ },
+ // 中间圆环
+ {
+ type: 'pie',
+ // 起始刻度的角度,默认为 90 度,即圆心的正上方。0 度为圆心的正右方。
+ startAngle: 0,
+ hoverAnimation: false,
+ center: center,
+ // tooltip: {
+ // },
+ radius: ['0%', '25%'],
+ label: {
+
+ show: false
+
+ },
+ labelLine: {
+
+ show: false
+
+ },
+ data: [{
+ value: 360,
+ itemStyle: {
+ normal: {
+ color: 'rgba(8, 37, 134, 1)',
+
+ }
+ }
+ }
+ ]
+ },
+ ]
+
+ }
}
-}
+
\ No newline at end of file
diff --git a/src/views/modules/visual/communityGovern/shijianchuli/shijianchulifenxi.vue b/src/views/modules/visual/communityGovern/shijianchuli/shijianchulifenxi.vue
index c3a5c819b..301a60a96 100644
--- a/src/views/modules/visual/communityGovern/shijianchuli/shijianchulifenxi.vue
+++ b/src/views/modules/visual/communityGovern/shijianchuli/shijianchulifenxi.vue
@@ -23,7 +23,7 @@
:key="item.value"
:label="item.label"
:value="item.value"
- @click.native="handleChangeDate(item.value,true)">
+ @click.native="handleChangeDate(item.value)">
@@ -47,32 +47,26 @@