Commit 4349d53f by hd

fix: 修改跳转

parent 5b6e2be5
...@@ -78,8 +78,8 @@ export default { ...@@ -78,8 +78,8 @@ export default {
} else if (self.$route.query?.zjhm) { } else if (self.$route.query?.zjhm) {
zjhm = encry.Decrypt(self.$route.query.zjhm); zjhm = encry.Decrypt(self.$route.query.zjhm);
} }
console.log(JSON.parse(zjhm)) debugger;
params.append("zjhm", JSON.parse(zjhm)); params.append("zjhm", zjhm);
axios axios
.post(url.rzURL + "/loginByZjhm", params, { .post(url.rzURL + "/loginByZjhm", params, {
headers: { headers: {
......
...@@ -2210,25 +2210,29 @@ export default { ...@@ -2210,25 +2210,29 @@ export default {
}, },
}, },
watch: { watch: {
valueCxgl(val) { valueCxgl: {
debugger; handler(val) {
var aDate, oDate1, oDate2, iDays; // debugger;
var kssj = val[0].substring(0, 10); var aDate, oDate1, oDate2, iDays;
var jssj = val[1].substring(0, 10); var kssj = val[0].substring(0, 10);
aDate = kssj.split("-"); var jssj = val[1].substring(0, 10);
oDate1 = new Date(aDate[1] + "," + aDate[2] + "," + aDate[0]); aDate = kssj.split("-");
aDate = jssj.split("-"); oDate1 = new Date(aDate[1] + "," + aDate[2] + "," + aDate[0]);
oDate2 = new Date(aDate[1] + "," + aDate[2] + "," + aDate[0]); aDate = jssj.split("-");
iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 / 24); oDate2 = new Date(aDate[1] + "," + aDate[2] + "," + aDate[0]);
iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 / 24);
// return iDays;
if (iDays < 31) { // return iDays;
this.valueCxgl[0] = val[0]; if (iDays < 31) {
this.valueCxgl[1] = val[1]; this.valueCxgl[0] = val[0];
this.postGetClcxsjglLsit(); this.valueCxgl[1] = val[1];
} else { this.postGetClcxsjglLsit();
this.$message.error("时间超过30天, 请重新选择时间!"); } else {
} this.$message.error("时间超过30天, 请重新选择时间!");
}
},
deep: true,
immediate: true
}, },
}, },
}; };
......
...@@ -777,7 +777,7 @@ export default { ...@@ -777,7 +777,7 @@ export default {
}, },
// 关键联系人 (月份点击) // 关键联系人 (月份点击)
addGjlxr(dateTime) { addGjlxr(dateTime) {
debugger; // debugger;
if (dateTime == "one") { if (dateTime == "one") {
this.scQueryData.kssj = this.$moment() this.scQueryData.kssj = this.$moment()
.subtract(1, "month") .subtract(1, "month")
......
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