diff --git a/src/api/workflow/formManage/index.ts b/src/api/workflow/formManage/index.ts index c2930cf..6c5ec60 100644 --- a/src/api/workflow/formManage/index.ts +++ b/src/api/workflow/formManage/index.ts @@ -25,7 +25,7 @@ export const listFormManage = (query?: FormManageQuery): AxiosPromise => { return request({ url: '/workflow/formManage/list/selectList', - method: 'get', + method: 'get' }); }; diff --git a/src/api/workflow/model/index.ts b/src/api/workflow/model/index.ts index 56f7fed..1ca8b19 100644 --- a/src/api/workflow/model/index.ts +++ b/src/api/workflow/model/index.ts @@ -22,7 +22,7 @@ export const listModel = (query: ModelQuery): AxiosPromise => { */ export const getInfo = (id: string): AxiosPromise => { return request({ - url: '/workflow/model/getInfo/'+id, + url: '/workflow/model/getInfo/' + id, method: 'get' }); }; @@ -101,4 +101,4 @@ export const copyModel = (data: ModelForm): AxiosPromise => { method: 'post', data: data }); -}; \ No newline at end of file +}; diff --git a/src/api/workflow/model/types.ts b/src/api/workflow/model/types.ts index 40a0faa..77f947d 100644 --- a/src/api/workflow/model/types.ts +++ b/src/api/workflow/model/types.ts @@ -1,10 +1,10 @@ export interface ModelForm { - id: string, + id: string; name: string; key: string; categoryCode: string; - xml:string, - svg:string, + xml: string; + svg: string; description: string; } diff --git a/src/api/workflow/nodeConfig/types.ts b/src/api/workflow/nodeConfig/types.ts index 4e3a60b..a55fc91 100644 --- a/src/api/workflow/nodeConfig/types.ts +++ b/src/api/workflow/nodeConfig/types.ts @@ -35,9 +35,4 @@ export interface NodeConfigVO { * 表单管理 */ wfFormManageVo: FormManageVO; - } - - - - diff --git a/src/components/ImagePreview/index.vue b/src/components/ImagePreview/index.vue index 349f729..98e6479 100644 --- a/src/components/ImagePreview/index.vue +++ b/src/components/ImagePreview/index.vue @@ -38,7 +38,7 @@ const realSrcList = computed(() => { let real_src_list = props.src.split(','); let srcList: string[] = []; real_src_list.forEach((item: string) => { - if(item.trim() === '') { + if (item.trim() === '') { return; } return srcList.push(item); diff --git a/src/hooks/useDialog.ts b/src/hooks/useDialog.ts index 68440bf..547f199 100644 --- a/src/hooks/useDialog.ts +++ b/src/hooks/useDialog.ts @@ -28,4 +28,4 @@ export default (ops?: Options): Return => { openDialog, closeDialog }; -}; \ No newline at end of file +}; diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index d634935..a79e331 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -3,10 +3,10 @@
- - + + - +
diff --git a/src/layout/components/SocialCallback/index.vue b/src/layout/components/SocialCallback/index.vue index de65aed..746de20 100644 --- a/src/layout/components/SocialCallback/index.vue +++ b/src/layout/components/SocialCallback/index.vue @@ -18,7 +18,7 @@ const code = route.query.code as string; const state = route.query.state as string; const source = route.query.source as string; const stateJson = JSON.parse(atob(state)); -const tenantId = stateJson.tenantId as string ? stateJson.tenantId as string : '000000'; +const tenantId = (stateJson.tenantId as string) ? (stateJson.tenantId as string) : '000000'; const domain = stateJson.domain as string; const processResponse = async (res: any) => { diff --git a/src/permission.ts b/src/permission.ts index 1123738..6771f8c 100644 --- a/src/permission.ts +++ b/src/permission.ts @@ -53,7 +53,7 @@ router.beforeEach(async (to, from, next) => { next(); } else { const redirect = encodeURIComponent(to.fullPath || '/'); - next(`/login?redirect=${redirect}`) // 否则全部重定向到登录页 + next(`/login?redirect=${redirect}`); // 否则全部重定向到登录页 NProgress.done(); } } diff --git a/src/views/monitor/logininfor/index.vue b/src/views/monitor/logininfor/index.vue index 27c0a85..03d0d8f 100644 --- a/src/views/monitor/logininfor/index.vue +++ b/src/views/monitor/logininfor/index.vue @@ -11,7 +11,7 @@ - + diff --git a/src/views/monitor/operlog/index.vue b/src/views/monitor/operlog/index.vue index 1442984..ed0d755 100644 --- a/src/views/monitor/operlog/index.vue +++ b/src/views/monitor/operlog/index.vue @@ -14,12 +14,12 @@ - + - + diff --git a/src/views/system/client/index.vue b/src/views/system/client/index.vue index af8696b..c05dcdc 100644 --- a/src/views/system/client/index.vue +++ b/src/views/system/client/index.vue @@ -10,7 +10,7 @@ - + diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue index 138068e..1b67d48 100644 --- a/src/views/system/config/index.vue +++ b/src/views/system/config/index.vue @@ -11,7 +11,7 @@ - + diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 71aeff1..199a997 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -11,7 +11,7 @@ - + diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index 9e5b5c3..cf5f0fc 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -8,7 +8,7 @@ - + diff --git a/src/views/system/oss/index.vue b/src/views/system/oss/index.vue index 2e50582..a6e60e8 100644 --- a/src/views/system/oss/index.vue +++ b/src/views/system/oss/index.vue @@ -13,7 +13,7 @@ - + { showTable.value = true; }; function checkFileSuffix(fileSuffix: string | string[]) { - const arr = [".png", ".jpg", ".jpeg"]; + const arr = ['.png', '.jpg', '.jpeg']; const suffixArray = Array.isArray(fileSuffix) ? fileSuffix : [fileSuffix]; - return suffixArray.some(suffix => arr.includes(suffix.toLowerCase())); + return suffixArray.some((suffix) => arr.includes(suffix.toLowerCase())); } /** 取消按钮 */ function cancel() { diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index bd84af3..0b6ba00 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -11,7 +11,7 @@ - + diff --git a/src/views/system/user/profile/onlineDevice.vue b/src/views/system/user/profile/onlineDevice.vue index 8da96f6..bd7c822 100644 --- a/src/views/system/user/profile/onlineDevice.vue +++ b/src/views/system/user/profile/onlineDevice.vue @@ -18,8 +18,7 @@ @@ -55,5 +54,4 @@ const handldDelOnline = (row: any) => { }) .catch(() => {}); }; - diff --git a/src/views/system/user/profile/resetPwd.vue b/src/views/system/user/profile/resetPwd.vue index 6d536da..aae5ef8 100644 --- a/src/views/system/user/profile/resetPwd.vue +++ b/src/views/system/user/profile/resetPwd.vue @@ -45,7 +45,7 @@ const rules = ref({ message: '长度在 6 到 20 个字符', trigger: 'blur' }, - { pattern: /^[^<>"'|\\]+$/, message: "不能包含非法字符:< > \" ' \\\ |", trigger: "blur" } + { pattern: /^[^<>"'|\\]+$/, message: '不能包含非法字符:< > " \' \\\ |', trigger: 'blur' } ], confirmPassword: [ { required: true, message: '确认密码不能为空', trigger: 'blur' }, diff --git a/src/views/system/user/profile/thirdParty.vue b/src/views/system/user/profile/thirdParty.vue index 957122a..5cd7347 100644 --- a/src/views/system/user/profile/thirdParty.vue +++ b/src/views/system/user/profile/thirdParty.vue @@ -58,7 +58,7 @@