because I just learned vue, I don"t quite understand what I read on the official website.
there is such a requirement:
button,,
,
planDetail(personid, plan, relation, productProperty) {
let param = {
personId: personid,
productCode: plan
};
console.log("", param);
this.$http.postBody("/1/111", param, result => {
console.log(result);
this.productDetail = result.body.rows;
if (relation == "1") {
this.detailTitle =
productProperty == "1" ? "" : " " + "";
} else {
this.detailTitle =
productProperty == "1" ? "" : "" + "vs";
}
this.familyShow = true;
this.$router.push({name: "employeeplan", query:param})
});