Explorar o código

跳转新建用户

gangyj %!s(int64=3) %!d(string=hai) anos
pai
achega
7110b0db40
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      src/views/manager/projectinfo/detail.vue

+ 7 - 1
src/views/manager/projectinfo/detail.vue

@@ -327,7 +327,7 @@
                 class="marleft10"
                 @click="addUserToProject"
               >添加</el-button>
-              <el-button type="primary">创建新用户</el-button>
+              <el-button type="primary" @click="rputerPush()">创建新用户</el-button>
               <el-button
                 type="danger"
                 @click="handleDeletes"
@@ -537,6 +537,12 @@ export default {
       this.pageindx = val
       this.getUserByCondition();
     },
+    rputerPush () {
+      this.$router.push({
+        path: '/system/user',
+        query: { tankai: true }
+      })
+    },
     //#endregion
     init () {
       this.getHighwayGradeList();