Commit db86376f by 刘玉帅

xq

parent 27b2049d
<!--
* @Author: your name
* @Date: 2021-08-28 21:28:08
* @LastEditTime: 2021-09-16 16:39:05
* @LastEditTime: 2021-09-16 18:18:06
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\rwgl\rwglindex.vue
......@@ -446,12 +446,17 @@ export default {
*/
handSuccess(response, file, fileList) {
console.log(response, file, fileList);
if (response.code == "200") {
if (response.code == "201") {
this.$message({
message: "文件上传成功",
type: "success",
message: response.message,
type: "error",
});
this.handSizePageSearch();
}else if(response.code == '200'){
this.$message({
message: response.message,
type: "success",
});
}
},
/**
......@@ -502,7 +507,8 @@ export default {
column.label == "退回" ||
column.label == "已匹配" ||
column.label == "已反馈" ||
column.label == "未反馈"
column.label == "未反馈"||
column.label == "人员摸排总数"
) {
// cell.className = 'tdHover'
cell.classList.add("tdHover");
......@@ -531,6 +537,8 @@ export default {
this.$router.push("/Home/rwgl/rymplb/" + row.rwid + "/yfk");
} else if (column.label == "未反馈") {
this.$router.push("/Home/rwgl/rymplb/" + row.rwid + "/wfk");
}else if (column.label == "人员摸排总数") {
this.$router.push("/Home/rwgl/rymplb/" + row.rwid + "/all");
}
},
/**
......
<!--
* @Author: your name
* @Date: 2021-08-27 15:52:57
* @LastEditTime: 2021-09-16 14:31:32
* @LastEditTime: 2021-09-16 18:16:57
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\rymp.vue
......@@ -671,7 +671,7 @@ export default {
rwid: this.$route.params.id,
page: 1,
limit: 10,
thzt: "0",
thzt: "1",
};
this.showList = formList;
this.getList(formList);
......@@ -702,6 +702,14 @@ export default {
};
this.showList = formList;
this.getList(formList);
}else if (this.$route.params.type == "all") {
let formList = {
rwid: this.$route.params.id,
page: 1,
limit: 10,
};
this.showList = formList;
this.getList(formList);
}
}
......@@ -738,7 +746,7 @@ export default {
rwid: this.$route.params.id,
page: 1,
limit: 10,
thzt: "0",
thzt: "1",
};
this.showList = formList;
this.getList(formList);
......@@ -769,6 +777,14 @@ export default {
};
this.showList = formList;
this.getList(formList);
}else if (this.$route.params.type == "all") {
let formList = {
rwid: this.$route.params.id,
page: 1,
limit: 10,
};
this.showList = formList;
this.getList(formList);
}
},
};
......
<!--
* @Author: your name
* @Date: 2021-08-31 15:24:48
* @LastEditTime: 2021-09-14 15:04:29
* @LastEditTime: 2021-09-16 18:40:23
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\tjbb\tb.vue
......@@ -19,6 +19,7 @@
</el-radio-group>
</div>
<!-- echarts图 -->
<div class="content" id="content"></div>
</div>
<div class="right">
......@@ -33,7 +34,7 @@
<script>
import * as echarts from "echarts";
import { get, postJson, post } from "@/utils/http.js";
import zoom from '@/utils/autosize'
export default {
data() {
return {
......@@ -47,10 +48,15 @@ export default {
Rymppmyfk: [],
Rymppmwfk: [],
Rymppmxf: [],
};
},
mounted() {
// if(this.Rymppm){
// $("#content").html('<div id="nodata" style="text-align: center;height:300px;line-height: 300px">暂无数据...</div>');
// $('#content').removeAttr('_echarts_instance_');
// return;
// }
this.searchrympfkl();
this.searchRympppl();
this.searchGxqmprs();
......@@ -60,7 +66,6 @@ export default {
// this.initPieSecond();
// this.initPieThird()
this.initPieFourth();
},
methods: {
/**
......@@ -100,10 +105,10 @@ export default {
});
},
/**
* @description: 各辖区摸排人数
* @description: 各辖区摸排人数
* @param {*}
* @return {*}
*/
*/
searchGxqmprs() {
post("/xqapi/rymptj/selectRympRstj").then((res) => {
console.log(res);
......@@ -121,19 +126,19 @@ export default {
* @description: 人员摸排排名
* @param {*}
* @return {*}
*/
*/
searchRymppm() {
post("/xqapi/rymptj/selectRympPmtj").then((res) => {
console.log(res);
if(res.code == '200'){
res.data.rows.reverse().map(item=>{
if (res.code == "200") {
res.data.rows.reverse().map((item) => {
this.Rymppmname.push(item.name);
this.Rymppmth.push(item.th);
this.Rymppmwfk.push(item.wfk);
this.Rymppmxf.push(item.xf);
this.Rymppmyfk.push(item.yfk);
})
this.initEcharts();
});
this.initEcharts();
console.log(this.Rymppmname);
console.log(this.Rymppmth);
console.log(this.Rymppmwfk);
......@@ -161,6 +166,10 @@ export default {
let Leftoption;
Leftoption = {
title: {
text: "动态数据",
},
tooltip: {
trigger: "axis",
axisPointer: {
......@@ -203,7 +212,7 @@ export default {
// "精武镇",
// "精武镇",
// ],
data:this.Rymppmname,
data: this.Rymppmname,
axisLine: {
show: false,
},
......@@ -223,7 +232,7 @@ export default {
// 18203, 23489, 29034, 104970, 131744, 630230, 104970, 131744,
// 630230,
// ],
data:this.Rymppmxf,
data: this.Rymppmxf,
color: "#4D97FF",
},
{
......@@ -233,7 +242,7 @@ export default {
// 19325, 23438, 31000, 121594, 134141, 681807, 104970, 131744,
// 630230,
// ],
data:this.Rymppmyfk,
data: this.Rymppmyfk,
color: "#5AE2DE",
},
{
......@@ -243,7 +252,7 @@ export default {
// 19325, 23438, 31000, 121594, 134141, 681807, 104970, 131744,
// 630230,
// ],
data:this.Rymppmwfk,
data: this.Rymppmwfk,
color: "#FF946A",
},
{
......@@ -253,7 +262,7 @@ export default {
// 19325, 23438, 31000, 121594, 134141, 681807, 104970, 131744,
// 630230,
// ],
data:this.Rymppmth,
data: this.Rymppmth,
color: "#FC6864",
},
],
......@@ -402,7 +411,7 @@ export default {
// { value: 48, name: "张家窝5" },
// { value: 189, name: "张家窝6" },
// ],
data:data
data: data,
},
],
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment