Commit 4349d53f by hd

fix: 修改跳转

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