修改车队管理路由

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

@ -28,7 +28,11 @@ export default {
search: 'Search', search: 'Search',
reset: 'reset', reset: 'reset',
cancel:'cancel', 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: { common: {
success: 'success', success: 'success',

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

@ -745,7 +745,9 @@ function submitForm() {
/** 删除按钮操作 */ /** 删除按钮操作 */
function handleDelete(row) { function handleDelete(row) {
const postIds = row.id || ids.value; 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); return delBaseCar(postIds);
}).then(() => { }).then(() => {
getList(); getList();

@ -529,7 +529,9 @@ function submitForm() {
/** 删除按钮操作 */ /** 删除按钮操作 */
function handleDelete(row) { function handleDelete(row) {
const postIds = row.postId || ids.value; 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); return delCarQueue(postIds);
}).then(() => { }).then(() => {
getList(); getList();
@ -537,6 +539,7 @@ function handleDelete(row) {
}).catch(() => { }).catch(() => {
}); });
} }
/** 导出按钮操作 */ /** 导出按钮操作 */
function handleExport() { function handleExport() {
proxy.download("system/post/export", { proxy.download("system/post/export", {

@ -565,7 +565,9 @@ function submitForm() {
/** 删除按钮操作 */ /** 删除按钮操作 */
function handleDelete(row) { function handleDelete(row) {
const postIds = row.postId || ids.value; 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); return delCartype(postIds);
}).then(() => { }).then(() => {
getList(); getList();

@ -488,7 +488,9 @@ function submitForm() {
/** 删除按钮操作 */ /** 删除按钮操作 */
function handleDelete(row) { function handleDelete(row) {
const postIds = row.id || ids.value; 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); return delBasetyre(postIds);
}).then(() => { }).then(() => {
getList(); getList();

Loading…
Cancel
Save