add 自动线程国际化

This commit is contained in:
周俊杰
2023-11-30 10:54:39 +08:00
parent f5e7e2023f
commit c294d65603
10 changed files with 427 additions and 388 deletions

View File

@@ -0,0 +1,17 @@
export default {
'Auto': {
'table': {
'name': 'name',
'code': 'code',
'status': 'status',
'thread_name': 'thread_name',
'thread_state': 'thread_state',
'usedStatus': 'usedStatus',
'stopMessage': 'stopMessage',
'operate': 'operate',
},
'msg': {
'stop_msg': 'Are you sure to stop this thread?'
}
}
}

View File

@@ -0,0 +1,17 @@
export default {
'Auto': {
'table': {
'name': 'nama',
'code': 'nomor',
'status': 'keadaan',
'thread_name': 'Nama Benda',
'thread_state': 'Status benang',
'usedStatus': 'Status penggunaan',
'stopMessage': 'Hentikan pesan',
'operate': 'operasi',
},
'msg': {
'stop_msg': 'Apakah Anda yakin untuk menghentikan benang ini'
}
}
}

View File

@@ -0,0 +1,17 @@
export default {
'Auto': {
'table': {
'name': '名称',
'code': '编号',
'status': '状态',
'thread_name': '线程名',
'thread_state': '线程状态',
'usedStatus': '使用状态',
'stopMessage': '停止信息',
'operate': '操作',
},
'msg': {
'stop_msg': '确定停止该线程吗?'
}
}
}

View File

@@ -11,19 +11,21 @@ import protocol from './protocol/zh'
import address from './address/zh' import address from './address/zh'
import storageCell from './storageCell/zh' import storageCell from './storageCell/zh'
import route from './route/zh' import route from './route/zh'
import auto from './auto/zh'
export default { export default {
...zhLocale, ...zhLocale,
...zh, ...zh,
...menu, ...menu,
...param, ...param,
...device, ...device,
...opc, ...opc,
...protocol, ...protocol,
...address, ...address,
...storageCell, ...storageCell,
...route, ...route,
...instruction, ...instruction,
...task, ...task,
...history ...history,
} ...auto
}

View File

