Commit 09e24412 by lp784568205

修改阵地从业人员

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