巡查上报代码优化

This commit is contained in:
liuye
2024-05-29 17:52:41 +08:00
parent d21b50270d
commit 00fb43620a
2 changed files with 11 additions and 9 deletions

View File

@@ -26,17 +26,22 @@
</u-form> </u-form>
</div> </div>
<div class="btn" v-if="this.status == 1" @click="confirm"> <!-- <div class="btn" v-if="status == 1" @click="confirm">
<span>转交事件</span> <span>转交事件</span>
</div> </div>
<div class="btn" v-if="this.status == 2" @click="confirm"> <div class="btn" v-if="status == 2" @click="confirm">
<span>拒绝受理</span> <span>拒绝受理</span>
</div> </div>
<div class="btn" v-if="this.status == 3" @click="confirm"> <div class="btn" v-if="status == 3" @click="confirm">
<span>我已办结</span> <span>我已办结</span>
</div> -->
<div class="btn" @click="confirm">
<span>{{titleList[status]}}</span>
</div> </div>
</div> </div>
</template> </template>

View File

@@ -141,13 +141,11 @@ export default {
handleSelectGird(v) { handleSelectGird(v) {
this.searchGrid = v this.searchGrid = v
this.current = 1 this.getListInit()
this.getList()
}, },
clearGrid() { clearGrid() {
this.searchGrid = {girdName: ''} this.searchGrid = {girdName: ''}
this.current = 1 this.getListInit()
this.getList()
}, },
goDetail(item) { goDetail(item) {
@@ -155,11 +153,10 @@ export default {
}, },
change(index) { change(index) {
this.current = 1
this.datas = [] this.datas = []
this.eventStatus = '' this.eventStatus = ''
this.currentTabs = index this.currentTabs = index
this.getList() this.getListInit()
}, },
linkTo(url) { linkTo(url) {