|
|
|
@ -14,7 +14,7 @@ import dayjs from "dayjs"; |
|
|
|
const adminStore = useAdminStore(); |
|
|
|
const { adminData, menuTree } = storeToRefs(adminStore); |
|
|
|
const showEmployeeData = ref(false) |
|
|
|
const canLook = findMenuById(menuTree.value, permissionMapping.gold_coin_refund_details) |
|
|
|
const canLook = ref(findMenuById(menuTree.value, permissionMapping.gold_coin_refund_details)) |
|
|
|
|
|
|
|
const defaultTime = [ |
|
|
|
new Date(2000, 1, 1, 0, 0, 0), |
|
|
|
@ -115,6 +115,7 @@ const getRefundTypes = async function () { |
|
|
|
// 搜索方法 |
|
|
|
const getSelectBy = async function (val) { |
|
|
|
if (!canLook.value) { |
|
|
|
console.log('无此权限', canLook.value) |
|
|
|
ElMessage.error('无此权限') |
|
|
|
return |
|
|
|
} |
|
|
|
|