diff --git a/.env.development b/.env.development index 536731e..4bb7cf9 100644 --- a/.env.development +++ b/.env.development @@ -5,4 +5,4 @@ VITE_APP_TITLE = 代理管理系统 VITE_APP_ENV = 'development' # 代理管理系统/开发环境 -VITE_APP_BASE_API = '/dev-api' +VITE_APP_BASE_API = '/ff-api' diff --git a/dist.rar b/dist.rar deleted file mode 100644 index df7c820..0000000 Binary files a/dist.rar and /dev/null differ diff --git a/src/api/monitor/operlog.js b/src/api/monitor/operlog.js index a04bca8..e35da45 100644 --- a/src/api/monitor/operlog.js +++ b/src/api/monitor/operlog.js @@ -24,3 +24,13 @@ export function cleanOperlog() { method: 'delete' }) } + +//用户转账日志 +export function superTransferList(query) { + return request({ + url: '/super/transfer/list', + method: 'get', + params: query + }) +} + diff --git a/src/components/CodeInput/index.vue b/src/components/CodeInput/index.vue new file mode 100644 index 0000000..f202638 --- /dev/null +++ b/src/components/CodeInput/index.vue @@ -0,0 +1,32 @@ + + + + \ No newline at end of file diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index a977d74..e7f8cfa 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -94,7 +94,7 @@ - + @@ -117,6 +117,7 @@ import useAppStore from '@/store/modules/app' import useSettingsStore from '@/store/modules/settings' import usePermissionStore from '@/store/modules/permission' import useUserStore from '@/store/modules/user' +import CodeInput from "@/components/CodeInput"; import { getLocalStorage } from "@/utils/auth"; import { updateUserProfile,getUserProfile,updateUserPwd } from "@/api/system/user"; @@ -135,6 +136,9 @@ const nickName = ref(getLocalStorage('userInfo')?.nickName); const dialogVisible = ref(false); const rules = ref({ + nickName:[ + { required: true, message: '请输入昵称', trigger: 'change' }, + ] }); const formData = ref({ }); diff --git a/src/views/agent/agentInformation/index.vue b/src/views/agent/agentInformation/index.vue index 8c50351..7fbc0fc 100644 --- a/src/views/agent/agentInformation/index.vue +++ b/src/views/agent/agentInformation/index.vue @@ -111,7 +111,7 @@ - + - + @@ -163,7 +163,7 @@ - + - + @@ -58,9 +58,9 @@ - - - + + + + @@ -122,6 +123,7 @@ import TableSearchDate from '@/components/TableSearchDate' import Crontab from '@/components/Crontab' import { parseTime } from '@/utils/ruoyi'; // 时间格式化 +import { onMounted } from "vue"; const router = useRouter(); const { proxy } = getCurrentInstance(); const { ff_tenant_type, ff_tenant_status } = proxy.useDict("ff_tenant_type", "ff_tenant_status"); @@ -311,9 +313,12 @@ const getsuperCommonPlatformTypeSelect = async () => { }); } - getList(); - getsuperCommonCurrencySelect(); - getsuperCommonPlatformTypeSelect(); +//初始化 +onMounted(() => { + getList(); + getsuperCommonCurrencySelect(); + getsuperCommonPlatformTypeSelect(); +}) diff --git a/src/views/notice/index.vue b/src/views/notice/index.vue index e78241b..1de5960 100644 --- a/src/views/notice/index.vue +++ b/src/views/notice/index.vue @@ -11,7 +11,10 @@ - +