Commit dd6c296c by gao_yingdong

xnpg

parent a54c768b
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
align="right" align="right"
@change="change"
> >
</el-date-picker> </el-date-picker>
<div class="jsdw"> <div class="jsdw">
...@@ -97,12 +96,12 @@ export default { ...@@ -97,12 +96,12 @@ export default {
}, },
methods: { methods: {
getJson() { getJson() {
debugger debugger;
let self = this; let self = this;
let unitcode = JSON.parse(sessionStorage.getItem("userInfo")).unitcode; let unitcode = JSON.parse(sessionStorage.getItem("userInfo")).unitcode;
// let unitcode = '540000050000'; // let unitcode = '540000050000';
axios.get(`JsonData/CODE_UNIT.json`).then((response) => { axios.get(`JsonData/CODE_UNIT.json`).then((response) => {
if (response.status == '200') { if (response.status == "200") {
debugger; debugger;
self.GD.qsrgajgdm.codeOptions = response.data.data.rows; self.GD.qsrgajgdm.codeOptions = response.data.data.rows;
function liMap(ji) { function liMap(ji) {
...@@ -145,6 +144,7 @@ export default { ...@@ -145,6 +144,7 @@ export default {
$a.click(); $a.click();
}, },
back() { back() {
debugger;
let self = this; let self = this;
let mi = Array.from(new Set(self.SJList)); let mi = Array.from(new Set(self.SJList));
let len = mi.indexOf(self.SJcode) - 1; let len = mi.indexOf(self.SJcode) - 1;
...@@ -331,9 +331,9 @@ export default { ...@@ -331,9 +331,9 @@ export default {
this.getChartsData(); this.getChartsData();
}, },
//echarts //echarts
getChartsData() { getChartsData(searchDwdm = "") {
var userInfo = JSON.parse(sessionStorage.getItem("userInfo")); debugger;
this.SJcode = userInfo.unitcode; this.SJcode = searchDwdm;
let loading = this.$loading({ let loading = this.$loading({
lock: true, lock: true,
text: "正在加载...", text: "正在加载...",
...@@ -341,9 +341,8 @@ export default { ...@@ -341,9 +341,8 @@ export default {
background: "rgba(255, 255, 255, 0.7)", background: "rgba(255, 255, 255, 0.7)",
}); });
let params = new Object(); let params = new Object();
let code = this.FPForm.qsrgajgdm ? this.FPForm.qsrgajgdm : userInfo.unitcode params["searchDwdm"] = searchDwdm;
params["searchDwdm"] = code; this.SJList.push(searchDwdm);
this.SJList.push(userInfo.unitcode);
console.log(this.SJList); console.log(this.SJList);
if (!this.value2 || this.value2.length <= 0) { if (!this.value2 || this.value2.length <= 0) {
params.fbsj_s = ""; params.fbsj_s = "";
......
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