Commit cf998c83 by xue_wengang

多生物特征建设

parent 26d495b1
......@@ -20,7 +20,7 @@ import xsjsdbRoutes from "./modules/xsjsdb";
import zjclRoutes from "./modules/zjcl";
import userAuthRoutes from "./modules/userAuth";
import ajxscxbdRoutes from "./modules/ajxscxbd";
import dswtzRoutes from "./modules/dswtz";
const originalPush = VueRouter.prototype.push;
VueRouter.prototype.push = function push(location) {
......@@ -53,6 +53,7 @@ const mainRouters = [
zjclRoutes,
userAuthRoutes,
ajxscxbdRoutes,
dswtzRoutes,
{
path: "*",
name: "error",
......
import menuLayout from "@/layout/menuLayout.vue";
const menuLayouts = [
{
path: "/queryRxxx",
name: "queryRxxx",
meta: {
title: '人像信息查询'
},
component: () => import("@/views/dswtz/rxxx/queryRxxx.vue")
},
{
path: "/addRxxx",
name: "addRxxx",
meta: {
isAdd: true,
title: '人像信息'
},
component: () => import("@/views/dswtz/rxxx/addRxxx.vue")
},
{
path: "/rxxxDetail",
name: "rxxxDetail",
meta: {
isAdd: true,
title: '人像信息详情'
},
component: () => import("@/views/dswtz/rxxx/rxxxDetail.vue")
},
];
export default {
path: "/right",
component: menuLayout,
children: [...menuLayouts]
};
\ No newline at end of file
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@add="add"
@edit="edit"
@dele="dele"
@toInfor="toInfor"
ref="rightContent"
></right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteKyxsxx } from "@/api/rlqbxs.js";
export default {
name: "rlqbxsxx",
components: {
rightContent,
},
data() {
return {
header: "多生物特征信息管理",
pageBs: "queryRxxx",
cxFormData: {
dspbz: "qb",
qbxsmc: "",
qbxsflmc: "",
kyxsbshlx: "",
rows: 10,
page: 1,
},
cxQueryField: [
{
name: "人员编号",
id: "asjxgrybh",
type: "text",
value: "",
placeholder: "",
col: "3",
}
],
cxDefaultFormThead: [
{
label: "情报线索名称",
prop: "qbxsmc",
},
{
/*table默认得表头*/
label: "登记时间",
prop: "djsj",
},
{
label: "情报线索分类名称",
prop: "qbxsflmc",
},
{
label: "线索状态",
prop: "xsztdmStr",
},
{
label: "线索标识号类型",
prop: "kyxsbshlxStr",
},
],
cxUrl: "/rycjZp/selectRyzpList",
Menu: [
{
id: "queryRxxx",
label: "人像信息管理",
index: "queryRxxx",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "queryRxxx",
label: "人像信息管理",
newAuth: "M01",
index: "queryRxxx",
className: "iconfont icongongnengfuwu",
hasChildren: false
},
],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
this.$store.commit("user/SET_LeftMenu", this.leftMenus);
this.$store.commit("user/SET_Header", this.header);
},
methods: {
add() {
this.$router.push("adjustRlqbxs");
},
edit(scope) {
this.$router.push({
path: "adjustRlqbxs",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
console.log(scope);
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteKyxsxx({
xxzjbh: scope.row.xxzjbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "删除成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
toInfor(scope) {
this.$router.push({
path: "/detailRlqbxs",
query: {
xxzjbh: scope.xxzjbh,
},
});
},
},
mounted() {},
};
</script>
<style>
.el-dialog__body {
padding: 10px 15px !important;
}
.rightContent .el-input__inner,
#formCommonPage .el-input__inner {
height: 32px;
line-height: 32px;
font-family: inherit;
}
.el-table__header-wrapper th,
.el-table__header-wrapper tr {
background: #f4f6f7;
}
.rightContent .el-input__icon,
#formCommonPage .el-input__icon,
.el-input__suffix-inner {
line-height: 36px;
}
.rightContent .el-range-separator {
position: relative;
top: -4px;
}
.rightContent .el-textarea__inner,
#formCommonPage .el-textarea__inner {
width: 100%;
font-family: inherit;
}
.rightContent .el-range-input,
#formCommonPage .el-range-input {
vertical-align: top;
}
.rightContent .el-date-editor .el-range__close-icon {
margin-top: -4px;
}
.rightContent .el-form-item__error {
left: calc(66% - 27px);
top: 12px;
}
.success-row {
background-color: #fbf9f4 !important;
}
.Content .el-input,
.Content .el-date-editor--daterange.el-input__inner {
width: 100% !important;
}
</style>
<style scoped lang="scss">
@import "@/assets/styles/rightContent.scss";
</style>
......@@ -47,14 +47,14 @@ export default {
// { label: '一人多案', val: 'zd010015' }
// ]
// },
{
{
name: "人员分类",
id: "ryfl",
type: "codeTreeDialog",
value: "",
placeholder: "请选择",
col: "3",
multiple:true,
multiple: true,
codeOptions: [],
codeTree: "CODE_ZDGZRYFL",
},
......
......@@ -70,7 +70,7 @@ export default {
},
data() {
return {
title:"新增重点人员信息",
title: "新增重点人员信息",
propFormField: [
//基本信息
{
......
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