This commit is contained in:
lll 2023-11-09 14:28:46 +08:00
parent dbb60ccde6
commit 99f708c22b
3 changed files with 16 additions and 0 deletions

View File

@ -198,8 +198,13 @@ export default {
}, },
created() { created() {
this.GetUserAnswer(); this.GetUserAnswer();
let that = this;
window.getParameter = that.getParameter;
}, },
methods: { methods: {
getParameter(data) {
alert(data);
},
async save() { async save() {
var obj = { var obj = {
wlgl_nw_name: this.tableData[0].wlgl_nw_name, wlgl_nw_name: this.tableData[0].wlgl_nw_name,

View File

@ -223,9 +223,15 @@ export default {
} }
this.loading = false; this.loading = false;
}, },
//
getParameter(data) {
alert(data);
},
}, },
created() { created() {
this.GetUserAnswer(); this.GetUserAnswer();
let that = this;
window.getParameter = that.getParameter;
}, },
}; };
</script> </script>

View File

@ -100,6 +100,8 @@ export default {
}; };
}, },
created() { created() {
let that = this;
window.getParameter = that.getParameter;
this.time = this.$moment().format("HH:mm:ss"); this.time = this.$moment().format("HH:mm:ss");
this.productChartOption = productChart; this.productChartOption = productChart;
this.mainshaftChartOption = mainshaftChart; this.mainshaftChartOption = mainshaftChart;
@ -109,6 +111,9 @@ export default {
this.stopChartOption = stopChart; this.stopChartOption = stopChart;
}, },
methods: { methods: {
getParameter(data) {
alert(data);
},
// //
fontSize(res) { fontSize(res) {
const clientWidth = const clientWidth =