@@ -1,112 +1,106 @@
export default { export default {
'lang': 'English', 'lang': 'English',
'common': { 'common': {
'home': 'Dashboard', 'home': 'Dashboard',
'Layout_setting': 'Layout Setting', 'Layout_setting': 'Layout Setting',
'Personal_center': 'Personal Center', 'Personal_center': 'Personal Center',
'Log_out': 'Log Out', 'Log_out': 'Log Out',
'Personal_information': 'Personal Information', 'Personal_information': 'Personal Information',
'username': 'UserName', 'username': 'UserName',
'name': 'Name', 'name': 'Name',
'phone': 'Phone Number', 'phone': 'Phone Number',
'phone2': 'Phone', 'phone2': 'Phone',
'sex': 'Sex', 'sex': 'Sex',
'sex_male': 'Male', 'sex_male': 'Male',
'sex_female': 'Female', 'sex_female': 'Female',
'email': 'E-mail', 'email': 'E-mail',
'Security_settings': 'Security Settings', 'Security_settings': 'Security Settings',
'Save_settings': 'Save Settings', 'Save_settings': 'Save Settings',
'Reset_settings': 'Reset Settings', 'Reset_settings': 'Reset Settings',
'Change_password': 'Change Password', 'Change_password': 'Change Password',
'New_password': 'New Password', 'New_password': 'New Password',
'Old_password': 'Old Password', 'Old_password': 'Old Password',
'Verify_password': 'Verify Password', 'Verify_password': 'Verify Password',
'User_information': 'User Information', 'User_information': 'User Information',
'Operation_log': 'Operation Log', 'Operation_log': 'Operation Log',
'action': 'Action', 'action': 'Action',
'IP_source': 'IP Source', 'IP_source': 'IP Source',
'Browser': 'Browser', 'Browser': 'Browser',
'Request_time': 'Request Time', 'Request_time': 'Request Time',
'Creation_date': 'Creation Date', 'Creation_date': 'Creation Date',
'account': 'Account', 'account': 'Account',
'password': 'Password', 'password': 'Password',
'verification_code': 'Code', 'verification_code': 'Code',
'login_rm': 'Remember Me', 'login_rm': 'Remember Me',
'login': 'Login', 'login': 'Login',
'login_ing': 'Logging in...', 'login_ing': 'Logging in...',
'Create': 'Create', 'Create': 'Create',
'Update': 'Update', 'Update': 'Update',
'Delete': 'Delete', 'Delete': 'Delete',
'Synchronize': 'Synchronize', 'Export': 'Export',
'Export': 'Export', 'Editors': 'Editor',
'Editors': 'Editor', 'SelectAll': 'SelectAll',
'SelectAll': 'SelectAll', 'Query': 'Query',
'Query': 'Query', 'Reset': 'Reset',
'Reset': 'Reset', 'Confirm': 'Confirm',
'Confirm': 'Confirm', 'Cancel': 'Cancel',
'Cancel': 'Cancel', 'Forced_cancellation': 'Forced_cancellation',
'Forced_cancellation': 'Forced_cancellation', 'Initialize': 'Initialize',
'Initialize': 'Initialize', 'Operate': 'Operate',
'Operate': 'Operate', 'Refresh': 'Refresh',
'Refresh': 'Refresh', 'Closes': 'Close',
'Closes': 'Close', 'Closes_l': 'Close Left',
'Closes_l': 'Close Left', 'Closes_r': 'Close Right',
'Closes_r': 'Close Right', 'Closes_o': 'Close Other',
'Closes_o': 'Close Other', 'Closes_a': 'Close All',
'Closes_a': 'Close All', 'Theme_style_setting': 'Theme Style Setting',
'Theme_style_setting': 'Theme Style Setting', 'Theme_color': 'Theme Color',
'Theme_color': 'Theme Color', 'System_layout_configuration': 'System Layout Configuration',
'System_layout_configuration': 'System Layout Configuration', 'Open': 'Open',
'Open': 'Open', 'Fixation': 'Fixation',
'Fixation': 'Fixation', 'Display': 'Display',
'Display': 'Display', 'Dynamic_titles': 'Dynamic Titles',
'Dynamic_titles': 'Dynamic Titles', 'crudTip': 'Are you sure to delete this data?',
'crudTip': 'Are you sure to delete this data?', 'startDate': 'StartDate',
'startDate': 'StartDate', 'endDate': 'EndDate',
'endDate': 'EndDate', 'moreMenu': 'MoreMenu',
'moreMenu': 'MoreMenu', 'browses': 'browse',
'browses': 'browse', 'fz': 'Full screen zoom',
'fz': 'Full screen zoom', 'Tips': 'Tips',
'Tips': 'Tips', 'Tip1': 'Confirm deletion of selected',
'Tip1': 'Confirm deletion of selected', 'Tip2': 'Data?',
'Tip2': 'Data?', 'Tip3': 'User name not used as login',
'Tip3': 'User name not used as login', 'Tip4': 'Mobile phone number cannot be duplicate',
'Tip4': 'Mobile phone number cannot be duplicate', 'Tip5': 'Please enter a phone number',
'Tip5': 'Please enter a phone number', 'Tip6': 'Please enter the correct 11 digit phone number',
'Tip6': 'Please enter the correct 11 digit phone number', 'Tip7': 'Drag and drop the excel file here or',
'Tip7': 'Drag and drop the excel file here or', 'Tip8': 'The two passwords are different',
'Tip8': 'The two passwords are different', 'Tip9': 'Please enter your password again',
'Tip9': 'Please enter your password again', 'Tip10': 'Please enter your old password',
'Tip10': 'Please enter your old password', 'Tip11': 'Please enter your new password',
'Tip11': 'Please enter your new password', 'Tip12': '6 to 20 characters in length',
'Tip12': '6 to 20 characters in length', 'Tip13': 'Are you sure to log out and exit the system?',
'Tip13': 'Are you sure to log out and exit the system?', 'Tip14': 'WebSocket connection error',
'Tip14': 'WebSocket connection error', 'Tip15': 'Please enter an icon name',
'Tip15': 'Please enter an icon name', 'loading': 'loading...',
'loading': 'loading...', 'synchronous': 'synchronous',
'synchronous': 'synchronous', 'determine': 'determine',
'import': 'import', 'stop': 'stop',
'driver_configuration': 'driver configuration', 'firing': 'firing',
'create_time': 'create time', },
'update_time': 'update time', 'monitor': {
'create_by': 'create people', 'sys': 'System',
'update_by': 'update people', 'day': 'Running Day',
'is_on': 'Enable or not', 'status': 'Status',
'please': 'please select' 'core': 'Core',
}, 'cpu': 'CPU Utilization',
'monitor': { 'memory': 'Memory Utilization',
'sys': 'System', 'tality': 'Tality',
'day': 'Running Day', 'used': 'Used',
'status': 'Status', 'leisure': 'Leisure',
'core': 'Core', 'exchange': 'Exchange Utilization',
'cpu': 'CPU Utilization', 'disk': 'Disk Utilization',
'memory': 'Memory Utilization', 'cpu_monitoring': 'Cpu Utilization Monitoring',
'tality': 'Tality', 'memory_monitoring': 'Memory Utilization Monitoring'
'used': 'Used', }
'leisure': 'Leisure', }
'exchange': 'Exchange Utilization',
'disk': 'Disk Utilization',
'cpu_monitoring': 'Cpu Utilization Monitoring',
'memory_monitoring': 'Memory Utilization Monitoring'
}
}

