|
@@ -11,6 +11,7 @@
|
|
:liebiaoList="liebiaoList"
|
|
:liebiaoList="liebiaoList"
|
|
@detail="clickDetail"
|
|
@detail="clickDetail"
|
|
@detailgz="clickDetailgz"
|
|
@detailgz="clickDetailgz"
|
|
|
|
+ @detailzj="clickDetailzj"
|
|
></personnel-detail>
|
|
></personnel-detail>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -22,6 +23,9 @@ const { mapActions: mapSite } = createNamespacedHelpers('site');
|
|
const { mapActions: mapColumn } = createNamespacedHelpers('policiesColumn');
|
|
const { mapActions: mapColumn } = createNamespacedHelpers('policiesColumn');
|
|
const { mapActions: mapNews } = createNamespacedHelpers('policiesNew');
|
|
const { mapActions: mapNews } = createNamespacedHelpers('policiesNew');
|
|
const { mapActions: mapxinxi } = createNamespacedHelpers('policiesxinxi');
|
|
const { mapActions: mapxinxi } = createNamespacedHelpers('policiesxinxi');
|
|
|
|
+const { mapActions: mapzhuanjia } = createNamespacedHelpers('policieszhuanjia');
|
|
|
|
+const { mapActions: mapcanmou } = createNamespacedHelpers('policiesjbxx');
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
name: 'personnel',
|
|
name: 'personnel',
|
|
props: {},
|
|
props: {},
|
|
@@ -67,7 +71,10 @@ export default {
|
|
this.searchSite();
|
|
this.searchSite();
|
|
this.searchColumn();
|
|
this.searchColumn();
|
|
this.searchInfo();
|
|
this.searchInfo();
|
|
- this.searchInfos();
|
|
|
|
|
|
+ this.searchInfojobs();
|
|
|
|
+ this.searchInfozhuanjia();
|
|
|
|
+ this.searchInfomapcanmou();
|
|
|
|
+
|
|
// this.searchRencaiShow();
|
|
// this.searchRencaiShow();
|
|
},
|
|
},
|
|
computed: {},
|
|
computed: {},
|
|
@@ -76,6 +83,8 @@ export default {
|
|
...mapColumn({ columnList: 'query', columnInfo: 'fetch' }),
|
|
...mapColumn({ columnList: 'query', columnInfo: 'fetch' }),
|
|
...mapNews({ newsList: 'query', newsInfo: 'fetch' }),
|
|
...mapNews({ newsList: 'query', newsInfo: 'fetch' }),
|
|
...mapxinxi({ xinxiList: 'query', xinxiInfo: 'fetch' }),
|
|
...mapxinxi({ xinxiList: 'query', xinxiInfo: 'fetch' }),
|
|
|
|
+ ...mapzhuanjia({ zhuanjiaList: 'query', zhuanjiaInfo: 'fetch' }),
|
|
|
|
+ ...mapcanmou({ canmouList: 'query', canmouInfo: 'fetch' }),
|
|
|
|
|
|
// 查询站点信息
|
|
// 查询站点信息
|
|
async searchSite() {
|
|
async searchSite() {
|
|
@@ -101,12 +110,24 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
- async searchInfos({ skip = 0, limit = 10, ...info } = {}) {
|
|
|
|
|
|
+ async searchInfojobs({ skip = 0, limit = 10, ...info } = {}) {
|
|
const res = await this.xinxiList({ skip, limit, ...info });
|
|
const res = await this.xinxiList({ skip, limit, ...info });
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
this.$set(this, `jobsData`, res.data);
|
|
this.$set(this, `jobsData`, res.data);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ async searchInfozhuanjia({ skip = 0, limit = 10, ...info } = {}) {
|
|
|
|
+ const res = await this.zhuanjiaList({ skip, limit, ...info });
|
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
|
+ 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 }) {
|
|
clickDetail({ data }) {
|
|
// 点击这个方法,跳转页面,并把id传过去,并用id查询详情
|
|
// 点击这个方法,跳转页面,并把id传过去,并用id查询详情
|
|
this.$router.push({ path: '/personnel/rencai', query: { id: data.id } });
|
|
this.$router.push({ path: '/personnel/rencai', query: { id: data.id } });
|
|
@@ -115,6 +136,11 @@ export default {
|
|
// 点击这个方法,跳转页面,并把id传过去,并用id查询详情
|
|
// 点击这个方法,跳转页面,并把id传过去,并用id查询详情
|
|
this.$router.push({ path: '/personnel/personnelwork', query: { id: data.id } });
|
|
this.$router.push({ path: '/personnel/personnelwork', query: { id: data.id } });
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+ clickDetailzj({ data }) {
|
|
|
|
+ // 点击这个方法,跳转页面,并把id传过去,并用id查询详情
|
|
|
|
+ this.$router.push({ path: '/personnel/personnelexpert', query: { id: data.id } });
|
|
|
|
+ },
|
|
},
|
|
},
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|