Commit cf05d4f6 by liyuhang19990520

1

parent 6c55a3e7
......@@ -3,419 +3,72 @@
"data":{
"rows":[
{
"ids":"121269",
"label":"研究生教育",
"ids":"19989",
"label":"文盲",
"codeType":"CODE_WHCD",
"text":"研究生教育",
"pId":null,
"text":"文盲",
"pId":"",
"id":"10",
"isParent":true,
"children":[
{
"ids":"121270",
"label":"博士研究生毕业",
"codeType":"CODE_WHCD",
"text":"博士研究生毕业",
"pId":"10",
"id":"11",
"isParent":false,
"children":[]
},
{
"ids":"121271",
"label":"博士研究生结业",
"codeType":"CODE_WHCD",
"text":"博士研究生结业",
"pId":"10",
"id":"12",
"isParent":false,
"children":[]
},
{
"ids":"121272",
"label":"博士研究生肄业",
"codeType":"CODE_WHCD",
"text":"博士研究生肄业",
"pId":"10",
"id":"13",
"isParent":false,
"children":[]
},
{
"ids":"121273",
"label":"硕士研究生毕业",
"codeType":"CODE_WHCD",
"text":"硕士研究生毕业",
"pId":"10",
"id":"14",
"isParent":false,
"children":[]
},
{
"ids":"121274",
"label":"硕士研究生结业",
"codeType":"CODE_WHCD",
"text":"硕士研究生结业",
"pId":"10",
"id":"15",
"isParent":false,
"children":[]
},
{
"ids":"121275",
"label":"硕士研究生肄业",
"codeType":"CODE_WHCD",
"text":"硕士研究生肄业",
"pId":"10",
"id":"16",
"isParent":false,
"children":[]
},
{
"ids":"121276",
"label":"研究生班毕业",
"codeType":"CODE_WHCD",
"text":"研究生班毕业",
"pId":"10",
"id":"17",
"isParent":false,
"children":[]
},
{
"ids":"121277",
"label":"研究生班结业",
"codeType":"CODE_WHCD",
"text":"研究生班结业",
"pId":"10",
"id":"18",
"isParent":false,
"children":[]
},
{
"ids":"121278",
"label":"研究生班肄业",
"codeType":"CODE_WHCD",
"text":"研究生班肄业",
"pId":"10",
"id":"19",
"isParent":false,
"children":[]
}
]
"isParent":false,
"children":[]
},
{
"ids":"121279",
"label":"大学本科教育",
"ids":"19990",
"label":"小学",
"codeType":"CODE_WHCD",
"text":"大学本科教育",
"pId":null,
"text":"小学",
"pId":"",
"id":"20",
"isParent":true,
"children":[
{
"ids":"121280",
"label":"大学本科毕业",
"codeType":"CODE_WHCD",
"text":"大学本科毕业",
"pId":"20",
"id":"21",
"isParent":false,
"children":[]
},
{
"ids":"121281",
"label":"大学本科结业",
"codeType":"CODE_WHCD",
"text":"大学本科结业",
"pId":"20",
"id":"22",
"isParent":false,
"children":[]
},
{
"ids":"121282",
"label":"大学本科肄业",
"codeType":"CODE_WHCD",
"text":"大学本科肄业",
"pId":"20",
"id":"23",
"isParent":false,
"children":[]
},
{
"ids":"121283",
"label":"大学普通班毕业",
"codeType":"CODE_WHCD",
"text":"大学普通班毕业",
"pId":"20",
"id":"28",
"isParent":false,
"children":[]
}
]
"isParent":false,
"children":[]
},
{
"ids":"121284",
"label":"大学专科教育",
"ids":"19991",
"label":"初中",
"codeType":"CODE_WHCD",
"text":"大学专科教育",
"pId":null,
"text":"初中",
"pId":"",
"id":"30",
"isParent":true,
"children":[
{
"ids":"121285",
"label":"大学专科毕业",
"codeType":"CODE_WHCD",
"text":"大学专科毕业",
"pId":"30",
"id":"31",
"isParent":false,
"children":[]
},
{
"ids":"121286",
"label":"大学专科结业",
"codeType":"CODE_WHCD",
"text":"大学专科结业",
"pId":"30",
"id":"32",
"isParent":false,
"children":[]
},
{
"ids":"121287",
"label":"大学专科肄业",
"codeType":"CODE_WHCD",
"text":"大学专科肄业",
"pId":"30",
"id":"33",
"isParent":false,
"children":[]
}
]
"isParent":false,
"children":[]
},
{
"ids":"121288",
"label":"中等职业教育",
"ids":"19992",
"label":"高中",
"codeType":"CODE_WHCD",
"text":"中等职业教育",
"pId":null,
"text":"高中",
"pId":"",
"id":"40",
"isParent":true,
"children":[
{
"ids":"121289",
"label":"中等专科毕业",
"codeType":"CODE_WHCD",
"text":"中等专科毕业",
"pId":"40",
"id":"41",
"isParent":false,
"children":[]
},
{
"ids":"121290",
"label":"中等专科结业",
"codeType":"CODE_WHCD",
"text":"中等专科结业",
"pId":"40",
"id":"42",
"isParent":false,
"children":[]
},
{
"ids":"121291",
"label":"中等专科肄业",
"codeType":"CODE_WHCD",
"text":"中等专科肄业",
"pId":"40",
"id":"43",
"isParent":false,
"children":[]
},
{
"ids":"121292",
"label":"职业高中毕业",
"codeType":"CODE_WHCD",
"text":"职业高中毕业",
"pId":"40",
"id":"44",
"isParent":false,
"children":[]
},
{
"ids":"121413",
"label":"职业高中结业",
"codeType":"CODE_WHCD",
"text":"职业高中结业",
"pId":"40",
"id":"45",
"isParent":false,
"children":[]
},
{
"ids":"121414",
"label":"职业高中肄业",
"codeType":"CODE_WHCD",
"text":"职业高中肄业",
"pId":"40",
"id":"46",
"isParent":false,
"children":[]
},
{
"ids":"121415",
"label":"技工学校毕业",
"codeType":"CODE_WHCD",
"text":"技工学校毕业",
"pId":"40",
"id":"47",
"isParent":false,
"children":[]
},
{
"ids":"121416",
"label":"技工学校结业",
"codeType":"CODE_WHCD",
"text":"技工学校结业",
"pId":"40",
"id":"48",
"isParent":false,
"children":[]
},
{
"ids":"121417",
"label":"技工学校肄业",
"codeType":"CODE_WHCD",
"text":"技工学校肄业",
"pId":"40",
"id":"49",
"isParent":false,
"children":[]
}
]
"isParent":false,
"children":[]
},
{
"ids":"121418",
"label":"高中以下",
"ids":"19993",
"label":"大中专",
"codeType":"CODE_WHCD",
"text":"高中以下",
"pId":null,
"text":"大中专",
"pId":"",
"id":"50",
"isParent":false,
"children":[]
},
{
"ids":"121419",
"label":"普通高级中学教育",
"ids":"19994",
"label":"本科",
"codeType":"CODE_WHCD",
"text":"普通高级中学教育",
"pId":null,
"text":"本科",
"pId":"",
"id":"60",
"isParent":true,
"children":[
{
"ids":"121420",
"label":"普通高中毕业",
"codeType":"CODE_WHCD",
"text":"普通高中毕业",
"pId":"60",
"id":"61",
"isParent":false,
"children":[]
},
{
"ids":"121421",
"label":"普通高中结业",
"codeType":"CODE_WHCD",
"text":"普通高中结业",
"pId":"60",
"id":"62",
"isParent":false,
"children":[]
},
{
"ids":"121806",
"label":"普通高中肄业",
"codeType":"CODE_WHCD",
"text":"普通高中肄业",
"pId":"60",
"id":"63",
"isParent":false,
"children":[]
}
]
"isParent":false,
"children":[]
},
{
"ids":"121807",
"label":"初级中学教育",
"ids":"19995",
"label":"硕士研究生及以上",
"codeType":"CODE_WHCD",
"text":"初级中学教育",
"pId":null,
"text":"硕士研究生及以上",
"pId":"",
"id":"70",
"isParent":true,
"children":[
{
"ids":"121808",
"label":"初中毕业",
"codeType":"CODE_WHCD",
"text":"初中毕业",
"pId":"70",
"id":"71",
"isParent":false,
"children":[]
},
{
"ids":"121809",
"label":"初中肄业",
"codeType":"CODE_WHCD",
"text":"初中肄业",
"pId":"70",
"id":"73",
"isParent":false,
"children":[]
}
]
},
{
"ids":"121810",
"label":"小学教育",
"codeType":"CODE_WHCD",
"text":"小学教育",
"pId":null,
"id":"80",
"isParent":true,
"children":[
{
"ids":"121811",
"label":"小学毕业",
"codeType":"CODE_WHCD",
"text":"小学毕业",
"pId":"80",
"id":"81",
"isParent":false,
"children":[]
},
{
"ids":"121812",
"label":"小学肄业",
"codeType":"CODE_WHCD",
"text":"小学肄业",
"pId":"80",
"id":"83",
"isParent":false,
"children":[]
}
]
},
{
"ids":"121813",
"label":"其他",
"codeType":"CODE_WHCD",
"text":"其他",
"pId":null,
"id":"90",
"isParent":false,
"children":[]
}
......
/*
* @Author: your name
* @Date: 2021-10-11 17:17:44
* @LastEditTime: 2021-10-12 10:01:13
* @LastEditors: your name
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\api\zdxx\zdcyryxx.js
*/
import { post, postform, postdown } from "@/utils/http.js";
import base from "@/api/base";
export const insertZdcyryxx = params =>
postform(`${base.alyIP}/zdryxx/insertZdryxx`, params);
postform(`${base.alyIP}/zdryxx/insertZdryxx`, params);
export const selectZdcyryxx = params =>
postform(`${base.alyIP}/zdryxx/selectZdyrxx`, params);
postform(`${base.alyIP}/zdryxx/selectZdyrxx`, params);
export const updateZdcyryxx = params =>
postform(`${base.alyIP}/zdryxx/updateZdryxx`, params);
postform(`${base.alyIP}/zdryxx/updateZdryxx`, params);
export const deleteZdcyryxx = params =>
postform(`${base.alyIP}/zdryxx/deleteZdryxx`, params);
post(`${base.alyIP}/zdryxx/deleteZdryxx`, params);
export const infoZdcyryxx = params =>
postform(`${base.alyIP}/zdryxx/getZdryByxxzjbh`, params);
\ No newline at end of file
post(`${base.alyIP}/zdryxx/getZdryByxxzjbh`, params);
\ No newline at end of file
/*
* @Author: your name
* @Date: 2021-10-11 17:17:44
* @LastEditTime: 2021-10-12 10:00:43
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\api\zdxx\zdjyhd.js
*/
import { post, postform, postdown } from "@/utils/http.js";
import base from "@/api/base";
export const insertZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/insertZdjyhd`, params);
postform(`${base.alyIP}/zdjyhdxx/insertZdjyhd`, params);
export const updateZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/updateZdjyhdxx`, params);
postform(`${base.alyIP}/zdjyhdxx/updateZdjyhdxx`, params);
export const deleteZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/deleteZdjyhdxx`, params);
post(`${base.alyIP}/zdjyhdxx/deleteZdjyhdxx`, params);
export const infoZdjyhd = params =>
postform(`${base.alyIP}/zdjyhdxx/getZdjyhdByxxzjbh`, params);
\ No newline at end of file
post(`${base.alyIP}/zdjyhdxx/getZdjyhdByxxzjbh`, params);
......@@ -426,7 +426,9 @@
</div>
<div
v-else-if="
pageBs == 'queryZdxsxx' && columnTitle.prop == 'tgxsrXm'
(pageBs == 'queryZdxsxx' && columnTitle.prop == 'tgxsrXm') ||
(pageBs == 'queryZdjyhd' && columnTitle.prop == 'mfzztm') ||
(pageBs == 'queryZdcyryxx' && columnTitle.prop == 'xm')
"
>
<!-- 人力情报线索信息 -->
......
/*
* @Author: your name
* @Date: 2021-09-07 15:09:40
* @LastEditTime: 2021-10-11 15:03:46
* @LastEditTime: 2021-10-12 09:54:46
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\utils\params.js
......@@ -920,7 +920,7 @@ export const xydx = [
type: "codeTree",
prop: "checkEmpty",
value: "",
placeholder: "请选择",
placeholder: "请选择",
col: "2",
codeOptions: [],
codeTree: "CODE_ZJXY",
......
......@@ -193,6 +193,12 @@ export default {
},
examine() {
if (this.xxzjbh) {
let loading = this.$loading({
lock: true,
text: "正在加载...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
insertTqsp({ xxzjbh: this.xxzjbh }).then((res) => {
if (res.success && res.code == 200) {
this.$alert("提请审批成功!", "提示", {
......
......@@ -125,7 +125,7 @@ export default {
},
{
label: "线索状态",
prop: "xsztdm",
prop: "xsztdmStr",
},
{
label: "线索标识号类型",
......
......@@ -113,14 +113,14 @@ export default {
placeholder: "请输入",
col: "2",
},
{
name: "阵地主键编号:",
id: "glxxXxzjbh",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
// {
// name: "阵地主键编号:",
// id: "glxxXxzjbh",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "2",
// },
],
},
],
......
......@@ -4,7 +4,7 @@
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
:propTitle="title"
>
</form-compontent>
</div>
......@@ -25,10 +25,11 @@ export default {
},
data() {
return {
title: "新增阵地从业人员信息",
propFormField: [
//基本信息
{
title: "新增阵地从业人员信息",
title: "",
id: 1,
objStr: "",
index: 0,
......@@ -71,15 +72,6 @@ export default {
col: "2",
},
{
name: "国籍名称:",
id: "gjmc",
type: "text",
value: "",
prop: "checkEmpty",
placeholder: "请输入",
col: "2",
},
{
name: "户籍地:",
id: "hjddm",
type: "codeTree",
......@@ -118,7 +110,7 @@ export default {
col: "2",
},
{
name: "出生地行政区划:",
name: "出生地:",
id: "csdXzqhdm",
type: "codeTree",
value: "",
......@@ -128,7 +120,7 @@ export default {
col: "2",
},
{
name: "出生地_地址名称:",
name: "出生地名称:",
id: "csdDzmc",
type: "text",
value: "",
......@@ -317,7 +309,7 @@ export default {
xxzjbh: this.xxzjbh,
}).then((res) => {
var result = res.data.rows;
self.formField.forEach((i, iIndex) => {
self.propFormField.forEach((i, iIndex) => {
if (i.data && i.data.length > 0) {
i.data.forEach((j, jIndex) => {
if (j.childrenAsAdd) {
......@@ -326,7 +318,9 @@ export default {
if (result[m.id].length > 0) {
//如果集合有值,则让显示
self.$set(
self.formField[iIndex].data[jIndex].childrenAsAdd[mIndex],
self.propFormField[iIndex].data[jIndex].childrenAsAdd[
mIndex
],
"flag",
true
);
......@@ -343,17 +337,16 @@ export default {
}
});
self.$forceUpdate();
setTimeout(() => {
loading.close();
}, 500);
});
setTimeout(() => {
loading.close();
}, 1000);
},
},
created() {
this.$store.commit("user/SET_Breadcrumb", this.Menu);
if (this.$route.query.xxzjbh) {
// this.propFormField[0].title = "修改阵地从业人员信息";
this.propFormField[0].title = "修改阵地从业人员信息";
this.title = "修改阵地从业人员信息";
this.xxzjbh = this.$route.query.xxzjbh;
this.getshuju();
}
......
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-08-31 16:17:22
* @LastEditTime: 2021-10-12 11:07:41
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
......@@ -11,7 +11,6 @@
<right-content
:cxQueryField="cxQueryField"
:pageObject="pageObject"
:pageFooterProps="pageFooterProps"
labelWidth="110px"
title="阵地从业人员详情"
>
......@@ -32,47 +31,170 @@ export default {
return {
cxQueryField: [
{
label: "出生地行政区划:",
prop: "csdXzqhdmStr",
col: "3",
},
{
label: "户籍地:",
prop: "csdXzqhdmStr",
col: "3",
},{
label: "婚姻:",
prop: "csdXzqhdmStr",
col: "3",
},
],
pageFooterProps: [
{
label: "是否换岗:",
prop: "sfhgPdbzStr",
col: "3",
},
{
label: "学历:",
prop: "xldmStr",
col: "3",
},
{
label: "现住址:",
prop: "xzzdmStr",
col: "3",
title: "阵地交易活动相关人员", //如果不分小模块就删除title
id: 2,
objStr: "", //对象中的对应字段
data: [
{
label: "姓名:",
id: "xm",
type: "text",
value: "",
prop: "checkEmpty",
placeholder: "请输入",
col: "2",
},
{
name: "证件号码:",
id: "zjhm",
type: "text",
value: "",
prop: "checkEmpty",
placeholder: "请输入",
col: "2",
},
{
name: "联系电话:",
id: "lxdh",
type: "text",
value: "",
prop: "checkEmpty",
placeholder: "请输入",
col: "2",
},
{
name: "国籍:",
id: "gjdm",
type: "codeTree",
codeTree: "CODE_GJ",
codeOptions: [],
value: "",
placeholder: "请选择",
col: "2",
},
{
name: "户籍地:",
id: "hjddm",
type: "codeTree",
codeTree: "CODE_XZQH",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "现住址:",
id: "xzzdm",
type: "codeTree",
codeTree: "CODE_XZQH",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "现住址名称:",
id: "xzzmc",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "特殊身份:",
id: "tssf",
type: "codeTree",
codeTree: "CODE_SF",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "出生地:",
id: "csdXzqhdm",
type: "codeTree",
value: "",
codeTree: "CODE_XZQH",
codeOptions: [],
placeholder: "请输入",
col: "2",
},
{
name: "出生地名称:",
id: "csdDzmc",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "职业类别:",
id: "zylbdm",
type: "codeTree",
codeTree: "CODE_XYLB",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "学历:",
id: "xldm",
type: "codeTree",
codeTree: "CODE_WHCD",
codeOptions: [],
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "婚姻:",
id: "hyzkdm",
type: "codeTree",
value: "",
codeTree: "CODE_HYZK",
codeOptions: [],
placeholder: "请输入",
col: "2",
},
{
name: "出生日期:",
id: "csrq",
type: "dates",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "从业时间:",
id: "cysj",
type: "dates",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "是否换岗:",
id: "sfhgPdbz",
type: "codeTree",
codeTree: "CODE_IF",
codeOptions: [],
value: "0",
placeholder: "请输入",
col: "2",
},
],
},
],
pageObject: {},
id: "",
xxzjbh: "",
};
},
mounted() {},
methods: {
getInfor() {
let params = new FormData()
params.append('xxzjbh',this.id)
infoZdcyryxx(params).then((res) => {
infoZdcyryxx({ xxzjbh: this.xxzjbh }).then((res) => {
if (res.success && res.code == 200) {
this.pageObject = res.data.rows;
}
......@@ -80,7 +202,7 @@ export default {
},
},
created() {
this.id = this.$route.query.id;
this.xxzjbh = this.$route.query.xxzjbh;
this.getInfor();
},
};
......
......@@ -8,11 +8,11 @@
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@edit="edit"
@dele="dele"
@edit="edit"
@dele="dele"
@toInfor="toInfor"
></right-content>
<!-- @add="add" -->
<!-- @add="add" -->
</div>
</template>
......@@ -37,7 +37,6 @@ export default {
cysjkssj: "",
cysjjssj: "",
sfhgPdbz: "",
},
cxQueryField: [
{
......@@ -128,13 +127,16 @@ export default {
},
methods: {
add() {
this.$router.push("addZdcyryxx");
},
edit(scope) {
this.$router.push({ path: '/addZdcyryxx', query: {xxzjbh: scope.row.xxzjbh}})
},
dele(scope) {
this.$router.push("addZdcyryxx");
},
edit(scope) {
this.$router.push({
path: "/addZdcyryxx",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
console.log(11111111);
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......@@ -161,11 +163,11 @@ export default {
});
console.log(scope.row.xxzjbh);
},
toInfor(data) {
toInfor(data) {
this.$router.push({
path: "/detailZdcyryxx",
query: {
id: data.xxzjbh,
xxzjbh: data.xxzjbh,
},
});
},
......
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-08-31 16:17:22
* @LastEditTime: 2021-10-12 10:59:32
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
......@@ -11,8 +11,7 @@
<right-content
:cxQueryField="cxQueryField"
:pageObject="pageObject"
:pageFooterProps="pageFooterProps"
labelWidth="110px"
labelWidth="140px"
title="阵地交易活动详情"
>
</right-content>
......@@ -32,62 +31,137 @@ export default {
return {
cxQueryField: [
{
label: "交易地点:",
prop: "jyddXzqhmc",
col: "3",
title: "阵地交易活动", //如果不分小模块就删除title
id: 1,
objStr: "jyhd", //对象中的对应字段
data: [
{
label: "交易物品:",
prop: "jywpmc",
col: "3",
},
{
label: "关联的阵地:",
prop: "glxxZdxxzjbh",
col: "3",
},
{
label: "交易买方组织头目:",
prop: "mfzztm",
col: "3",
},
{
label: "交易卖方组织头目:",
prop: "maifzztm",
col: "3",
},
{
label: "是否出现移动设备:",
prop: "sfydPdbzStr",
col: "3",
},
{
label: "是否有监控视频:",
prop: "sfjkspPdbzStr",
col: "3",
},
{
label: "是否有照片:",
prop: "sfyzpPdbzStr",
col: "3",
},
{
label: "交易地点:",
prop: "jyddXzqhdmStr",
col: "3",
},
{
label: "交易地点名称:",
prop: "jyddXzqhmc",
col: "3",
},
{
label: "交易方式简要情况:",
prop: "jyfsJyqk",
col: "10",
},
],
},
{
label: "是否有交易视频:",
prop: "sfjkspPdbzStr",
col: "3",
},{
label: "是否出现移动通信设备:",
prop: "sfydPdbzStr",
col: "3",
},
{
label: "是否有照片:",
prop: "sfyzpPdbzStr",
col: "3",
},
{
label: "出生地_行政区划:",
prop: "csdXzqhdmStr",
col: "3",
},
{
label: "户籍地:",
prop: "hjddmStr",
col: "3",
},
{
label: "婚姻状况:",
prop: "hyzkdmStr",
col: "3",
},
{
label: "特殊身份:",
prop: "tssfStr",
col: "3",
},
{
label: "学历:",
prop: "xldmStr",
col: "3",
},
],
pageFooterProps: [
{
label: "现住址:",
prop: "xzzdmStr",
col: "3",
},
{
label: "职业:",
prop: "zylbdmStr",
col: "3",
title: "阵地交易活动相关人员", //如果不分小模块就删除title
id: 2,
objStr: "xgry", //对象中的对应字段
applyType: "list",
data: [
{
label: "姓名:",
prop: "xm",
col: "3",
},
{
label: "证件号码:",
prop: "zjhm",
col: "3",
},
{
label: "联系电话:",
prop: "lxdh",
col: "3",
},
{
label: "国籍:",
prop: "gjmc",
col: "3",
},
{
label: "户籍地:",
prop: "hjddmStr",
col: "3",
},
{
label: "现住址:",
prop: "xzzdmStr",
col: "3",
},
{
label: "现住址名称:",
prop: "xzzmc",
col: "3",
},
{
label: "特殊身份:",
prop: "tssfStr",
col: "3",
},
{
label: "出生地:",
prop: "csdXzqhdmStr",
col: "3",
},
{
label: "出生地地址名称:",
prop: "csdDzmc",
col: "3",
},
{
label: "婚姻状况:",
prop: "hyzkdmStr",
col: "3",
},
{
label: "学历:",
prop: "xldmStr",
col: "3",
},
{
label: "出生日期:",
prop: "csrq",
col: "3",
},
],
},
],
pageObject: {},
xxzjbh: "",
};
......@@ -95,16 +169,16 @@ export default {
mounted() {},
methods: {
getInfor() {
let params = new FormData()
params.append('xxzjbh',this.xxzjbh)
infoZdjyhd(params).then((res) => {
let loading = this.$loading({
lock: true,
text: "正在保存...",
spinner: "el-icon-loading",
background: "rgba(255, 255, 255, 0.7)",
});
infoZdjyhd({ xxzjbh: this.xxzjbh }).then((res) => {
if (res.success && res.code == 200) {
this.pageObject = res.data.rows.jyhd = {
...res.data.rows.jyhd,
...res.data.rows.xgry[0],
...res.data.rows.xgry[1]
};
console.log(this.pageObject);
this.pageObject = res.data.rows;
loading.close();
}
});
},
......
......@@ -8,11 +8,11 @@
:cxQueryField="cxQueryField"
:cxDefaultFormThead="cxDefaultFormThead"
:cxUrl="cxUrl"
@edit="edit"
@dele="dele"
@edit="edit"
@dele="dele"
@toInfor="toInfor"
></right-content>
<!-- @add="add" -->
<!-- @add="add" -->
</div>
</template>
......@@ -53,7 +53,7 @@ export default {
},
cxQueryField: [
/*立案信息 侦查终结信息 立案信息审批 侦查终结审批通用开始*/
{
name: "交易买方组织头目",
id: "mfzztm",
......@@ -71,7 +71,7 @@ export default {
col: "3",
},
{
name: "交易地点行政区划",
name: "交易地点",
id: "jyddXzqhdm",
type: "codeTreeDialog",
codeTree: "CODE_XZQH",
......@@ -91,27 +91,31 @@ export default {
},
],
cxDefaultFormThead: [
{
label: "交易买方组织头目",
prop: "mfzztm",
width: "220",
},{
label: "交易卖方组织头目",
prop: "maifzztm",
width: "220",
},{
label: "交易物品名称",
prop: "jywpmc",
width: "220",
},{
label: "交易地点_行政区划",
prop: "jyddXzqhdm",
width: "220",
},{
label: "是否有监控视频",
prop: "sfjkspPdbzStr",
width: "220",
},
{
label: "交易买方组织头目",
prop: "mfzztm",
width: "220",
},
{
label: "交易卖方组织头目",
prop: "maifzztm",
width: "220",
},
{
label: "交易物品名称",
prop: "jywpmc",
width: "220",
},
{
label: "交易地点",
prop: "jyddXzqhdmStr",
width: "220",
},
{
label: "是否有监控视频",
prop: "sfjkspPdbzStr",
width: "220",
},
],
cxUrl: "/zdjyhdxx/selectZdjyhd",
Menu: [
......@@ -136,47 +140,49 @@ export default {
},
methods: {
add() {
this.$router.push("addZdjyhd");
this.$router.push("addZdjyhd");
},
edit(scope) {
this.$router.push({ path: 'addZdjyhd', query: {xxzjbh: scope.row.xxzjbh}})
},
dele(scope) {
// this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
// confirmButtonText: "确定",
// cancelButtonText: "取消",
// type: "warning",
// })
// .then(() => {
// deleteZdjyhd({
// 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: "已取消删除",
// });
// });
edit(scope) {
this.$router.push({
path: "addZdjyhd",
query: { xxzjbh: scope.row.xxzjbh },
});
},
dele(scope) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteZdjyhd({
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: "已取消删除",
});
});
console.log(scope.row.xxzjbh);
},
toInfor(data) {
console.log(data);
// this.$router.push({
// path: "/detailZdjyhd",
// query: {
// xxzjbh: data.xxzjbh,
// },
// });
toInfor(data) {
console.log(data,2222222);
this.$router.push({
path: "/detailZdjyhd",
query: {
xxzjbh: data.xxzjbh,
},
});
},
},
};
......
......@@ -483,16 +483,6 @@ export default {
this.xxzjbh = this.$route.query.xxzjbh;
this.title = "修改阵地线索信息";
this.getshuju();
} else {
let obj = {
name: "阵地主键编号:",
id: "zdxxzjbh",
type: "text",
value: "",
placeholder: "请输入",
col: "2",
};
this.$set(this.formField[0].data, this.formField[0].data.length, obj);
}
},
};
......
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-10-11 16:13:00
* @LastEditTime: 2021-10-12 09:43:15
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
......@@ -95,11 +95,11 @@ export default {
prop: "tgxsrXzzDzmc",
col: "3",
},
{
label: "阵地主键编号:",
prop: "zdxxzjbh",
col: "3",
},
// {
// label: "阵地主键编号:",
// prop: "zdxxzjbh",
// col: "3",
// },
],
},
{
......
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