Commit 09e24412 by lp784568205

修改阵地从业人员

parent d71acd92
......@@ -32,8 +32,8 @@ export const getZdryTqByZjhm = params =>
postform(`${base.alyIP}/zdryxx/getZdryTqByZjhm`, params);
//阵地从业人员推送至刑嫌调控
export const updateZdryxxTxxtk = params =>
postform(`${base.alyIP}/zdryxx/updateZdryxx`, params);
// export const updateZdryxxTxxtk = params =>
// postform(`${base.alyIP}/zdryxx/updateZdryxx`, params);
//阵地从业人员信息推送
export const getryxxtsByZjhm = params =>
postform(`${base.alyIP}/zdryxx/getryxxtsByZjhm`, params);
......@@ -1578,6 +1578,8 @@ export default {
} else if(self.pageBs && self.pageBs == 'adjustZdxxgl' && self.formLabelAlign.zdryxxgl[0].xm == "") {
this.$message.error("请填写阵地管理人员");
return;
} else if(self.pageBs && self.pageBs == 'addzdcyryxx' && self.formLabelAlign.ryjl[0].dwmc == "") {
this.$message.error("请填写从业人员及人员经历");
} else if(self.pageBs && self.pageBs == 'adjustZdxsxx' && (self.formLabelAlign.tgz[0].xm == "" || self.formLabelAlign.kyry[0].xm == "")) {
this.$message.error("请填写线索提供者及可疑人员");
return;
......
<template>
<div>
<form-compontent
:pageBs="pageBs"
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@ajtq="ajtq"
......@@ -102,12 +103,13 @@ export default {
data() {
return {
title: "新增阵地从业人员信息",
pageBs: "addzdcyryxx",
propFormField: [
//基本信息
{
title: "",
id: 1,
objStr: "",
objStr: "zdry",
index: 0,
data: [
{
......@@ -129,11 +131,10 @@ export default {
col: "2",
},
{
name: "联系电话:",
id: "lxdh",
type: "text",
name: "出生日期:",
id: "csrq",
type: "dates",
value: "",
prop: "checkEmpty",
placeholder: "请输入",
col: "2",
},
......@@ -158,6 +159,14 @@ export default {
col: "2",
},
{
name: "户籍地名称:",
id: "hjdmc",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "现住址:",
id: "xzzdm",
type: "codeTree",
......@@ -176,33 +185,26 @@ export default {
col: "2",
},
{
name: "特殊身份:",
id: "tssf",
name: "婚姻:",
id: "hyzkdm",
type: "codeTree",
codeTree: "CODE_SF",
codeOptions: [],
value: "",
codeTree: "CODE_HYZK",
codeOptions: [],
placeholder: "请输入",
col: "2",
prop: "checkEmpty",
},
{
name: "出生地:",
id: "csdXzqhdm",
name: "涉及行业:",
id: "hyhfdm",
type: "codeTree",
value: "",
codeTree: "CODE_XZQH",
codeTree: "CODE_HYLB",
codeOptions: [],
placeholder: "请输入",
col: "2",
},
{
name: "出生地名称:",
id: "csdDzmc",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
prop: "checkEmpty",
},
{
name: "学历:",
......@@ -214,45 +216,57 @@ export default {
placeholder: "请输入",
col: "2",
prop: "checkEmpty",
},
{
name: "婚姻:",
id: "hyzkdm",
type: "codeTree",
value: "",
codeTree: "CODE_HYZK",
codeOptions: [],
placeholder: "请输入",
col: "2",
prop: "checkEmpty",
},
{
name: "出生日期:",
id: "csrq",
name: "入职时间:",
id: "cysj",
type: "dates",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "行业类别:",
id: "hyhfdm",
type: "codeTree",
value: "",
codeTree: "CODE_HYLB",
codeOptions: [],
placeholder: "请输入",
col: "2",
prop: "checkEmpty",
},
{
name: "从业时间:",
id: "cysj",
type: "dates",
name: "司龄:",
id: "rysl",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
prop: "checkEmpty",
},
// {
// name: "特殊身份:",
// id: "tssf",
// type: "codeTree",
// codeTree: "CODE_SF",
// codeOptions: [],
// value: "",
// placeholder: "请输入",
// col: "2",
// prop: "checkEmpty",
// },
// {
// name: "出生地:",
// id: "csdXzqhdm",
// type: "codeTree",
// value: "",
// codeTree: "CODE_XZQH",
// codeOptions: [],
// placeholder: "请输入",
// col: "2",
// },
// {
// name: "出生地名称:",
// id: "csdDzmc",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "2",
// },
// {
// name: "是否换岗:",
// id: "sfhgPdbz",
......@@ -265,17 +279,107 @@ export default {
// { name: "否", value: "0" },
// ],
// },
// {
// name: "是否换岗:",
// id: "sfhgPdbz",
// type: "codeTree",
// codeTree: "CODE_IF",
// codeOptions: [],
// value: "0",
// placeholder: "请输入",
// col: "2",
// prop: "checkEmpty",
// },
],
},
{
title: "从业经历",
id: 2,
objStr: "",
index: 1,
data: [
{
name: "从业经历:",
col: "1",
childrenAsAdd: [
{
name: "从业经历:",
id: "ryjl",
flag: false,
list: [
{
name: [
{
name: "是否换岗:",
id: "sfhgPdbz",
name: "单位名称:",
id: "dwmc",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
prop: "checkEmpty",
},
{
name: "单位地址:",
id: "dwdz",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "涉及行业:",
id: "sjhydm",
type: "codeTree",
codeTree: "CODE_IF",
codeTree: "CODE_HYLB",
codeOptions: [],
value: "0",
value: "",
placeholder: "请输入",
col: "2",
prop: "checkEmpty",
},
{
name: "从业开始时间:",
id: "cykssj",
type: "dates",
value: "",
placeholder: "请输入",
col: "2",
prop: "checkEmpty",
},
{
name: "从业结束时间:",
id: "cyjssj",
type: "dates",
value: "",
placeholder: "请输入",
col: "2",
prop: "checkEmpty",
},
{
name: "人员司龄:",
id: "rysl",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
prop: "checkEmpty",
},
{
name: "工作内容描述:",
id: "gznrms",
type: "textarea",
value: "",
placeholder: "请输入",
col: "18",
prop: "checkEmpty",
},
],
},
],
iconClass: "el-icon-close",
},
],
},
],
},
],
......@@ -353,7 +457,7 @@ export default {
}
},
addSubmit(params, loading) {
params.append("glzdxxzjbh", this.glxxzjbh);
params.append("zdry.glzdxxzjbh", this.glxxzjbh);
insertZdcyryxx(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
......@@ -451,9 +555,10 @@ export default {
}
});
self.$forceUpdate();
}else {
this.$message.error("未发现相关信息");
}
});
},
queryDatasMain(item) {
console.log(item);
......
......@@ -32,8 +32,8 @@ export default {
cxQueryField: [
{
title: "阵地从业人员", //如果不分小模块就删除title
id: 2,
objStr: "", //对象中的对应字段
id: 1,
objStr: "zdry", //对象中的对应字段
data: [
{
label: "姓名:",
......@@ -46,8 +46,8 @@ export default {
col: "3",
},
{
label: "联系电话:",
prop: "lxdh",
label: "出生日期:",
prop: "csrq",
col: "3",
},
{
......@@ -61,6 +61,11 @@ export default {
col: "3",
},
{
label: "户籍地名称:",
prop: "hjdmc",
col: "3",
},
{
label: "现住址:",
prop: "xzzdmStr",
col: "3",
......@@ -71,50 +76,73 @@ export default {
col: "3",
},
{
label: "特殊身份:",
prop: "tssfStr",
label: "婚姻:",
prop: "hyzkdm",
col: "3",
},
{
label: "出生地:",
prop: "csdXzqhdmStr",
label: "涉及行业:",
prop: "hyhfdmStr",
col: "3",
},
{
label: "出生地名称:",
prop: "csdDzmc",
label: "学历:",
prop: "xldmStr",
col: "3",
},
{
label: "行业划分:",
prop: "hyhfdmStr",
label: "入职时间:",
prop: "cysj",
col: "3",
},
{
label: "学历:",
prop: "xldmStr",
label: "司龄:",
prop: "rysl",
col: "3",
},
],
},
{
label: "婚姻:",
prop: "hyzkdmStr",
title: "从业经历", //如果不分小模块就删除title
id: 2,
objStr: "ryjl", //对象中的对应字段
applyType: "list",
data: [
{
label: "单位名称:",
prop: "dwmc",
col: "3",
},
{
label: "出生日期:",
prop: "csrq",
label: "单位地址:",
prop: "dwdz",
col: "3",
},
{
label: "从业时间:",
prop: "cysj",
label: "涉及行业:",
prop: "sjhydmStr",
col: "3",
},
{
label: "是否换岗:",
prop: "sfhgPdbzStr",
label: "从业开始时间:",
prop: "cykssj",
col: "3",
},
{
label: "从业结束时间:",
prop: "cyjssj",
col: "3",
},
{
label: "人员司龄:",
prop: "rysl",
col: "3",
},
{
label: "工作内容描述:",
prop: "gznrms",
col: "10",
},
],
},
],
......
......@@ -705,14 +705,16 @@ export default {
type: "text",
value: "",
placeholder: "请输入",
col: "2",
col: "3",
},
{
name: "交易物品:",
name: "图片:",
id: "zpflwsfj",
type: "file",
value: "",
placeholder: "请输入",
requestUrl: "/flwsFj/tbstasjflwsCj/save",
acceptType: "image/jpeg,image/gif,image/png",
col: "2",
},
],
......@@ -755,14 +757,16 @@ export default {
type: "text",
value: "",
placeholder: "请输入",
col: "2",
col: "3",
},
{
name: "交易物品:",
name: "视频:",
id: "spflwsfj",
type: "file",
value: "",
placeholder: "请输入",
requestUrl: "/flwsFj/tbstasjflwsCj/save",
acceptType: "video/mp4,video/flv,video/avi,video/wmv",
col: "2",
},
],
......
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