Commit db86376f by 刘玉帅

xq

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