View File

@@ -11,19 +11,21 @@ import protocol from './protocol/en'
import address from './address/en' import address from './address/en'
import storageCell from './storageCell/en' import storageCell from './storageCell/en'
import route from './route/en' import route from './route/en'
import auto from './auto/en'
export default { export default {
...enLocale, ...enLocale,
...en, ...en,
...menu, ...menu,
...param, ...param,
...instruction, ...instruction,
...task, ...task,
...history, ...history,
...device, ...device,
...opc, ...opc,
...protocol, ...protocol,
...address, ...address,
...storageCell, ...storageCell,
...route ...route,
} ...auto
}

View File

@@ -1,112 +1,106 @@
export default { export default {
'lang': 'in', 'lang': 'in',
'common': { 'common': {
'home': 'rumah', // 首页 'home': 'rumah', // 首页
'Layout_setting': 'Pengaturan Bentangan', 'Layout_setting': 'Pengaturan Bentangan',
'Personal_center': 'Pusat Pribadi', 'Personal_center': 'Pusat Pribadi',
'Log_out': 'Log Out', 'Log_out': 'Log Out',
'Personal_information': 'Informasi Pribadi', 'Personal_information': 'Informasi Pribadi',
'username': 'Nama Pengguna', 'username': 'Nama Pengguna',
'name': 'Nama', 'name': 'Nama',
'phone': 'Nomor Ponsel', 'phone': 'Nomor Ponsel',
'phone2': 'Ponsel', 'phone2': 'Ponsel',
'sex': 'Gender', 'sex': 'Gender',
'sex_male': 'laki-laki', 'sex_male': 'laki-laki',
'sex_female': 'wanita', 'sex_female': 'wanita',
'email': 'E-mail', 'email': 'E-mail',
'Security_settings': 'Pengaturan Keamanan', 'Security_settings': 'Pengaturan Keamanan',
'Save_settings': 'Simpan Pengaturan', 'Save_settings': 'Simpan Pengaturan',
'Reset_settings': 'Reset pengaturan', 'Reset_settings': 'Reset pengaturan',
'Change_password': 'Ubah kata sandi', 'Change_password': 'Ubah kata sandi',
'New_password': 'Kata sandi baru', 'New_password': 'Kata sandi baru',
'Old_password': 'Kata sandi lama', 'Old_password': 'Kata sandi lama',
'Verify_password': 'Konfirmasi Sandi', 'Verify_password': 'Konfirmasi Sandi',
'User_information': 'Informasi Pengguna', 'User_information': 'Informasi Pengguna',
'Operation_log': 'Log Operasi', 'Operation_log': 'Log Operasi',
'action': 'Perilaku', 'action': 'Perilaku',
'Browser': 'Pelayar', 'Browser': 'Pelayar',
'IP_source': 'IP Sumber', 'IP_source': 'IP Sumber',
'Request_time': 'Meminta Konsumsi Waktu', 'Request_time': 'Meminta Konsumsi Waktu',
'Creation_date': 'Dicipta Pada', 'Creation_date': 'Dicipta Pada',
'account': 'Akaun', 'account': 'Akaun',
'password': 'Sandi', 'password': 'Sandi',
'verification_code': 'Kode', 'verification_code': 'Kode',
'login_rm': 'Ingat aku', 'login_rm': 'Ingat aku',
'login': 'Login', 'login': 'Login',
'login_ing': 'Daftar masuk', 'login_ing': 'Daftar masuk',
'Create': 'Buat', 'Create': 'Buat',
'Update': 'Kemaskini', 'Update': 'Kemaskini',
'Delete': 'Hapus', 'Delete': 'Hapus',
'Synchronize': 'Sinkronisasi', 'Export': 'Ekspor',
'Export': 'Ekspor', 'Editors': 'Editor',
'Editors': 'Editor', 'SelectAll': 'Pilih Semua',
'SelectAll': 'Pilih Semua', 'Query': 'Pertanyaan',
'Query': 'Pertanyaan', 'Reset': 'Reset',
'Reset': 'Reset', 'Confirm': 'konfirmasi',
'Confirm': 'konfirmasi', 'Cancel': 'Batalkan',
'Cancel': 'Batalkan', 'Forced_cancellation': 'Pembatalan Paksa',
'Forced_cancellation': 'Pembatalan Paksa', 'Initialize': 'Menginisialisasi',
'Initialize': 'Menginisialisasi', 'Operate': 'operasi',
'Operate': 'operasi', 'Refresh': 'Segar',
'Refresh': 'Segar', 'Closes': 'Tutup',
'Closes': 'Tutup', 'Closes_l': 'Tutup Sisi Kiri',
'Closes_l': 'Tutup Sisi Kiri', 'Closes_r': 'Tutup Sisi Kanan',
'Closes_r': 'Tutup Sisi Kanan', 'Closes_o': 'Tutup Lain',
'Closes_o': 'Tutup Lain', 'Closes_a': 'Tutup Semua',
'Closes_a': 'Tutup Semua', 'Theme_style_setting': 'Pengaturan Gaya Tema',
'Theme_style_setting': 'Pengaturan Gaya Tema', 'Theme_color': 'Warna Tema',
'Theme_color': 'Warna Tema', 'System_layout_configuration': 'Konfigurasi layout sistem',
'System_layout_configuration': 'Konfigurasi layout sistem', 'Open': 'Buka',
'Open': 'Buka', 'Fixation': 'Tetap',
'Fixation': 'Tetap', 'Display': 'Tampilan',
'Display': 'Tampilan', 'Dynamic_titles': 'Tajuk Dinamik',
'Dynamic_titles': 'Tajuk Dinamik', 'crudTip': 'Apakah Anda yakin untuk menghapus data ini?',
'crudTip': 'Apakah Anda yakin untuk menghapus data ini?', 'startDate': 'TarikhAwal',
'startDate': 'TarikhAwal', 'endDate': 'TarikhAkhir',
'endDate': 'TarikhAkhir', 'moreMenu': 'LebihBanyakMenu',
'moreMenu': 'LebihBanyakMenu', 'browses': 'melayar',
'browses': 'melayar', 'fz': 'Zum layar penuh',
'fz': 'Zum layar penuh', 'Tips': 'Prompt',
'Tips': 'Prompt', 'Tip1': 'Konfirmasi Penghapusan Yang Dipilih',
'Tip1': 'Konfirmasi Penghapusan Yang Dipilih', 'Tip2': 'Data?',
'Tip2': 'Data?', 'Tip3': 'Nama pengguna tidak digunakan sebagai daftar masuk',
'Tip3': 'Nama pengguna tidak digunakan sebagai daftar masuk', 'Tip4': 'Nomor telepon ponsel tidak dapat duplikasi',
'Tip4': 'Nomor telepon ponsel tidak dapat duplikasi', 'Tip5': 'Silakan masukkan nomor telepon',
'Tip5': 'Silakan masukkan nomor telepon', 'Tip6': 'Silakan masukkan nomor telepon 11 digit yang benar',
'Tip6': 'Silakan masukkan nomor telepon 11 digit yang benar', 'Tip7': 'Seret dan jatuhkan berkas Excel di sini atau',
'Tip7': 'Seret dan jatuhkan berkas Excel di sini atau', 'Tip8': 'Kata sandi yang dimasukkan dua kali tidak cocok',
'Tip8': 'Kata sandi yang dimasukkan dua kali tidak cocok', 'Tip9': 'Silakan masukkan sandi lagi',
'Tip9': 'Silakan masukkan sandi lagi', 'Tip10': 'Silakan masukkan kata sandi lama Anda',
'Tip10': 'Silakan masukkan kata sandi lama Anda', 'Tip11': 'Silakan masukkan sandi baru',
'Tip11': 'Silakan masukkan sandi baru', 'Tip12': 'Antara 6 dan 20 karakter dalam panjang',
'Tip12': 'Antara 6 dan 20 karakter dalam panjang', 'Tip13': 'Apakah Anda yakin untuk log keluar dan keluar dari sistem?',
'Tip13': 'Apakah Anda yakin untuk log keluar dan keluar dari sistem?', 'Tip14': 'Koneksi WebSocket error',
'Tip14': 'Koneksi WebSocket error', 'Tip15': 'Silakan masukkan nama ikon',
'Tip15': 'Silakan masukkan nama ikon', 'loading': 'Memuatkan Data...',
'loading': 'Memuatkan Data...', 'synchronous': 'Sinkron',
'synchronous': 'Sinkron', 'determine': 'konfirmasi',
'import': 'Mengimpor', 'stop': 'berhenti',
'driver_configuration': 'Konfigurasi driver', 'firing': 'start-up',
'create_time': 'Buat waktu', },
'update_time': 'Untuk memperbarui waktu', 'monitor': {
'create_by': 'Dibuat oleh', 'sys': 'Sistem',
'update_by': 'pengubah', 'day': 'Proyek ini telah berjalan terus menerus',
'is_on': 'Diaktifkan atau tidak', 'status': 'Keadaan',
'please': 'Silahkan pilih' 'core': 'Inti',
}, 'cpu': 'Kadar penggunaan CPU',
'monitor': { 'memory': 'Kadar penggunaan ingatan',
'sys': 'Sistem', 'tality': 'Total',
'day': 'Proyek ini telah berjalan terus menerus', 'used': 'Digunakan',
'status': 'Keadaan', 'leisure': 'Bebas',
'core': 'Inti', 'exchange': 'Kadar penggunaan area pertukaran',
'cpu': 'Kadar penggunaan CPU', 'disk': 'Kadar penggunaan disk',
'memory': 'Kadar penggunaan ingatan', 'cpu_monitoring': 'Monitor penggunaan CPU',
'tality': 'Total', 'memory_monitoring': 'Monitor penggunaan memori'
'used': 'Digunakan', }
'leisure': 'Bebas', }
'exchange': 'Kadar penggunaan area pertukaran',
'disk': 'Kadar penggunaan disk',
'cpu_monitoring': 'Monitor penggunaan CPU',
'memory_monitoring': 'Monitor penggunaan memori'
}
}

