Commit 3097e5df by mr.wang

多生物采集

parent 5d43e1cf
...@@ -208,4 +208,12 @@ export default [ ...@@ -208,4 +208,12 @@ export default [
}, },
component: () => import("@/views/dswtzxx/jbxx/rxbj.vue") component: () => import("@/views/dswtzxx/jbxx/rxbj.vue")
}, },
{
path: "/dswcj",
name: "dswcj",
meta: {
title: '采集信息'
},
component: () => import("@/views/dswtz/swxx/dswcj.vue")
},
] ]
<template>
<div class="swtzxxglRoutes" style="margin: 20px;">
<el-tabs v-if="!loading" v-model="activeName" type="border-card" @tab-click="handleClick">
<el-tab-pane label="人像信息管理" name="RX"><addRxxx></addRxxx></el-tab-pane>
<el-tab-pane label="DNA信息管理" name="DNA"><DNAlist :info="info"></DNAlist></el-tab-pane>
<el-tab-pane label="虹膜信息管理" name="HM"><addHmxx :info="info"></addHmxx></el-tab-pane>
<el-tab-pane label="声纹信息管理" name="SW"><SWlist :info="info"></SWlist></el-tab-pane>
<el-tab-pane label="足迹信息管理" name="ZJ"><addZjxx></addZjxx></el-tab-pane>
<el-tab-pane label="平面指纹信息管理" name="PM"><addZwxx></addZwxx></el-tab-pane>
<el-tab-pane label="滚动指纹信息管理" name="GD"><addGDZwxx></addGDZwxx></el-tab-pane>
</el-tabs>
</div>
</template>
<script>
import addRxxx from '@p/dswtz/rxxx/addRxxx.vue'
import DNAlist from '@p/dswtz/dnaxx/DNAlist.vue'
import addHmxx from '@p/dswtz/hmxx/addHmxx.vue'
import SWlist from '@p/dswtz/swxx/SWlist.vue'
import addZjxx from '@p/dswtz/zjxx/addZjxx.vue'
import addZwxx from '@p/dswtz/zwxx/addZwxx.vue'
import addGDZwxx from '@p/dswtz/zwxx/addGDZwxx.vue'
import { selectRyxxById} from "@/api/dswtzxx.js";
export default {
components: {
addRxxx,DNAlist,addHmxx,SWlist,addZjxx,addZwxx,addGDZwxx
},
data() {
return {
activeName: 'RX',
info:{},
loading:true
};
},
methods: {
handleClick(tab, event) {
console.log(tab, event);
}
},
created() {
let params = new FormData()
params.append('rybh',this.$route.query.rybh)
selectRyxxById(params).then(jm=>{
if(jm.code===200){
this.info = jm.data.rows
this.loading= false
}
})
}
};
</script>
<style lang="scss">
.swtzxxglRoutes {
margin: 20px auto !important;
width: 1200px;
border-radius: 8px;
#formCommonPage .button {
// width: calc(100% - 285px) !important;
left: 0px !important;
}
}
</style>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<!-- <el-button @click="dele(scope.scope)" type="text">删除</el-button> --> <!-- <el-button @click="dele(scope.scope)" type="text">删除</el-button> -->
<!-- <el-button @click="modelList(scope.scope)" type="text">修改</el-button> --> <!-- <el-button @click="modelList(scope.scope)" type="text">修改</el-button> -->
<el-button @click="modelList(scope.scope,'ryxxrxbj')" type="text">修改</el-button> <el-button @click="modelList(scope.scope,'ryxxrxbj')" type="text">修改</el-button>
<el-button @click="toCjxx(scope.scope)" type="text">采集</el-button> <el-button @click="toCjxx(scope.scope, 'dswcj')" type="text">采集</el-button>
<el-button @click="RouteName(scope.scope, 'swtzxxgl')" type="text" <el-button @click="RouteName(scope.scope, 'swtzxxgl')" type="text"
>生物特征信息管理</el-button >生物特征信息管理</el-button
> >
...@@ -171,11 +171,13 @@ export default { ...@@ -171,11 +171,13 @@ export default {
this.$store.commit("user/SET_LeftMenu", this.leftMenus); this.$store.commit("user/SET_LeftMenu", this.leftMenus);
}, },
methods: { methods: {
toCjxx(scope,m){
this.$router.pushToTab({
path: m,
query: { rybh: scope.row.rybh },
});
},
RouteName(scope, m) { RouteName(scope, m) {
// this.$router.push({
// path: m,
// query: { rybh: scope.row.rybh },
// });
let routeUrl = this.$router.resolve({ let routeUrl = this.$router.resolve({
path: m, path: m,
query: { query: {
...@@ -185,26 +187,16 @@ export default { ...@@ -185,26 +187,16 @@ export default {
}); });
window.open(routeUrl.href, "_blank"); window.open(routeUrl.href, "_blank");
}, },
// modelList(scope) {
// const rybh = scope.row.rybh;
// const userInfo = JSON.parse(sessionStorage.getItem("userInfo"));
// window.open(
// "http://10.184.14.133:9200/singleLoginAct?rybh=" +
// rybh +
// "," +
// userInfo.account +
// ",rycj,1,JZTS",
// "_blank"
// );
// },
modelList(scope,m){ modelList(scope,m){
this.$router.push({ this.$router.pushToTab({
path: m, path: m,
query: { rybh: scope.row.rybh }, query: { rybh: scope.row.rybh },
}); });
}, },
add(){ add(){
this.$router.push("addryxx"); this.$router.pushToTab({
path: "/addryxx",
});
}, },
edit(scope) { edit(scope) {
this.$router.push({ this.$router.push({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment