Commit 308860a3 by liyuhang19990520

人力情报线索采集修改日志列表

parent 7f9a5a48
......@@ -370,9 +370,7 @@
:prop="`${item2.id}[${realIndex}].${item4.id}`"
:key="item4.id"
:ref="`${item2.id}[${realIndex}].${item4.id}`"
:class="[
'item' + item4.col
]"
:class="['item' + item4.col]"
:rules="
rules[`${item2.id}${realIndex}.${item4.id}`]
"
......@@ -1036,7 +1034,7 @@ export default {
default: () => {},
},
propTitle: String,
pageBs: String
pageBs: String,
},
data() {
return {
......@@ -1386,80 +1384,85 @@ export default {
}
//2.有childrenAsAdd表单数据处理
if (item.childrenAsAdd) {
debugger
debugger;
item.childrenAsAdd.forEach((subItem) => {
debugger
//如果遍历到的编号和所选择的编号一致
self.formLabelAlign[subItem.id].forEach((val5, index) => {
//遍历每一个数组的值
for (var ite in val5) {
//数组里对象 在遍历对象
if (val5[ite]) {
//如果有值的话
var currentc = subItem.list[0].name.find((item) => {
return item.id == ite;
});
if (currentc && currentc.type == "date") {
if (val5[ite]) {
var time =
window.util.timeStampTurnTime(val5[ite]) || "";
params.append(
subItem.id + "[" + index + "]." + ite,
time
);
}
} else if (
currentc &&
currentc.type == "code" &&
currentc.multiple == true
) {
if (val5[ite].length != 0) {
params.append(
subItem.id + "[" + index + "]." + ite,
val5[ite]
);
}
console.log(
"5)政治人员身份" +
subItem.id +
"[" +
index +
"]." +
ite,
val5[ite]
debugger;
//如果遍历到的编号和所选择的编号一致
self.formLabelAlign[subItem.id].forEach((val5, index) => {
//遍历每一个数组的值
for (var ite in val5) {
//数组里对象 在遍历对象
if (val5[ite]) {
//如果有值的话
var currentc = subItem.list[0].name.find((item) => {
return item.id == ite;
});
if (currentc && currentc.type == "date") {
if (val5[ite]) {
var time =
window.util.timeStampTurnTime(val5[ite]) || "";
params.append(
subItem.id + "[" + index + "]." + ite,
time
);
} else if (
currentc &&
currentc.type == "lazyCodeTree"
) {
val5[ite] = val5[ite]
? val5[ite][val5[ite].length - 1]
: "";
if (val5[ite]) {
//如果这个有值的话就添加到参数里
params.append(
subItem.id + "[" + index + "]." + ite,
val5[ite]
);
}
} else {
console.log(
"3)有子级表单数据处理." +
subItem.id +
"[" +
index +
"]." +
ite,
}
} else if (
currentc &&
currentc.type == "code" &&
currentc.multiple == true
) {
if (val5[ite].length != 0) {
params.append(
subItem.id + "[" + index + "]." + ite,
val5[ite]
);
}
console.log(
"5)政治人员身份" +
subItem.id +
"[" +
index +
"]." +
ite,
val5[ite]
);
} else if (
currentc &&
currentc.type == "lazyCodeTree"
) {
val5[ite] = val5[ite]
? val5[ite][val5[ite].length - 1]
: "";
if (val5[ite]) {
//如果这个有值的话就添加到参数里
params.append(
subItem.id + "[" + index + "]." + ite,
val5[ite]
);
}
} else if (ite == "xxzjbh") {
params.append(
subItem.id + "[" + index + "]." + ite,
val5[ite]
);
} else {
console.log(
"3)有子级表单数据处理." +
subItem.id +
"[" +
index +
"]." +
ite,
val5[ite]
);
params.append(
subItem.id + "[" + index + "]." + ite,
val5[ite]
);
}
}
});
}
});
});
}
});
......@@ -1746,7 +1749,7 @@ $-header-fontSize: 18px;
background: #ffffff;
padding: 0 40px;
padding-bottom: 20px;
// 表单元素的真实容器
.zdyLine {
padding-bottom: 20px;
......
......@@ -1186,13 +1186,15 @@ export default {
i != "typeFlag" &&
i != "unitcode" &&
i != "grade" &&
i != "flwssfhgpdbz"
i != "flwssfhgpdbz" &&
i != "limit"
) {
self.formData[i] = "";
}
}
self.formData["rows"] = 10;
self.formData["page"] = 1;
if(self.formData["rows"]) self.formData["rows"] = 10;
if(self.formData["page"]) self.formData["page"] = 1;
if(self.formData["limit"]) self.formData["limit"] = 10;
},
formatJson(filterVal, jsonData) {
let arr = [];
......
/*
* @Author: your name
* @Date: 2021-09-07 15:01:02
* @LastEditTime: 2021-09-09 11:09:16
* @LastEditTime: 2021-09-27 15:22:20
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\router\modules\rlqbxs.js
......@@ -35,6 +35,14 @@ const menuLayouts = [
component: () => import("@/views/rlqbxsxx/gnsyrzList.vue")
},
{
path: "/shrzList",
name: "shrzList",
meta: {
title: '审核日志列表'
},
component: () => import("@/views/rlqbxsxx/shrzList.vue")
},
{
path: "/detailRlqbxs",
name: "detailRlqbxs",
meta: {
......
/*
* @Author: your name
* @Date: 2021-09-07 15:09:40
* @LastEditTime: 2021-09-27 14:31:07
* @LastEditTime: 2021-09-27 16:24:37
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\utils\params.js
......@@ -70,72 +70,72 @@ export const kysscj = [
placeholder: "请输入",
col: "2",
},
{
name: "审批是否通过:",
id: "spsftg",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "省审批意见:",
id: "shengspyj",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "审批人姓名:",
id: "sprxm",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "审批人证件号码:",
id: "sprzjhm",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "审批人联系电话:",
id: "sprlxdh",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "审批单位代码:",
id: "spdwdm",
type: "codeTree",
codeTree: "QGCODE_UNIT",
codeOptions: [],
value: "",
placeholder: "请选择",
col: "2",
},
{
name: "审批单位名称:",
id: "spdwmc",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "审批时间:",
id: "spsj",
type: "dates",
value: "",
placeholder: "请输入",
col: "2",
},
// {
// name: "审批是否通过:",
// id: "spsftg",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "2",
// },
// {
// name: "省审批意见:",
// id: "shengspyj",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "2",
// },
// {
// name: "审批人姓名:",
// id: "sprxm",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "2",
// },
// {
// name: "审批人证件号码:",
// id: "sprzjhm",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "2",
// },
// {
// name: "审批人联系电话:",
// id: "sprlxdh",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "2",
// },
// {
// name: "审批单位代码:",
// id: "spdwdm",
// type: "codeTree",
// codeTree: "QGCODE_UNIT",
// codeOptions: [],
// value: "",
// placeholder: "请选择",
// col: "2",
// },
// {
// name: "审批单位名称:",
// id: "spdwmc",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "2",
// },
// {
// name: "审批时间:",
// id: "spsj",
// type: "dates",
// value: "",
// placeholder: "请输入",
// col: "2",
// },
]
//线索提供者
export const xstgz = [
......@@ -242,7 +242,7 @@ export const xstgz = [
name: "职业:",
id: "zylbdm",
type: "codeTree",
codeTree: "CODE_ZYLB",
codeTree: "CODE_ZY",
codeOptions: [],
value: "",
placeholder: "请选择",
......@@ -383,7 +383,7 @@ export const ryxsgl = [
name: "职业:",
id: "zylbdm",
type: "codeTree",
codeTree: "CODE_ZYLB",
codeTree: "CODE_ZY",
codeOptions: [],
value: "",
placeholder: "请选择",
......@@ -911,7 +911,7 @@ export const xydx = [
placeholder: "请选择",
col: "2",
codeOptions: [],
codeTree: "CODE_XB",
codeTree: "CODE_ZY",
},
{
name: "职业补充描述:",
......@@ -2011,7 +2011,7 @@ export const fwbs = [
placeholder: "请选择",
col: "2",
},
]
]
//驾驶机动车信息
export const jsjdc = [
{
......@@ -2123,7 +2123,7 @@ export const jsjdc = [
value: "",
placeholder: "请输入",
col: "2",
},{
}, {
name: "人员驾驶机动车_机动车号牌号码真伪:",
id: "ryjsjdcJdchphmzwPdbz",
type: "codeTree",
......@@ -2250,7 +2250,7 @@ export const djfc = [
value: "",
placeholder: "请输入",
col: "2",
},{
}, {
name: "房产地址_地址名称:",
id: "fcdzDzmc",
type: "text",
......@@ -2475,7 +2475,7 @@ export const hdgj = [
value: "",
placeholder: "请输入",
col: "2",
},{
}, {
name: "活动起始地_经度:",
id: "hdqsdDqjd",
type: "text",
......@@ -2551,7 +2551,7 @@ export const hdgj = [
value: "",
placeholder: "请输入",
col: "2",
},{
}, {
name: "人员活动_起始时间:",
id: "ryhdQssj",
type: "dates",
......@@ -2591,7 +2591,7 @@ export const hdgj = [
value: "",
placeholder: "请输入",
col: "2",
},{
}, {
name: "售票信息_行政区划:",
id: "spxxXzqhdm",
type: "codeTree",
......@@ -2771,7 +2771,7 @@ export const fwbsh = [
placeholder: "请输入",
col: "18",
},
]
//人员话单信息
......@@ -3206,7 +3206,7 @@ export const rysc = [
placeholder: "请输入",
col: "2",
},
]
//人员人工研判
export const ryrgyp = [
......@@ -3776,7 +3776,7 @@ export const zjcl = [
value: "",
placeholder: "请输入",
col: "2",
},{
}, {
name: "案事件相关人员编号:",
id: "asjxgrybh",
type: "text",
......@@ -4171,7 +4171,7 @@ export const rlqbsh = [
value: "",
placeholder: "请输入",
col: "2",
},{
}, {
name: "更新时间:",
id: "gxsj",
type: "dates",
......@@ -4218,7 +4218,7 @@ export const rlqbsh = [
value: "",
placeholder: "请输入",
col: "2",
},{
}, {
name: "审批人证件号码:",
id: "sprzjhm",
type: "text",
......
......@@ -138,6 +138,23 @@ export default {
],
formLabelAlign: {},
xxzjbh: "",
breadcrumbList: [
{
name: "刑嫌列控管理",
to: "/queryGzry",
isActive: false,
},
{
name: "人员涉案",
to: "/queryCase",
isActive: false,
},
{
name: this.$route.query.xxzjbh ? "修改人员" : "新增人员",
to: "/addGzry",
isActive: true,
},
],
Menu: [
{
name: "人力情报线索信息列表",
......@@ -169,6 +186,12 @@ export default {
},
getshuju() {
var self = this;
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
getKyxsByxxzjbh({
xxzjbh: this.xxzjbh,
}).then((res) => {
......@@ -187,6 +210,7 @@ export default {
});
}
});
loading.close();
self.$forceUpdate();
});
setTimeout(() => {
......@@ -210,7 +234,8 @@ export default {
});
},
editSubmit(params, loading) {
params.append("xxzjbh", this.xxzjbh);
console.log(this.formLabelAlign);
params.append("kyxs.xxzjbh", this.xxzjbh);
updateKyxsxx(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("修改成功!", "提示", {
......@@ -228,9 +253,8 @@ export default {
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.Menu);
this.$store.commit("user/SET_Breadcrumb", this.breadcrumbList);
if (this.$route.query.xxzjbh) {
// this.$set(this.formField[0], "title", "修改被布控物品信息");
this.title = "人力情报线索修改";
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
......
......@@ -114,6 +114,22 @@ export default {
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "gnsyrzList",
label: "功能使用日志",
index: "gnsyrzList",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
{
id: "shrzList",
label: "审核日志",
index: "shrzList",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
},
],
......
<template>
<div class="Content">
<right-content
:pageBs="pageBs"
:header="header"
:cxFormData="cxFormData"
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
></right-content>
</div>
</template>
<script>
import rightContent from "@c/ptCxForm_components.vue";
import { deleteKyxs } from "@/api/rlqbxs.js";
export default {
name: "zdxx",
components: {
rightContent,
},
data() {
return {
header: "阵地信息管理",
pageBs: "gnsyrz",
cxFormData: {
yhIp: "",
dqxsmc: "",
sfsptg: "",
limit: 10,
page: 1,
},
cxQueryField: [
/*立案信息 侦查终结信息 立案信息审批 侦查终结审批通用开始*/
{
name: "用户IP",
id: "yhIp",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "情报线索名称",
id: "dqxsmc",
type: "text",
value: "",
placeholder: "",
col: "3",
},
{
name: "是否审批通过",
id: "sfsptg",
type: "select",
selectData: [
{ name: "否", value: "0" },
{ name: "是", value: "1" },
],
value: "",
placeholder: "",
col: "3",
},
],
cxDefaultFormThead: [
{
label: "用户IP",
prop: "yhIp",
},
{
label: "情报线索名称",
prop: "qbxsmc",
},
{
/*table默认得表头*/
label: "审批是否通过",
prop: "sfsptg",
},
{
label: "审批意见",
prop: "spyj",
},
{
label: "审批时间",
prop: "spsj",
},
],
cxUrl: "/rlqb/selectRlqbSprzList",
Menu: [
{
id: "shrzList",
label: "审核日志列表",
index: "shrzList",
auth: "M0101",
className: "iconfont iconrizhi",
disabled: false,
},
],
};
},
created() {
this.$store.commit("user/SET_Menu", this.Menu);
},
};
</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>
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