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