|
|
|
@ -196,7 +196,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog title="议事投票" :visible.sync="voter.visible" width="1000px" append-to-body>
|
|
|
|
<el-dialog title="议事投票" :visible.sync="voter.visible" width="1000px" append-to-body>
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-col :span="3">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="primary"
|
|
|
|
type="primary"
|
|
|
|
plain
|
|
|
|
plain
|
|
|
|
@ -206,6 +206,15 @@
|
|
|
|
v-hasPermi="['szxc:bankinfo:add']"
|
|
|
|
v-hasPermi="['szxc:bankinfo:add']"
|
|
|
|
>添加</el-button>
|
|
|
|
>添加</el-button>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="2" v-if="voter.result">
|
|
|
|
|
|
|
|
<el-tag type="success">同意:{{ voter.result.tyCount }}</el-tag>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="2" v-if="voter.result">
|
|
|
|
|
|
|
|
<el-tag type="danger">反对:{{ voter.result.fdCount }}</el-tag>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="2" v-if="voter.result">
|
|
|
|
|
|
|
|
<el-tag type="info">弃权:{{ voter.result.qqCount }}</el-tag>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-table v-loading="voter.loading" :data="voter.list" border>
|
|
|
|
<el-table v-loading="voter.loading" :data="voter.list" border>
|
|
|
|
<el-table-column label="ID" align="center" prop="id" width="80"/>
|
|
|
|
<el-table-column label="ID" align="center" prop="id" width="80"/>
|
|
|
|
@ -325,7 +334,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import { listYscentre, getYscentre, delYscentre, addYscentre, updateYscentre } from "@/api/szxc/yscentre";
|
|
|
|
import { listYscentre, getYscentre, delYscentre, addYscentre, updateYscentre } from "@/api/szxc/yscentre";
|
|
|
|
import { listVoteresut, delVoteresut, addVoteresut, updateVoteresut } from "@/api/szxc/voteresut";
|
|
|
|
import { listVoteresut, delVoteresut, addVoteresut, updateVoteresut, getVoteresutCount } from "@/api/szxc/voteresut";
|
|
|
|
import { listJminfo } from "@/api/szxc/jminfo";
|
|
|
|
import { listJminfo } from "@/api/szxc/jminfo";
|
|
|
|
import { deptTreeSelect } from "@/api/system/user";
|
|
|
|
import { deptTreeSelect } from "@/api/system/user";
|
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
|
@ -416,6 +425,7 @@ export default {
|
|
|
|
form: {},
|
|
|
|
form: {},
|
|
|
|
// 居民信息
|
|
|
|
// 居民信息
|
|
|
|
selectedRow: null,
|
|
|
|
selectedRow: null,
|
|
|
|
|
|
|
|
result: null,
|
|
|
|
// 表单校验
|
|
|
|
// 表单校验
|
|
|
|
rules: {
|
|
|
|
rules: {
|
|
|
|
voteName: [
|
|
|
|
voteName: [
|
|
|
|
@ -583,7 +593,14 @@ export default {
|
|
|
|
pageSize: 100000000,
|
|
|
|
pageSize: 100000000,
|
|
|
|
ysId: this.voter.selectedRow.id
|
|
|
|
ysId: this.voter.selectedRow.id
|
|
|
|
}).then(response => {
|
|
|
|
}).then(response => {
|
|
|
|
this.voter.list = response.rows
|
|
|
|
this.voter.list = response.rows;
|
|
|
|
|
|
|
|
this.getVoteresutCount()
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
/** 查询议事投票统计数量 */
|
|
|
|
|
|
|
|
getVoteresutCount(){
|
|
|
|
|
|
|
|
getVoteresutCount({ysId: this.voter.selectedRow.id}).then(response => {
|
|
|
|
|
|
|
|
this.voter.result = response.result
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 添加银行卡
|
|
|
|
// 添加银行卡
|
|
|
|
|