|
|
|
@ -1,5 +1,4 @@ |
|
|
|
<script> |
|
|
|
import th from "element-ui/src/locale/lang/th"; |
|
|
|
import {queryVulcanizationList} from "../../../api/production/generateReport"; |
|
|
|
|
|
|
|
export default { |
|
|
|
@ -10,7 +9,7 @@ export default { |
|
|
|
refreshTool: null, |
|
|
|
dataList:[], |
|
|
|
queryParams:{ |
|
|
|
firstReportDate2Flag:'N', |
|
|
|
firstReportDate2Flag:'Y', |
|
|
|
}, |
|
|
|
columnList: [ |
|
|
|
{ |
|
|
|
@ -285,12 +284,12 @@ export default { |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.handleQuery(); |
|
|
|
this.refreshTool = setTimeout(()=>{ |
|
|
|
this.refreshTool = setInterval(()=>{ |
|
|
|
this.handleQuery(); |
|
|
|
},this.setTimeoutDelay) |
|
|
|
}, |
|
|
|
destroyed() { |
|
|
|
clearTimeout(this.refreshTool) |
|
|
|
clearInterval(this.refreshTool) |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
|