|
@@ -24,14 +24,13 @@
|
|
|
<el-form-item label="发放月份" prop="ffsj">
|
|
|
<el-date-picker
|
|
|
v-model="daterangeFfsj"
|
|
|
+ :clearable="false"
|
|
|
value-format="yyyyMM"
|
|
|
type="monthrange"
|
|
|
range-separator="-"
|
|
|
start-placeholder="开始月份"
|
|
|
end-placeholder="结束月份"
|
|
|
></el-date-picker>
|
|
|
- <!--<el-date-picker v-model="daterangeFfsj" value-format="yyyyMMddHHmmss" type="datetimerange"-->
|
|
|
- <!--range-separator="-" start-placeholder="开始时间" end-placeholder="结束时间"></el-date-picker>-->
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button
|
|
@@ -39,10 +38,10 @@
|
|
|
icon="el-icon-search"
|
|
|
size="mini"
|
|
|
@click="handleQuery"
|
|
|
- >搜索</el-button
|
|
|
+ >搜索</el-button
|
|
|
>
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
|
|
- >重置</el-button
|
|
|
+ >重置</el-button
|
|
|
>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -53,7 +52,7 @@
|
|
|
plain
|
|
|
icon="el-icon-download"
|
|
|
size="mini"
|
|
|
- @click="handleExport(gljtSqListExlce, '资金发放统计')"
|
|
|
+ @click="handleExport(gljtSqListExlce, '津贴发放统计')"
|
|
|
>
|
|
|
导出
|
|
|
</el-button>
|
|
@@ -77,7 +76,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '0', '0')"
|
|
|
- >{{ scope.row["80-89dfcount"] }}</span
|
|
|
+ >{{ scope.row["80-89dfcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -93,7 +92,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '0', '1')"
|
|
|
- >{{ scope.row["80-89bfcount"] }}</span
|
|
|
+ >{{ scope.row["80-89bfcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -109,7 +108,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '0', '2')"
|
|
|
- >{{ scope.row["80-89zjcount"] }}</span
|
|
|
+ >{{ scope.row["80-89zjcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -119,6 +118,23 @@
|
|
|
label="金额"
|
|
|
/>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column align="center" label="追加">
|
|
|
+ <el-table-column prop="80-89plzjcount" align="center" label="人数">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span
|
|
|
+ style="cursor: pointer"
|
|
|
+ @click="openList(scope.row.areaCode, '0', '3')"
|
|
|
+ >{{ scope.row["80-89plzjcount"] }}</span
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="80-89plzjamount"
|
|
|
+ align="center"
|
|
|
+ label="金额"
|
|
|
+ />
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="80-89低保">
|
|
|
<el-table-column align="center" label="当发">
|
|
@@ -131,7 +147,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '3', '0')"
|
|
|
- >{{ scope.row["80-89低保dfcount"] }}</span
|
|
|
+ >{{ scope.row["80-89低保dfcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -151,7 +167,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '3', '1')"
|
|
|
- >{{ scope.row["80-89低保bfcount"] }}</span
|
|
|
+ >{{ scope.row["80-89低保bfcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -171,7 +187,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '3', '2')"
|
|
|
- >{{ scope.row["80-89低保zjcount"] }}</span
|
|
|
+ >{{ scope.row["80-89低保zjcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -181,6 +197,27 @@
|
|
|
label="金额"
|
|
|
/>
|
|
|
</el-table-column>
|
|
|
+
|
|
|
+ <el-table-column align="center" label="追加">
|
|
|
+ <el-table-column
|
|
|
+ prop="80-89低保plzjcount"
|
|
|
+ align="center"
|
|
|
+ label="人数"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span
|
|
|
+ style="cursor: pointer"
|
|
|
+ @click="openList(scope.row.areaCode, '3', '3')"
|
|
|
+ >{{ scope.row["80-89低保plzjcount"] }}</span
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="80-89低保plzjamount"
|
|
|
+ align="center"
|
|
|
+ label="金额"
|
|
|
+ />
|
|
|
+ </el-table-column>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="90-99">
|
|
|
<el-table-column align="center" label="当发">
|
|
@@ -189,7 +226,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '1', '0')"
|
|
|
- >{{ scope.row["90-99dfcount"] }}</span
|
|
|
+ >{{ scope.row["90-99dfcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -205,7 +242,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '1', '1')"
|
|
|
- >{{ scope.row["90-99bfcount"] }}</span
|
|
|
+ >{{ scope.row["90-99bfcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -221,7 +258,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '1', '2')"
|
|
|
- >{{ scope.row["90-99zjcount"] }}</span
|
|
|
+ >{{ scope.row["90-99zjcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -231,6 +268,22 @@
|
|
|
label="金额"
|
|
|
/>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column align="center" label="追加">
|
|
|
+ <el-table-column prop="90-99plzjcount" align="center" label="人数">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span
|
|
|
+ style="cursor: pointer"
|
|
|
+ @click="openList(scope.row.areaCode, '1', '3')"
|
|
|
+ >{{ scope.row["90-99plzjcount"] }}</span
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="90-99plzjamount"
|
|
|
+ align="center"
|
|
|
+ label="金额"
|
|
|
+ />
|
|
|
+ </el-table-column>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="90-99低保">
|
|
|
<el-table-column align="center" label="当发">
|
|
@@ -243,7 +296,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '4', '0')"
|
|
|
- >{{ scope.row["90-99低保dfcount"] }}</span
|
|
|
+ >{{ scope.row["90-99低保dfcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -263,7 +316,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '4', '1')"
|
|
|
- >{{ scope.row["90-99低保bfcount"] }}</span
|
|
|
+ >{{ scope.row["90-99低保bfcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -283,7 +336,27 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '4', '2')"
|
|
|
- >{{ scope.row["90-99低保zjcount"] }}</span
|
|
|
+ >{{ scope.row["90-99低保zjcount"] }}</span
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="90-99低保zjamount"
|
|
|
+ align="center"
|
|
|
+ label="金额"
|
|
|
+ />
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column align="center" label="追加">
|
|
|
+ <el-table-column
|
|
|
+ prop="90-99低保plzjcount"
|
|
|
+ align="center"
|
|
|
+ label="人数"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span
|
|
|
+ style="cursor: pointer"
|
|
|
+ @click="openList(scope.row.areaCode, '4', '3')"
|
|
|
+ >{{ scope.row["90-99低保plzjcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -305,7 +378,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '2', '0')"
|
|
|
- >{{ scope.row["100以上dfcount"] }}</span
|
|
|
+ >{{ scope.row["100以上dfcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -325,7 +398,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '2', '1')"
|
|
|
- >{{ scope.row["100以上bfcount"] }}</span
|
|
|
+ >{{ scope.row["100以上bfcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -345,7 +418,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '2', '2')"
|
|
|
- >{{ scope.row["100以上zjcount"] }}</span
|
|
|
+ >{{ scope.row["100以上zjcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -355,6 +428,27 @@
|
|
|
label="金额"
|
|
|
/>
|
|
|
</el-table-column>
|
|
|
+
|
|
|
+ <el-table-column align="center" label="追加">
|
|
|
+ <el-table-column
|
|
|
+ prop="100以上plzjcount"
|
|
|
+ align="center"
|
|
|
+ label="人数"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span
|
|
|
+ style="cursor: pointer"
|
|
|
+ @click="openList(scope.row.areaCode, '2', '3')"
|
|
|
+ >{{ scope.row["100以上plzjcount"] }}</span
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="100以上plzjamount"
|
|
|
+ align="center"
|
|
|
+ label="金额"
|
|
|
+ />
|
|
|
+ </el-table-column>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="100以上低保">
|
|
|
<el-table-column align="center" label="当发">
|
|
@@ -367,7 +461,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '5', '0')"
|
|
|
- >{{ scope.row["100以上低保dfcount"] }}</span
|
|
|
+ >{{ scope.row["100以上低保dfcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -387,7 +481,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '5', '1')"
|
|
|
- >{{ scope.row["100以上低保bfcount"] }}</span
|
|
|
+ >{{ scope.row["100以上低保bfcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -407,7 +501,7 @@
|
|
|
<span
|
|
|
style="cursor: pointer"
|
|
|
@click="openList(scope.row.areaCode, '5', '2')"
|
|
|
- >{{ scope.row["100以上低保zjcount"] }}</span
|
|
|
+ >{{ scope.row["100以上低保zjcount"] }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -417,6 +511,26 @@
|
|
|
label="金额"
|
|
|
/>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column align="center" label="追缴">
|
|
|
+ <el-table-column
|
|
|
+ prop="100以上低保plzjcount"
|
|
|
+ align="center"
|
|
|
+ label="人数"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span
|
|
|
+ style="cursor: pointer"
|
|
|
+ @click="openList(scope.row.areaCode, '5', '3')"
|
|
|
+ >{{ scope.row["100以上低保plzjcount"] }}</span
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="100以上低保plzjamount"
|
|
|
+ align="center"
|
|
|
+ label="金额"
|
|
|
+ />
|
|
|
+ </el-table-column>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
|
|
@@ -448,9 +562,9 @@
|
|
|
<el-table-column label="序号" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
{{
|
|
|
- (queryParams2.pageNum - 1) * queryParams2.pageSize +
|
|
|
- scope.$index +
|
|
|
- 1
|
|
|
+ (queryParams2.pageNum - 1) * queryParams2.pageSize +
|
|
|
+ scope.$index +
|
|
|
+ 1
|
|
|
}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -506,9 +620,9 @@
|
|
|
<el-table-column label="序号" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
{{
|
|
|
- (queryParams2.pageNum - 1) * queryParams2.pageSize +
|
|
|
- scope.$index +
|
|
|
- 1
|
|
|
+ (queryParams2.pageNum - 1) * queryParams2.pageSize +
|
|
|
+ scope.$index +
|
|
|
+ 1
|
|
|
}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -574,9 +688,9 @@
|
|
|
<el-table-column label="序号" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
{{
|
|
|
- (queryParams2.pageNum - 1) * queryParams2.pageSize +
|
|
|
- scope.$index +
|
|
|
- 1
|
|
|
+ (queryParams2.pageNum - 1) * queryParams2.pageSize +
|
|
|
+ scope.$index +
|
|
|
+ 1
|
|
|
}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -639,6 +753,58 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
+ <!-- 追加 -->
|
|
|
+ <el-table
|
|
|
+ v-loading="loading2"
|
|
|
+ :data="gljtSqList2"
|
|
|
+ v-if="queryParams2.fflx == '3'"
|
|
|
+ >
|
|
|
+ <el-table-column label="序号" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{
|
|
|
+ (queryParams2.pageNum - 1) * queryParams2.pageSize +
|
|
|
+ scope.$index +
|
|
|
+ 1
|
|
|
+ }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="姓名" align="center" prop="sqrXm" />
|
|
|
+ <el-table-column
|
|
|
+ label="身份证号"
|
|
|
+ align="center"
|
|
|
+ prop="sqrZjhm"
|
|
|
+ width="180"
|
|
|
+ />
|
|
|
+ <el-table-column label="年龄" align="center" prop="age" />
|
|
|
+ <el-table-column
|
|
|
+ label="行政区划"
|
|
|
+ align="center"
|
|
|
+ prop="xzqhName"
|
|
|
+ width="320"
|
|
|
+ />
|
|
|
+ <el-table-column label="追加金额" align="center" prop="ffje" />
|
|
|
+ <el-table-column label="追加月份" align="center" prop="ffyf">
|
|
|
+ <template v-slot="{ row }">
|
|
|
+ {{ row.ffyf | ffyfFilter }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="是否发放" align="center" prop="status">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <dict-tag :options="dict.type.GL012" :value="scope.row.status" />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="发放时间"
|
|
|
+ align="center"
|
|
|
+ prop="ffsj"
|
|
|
+ width="180"
|
|
|
+ >
|
|
|
+ <template v-slot="{ row }">
|
|
|
+ {{ special(row.ffsj, "time") }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="追加描述" align="center" prop="jfms" />
|
|
|
+ </el-table>
|
|
|
<pagination
|
|
|
v-show="total2 > 0"
|
|
|
:total="total2"
|
|
@@ -652,255 +818,260 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { getJfxxTjStatistics } from "@/api/gljt/gljttj";
|
|
|
-import { mapState } from "vuex";
|
|
|
-import { cxList } from "@/api/gljt/gljtcx";
|
|
|
-export default {
|
|
|
- name: "index",
|
|
|
- dicts: ["GL012", "GL008"],
|
|
|
- computed: {
|
|
|
- ...mapState(["user"]),
|
|
|
- },
|
|
|
- data() {
|
|
|
- return {
|
|
|
- openXq: false,
|
|
|
- loading2: false,
|
|
|
- total2: 0,
|
|
|
- gljtSqList2: [],
|
|
|
- queryParams2: {
|
|
|
- btbz: null,
|
|
|
- fflx: null,
|
|
|
- status: "1",
|
|
|
- pageNum: 1,
|
|
|
- pageSize: 10,
|
|
|
- },
|
|
|
- isShow: false,
|
|
|
- loading: true,
|
|
|
- // 显示搜索条件
|
|
|
- showSearch: true,
|
|
|
- // 总条数
|
|
|
- total: 0,
|
|
|
- // 高龄津贴申请信息表格数据
|
|
|
- gljtSqList: [],
|
|
|
- gljtSqListExlce: [],
|
|
|
- daterangeFfsj: [],
|
|
|
- // 查询参数
|
|
|
- queryParams: {
|
|
|
- xzqh: null,
|
|
|
- status: "1",
|
|
|
- },
|
|
|
- };
|
|
|
- },
|
|
|
- mounted() {
|
|
|
- this.daterangeFfsj=[this.getFormattedMonth(-1),this.getFormattedMonth()];
|
|
|
- this.getList();
|
|
|
- },
|
|
|
- methods: {
|
|
|
- getFormattedMonth(offset = 0) {
|
|
|
- const date = new Date();
|
|
|
- date.setMonth(date.getMonth() + offset); // 设置月份的偏移量
|
|
|
- const year = date.getFullYear();
|
|
|
- const month = date.getMonth() + 1; // getMonth() 返回 0-11,需要加 1
|
|
|
- return `${year}${String(month).padStart(2, "0")}`;
|
|
|
- // // 获取当前月份
|
|
|
- // const currentMonthFormatted = getFormattedMonth();
|
|
|
- // console.log(currentMonthFormatted); // 例如:202310
|
|
|
- //
|
|
|
- // // 获取下一个月
|
|
|
- // const nextMonthFormatted = getFormattedMonth(1);
|
|
|
- // console.log(nextMonthFormatted); // 例如:202311
|
|
|
- },
|
|
|
- openList(xzqh, btbz, fflx) {
|
|
|
- this.queryParams2.xzqh = xzqh;
|
|
|
- this.queryParams2.btbz = btbz;
|
|
|
- this.queryParams2.fflx = fflx;
|
|
|
- this.openXq = true;
|
|
|
- this.queryParams2.params = {};
|
|
|
- if (null != this.daterangeFfsj && "" != this.daterangeFfsj) {
|
|
|
- this.queryParams2.params["beginDfyf"] = this.daterangeFfsj[0];
|
|
|
- this.queryParams2.params["endDfyf"] = this.daterangeFfsj[1];
|
|
|
- }
|
|
|
- this.getList2();
|
|
|
- },
|
|
|
- getList2() {
|
|
|
- this.loading2 = true;
|
|
|
- cxList(this.queryParams2).then((response) => {
|
|
|
- this.gljtSqList2 = response.rows;
|
|
|
- this.total2 = response.total;
|
|
|
- this.loading2 = false;
|
|
|
- });
|
|
|
+ import { getJfxxTjStatistics } from "@/api/gljt/gljttj";
|
|
|
+ import { mapState } from "vuex";
|
|
|
+ import { cxList } from "@/api/gljt/gljtcx";
|
|
|
+
|
|
|
+ export default {
|
|
|
+ name: "index",
|
|
|
+ dicts: ["GL012", "GL008"],
|
|
|
+ computed: {
|
|
|
+ ...mapState(["user"]),
|
|
|
},
|
|
|
- // 节点单击事件
|
|
|
- handleNodeClick(data) {
|
|
|
- if (data && data.code) {
|
|
|
- this.queryParams.xzqh = data.code;
|
|
|
- } else {
|
|
|
- this.queryParams.xzqh = null;
|
|
|
- }
|
|
|
- // this.queryParams.xzqhId = data.code
|
|
|
- // this.queryParams.name = data.name;
|
|
|
- this.handleQuery();
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ openXq: false,
|
|
|
+ loading2: false,
|
|
|
+ total2: 0,
|
|
|
+ gljtSqList2: [],
|
|
|
+ queryParams2: {
|
|
|
+ btbz: null,
|
|
|
+ fflx: null,
|
|
|
+ status: "1",
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 10,
|
|
|
+ },
|
|
|
+ isShow: false,
|
|
|
+ loading: true,
|
|
|
+ // 显示搜索条件
|
|
|
+ showSearch: true,
|
|
|
+ // 总条数
|
|
|
+ total: 0,
|
|
|
+ // 高龄津贴申请信息表格数据
|
|
|
+ gljtSqList: [],
|
|
|
+ gljtSqListExlce: [],
|
|
|
+ daterangeFfsj: [],
|
|
|
+ // 查询参数
|
|
|
+ queryParams: {
|
|
|
+ xzqh: null,
|
|
|
+ status: "1",
|
|
|
+ },
|
|
|
+ };
|
|
|
},
|
|
|
- getTime() {
|
|
|
- // 获取当前年月日时分秒
|
|
|
- // 获取当前日期和时间
|
|
|
- const now = new Date();
|
|
|
- // 获取年份
|
|
|
- const year = now.getFullYear();
|
|
|
- // 获取月份(注意:月份是从0开始的,1月是0,12月是11)
|
|
|
- const month = String(now.getMonth() + 1).padStart(2, "0");
|
|
|
- // 获取日期
|
|
|
- const day = String(now.getDate()).padStart(2, "0");
|
|
|
- // 获取小时
|
|
|
- const hours = String(now.getHours()).padStart(2, "0");
|
|
|
- // 获取分钟
|
|
|
- const minutes = String(now.getMinutes()).padStart(2, "0");
|
|
|
- // 获取秒数
|
|
|
- const seconds = String(now.getSeconds()).padStart(2, "0");
|
|
|
- return year + month + day + hours + minutes + seconds;
|
|
|
+ mounted() {
|
|
|
+ this.daterangeFfsj=[this.getFormattedMonth(-1),this.getFormattedMonth()];
|
|
|
+ this.getList();
|
|
|
},
|
|
|
- /** 查询高龄津贴申请信息列表 */
|
|
|
- getList() {
|
|
|
- this.loading = true;
|
|
|
- // params:{ beginFfyf:发放月份开始yyyyMM,endFfyf:发放月份结束,beginFfsj:发放时间开始yyyyMMddHHmmss,endFfsj:发放时间结束 } }注:时间开始与结束两两对应,开始与结束同时存在时才进行过滤。
|
|
|
- this.queryParams.params2 = {};
|
|
|
- if (null != this.daterangeFfsj && "" != this.daterangeFfsj) {
|
|
|
- this.queryParams.params2["beginFfyf"] = this.daterangeFfsj[0];
|
|
|
- this.queryParams.params2["endFfyf"] = this.daterangeFfsj[1];
|
|
|
- }
|
|
|
- getJfxxTjStatistics(this.queryParams)
|
|
|
- .then((res) => {
|
|
|
- this.gljtSqList = [];
|
|
|
- // this.gljtSqList = res.rows;
|
|
|
- this.loading = false;
|
|
|
- let newYLJGXData = [
|
|
|
- "80-89",
|
|
|
- "80-89低保",
|
|
|
- "90-99",
|
|
|
- "90-99低保",
|
|
|
- "100以上",
|
|
|
- "100以上低保",
|
|
|
- ];
|
|
|
- let newYLJGXData2 = ["df", "bf", "zj"];
|
|
|
- let newYLJGXData3 = ["count", "amount"];
|
|
|
- if (res.data.streetStats && res.data.streetStats.length > 0) {
|
|
|
- res.data.streetStats.forEach((item) => {
|
|
|
- let data = {};
|
|
|
- newYLJGXData.map((ite) => {
|
|
|
- newYLJGXData2.map((it) => {
|
|
|
- newYLJGXData3.map((i) => {
|
|
|
- data[ite + it + i] = item[ite][it][i];
|
|
|
+ methods: {
|
|
|
+ getFormattedMonth(offset = 0) {
|
|
|
+ const date = new Date();
|
|
|
+ date.setMonth(date.getMonth() + offset); // 设置月份的偏移量
|
|
|
+ const year = date.getFullYear();
|
|
|
+ const month = date.getMonth() + 1; // getMonth() 返回 0-11,需要加 1
|
|
|
+ return `${year}${String(month).padStart(2, "0")}`;
|
|
|
+ // // 获取当前月份
|
|
|
+ // const currentMonthFormatted = getFormattedMonth();
|
|
|
+ // console.log(currentMonthFormatted); // 例如:202310
|
|
|
+ //
|
|
|
+ // // 获取下一个月
|
|
|
+ // const nextMonthFormatted = getFormattedMonth(1);
|
|
|
+ // console.log(nextMonthFormatted); // 例如:202311
|
|
|
+ },
|
|
|
+ openList(xzqh, btbz, fflx) {
|
|
|
+ this.queryParams2.xzqh = xzqh;
|
|
|
+ this.queryParams2.btbz = btbz;
|
|
|
+ this.queryParams2.fflx = fflx;
|
|
|
+ this.openXq = true;
|
|
|
+ this.queryParams2.params = {};
|
|
|
+ if (null != this.daterangeFfsj && "" != this.daterangeFfsj) {
|
|
|
+ this.queryParams2.params["beginDfyf"] = this.daterangeFfsj[0];
|
|
|
+ this.queryParams2.params["endDfyf"] = this.daterangeFfsj[1];
|
|
|
+ }
|
|
|
+ this.getList2();
|
|
|
+ },
|
|
|
+ getList2() {
|
|
|
+ this.loading2 = true;
|
|
|
+ cxList(this.queryParams2).then((response) => {
|
|
|
+ this.gljtSqList2 = response.rows;
|
|
|
+ this.total2 = response.total;
|
|
|
+ this.loading2 = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 节点单击事件
|
|
|
+ handleNodeClick(data) {
|
|
|
+ if (data && data.code) {
|
|
|
+ this.queryParams.xzqh = data.code;
|
|
|
+ } else {
|
|
|
+ this.queryParams.xzqh = null;
|
|
|
+ }
|
|
|
+ // this.queryParams.xzqhId = data.code
|
|
|
+ // this.queryParams.name = data.name;
|
|
|
+ this.handleQuery();
|
|
|
+ },
|
|
|
+ getTime() {
|
|
|
+ // 获取当前年月日时分秒
|
|
|
+ // 获取当前日期和时间
|
|
|
+ const now = new Date();
|
|
|
+ // 获取年份
|
|
|
+ const year = now.getFullYear();
|
|
|
+ // 获取月份(注意:月份是从0开始的,1月是0,12月是11)
|
|
|
+ const month = String(now.getMonth() + 1).padStart(2, "0");
|
|
|
+ // 获取日期
|
|
|
+ const day = String(now.getDate()).padStart(2, "0");
|
|
|
+ // 获取小时
|
|
|
+ const hours = String(now.getHours()).padStart(2, "0");
|
|
|
+ // 获取分钟
|
|
|
+ const minutes = String(now.getMinutes()).padStart(2, "0");
|
|
|
+ // 获取秒数
|
|
|
+ const seconds = String(now.getSeconds()).padStart(2, "0");
|
|
|
+ return year + month + day + hours + minutes + seconds;
|
|
|
+ },
|
|
|
+ /** 查询高龄津贴申请信息列表 */
|
|
|
+ getList() {
|
|
|
+ this.loading = true;
|
|
|
+ // params:{ beginFfyf:发放月份开始yyyyMM,endFfyf:发放月份结束,beginFfsj:发放时间开始yyyyMMddHHmmss,endFfsj:发放时间结束 } }注:时间开始与结束两两对应,开始与结束同时存在时才进行过滤。
|
|
|
+ this.queryParams.params2 = {};
|
|
|
+ if (null != this.daterangeFfsj && "" != this.daterangeFfsj) {
|
|
|
+ this.queryParams.params2["beginFfyf"] = this.daterangeFfsj[0];
|
|
|
+ this.queryParams.params2["endFfyf"] = this.daterangeFfsj[1];
|
|
|
+ }
|
|
|
+ getJfxxTjStatistics(this.queryParams)
|
|
|
+ .then((res) => {
|
|
|
+ this.gljtSqList = [];
|
|
|
+ // this.gljtSqList = res.rows;
|
|
|
+ this.loading = false;
|
|
|
+ let newYLJGXData = [
|
|
|
+ "80-89",
|
|
|
+ "80-89低保",
|
|
|
+ "90-99",
|
|
|
+ "90-99低保",
|
|
|
+ "100以上",
|
|
|
+ "100以上低保",
|
|
|
+ ];
|
|
|
+ let newYLJGXData2 = ["df", "bf", "zj", "plzj"];
|
|
|
+ let newYLJGXData3 = ["count", "amount"];
|
|
|
+ if (res.data.streetStats && res.data.streetStats.length > 0) {
|
|
|
+ res.data.streetStats.forEach((item) => {
|
|
|
+ let data = {};
|
|
|
+ newYLJGXData.map((ite) => {
|
|
|
+ newYLJGXData2.map((it) => {
|
|
|
+ newYLJGXData3.map((i) => {
|
|
|
+ data[ite + it + i] = item[ite][it][i];
|
|
|
+ });
|
|
|
});
|
|
|
});
|
|
|
+ this.gljtSqList.push({
|
|
|
+ ...data,
|
|
|
+ areaName: item.areaName,
|
|
|
+ areaCode: item.areaCode,
|
|
|
+ });
|
|
|
});
|
|
|
- this.gljtSqList.push({
|
|
|
- ...data,
|
|
|
- areaName: item.areaName,
|
|
|
- areaCode: item.areaCode,
|
|
|
+ }
|
|
|
+ let dataone = {};
|
|
|
+ newYLJGXData.map((ite) => {
|
|
|
+ newYLJGXData2.map((it) => {
|
|
|
+ newYLJGXData3.map((i) => {
|
|
|
+ dataone[ite + it + i] = res.data[ite][it][i];
|
|
|
+ });
|
|
|
});
|
|
|
});
|
|
|
- }
|
|
|
- let dataone = {};
|
|
|
- newYLJGXData.map((ite) => {
|
|
|
- newYLJGXData2.map((it) => {
|
|
|
- newYLJGXData3.map((i) => {
|
|
|
- dataone[ite + it + i] = res.data[ite][it][i];
|
|
|
- });
|
|
|
+ this.gljtSqList.push({
|
|
|
+ ...dataone,
|
|
|
+ areaCode: res.data.areaCode,
|
|
|
+ areaName:
|
|
|
+ !res.data.streetStats || res.data.streetStats.length === 0
|
|
|
+ ? res.data.areaName
|
|
|
+ : "总计",
|
|
|
});
|
|
|
- });
|
|
|
- this.gljtSqList.push({
|
|
|
- ...dataone,
|
|
|
- areaCode: res.data.areaCode,
|
|
|
- areaName:
|
|
|
- !res.data.streetStats || res.data.streetStats.length === 0
|
|
|
- ? res.data.areaName
|
|
|
- : "总计",
|
|
|
- });
|
|
|
- let keysArr = [
|
|
|
- {
|
|
|
- label: "地区",
|
|
|
- prop: "areaName",
|
|
|
- },
|
|
|
- ];
|
|
|
- let labelArr1 = [
|
|
|
- "80-89",
|
|
|
- "80-89低保",
|
|
|
- "90-99",
|
|
|
- "90-99低保",
|
|
|
- "100以上",
|
|
|
- "100以上低保",
|
|
|
- ];
|
|
|
- let labelArr2 = [
|
|
|
- {
|
|
|
- label: "当发",
|
|
|
- prop: "df",
|
|
|
- },
|
|
|
- {
|
|
|
- label: "补发",
|
|
|
- prop: "bf",
|
|
|
- },
|
|
|
- {
|
|
|
- label: "追缴",
|
|
|
- prop: "zj",
|
|
|
- },
|
|
|
- ];
|
|
|
- let labelArr3 = [
|
|
|
- {
|
|
|
- label: "人数",
|
|
|
- prop: "count",
|
|
|
- },
|
|
|
- {
|
|
|
- label: "金额",
|
|
|
- prop: "amount",
|
|
|
- },
|
|
|
- ];
|
|
|
- labelArr1.forEach((item) => {
|
|
|
- keysArr.push({
|
|
|
- label: item,
|
|
|
- prop: item,
|
|
|
- data: labelArr2.map((ite) => {
|
|
|
- return {
|
|
|
- ...ite,
|
|
|
- prop: item + ite.prop,
|
|
|
- data: labelArr3.map((it) => {
|
|
|
- return { ...it, prop: item + ite.prop + it.prop };
|
|
|
- }),
|
|
|
- };
|
|
|
- }),
|
|
|
+ let keysArr = [
|
|
|
+ {
|
|
|
+ label: "地区",
|
|
|
+ prop: "areaName",
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ let labelArr1 = [
|
|
|
+ "80-89",
|
|
|
+ "80-89低保",
|
|
|
+ "90-99",
|
|
|
+ "90-99低保",
|
|
|
+ "100以上",
|
|
|
+ "100以上低保",
|
|
|
+ ];
|
|
|
+ let labelArr2 = [
|
|
|
+ {
|
|
|
+ label: "当发",
|
|
|
+ prop: "df",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "补发",
|
|
|
+ prop: "bf",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "追缴",
|
|
|
+ prop: "zj",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "追加",
|
|
|
+ prop: "plzj",
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ let labelArr3 = [
|
|
|
+ {
|
|
|
+ label: "人数",
|
|
|
+ prop: "count",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "金额",
|
|
|
+ prop: "amount",
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ labelArr1.forEach((item) => {
|
|
|
+ keysArr.push({
|
|
|
+ label: item,
|
|
|
+ prop: item,
|
|
|
+ data: labelArr2.map((ite) => {
|
|
|
+ return {
|
|
|
+ ...ite,
|
|
|
+ prop: item + ite.prop,
|
|
|
+ data: labelArr3.map((it) => {
|
|
|
+ return { ...it, prop: item + ite.prop + it.prop };
|
|
|
+ }),
|
|
|
+ };
|
|
|
+ }),
|
|
|
+ });
|
|
|
});
|
|
|
+ this.gljtSqListExlce = {
|
|
|
+ keys: keysArr,
|
|
|
+ vales: this.gljtSqList,
|
|
|
+ };
|
|
|
+ console.log(this.gljtSqListExlce);
|
|
|
+ })
|
|
|
+ .catch((res) => {
|
|
|
+ this.loading = false;
|
|
|
});
|
|
|
- this.gljtSqListExlce = {
|
|
|
- keys: keysArr,
|
|
|
- vales: this.gljtSqList,
|
|
|
- };
|
|
|
- console.log(this.gljtSqListExlce);
|
|
|
- })
|
|
|
- .catch((res) => {
|
|
|
- this.loading = false;
|
|
|
- });
|
|
|
- },
|
|
|
- /** 搜索按钮操作 */
|
|
|
- handleQuery() {
|
|
|
- // this.queryParams.pageNum = 1;
|
|
|
- // if (this.xzqh) {
|
|
|
- // this.queryParams.xzqh = this.xzqh[this.xzqh.length - 1];
|
|
|
- // } else {
|
|
|
- // this.queryParams.xzqh = null;
|
|
|
- // }
|
|
|
- this.getList();
|
|
|
- },
|
|
|
- /** 重置按钮操作 */
|
|
|
- resetQuery() {
|
|
|
- // this.daterangeFfsj = [];
|
|
|
- this.daterangeFfsj=[this.getFormattedMonth(-1),this.getFormattedMonth()];
|
|
|
- this.resetForm("queryForm");
|
|
|
- this.handleQuery();
|
|
|
- },
|
|
|
- translateDict(type, value) {
|
|
|
- return this.selectDictLabel(this.dict.type[type], value);
|
|
|
+ },
|
|
|
+ /** 搜索按钮操作 */
|
|
|
+ handleQuery() {
|
|
|
+ // this.queryParams.pageNum = 1;
|
|
|
+ // if (this.xzqh) {
|
|
|
+ // this.queryParams.xzqh = this.xzqh[this.xzqh.length - 1];
|
|
|
+ // } else {
|
|
|
+ // this.queryParams.xzqh = null;
|
|
|
+ // }
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ /** 重置按钮操作 */
|
|
|
+ resetQuery() {
|
|
|
+ // this.daterangeFfsj = [];
|
|
|
+ this.daterangeFfsj=[this.getFormattedMonth(-1),this.getFormattedMonth()];
|
|
|
+ this.resetForm("queryForm");
|
|
|
+ this.handleQuery();
|
|
|
+ },
|
|
|
+ translateDict(type, value) {
|
|
|
+ return this.selectDictLabel(this.dict.type[type], value);
|
|
|
+ },
|
|
|
},
|
|
|
- },
|
|
|
-};
|
|
|
+ };
|
|
|
</script>
|
|
|
<style scoped lang="scss">
|
|
|
</style>
|