|
@@ -24,6 +24,8 @@ const { mapActions: mapColumn } = createNamespacedHelpers('policiesColumn');
|
|
|
const { mapActions: mapNews } = createNamespacedHelpers('policiesNew');
|
|
|
const { mapActions: mapxinxi } = createNamespacedHelpers('policiesxinxi');
|
|
|
const { mapActions: mapzhuanjia } = createNamespacedHelpers('policieszhuanjia');
|
|
|
+const { mapActions: mapcanmou } = createNamespacedHelpers('policiesjbxx');
|
|
|
+
|
|
|
export default {
|
|
|
name: 'personnel',
|
|
|
props: {},
|
|
@@ -71,6 +73,8 @@ export default {
|
|
|
this.searchInfo();
|
|
|
this.searchInfojobs();
|
|
|
this.searchInfozhuanjia();
|
|
|
+ this.searchInfomapcanmou();
|
|
|
+
|
|
|
// this.searchRencaiShow();
|
|
|
},
|
|
|
computed: {},
|
|
@@ -80,6 +84,7 @@ export default {
|
|
|
...mapNews({ newsList: 'query', newsInfo: 'fetch' }),
|
|
|
...mapxinxi({ xinxiList: 'query', xinxiInfo: 'fetch' }),
|
|
|
...mapzhuanjia({ zhuanjiaList: 'query', zhuanjiaInfo: 'fetch' }),
|
|
|
+ ...mapcanmou({ canmouList: 'query', canmouInfo: 'fetch' }),
|
|
|
|
|
|
// 查询站点信息
|
|
|
async searchSite() {
|
|
@@ -117,6 +122,12 @@ export default {
|
|
|
this.$set(this, `zhuanjiaData`, res.data);
|
|
|
}
|
|
|
},
|
|
|
+ async searchInfomapcanmou({ skip = 0, limit = 10, ...info } = {}) {
|
|
|
+ const res = await this.canmouList({ skip, limit, ...info });
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
+ this.$set(this, `canmoData`, res.data);
|
|
|
+ }
|
|
|
+ },
|
|
|
clickDetail({ data }) {
|
|
|
// 点击这个方法,跳转页面,并把id传过去,并用id查询详情
|
|
|
this.$router.push({ path: '/personnel/rencai', query: { id: data.id } });
|