View File

@@ -11,19 +11,21 @@ import protocol from './protocol/in'
import address from './address/in' import address from './address/in'
import storageCell from './storageCell/in' import storageCell from './storageCell/in'
import route from './route/in' import route from './route/in'
import auto from './auto/in'
export default { export default {
...idLocale, ...idLocale,
...id, ...id,
...menu, ...menu,
...param, ...param,
...instruction, ...instruction,
...task, ...task,
...history, ...history,
...device, ...device,
...opc, ...opc,
...protocol, ...protocol,
...address, ...address,
...storageCell, ...storageCell,
...route ...route,
} ...auto
}

View File

@@ -1,112 +1,106 @@
export default { export default {
'lang': 'zh', 'lang': 'zh',
'common': { 'common': {
'home': '首页', 'home': '首页',
'Layout_setting': '布局设置', 'Layout_setting': '布局设置',
'Personal_center': '个人中心', 'Personal_center': '个人中心',
'Log_out': '退出登录', 'Log_out': '退出登录',
'Personal_information': '个人信息', 'Personal_information': '个人信息',
'username': '用户姓名', 'username': '用户姓名',
'name': '姓名', 'name': '姓名',
'phone': '手机号码', 'phone': '手机号码',
'phone2': '手机号', 'phone2': '手机号',
'sex': '性别', 'sex': '性别',
'sex_male': '男', 'sex_male': '男',
'sex_female': '女', 'sex_female': '女',
'email': '用户邮箱', 'email': '用户邮箱',
'Security_settings': '安全设置', 'Security_settings': '安全设置',
'Save_settings': '保存配置', 'Save_settings': '保存配置',
'Reset_settings': '重置配置', 'Reset_settings': '重置配置',
'Change_password': '修改密码', 'Change_password': '修改密码',
'New_password': '新密码', 'New_password': '新密码',
'Old_password': '旧密码', 'Old_password': '旧密码',
'Verify_password': '确认密码', 'Verify_password': '确认密码',
'User_information': '用户资料', 'User_information': '用户资料',
'Operation_log': '操作日志', 'Operation_log': '操作日志',
'action': '行为', 'action': '行为',
'IP_source': 'IP来源', 'IP_source': 'IP来源',
'Browser': '浏览器', 'Browser': '浏览器',
'Request_time': '请求耗时', 'Request_time': '请求耗时',
'Creation_date': '创建日期', 'Creation_date': '创建日期',
'account': '账号', 'account': '账号',
'password': '密码', 'password': '密码',
'verification_code': '验证码', 'verification_code': '验证码',
'login_rm': '记住我', 'login_rm': '记住我',
'login': '登 录', 'login': '登 录',
'login_ing': '登 录 中...', 'login_ing': '登 录 中...',
'Create': '新增', 'Create': '新增',
'Update': '修改', 'Update': '修改',
'Delete': '删除', 'Delete': '删除',
'Synchronize': '同步', 'Export': '导出',
'Export': '导出', 'Editors': '编辑',
'Editors': '编辑', 'SelectAll': '全选',
'SelectAll': '全选', 'Query': '查询',
'Query': '查询', 'Reset': '重置',
'Reset': '重置', 'Confirm': '确认',
'Confirm': '确认', 'Cancel': '取消',
'Cancel': '取消', 'Forced_cancellation': '强制取消',
'Forced_cancellation': '强制取消', 'Initialize': '初始化',
'Initialize': '初始化', 'Operate': '操作',
'Operate': '操作', 'Refresh': '刷新',
'Refresh': '刷新', 'Closes': '关闭',
'Closes': '关闭', 'Closes_l': '关闭左侧',
'Closes_l': '关闭侧', 'Closes_r': '关闭侧',
'Closes_r': '关闭右侧', 'Closes_o': '关闭其他',
'Closes_o': '关闭其他', 'Closes_a': '关闭全部',
'Closes_a': '关闭全部', 'Theme_style_setting': '主题风格设置',
'Theme_style_setting': '主题风格设置', 'Theme_color': '主题颜色',
'Theme_color': '主题颜色', 'System_layout_configuration': '系统布局配置',
'System_layout_configuration': '系统布局配置', 'Open': '开启',
'Open': '开启', 'Fixation': '固定',
'Fixation': '固定', 'Display': '显示',
'Display': '显示', 'Dynamic_titles': '动态标题',
'Dynamic_titles': '动态标题', 'crudTip': '确定删除本条数据吗?',
'crudTip': '确定删除本条数据吗?', 'startDate': '开始日期',
'startDate': '开始日期', 'endDate': '结束日期',
'endDate': '结束日期', 'moreMenu': '更多菜单',
'moreMenu': '更多菜单', 'browses': '浏览',
'browses': '浏览', 'fz': '全屏缩放',
'fz': '全屏缩放', 'Tips': '提示',
'Tips': '提示', 'Tip1': '确认删除选中的',
'Tip1': '确认删除选中的', 'Tip2': '条数据?',
'Tip2': '条数据?', 'Tip3': '用户姓名不作为登录使用',
'Tip3': '用户姓名不作为登录使用', 'Tip4': '手机号码不能重复',
'Tip4': '手机号码不能重复', 'Tip5': '请输入电话号码',
'Tip5': '请输入电话号码', 'Tip6': '请输入正确的11位手机号码',
'Tip6': '请输入正确的11位手机号码', 'Tip7': '拖拽excel文件到此处 或者',
'Tip7': '拖拽excel文件到此处 或者', 'Tip8': '两次输入的密码不一致',
'Tip8': '次输入密码不一致', 'Tip9': '请再次输入密码',
'Tip9': '请再次输入密码', 'Tip10': '请输入密码',
'Tip10': '请输入密码', 'Tip11': '请输入密码',
'Tip11': '请输入新密码', 'Tip12': '长度在 6 到 20 个字符',
'Tip12': '长度在 6 到 20 个字符', 'Tip13': '确定注销并退出系统吗?',
'Tip13': '确定注销并退出系统吗?', 'Tip14': 'WebSocket连接发生错误',
'Tip14': 'WebSocket连接发生错误', 'Tip15': '请输入图标名称',
'Tip15': '请输入图标名称', 'loading': '数据加载中...',
'loading': '数据加载中...', 'synchronous': '同步',
'synchronous': '同步', 'determine': '确定',
'import': '导入', 'stop': '停止',
'driver_configuration': '驱动配置', 'firing': '启动',
'create_time': '创建时间', },
'update_time': '更新时间', 'monitor': {
'create_by': '创建者', 'sys': '系统',
'update_by': '修改者', 'day': '项目已不间断运行',
'is_on': '是否启用', 'status': '状态',
'please': '请选择' 'cpu': 'CPU使用率',
}, 'core': '核心',
'monitor': { 'memory': '内存使用率',
'sys': '系统', 'tality': '总量',
'day': '项目已不间断运行', 'used': '已使用',
'status': '状态', 'leisure': '空闲',
'cpu': 'CPU使用率', 'exchange': '交换区使用率',
'core': '核心', 'disk': '磁盘使用率',
'memory': '内存使用率', 'cpu_monitoring': 'CPU使用率监控',
'tality': '总量', 'memory_monitoring': '内存使用率监控'
'used': '已使用', }
'leisure': '空闲', }
'exchange': '交换区使用率',
'disk': '磁盘使用率',
'cpu_monitoring': 'CPU使用率监控',
'memory_monitoring': '内存使用率监控'
}
}

