代码提交

This commit is contained in:
jiangzewen committed 2025-06-10 10:03:37 +08:00
1 parent d97d37930a
commit 6e36fc56f6
13 files changed
+12962 -15

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ VITE_OPEN=true
VITE_APP_TENANT_ENABLE=true
# 验证码的开关
VITE_APP_CAPTCHA_ENABLE=true
VITE_APP_CAPTCHA_ENABLE='false'
# 文档地址的开关
VITE_APP_DOCALERT_ENABLE=true
+2 -2
View File
@@ -4,7 +4,7 @@ NODE_ENV=development
VITE_DEV=true
# 请求路径
VITE_BASE_URL='http://xrhomeapi.zianxin.com'
VITE_BASE_URL=http://xrhomeapi.asset-cloud.com.cn
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
VITE_UPLOAD_TYPE=server
@@ -28,7 +28,7 @@ VITE_BASE_PATH=/
VITE_MALL_H5_DOMAIN='http://localhost:3000'
# 验证码的开关
VITE_APP_CAPTCHA_ENABLE=true
VITE_APP_CAPTCHA_ENABLE='true'
# GoView域名
VITE_GOVIEW_URL='http://127.0.0.1:3000'
+12950
View File
File diff suppressed because it is too large. Load diff
-1
View File
@@ -72,7 +72,6 @@ export const socialAuthRedirect = (type: number, redirectUri: string) => {
}
// 获取验证图片以及 token
export const getCode = (data: any) => {
debugger
return request.postOriginal({ url: 'system/captcha/get', data })
}
@@ -278,7 +278,9 @@ const end = () => {
//判断是否重合
if (status.value && isEnd.value == false) {
var moveLeftDistance = parseInt((moveBlockLeft.value || '0').replace('px', ''))
moveLeftDistance = (moveLeftDistance * 310) / parseInt(setSize.imgWidth)
moveLeftDistance = (moveLeftDistance * 310) / parseInt(setSize.imgWidth);
console.log('滑块left:', moveBlockLeft.value, '滑块宽度:', blockSize.value.width, '图片宽度:', setSize.imgWidth, '原图坐标:', moveLeftDistance)
debugger;
let data = {
captchaType: captchaType.value,
pointJson: secretKey.value
@@ -370,7 +370,6 @@ const removeListenerField = (index) => {
}
// 移除监听器
const removeListener = (index) => {
debugger
ElMessageBox.confirm('确认移除该监听器吗?', '提示', {
confirmButtonText: '确 认',
cancelButtonText: '取 消'
@@ -2,7 +2,6 @@ import { toRaw } from 'vue'
const bpmnInstances = () => (window as any)?.bpmnInstances
// 创建监听器实例
export function createListenerObject(options, isTask, prefix) {
debugger
const listenerObj = Object.create(null)
listenerObj.event = options.event
isTask && (listenerObj.id = options.id) // 任务监听器特有的 id 字段
+2 -2
View File
@@ -5,9 +5,9 @@ const config: {
request_timeout: number
} = {
/**
* api请求基础路径
* api请求基础路径
*/
base_url: import.meta.env.VITE_BASE_URL + import.meta.env.VITE_API_URL,
base_url:import.meta.env.VITE_BASE_URL + import.meta.env.VITE_API_URL,
/**
* 接口成功返回状态码
*/
+1 -1
View File
@@ -5,7 +5,7 @@ import { config } from './config'
const { default_headers } = config
const request = (option: any) => {
const { headersType, headers, ...otherOption } = option
const { headersType, headers, ...otherOption } = option;
return service({
...otherOption,
headers: {
+1 -1
View File
@@ -75,7 +75,7 @@ import { useAppStore } from '@/store/modules/app'
import { ThemeSwitch } from '@/layout/components/ThemeSwitch'
import { LocaleDropdown } from '@/layout/components/LocaleDropdown'
import { LoginForm, MobileForm, QrCodeForm, RegisterForm, SSOLoginVue, ForgetPasswordForm } from './components'
import { LoginForm, MobileForm, QrCodeForm, RegisterForm, SSOLoginVue, ForgetPasswordForm } from './components';
defineOptions({ name: 'Login' })
@@ -449,7 +449,6 @@ const handleChangeState = async (row: any) => {
try {
// 修改状态的二次确认
const id = row.id
debugger
const statusState = state === 1 ? '停用' : '启用'
const content = '是否确认' + statusState + '流程名字为"' + row.name + '"的数据项?'
await message.confirm(content)
@@ -132,7 +132,6 @@ defineExpose({ open, close: () => (dialogVisible.value = false) })
/** 提交表单 */
const emit = defineEmits(['success'])
const submitForm = async () => {
debugger
await formRef.value.validate()
formLoading.value = true
try {
+2 -2
View File
@@ -30,8 +30,8 @@ export default ({command, mode}: ConfigEnv): UserConfig => {
open: env.VITE_OPEN === 'true',
// 本地跨域代理. 目前注释的原因:暂时没有用途,server 端已经支持跨域
proxy: {
['/admin-api']: {
target: env.VITE_BASE_URL,
'/admin-api': {
target: 'http://xrhomeapi.asset-cloud.com.cn',
ws: false,
changeOrigin: true,
rewrite: (path) => path.replace(new RegExp(`^/admin-api`), ''),