统一修改ruoyi->bms

This commit is contained in:
caojia
2026-09-28 10:02:38 +08:00
parent 341afc4111
commit 0408b6c35e
639 changed files with 2776 additions and 2807 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ export async function savePriceSetAsync(data, onProgress) {
throw new Error('save timeout')
}
/** Accept data.taskId / data string / legacy msg UUID (RuoYi String overload). */
/** Accept data.taskId / data string / legacy msg UUID (Bms String overload). */
function pickSaveTaskId(res) {
if (!res) return null
const d = res.data
+1 -1
View File
@@ -1,5 +1,5 @@
import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";
import { parseStrEmpty } from "@/utils/bms";
// 查询用户列表
export function listUser(query) {
@@ -1,6 +1,6 @@
/**
* 通用css样式布局处理
* Copyright (c) 2019 ruoyi
* Copyright (c) 2019 bms
*/
/** 基础通用 **/
+1 -1
View File
@@ -3,7 +3,7 @@
@use './element-ui.scss';
@use './sidebar.scss';
@use './btn.scss';
@use './ruoyi.scss';
@use './bms.scss';
body {
height: 100%;
@@ -5,9 +5,9 @@
</template>
<script setup>
const url = ref('http://doc.ruoyi.vip/ruoyi-vue')
const url = ref(import.meta.env.VITE_DOCS_URL || window.location.origin)
function goto() {
window.open(url.value)
}
</script>
</script>
@@ -5,7 +5,7 @@
</template>
<script setup>
const url = ref('https://gitee.com/y_project/RuoYi-Vue')
const url = ref('http://git.lionquexpress.com/wuweihua/BMS')
function goto() {
window.open(url.value)
@@ -78,7 +78,7 @@
<script setup>
import Fuse from 'fuse.js'
import { getNormalPath } from '@/utils/ruoyi'
import { getNormalPath } from '@/utils/bms'
import { isHttp } from '@/utils/validate'
import useSettingsStore from '@/store/modules/settings'
import usePermissionStore from '@/store/modules/permission'
+1 -1
View File
@@ -1,6 +1,6 @@
/**
* v-copyText 复制文本内容
* Copyright (c) 2022 ruoyi
* Copyright (c) 2022 bms
*/
export default {
beforeMount(el, { value, arg }) {
@@ -1,6 +1,6 @@
/**
* v-hasPermi 操作权限处理
* Copyright (c) 2019 ruoyi
* Copyright (c) 2019 bms
*/
import useUserStore from '@/store/modules/user'
@@ -1,6 +1,6 @@
/**
* v-hasRole 角色权限处理
* Copyright (c) 2019 ruoyi
* Copyright (c) 2019 bms
*/
import useUserStore from '@/store/modules/user'
@@ -30,7 +30,7 @@
<script setup>
import { isExternal } from '@/utils/validate'
import AppLink from './Link'
import { getNormalPath } from '@/utils/ruoyi'
import { getNormalPath } from '@/utils/bms'
const props = defineProps({
// route object
@@ -70,7 +70,7 @@
<script setup>
import ScrollPane from './ScrollPane'
import { getNormalPath } from '@/utils/ruoyi'
import { getNormalPath } from '@/utils/bms'
import useTagsViewStore from '@/store/modules/tagsView'
import useSettingsStore from '@/store/modules/settings'
import usePermissionStore from '@/store/modules/permission'
+1 -1
View File
@@ -27,7 +27,7 @@ import './permission' // permission control
import { useDict } from '@/utils/dict'
import { getConfigKey } from "@/api/system/config"
import { parseTime, resetForm, addDateRange, handleTree, selectDictLabel, selectDictLabels } from '@/utils/ruoyi'
import { parseTime, resetForm, addDateRange, handleTree, selectDictLabel, selectDictLabels } from '@/utils/bms'
// 分页组件
import Pagination from '@/components/Pagination'
+1 -1
View File
@@ -3,7 +3,7 @@ import { ElLoading, ElMessage } from 'element-plus'
import { saveAs } from 'file-saver'
import { getToken } from '@/utils/auth'
import errorCode from '@/utils/errorCode'
import { blobValidate } from '@/utils/ruoyi'
import { blobValidate } from '@/utils/bms'
const baseURL = import.meta.env.VITE_APP_BASE_API
let downloadLoadingInstance
@@ -1,6 +1,6 @@
/**
* 通用js方法封装处理
* Copyright (c) 2019 ruoyi
* Copyright (c) 2019 bms
*/
// 日期格式化
+1 -1
View File
@@ -1,4 +1,4 @@
import { parseTime } from './ruoyi'
import { parseTime } from './bms'
/**
* 表格时间格式化
+1 -1
View File
@@ -2,7 +2,7 @@ import axios from 'axios'
import { ElNotification , ElMessageBox, ElMessage, ElLoading } from 'element-plus'
import { getToken } from '@/utils/auth'
import errorCode from '@/utils/errorCode'
import { tansParams, blobValidate } from '@/utils/ruoyi'
import { tansParams, blobValidate } from '@/utils/bms'
import cache from '@/plugins/cache'
import { saveAs } from 'file-saver'
import useUserStore from '@/store/modules/user'
+1 -1
View File
@@ -117,7 +117,7 @@
<template #content>
<div>
Bean调用示例:ryTask.ryParams('ry')
<br />Class类调用示例:com.ruoyi.quartz.task.RyTask.ryParams('ry')
<br />Class类调用示例:com.bms.quartz.task.RyTask.ryParams('ry')
<br />参数说明:支持字符串,布尔类型,长整型,浮点型,整型
</div>
</template>
@@ -239,7 +239,7 @@ import {
listTemplate, getTemplate, addTemplate, updateTemplate, delTemplate,
listDetail, addDetail, updateDetail, delDetail
} from '@/api/price/weight'
import { parseTime } from '@/utils/ruoyi'
import { parseTime } from '@/utils/bms'
const { proxy } = getCurrentInstance()
@@ -4,7 +4,7 @@
* 只做数据转换,不依赖组件实例 / 字典 / 接口,
* create.vue、detail.vue 及 set/components 下的组件共用。
*/
import { parseTime } from '@/utils/ruoyi'
import { parseTime } from '@/utils/bms'
/** 计价类型枚举 */
export const SET_TYPE = {
+1 -1
View File
@@ -27,7 +27,7 @@
<el-form-item prop="packageName">
<template #label>
生成包路径
<el-tooltip content="生成在哪个java包下,例如 com.ruoyi.system" placement="top">
<el-tooltip content="生成在哪个java包下,例如 com.bms.system" placement="top">
<el-icon><question-filled /></el-icon>
</el-tooltip>
</template>
+1 -1
View File
@@ -192,7 +192,7 @@ function handleGenTable(row) {
proxy.$modal.msgSuccess("成功生成到自定义路径:" + row.genPath)
})
} else {
const zipName = Array.isArray(tbNames) ? "ruoyi.zip" : tbNames + ".zip"
const zipName = Array.isArray(tbNames) ? "bms.zip" : tbNames + ".zip"
proxy.$download.zip("/tool/gen/batchGenCode?tables=" + tbNames, zipName)
}
}