Commit 3ab9d857 by xue_wengang

Merge branch 'dev_xzeq' of http://47.92.108.28/changchao/founder_vue into dev_xzeq

parents 5d962ffc 86bc8ed0
......@@ -17,7 +17,7 @@ export const updateTbStHmdry = params =>
//列控预警删除
export const deleteTbStJcyjgk = params =>
postform(`${base.alyIP2}/jcyj/deleteTbStJcyjgk`, params);
post(`${base.alyIP2}/jcyj/deleteTbStJcyjgk`, params);
//列控预警添加
export const insertLkyj = params =>
postform(`${base.alyIP2}/jcyj/insertLkyj`, params);
......
......@@ -56,7 +56,14 @@ const menuLayouts = [
},
component: () => import("@/views/jcyjzxt/lkyj/add.vue")
},
{
path: "/jcyjmxgl",
name: "jcyjmxgl",
meta: {
title: '监测预警模型管理'
},
component: () => import("@/views/jcyjzxt/mxgl.vue")
},
];
export default {
......
......@@ -139,9 +139,9 @@
name: "出生地_国家和地区代码:",
id: "csdGjhdqdm",
type: "codeTree",
value: "",
codeTree: "CODE_XZQH",
codeTree: "CODE_GJ",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
},
......
......@@ -49,7 +49,38 @@
value: "",
col: "3",
},
{
name: "数据来源",
id: "sjly",
type: "select",
selectData: [
{
name: "嫌疑人",
value: "01",
},
{
name: "服务标识号",
value: "02",
},
{
name: "黑名单",
value: "03",
},
],
props: "checkEmpty",
value: "",
placeholder: "请选择",
col: "3",
},
{
name: "预警信息",
id: "yjxx",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
],
cxDefaultFormThead: [
{label: "信息主键编号", prop: "xxzjbh"},
......@@ -87,13 +118,13 @@
methods: {
add(){
this.$router.push({
path:'/hmdrylistAdd'
path:'/lkyjAdd'
})
},
edit(scope) {
this.$router.push({
path: "/hmdrylistAdd",
query: {asjxgrybh: scope.row.asjxgrybh},
path: "/lkyjAdd",
query: {xxzjbh: scope.row.xxzjbh},
});
},
dele(scope) {
......
......@@ -39,7 +39,7 @@
index: 0,
data: [
{
name: "信息主键:",
name: "关联信息主键编号:",
id: "glxxXxzjbh",
type: "text",
value: "",
......@@ -101,7 +101,7 @@
},
submit(params) {
if(this.$route.query.xxzjbh){
params.append('xxzjbh',this.xxzjbh)
params.append('xxzjbh',this.$route.query.xxzjbh)
updateTbStJcyjgk(params).then(res=>{
if(res.code===200){
this.$message.success('保存成功');
......
<template>
<div class="Content">
<right-content
pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@edit="edit"
@dele="dele"
@toInfor="toInfor"
@toXdzl="toXdzl"
@examine="examine"
ref="rightContent"
>
<template #btnGroup="scope">
<el-button @click="dele(scope.scope)" type="text" v-if="scope.scope.row.spsftg != '通过'">删除</el-button>
<el-button @click="ONPJ(scope.scope)" type="text" v-if="scope.scope.row.nfpj=='1'">评价</el-button>
<el-button @click="examine(scope.scope)"
v-if="scope.scope.row.spsftg == '未通过' || scope.scope.row.spsftg == '草稿'" type="text">提请审批
</el-button>
</template>
</right-content>
<el-drawer
size="80%"
:with-header="false"
:visible.sync="drawer">
<zczl infoType="2" v-if="drawer" :zczlbh="zczlbh" :fpbh="fpbh" :sub="sub"></zczl>
</el-drawer>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import {zlToDelete, zlTqsp} from "@/api/zczl/zczl.js";
import zczl from '@p/zczl/zczl/detailZczl.vue'
import { loginByZjhm } from "@/api/index";
export default {
name: "rlqbxsxx",
components: {
rightContent, zczl
},
data() {
return {
zczlbh: '',
fpbh: '',
sub: '',
drawer: false,
tableOperation: true,
tableOperationWidth: 200,
header: "抓捕犯罪嫌疑人列表",
pageBs: "zbfzxyrlist",
cxFormData: {
limit: 10,
page: 1,
},
cxQueryField: [
{
name: "姓名",
id: "zhfzxyrXm",
placeholder: "请输入",
type: "text",
value: "",
col: "3",
},
{
name: "性别",
id: "zhfzxyrXbdm",
type: "codeTreeDialog",
props: "checkEmpty",
value: "",
placeholder: "请选择",
col: "3",
codeOptions: [],
codeTree: "CODE_XB",
},
{
name: "出生日期",
id: "date",
type: "datetime",
value: "",
placeholder: "请选择",
col: "3",
},
],
cxDefaultFormThead: [
{label: "姓名", prop: "zhfzxyrXm"},
{label: "户籍地址_行政区划代码", prop: "zhfzxyrHjdzXzqhdm"},
{label: "性别代码", prop: "zhfzxyrXbdm"},
{label: "出生日期", prop: "zhfzxyrCsrqRqgzxx"},
],
cxUrl: "/qgasj/getAsjListByZjhm",
leftMenus: [
//左侧导航(模块第一个页面需要)
{
id: "zbfzxyrlist",
label: "抓捕犯罪嫌疑人列表",
newAuth: "M01",
index: "zbfzxyrlist",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "kyfwbshlist",
label: "可疑服务标识号列表",
newAuth: "M01",
index: "kyfwbshlist",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "hmdrylist",
label: "黑名单列表",
newAuth: "M01",
index: "hmdrylist",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "lkyj",
label: "列控预警信息列表",
newAuth: "M01",
index: "lkyj",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
Menu: [
{
id: "zbfzxyrlist",
label: "抓捕犯罪嫌疑人列表",
index: "zbfzxyrlist",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
};
},
created() {
this.login()
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: {
login() {
var self = this;
loginByZjhm({
zjhm:'142302198901012417'
}).then((res) => {});
},
examine(scope) {
console.log(scope);
this.$confirm("此操作将该指令提请审批, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
zlTqsp({
zczlbh: scope.row.zczlbh,
}).then((res) => {
if (res.success && res.code == 200) {
this.$message({
type: "success",
message: "提请审批成功",
});
this.$refs.rightContent.doQuery("yes");
}
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消提请审批",
});
});
},
edit(scope) {
this.$router.push({
path: "addsqfbzl",
query: {xxzjbh: scope.row.zczlbh, type: "xdzl"},
});
},
toXdzl() {
this.$router.push({
path: "/addsqfbzl",
query: {
type: "xdzl",
},
});
},
pingjia(scope) {
},
dele(scope) {
console.log(scope);
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
zlToDelete({
zczlbh: scope.row.zczlbh,
}).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.sub = 'XQ';
this.drawer = true;
this.zczlbh = scope.zczlbh;
this.fpbh = scope.fpbh;
},
ONPJ(scope) {
this.sub = 'PJ';
this.drawer = true;
this.zczlbh = scope.zczlbh;
this.fpbh = scope.fpbh;
},
},
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>
......@@ -128,6 +128,14 @@
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
{
id: "jcyjmxgl",
label: "监测预警模型管理",
newAuth: "M01",
index: "jcyjmxgl",
className: "iconfont icongongnengfuwu",
hasChildren: false,
},
],
Menu: [
{
......
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