This commit is contained in:
parent
883899b190
commit
cffbfd9e9b
|
@ -253,8 +253,8 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
let that = this;
|
// let that = this;
|
||||||
window.getParameter = that.getParameter;
|
// window.getParameter = that.getParameter;
|
||||||
this.user_id = this.$route.fullPath.split("?")[1];
|
this.user_id = this.$route.fullPath.split("?")[1];
|
||||||
this.GetUserAnswer();
|
this.GetUserAnswer();
|
||||||
// this.tableData = JSON.parse(localStorage.getItem("wgwh")) || [];
|
// this.tableData = JSON.parse(localStorage.getItem("wgwh")) || [];
|
||||||
|
|
|
@ -254,11 +254,6 @@ export default {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
|
||||||
let that = this;
|
|
||||||
window.getParameter = that.getParameter;
|
|
||||||
},
|
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
getParameter(data) {
|
getParameter(data) {
|
||||||
alert(data);
|
alert(data);
|
||||||
|
@ -527,6 +522,8 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
let that = this;
|
||||||
|
window.getParameter = that.getParameter;
|
||||||
this.Loading = true;
|
this.Loading = true;
|
||||||
this.GetUserAnswer();
|
this.GetUserAnswer();
|
||||||
this.Loading = false;
|
this.Loading = false;
|
||||||
|
|
|
@ -139,7 +139,12 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
getParameter(data) {
|
getParameter(data) {
|
||||||
alert(data);
|
alert(data);
|
||||||
this.user_id = data;
|
this.user_id = data.split("|")[0];
|
||||||
|
if (data.split("|")[1] == 1) {
|
||||||
|
this.$store.commit("setType", "GYWZ_yx");
|
||||||
|
} else {
|
||||||
|
this.$store.commit("setType", "GYWZ_wx");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//ip地址验证
|
//ip地址验证
|
||||||
validateIpAddress(rule, value, callback) {
|
validateIpAddress(rule, value, callback) {
|
||||||
|
|
|
@ -290,7 +290,12 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
getParameter(data) {
|
getParameter(data) {
|
||||||
alert(data);
|
alert(data);
|
||||||
this.user_id = data;
|
this.user_id = data.split("|")[0];
|
||||||
|
if (data.split("|")[1] == 1) {
|
||||||
|
this.$store.commit("setType", "GYWZ_yx");
|
||||||
|
} else {
|
||||||
|
this.$store.commit("setType", "GYWZ_wx");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
addPolicy() {
|
addPolicy() {
|
||||||
this.$router.push({ name: "addstrategy", query: { id: this.user_id } });
|
this.$router.push({ name: "addstrategy", query: { id: this.user_id } });
|
||||||
|
|
|
@ -177,10 +177,6 @@ export default {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
|
||||||
let that = this;
|
|
||||||
window.getParameter = that.getParameter;
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
getParameter(data) {
|
getParameter(data) {
|
||||||
alert(data);
|
alert(data);
|
||||||
|
|
|
@ -176,14 +176,13 @@ export default {
|
||||||
// },
|
// },
|
||||||
// ])
|
// ])
|
||||||
// );
|
// );
|
||||||
|
// let that = this;
|
||||||
let that = this;
|
// window.getParameter = that.getParameter;
|
||||||
window.getParameter = that.getParameter;
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getParameter(data) {
|
// getParameter(data) {
|
||||||
this.$router.push(`/${data}`);
|
// this.$router.push(`/${data}`);
|
||||||
},
|
// },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue