fix:Ai报警包一层

pull/3/head
dearlin 2023-11-22 19:50:02 +08:00
parent d443552760
commit 86bce751b7
2 changed files with 10 additions and 3 deletions

View File

@ -257,7 +257,8 @@ export default {
requestFN( requestFN(
'/outsourced/list?showCount=' + this.listQuery.limit + '&currentPage=' + this.listQuery.page, '/outsourced/list?showCount=' + this.listQuery.limit + '&currentPage=' + this.listQuery.page,
{ {
KEYWORDS: this.KEYWORDS KEYWORDS: this.KEYWORDS,
CORPINFO_ID: this.$parent.CORPINFO_ID
} }
).then((data) => { ).then((data) => {
this.listLoading = false this.listLoading = false

View File

@ -1,6 +1,10 @@
<template> <template>
<div> <div>
<component :is="activeName"/> <OutSourced v-if="activeName=='OutSourced'" ref="outSourced" active-name="List"/>
<List v-if="activeName=='List'" />
<Info v-if="activeName=='Info'" />
<recordList v-show="activeName=='recordList'"/>
<!-- <component :is="activeName"/>-->
</div> </div>
</template> </template>
@ -8,16 +12,18 @@
import List from './components/list' import List from './components/list'
import Info from './components/info' import Info from './components/info'
import recordList from './components/record-list' import recordList from './components/record-list'
import OutSourced from '@/components/OutSourced/index'
export default { export default {
components: { components: {
List: List, List: List,
OutSourced: OutSourced,
Info: Info, Info: Info,
recordList: recordList recordList: recordList
}, },
data() { data() {
return { return {
activeName: 'List', activeName: 'OutSourced',
OUTSOURCED_ID: '', OUTSOURCED_ID: '',
AIWARNING_ID: '' AIWARNING_ID: ''
} }