|
@@ -1450,17 +1450,17 @@ export default {
|
|
|
PostDataByName(this.requestParam).then(response => {
|
|
|
console.log('新增保存发送参数', this.requestParam)
|
|
|
if (response.msg !== 'fail') {
|
|
|
- this.$notify({ title: '成功', message: '保存成功', type: 'success', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.succes'), message: this.$t('driver.saveSuccess'), type: 'success', duration: 2000 })
|
|
|
this.getList()
|
|
|
let data = {}
|
|
|
data.name = 'insertFeedtemplethistory'
|
|
|
data.parammaps = this.table.temp
|
|
|
PostDataByName(data).then(response => {
|
|
|
if (response.msg !== 'fail') {
|
|
|
- this.$notify({ title: '成功', message: '保存成功', type: 'success', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.succes'), message: this.$t('driver.saveSuccess'), type: 'success', duration: 2000 })
|
|
|
this.getList()
|
|
|
} else {
|
|
|
- this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('driver.saveFail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
}
|
|
|
})
|
|
|
} else {
|
|
@@ -1468,7 +1468,7 @@ export default {
|
|
|
if (isRepeat.test(response.data)) {
|
|
|
this.$notify({ type: 'error', message: '配方编码不可重复,请重新录入', duration: 2000 })
|
|
|
} else {
|
|
|
- this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('driver.saveFail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
}
|
|
|
}
|
|
|
})
|
|
@@ -1598,14 +1598,14 @@ export default {
|
|
|
PostDataByName(this.requestParam3).then(response => {
|
|
|
console.log('新增保存发送参数', this.requestParam)
|
|
|
if (response.msg !== 'fail') {
|
|
|
- this.$notify({ title: '成功', message: '保存成功', type: 'success', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.succes'), message: this.$t('driver.saveSuccess'), type: 'success', duration: 2000 })
|
|
|
this.getList()
|
|
|
} else {
|
|
|
const isRepeat = new RegExp('Duplicate entry :feedtemplet.tCode')
|
|
|
if (isRepeat.test(response.data)) {
|
|
|
this.$notify({ type: 'error', message: '配方编码不可重复,请重新录入', duration: 2000 })
|
|
|
} else {
|
|
|
- this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('driver.saveFail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
}
|
|
|
}
|
|
|
})
|
|
@@ -1614,7 +1614,7 @@ export default {
|
|
|
if (isRepeat.test(response.data)) {
|
|
|
this.$notify({ type: 'error', message: '配方编码不可重复,请重新录入', duration: 2000 })
|
|
|
} else {
|
|
|
- this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('driver.saveFail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
}
|
|
|
}
|
|
|
})
|
|
@@ -1634,8 +1634,8 @@ export default {
|
|
|
// 删除
|
|
|
handleRowDelete(row) {
|
|
|
console.log('点击了行内删除')
|
|
|
- MessageBox.confirm('是否确认删除此信息?', {
|
|
|
- confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning'
|
|
|
+ MessageBox.confirm( this.$t('common.delMsg'), {
|
|
|
+ confirmButtonText: this.$t('common.confirm'), confirmButtonText: this.$t('common.cancel'), type: 'warning'
|
|
|
}).then(() => {
|
|
|
const url = 'authdata/feedtemplet/del'
|
|
|
const data = {
|
|
@@ -1644,15 +1644,15 @@ export default {
|
|
|
}
|
|
|
postJson(url, data).then(response => {
|
|
|
if (response.msg === 'fail') {
|
|
|
- this.$notify({ title: '删除失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.delfail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
} else {
|
|
|
- this.$notify({ title: '成功', message: '删除成功', type: 'success', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.succes'),message: this.$t('common.delSuccess'), type: 'success', duration: 2000 })
|
|
|
this.getList()
|
|
|
this.isDetail = false
|
|
|
}
|
|
|
})
|
|
|
}).catch(() => {
|
|
|
- this.$message({ type: 'info', message: '已取消删除' })
|
|
|
+ this.$message({ type: 'info', message: this.$t('common.cancelMsg') })
|
|
|
})
|
|
|
},
|
|
|
handleSelectionChange(val) {
|
|
@@ -1664,8 +1664,8 @@ export default {
|
|
|
if (this.selectList.length == 0) {
|
|
|
this.$message({ type: 'error', message: '请选择配方', duration: 2000 })
|
|
|
} else {
|
|
|
- MessageBox.confirm('是否确认删除此信息?', {
|
|
|
- confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning'
|
|
|
+ MessageBox.confirm( this.$t('common.delMsg'), {
|
|
|
+ confirmButtonText: this.$t('common.confirm'), confirmButtonText: this.$t('common.cancel'), type: 'warning'
|
|
|
}).then(() => {
|
|
|
console.log(this.selectList)
|
|
|
this.requestParam.common = { 'returnmap': '0' }
|
|
@@ -1683,9 +1683,9 @@ export default {
|
|
|
ExecDataByConfig(this.requestParam).then(response => {
|
|
|
console.log('删除保存发送参数', this.requestParam)
|
|
|
if (response.msg === 'fail') {
|
|
|
- this.$notify({ title: '删除失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.delfail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
} else {
|
|
|
- this.$notify({ title: '', message: '删除成功', type: 'success', duration: 2000 })
|
|
|
+ this.$notify({ title: '',message: this.$t('common.delSuccess'), type: 'success', duration: 2000 })
|
|
|
this.getList()
|
|
|
}
|
|
|
})
|
|
@@ -1699,7 +1699,7 @@ export default {
|
|
|
this.$message({ type: 'error', message: '请选择配方', duration: 2000 })
|
|
|
} else {
|
|
|
MessageBox.confirm('是否确认复制此信息?', {
|
|
|
- confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning'
|
|
|
+ confirmButtonText: this.$t('common.confirm'), confirmButtonText: this.$t('common.cancel'), type: 'warning'
|
|
|
}).then(() => {
|
|
|
console.log(this.selectList)
|
|
|
this.requestParam.common = { 'returnmap': '0' }
|
|
@@ -1943,7 +1943,7 @@ export default {
|
|
|
handleImportSuccess(res, file) {
|
|
|
this.getList()
|
|
|
if (res.msg === 'ok') {
|
|
|
- this.$message({ title: '成功', message: '导入成功:' + res.data.success + '条!', type: 'success', duration: 2000 })
|
|
|
+ this.$message({ title: this.$t('common.succes'), message: '导入成功:' + res.data.success + '条!', type: 'success', duration: 2000 })
|
|
|
if (res.data.err_count > 0) {
|
|
|
this.$notify({ title: '失败', message: '导入失败:' + res.data.err_count + '条!', type: 'danger', duration: 2000 })
|
|
|
import('@/vendor/Export2Excel').then(excel => {
|
|
@@ -1985,7 +1985,7 @@ export default {
|
|
|
handleApplication() {
|
|
|
console.log('点击了应用')
|
|
|
MessageBox.confirm('是否确认将' + this.template.table.getdataListParm.parammaps.date + '的数据应用到当前?', {
|
|
|
- confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning'
|
|
|
+ confirmButtonText: this.$t('common.confirm'), confirmButtonText: this.$t('common.cancel'), type: 'warning'
|
|
|
}).then(() => {
|
|
|
this.requestParam.name = 'applyFTdate'
|
|
|
this.requestParam.parammaps = {}
|
|
@@ -1993,9 +1993,9 @@ export default {
|
|
|
this.requestParam.parammaps.date = this.template.table.getdataListParm.parammaps.date
|
|
|
PostDataByName(this.requestParam).then(response => {
|
|
|
if (response.msg === 'fail') {
|
|
|
- this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('driver.saveFail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
} else {
|
|
|
- this.$notify({ title: '成功', message: '保存成功', type: 'success', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.succes'), message: this.$t('driver.saveSuccess'), type: 'success', duration: 2000 })
|
|
|
this.getTemplateDialogList()
|
|
|
this.getList()
|
|
|
}
|
|
@@ -2465,21 +2465,21 @@ export default {
|
|
|
const data = this.requestParam
|
|
|
postJson(url, data).then(response => {
|
|
|
if (response.msg !== 'fail') {
|
|
|
- this.$notify({ title: '成功', message: '保存成功', type: 'success', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.succes'), message: this.$t('driver.saveSuccess'), type: 'success', duration: 2000 })
|
|
|
this.getList2()
|
|
|
this.getList3()
|
|
|
} else {
|
|
|
- this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('driver.saveFail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
}
|
|
|
})
|
|
|
// ExecDataByConfig(this.requestParam).then(response => {
|
|
|
// console.log('新增保存发送参数', this.requestParam)
|
|
|
// if (response.msg !== 'fail') {
|
|
|
- // this.$notify({ title: '成功', message: '保存成功', type: 'success', duration: 2000 })
|
|
|
+ // this.$notify({ title: this.$t('common.succes'), message: this.$t('driver.saveSuccess'), type: 'success', duration: 2000 })
|
|
|
// this.getList2()
|
|
|
// this.getList3()
|
|
|
// } else {
|
|
|
- // this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ // this.$notify({ title: this.$t('driver.saveFail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
// }
|
|
|
// })
|
|
|
},
|
|
@@ -2695,23 +2695,23 @@ export default {
|
|
|
const data = this.requestParam
|
|
|
postJson(url, data).then(response => {
|
|
|
if (response.msg !== 'fail') {
|
|
|
- this.$notify({ title: '成功', message: '保存成功', type: 'success', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.succes'), message: this.$t('driver.saveSuccess'), type: 'success', duration: 2000 })
|
|
|
this.getList2()
|
|
|
this.getList3()
|
|
|
this.dropState = false
|
|
|
} else {
|
|
|
- this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('driver.saveFail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
}
|
|
|
})
|
|
|
// ExecDataByConfig(this.requestParam).then(response => {
|
|
|
// console.log('新增保存发送参数', this.requestParam)
|
|
|
// if (response.msg !== 'fail') {
|
|
|
- // this.$notify({ title: '成功', message: '保存成功', type: 'success', duration: 2000 })
|
|
|
+ // this.$notify({ title: this.$t('common.succes'), message: this.$t('driver.saveSuccess'), type: 'success', duration: 2000 })
|
|
|
// this.getList2()
|
|
|
// this.getList3()
|
|
|
// this.dropState = false
|
|
|
// } else {
|
|
|
- // this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ // this.$notify({ title: this.$t('driver.saveFail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
// }
|
|
|
// })
|
|
|
},
|
|
@@ -2734,8 +2734,8 @@ export default {
|
|
|
// 详情删除
|
|
|
handleRowDelete2(row) {
|
|
|
console.log('点击了行内删除')
|
|
|
- MessageBox.confirm('是否确认删除此信息?', {
|
|
|
- confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning'
|
|
|
+ MessageBox.confirm( this.$t('common.delMsg'), {
|
|
|
+ confirmButtonText: this.$t('common.confirm'), confirmButtonText: this.$t('common.cancel'), type: 'warning'
|
|
|
}).then(() => {
|
|
|
console.log(this.table2.list.length)
|
|
|
let dateTime = parseTime(new Date(), '{y}-{m}-{d} {h}:{i}:{s}')
|
|
@@ -2817,25 +2817,25 @@ export default {
|
|
|
const data = this.requestParam
|
|
|
postJson(url, data).then(response => {
|
|
|
if (response.msg !== 'fail') {
|
|
|
- this.$notify({ title: '成功', message: '删除成功', type: 'success', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.succes'),message: this.$t('common.delSuccess'), type: 'success', duration: 2000 })
|
|
|
this.getList2()
|
|
|
this.getList3()
|
|
|
} else {
|
|
|
- this.$notify({ title: '删除失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.delfail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
}
|
|
|
})
|
|
|
// ExecDataByConfig(this.requestParam).then(response => {
|
|
|
// console.log('新增保存发送参数', this.requestParam)
|
|
|
// if (response.msg === 'fail') {
|
|
|
- // this.$notify({ title: '删除失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ // this.$notify({ title: this.$t('common.delfail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
// } else {
|
|
|
- // this.$notify({ title: '成功', message: '删除成功', type: 'success', duration: 2000 })
|
|
|
+ // this.$notify({ title: this.$t('common.succes'),message: this.$t('common.delSuccess'), type: 'success', duration: 2000 })
|
|
|
// this.getList2()
|
|
|
// this.getList3()
|
|
|
// }
|
|
|
// })
|
|
|
}).catch(() => {
|
|
|
- this.$message({ type: 'info', message: '已取消删除' })
|
|
|
+ this.$message({ type: 'info', message: this.$t('common.cancelMsg') })
|
|
|
})
|
|
|
},
|
|
|
handleSelectionChange2(val) {
|
|
@@ -2851,8 +2851,8 @@ export default {
|
|
|
if (this.selectList2.length == 0) {
|
|
|
this.$message({ type: 'error', message: '请选择配方详情', duration: 2000 })
|
|
|
} else {
|
|
|
- MessageBox.confirm('是否确认删除此信息?', {
|
|
|
- confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning'
|
|
|
+ MessageBox.confirm( this.$t('common.delMsg'), {
|
|
|
+ confirmButtonText: this.$t('common.confirm'), confirmButtonText: this.$t('common.cancel'), type: 'warning'
|
|
|
}).then(() => {
|
|
|
console.log(this.table2.list.length - this.selectList2.length)
|
|
|
let dateTime = parseTime(new Date(), '{y}-{m}-{d} {h}:{i}:{s}')
|
|
@@ -2897,11 +2897,11 @@ export default {
|
|
|
const data = this.requestParam
|
|
|
postJson(url, data).then(response => {
|
|
|
if (response.msg !== 'fail') {
|
|
|
- this.$notify({ title: '成功', message: '删除成功', type: 'success', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.succes'),message: this.$t('common.delSuccess'), type: 'success', duration: 2000 })
|
|
|
this.getList2()
|
|
|
this.getList3()
|
|
|
} else {
|
|
|
- this.$notify({ title: '删除失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.delfail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
}
|
|
|
})
|
|
|
} else {
|
|
@@ -2930,7 +2930,7 @@ export default {
|
|
|
ExecDataByConfig(this.requestParam).then(response => {
|
|
|
console.log('删除保存发送参数', this.requestParam)
|
|
|
if (response.msg === 'fail') {
|
|
|
- this.$notify({ title: '删除失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.delfail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
} else {
|
|
|
const url = 'authdata/ftdetai/del'
|
|
|
const data = {}
|
|
@@ -2940,11 +2940,11 @@ export default {
|
|
|
data.parammaps.type = this.table2.getdataListParm.parammaps.fttypeid
|
|
|
postJson(url, data).then(response => {
|
|
|
if (response.msg !== 'fail') {
|
|
|
- this.$notify({ title: '成功', message: '删除成功', type: 'success', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.succes'),message: this.$t('common.delSuccess'), type: 'success', duration: 2000 })
|
|
|
this.getList2()
|
|
|
this.getList3()
|
|
|
} else {
|
|
|
- this.$notify({ title: '删除失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.delfail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -2958,8 +2958,8 @@ export default {
|
|
|
handleSplitPremix(row) {
|
|
|
console.log('点击了拆分预混料')
|
|
|
MessageBox.confirm('是否确认拆分当前预混料?', {
|
|
|
- confirmButtonText: '确认',
|
|
|
- cancelButtonText: '取消',
|
|
|
+ confirmButtonText: this.$t('common.confirm'),
|
|
|
+ confirmButtonText: this.$t('common.cancel'),
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
this.requestParam.name = 'splitFTpre'
|
|
@@ -2973,9 +2973,9 @@ export default {
|
|
|
this.requestParam.parammaps.fweight = row.fweight
|
|
|
PostDataByName(this.requestParam).then(response => {
|
|
|
if (response.msg === 'fail') {
|
|
|
- this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('driver.saveFail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
} else {
|
|
|
- this.$notify({ title: '成功', message: '保存成功', type: 'success', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.succes'), message: this.$t('driver.saveSuccess'), type: 'success', duration: 2000 })
|
|
|
this.getList2()
|
|
|
this.getList3()
|
|
|
}
|
|
@@ -2983,7 +2983,7 @@ export default {
|
|
|
}).catch(() => {
|
|
|
this.$message({
|
|
|
type: 'info',
|
|
|
- message: '已取消删除'
|
|
|
+ message: this.$t('common.cancelMsg')
|
|
|
})
|
|
|
})
|
|
|
},
|
|
@@ -3141,10 +3141,10 @@ export default {
|
|
|
if (tname.test(response.data)) {
|
|
|
this.$message({ type: 'error', message: '预混配方已存在,不可重复生成', duration: 2000 })
|
|
|
} else {
|
|
|
- this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('driver.saveFail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
}
|
|
|
} else {
|
|
|
- this.$notify({ title: '', message: '保存成功', type: 'success', duration: 2000 })
|
|
|
+ this.$notify({ title: '', message: this.$t('driver.saveSuccess'), type: 'success', duration: 2000 })
|
|
|
this.detail.dialogFormVisible = false
|
|
|
this.getList3()
|
|
|
this.getList2()
|
|
@@ -3237,10 +3237,10 @@ export default {
|
|
|
if (tname.test(response.data)) {
|
|
|
this.$message({ type: 'error', message: '预混配方已存在,不可重复生成', duration: 2000 })
|
|
|
} else {
|
|
|
- this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('driver.saveFail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
}
|
|
|
} else {
|
|
|
- this.$notify({ title: '', message: '保存成功', type: 'success', duration: 2000 })
|
|
|
+ this.$notify({ title: '', message: this.$t('driver.saveSuccess'), type: 'success', duration: 2000 })
|
|
|
this.detail.dialogFormVisible = false
|
|
|
this.getList3()
|
|
|
this.getList2()
|
|
@@ -3341,7 +3341,7 @@ export default {
|
|
|
this.$message({ type: 'error', message: '请选择车次信息', duration: 2000 })
|
|
|
} else {
|
|
|
MessageBox.confirm('当前选中' + this.selectList.length + '条信息,是否生效?', {
|
|
|
- confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning'
|
|
|
+ confirmButtonText: this.$t('common.confirm'), confirmButtonText: this.$t('common.cancel'), type: 'warning'
|
|
|
}).then(() => {
|
|
|
let ids = []
|
|
|
for (let i = 0; i < this.selectList.length; i++) {
|
|
@@ -3369,7 +3369,7 @@ export default {
|
|
|
this.$message({ type: 'error', message: '请选择车次信息', duration: 2000 })
|
|
|
} else {
|
|
|
MessageBox.confirm('当前选中' + this.selectList.length + '条信息,是否禁用?', {
|
|
|
- confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning'
|
|
|
+ confirmButtonText: this.$t('common.confirm'), confirmButtonText: this.$t('common.cancel'), type: 'warning'
|
|
|
}).then(() => {
|
|
|
let ids = []
|
|
|
for (let i = 0; i < this.selectList.length; i++) {
|
|
@@ -3413,7 +3413,7 @@ export default {
|
|
|
},
|
|
|
handleGetUd(){
|
|
|
MessageBox.confirm('是否上传配方?', {
|
|
|
- confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning'
|
|
|
+ confirmButtonText: this.$t('common.confirm'), confirmButtonText: this.$t('common.cancel'), type: 'warning'
|
|
|
}).then(() => {
|
|
|
let url = 'authdata/gm/udfeedtemplet/push'
|
|
|
let data = {
|
|
@@ -3421,10 +3421,10 @@ export default {
|
|
|
}
|
|
|
postJson(url,data).then(response => {
|
|
|
if (response.msg !== 'fail') {
|
|
|
- this.$notify({ title: '成功', message: '保存成功', type: 'success', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('common.succes'), message: this.$t('driver.saveSuccess'), type: 'success', duration: 2000 })
|
|
|
this.getList()
|
|
|
} else {
|
|
|
- this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
|
|
|
+ this.$notify({ title: this.$t('driver.saveFail'), message: response.data, type: 'warning', duration: 2000 })
|
|
|
}
|
|
|
})
|
|
|
})
|