fix : sftp 二级页面 删除mock数据
This commit is contained in:
@@ -36,14 +36,14 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import dataListMixin from '@/components/common/mixin/dataList'
|
||||
// import dataListMixin from '@/components/common/mixin/dataList'
|
||||
import subDataListMixin from '@/components/common/mixin/subDataList'
|
||||
import nzBottomDataList from '@/components/common/bottomBox/nzBottomDataList'
|
||||
import detailViewRightMixin from '@/components/common/mixin/detailViewRightMixin'
|
||||
|
||||
export default {
|
||||
name: 'terminalLogRecordTab',
|
||||
mixins: [dataListMixin, subDataListMixin, detailViewRightMixin],
|
||||
mixins: [subDataListMixin, detailViewRightMixin],
|
||||
components: {
|
||||
nzBottomDataList
|
||||
},
|
||||
|
||||
@@ -37,14 +37,14 @@
|
||||
<script>
|
||||
import Terminal from '../../js/Xterm'
|
||||
import bus from '../../../../libs/bus'
|
||||
import dataListMixin from '@/components/common/mixin/dataList'
|
||||
// import dataListMixin from '@/components/common/mixin/dataList'
|
||||
import subDataListMixin from '@/components/common/mixin/subDataList'
|
||||
import nzBottomDataList from '@/components/common/bottomBox/nzBottomDataList'
|
||||
import detailViewRightMixin from '@/components/common/mixin/detailViewRightMixin'
|
||||
|
||||
export default {
|
||||
name: 'terminalLogReplayTab',
|
||||
mixins: [dataListMixin, subDataListMixin, detailViewRightMixin],
|
||||
mixins: [subDataListMixin, detailViewRightMixin],
|
||||
components: {
|
||||
nzBottomDataList
|
||||
},
|
||||
|
||||
@@ -57,7 +57,7 @@ export default {
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
url: '/mock/terminal/sftp/log/',
|
||||
url: '/terminal/sftp/log/',
|
||||
tableId: 'sftpTable', // 需要分页的table的id,用于记录每页数量
|
||||
detailType: 'list',
|
||||
searchMsg: { // 给搜索框子组件传递的信息
|
||||
|
||||
@@ -69,6 +69,7 @@ export default {
|
||||
childrenNum: this.$refs[detailType].bottomBox.object.childrenNum || '',
|
||||
clientState: this.$refs[detailType].bottomBox.object.clientState || '',
|
||||
protocol: this.$refs[detailType].bottomBox.object.protocol || '',
|
||||
uuid: this.$refs[detailType].bottomBox.object.uuid || '',
|
||||
model: {
|
||||
tsgAppliance: this.$refs[detailType].bottomBox.object.model ? this.$refs[detailType].bottomBox.object.model.tsgAppliance : ''
|
||||
}
|
||||
@@ -82,6 +83,7 @@ export default {
|
||||
childrenNum: this.$refs[detailType].detailViewRightObj.childrenNum || '',
|
||||
clientState: this.$refs[detailType].detailViewRightObj.clientState || '',
|
||||
protocol: this.$refs[detailType].detailViewRightObj.protocol || '',
|
||||
uuid: this.$refs[detailType].detailViewRightObj.uuid || '',
|
||||
model: {
|
||||
tsgAppliance: this.$refs[detailType].detailViewRightObj.model ? this.$refs[detailType].detailViewRightObj.model.tsgAppliance : ''
|
||||
}
|
||||
@@ -99,6 +101,7 @@ export default {
|
||||
childrenNum: this.bottomBox.object.childrenNum || '',
|
||||
clientState: this.bottomBox.object.clientState || '',
|
||||
protocol: this.bottomBox.object.protocol || '',
|
||||
uuid: this.bottomBox.object.uuid || '',
|
||||
model: {
|
||||
tsgAppliance: this.bottomBox.object.model ? this.bottomBox.object.model.tsgAppliance : ''
|
||||
}
|
||||
@@ -113,6 +116,7 @@ export default {
|
||||
childrenNum: this.detailViewRightObj.childrenNum || '',
|
||||
clientState: this.detailViewRightObj.clientState || '',
|
||||
protocol: this.detailViewRightObj.protocol || '',
|
||||
uuid: this.detailViewRightObj.uuid || '',
|
||||
model: {
|
||||
tsgAppliance: this.detailViewRightObj.model ? this.detailViewRightObj.model.tsgAppliance : ''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user