总条数:{{ format3(stats.num) }}条
总金豆数:{{ format3(stats.beanNum) }}金豆
@@ -77,15 +65,15 @@
{{ scope.$index + 1 + (pagination.pageNum - 1) * pagination.pageSize }}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
{{ moment(row.createTime).format('YYYY-MM-DD HH:mm:ss') }}
@@ -97,13 +85,13 @@
+ prop="operation" label="操作" width="400px">
+ :disabled="clicked || cancelClicked" type="primary">
通过
@@ -115,8 +103,7 @@
+ type="primary" @click="showRejectDialog(scope.row)">
驳回
@@ -124,16 +111,14 @@
+ v-model:page-size="pagination.pageSize" layout="total, sizes, prev, pager, next, jumper" :total="stats.num"
+ @size-change="handlePageSizeChange" @current-change="handleCurrentChange">
-
+
@@ -145,21 +130,21 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/views/history/oldHistory.vue b/src/views/history/oldHistory.vue
index a4aed9e..a0e0114 100644
--- a/src/views/history/oldHistory.vue
+++ b/src/views/history/oldHistory.vue
@@ -1,5 +1,5 @@
-
+
姓名:
@@ -12,11 +12,11 @@
- 重置
查询
+ 重置
-
+
@@ -114,4 +114,43 @@ const handleCurrentChange = function (val) {
}
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/views/home.vue b/src/views/home.vue
index f793730..b87f533 100644
--- a/src/views/home.vue
+++ b/src/views/home.vue
@@ -180,6 +180,7 @@ function logout() {
+ 数据刷新
查看个人信息
修改密码
退出登录
diff --git a/src/views/permissions/rolePermission.vue b/src/views/permissions/rolePermission.vue
index 266ff68..c66f59f 100644
--- a/src/views/permissions/rolePermission.vue
+++ b/src/views/permissions/rolePermission.vue
@@ -41,7 +41,7 @@ const addRole = ref({
const addRoleMarket = ref([])
const getRoleList = async function (val) {
- if(!findMenuById(menuTree.value, permissionMapping.roleManageShow)){
+ if (!findMenuById(menuTree.value, permissionMapping.roleManageShow)) {
ElMessage.error('无此权限')
return
}
@@ -172,7 +172,7 @@ function processTreeData(data) {
}
const handleAddRole = async function () {
- if(!findMenuById(menuTree.value, permissionMapping.addRoleInfo)){
+ if (!findMenuById(menuTree.value, permissionMapping.addRoleInfo)) {
ElMessage.error('无此权限')
return
}
@@ -277,10 +277,10 @@ const getLists = async function () {
//金豆过滤
const goldenBeanMenuIds = new Set([
-permissionMapping.beanAudit,
-permissionMapping.beanRecharge,
-permissionMapping.beanConsume,
-permissionMapping.beanDetail
+ permissionMapping.beanAudit,
+ permissionMapping.beanRecharge,
+ permissionMapping.beanConsume,
+ permissionMapping.beanDetail
])
// 15,43,44,45,46,47,// 金豆审核
// 18,52,53,54,// 金豆充值
@@ -302,11 +302,11 @@ const filterGoldenBeanMenus = (tree) => {
}
// 过滤权限模块(????????)俺不会
const filterPermission = (tree) => {
- return tree.filter(item =>{
- if(item.id === permissionMapping.permissionManage){
+ return tree.filter(item => {
+ if (item.id === permissionMapping.permissionManage) {
return false
}
- else if(item.children && item.children.length > 0){
+ else if (item.children && item.children.length > 0) {
item.children = filterPermission(item.children)
}
return true
@@ -468,7 +468,7 @@ const permissionEditRoleInit = async function (row) {
// 编辑角色提交
const permissionEditRole = async function () {
- if(!findMenuById(menuTree.value, permissionMapping.editRoleInfo)){
+ if (!findMenuById(menuTree.value, permissionMapping.editRoleInfo)) {
ElMessage.error('无此权限')
return
}
@@ -574,7 +574,7 @@ const Rolerules = reactive({
const throttledHandleAddRole = _.throttle(handleAddRole, 5000, {
trailing: false
})
-const canLook = findMenuById(menuTree.value,permissionMapping.roleManageShow)
+const canLook = findMenuById(menuTree.value, permissionMapping.roleManageShow)
const canAdd = findMenuById(menuTree.value, permissionMapping.addRoleInfo)
const canEdit = findMenuById(menuTree.value, permissionMapping.editRoleInfo)
// 挂载
@@ -591,15 +591,16 @@ onMounted(async function () {
角色名称:
- 重置
查询
+ 重置