Merge branch 'pet' of http://47.92.113.182:3000/guoyuepeng/qa-regulatory-gwj-vue into pet
commit
825cd9bffd
|
@ -246,7 +246,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
goBack() {
|
goBack() {
|
||||||
this.$parent.activeName = 'List'
|
this.$parent.activeName = 'electricity_list'
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -109,6 +109,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>
|
||||||
|
@ -186,7 +190,9 @@ export default {
|
||||||
'/dangerousWork/gfElectricity/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
'/dangerousWork/gfElectricity/list?showCount=' + this.listQuery.limit + '¤tPage=' + 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
|
||||||
|
@ -291,6 +297,10 @@ export default {
|
||||||
goDetail(id) {
|
goDetail(id) {
|
||||||
this.$parent.activeName = 'Detail'
|
this.$parent.activeName = 'Detail'
|
||||||
this.$parent.ELECTRICITY_ID = id
|
this.$parent.ELECTRICITY_ID = id
|
||||||
|
},
|
||||||
|
goBack(){
|
||||||
|
this.$parent.activeName = 'CorpInfo'
|
||||||
|
this.$parent.BREAKGROUND_ID = ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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=='electricity_list'" />
|
<List v-if="activeName=='electricity_list'" />
|
||||||
<Detail v-if="activeName=='Detail'"/>
|
<Detail v-if="activeName=='Detail'"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -248,7 +248,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
goBack() {
|
goBack() {
|
||||||
this.$parent.activeName = 'List'
|
this.$parent.activeName = 'highwork_list'
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -132,7 +132,14 @@
|
||||||
<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>
|
||||||
import Pagination from '@/components/Pagination' // 通过 el-pagination二次打包
|
import Pagination from '@/components/Pagination' // 通过 el-pagination二次打包
|
||||||
|
@ -211,7 +218,9 @@ export default {
|
||||||
'/dangerousWork/gfHighWork/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
'/dangerousWork/gfHighWork/list?showCount=' + this.listQuery.limit + '¤tPage=' + 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
|
||||||
|
@ -326,6 +335,10 @@ export default {
|
||||||
goDetail(id) {
|
goDetail(id) {
|
||||||
this.$parent.activeName = 'Detail'
|
this.$parent.activeName = 'Detail'
|
||||||
this.$parent.HIGHWORK_ID = id
|
this.$parent.HIGHWORK_ID = id
|
||||||
|
},
|
||||||
|
goBack(){
|
||||||
|
this.$parent.activeName = 'CorpInfo'
|
||||||
|
this.$parent.HIGHWORK_ID = ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,28 +1,23 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<CorpInfo v-show="activeName=='CorpInfo'" />
|
<CorpInfo v-show="activeName=='CorpInfo'" ref="list"/>
|
||||||
<List v-if="activeName=='highwork_list'" />
|
<List v-if="activeName=='highwork_list'" />
|
||||||
<Detail v-if="activeName=='Detail'"/>
|
<Detail v-if="activeName=='Detail'"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import CorpInfo from "./components/corpInfo";
|
||||||
import List from './components/list'
|
import List from './components/list'
|
||||||
import Detail from './components/detail'
|
import Detail from './components/detail'
|
||||||
import CorpInfo from "./components/corpInfo";
|
|
||||||
export default {
|
export default {
|
||||||
components: {CorpInfo,List,Detail},
|
components: {CorpInfo,List,Detail},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
activeName: 'CorpInfo',
|
activeName: 'CorpInfo',
|
||||||
HIGHWORK_ID: ''
|
HIGHWORK_ID: '',
|
||||||
}
|
ticketType : '',
|
||||||
},
|
CUTROAD_ID:''
|
||||||
watch: {
|
|
||||||
activeName(val) {
|
|
||||||
if (val == 'highwork_list') {
|
|
||||||
this.$refs.list.getQuery()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -102,7 +102,7 @@ export default {
|
||||||
this.$parent.activeName = tableName
|
this.$parent.activeName = tableName
|
||||||
this.$parent.CORPINFO_ID = CORPINFO_ID
|
this.$parent.CORPINFO_ID = CORPINFO_ID
|
||||||
this.$parent.ticketType = ticketType
|
this.$parent.ticketType = ticketType
|
||||||
this.$parent.CUTROAD_ID =''
|
this.$parent.HOISTING_ID =''
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
|
|
|
@ -132,7 +132,13 @@
|
||||||
<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>
|
||||||
import Pagination from '@/components/Pagination' // 通过 el-pagination二次打包
|
import Pagination from '@/components/Pagination' // 通过 el-pagination二次打包
|
||||||
|
@ -211,7 +217,9 @@ export default {
|
||||||
'/dangerousWork/gfHoisting/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
'/dangerousWork/gfHoisting/list?showCount=' + this.listQuery.limit + '¤tPage=' + 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 +332,12 @@ 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 = ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,9 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
activeName: 'CorpInfo',
|
activeName: 'CorpInfo',
|
||||||
HOISTING_ID: ''
|
HOISTING_ID: '',
|
||||||
|
ticketType : '',
|
||||||
|
CORPINFO_ID : ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
Loading…
Reference in New Issue