6aac2ceb by renchao@pashanhoo.com

style:权利人信息

1 parent bf41b7dc
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-22 13:49:53
* @LastEditTime: 2023-09-26 16:49:33
-->
<template>
<dialogBox
......@@ -514,7 +514,6 @@
item.zjzlMc = this.dicStatus(item.zjzl, 'A30')
item.qlrmc = item.qymc
item.dz = item.dwdz
item.id = getUuid(16)
})
}
})
......@@ -539,9 +538,10 @@
this.$confirm('是否同步材料信息?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
distinguishCancelAndClose: true,//区分取消与关闭
}).then(() => {
replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => {
that.$emit("updateDetail", _.cloneDeep({ ...val, qlrlx: '2' }));
that.$emit("updateDetail", _.cloneDeep({ ...val, qlrlx: '2', id: getUuid(16) }));
that.$emit("input", false);
if (res.code == 200) {
that.$message({
......@@ -552,11 +552,11 @@
this.$message.error(res.message);
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消'
})
}).catch(action => {
if (action == 'cancel') {
that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2' }));
that.$emit("input", false);
}
})
},
/**
......@@ -575,7 +575,6 @@
item.zjzlMc = this.dicStatus(item.zjzl, 'A30')
item.qlrmc = item.qymc
item.dz = item.dwdz
item.id = getUuid(16)
})
}
})
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-22 13:51:38
* @LastEditTime: 2023-09-26 15:40:49
-->
<template>
<dialogBox
......@@ -525,6 +525,7 @@
this.$confirm('是否同步材料信息?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
distinguishCancelAndClose: true,//区分取消与关闭
}).then(() => {
replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => {
that.$emit("updateDetail", _.cloneDeep({ ...val, ywrlx: '2' }));
......@@ -538,11 +539,11 @@
this.$message.error(res.message)
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消'
})
}).catch(action => {
if (action == 'cancel') {
that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2' }));
that.$emit("input", false);
}
})
},
/**
......
<!--
* @Description: workFrame左侧菜单列表-普通
* @Autor: renchao
* @LastEditTime: 2023-09-26 13:38:19
* @LastEditTime: 2023-09-26 15:32:20
-->
<template>
<div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
......@@ -69,6 +69,7 @@
bsmSlsq: this.$route.query.bsmSlsq,
//当前流程所在环节
bestepid: this.$route.query.bestepid,
bsmBusiness: this.$route.query.bsmBusiness,
//受理申请标识码
bdcdyid: this.$route.query.bdcdyid,
//当前流程所在环节
......@@ -100,16 +101,8 @@
this.delel = this.$parent.isEdit
this.loadBdcdylist();
},
computed: {
// ...mapGetters(["isRefresh"]),
},
watch: {
// isRefresh: {
// handler(newVal, oldVal) {
// if (newVal) this.loadBdcdylist();
// },
// immediate: true,
// },
beforeDestroy () {
sessionStorage.removeItem('keyPath')
},
methods: {
/**
......@@ -120,13 +113,14 @@
var formdata = new FormData();
if (this.bsmSlsq) {
formdata.append("bsmSlsq", this.bsmSlsq);
formdata.append("bestepid", this.bestepid);
formdata.append("bestepid", this.bestepid ? this.bestepid : '');
formdata.append("bsmBusiness", this.bsmBusiness ? this.bsmBusiness : '');
leftMenu(formdata).then((res) => {
if (res.code === 200 && res.result) {
this.currentSelectProps = res.result[0];
this.$emit("getCurrentSelectProps", this.currentSelectProps);
}
})
});
}
},
/**
......@@ -135,26 +129,38 @@
* @author: renchao
*/
getleftMenubl (row) {
let that = this
leftMenubl(this.bsmSlsq).then((res) => {
this.supplementarylist = res.result;
if (row) {
this.supplementarylist.forEach((item, index) => {
if (item.bsmRepair == row.bsmRepair) {
this.activeIndex = index.toString()
// 补录成功后定位到该条记录
this.unitClick(this.activeIndex)
}
})
if (row == "change") {
this.unitClick(0)
}
// if (row == "change") {
// if (sessionStorage.getItem('keyPath') && sessionStorage.getItem('keyPath') >= 0) {
// that.unitClick(sessionStorage.getItem('keyPath') - 0)
// that.activeIndex = sessionStorage.getItem('keyPath')
// } else {
// that.unitClick(0)
// that.activeIndex = "0"
// }
// }
} else {
if (this.supplementarylist.length) {
this.unitClick(0)
this.activeIndex = "0"
if (sessionStorage.getItem('keyPath') && sessionStorage.getItem('keyPath') >= 0) {
that.unitClick(sessionStorage.getItem('keyPath') - 0)
that.activeIndex = sessionStorage.getItem('keyPath')
} else {
that.loadBdcdylist()
this.activeIndex = "-1";
// that.unitClick(0)
// that.activeIndex = "0"
}
} else {
this.loadBdcdylist()
// this.$emit("getCurrentSelectProps", this.currentSelectProps);
}
}
})
......@@ -190,7 +196,7 @@
this.loadBdcdylist()
window.currentSelect = {}
this.activeIndex = "-1";
sessionStorage.setItem('keyPath', -1);
sessionStorage.removeItem('keyPath')
},
/**
* @description: 删除补录记录
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-21 16:02:53
* @LastEditTime: 2023-09-26 15:38:25
-->
<template>
<div>
......@@ -216,7 +216,6 @@
},
methods: {
/**
* @handleupdateDetail: 删除
* @param {*} value
* @author: renchao
*/
......
......@@ -178,12 +178,12 @@
this.$nextTick(() => {
if (val.length == 0 || !val) {
that.tableDataList = _.cloneDeep([
{
ywrmc: "",
dlrzjlx: "",
dlrzjh: "",
fr: "",
},
// {
// ywrmc: "",
// dlrzjlx: "",
// dlrzjh: "",
// fr: "",
// },
]);
} else {
that.tableDataList = _.cloneDeep(val);
......@@ -247,10 +247,8 @@
this.isaddupdate = true;
},
/**
* @description: 删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
deleClick (index, row) {
this.tableDataList.splice(index, 1);
......
......@@ -226,7 +226,6 @@ export default {
this.loading = false
})
},
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
......@@ -246,7 +245,6 @@ export default {
this.czrOptions = this.ruleForm.qlrData;
this.key++;
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
......@@ -299,7 +297,7 @@ export default {
return false;
}
}
this.$store.dispatch("user/refreshPage", false);
save(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
......
/*
* @Description:workFramezu.vue组件的方法 头部按钮弹框方法
* @Autor: miaofang
* @LastEditTime: 2023-09-22 13:34:56
* @LastEditTime: 2023-09-26 14:25:23
*/
import { getPrintTemplateByCode } from "@/api/print";
import { getQllxByBdcdyid } from "@/api/djbDetail.js";
......@@ -23,6 +23,8 @@ export default {
//是否开启材料分屏
splitScreen: false,
//设置表单组件是否刷选值
bsmSlsq: this.$route.query.bsmSlsq,
bestepid: this.$route.query.bestepid,
fresh: 10,
//左侧菜单数据集合
unitData: [],
......@@ -327,10 +329,8 @@ export default {
}
})
},
// 上传
/**
* @description: 上传
* @param {*} file
* @author: renchao
*/
beforeUpload (file) {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-26 14:02:42
* @LastEditTime: 2023-09-26 16:47:20
-->
<template>
<dialogBox
......@@ -512,11 +512,10 @@
let { total, records } = res.result;
this.tableDataQy.total = total;
this.tableDataQy.data = records;
this.tableDataQy.data.forEach(item => {
this.tableDataQy.data.forEach((item, index) => {
item.zjzlMc = this.dicStatus(item.zjzl, 'A30')
item.sqrmc = item.qymc
item.txdz = item.dwdz
item.id = getUuid(16)
})
}
})
......@@ -544,7 +543,7 @@
distinguishCancelAndClose: true,//区分取消与关闭
}).then(() => {
replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => {
that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2' }));
that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2', id: getUuid(16) }));
that.$emit("input", false);
if (res.code == 200) {
that.$message({
......@@ -574,11 +573,10 @@
let { total, records } = res.result;
this.tableDataYh.total = total;
this.tableDataYh.data = records;
this.tableDataYh.data.forEach(item => {
this.tableDataYh.data.forEach((item, index) => {
item.zjzlMc = this.dicStatus(item.zjzl, 'A30')
item.sqrmc = item.qymc
item.txdz = item.dwdz
item.id = getUuid(16)
})
}
})
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-26 14:10:02
* @LastEditTime: 2023-09-26 16:40:49
-->
<template>
<div>
......@@ -167,23 +167,35 @@
handleupdateDetail (value) {
let that = this
let arr = this.tableData.map(item => item.zjh)
// if (this.isaddupdate) {
// if (!arr.includes(value.zjh)) {
// this.tableDataList[this.tableDataList.length] = _.cloneDeep(value);
// this.$emit('upDateQlrxxList', this.tableDataList)
// } else {
// setTimeout(() => {
// that.$message.error('证件号不能重复')
// }, 1500)
// }
// } else {
// if (!arr.includes(value.zjh) || this.tableData[this.dataIndex].zjh == value.zjh) {
// this.tableDataList[this.dataIndex] = _.cloneDeep(value);
// this.$emit('upDateQlrxxList', this.tableDataList)
// } else {
// setTimeout(() => {
// that.$message.error('证件号不能重复')
// }, 1500)
// }
// }
if (this.isaddupdate) {
if (!arr.includes(value.zjh)) {
if (!_.isEqual(value, this.tableData)) {
this.tableDataList[this.tableDataList.length] = _.cloneDeep(value);
this.$emit('upDateQlrxxList', this.tableDataList)
} else {
setTimeout(() => {
that.$message.error('证件号不能重复')
}, 1500)
this.$emit("upDateQlrxxList", this.tableDataList);
}
} else {
if (!arr.includes(value.zjh) || this.tableData[this.dataIndex].zjh == value.zjh) {
if (!_.isEqual(value, this.tableData)) {
this.tableDataList[this.dataIndex] = _.cloneDeep(value);
this.$emit('upDateQlrxxList', this.tableDataList)
} else {
setTimeout(() => {
that.$message.error('证件号不能重复')
}, 1500)
this.$emit("upDateQlrxxList", this.tableDataList);
}
}
this.key++
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-01 13:33:27
* @LastEditTime: 2023-09-26 15:45:06
-->
<template>
<div>
......@@ -124,12 +124,6 @@
let that = this
this.$nextTick(() => {
if (val.length == 0 || !val) {
// that.tableDataList = _.cloneDeep([{
// sqrmc: '',
// dlrzjlx: '',
// dlrzjh: '',
// fr: ''
// }])
} else {
that.tableDataList = _.cloneDeep(val)
}
......@@ -209,6 +203,7 @@
* @author: renchao
*/
deleClick (index, row) {
debugger
this.tableDataList.splice(index, 1)
this.$emit('upDateQlrxxList', this.tableDataList)
},
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-20 14:27:17
* @LastEditTime: 2023-09-26 15:16:04
-->
<template>
<!-- 受理信息 -->
......@@ -446,6 +446,7 @@
* @description: saveData
* @author: renchao
*/
this.$store.dispatch("user/refreshPage", false);
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
......