升级回显
This commit is contained in:
+7
@@ -170,6 +170,7 @@
|
||||
import { getAction, postAction, deleteAction,downloadFile } from '@/api/manage'
|
||||
import ImportFile from '@/components/ImportFileData/index'
|
||||
import uploadFile from '@/components/uploadFile/file'
|
||||
import { result } from 'lodash'
|
||||
|
||||
export default {
|
||||
name: 'beupgradedonline',
|
||||
@@ -375,6 +376,9 @@ this.$forceUpdate()
|
||||
}
|
||||
getAction('/ota/otaBaSjSjyxpg/queryByOtaId',{otaIdT:otaIdT,otaId:otaId}).then(res=>{
|
||||
if(res.code==200){
|
||||
if(res.result.zxsj==0){
|
||||
res.result.zxsj=null
|
||||
}
|
||||
this.form=res.result==null ? {
|
||||
sjmd:'',
|
||||
// fhgd:1,
|
||||
@@ -395,6 +399,9 @@ this.$forceUpdate()
|
||||
otaId=''
|
||||
}
|
||||
this.form.otaId=otaId
|
||||
if(this.form.zxsj==undefined){
|
||||
this.form.zxsj=0
|
||||
}
|
||||
postAction('/ota/otaBaSjSjyxpg/add',this.form).then(res=>{
|
||||
if(res.code==200){
|
||||
this.$message.success(this.$t('SavedSuccessfully'))
|
||||
|
||||
Reference in New Issue
Block a user