删除,字段修改
This commit is contained in:
@@ -201,7 +201,8 @@ export default {
|
||||
//url传参严格按照当前命名
|
||||
url: {
|
||||
list: '/lawsTechnologyEvaluation/lawsTechnologyEvaluationEO/page',
|
||||
deleteBatch: '/lawsTechnologyEvaluation/lawsTechnologyEvaluationEO/deleteBatch'
|
||||
deleteBatch: '/ota/otaBaSjList/delete'
|
||||
|
||||
},
|
||||
visible: false,
|
||||
loading: false,
|
||||
@@ -388,7 +389,7 @@ export default {
|
||||
this.$confirm({
|
||||
content: _this.$t('ConfirmDelete'),
|
||||
onOk() {
|
||||
deleteAction(_this.url.deleteBatch, { ids: val.id }).then((res) => {
|
||||
deleteAction(_this.url.deleteBatch, { id: val.id }).then((res) => {
|
||||
if (res.success) {
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
_this.getList()
|
||||
|
||||
+14
-4
@@ -32,7 +32,7 @@
|
||||
<a-input :placeholder="$t('ifNot')" :title="record.sjqbgcs ? record.sjqbgcs : $t('ifNot')" v-model="record.sjqbgcs" :max-length="500"></a-input>
|
||||
</span>
|
||||
<span slot="afterupgrade" slot-scope="text,record">
|
||||
<a-input :placeholder="$t('ifNot')" :title="record.sjhbgcs ? record.sjhbgcs : $t('ifNot')" v-model="record.sjhbgcs":max-length="500"></a-input>
|
||||
<a-input :placeholder="$t('ifNot')" :title="record.sjhbgcs ? record.sjhbgcs : $t('ifNot')" v-model="record.sjhbgcs" :max-length="500"></a-input>
|
||||
</span>
|
||||
<span slot="functionalchangedescription" slot-scope="text,record">
|
||||
<a-input :placeholder="$t('pleaseEnter')" v-model="record.gnbgms" :title='record.gnbgms' :max-length="500"></a-input>
|
||||
@@ -87,7 +87,9 @@ export default {
|
||||
return {
|
||||
dataSource: [
|
||||
{
|
||||
|
||||
sjqbgcs:'不涉及',
|
||||
sjhbgcs:'不涉及',
|
||||
sjsjkzq:'ADC ADAS主控制器'
|
||||
}
|
||||
],
|
||||
fileList:'',
|
||||
@@ -219,7 +221,11 @@ export default {
|
||||
otaId=''
|
||||
}
|
||||
getAction('/ota/otaBaSjSjfzbh/queryByOtaId',{otaIdT:otaIdT,otaId:otaId}).then(res=>{
|
||||
this.dataSource =res.result.list == null ? [{}] : res.result.list
|
||||
this.dataSource =res.result.list == null ? [ {
|
||||
sjqbgcs:'不涉及',
|
||||
sjhbgcs:'不涉及',
|
||||
sjsjkzq:'ADC ADAS主控制器'
|
||||
}] : res.result.list
|
||||
this.fileList = res.result.fj
|
||||
})
|
||||
},
|
||||
@@ -276,7 +282,11 @@ export default {
|
||||
this.$emit('beupgradedonlinedown')
|
||||
},
|
||||
addlineAtBot(){
|
||||
let obj={}
|
||||
let obj= {
|
||||
sjqbgcs:'不涉及',
|
||||
sjhbgcs:'不涉及',
|
||||
sjsjkzq:'ADC ADAS主控制器'
|
||||
}
|
||||
this.dataSource.push(obj)
|
||||
},
|
||||
deleteData(record){
|
||||
|
||||
+10
-2
@@ -90,6 +90,8 @@ export default {
|
||||
return {
|
||||
dataSource: [
|
||||
{
|
||||
sjqbgcs:'不涉及',
|
||||
sjhbgcs:'不涉及'
|
||||
}
|
||||
],
|
||||
loading: false,
|
||||
@@ -285,7 +287,10 @@ export default {
|
||||
otaId=''
|
||||
}
|
||||
getAction('/ota/otaBaSjSjxtbh/queryByOtaId',{otaIdT:otaIdT,otaId:otaId}).then(res=>{
|
||||
this.dataSource =res.result.list == null ? [{}] : res.result.list
|
||||
this.dataSource =res.result.list == null ? [ {
|
||||
sjqbgcs:'不涉及',
|
||||
sjhbgcs:'不涉及'
|
||||
}] : res.result.list
|
||||
})
|
||||
},
|
||||
save(){
|
||||
@@ -317,7 +322,10 @@ export default {
|
||||
this.$emit('upgradedonlinedown')
|
||||
},
|
||||
addlineAtBot(){
|
||||
let obj={}
|
||||
let obj= {
|
||||
sjqbgcs:'不涉及',
|
||||
sjhbgcs:'不涉及'
|
||||
}
|
||||
this.dataSource.push(obj)
|
||||
},
|
||||
deleteData(record){
|
||||
|
||||
+8
-2
@@ -203,7 +203,10 @@ export default {
|
||||
return {
|
||||
confirmLoading: false,
|
||||
disabled: false,
|
||||
formInline:{},
|
||||
formInline:{
|
||||
sjky:'车辆解闭锁功能可用,但不可驾驶',
|
||||
sjbkygn:'除解闭锁均不可用'
|
||||
},
|
||||
url: {
|
||||
exportData: '/ota/otaBaSjGgnrfs/exportData',
|
||||
importZipUrl: '/ota/otaBaSjGgnrfs/importData?otaId=' + localStorage.getItem('otaId'),//导入
|
||||
@@ -255,7 +258,10 @@ export default {
|
||||
getAction('/ota/otaBaSjGgnrfs/queryByOtaId',{otaIdT:otaIdT,otaId:otaId}).then(res=>{
|
||||
if(res.code == 200){
|
||||
|
||||
this.formInline= res.result ==null ? {} :res.result
|
||||
this.formInline= res.result ==null ? {
|
||||
sjky:'车辆解闭锁功能可用,但不可驾驶',
|
||||
sjbkygn:'除解闭锁均不可用'
|
||||
} :res.result
|
||||
this.formInline.id=res.result.id
|
||||
this.$forceUpdate()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user