引用备案
This commit is contained in:
@@ -271,13 +271,15 @@
|
|||||||
},
|
},
|
||||||
getData(){
|
getData(){
|
||||||
let otaIdT=localStorage.getItem('otaIdT')
|
let otaIdT=localStorage.getItem('otaIdT')
|
||||||
|
console.log('!!!',otaIdT);
|
||||||
if(otaIdT==null){
|
if(otaIdT==null){
|
||||||
otaIdT=''
|
otaIdT=''
|
||||||
}
|
}
|
||||||
if(localStorage.getItem('otaId') == null){
|
let otaId=localStorage.getItem('otaId')
|
||||||
return
|
if(otaId==null){
|
||||||
}else{
|
otaId=''
|
||||||
getAction('/ota/otaBaCxJbxx/queryByOtaId',{otaIdT:otaIdT,otaId:localStorage.getItem('otaId')}).then(res=>{
|
}
|
||||||
|
getAction('/ota/otaBaCxJbxx/queryByOtaId',{otaIdT:otaIdT,otaId:otaId}).then(res=>{
|
||||||
if(res.code == 200){
|
if(res.code == 200){
|
||||||
this.form=res.result
|
this.form=res.result
|
||||||
if(res.result.dllx1 == null ){
|
if(res.result.dllx1 == null ){
|
||||||
@@ -290,7 +292,6 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
},
|
},
|
||||||
next(){
|
next(){
|
||||||
|
|||||||
+1
-1
@@ -222,7 +222,7 @@ import ImportFile from '@/components/ImportFileData/index'
|
|||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
...queryParam
|
...queryParam
|
||||||
}
|
}
|
||||||
this.loading = true
|
// this.loading = true
|
||||||
getAction(this.url.list, query).then((res) => {
|
getAction(this.url.list, query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if (res.result.current > 1 && res.result.records.length == 0) {
|
if (res.result.current > 1 && res.result.records.length == 0) {
|
||||||
|
|||||||
@@ -363,13 +363,16 @@ export default {
|
|||||||
if ( this.selectedRowKeys.length > 1){
|
if ( this.selectedRowKeys.length > 1){
|
||||||
this.$message.warning(this.$t('OnlyOneSelected'))
|
this.$message.warning(this.$t('OnlyOneSelected'))
|
||||||
}else{
|
}else{
|
||||||
localStorage.removeItem('otaIdt')
|
localStorage.removeItem('otaIdT')
|
||||||
localStorage.removeItem('otaId')
|
localStorage.removeItem('otaId')
|
||||||
localStorage.setItem('otaIdt',this.selectedRowKeys[0])
|
localStorage.setItem('otaIdT',this.selectedRowKeys[0])
|
||||||
this.$router.push({
|
if(localStorage.getItem('otaIdT')!=null){
|
||||||
|
this.$router.push({
|
||||||
path: '/vehicleinformation',
|
path: '/vehicleinformation',
|
||||||
query: {}
|
query: {}
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user