---用户管理,网元管理等中英文
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user