修改车队管理路由

master
夜笙歌 2 years ago
parent 055b5781c8
commit 02bbee1a50

@ -28,7 +28,11 @@ export default {
search: 'Search',
reset: 'reset',
cancel:'cancel',
ok:'ok'
ok:'ok',
confirmDeletion:'Are you sure to delete the data item whose {key} is {value}?',
modificationSuccessful:'Modification Successful',
addedSuccessfully:'Added Successfully',
successfullyDeleted:'Successfully Deleted'
},
common: {
success: 'success',

@ -29,6 +29,7 @@ export default {
reset: '重置',
cancel:'取 消',
ok:'确 定',
confirmDeletion:'是否确认删除%{key}为%{value}的数据项?',
modificationSuccessful:'修改成功',
addedSuccessfully:'新增成功',
successfullyDeleted:'删除成功'

@ -745,7 +745,9 @@ function submitForm() {
/** 删除按钮操作 */
function handleDelete(row) {
const postIds = row.id || ids.value;
proxy.$modal.confirm('是否确认删除岗位编号为"' + postIds + '"的数据项?').then(function () {
proxy.$modal.confirm(t('option.confirmDeletion', {
key: t('baseCar.car.companyCode'), value: postIds
})).then(function () {
return delBaseCar(postIds);
}).then(() => {
getList();

@ -529,7 +529,9 @@ function submitForm() {
/** 删除按钮操作 */
function handleDelete(row) {
const postIds = row.postId || ids.value;
proxy.$modal.confirm('是否确认删除岗位编号为"' + postIds + '"的数据项?').then(function () {
proxy.$modal.confirm(t('option.confirmDeletion', {
key: t('carQueue.carQueue.tyreFacCode'), value: postIds
})).then(function () {
return delCarQueue(postIds);
}).then(() => {
getList();
@ -537,6 +539,7 @@ function handleDelete(row) {
}).catch(() => {
});
}
/** 导出按钮操作 */
function handleExport() {
proxy.download("system/post/export", {

@ -565,7 +565,9 @@ function submitForm() {
/** 删除按钮操作 */
function handleDelete(row) {
const postIds = row.postId || ids.value;
proxy.$modal.confirm('是否确认删除岗位编号为"' + postIds + '"的数据项?').then(function () {
proxy.$modal.confirm(t('option.confirmDeletion', {
key: t('baseCar.carType.tyreFacCode'), value: postIds
})).then(function () {
return delCartype(postIds);
}).then(() => {
getList();

@ -488,7 +488,9 @@ function submitForm() {
/** 删除按钮操作 */
function handleDelete(row) {
const postIds = row.id || ids.value;
proxy.$modal.confirm('是否确认删除岗位编号为"' + postIds + '"的数据项?').then(function () {
proxy.$modal.confirm(t('option.confirmDeletion', {
key: t('tireManagement.tireFactoryCode'), value: postIds
})).then(function () {
return delBasetyre(postIds);
}).then(() => {
getList();

Loading…
Cancel
Save