浏览代码

更新人才

wuhongyuq 5 年之前
父节点
当前提交
490f939eb9

+ 3 - 1
src/components/personnel/adviserList.vue

@@ -25,7 +25,7 @@
             </el-col>
           </el-col>
           <el-col :span="19" class="right">
-            <adviserLists :columnName="columnName"></adviserLists>
+            <adviserLists v-on="$listeners" :total="total" :columnName="columnName" :recruitData="recruitData"></adviserLists>
           </el-col>
         </div>
       </el-col>
@@ -52,6 +52,8 @@ export default {
     info: null, //站点信息
     liebiaoList: null, //分类导航
     columnName: null, //栏目名称
+    recruitData: null,
+    total: null,
   },
   components: {
     top, //头部

+ 3 - 1
src/components/personnel/diligenceList.vue

@@ -25,7 +25,7 @@
             </el-col>
           </el-col>
           <el-col :span="19" class="right">
-            <diligenceLists :columnName="columnName"></diligenceLists>
+            <diligenceLists :columnName="columnName" :total="total" v-on="$listeners" :recruitData="recruitData"></diligenceLists>
           </el-col>
         </div>
       </el-col>
@@ -52,6 +52,8 @@ export default {
     info: null, //站点信息
     liebiaoList: null, //分类导航
     columnName: null, //栏目名称
+    recruitData: null,
+    total: null,
   },
   components: {
     top, //头部

+ 3 - 1
src/components/personnel/guidanceList.vue

@@ -25,7 +25,7 @@
             </el-col>
           </el-col>
           <el-col :span="19" class="right">
-            <guidanceLists :columnName="columnName"></guidanceLists>
+            <guidanceLists :columnName="columnName" v-on="$listeners" :total="total" :recruitData="recruitData"></guidanceLists>
           </el-col>
         </div>
       </el-col>
@@ -52,6 +52,8 @@ export default {
     info: null, //站点信息
     liebiaoList: null, //分类导航
     columnName: null, //栏目名称
+    recruitData: null,
+    total: null,
   },
   components: {
     top, //头部

+ 3 - 1
src/components/personnel/practiceList.vue

@@ -25,7 +25,7 @@
             </el-col>
           </el-col>
           <el-col :span="19" class="right">
-            <practiceLists :columnName="columnName"></practiceLists>
+            <practiceLists :columnName="columnName" v-on="$listeners" :total="total" :recruitData="recruitData"></practiceLists>
           </el-col>
         </div>
       </el-col>
@@ -52,6 +52,8 @@ export default {
     info: null, //站点信息
     liebiaoList: null, //分类导航
     columnName: null, //栏目名称
+    recruitData: null,
+    total: null,
   },
   components: {
     top, //头部

+ 3 - 1
src/components/personnel/recruitList.vue

@@ -25,7 +25,7 @@
             </el-col>
           </el-col>
           <el-col :span="19" class="right">
-            <recruitLists :columnName="columnName"></recruitLists>
+            <recruitLists v-on="$listeners" :columnName="columnName" :total="total" :recruitData="recruitData"></recruitLists>
           </el-col>
         </div>
       </el-col>
@@ -52,6 +52,8 @@ export default {
     info: null, //站点信息
     liebiaoList: null, //分类导航
     columnName: null, //栏目名称
+    recruitData: null, //招聘信息表
+    total: null,
   },
   components: {
     top, //头部

+ 38 - 4
src/layout/personnel/adviserLists.vue

@@ -1,10 +1,23 @@
 <template>
-  <div id="adviserList">
+  <div id="recruitLists">
     <el-row>
       <el-col :span="24" class="list">
         <el-col :span="24" class="topTitle">
           {{ columnName }}
         </el-col>
+        <el-col :span="24">
+          <el-table :data="recruitData" style="width: 100%" border>
+            <el-table-column label="名称" align="center">
+              <template slot-scope="scoped">
+                <el-tooltip effect="dark" content="点击显示详情" placement="left">
+                  <el-col :span="24" @click.native="clickDetailcm(scoped.row)">{{ scoped.row.name }}</el-col>
+                </el-tooltip>
+              </template>
+            </el-table-column>
+            <el-table-column prop="infotype" label="信息类型" align="center"> </el-table-column>
+            <el-table-column prop="user_name" label="发布人" align="center"> </el-table-column>
+          </el-table>
+        </el-col>
       </el-col>
     </el-row>
   </div>
@@ -12,15 +25,29 @@
 
 <script>
 export default {
-  name: 'adviserList',
+  name: 'recruitLists',
   props: {
+    recruitData: null,
     columnName: null,
+    total: null,
   },
   components: {},
-  data: () => ({}),
+  data: () => ({
+    currentPage: 1,
+  }),
   created() {},
   computed: {},
-  methods: {},
+  methods: {
+    handleSizeChange(val) {
+      console.log(`每页 ${val} 条`);
+    },
+    handleCurrentChange(val) {
+      console.log(`当前页: ${val}`);
+    },
+    clickDetailcm(row) {
+      this.$emit('detailcm', { data: row });
+    },
+  },
 };
 </script>
 
@@ -35,4 +62,11 @@ export default {
   color: #22529a;
   margin: 0 0 20px 0;
 }
+.info {
+  height: 600px;
+}
+.page {
+  padding: 11px 0 0 0;
+  text-align: center;
+}
 </style>

+ 1 - 1
src/layout/personnel/contextcm.vue

@@ -3,7 +3,7 @@
     <el-row>
       <el-col :span="24" class="info">
         <el-col :span="24" class="topInfo">
-          <span>就业指导</span>
+          <span> {{ policyInfo.name }}</span>
         </el-col>
         <el-col :span="24" class="infoMess">
           <el-col :span="24" class="title">

+ 38 - 4
src/layout/personnel/diligenceLists.vue

@@ -1,10 +1,23 @@
 <template>
-  <div id="diligenceList">
+  <div id="recruitLists">
     <el-row>
       <el-col :span="24" class="list">
         <el-col :span="24" class="topTitle">
           {{ columnName }}
         </el-col>
+        <el-col :span="24">
+          <el-table :data="recruitData" style="width: 100%" border>
+            <el-table-column label="名称" align="center">
+              <template slot-scope="scoped">
+                <el-tooltip effect="dark" content="点击显示详情" placement="left">
+                  <el-col :span="24" @click.native="clickDetailcm(scoped.row)">{{ scoped.row.name }}</el-col>
+                </el-tooltip>
+              </template>
+            </el-table-column>
+            <el-table-column prop="infotype" label="信息类型" align="center"> </el-table-column>
+            <el-table-column prop="user_name" label="发布人" align="center"> </el-table-column>
+          </el-table>
+        </el-col>
       </el-col>
     </el-row>
   </div>
@@ -12,15 +25,29 @@
 
 <script>
 export default {
-  name: 'diligenceList',
+  name: 'recruitLists',
   props: {
+    recruitData: null,
     columnName: null,
+    total: null,
   },
   components: {},
-  data: () => ({}),
+  data: () => ({
+    currentPage: 1,
+  }),
   created() {},
   computed: {},
-  methods: {},
+  methods: {
+    handleSizeChange(val) {
+      console.log(`每页 ${val} 条`);
+    },
+    handleCurrentChange(val) {
+      console.log(`当前页: ${val}`);
+    },
+    clickDetailcm(row) {
+      this.$emit('detailcm', { data: row });
+    },
+  },
 };
 </script>
 
@@ -35,4 +62,11 @@ export default {
   color: #22529a;
   margin: 0 0 20px 0;
 }
+.info {
+  height: 600px;
+}
+.page {
+  padding: 11px 0 0 0;
+  text-align: center;
+}
 </style>

+ 38 - 4
src/layout/personnel/guidanceLists.vue

@@ -1,10 +1,23 @@
 <template>
-  <div id="guidanceList">
+  <div id="recruitLists">
     <el-row>
       <el-col :span="24" class="list">
         <el-col :span="24" class="topTitle">
           {{ columnName }}
         </el-col>
+        <el-col :span="24">
+          <el-table :data="recruitData" style="width: 100%" border>
+            <el-table-column label="名称" align="center">
+              <template slot-scope="scoped">
+                <el-tooltip effect="dark" content="点击显示详情" placement="left">
+                  <el-col :span="24" @click.native="clickDetailcm(scoped.row)">{{ scoped.row.name }}</el-col>
+                </el-tooltip>
+              </template>
+            </el-table-column>
+            <el-table-column prop="infotype" label="信息类型" align="center"> </el-table-column>
+            <el-table-column prop="user_name" label="发布人" align="center"> </el-table-column>
+          </el-table>
+        </el-col>
       </el-col>
     </el-row>
   </div>
@@ -12,15 +25,29 @@
 
 <script>
 export default {
-  name: 'guidanceList',
+  name: 'recruitLists',
   props: {
+    recruitData: null,
     columnName: null,
+    total: null,
   },
   components: {},
-  data: () => ({}),
+  data: () => ({
+    currentPage: 1,
+  }),
   created() {},
   computed: {},
-  methods: {},
+  methods: {
+    handleSizeChange(val) {
+      console.log(`每页 ${val} 条`);
+    },
+    handleCurrentChange(val) {
+      console.log(`当前页: ${val}`);
+    },
+    clickDetailcm(row) {
+      this.$emit('detailcm', { data: row });
+    },
+  },
 };
 </script>
 
@@ -35,4 +62,11 @@ export default {
   color: #22529a;
   margin: 0 0 20px 0;
 }
+.info {
+  height: 600px;
+}
+.page {
+  padding: 11px 0 0 0;
+  text-align: center;
+}
 </style>

+ 38 - 4
src/layout/personnel/practiceLists.vue

@@ -1,10 +1,23 @@
 <template>
-  <div id="practiceList">
+  <div id="recruitLists">
     <el-row>
       <el-col :span="24" class="list">
         <el-col :span="24" class="topTitle">
           {{ columnName }}
         </el-col>
+        <el-col :span="24">
+          <el-table :data="recruitData" style="width: 100%" border>
+            <el-table-column label="名称" align="center">
+              <template slot-scope="scoped">
+                <el-tooltip effect="dark" content="点击显示详情" placement="left">
+                  <el-col :span="24" @click.native="clickDetailcm(scoped.row)">{{ scoped.row.name }}</el-col>
+                </el-tooltip>
+              </template>
+            </el-table-column>
+            <el-table-column prop="infotype" label="信息类型" align="center"> </el-table-column>
+            <el-table-column prop="user_name" label="发布人" align="center"> </el-table-column>
+          </el-table>
+        </el-col>
       </el-col>
     </el-row>
   </div>
@@ -12,15 +25,29 @@
 
 <script>
 export default {
-  name: 'practiceList',
+  name: 'recruitLists',
   props: {
+    recruitData: null,
     columnName: null,
+    total: null,
   },
   components: {},
-  data: () => ({}),
+  data: () => ({
+    currentPage: 1,
+  }),
   created() {},
   computed: {},
-  methods: {},
+  methods: {
+    handleSizeChange(val) {
+      console.log(`每页 ${val} 条`);
+    },
+    handleCurrentChange(val) {
+      console.log(`当前页: ${val}`);
+    },
+    clickDetailcm(row) {
+      this.$emit('detailcm', { data: row });
+    },
+  },
 };
 </script>
 
@@ -35,4 +62,11 @@ export default {
   color: #22529a;
   margin: 0 0 20px 0;
 }
+.info {
+  height: 600px;
+}
+.page {
+  padding: 11px 0 0 0;
+  text-align: center;
+}
 </style>

+ 47 - 2
src/layout/personnel/recruitLists.vue

@@ -5,6 +5,32 @@
         <el-col :span="24" class="topTitle">
           {{ columnName }}
         </el-col>
+        <el-col :span="24" class="info">
+          <el-table :data="recruitData" style="width: 100%" border>
+            <el-table-column label="招聘信息名称" align="center">
+              <template slot-scope="scoped">
+                <el-tooltip effect="dark" content="点击显示详情" placement="left">
+                  <el-col :span="24" @click.native="clickDetailcm(scoped.row)">{{ scoped.row.name }}</el-col>
+                </el-tooltip>
+              </template>
+            </el-table-column>
+            <el-table-column prop="profession" label="公司名称" align="center"> </el-table-column>
+            <el-table-column prop="salary" label="月薪" align="center"> </el-table-column>
+            <el-table-column prop="workplace" label="工作地点" align="center"> </el-table-column>
+            <el-table-column prop="people_number" label="招聘人数" align="center"> </el-table-column>
+          </el-table>
+        </el-col>
+
+        <el-col class="page" :span="24">
+          <el-pagination
+            @size-change="handleSizeChange"
+            @current-change="handleCurrentChange"
+            :current-page="currentPage"
+            layout="total,  prev, pager, next, jumper"
+            :total="total"
+          >
+          </el-pagination>
+        </el-col>
       </el-col>
     </el-row>
   </div>
@@ -14,13 +40,25 @@
 export default {
   name: 'recruitLists',
   props: {
+    recruitData: null,
     columnName: null,
+    total: null,
   },
   components: {},
-  data: () => ({}),
+  data: () => ({ currentPage: 1 }),
   created() {},
   computed: {},
-  methods: {},
+  methods: {
+    handleSizeChange(val) {
+      console.log(`每页 ${val} 条`);
+    },
+    handleCurrentChange(val) {
+      console.log(`当前页: ${val}`);
+    },
+    clickDetailcm(row) {
+      this.$emit('detailcm', { data: row });
+    },
+  },
 };
 </script>
 
@@ -35,4 +73,11 @@ export default {
   color: #22529a;
   margin: 0 0 20px 0;
 }
+.info {
+  height: 600px;
+}
+.page {
+  padding: 11px 0 0 0;
+  text-align: center;
+}
 </style>

+ 2 - 2
src/store/policiesxinxi.js

@@ -9,8 +9,8 @@ const state = () => ({});
 const mutations = {};
 
 const actions = {
-  async query({ commit }, { skip = 0, limit, ...info } = {}) {
-    const res = await this.$axios.$get(`${api.columnInfo}`, { skip, limit, ...info });
+  async query({ commit }, { skip = 0, limit, column_id, ...info } = {}) {
+    const res = await this.$axios.$get(`${api.columnInfo}`, { skip, limit, column_id, ...info });
     return res;
   },
   async create({ commit }, payload) {

+ 23 - 1
src/views/personnel/adviserList.vue

@@ -1,6 +1,14 @@
 <template>
   <div id="adviserList">
-    <adviserList-detail :info="info" :liebiaoList="liebiaoList" @onsave="onsaveClick" :columnName="columnName"></adviserList-detail>
+    <adviserList-detail
+      :info="info"
+      @detailcm="clickDetailcm"
+      :recruitData="recruitData"
+      :liebiaoList="liebiaoList"
+      @onsave="onsaveClick"
+      :columnName="columnName"
+      :total="total"
+    ></adviserList-detail>
   </div>
 </template>
 
@@ -9,6 +17,7 @@ import adviserListDetail from '@/components/personnel/adviserList.vue';
 import { createNamespacedHelpers, mapGetters } from 'vuex';
 const { mapActions: mapSite } = createNamespacedHelpers('site');
 const { mapActions: mapColumn } = createNamespacedHelpers('policiesColumn');
+const { mapActions: mapRecruit } = createNamespacedHelpers('policiesjbxx');
 export default {
   name: 'adviserList',
   props: {},
@@ -19,16 +28,19 @@ export default {
     info: {},
     liebiaoList: [],
     columnName: '',
+    recruitData: [],
   }),
   created() {
     this.searchSite();
     this.searchColumn();
     this.searchName();
+    this.searchList();
   },
   computed: {},
   methods: {
     ...mapSite(['showInfo']),
     ...mapColumn({ columnList: 'query', columnInfo: 'fetch' }),
+    ...mapRecruit({ recruitList: 'query' }),
     // 查询站点信息
     async searchSite() {
       let res = await this.showInfo();
@@ -63,6 +75,16 @@ export default {
       const res = await this.columnInfo(nameId);
       this.$set(this, `columnName`, res.data.name);
     },
+    async searchList({ skip = 0, limit = 10, column_id } = {}) {
+      const res = await this.recruitList({ skip, limit, column_id: this.$route.query.id });
+      if (this.$checkRes(res)) {
+        this.$set(this, `recruitData`, res.data);
+        console.log(res.data);
+      }
+    },
+    clickDetailcm({ data }) {
+      this.$router.push({ path: '/personnel/personnelcmdetail', query: { id: data.id } });
+    },
   },
 };
 </script>

+ 26 - 3
src/views/personnel/diligenceList.vue

@@ -1,6 +1,14 @@
 <template>
-  <div id="diligenceList">
-    <diligenceList-detail :info="info" :liebiaoList="liebiaoList" @onsave="onsaveClick" :columnName="columnName"></diligenceList-detail>
+  <div id="guidanceList">
+    <diligenceList-detail
+      :info="info"
+      :recruitData="recruitData"
+      :liebiaoList="liebiaoList"
+      @onsave="onsaveClick"
+      :columnName="columnName"
+      @detailcm="clickDetailcm"
+      :total="total"
+    ></diligenceList-detail>
   </div>
 </template>
 
@@ -9,26 +17,31 @@ import diligenceListDetail from '@/components/personnel/diligenceList.vue';
 import { createNamespacedHelpers, mapGetters } from 'vuex';
 const { mapActions: mapSite } = createNamespacedHelpers('site');
 const { mapActions: mapColumn } = createNamespacedHelpers('policiesColumn');
+const { mapActions: mapRecruit } = createNamespacedHelpers('policiesjbxx');
 export default {
-  name: 'diligenceList',
+  name: 'guidanceList',
   props: {},
   components: {
     diligenceListDetail,
   },
   data: () => ({
+    total: 1,
     info: {},
     liebiaoList: [],
     columnName: '',
+    recruitData: [],
   }),
   created() {
     this.searchSite();
     this.searchColumn();
     this.searchName();
+    this.searchList();
   },
   computed: {},
   methods: {
     ...mapSite(['showInfo']),
     ...mapColumn({ columnList: 'query', columnInfo: 'fetch' }),
+    ...mapRecruit({ recruitList: 'query' }),
     // 查询站点信息
     async searchSite() {
       let res = await this.showInfo();
@@ -63,6 +76,16 @@ export default {
       const res = await this.columnInfo(nameId);
       this.$set(this, `columnName`, res.data.name);
     },
+    async searchList({ skip = 0, limit = 10, column_id } = {}) {
+      const res = await this.recruitList({ skip, limit, column_id: this.$route.query.id });
+      if (this.$checkRes(res)) {
+        this.$set(this, `recruitData`, res.data);
+        console.log(res.data);
+      }
+    },
+    clickDetailcm({ data }) {
+      this.$router.push({ path: '/personnel/personnelcmdetail', query: { id: data.id } });
+    },
   },
 };
 </script>

+ 24 - 1
src/views/personnel/guidanceList.vue

@@ -1,6 +1,14 @@
 <template>
   <div id="guidanceList">
-    <guidanceList-detail :info="info" :liebiaoList="liebiaoList" @onsave="onsaveClick" :columnName="columnName"></guidanceList-detail>
+    <guidanceList-detail
+      :info="info"
+      :recruitData="recruitData"
+      :liebiaoList="liebiaoList"
+      @onsave="onsaveClick"
+      :columnName="columnName"
+      @detailcm="clickDetailcm"
+      :total="total"
+    ></guidanceList-detail>
   </div>
 </template>
 
@@ -9,6 +17,7 @@ import guidanceListDetail from '@/components/personnel/guidanceList.vue';
 import { createNamespacedHelpers, mapGetters } from 'vuex';
 const { mapActions: mapSite } = createNamespacedHelpers('site');
 const { mapActions: mapColumn } = createNamespacedHelpers('policiesColumn');
+const { mapActions: mapRecruit } = createNamespacedHelpers('policiesjbxx');
 export default {
   name: 'guidanceList',
   props: {},
@@ -16,19 +25,23 @@ export default {
     guidanceListDetail,
   },
   data: () => ({
+    total: 1,
     info: {},
     liebiaoList: [],
     columnName: '',
+    recruitData: [],
   }),
   created() {
     this.searchSite();
     this.searchColumn();
     this.searchName();
+    this.searchList();
   },
   computed: {},
   methods: {
     ...mapSite(['showInfo']),
     ...mapColumn({ columnList: 'query', columnInfo: 'fetch' }),
+    ...mapRecruit({ recruitList: 'query' }),
     // 查询站点信息
     async searchSite() {
       let res = await this.showInfo();
@@ -63,6 +76,16 @@ export default {
       const res = await this.columnInfo(nameId);
       this.$set(this, `columnName`, res.data.name);
     },
+    async searchList({ skip = 0, limit = 10, column_id } = {}) {
+      const res = await this.recruitList({ skip, limit, column_id: this.$route.query.id });
+      if (this.$checkRes(res)) {
+        this.$set(this, `recruitData`, res.data);
+        console.log(res.data);
+      }
+    },
+    clickDetailcm({ data }) {
+      this.$router.push({ path: '/personnel/personnelcmdetail', query: { id: data.id } });
+    },
   },
 };
 </script>

+ 26 - 3
src/views/personnel/practiceList.vue

@@ -1,6 +1,14 @@
 <template>
-  <div id="practiceList">
-    <practiceList-detail :info="info" :liebiaoList="liebiaoList" @onsave="onsaveClick" :columnName="columnName"></practiceList-detail>
+  <div id="guidanceList">
+    <practiceList-detail
+      :info="info"
+      :recruitData="recruitData"
+      :liebiaoList="liebiaoList"
+      @onsave="onsaveClick"
+      :columnName="columnName"
+      @detailcm="clickDetailcm"
+      :total="total"
+    ></practiceList-detail>
   </div>
 </template>
 
@@ -9,8 +17,9 @@ import practiceListDetail from '@/components/personnel/practiceList.vue';
 import { createNamespacedHelpers, mapGetters } from 'vuex';
 const { mapActions: mapSite } = createNamespacedHelpers('site');
 const { mapActions: mapColumn } = createNamespacedHelpers('policiesColumn');
+const { mapActions: mapRecruit } = createNamespacedHelpers('policiesjbxx');
 export default {
-  name: 'practiceList',
+  name: 'guidanceList',
   props: {},
   components: {
     practiceListDetail,
@@ -19,16 +28,20 @@ export default {
     info: {},
     liebiaoList: [],
     columnName: '',
+    recruitData: [],
+    total: 1,
   }),
   created() {
     this.searchSite();
     this.searchColumn();
     this.searchName();
+    this.searchList();
   },
   computed: {},
   methods: {
     ...mapSite(['showInfo']),
     ...mapColumn({ columnList: 'query', columnInfo: 'fetch' }),
+    ...mapRecruit({ recruitList: 'query' }),
     // 查询站点信息
     async searchSite() {
       let res = await this.showInfo();
@@ -63,6 +76,16 @@ export default {
       const res = await this.columnInfo(nameId);
       this.$set(this, `columnName`, res.data.name);
     },
+    async searchList({ skip = 0, limit = 10, column_id } = {}) {
+      const res = await this.recruitList({ skip, limit, column_id: this.$route.query.id });
+      if (this.$checkRes(res)) {
+        this.$set(this, `recruitData`, res.data);
+        console.log(res.data);
+      }
+    },
+    clickDetailcm({ data }) {
+      this.$router.push({ path: '/personnel/personnelcmdetail', query: { id: data.id } });
+    },
   },
 };
 </script>

+ 24 - 1
src/views/personnel/recruitList.vue

@@ -1,6 +1,14 @@
 <template>
   <div id="recruitList">
-    <recruitList-detail :info="info" :liebiaoList="liebiaoList" @onsave="onsaveClick" :columnName="columnName"></recruitList-detail>
+    <recruitList-detail
+      :info="info"
+      @detailcm="clickDetailcm"
+      :liebiaoList="liebiaoList"
+      @onsave="onsaveClick"
+      :recruitData="recruitData"
+      :columnName="columnName"
+      :total="total"
+    ></recruitList-detail>
   </div>
 </template>
 
@@ -9,6 +17,7 @@ import recruitListDetail from '@/components/personnel/recruitList.vue';
 import { createNamespacedHelpers, mapGetters } from 'vuex';
 const { mapActions: mapSite } = createNamespacedHelpers('site');
 const { mapActions: mapColumn } = createNamespacedHelpers('policiesColumn');
+const { mapActions: mapRecruit } = createNamespacedHelpers('policiesxinxi');
 export default {
   name: 'recruitList',
   props: {},
@@ -19,16 +28,20 @@ export default {
     info: {},
     liebiaoList: [],
     columnName: '',
+    recruitData: [],
+    total: 1,
   }),
   created() {
     this.searchSite();
     this.searchColumn();
     this.searchName();
+    this.searchList();
   },
   computed: {},
   methods: {
     ...mapSite(['showInfo']),
     ...mapColumn({ columnList: 'query', columnInfo: 'fetch' }),
+    ...mapRecruit({ recruitList: 'query' }),
     // 查询站点信息
     async searchSite() {
       let res = await this.showInfo();
@@ -63,6 +76,16 @@ export default {
       const res = await this.columnInfo(nameId);
       this.$set(this, `columnName`, res.data.name);
     },
+    async searchList({ skip = 0, limit = 10, column_id } = {}) {
+      const res = await this.recruitList({ skip, limit, column_id: this.$route.query.id });
+      if (this.$checkRes(res)) {
+        this.$set(this, `recruitData`, res.data);
+        console.log(res.data);
+      }
+    },
+    clickDetailcm({ data }) {
+      this.$router.push({ path: '/personnel/personnelwork', query: { id: data.id } });
+    },
   },
 };
 </script>