| | |
| | | <!-- <span>{{ currentEvent.address }}</span>--> |
| | | <!-- </div>--> |
| | | <span @click="openDialogTable" class="count-data-span" |
| | | >您有{{ countData.review }}条待审核报警信息,今日立案{{ |
| | | >您有{{ countData.review }}条待审核报警信息,今日立案{{ |
| | | countData.register |
| | | }}条,再学习{{ countData.study }}条</span |
| | | > |
| | |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog :visible.sync="isShowTable" title="报警信息" width="1200px"> |
| | | <inspection-table/> |
| | | <inspection-table /> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | |
| | | import MyMap from "@/components/map"; |
| | | |
| | | export default { |
| | | components: { MyDispatch, MyMap,InspectionTable }, |
| | | components: { MyDispatch, MyMap, InspectionTable }, |
| | | 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() { |
| | |
| | | } |
| | | }; |
| | | return { |
| | | isShowTable:false, |
| | | isShowTable: false, |
| | | timer: null, |
| | | countData: { |
| | | study: 0, |
| | |
| | | }; |
| | | }, |
| | | methods: { |
| | | openDialogTable(){ |
| | | this.isShowTable = true |
| | | getInspectionCount() { |
| | | basecase |
| | | .getInspectionCountData({ |
| | | showLoading: false, |
| | | }) |
| | | .then((res) => { |
| | | this.countData = res; |
| | | }) |
| | | .catch((err) => this.$message.error(err)); |
| | | }, |
| | | openDialogTable() { |
| | | this.isShowTable = true; |
| | | }, |
| | | pageChange(type) { |
| | | if (type === "next") { |
| | |
| | | |
| | | .sjm-content-left { |
| | | line-height: 4.8vh; |
| | | .count-data-span{ |
| | | .count-data-span { |
| | | cursor: pointer; |
| | | color: #66b1ff; |
| | | } |
| | | .left-form > ::v-deep.el-form-item__label { |
| | | font-size: 16px !important; |
| | | |
| | | } |
| | | .img-item { |
| | | display: flex; |