Commit dd6c296c by gao_yingdong

xnpg

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