1.吊装作业bug修复

pet-人员中台对接-xuyifeng-7.24
guoyuepeng 2024-06-27 21:07:11 +08:00
parent f2a07c9b6b
commit 484c95f85b
2 changed files with 16 additions and 4 deletions

View File

@ -132,6 +132,10 @@
<el-button type="primary" @click="dialogFormShow = false"> </el-button> <el-button type="primary" @click="dialogFormShow = false"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
<div style="height: 60px;"></div>
<div class="ui-foot">
<el-button type="primary" @click="goBack"> </el-button>
</div>
</div> </div>
</template> </template>
<script> <script>
@ -211,7 +215,9 @@ export default {
'/dangerousWork/gfHoisting/list?showCount=' + this.listQuery.limit + '&currentPage=' + this.listQuery.page, '/dangerousWork/gfHoisting/list?showCount=' + this.listQuery.limit + '&currentPage=' + this.listQuery.page,
{ {
KEYWORDS: this.KEYWORDS, APPLY_STATUS: this.STATUS, KEYWORDS: this.KEYWORDS, APPLY_STATUS: this.STATUS,
DEPTIDS: this.DEPTIDS, tm: new Date().getTime() DEPTIDS: this.DEPTIDS, tm: new Date().getTime(),
CORPINFO_ID: this.$parent.CORPINFO_ID,
ticketType: this.$parent.ticketType
} }
).then((data) => { ).then((data) => {
this.listLoading = false this.listLoading = false
@ -324,8 +330,13 @@ export default {
} }
}, },
goDetail(id) { goDetail(id) {
this.$parent.activeName = 'Hoisting' this.$parent.activeName = 'Detail'
this.$parent.HOISTING_ID = id this.$parent.HOISTING_ID = id
},
goBack(){
this.$parent.activeName = 'CorpInfo'
this.$parent.HOISTING_ID = ''
this.$parent.ticketType =''
} }
} }
} }

View File

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<CorpInfo v-show="activeName=='CorpInfo'" ref="list" /> <CorpInfo v-show="activeName=='CorpInfo'" ref="list" />
<List v-show="activeName=='hoisting_list'" /> <List v-if="activeName=='hoisting_list'" />
<Detail v-if="activeName=='Detail'"/> <Detail v-if="activeName=='Detail'"/>
</div> </div>
</template> </template>
@ -15,7 +15,8 @@ export default {
data() { data() {
return { return {
activeName: 'CorpInfo', activeName: 'CorpInfo',
HOISTING_ID: '' HOISTING_ID: '',
ticketType:''
} }
}, },
watch: { watch: {