dev
阿丽 3 years ago
parent 46c6f1297e
commit dbbffd39c2

@ -30,27 +30,34 @@ export default {
data() {
return {
initData: {},
state:'',
state: "",
numerical: "",
};
},
methods: {
// onSubmit() {
// let state = state;
// if (initData.total >= 80 && initData.total <=100){
// state << ""
// }else if (initData.total >= 50 && initData.total <=70){
// state =""
// }
// else if (initData.total >= 20 && initData.total <=20){
// state =""
// }
// console.log("submit!");
// },
methods: {
onSubmit() {
let state = state;
// if (initData.total >= 80 && initData.total <= 100) {
// state = "";
// } else if (initData.total >= 50 && initData.total <= 70) {
// state = "";
// } else if (initData.total >= 20 && initData.total <= 20) {
// state = "";
// }
// let numerical = numerical;
// if ((state = 100 && state >= 70 && state >= 40)) {
// numerical = "";
// } else if (state > 90 && state >= 50 && state >= 30) {
// numerical = "";
// } else if (state > 80 && state >= 50 && state >= 20) {
// numerical = "";
// }
console.log("submit!");
},
},
created() {
this.initData = this.getScoreData;
console.log( this.initData)
console.log(this.initData);
},
};
</script>

Loading…
Cancel
Save