|
@@ -185,9 +185,6 @@ export default {
|
|
|
},
|
|
|
props: ['row', 'major', 'sign', 'smsxt', 'diff'],
|
|
|
methods: {
|
|
|
- tabClick(item) {
|
|
|
- this.activeId = item
|
|
|
- },
|
|
|
innerTable(row) {
|
|
|
this.assetnum = row.assetnum
|
|
|
this.changeTab(0)
|
|
@@ -198,7 +195,6 @@ export default {
|
|
|
},
|
|
|
//多余输入框监听
|
|
|
confirm(fws, manufacturer) {
|
|
|
- //console.log(fws, manufacturer, '------')
|
|
|
this.fws = fws
|
|
|
this.manufacturer = manufacturer
|
|
|
this.queryTableList()
|
|
@@ -236,7 +232,6 @@ export default {
|
|
|
data.onlyMainAsset = true
|
|
|
}
|
|
|
querySelect({ data, postParams }).then((res) => {
|
|
|
- //console.log(res)
|
|
|
let sb_status = res.data.data.sms_asset.sb_status
|
|
|
let sbglgs = res.data.data.sms_asset.sbglgs
|
|
|
this.sbglgsOption = []
|
|
@@ -324,10 +319,13 @@ export default {
|
|
|
postParams.status = this.status
|
|
|
}
|
|
|
queryAsset({ data, postParams }).then((res) => {
|
|
|
- console.log(res)
|
|
|
this.tableData = res.data.data
|
|
|
this.total = res.data.count
|
|
|
this.key++
|
|
|
+ if (this.tableData.length > 0) {
|
|
|
+ this.assetnum = this.tableData[0].assetnum
|
|
|
+ this.changeTab(0)
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
getFloorAllSelect() {
|
|
@@ -339,7 +337,6 @@ export default {
|
|
|
this.floorSelect.forEach((el) => {
|
|
|
this.floorAllSelect.push(el)
|
|
|
})
|
|
|
- console.log(this.floorAllSelect)
|
|
|
},
|
|
|
// 更改tab页签,切换组件
|
|
|
changeTab(index) {
|