-
-
-
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+ 导出excel
+
+
+
-
- 搜索
-
+
@@ -97,16 +130,66 @@
import completePlan from "./echarts/completePlan";
import finishRate from "./echarts/finishRate";
import executionPlan from "./echarts/executionPlan";
-import myPagination from "@/views/components/myPagination/index";
-import executive from "./echarts/executive";
-import { indexRegionalism } from "@/api/yingji/home.js";
+// import myPagination from "@/views/components/myPagination/index";
+// import executive from "./echarts/executive";
export default {
data() {
return {
- ruleForm: {
- plannedYear: "",
+ queryParams: {
+ plannedYear: null,
+ plannedMouth: null,
},
+ options: [
+ {
+ value: "1",
+ label: "1月",
+ },
+ {
+ value: "2",
+ label: "2月",
+ },
+ {
+ value: "3",
+ label: "3月",
+ },
+ {
+ value: "4",
+ label: "4月",
+ },
+ {
+ value: "5",
+ label: "5月",
+ },
+ {
+ value: "6",
+ label: "6月",
+ },
+ {
+ value: "7",
+ label: "7月",
+ },
+ {
+ value: "8",
+ label: "8月",
+ },
+ {
+ value: "9",
+ label: "9月",
+ },
+ {
+ value: "10",
+ label: "10月",
+ },
+ {
+ value: "11",
+ label: "11月",
+ },
+ {
+ value: "12",
+ label: "12月",
+ },
+ ],
options1: [
{
name: "表格",
@@ -133,35 +216,43 @@ export default {
completePlan,
finishRate,
executionPlan,
- myPagination,
- executive,
},
created() {
- this.getHomeList();
+ this.getList();
},
mounted() {},
methods: {
- searchList() {
- this.beforeParams = { ...this.beforeParams, ...this.ruleForm };
- this.getHomeList();
+ multipleChange(e) {
+ // console.log(e.join(','));
+ this.queryParams.plannedMouth = e.join(",");
},
- getHomeList() {
- this.load1 = true;
- this.loadS = true;
- indexRegionalism(this.beforeParams).then((res) => {
- this.tableData = res.rows;
- this.newTable = res.rows;
- res.rows.forEach((value1, index1) => {
- if (value1.institutionName == "苏州市") {
- let arr1 = this.tableData.slice(index1, index1 + 1);
- this.tableData.splice(index1, 1);
- this.tableData.unshift(arr1[0]);
- }
- });
- this.load1 = false;
- this.loadS = false;
- });
+ handleQuery() {},
+ resetQuery() {},
+ // 获取列表数据
+ getList(){
+
},
+ // searchList() {
+ // this.beforeParams = { ...this.beforeParams, ...this.ruleForm };
+ // this.getHomeList();
+ // },
+ // getHomeList() {
+ // this.load1 = true;
+ // this.loadS = true;
+ // indexRegionalism(this.beforeParams).then((res) => {
+ // this.tableData = res.rows;
+ // this.newTable = res.rows;
+ // res.rows.forEach((value1, index1) => {
+ // if (value1.institutionName == "苏州市") {
+ // let arr1 = this.tableData.slice(index1, index1 + 1);
+ // this.tableData.splice(index1, 1);
+ // this.tableData.unshift(arr1[0]);
+ // }
+ // });
+ // this.load1 = false;
+ // this.loadS = false;
+ // });
+ // },
active(e) {
this.activeIndex = e;
},
@@ -175,23 +266,54 @@ export default {
};