diff --git a/packages/bigscreen/dv/AppMonitorMapDv.vue b/packages/bigscreen/dv/AppMonitorMapDv.vue index c9b56fb0..91da5db5 100644 --- a/packages/bigscreen/dv/AppMonitorMapDv.vue +++ b/packages/bigscreen/dv/AppMonitorMapDv.vue @@ -217,7 +217,7 @@ export default { getList () { this.instance.post(`/app/appintelligentguardianshipdevice/list`, null, { params: { - size: 100000, + size: 8000, current: 1 } }).then(res => { diff --git a/project/pingchang/apps/AppGeneralElection/AppGeneralElection.vue b/project/pingchang/apps/AppGeneralElection/AppGeneralElection.vue index 9a5d71b2..1ec02caa 100644 --- a/project/pingchang/apps/AppGeneralElection/AppGeneralElection.vue +++ b/project/pingchang/apps/AppGeneralElection/AppGeneralElection.vue @@ -9,6 +9,7 @@ diff --git a/project/pingchang/apps/AppGeneralElection/components/Statistics.vue b/project/pingchang/apps/AppGeneralElection/components/Statistics.vue new file mode 100644 index 00000000..ce2e6910 --- /dev/null +++ b/project/pingchang/apps/AppGeneralElection/components/Statistics.vue @@ -0,0 +1,152 @@ + + + + + + + + + + 已投人数:{{ data.alreadyCount || 0 }} + 未投人数:{{ data.notYetCount || 0 }} + 日期:{{ data.dateTime || '' }} + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/project/pingchang/apps/AppGeneralElection/components/electionAdd.vue b/project/pingchang/apps/AppGeneralElection/components/electionAdd.vue index da345e9e..a8053e4f 100644 --- a/project/pingchang/apps/AppGeneralElection/components/electionAdd.vue +++ b/project/pingchang/apps/AppGeneralElection/components/electionAdd.vue @@ -1,17 +1,16 @@ - + - + - 修改 + 修改 - @@ -23,13 +22,19 @@ + + + + + + {{ item }} 、 - + {{ item }} 、 @@ -40,7 +45,7 @@ - + @@ -115,12 +120,11 @@ - + 取消 保存 - @@ -179,12 +183,9 @@ export default { chooseVoteList: [], } }, - computed: { - }, created() { if(this.params && this.params.id) { this.id = this.params.id - this.isEdit = this.params.isEdit this.getDetail() } }, @@ -195,6 +196,10 @@ export default { isRefresh: !!isRefresh }) }, + update() { + this.isEdit = true + this.getDetail() + }, getDetail() { this.instance.post(`/app/appgeneralelectioninfo/queryDetailById`,null, { params: {id:this.id} diff --git a/project/pingchang/apps/AppGeneralElection/components/electionList.vue b/project/pingchang/apps/AppGeneralElection/components/electionList.vue index 8f1a7d8e..faf2b651 100644 --- a/project/pingchang/apps/AppGeneralElection/components/electionList.vue +++ b/project/pingchang/apps/AppGeneralElection/components/electionList.vue @@ -5,7 +5,7 @@ - 添加 + 添加 @@ -17,8 +17,10 @@ - 编辑 - 详情 + + 详情 + 结束 + 统计 删除 @@ -85,7 +87,6 @@ export default { type: 'electionAdd', params: { id: id || '', - isEdit: flag } }) }, @@ -106,6 +107,26 @@ export default { } this.getList() }, + // 结束 + startEnd(id, status) { + this.$confirm('投票正在进行中,确定要提前结束吗?').then(() => { + this.instance.post(`/app/appgeneralelectioninfo/start-end?id=${id}&start=${status}`).then(res=>{ + if(res.code == 0) { + this.$message.success('结束成功') + this.getList() + } + }) + }) + }, + // 统计 + toStatistics(id) { + this.$emit('change', { + type: 'Statistics', + params: { + id: id || '', + } + }) + }, } } diff --git a/project/pingchang/apps/AppOrganizationChange/AppOrganizationChange.vue b/project/pingchang/apps/AppOrganizationChange/AppOrganizationChange.vue index b51e266e..fb79d1fd 100644 --- a/project/pingchang/apps/AppOrganizationChange/AppOrganizationChange.vue +++ b/project/pingchang/apps/AppOrganizationChange/AppOrganizationChange.vue @@ -1,12 +1,13 @@ - + @@ -161,4 +156,4 @@ export default { padding-top: 0 !important; background-color: #FFF !important; } - \ No newline at end of file + diff --git a/project/pingchang/apps/AppOrganizationChange/components/organizationSetting.vue b/project/pingchang/apps/AppOrganizationChange/components/organizationSetting.vue index efc17947..6edde1c1 100644 --- a/project/pingchang/apps/AppOrganizationChange/components/organizationSetting.vue +++ b/project/pingchang/apps/AppOrganizationChange/components/organizationSetting.vue @@ -50,7 +50,7 @@ 系统将在下次换届时间开始前,对“换届提醒人”进行提醒。提醒方式包括平台消息推送、短信提醒。 - + {{ user.info.organizationName }} @@ -71,11 +71,11 @@ - + + :url="`/app/appparty/list?partyOrgId=${form.organizationId}`" headerTitle="党员列表" + :isMultiple="true" dialogTitle="选择抄送人" @selectPerson="selectUser" class="aipersonselect"> {{ item.name }} @@ -91,18 +91,18 @@ 保存 - +