重点工程-重点工程页面下的所有子页面统一返回按钮

pet_li_6.6
water_xu 2024-05-14 18:43:46 +08:00
parent ece75ce855
commit 1fc75b9d56
4 changed files with 20 additions and 1 deletions

View File

@ -1,6 +1,7 @@
<template> <template>
<div> <div>
<div class="app-container"> <div class="app-container">
<el-page-header content="报警记录" @back="back"/>
<el-form label-width="100px"> <el-form label-width="100px">
<el-row> <el-row>
<el-col :span="5"> <el-col :span="5">
@ -116,6 +117,10 @@ export default {
this.getList() this.getList()
}, },
methods: { methods: {
back() {
this.$parent.CORPINFO_ID = ''
this.$parent.activeName = 'List'
},
checkboxInit(row, index) { checkboxInit(row, index) {
if (row.STATUS != '0') { if (row.STATUS != '0') {
return 0 // return 0 //

View File

@ -1,5 +1,6 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-page-header @back="back"/>
<el-form label-width="100px"> <el-form label-width="100px">
<el-row> <el-row>
<el-col :span="5"> <el-col :span="5">
@ -98,6 +99,10 @@ export default {
this.getList() this.getList()
}, },
methods: { methods: {
back() {
this.$parent.CORPINFO_ID = ''
this.$parent.activeName = 'list'
},
getRowKey(row) { getRowKey(row) {
return row.OUTSOURCED_ID return row.OUTSOURCED_ID
}, },

View File

@ -1,5 +1,6 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-page-header content="处罚记录" @back="back"/>
<el-form label-width="100px"> <el-form label-width="100px">
<el-row> <el-row>
<el-col :span="4"> <el-col :span="4">
@ -96,6 +97,10 @@ export default {
this.getList() this.getList()
}, },
methods: { methods: {
back() {
this.$parent.CORPINFO_ID = ''
this.$parent.activeName = 'List'
},
getRowKey(row) { getRowKey(row) {
return row.OUTSOURCED_ID return row.OUTSOURCED_ID
}, },

View File

@ -1,5 +1,6 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-page-header content="视频详情" @back="goBack"/>
<div class="filter-container"> <div class="filter-container">
<el-form label-width="100px"> <el-form label-width="100px">
<el-row> <el-row>
@ -564,7 +565,10 @@ export default {
this.listLoading = false this.listLoading = false
}) })
}, },
goBack() {
this.$parent.CORPINFO_ID = ''
this.$parent.activeName = 'list'
},
// //
upload() { upload() {
this.$refs.form.validate(valid => { this.$refs.form.validate(valid => {