| | |
| | | created() { |
| | | this.getInspectionData(); |
| | | this.initEventParams(); |
| | | basecase |
| | | .getInspectionCountData() |
| | | .then((res) => { |
| | | this.countData = res; |
| | | }) |
| | | .catch((err) => this.$message.error(err)); |
| | | |
| | | this.getInspectionCount(); |
| | | getStoreInfoList({ current: 1, size: 100 }) |
| | | .then(({ list }) => { |
| | | this.storeList = list; |
| | |
| | | }, |
| | | mounted() { |
| | | this.timer = setInterval(() => { |
| | | setTimeout(this.getInspectionData, 0); |
| | | this.getInspectionCount(); |
| | | }, 1000 * 10); |
| | | }, |
| | | data() { |
| | |
| | | }; |
| | | }, |
| | | methods: { |
| | | getInspectionCount() { |
| | | basecase |
| | | .getInspectionCountData({ |
| | | showLoading: false, |
| | | }) |
| | | .then((res) => { |
| | | this.countData = res; |
| | | }) |
| | | .catch((err) => this.$message.error(err)); |
| | | }, |
| | | openDialogTable(){ |
| | | this.isShowTable = true |
| | | this.isShowTable = true; |
| | | }, |
| | | pageChange(type) { |
| | | if (type === "next") { |
| | |
| | | } |
| | | .left-form > ::v-deep.el-form-item__label { |
| | | font-size: 16px !important; |
| | | |
| | | } |
| | | .img-item { |
| | | display: flex; |