diff --git a/src/components/CronModal/index.vue b/src/components/CronModal/index.vue
index 5129a023..abd76ff7 100644
--- a/src/components/CronModal/index.vue
+++ b/src/components/CronModal/index.vue
@@ -1,9 +1,10 @@
-
@@ -31,7 +32,7 @@
v-model:value="cronStr"
disabled
/>
-
+
-
-
- emit('ok', e)"
- @cancel="(e:any) => emit('cancel', e)"
- >
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/components/UploadModal/index.vue b/src/components/UploadModal/index.vue
index f8ad80f9..e4d65cc5 100644
--- a/src/components/UploadModal/index.vue
+++ b/src/components/UploadModal/index.vue
@@ -35,19 +35,22 @@ const props = defineProps({
/**弹框关闭事件 */
function fnModalClose() {
- if(props.loading) return
+ if (props.loading) return;
emit('close');
}
/**上传前检查或转换压缩 */
function fnBeforeUpload(file: FileType) {
if (props.loading) return false;
- // 检查文件大小
- if (props.size > 0) {
+ // 检查文件大小
+ if (props.size > 0) {
const fileSize = file.size;
const isLtM = fileSize / 1024 / 1024 < props.size;
if (!isLtM) {
- message.error(`${t('components.UploadModal.allowFilter')} ${props.size}MB`, 3);
+ message.error(
+ `${t('components.UploadModal.allowFilter')} ${props.size}MB`,
+ 3
+ );
return false;
}
}
@@ -56,7 +59,10 @@ function fnBeforeUpload(file: FileType) {
const fileName = file.name;
const isAllowType = props.ext.some(v => fileName.endsWith(v));
if (!isAllowType) {
- message.error(`${t('components.UploadModal.onlyAllow')} ${props.ext.join('、')}`, 3);
+ message.error(
+ `${t('components.UploadModal.onlyAllow')} ${props.ext.join('、')}`,
+ 3
+ );
return false;
}
}
@@ -65,13 +71,14 @@ function fnBeforeUpload(file: FileType) {
/**上传请求发出 */
function fnUpload(up: UploadRequestOption) {
- emit('upload', up.file)
+ emit('upload', up.file);
}
-
- {{t('components.UploadModal.uploadTip')}}
+
+ {{ t('components.UploadModal.uploadTip') }}
+
-
- {{t('components.UploadModal.allowSize')}} {{ props.size }} MB
-
-
- {{t('components.UploadModal.allowFormat')}} {{ props.ext.join('、') }}
-
-
+
+
+ {{ t('components.UploadModal.allowSize') }} {{ props.size }} MB
+
+
+
+
+ {{ t('components.UploadModal.allowFormat') }}
+ {{ props.ext.join('、') }}
+
+
-
+
diff --git a/src/layouts/components/RightContent.vue b/src/layouts/components/RightContent.vue
index e9a25a7a..f78d7eaa 100644
--- a/src/layouts/components/RightContent.vue
+++ b/src/layouts/components/RightContent.vue
@@ -96,8 +96,10 @@ function fnChangeLocale(e: any) {
-
-
+
diff --git a/src/main.ts b/src/main.ts
index 369e950a..358d7988 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -4,7 +4,9 @@ import App from './App.vue';
import router from './router';
import directive from './directive';
import i18n from './i18n';
+import ProModal from "antdv-pro-modal";
import 'antdv-pro-layout/dist/style.css';
+import 'antdv-pro-modal/dist/style.css';
import 'ant-design-vue/dist/antd.variable.min.css';
const app = createApp(App);
@@ -12,5 +14,6 @@ app.use(store);
app.use(router);
app.use(directive);
app.use(i18n);
+app.use(ProModal);
app.mount('#app');
diff --git a/src/views/account/components/base-info.vue b/src/views/account/components/base-info.vue
index 5eaea2b1..5f4a309f 100644
--- a/src/views/account/components/base-info.vue
+++ b/src/views/account/components/base-info.vue
@@ -15,9 +15,9 @@ const { getDict } = useDictStore();
/**用户性别字典 */
let sysUserSex = ref([
- { label: '未知', value: '0', elTagType: '', elTagClass: '' },
- { label: '男', value: '1', elTagType: '', elTagClass: '' },
- { label: '女', value: '2', elTagType: '', elTagClass: '' },
+ { label: '未知', value: '0', tagType: '', tagClass: '' },
+ { label: '男', value: '1', tagType: '', tagClass: '' },
+ { label: '女', value: '2', tagType: '', tagClass: '' },
]);
/**表单数据状态 */
diff --git a/src/views/configManage/backupManage/index.vue b/src/views/configManage/backupManage/index.vue
index d4dede32..3df23d02 100644
--- a/src/views/configManage/backupManage/index.vue
+++ b/src/views/configManage/backupManage/index.vue
@@ -481,8 +481,10 @@ onMounted(() => {
- {
/>
-
+
diff --git a/src/views/configManage/configParamTreeTable/index.vue b/src/views/configManage/configParamTreeTable/index.vue
index d37cdde1..7a767392 100644
--- a/src/views/configManage/configParamTreeTable/index.vue
+++ b/src/views/configManage/configParamTreeTable/index.vue
@@ -1455,8 +1455,10 @@ onMounted(() => {
- {
-
+
diff --git a/src/views/configManage/license/index.vue b/src/views/configManage/license/index.vue
index 55002fa8..f162b26a 100644
--- a/src/views/configManage/license/index.vue
+++ b/src/views/configManage/license/index.vue
@@ -430,8 +430,10 @@ onMounted(() => {
- {
-
+
diff --git a/src/views/configManage/neManage/index.vue b/src/views/configManage/neManage/index.vue
index 6d9f2b7b..a8b2173d 100644
--- a/src/views/configManage/neManage/index.vue
+++ b/src/views/configManage/neManage/index.vue
@@ -972,8 +972,10 @@ onMounted(() => {
- {
-
+
- {
-
+
diff --git a/src/views/configManage/softwareManage/components/software-history.vue b/src/views/configManage/softwareManage/components/software-history.vue
index 67a44c95..3c5724ba 100644
--- a/src/views/configManage/softwareManage/components/software-history.vue
+++ b/src/views/configManage/softwareManage/components/software-history.vue
@@ -167,7 +167,11 @@ function fnGetList(pageNum?: number) {
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.rows)) {
tablePagination.total = res.total;
tableState.data = res.rows;
- if (tablePagination.total <=(queryParams.pageNum - 1) * tablePagination.pageSize &&queryParams.pageNum !== 1) {
+ if (
+ tablePagination.total <=
+ (queryParams.pageNum - 1) * tablePagination.pageSize &&
+ queryParams.pageNum !== 1
+ ) {
tableState.loading = false;
fnGetList(queryParams.pageNum - 1);
}
@@ -197,9 +201,10 @@ watch(
-
-
+
-
-
diff --git a/src/views/configManage/softwareManage/index.vue b/src/views/configManage/softwareManage/index.vue
index 05581e5b..0ec309e4 100644
--- a/src/views/configManage/softwareManage/index.vue
+++ b/src/views/configManage/softwareManage/index.vue
@@ -919,8 +919,9 @@ onMounted(() => {
- {
-
+
{
/>
- {
/>
-
+
- {
/>
-
+
diff --git a/src/views/dashboard/imsCDR/index.vue b/src/views/dashboard/imsCDR/index.vue
index 7544f351..ba134389 100644
--- a/src/views/dashboard/imsCDR/index.vue
+++ b/src/views/dashboard/imsCDR/index.vue
@@ -659,7 +659,7 @@ onBeforeUnmount(() => {
@@ -730,7 +730,7 @@ onBeforeUnmount(() => {
diff --git a/src/views/dashboard/mocn/components/setting.vue b/src/views/dashboard/mocn/components/setting.vue
index 24a70087..dcf19ae6 100644
--- a/src/views/dashboard/mocn/components/setting.vue
+++ b/src/views/dashboard/mocn/components/setting.vue
@@ -56,8 +56,9 @@ watch(
-
-
+
diff --git a/src/views/dashboard/overview/components/UserActivity/index.vue b/src/views/dashboard/overview/components/UserActivity/index.vue
index 30c1871a..e0f9fdca 100644
--- a/src/views/dashboard/overview/components/UserActivity/index.vue
+++ b/src/views/dashboard/overview/components/UserActivity/index.vue
@@ -121,7 +121,7 @@ onMounted(() => {
diff --git a/src/views/faultManage/active-alarm/index.vue b/src/views/faultManage/active-alarm/index.vue
index 7b746ead..ed066bf7 100644
--- a/src/views/faultManage/active-alarm/index.vue
+++ b/src/views/faultManage/active-alarm/index.vue
@@ -1045,9 +1045,10 @@ onMounted(() => {
- {
:scroll="{ x: 1700, y: '82vh' }"
>
-
+
- {
-
+
- {
-
+
- {
-
+
diff --git a/src/views/faultManage/event/index.vue b/src/views/faultManage/event/index.vue
index 95231a49..06390c5b 100644
--- a/src/views/faultManage/event/index.vue
+++ b/src/views/faultManage/event/index.vue
@@ -673,8 +673,9 @@ onMounted(() => {
- {
{{ modalState.from.specificProblem }}
-
+
diff --git a/src/views/faultManage/history-alarm/index.vue b/src/views/faultManage/history-alarm/index.vue
index 9fee5908..1ed1b5b5 100644
--- a/src/views/faultManage/history-alarm/index.vue
+++ b/src/views/faultManage/history-alarm/index.vue
@@ -824,8 +824,8 @@ onMounted(() => {
- {
-
+
diff --git a/src/views/monitor/job/index.vue b/src/views/monitor/job/index.vue
index ca5e5adb..f5c345f5 100644
--- a/src/views/monitor/job/index.vue
+++ b/src/views/monitor/job/index.vue
@@ -551,7 +551,11 @@ function fnGetList(pageNum?: number) {
}
tablePagination.total = res.total;
tableState.data = res.rows;
- if (tablePagination.total <=(queryParams.pageNum - 1) * tablePagination.pageSize &&queryParams.pageNum !== 1) {
+ if (
+ tablePagination.total <=
+ (queryParams.pageNum - 1) * tablePagination.pageSize &&
+ queryParams.pageNum !== 1
+ ) {
tableState.loading = false;
fnGetList(queryParams.pageNum - 1);
}
@@ -841,8 +845,9 @@ onMounted(() => {
- {
{{ t('common.close') }}
-
+
- {
/>
-
+
{
- {
{{ t('common.close') }}
-
+
diff --git a/src/views/monitor/topologyBuild/components/GraphEditModal.vue b/src/views/monitor/topologyBuild/components/GraphEditModal.vue
index 89dbd95b..79bc35f3 100644
--- a/src/views/monitor/topologyBuild/components/GraphEditModal.vue
+++ b/src/views/monitor/topologyBuild/components/GraphEditModal.vue
@@ -175,8 +175,10 @@ function fnModalCancel() {
-
-
+
diff --git a/src/views/monitor/topologyBuild/index.vue b/src/views/monitor/topologyBuild/index.vue
index b68fbe1b..a5ba776a 100644
--- a/src/views/monitor/topologyBuild/index.vue
+++ b/src/views/monitor/topologyBuild/index.vue
@@ -142,7 +142,7 @@ function fnModalOk() {
modalState.confirmLoading = true;
const hide = message.loading(t('common.loading'), 0);
// 根据类型选择函数
- const groupName = from.group.trim()
+ const groupName = from.group.trim();
saveGraphData(groupName, graphG6.value.save())
.then((res: any) => {
if (res.code === RESULT_CODE_SUCCESS) {
@@ -325,8 +325,8 @@ onMounted(() => {
- {
-
+
diff --git a/src/views/ne/neConfPara5G/index.vue b/src/views/ne/neConfPara5G/index.vue
index 0cd05e26..fb028ed0 100644
--- a/src/views/ne/neConfPara5G/index.vue
+++ b/src/views/ne/neConfPara5G/index.vue
@@ -231,8 +231,8 @@ onMounted(() => {
- {
/>
-
+
diff --git a/src/views/ne/neHost/index.vue b/src/views/ne/neHost/index.vue
index 0f47751f..31c0c4ae 100644
--- a/src/views/ne/neHost/index.vue
+++ b/src/views/ne/neHost/index.vue
@@ -414,7 +414,7 @@ function fnModalTest() {
const validateArr = ['title', 'addr', 'port', 'user'];
if (form.authMode === '0') {
validateArr.push('password');
- }
+ }
if (form.authMode === '1') {
validateArr.push('privateKey');
}
@@ -626,8 +626,10 @@ onMounted(() => {
- {
-
+
diff --git a/src/views/ne/neHostCommand/index.vue b/src/views/ne/neHostCommand/index.vue
index dd3abb3f..221b0742 100644
--- a/src/views/ne/neHostCommand/index.vue
+++ b/src/views/ne/neHostCommand/index.vue
@@ -497,8 +497,10 @@ onMounted(() => {
- {
/>
-
+
diff --git a/src/views/ne/neInfo/components/BackConfModal.vue b/src/views/ne/neInfo/components/BackConfModal.vue
index 361c1229..3d6615dd 100644
--- a/src/views/ne/neInfo/components/BackConfModal.vue
+++ b/src/views/ne/neInfo/components/BackConfModal.vue
@@ -244,8 +244,9 @@ defineExpose({
-
-
+
diff --git a/src/views/ne/neInfo/components/EditModal.vue b/src/views/ne/neInfo/components/EditModal.vue
index 0365d348..ce7104d1 100644
--- a/src/views/ne/neInfo/components/EditModal.vue
+++ b/src/views/ne/neInfo/components/EditModal.vue
@@ -347,8 +347,10 @@ onMounted(() => {
- {
-
+
diff --git a/src/views/ne/neLicense/components/UploadLicenseFile.vue b/src/views/ne/neLicense/components/UploadLicenseFile.vue
index 1dd5cf07..265efb80 100644
--- a/src/views/ne/neLicense/components/UploadLicenseFile.vue
+++ b/src/views/ne/neLicense/components/UploadLicenseFile.vue
@@ -185,8 +185,9 @@ onMounted(() => {});
- {});
-
+
diff --git a/src/views/ne/neSoftware/components/EditModal.vue b/src/views/ne/neSoftware/components/EditModal.vue
index 8221bc81..f38b4165 100644
--- a/src/views/ne/neSoftware/components/EditModal.vue
+++ b/src/views/ne/neSoftware/components/EditModal.vue
@@ -344,8 +344,9 @@ onMounted(() => {});
- {});
/>
-
+
diff --git a/src/views/ne/neSoftware/components/UploadMoreFile.vue b/src/views/ne/neSoftware/components/UploadMoreFile.vue
index 93e7ee1b..eaebda82 100644
--- a/src/views/ne/neSoftware/components/UploadMoreFile.vue
+++ b/src/views/ne/neSoftware/components/UploadMoreFile.vue
@@ -348,8 +348,9 @@ onMounted(() => {});
- {});
-
+
diff --git a/src/views/ne/neVersion/index.vue b/src/views/ne/neVersion/index.vue
index 9be1b73b..5458c6a2 100644
--- a/src/views/ne/neVersion/index.vue
+++ b/src/views/ne/neVersion/index.vue
@@ -657,8 +657,10 @@ onMounted(() => {
>
- {
-
+
diff --git a/src/views/neUser/auth/index.vue b/src/views/neUser/auth/index.vue
index 7660c74b..8735da9a 100644
--- a/src/views/neUser/auth/index.vue
+++ b/src/views/neUser/auth/index.vue
@@ -998,8 +998,10 @@ onMounted(() => {
- {
-
+
- {
-
+
- {
-
+
{
- {
-
+
{
- {
-
+
- {
-
+
- {
-
+
{
- {
-
+
diff --git a/src/views/perfManage/customTarget/index.vue b/src/views/perfManage/customTarget/index.vue
index f1db2900..2c5b78f3 100644
--- a/src/views/perfManage/customTarget/index.vue
+++ b/src/views/perfManage/customTarget/index.vue
@@ -295,7 +295,7 @@ function fnSelectPerformanceInit(value: any) {
i => i.neType === value
);
if (modalState.from.objectType) modalState.from.objectType = '';
- if(modalState.selectedPre.length > 0) modalState.selectedPre = [];
+ if (modalState.selectedPre.length > 0) modalState.selectedPre = [];
modalState.from.expression = '';
const arrSet = new Set();
@@ -598,8 +598,10 @@ onMounted(() => {
- {
name="expression"
v-bind="modalStateFrom.validateInfos.expression"
>
-
+
@@ -721,7 +723,7 @@ onMounted(() => {
/>
-
+
diff --git a/src/views/perfManage/perfReport/index.vue b/src/views/perfManage/perfReport/index.vue
index aca5cddb..5d883b96 100644
--- a/src/views/perfManage/perfReport/index.vue
+++ b/src/views/perfManage/perfReport/index.vue
@@ -151,14 +151,18 @@ function fnTableSize({ key }: MenuInfo) {
function fnGetList(pageNum?: number) {
if (tableState.loading) return;
tableState.loading = true;
- if(pageNum){
+ if (pageNum) {
queryParams.pageNum = pageNum;
}
listTraceData(toRaw(queryParams)).then(res => {
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.rows)) {
tablePagination.total = res.total;
tableState.data = res.rows;
- if (tablePagination.total <=(queryParams.pageNum - 1) * tablePagination.pageSize &&queryParams.pageNum !== 1) {
+ if (
+ tablePagination.total <=
+ (queryParams.pageNum - 1) * tablePagination.pageSize &&
+ queryParams.pageNum !== 1
+ ) {
tableState.loading = false;
fnGetList(queryParams.pageNum - 1);
}
@@ -470,8 +474,9 @@ onMounted(() => {
- {
-
+
diff --git a/src/views/perfManage/perfSet/index.vue b/src/views/perfManage/perfSet/index.vue
index 1ffb3721..5d883b96 100644
--- a/src/views/perfManage/perfSet/index.vue
+++ b/src/views/perfManage/perfSet/index.vue
@@ -158,7 +158,11 @@ function fnGetList(pageNum?: number) {
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.rows)) {
tablePagination.total = res.total;
tableState.data = res.rows;
- if (tablePagination.total <=(queryParams.pageNum - 1) * tablePagination.pageSize &&queryParams.pageNum !== 1) {
+ if (
+ tablePagination.total <=
+ (queryParams.pageNum - 1) * tablePagination.pageSize &&
+ queryParams.pageNum !== 1
+ ) {
tableState.loading = false;
fnGetList(queryParams.pageNum - 1);
}
@@ -470,8 +474,9 @@ onMounted(() => {
- {
-
+
diff --git a/src/views/perfManage/perfThreshold/index.vue b/src/views/perfManage/perfThreshold/index.vue
index 1cb3354d..16ebd3b9 100644
--- a/src/views/perfManage/perfThreshold/index.vue
+++ b/src/views/perfManage/perfThreshold/index.vue
@@ -670,8 +670,10 @@ onMounted(() => {
- {
-
+
diff --git a/src/views/perfManage/taskManage/index.vue b/src/views/perfManage/taskManage/index.vue
index 4ac5d575..2db44f35 100644
--- a/src/views/perfManage/taskManage/index.vue
+++ b/src/views/perfManage/taskManage/index.vue
@@ -880,8 +880,9 @@ onMounted(() => {
- {
t('common.close')
}}
-
+
- {
/>
-
+
diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue
index 0ceb9b2e..1f124e99 100644
--- a/src/views/system/config/index.vue
+++ b/src/views/system/config/index.vue
@@ -449,7 +449,11 @@ function fnGetList(pageNum?: number) {
}
tablePagination.total = res.total;
tableState.data = res.rows;
- if (tablePagination.total <=(queryParams.pageNum - 1) * tablePagination.pageSize &&queryParams.pageNum !== 1) {
+ if (
+ tablePagination.total <=
+ (queryParams.pageNum - 1) * tablePagination.pageSize &&
+ queryParams.pageNum !== 1
+ ) {
tableState.loading = false;
fnGetList(queryParams.pageNum - 1);
}
@@ -698,8 +702,9 @@ onMounted(() => {
- {
{{ t('common.close') }}
-
+
- {
/>
-
+
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index 52c940a9..fda54046 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -602,8 +602,9 @@ onMounted(() => {
- {
t('common.cancel')
}}
-
+
- {
-
+
diff --git a/src/views/system/dict/data.vue b/src/views/system/dict/data.vue
index 8959b006..7cb65d22 100644
--- a/src/views/system/dict/data.vue
+++ b/src/views/system/dict/data.vue
@@ -463,7 +463,11 @@ function fnGetList(pageNum?: number) {
}
tablePagination.total = res.total;
tableState.data = res.rows;
- if (tablePagination.total <=(queryParams.pageNum - 1) * tablePagination.pageSize &&queryParams.pageNum !== 1) {
+ if (
+ tablePagination.total <=
+ (queryParams.pageNum - 1) * tablePagination.pageSize &&
+ queryParams.pageNum !== 1
+ ) {
tableState.loading = false;
fnGetList(queryParams.pageNum - 1);
}
@@ -714,8 +718,9 @@ onMounted(() => {
- {
{{ t('common.close') }}
-
+
- {
/>
-
+
diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue
index 4f23a509..34ddef4b 100644
--- a/src/views/system/dict/index.vue
+++ b/src/views/system/dict/index.vue
@@ -452,7 +452,11 @@ function fnGetList(pageNum?: number) {
}
tablePagination.total = res.total;
tableState.data = res.rows;
- if (tablePagination.total <=(queryParams.pageNum - 1) * tablePagination.pageSize &&queryParams.pageNum !== 1) {
+ if (
+ tablePagination.total <=
+ (queryParams.pageNum - 1) * tablePagination.pageSize &&
+ queryParams.pageNum !== 1
+ ) {
tableState.loading = false;
fnGetList(queryParams.pageNum - 1);
}
@@ -718,8 +722,9 @@ onMounted(() => {
- {
t('common.cancel')
}}
-
+
- {
/>
-
+
diff --git a/src/views/system/log/operate/index.vue b/src/views/system/log/operate/index.vue
index 3238b8b0..6712bbd0 100644
--- a/src/views/system/log/operate/index.vue
+++ b/src/views/system/log/operate/index.vue
@@ -606,8 +606,9 @@ onMounted(() => {
- {
{{ t('common.cancel') }}
-
+
diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue
index b0515a8e..06f07173 100644
--- a/src/views/system/menu/index.vue
+++ b/src/views/system/menu/index.vue
@@ -717,8 +717,9 @@ onMounted(() => {
- {
t('common.cancel')
}}
-
+
- {
/>
-
+
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index 69bd54be..9e824675 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -631,8 +631,9 @@ onMounted(() => {
- {
t('common.cancel')
}}
-
+
- {
/>
-
+
diff --git a/src/views/system/quick-start/components/NeInfoSoftwareInstall.vue b/src/views/system/quick-start/components/NeInfoSoftwareInstall.vue
index bbce49d4..da463914 100644
--- a/src/views/system/quick-start/components/NeInfoSoftwareInstall.vue
+++ b/src/views/system/quick-start/components/NeInfoSoftwareInstall.vue
@@ -151,7 +151,7 @@ async function fnRecordInstall() {
// 开始安装
let preinput = {};
if (row.neType.toUpperCase() === 'IMS') {
- preinput = { pisCSCF: 'y', updateMFetc: 'No', updateMFshare: 'No' }
+ preinput = { pisCSCF: 'y', updateMFetc: 'No', updateMFshare: 'No' };
}
const installData = {
neType: row.neType,
@@ -315,8 +315,9 @@ onMounted(() => {
>
- {
-
+