|
@@ -281,6 +281,7 @@ import importFile from "./importFile.vue";
|
|
|
import { saveAs } from 'file-saver';
|
|
|
import { getToken } from '@/utils/auth';
|
|
|
import axios from 'axios';
|
|
|
+import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
|
|
|
|
|
|
export default {
|
|
|
name: 'GATHER',
|
|
@@ -377,6 +378,8 @@ export default {
|
|
|
this.getList();
|
|
|
},
|
|
|
methods: {
|
|
|
+ checkPermi,
|
|
|
+ checkRole,
|
|
|
validatorNum(rule, value, callback) {},
|
|
|
validatorFloatNum(rule, value, callback) {
|
|
|
let reg = /^[+-]?(0|([1-9]\d*))(\.\d+)?$/g;
|