From 29b02c3f5910ed5b77916ebc9a903bada48c29af Mon Sep 17 00:00:00 2001
From: zxc <1272811460@qq.com>
Date: Fri, 2 Sep 2022 11:16:06 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E8=B7=B3=E8=BD=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../visual/communityParty/crateForm.vue | 431 ++++++++++++++++++
.../modules/visual/communityParty/party.vue | 73 ++-
2 files changed, 498 insertions(+), 6 deletions(-)
create mode 100644 src/views/modules/visual/communityParty/crateForm.vue
diff --git a/src/views/modules/visual/communityParty/crateForm.vue b/src/views/modules/visual/communityParty/crateForm.vue
new file mode 100644
index 000000000..86ed68e07
--- /dev/null
+++ b/src/views/modules/visual/communityParty/crateForm.vue
@@ -0,0 +1,431 @@
+
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/visual/communityParty/party.vue b/src/views/modules/visual/communityParty/party.vue
index 826333519..f318f3eef 100644
--- a/src/views/modules/visual/communityParty/party.vue
+++ b/src/views/modules/visual/communityParty/party.vue
@@ -131,6 +131,18 @@
+
+
+
@@ -140,6 +152,7 @@ import screenTable from "../components/screen-table/index";
import cptCard from "@/views/modules/visual/cpts/card";
import nextTick from "dai-js/tools/nextTick";
import screenEchartsFrame from "../components/screen-echarts-frame";
+import crateForm from './crateForm.vue';
import { pieOption } from './options'
import * as echarts from 'echarts';
@@ -148,10 +161,15 @@ export default {
components: {
cptCard,
screenTable,
- screenEchartsFrame
+ screenEchartsFrame,
+ crateForm
},
data() {
return {
+ memberDialog: false,
+ disabled: true,
+ memberDetailInfo: {},
+ optionsG: [],
headerList: [
{ title: "序号", coulmn: 'index' },
{ title: "姓名", coulmn: 'name' },
@@ -289,7 +307,32 @@ export default {
// this.initChartType()
},
+ async created() {
+ this.getGridList('query')
+ },
methods: {
+ handleSearch () {
+ this.memberDialog = false
+ },
+ handlerCancle () {
+ this.memberDialog = false
+ },
+ async getGridList(type, agencyId) {
+ const { user } = await this.$store.state
+ // addorupdate query
+ await this.$http
+ .get('/resi/partymember/icPartyOrg/getSearchTreelist', { params: {agencyId: agencyId || user.agencyId} })
+ .then(({ data: res }) => {
+ if (res.code !== 0) {
+ return this.$message.error(res.msg)
+ } else {
+ this.optionsG = this.deepArrTOnull(res.data)
+ }
+ })
+ .catch(() => {
+ return this.$message.error('网络错误')
+ })
+ },
pieInitOk (dom) {
console.log('pie准备好了', dom)
this.pieAgeChartS = dom
@@ -719,14 +762,32 @@ export default {
return arr
},
handleClickRow(val) {
- console.log('click-row----', val)
- if (!val.icResiUser) {
- return this.$message.warning('该党员居民信息未完善')
- }
+ this.getDetail(val.userId)
+ this.memberDialog = true
+ },
+ jumpDetail (val) {
+ this.memberDialog = false
this.$router.push({
- path: `/main-shuju/visual-basicinfo-people/${val.icResiUser}`,
+ path: `/main-shuju/visual-basicinfo-people/${val}`,
});
},
+ getDetail(id) {
+ let params = {
+ id,
+ }
+ this.$http
+ .post(`/resi/partymember/icPartyMember/${id}`)
+ .then(({ data: res }) => {
+ if (res.code !== 0) {
+ return this.$message.error(res.msg)
+ } else {
+ this.memberDetailInfo = { ...res.data }
+ }
+ })
+ .catch((err) => {
+ return this.$message.error('网络错误')
+ })
+ },
handleCascader(val) {
console.log('val-vvv', val)
const _arr = val[val.length - 1].split('-')
From 39973e940acfd6840811e68679790cd93cec0356 Mon Sep 17 00:00:00 2001
From: zxc <1272811460@qq.com>
Date: Fri, 2 Sep 2022 13:29:08 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E8=B7=B3=E8=BD=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/visual/communityParty/crateForm.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/modules/visual/communityParty/crateForm.vue b/src/views/modules/visual/communityParty/crateForm.vue
index 86ed68e07..35f50f53a 100644
--- a/src/views/modules/visual/communityParty/crateForm.vue
+++ b/src/views/modules/visual/communityParty/crateForm.vue
@@ -95,7 +95,7 @@
-
取消
+
取消
Date: Tue, 6 Sep 2022 15:38:52 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E5=8F=AF=E8=A7=86=E5=8C=96=E5=85=9A?=
=?UTF-8?q?=E5=91=98=E4=BF=A1=E6=81=AF=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../visual/communityParty/crateForm.vue | 286 ++++++++--------
.../modules/visual/communityParty/party.vue | 306 +++++++++---------
2 files changed, 302 insertions(+), 290 deletions(-)
diff --git a/src/views/modules/visual/communityParty/crateForm.vue b/src/views/modules/visual/communityParty/crateForm.vue
index 35f50f53a..ff37c1c27 100644
--- a/src/views/modules/visual/communityParty/crateForm.vue
+++ b/src/views/modules/visual/communityParty/crateForm.vue
@@ -1,121 +1,113 @@
-
-
-
-
-
-
-
-
- 是
- 否
-
-
-
-
-
-
-
-
-
- 是
- 否
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 是
- 否
-
-
-
-
-
-
-
-
-
-
-
-
取消
-
查看更多
+
+
+
+
+
+

+
党员信息
+
+
+
+

+
+
+
+
+
+
+ 所属党组织:
+ {{ form.orgName }}
+
+
+ 姓名:
+ {{ form.name }}
+
+
+ 手机号:
+ {{ form.mobile }}
+
+
+ 身份证:
+ {{ form.idCard }}
+
+
+ 地址:
+ {{ form.address|| "--" }}
+
+
+ 流动党员:
+ {{ form.isLd==='1'?'是':'否' }}
+
+
+
+ 备注:
+ {{ form.remark || "--" }}
+
+
+
+
+
+
+ 党员中心户:
+ {{ form.isDyzxh==='1'?'是':'否' }}
+
+
+ 免学习:
+ {{ form.isMxx==='1'?'是':'否' }}
+
+
+
+ 职务:
+ {{ form.postName|| "--" }}
+
+
+
+ 文化程度:
+ {{ form.cultureName || "--" }}
+
+
+ 入党时间:
+ {{ form.rdsj || "--" }}
+
+
+ 党员流动号:
+ {{ form.ldzh || "--" }}
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+