---用户管理,网元管理等中英文

This commit is contained in:
lai
2023-11-08 11:21:39 +08:00
parent 8e467b95a2
commit 1bc9358d30
37 changed files with 582 additions and 404 deletions

View File

@@ -594,11 +594,11 @@ function fnModalCancel() {
*/
function fnRecordRun(row: Record<string, any>) {
Modal.confirm({
title: '提示',
title: t('common.tipTitle'),
content: `确认激活编号为 【${row.id}】 的任务?`,
onOk() {
const key = 'taskRun';
message.loading({ content: '请稍等...', key });
message.loading({ content: t('common.loading'), key });
taskRun(row).then(res => {
if (res.code === RESULT_CODE_SUCCESS) {
message.success({
@@ -625,11 +625,11 @@ function fnRecordRun(row: Record<string, any>) {
*/
function fnRecordStop(row: Record<string, any>) {
Modal.confirm({
title: '提示',
title: t('common.tipTitle'),
content: `确认挂起编号为 【${row.id}】 的任务?`,
onOk() {
const key = 'taskStop';
message.loading({ content: '请稍等...', key });
message.loading({ content: t('common.loading'), key });
taskStop(row).then(res => {
if (res.code === RESULT_CODE_SUCCESS) {
message.success({