Commit 354b32d5 by 李宁

1

1 parent c1b80523
{
"c": 0,
"d": {
"areaId": 2,
"functions": [
{
"id": 1,
"name": "业务办理",
"code": null,
"type": 1,
"parentId": 0,
"sortOrder": 0,
"apiPath": null,
"status": 1,
"children": [
{
"id": 2,
"name": "登记订单管理",
"code": null,
"type": 1,
"parentId": 1,
"sortOrder": 1,
"apiPath": null,
"status": 1,
"children": [
{
"id": 3,
"name": "登记订单列表",
"code": "ORDER_LIST",
"type": 2,
"parentId": 2,
"sortOrder": 1,
"apiPath": null,
"status": 1,
"children": []
},
{
"id": 4,
"name": "修改订单",
"code": "ORDER_UPDATE_MONEY",
"type": 2,
"parentId": 2,
"sortOrder": 2,
"apiPath": null,
"status": 1,
"children": []
},
{
"id": 5,
"name": "审核订单",
"code": "ORDER_AUDIT",
"type": 2,
"parentId": 2,
"sortOrder": 3,
"apiPath": null,
"status": 1,
"children": []
},
{
"id": 6,
"name": "关闭订单",
"code": "ORDER_CLOSED",
"type": 2,
"parentId": 2,
"sortOrder": 4,
"apiPath": null,
"status": 1,
"children": []
},
{
"id": 7,
"name": "导出订单",
"code": "ORDER_EXPORT",
"type": 2,
"parentId": 2,
"sortOrder": 5,
"apiPath": null,
"status": 1,
"children": []
},
{
"id": 23,
"name": "修改CRM订单号",
"code": "ORDER_UPDATE_CRM_ORDER",
"type": 2,
"parentId": 2,
"sortOrder": 6,
"apiPath": null,
"status": 1,
"children": []
},
{
"id": 24,
"name": "批量上传订单金额Excel",
"code": "ORDER_READ_MODIFY_EXCEL",
"type": 2,
"parentId": 2,
"sortOrder": 7,
"apiPath": null,
"status": 1,
"children": []
}
]
},
{
"id": 8,
"name": "业务酬金管理",
"code": null,
"type": 1,
"parentId": 1,
"sortOrder": 2,
"apiPath": null,
"status": 1,
"children": [
{
"id": 9,
"name": "酬金列表",
"code": "JOB_LIST",
"type": 2,
"parentId": 8,
"sortOrder": 1,
"apiPath": null,
"status": 1,
"children": []
},
{
"id": 10,
"name": "酬金修改",
"code": "JOB_UPDATE",
"type": 2,
"parentId": 8,
"sortOrder": 2,
"apiPath": null,
"status": 1,
"children": []
},
{
"id": 11,
"name": "酬金删除",
"code": "JOB_DELETE",
"type": 2,
"parentId": 8,
"sortOrder": 3,
"apiPath": null,
"status": 1,
"children": []
},
{
"id": 12,
"name": "业务酬金批量上传",
"code": "JOB_READ_EXCEL",
"type": 2,
"parentId": 8,
"sortOrder": 4,
"apiPath": null,
"status": 1,
"children": []
},
{
"id": 13,
"name": "酬金批量上传",
"code": "JOB_BATCH_UPLOAD",
"type": 2,
"parentId": 8,
"sortOrder": 5,
"apiPath": null,
"status": 1,
"children": []
}
]
}
]
},
{
"id": 14,
"name": "系统管理",
"code": null,
"type": 1,
"parentId": 0,
"sortOrder": 0,
"apiPath": null,
"status": 1,
"children": [
{
"id": 15,
"name": "角色管理",
"code": null,
"type": 1,
"parentId": 14,
"sortOrder": 1,
"apiPath": null,
"status": 1,
"children": [
{
"id": 16,
"name": "创建角色",
"code": "ROLE_CREATE",
"type": 2,
"parentId": 15,
"sortOrder": 1,
"apiPath": null,
"status": 1,
"children": []
},
{
"id": 17,
"name": "修改角色",
"code": "ROLE_UPDATE",
"type": 2,
"parentId": 15,
"sortOrder": 2,
"apiPath": null,
"status": 1,
"children": []
},
{
"id": 18,
"name": "角色列表",
"code": "ROLE_LIST",
"type": 2,
"parentId": 15,
"sortOrder": 3,
"apiPath": null,
"status": 1,
"children": []
}
]
},
{
"id": 19,
"name": "账号管理",
"code": null,
"type": 1,
"parentId": 14,
"sortOrder": 1,
"apiPath": null,
"status": 1,
"children": [
{
"id": 20,
"name": "创建用户",
"code": "USER_CREATE",
"type": 2,
"parentId": 19,
"sortOrder": 2,
"apiPath": null,
"status": 1,
"children": []
},
{
"id": 21,
"name": "修改用户",
"code": "USER_UPDATE",
"type": 2,
"parentId": 19,
"sortOrder": 3,
"apiPath": null,
"status": 1,
"children": []
},
{
"id": 22,
"name": "用户列表",
"code": "USER_LIST",
"type": 2,
"parentId": 19,
"sortOrder": 4,
"apiPath": null,
"status": 1,
"children": []
}
]
}
]
}
],
"nickname": "济南超级管理员",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE4NTAwMjA4NzgsInVzZXIiOiJ7XCJyb2xlSWRcIjowLFwidXNlcklkXCI6MX0iLCJpYXQiOjE3NjM2MjA4Nzh9.dgiaMJJtMTTI38Wc_VoVOPqO_Xm9LqGrqE8Bo15pjlk"
},
"m": "成功"
}
\ No newline at end of file \ No newline at end of file
...@@ -88,7 +88,6 @@ ...@@ -88,7 +88,6 @@
alt="验证码" alt="验证码"
class="w-full h-full object-cover" class="w-full h-full object-cover"
/> />
<RefreshCw class="absolute top-1 right-1 w-3 h-3 text-gray-400" />
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
...@@ -149,17 +148,8 @@ ...@@ -149,17 +148,8 @@
<script setup lang="ts"> <script setup lang="ts">
import { ref, onMounted, onUnmounted, reactive } from 'vue' import { ref, onMounted, onUnmounted, reactive } from 'vue'
import { ElMessage, type FormInstance, type FormRules } from 'element-plus' import { ElMessage, type FormInstance, type FormRules } from 'element-plus'
import { RefreshCw } from 'lucide-vue-next'
import { getCurrentInstance } from 'vue' import { getCurrentInstance } from 'vue'
// 扩展组件实例类型以包含全局属性
declare module '@vue/runtime-core' {
interface ComponentCustomProperties {
$api: any
$utils: any
}
}
// 导入图片资源 // 导入图片资源
import loginBackgroundImg from '@/assets/7f0599d246217c734650d105801453a4919de13c.png' import loginBackgroundImg from '@/assets/7f0599d246217c734650d105801453a4919de13c.png'
import logoIconImg from '@/assets/83c9823faecc66b9d1978deb8ed7085f80e226b3.png' import logoIconImg from '@/assets/83c9823faecc66b9d1978deb8ed7085f80e226b3.png'
...@@ -196,7 +186,7 @@ const canSendSms = ref(true) ...@@ -196,7 +186,7 @@ const canSendSms = ref(true)
const loginForm = reactive<LoginForm>({ const loginForm = reactive<LoginForm>({
phone: '13112345678', phone: '13112345678',
captchaInput: '', captchaInput: '',
smsCode: '' smsCode: '123456'
}) })
// 表单验证规则 // 表单验证规则
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!