View File

@@ -12,27 +12,27 @@
<!--表格渲染--> <!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" style="width: 100%;" @selection-change="crud.selectionChangeHandler"> <el-table ref="table" v-loading="crud.loading" :data="crud.data" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table-column :selectable="checkboxT" type="selection" width="55" /> <el-table-column :selectable="checkboxT" type="selection" width="55" />
<el-table-column show-overflow-tooltip prop="name" label="名称" /> <el-table-column show-overflow-tooltip prop="name" :label="$t('Auto.table.name')" />
<el-table-column :show-overflow-tooltip="false" prop="code" label="编号" width="200" /> <el-table-column :show-overflow-tooltip="false" prop="code" :label="$t('Auto.table.code')" width="200" />
<el-table-column show-overflow-tooltip prop="status" label="状态" /> <el-table-column show-overflow-tooltip prop="status" :label="$t('Auto.table.status')" />
<el-table-column show-overflow-tooltip prop="thread_name" label="线程名" /> <el-table-column show-overflow-tooltip prop="thread_name" :label="$t('Auto.table.thread_name')" />
<el-table-column show-overflow-tooltip prop="thread_state" label="线程状态" /> <el-table-column show-overflow-tooltip prop="thread_state" :label="$t('Auto.table.thread_state')" />
<el-table-column show-overflow-tooltip prop="usedStatus" label="使用状态" /> <el-table-column show-overflow-tooltip prop="usedStatus" :label="$t('Auto.table.usedStatus')" />
<el-table-column show-overflow-tooltip prop="stopMessage" width="90px" label="停止信息" /> <el-table-column show-overflow-tooltip prop="stopMessage" width="90px" :label="$t('Auto.table.stopMessage')" />
<el-table-column v-permission="['admin','timing:edit','timing:del']" label="操作" width="170px" align="center" fixed="right"> <el-table-column v-permission="['admin','timing:edit','timing:del']" :label="$t('Auto.table.operate')" width="170px" align="center" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-permission="['admin','timing:edit']" style="margin-left: -2px" type="text" size="mini" @click="start(scope.row.code)">启动</el-button> <el-button v-permission="['admin','timing:edit']" style="margin-left: -2px" type="text" size="mini" @click="start(scope.row.code)">{{ $t('common.firing') }}</el-button>
<el-popover <el-popover
:ref="scope.row.code" :ref="scope.row.code"
placement="top" placement="top"
width="200" width="200"
> >
<p>确定停止该线程吗</p> {{ $t('Auto.msg.stop_msg') }}
<div style="text-align: right; margin: 0"> <div style="text-align: right; margin: 0">
<el-button size="mini" type="text" @click="$refs[scope.row.code].doClose()">取消</el-button> <el-button size="mini" type="text" @click="$refs[scope.row.code].doClose()">{{ $t('common.Cancel') }}</el-button>
<el-button :loading="delLoading" type="primary" size="mini" @click="stop(scope.row.code)">确定</el-button> <el-button :loading="delLoading" type="primary" size="mini" @click="stop(scope.row.code)">{{ $t('common.determine') }}</el-button>
</div> </div>
<el-button slot="reference" type="text" size="mini">停止</el-button> <el-button slot="reference" type="text" size="mini">{{ $t('common.stop') }}</el-button>
</el-popover> </el-popover>
</template> </template>