Explorar el Código

审核详情获取

zweizhao hace 7 años
padre
commit
756edbc4ad
Se han modificado 2 ficheros con 35 adiciones y 6 borrados
  1. 7 6
      pages/main/index/dev_check.vue
  2. 28 0
      pages/main/index/dev_check_detail.vue

+ 7 - 6
pages/main/index/dev_check.vue

@@ -1,11 +1,11 @@
 <template>
-  <div id="withdraw">
+  <section id="dev_check">
     <el-select v-model="selected" @change="changeSelect" placeholder="筛选">
       <el-option v-for="(item, index) of statuses" :key="index" :label="item.name" :value="item.id">
         <span>{{item.name}}</span>
       </el-option>
     </el-select>
-    <div class="table">
+    <section class="table">
       <el-table
         v-if="tableData.length"
         height="100%"
@@ -32,7 +32,7 @@
           </template>
         </el-table-column>
       </el-table>
-    </div>
+    </section>
     <el-pagination
       @current-change="changePagination"
       :current-page.sync="currentPage"
@@ -40,7 +40,7 @@
       layout="total, prev, pager, next"
       :total="totalCount"
     ></el-pagination>
-  </div>
+  </section>
 </template>
 
 <script>
@@ -111,9 +111,10 @@ export default {
     },
     clickCtrl(item, index) {
       this.$router.push({
-        path: '/main/cert_edit',
+        path: '/main/dev_check_detail',
         query: {
-          id: item.id
+          uid: item.uid,
+          cert_id: item.cert_id
         }
       })
     },

+ 28 - 0
pages/main/index/dev_check_detail.vue

@@ -0,0 +1,28 @@
+<template>
+  <section id="dev_check_detail">
+    cert_check_detail
+  </section>
+</template>
+
+<script>
+export default {
+  data() {
+    return {
+      detail: null,
+    }
+  },
+  mounted() {
+    this.getDetail()
+  },
+  methods: {
+    async getDetail() {
+      let res = this.$post('/api/admin/cert/getUserDetail', this.$route.query)
+
+    }
+  }
+}
+</script>
+
+<style scoped>
+
+</style>