scorpio 2 年之前
父節點
當前提交
a4edbdf78a
共有 1 個文件被更改,包括 8 次插入16 次删除
  1. 8 16
      src/views/home/component/dash.vue

+ 8 - 16
src/views/home/component/dash.vue

@@ -621,22 +621,14 @@ export default {
     },
     beforeOpen(done, type) {
       if (['edit'].includes(type)) {
-        if (!['15368241401', '13908866201'].includes(this.user.info.account)) {
-          this.$confirm('暂未授权使用', {
-            confirmButtonText: '确定',
-            cancelButtonText: '取消',
-            type: 'warning'
-          })
-        } else {
-          this.$router.push({
-            path: '/home/details',
-            query: {
-              id: this.form.id,
-              type: '0',
-              ownerId: this.form.createUser
-            }
-          })
-        }
+        this.$router.push({
+          path: '/home/details',
+          query: {
+            id: this.form.id,
+            type: '0',
+            ownerId: this.form.createUser
+          }
+        })
       } else if (type === 'view') {
         this.$router.push({
           path: '/home/pro_detail',