c814f742 by renchao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents e1bafd5a 0f37dd26
Showing 57 changed files with 1171 additions and 17 deletions
......@@ -17,6 +17,11 @@ export function getAllDict () {
method: 'post'
})
}
/**
* @description: getQlxxDictList
* @param {*} data
* @author: renchao
*/
export function getQlxxDictList (data) {
return request({
url: SERVER.SERVERAPI + '/rest/sys/dict/getQlxxDictList',
......
......@@ -136,6 +136,11 @@
}
},
methods: {
/**
* @description: updateDetail
* @param {*} value
* @author: renchao
*/
updateDetail (value) {
this.tableDataList[this.dataIndex] = value
this.key++
......@@ -143,19 +148,39 @@
},
// 新增
/**
* @description: 新增
* @author: renchao
*/
addClick () {
this.dialog = true
},
// 删除
/**
* @description: 删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
deleClick (index, row) {
this.tableData.splice(index, 1)
},
// 身份证读取
/**
* @description: 身份证读取
* @author: renchao
*/
readClick () { },
// 修改
/**
* @description: 修改
* @param {*} index
* @param {*} row
* @author: renchao
*/
editClick (index, row) {
console.log(row, 'rowrowrowrowrow');
this.dataIndex = index
......@@ -163,6 +188,10 @@
this.details = row
},
/**
* @description: queryViewClick
* @author: renchao
*/
queryViewClick () {
this.dialog = true
}
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:40:28
-->
......@@ -178,10 +178,18 @@
}
},
methods: {
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
this.$refs['ruleForm'].resetFields();
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
this.$emit("input", false);
this.$emit("updateDetail", _.cloneDeep(this.ruleForm));
......
......@@ -53,6 +53,10 @@
},
methods: {
// 批量删除确定按钮
/**
* @description: 批量删除确定按钮
* @author: renchao
*/
submitdelclick () {
var formdata = new FormData();
formdata.append("bsmSldyList", this.selectBdcdy);
......@@ -68,6 +72,11 @@
})
},
// 批量删除勾选事件
/**
* @description: 批量删除勾选事件
* @param {*} e
* @author: renchao
*/
handleSelectionChange (e) {
this.selectBdcdy = [];
e.forEach((item, index) => {
......
......@@ -221,6 +221,10 @@
},
methods: {
// 自动预览
/**
* @description: 自动预览
* @author: renchao
*/
nextPriview () {
if (this.treeCheckIndex < this.tableData.length) {
this.treeCheckIndex++
......@@ -230,6 +234,10 @@
this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj
}
},
/**
* @description: prevPriview
* @author: renchao
*/
prevPriview () {
if (this.treeCheckIndex >= 1) {
this.treeCheckIndex--
......@@ -240,6 +248,10 @@
}
},
// 材料目录明细初始化
/**
* @description: 材料目录明细初始化
* @author: renchao
*/
clmlInitList () {
return new Promise(resolve => {
this.unitData = this.$parent.unitData;
......@@ -265,6 +277,11 @@
})
})
},
/**
* @description: updateList
* @param {*} val
* @author: renchao
*/
updateList (val) {
let that = this
if (val != null) { //删除最后一张图片时 val=null
......@@ -289,14 +306,29 @@
},
// 左侧菜单点击
/**
* @description: 左侧菜单点击
* @param {*} item
* @author: renchao
*/
menuClick (item) {
this.checkedId = item.id
},
// 添加材料目录
/**
* @description: 添加材料目录
* @author: renchao
*/
handleAdd () {
this.isDialog = true;
},
// 上移
/**
* @description: 上移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveUpward (index, row) {
let obj = {
xh: row.xh,
......@@ -317,6 +349,12 @@
})
},
// 下移
/**
* @description: 下移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveDown (index, row) {
let obj = {
xh: row.xh,
......@@ -337,6 +375,11 @@
})
},
// 新增弹窗保存
/**
* @description: 新增弹窗保存
* @param {*} data
* @author: renchao
*/
addSave (data) {
let obj = {
bsmSlsq: this.$parent.bsmSlsq,
......@@ -359,6 +402,12 @@
});
},
// 材料目录删除
/**
* @description: 材料目录删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleDelete (index, row) {
let that = this
this.$confirm('此操作将永久删除该 是否继续?', '提示', {
......@@ -383,6 +432,12 @@
})
},
// 材料目录点击选中
/**
* @description: 材料目录点击选中
* @param {*} item
* @param {*} index
* @author: renchao
*/
treeClick (item, index) {
this.previewImg.index = 0
this.treeCheckId = item?.bsmSj
......@@ -391,11 +446,23 @@
this.previewImg.bsmSj = item?.bsmSj
},
// 小图片点击
/**
* @description: 小图片点击
* @param {*} item
* @param {*} index
* @author: renchao
*/
imgClick (item, index) {
this.showImg = item;
this.titleYs = index + 1;
},
// 字典
/**
* @description: 字典
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus (val, code) {
let data = this.$store.getters.dictData[code],
name = "暂无";
......
......@@ -74,6 +74,10 @@
},
methods: {
// 自动预览
/**
* @description: 自动预览
* @author: renchao
*/
nextPriview () {
if (this.treeCheckIndex < this.tableData.length) {
this.treeCheckIndex++
......@@ -83,6 +87,10 @@
this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj
}
},
/**
* @description: prevPriview
* @author: renchao
*/
prevPriview () {
if (this.treeCheckIndex >= 1) {
this.treeCheckIndex--
......@@ -93,6 +101,11 @@
}
},
// 材料目录明细初始化
/**
* @description: 材料目录明细初始化
* @param {*} type
* @author: renchao
*/
clmlInitList (type) {
//type 1:列表初始化 2:新增材料
return new Promise(resolve => {
......@@ -118,6 +131,11 @@
})
})
},
/**
* @description: setChecked
* @param {*} item
* @author: renchao
*/
setChecked (item) {
this.treeCheckId = item.bsmSj;
this.title = item.sjmc;
......@@ -126,6 +144,11 @@
this.previewImg.imgList = item.children;
this.previewImg.bsmSj = item.bsmSj;
},
/**
* @description: updateList
* @param {*} val
* @author: renchao
*/
updateList (val) {
let that = this
if (val.children.length != []) { //删除最后一张图片时 val=null
......@@ -149,10 +172,19 @@
}
},
// 添加材料目录
/**
* @description: 添加材料目录
* @author: renchao
*/
handleAdd () {
this.isDialog = true;
},
// 新增弹窗保存
/**
* @description: 新增弹窗保存
* @param {*} data
* @author: renchao
*/
addSave (data) {
let obj = {
bsmSlsq: this.$parent.bsmSlsq,
......@@ -175,6 +207,12 @@
});
},
// 材料目录点击选中
/**
* @description: 材料目录点击选中
* @param {*} item
* @param {*} index
* @author: renchao
*/
treeClick (item, index) {
this.previewImg.index = 0
this.treeCheckId = item?.bsmSj
......@@ -183,11 +221,23 @@
this.previewImg.bsmSj = item?.bsmSj
},
// 小图片点击
/**
* @description: 小图片点击
* @param {*} item
* @param {*} index
* @author: renchao
*/
imgClick (item, index) {
this.showImg = item;
this.titleYs = index + 1;
},
// 字典
/**
* @description: 字典
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus (val, code) {
let data = this.$store.getters.dictData[code],
name = "暂无";
......
......@@ -198,10 +198,18 @@
},
},
methods: {
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
this.$refs["ruleForm"].resetFields();
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
this.$refs.ruleForm.validate((valid) => {
if (valid) {
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-18 08:55:31
-->
......@@ -60,6 +60,10 @@
},
},
methods: {
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
this.ruleForm = {
......@@ -67,6 +71,10 @@
clmc: "",
}
},
/**
* @description: handleSubmit
* @author: renchao
*/
handleSubmit () {
debugger
this.$refs['ruleForm'].validate((valid) => {
......
......@@ -152,6 +152,10 @@
},
methods: {
// 材料目录明细初始化
/**
* @description: 材料目录明细初始化
* @author: renchao
*/
clmlInitList () {
return new Promise(resolve => {
this.unitData = this.$parent.unitData;
......@@ -173,6 +177,12 @@
})
},
// 上移
/**
* @description: 上移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveUpward (index, row) {
let obj = {
xh: row.xh,
......@@ -196,6 +206,12 @@
})
},
// 下移
/**
* @description: 下移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveDown (index, row) {
let obj = {
xh: row.xh,
......@@ -218,6 +234,12 @@
})
},
// 材料目录删除
/**
* @description: 材料目录删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleDelete (index, row) {
let that = this
this.$confirm('此操作将永久删除该 是否继续?', '提示', {
......@@ -245,6 +267,12 @@
})
},
// 字典
/**
* @description: 字典
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus (val, code) {
let data = store.getters.dictData[code],
name = "暂无";
......
......@@ -81,12 +81,20 @@
this.getList()
},
methods: {
/**
* @description: getList
* @author: renchao
*/
getList () {
getUserCommonOpinion().then(res => {
this.tableData.data = res.result
})
},
//新增常用意见
/**
* @description: 新增常用意见
* @author: renchao
*/
addOpinion () {
this.$refs.form.validate(valid => {
if (valid) {
......@@ -105,23 +113,46 @@
});
},
//打开新增弹窗
/**
* @description: 打开新增弹窗
* @author: renchao
*/
openDialog () {
this.addDialog = true
},
//关闭新增弹窗
/**
* @description: 关闭新增弹窗
* @author: renchao
*/
closeaddDiglog () {
this.addDialog = false
this.$refs['form'].resetFields();
},
/**
* @description: handleRowClick
* @param {*} item
* @author: renchao
*/
handleRowClick (item) {
this.useCommonOpinion(item)
},
//使用常用意见
/**
* @description: 使用常用意见
* @param {*} item
* @author: renchao
*/
useCommonOpinion (item) {
store.dispatch('workflow/setOptions', item.opinion);
this.$popupCacel()
},
//删除常用意见
/**
* @description: 删除常用意见
* @param {*} item
* @author: renchao
*/
deleteOpinion (item) {
this.$confirm("确定要删除吗, 是否继续?", "提示", {
confirmButtonText: "确定",
......@@ -145,6 +176,10 @@
});
},
//关闭列表弹窗
/**
* @description: 关闭列表弹窗
* @author: renchao
*/
closeDialog () {
this.form.commonOpinion = "";
}
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-04 14:13:28
-->
......@@ -43,6 +43,10 @@
this.query()
},
methods: {
/**
* @description: query
* @author: renchao
*/
query () {
getSzRecordList({ bsmBdcqz: this.formData.bsmBdcqz }).then(res => {
if (res.code == 200) {
......@@ -55,4 +59,4 @@
}
</script>
<style scoped lang='scss'>
</style>
\ No newline at end of file
</style>
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-06-25 11:13:07
-->
......@@ -78,6 +78,10 @@
},
methods: {
//获取印刷序列号列表
/**
* @description: 获取印刷序列号列表
* @author: renchao
*/
ysxlhList () {
readYsxlh({ zslx: this.formData.bdcqz.bdcqzlx }).then((res) => {
if (res.code === 200) {
......@@ -86,6 +90,10 @@
})
},
//获取受理申请下全部不动产权证
/**
* @description: 获取受理申请下全部不动产权证
* @author: renchao
*/
getHeadTabBdcqz () {
this.loading = true
getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => {
......@@ -99,6 +107,10 @@
})
},
// 不动产证书
/**
* @description: 不动产证书
* @author: renchao
*/
drawTextOnImage () {
const canvas = this.$refs.zs;
const context = canvas.getContext('2d');
......@@ -146,10 +158,18 @@
}
image.src = this.imgSrc
},
/**
* @description: handleSubmit
* @author: renchao
*/
handleSubmit () {
this.savePrintRecord()
},
//保存打印记录
/**
* @description: 保存打印记录
* @author: renchao
*/
savePrintRecord () {
this.ruleForm.bsmBdcqz = this.formData.bdcqz.bsmBdcqz;
this.ruleForm.bdcqzlx = this.formData.bdcqz.bdcqzlx;
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-18 10:53:49
-->
......@@ -115,6 +115,10 @@
},
methods: {
//列表初始化
/**
* @description: 列表初始化
* @author: renchao
*/
loadGrid () {
getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => {
if (res.code === 200) {
......@@ -126,12 +130,26 @@
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange (val) {
this.ruleForm.bdcqzList = val
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick (row) {
this.$refs.table.toggleRowSelection(row)
},
/**
* @description: handleSubmit
* @author: renchao
*/
handleSubmit () {
this.$refs.ruleForm.validate(valid => {
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-14 16:05:30
-->
......@@ -69,11 +69,20 @@
},
methods: {
//获取证书内容
/**
* @description: 获取证书内容
* @param {*} code
* @author: renchao
*/
getRowValue (code) {
var value = this.bdcqz[code];
return value;
},
//获取受理申请下全部不动产权证
/**
* @description: 获取受理申请下全部不动产权证
* @author: renchao
*/
getHeadTabBdcqz () {
this.loading = true
getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => {
......@@ -94,6 +103,11 @@
})
},
//tab表头切换方法
/**
* @description: tab表头切换方法
* @param {*} e
* @author: renchao
*/
handleClick (e) {
this.bdcqz = this.headTabBdcqz[e.index - 0]
this.activeName = this.headTabBdcqz.bsmBdcqz
......@@ -104,6 +118,10 @@
}
},
// 不动产证书
/**
* @description: 不动产证书
* @author: renchao
*/
drawTextOnImage () {
const canvas = this.$refs.zs;
const context = canvas.getContext('2d');
......@@ -152,6 +170,10 @@
image.src = this.imgSrc
},
// 不动产证明
/**
* @description: 不动产证明
* @author: renchao
*/
drawTextzmImage () {
const canvas = this.$refs.zm;
const context = canvas.getContext('2d');
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-20 16:58:04
-->
......@@ -67,6 +67,10 @@
this.ableOperation = this.$parent.currentSelectTab.ableOperation
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
getCertificateList(this.ruleForm).then(res => {
......@@ -83,4 +87,4 @@
</script>
<style scoped lang='scss'>
@import "~@/styles/public.scss";
</style>
\ No newline at end of file
</style>
......
......@@ -78,6 +78,10 @@
},
methods: {
//读取申请单元信息
/**
* @description: 读取申请单元信息
* @author: renchao
*/
loadBdcdylist () {
var formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
......@@ -102,6 +106,10 @@
})
},
//批量按钮判断
/**
* @description: 批量按钮判断
* @author: renchao
*/
judgeBatchShow () {
this.showBatch = false;
if (this.unitData.length > 1) {
......@@ -163,6 +171,10 @@
});
},
//批量按钮点击事件
/**
* @description: 批量按钮点击事件
* @author: renchao
*/
batchUnitClick () {
this.currentSelectProps.batchOperation = true;
// this.activeIndex = "-1";
......@@ -170,6 +182,10 @@
},
//批量操作
/**
* @description: 批量操作
* @author: renchao
*/
handleBatchDel () {
this.$popupDialog("批量删除", "workflow/components/batchDel", {
bsmSlsq: this.bsmSlsq,
......@@ -177,6 +193,11 @@
}, '50%', true)
},
//申请单元点击事件
/**
* @description: 申请单元点击事件
* @param {*} index
* @author: renchao
*/
unitClick (index) {
if(this.unitData.length==0) return
this.currentSelectProps = this.unitData[index];
......
......@@ -95,6 +95,10 @@
},
methods: {
//读取申请单元信息
/**
* @description: 读取申请单元信息
* @author: renchao
*/
loadBdcdylist () {
var formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
......@@ -120,6 +124,10 @@
})
},
//批量按钮判断
/**
* @description: 批量按钮判断
* @author: renchao
*/
judgeBatchShow () {
this.showBatch = false;
if (this.afterUnitData.length > 1) {
......@@ -171,6 +179,10 @@
},
//批量按钮点击事件
/**
* @description: 批量按钮点击事件
* @author: renchao
*/
batchUnitClick () {
this.currentSelectProps.batchOperation = true;
// this.activeIndex = "-1";
......@@ -178,6 +190,11 @@
},
//申请单元点击事件
/**
* @description: 申请单元点击事件
* @param {*} index
* @author: renchao
*/
unitClick (index) {
this.activeHIndex = '-1'
this.currentSelectProps = this.aroundUnitData[index];
......@@ -188,6 +205,11 @@
this.$emit('getCurrentSelectProps', this.currentSelectProps);
this.$parent.stepForm(index);
},
/**
* @description: handleAfterunitClick
* @param {*} index
* @author: renchao
*/
handleAfterunitClick (index) {
this.activeIndex = '-1'
this.currentSelectProps = this.afterUnitData[index];
......
......@@ -242,6 +242,12 @@ export default {
this.clearViewer();
},
methods: {
/**
* @description: formatDate
* @param {*} row
* @param {*} column
* @author: renchao
*/
formatDate(row, column) {
let data = row[column.property];
if (data == null) {
......@@ -262,10 +268,19 @@ export default {
dt.getSeconds()
);
},
/**
* @description: processReZoom
* @author: renchao
*/
processReZoom() {
this.defaultZoom = 1;
this.bpmnViewer.get("canvas").zoom("fit-viewport", "auto");
},
/**
* @description: processZoomIn
* @param {*} zoomStep
* @author: renchao
*/
processZoomIn(zoomStep = 0.1) {
const newZoom = Math.floor(this.defaultZoom * 100 + zoomStep * 100) / 100;
if (newZoom > 4) {
......@@ -276,6 +291,11 @@ export default {
this.defaultZoom = newZoom;
this.bpmnViewer.get("canvas").zoom(this.defaultZoom);
},
/**
* @description: processZoomOut
* @param {*} zoomStep
* @author: renchao
*/
processZoomOut(zoomStep = 0.1) {
const newZoom = Math.floor(this.defaultZoom * 100 - zoomStep * 100) / 100;
if (newZoom < 0.2) {
......@@ -286,10 +306,20 @@ export default {
this.defaultZoom = newZoom;
this.bpmnViewer.get("canvas").zoom(this.defaultZoom);
},
/**
* @description: getOperationTagType
* @param {*} type
* @author: renchao
*/
getOperationTagType(type) {
return "success";
},
// 流程图预览清空
/**
* @description: 流程图预览清空
* @param {*} e
* @author: renchao
*/
clearViewer(a) {
if (this.$refs.processCanvas) {
this.$refs.processCanvas.innerHTML = "";
......@@ -300,6 +330,10 @@ export default {
this.bpmnViewer = null;
},
// 添加自定义箭头
/**
* @description: 添加自定义箭头
* @author: renchao
*/
addCustomDefs() {
const canvas = this.bpmnViewer.get("canvas");
const svg = canvas._svg;
......@@ -309,6 +343,11 @@ export default {
svg.appendChild(customFailDefs);
},
// 任务悬浮弹窗
/**
* @description: 任务悬浮弹窗
* @param {*} element
* @author: renchao
*/
onSelectElement(element) {
this.selectTaskId = undefined;
this.dlgTitle = undefined;
......@@ -334,6 +373,11 @@ export default {
}
},
// 下拉列表切换
/**
* @description: 下拉列表切换
* @param {*} val
* @author: renchao
*/
handleSelect(val) {
this.taskCommentList = (this.taskList || []).filter((item) => {
return item.taskDefinitionKey === val;
......@@ -343,6 +387,11 @@ export default {
}
},
// 显示流程图
/**
* @description: 显示流程图
* @param {*} xml
* @author: renchao
*/
async importXML(xml) {
let xmlData = this.$x2js.xml2js(xml).definitions.process;
this.selectOptions = xmlData.userTask.map((item) => {
......@@ -394,6 +443,10 @@ export default {
}
},
// 获取流程记录
/**
* @description: 获取流程记录
* @author: renchao
*/
getCommentList() {
this.formData.allCommentList.forEach(async (item, index) => {
// item.comments.forEach(element => {
......@@ -455,6 +508,11 @@ export default {
},
// 设置流程图元素状态
/**
* @description: 设置流程图元素状态
* @param {*} processNodeInfo
* @author: renchao
*/
setProcessStatus(processNodeInfo) {
this.processNodeInfo = processNodeInfo;
if (
......
......@@ -161,6 +161,11 @@
}
},
methods: {
/**
* @description: handleupdateDetail
* @param {*} value
* @author: renchao
*/
handleupdateDetail (value) {
if (this.isaddupdate) {
if (!_.isEqual(value, this.tableData)) {
......@@ -176,6 +181,10 @@
this.key++
},
// 新增
/**
* @description: 新增
* @author: renchao
*/
addClick () {
if (this.gyfs == '0' && this.tableDataList.length > 0) {
this.$message.warning("当前共有方式为单独所有,无法添加多个权利人")
......@@ -186,6 +195,12 @@
},
// 删除
/**
* @description: 删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
deleClick (index, row) {
this.$confirm('确定要删除吗, 是否继续?', '提示', {
confirmButtonText: '确定',
......@@ -198,6 +213,11 @@
},
// 身份证读取
/**
* @description: 身份证读取
* @param {*} row
* @author: renchao
*/
readClick (row) {
getIdCardInfo().then(res => {
if (res.data.code == 0) {
......@@ -221,12 +241,24 @@
})
},
// 修改
/**
* @description: 修改
* @param {*} index
* @param {*} row
* @author: renchao
*/
editClick (index, row) {
this.dataIndex = index
this.dialog = true
this.details = row
this.isaddupdate = false
},
/**
* @description: queryViewClick
* @param {*} index
* @param {*} row
* @author: renchao
*/
queryViewClick (index, row) {
this.dialog = true
this.details = row
......
......@@ -88,6 +88,10 @@
},
methods: {
//审批意见数据初始化
/**
* @description: 审批意见数据初始化
* @author: renchao
*/
list () {
let that = this
this.$startLoading()
......@@ -105,6 +109,10 @@
}
})
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
this.ruleForm.bsmSlsq = this.bsmSlsq
this.ruleForm.bestepid = this.bestepid
......@@ -118,10 +126,18 @@
})
},
//打开常用意见列表弹窗
/**
* @description: 打开常用意见列表弹窗
* @author: renchao
*/
commonOpinion () {
this.$popupDialog("常用意见", "workflow/components/dialog/commonOpinion", {}, "70%", true)
},
//使用常用意见
/**
* @description: 使用常用意见
* @author: renchao
*/
useOpinion (opinion) {
this.ruleForm.shyj = opinion
}
......
......@@ -130,28 +130,57 @@
}
},
methods: {
/**
* @description: updateDetail
* @param {*} value
* @author: renchao
*/
updateDetail (value) {
this.tableDataList[this.dataIndex] = value
this.key++
this.$emit('upDateQlrxxList', this.tableDataList)
},
// 添加
/**
* @description: 添加
* @author: renchao
*/
handleAdd () {
this.dialog = true
},
// 减
/**
* @description: 减
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleMinus (index, row) {
this.tableData.splice(index, 1)
},
// 身份证读取
/**
* @description: 身份证读取
* @author: renchao
*/
readClick () { },
// 修改
/**
* @description: 修改
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleEdit (index, row) {
console.log(row, 'rowrowrowrowrow');
this.dataIndex = index
this.dialog = true
this.details = row
},
/**
* @description: handleView
* @author: renchao
*/
handleView () {
this.dialog = true
}
......
......@@ -35,6 +35,10 @@
};
},
methods: {
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
stopTask({
bsmSlsq: this.formData.bsmSlsq,
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-06-25 11:15:01
-->
......@@ -104,6 +104,10 @@
},
methods: {
//初始化列表
/**
* @description: 初始化列表
* @author: renchao
*/
list () {
var bsmSlsq = this.$route.query.bsmSlsq;
getSlsqBdcqzList({ bsmSlsq: bsmSlsq }).then((res) => {
......@@ -116,6 +120,12 @@
});
},
//打开证书预览弹窗
/**
* @description: 打开证书预览弹窗
* @param {*} item
* @param {*} type
* @author: renchao
*/
openZsylDialog (item, type) {
if (type == 1) {
//证书预览
......@@ -125,17 +135,30 @@
}
},
//再次打印
/**
* @description: 再次打印
* @param {*} item
* @author: renchao
*/
openInvalidDiglog (item) {
this.bsmSz = item.bsmSz;
this.invalidDiglog = true;
this.bsmBdcqz = item.bsmBdcqz
},
/**
* @description: closeInvalidDiglog
* @author: renchao
*/
closeInvalidDiglog () {
this.invalidDiglog = false;
this.bsmSz = "";
this.zfyy = "";
},
//作废缮证信息
/**
* @description: 作废缮证信息
* @author: renchao
*/
confirmInvalid () {
invalidCertificate({ bsmBdcqz: this.bsmBdcqz, zfyy: this.zfyy }).then((res) => {
if (res.code === 200) {
......@@ -149,6 +172,11 @@
}
});
},
/**
* @description: openRecordPop
* @param {*} item
* @author: renchao
*/
openRecordPop (item) {
this.$popupDialog("缮证记录", "workflow/components/dialog/szRecord", { bsmBdcqz: item.bsmBdcqz }, '60%', true)
}
......
......@@ -166,6 +166,10 @@
},
},
methods: {
/**
* @description: renderHeader
* @author: renchao
*/
renderHeader () {
return (
<div>
......@@ -184,6 +188,10 @@
);
},
// 修改事件
/**
* @description: 修改事件
* @author: renchao
*/
addrow () {
this.tableDataList = this.tableDataList.map((item) => {
return {
......@@ -193,6 +201,11 @@
});
this.$emit("upDateTdytxxList", this.tableDataList);
},
/**
* @description: startTime
* @param {*} index
* @author: renchao
*/
startTime (index) {
// let startTime = this.tableDataList[index].tdsyqssj;
let endTime = this.tableDataList[index].jssj;
......@@ -215,6 +228,11 @@
this.tableDataList[index].syqx = endYear - startYear;
}
},
/**
* @description: endTime
* @param {*} index
* @author: renchao
*/
endTime (index) {
// let startTime = this.tableDataList[index].tdsyqssj;
let startTime = this.tableDataList[index].qssj;
......@@ -237,6 +255,12 @@
this.tableDataList[index].syqx = endYear - startYear;
}
},
/**
* @description: sumTime
* @param {*} index
* @param {*} syqx
* @author: renchao
*/
sumTime (index, syqx) {
let startTime = this.tableDataList[index].qssj;
......@@ -247,6 +271,10 @@
},
// 新增
/**
* @description: 新增
* @author: renchao
*/
addClick () {
this.tableDataList[this.tableDataList.length] = _.cloneDeep(this.newdata);
......@@ -254,6 +282,12 @@
},
// 删除
/**
* @description: 删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
deleClick (index, row) {
this.$confirm("确定要删除吗, 是否继续?", "提示", {
confirmButtonText: "确定",
......
......@@ -68,6 +68,10 @@
this.getBackNode();
},
methods: {
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
console.log(this.formData.bsmSlsq);
console.log(this.selectItem);
......@@ -89,11 +93,20 @@
}, 1000);
});
},
/**
* @description: changeSelectItem
* @param {*} item
* @author: renchao
*/
changeSelectItem (item) {
this.selectItem = item;
this.selectActivity = item.activityId;
},
//获取可回退环节信息
/**
* @description: 获取可回退环节信息
* @author: renchao
*/
getBackNode () {
getTaskBackNode(this.formData).then((res) => {
if (res.code == 200) {
......@@ -106,6 +119,10 @@
});
},
/**
* @description: cancelBack
* @author: renchao
*/
cancelBack () {
popupCacel();
}
......
......@@ -39,6 +39,10 @@
}
},
methods: {
/**
* @description: tablelistFn
* @author: renchao
*/
tablelistFn () {
getNextLinkInfo(this.queryForm).then(res => {
if (res.code === 200) {
......@@ -49,6 +53,10 @@
}
})
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
completeTask(this.queryForm).then(res => {
if (res.code === 200) {
......@@ -62,6 +70,10 @@
}
})
},
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
},
......
......@@ -4,6 +4,12 @@
* @LastEditTime: 2023-06-19 13:16:53
*/
//流程环节操作按钮
/**
* @description: 流程环节操作按钮
* @param {*} tabName
* @param {*} djywbm
* @author: renchao
*/
export function getForm(tabName, djywbm) {
let form;
switch (tabName) {
......
......@@ -43,6 +43,10 @@ export default {
},
methods: {
//加载流程初始参数
/**
* @description: 加载流程初始参数
* @author: renchao
*/
flowInitParam () {
var formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
......@@ -59,6 +63,11 @@ export default {
})
},
//流程环节操作按钮
/**
* @description: 流程环节操作按钮
* @param {*} item
* @author: renchao
*/
operation (item) {
//按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿
//操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
......@@ -225,6 +234,10 @@ export default {
break;
}
},
/**
* @description: del
* @author: renchao
*/
del () {
let formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
......@@ -255,6 +268,11 @@ export default {
});
},
//发送下一个环节
/**
* @description: 发送下一个环节
* @param {*} obj
* @author: renchao
*/
sendToNext (obj) {
const h = this.$createElement;
this.$msgbox({
......@@ -305,6 +323,10 @@ export default {
});
});
},
/**
* @description: sendToEnd
* @author: renchao
*/
sendToEnd () {
let that = this
const h = this.$createElement;
......@@ -351,6 +373,10 @@ export default {
})
},
//批量操作
/**
* @description: 批量操作
* @author: renchao
*/
handleBatchDel () {
this.$popupDialog("批量删除", "workflow/components/batchDel", {
width: "50%",
......@@ -360,6 +386,11 @@ export default {
})
},
/**
* @description: handleChange
* @param {*} file
* @author: renchao
*/
handleChange (file) {
var formdata = new FormData();
formdata.append("file", file.raw);
......@@ -374,6 +405,11 @@ export default {
})
},
// 上传
/**
* @description: 上传
* @param {*} file
* @author: renchao
*/
beforeUpload (file) {
return true;
}
......
......@@ -21,6 +21,10 @@ export default {
}, false)
},
methods: {
/**
* @description: getHomeNotice
* @author: renchao
*/
getHomeNotice () {
getHomeNoticeList().then(res => {
if (res.result) {
......@@ -29,10 +33,21 @@ export default {
})
},
//右侧表单选项卡事件
/**
* @description: 右侧表单选项卡事件
* @param {*} activeName
* @param {*} oldActiveName
* @author: renchao
*/
beforeLeave (activeName, oldActiveName) {
if (activeName && activeName != 0) this.getFromRouter(activeName)
},
//切换选项卡内容组件
/**
* @description: 切换选项卡内容组件
* @param {*} tabname
* @author: renchao
*/
getFromRouter (tabname) {
console.log(tabname, 'tabnametabnametabnametabnametabname');
//根据tabname获取选中的表单 此操作为了获取后端返回的表单对象,使用里面的是否可操作的属性
......
......@@ -118,12 +118,26 @@
window.removeEventListener("unload", (e) => this.unloadHandler(e));
},
methods: {
/**
* @description: getCurrentSelectProps
* @param {*} val
* @author: renchao
*/
getCurrentSelectProps (val) {
this.currentSelectProps = val
},
/**
* @description: beforeunloadHandler
* @author: renchao
*/
beforeunloadHandler () {
this._beforeUnload_time = new Date().getTime();
},
/**
* @description: unloadHandler
* @param {*} e
* @author: renchao
*/
unloadHandler (e) {
this._gap_time = new Date().getTime() - this._beforeUnload_time;
//判断是窗口关闭还是刷新
......@@ -133,6 +147,11 @@
}
},
//申请单元点击事件
/**
* @description: 申请单元点击事件
* @param {*} index
* @author: renchao
*/
stepForm (index) {
getStepFormInfo(this.currentSelectProps).then((res) => {
if (res.code === 200) {
......@@ -158,6 +177,10 @@
}
})
},
/**
* @description: openDialog
* @author: renchao
*/
openDialog () {
this.$store.dispatch('user/refreshPage', false)
let data = JSON.parse(localStorage.getItem('ywbl'))
......
......@@ -103,10 +103,20 @@
};
},
methods: {
/**
* @description: getCurrentSelectProps
* @param {*} val
* @author: renchao
*/
getCurrentSelectProps (val) {
this.currentSelectProps = val
},
//申请单元点击事件
/**
* @description: 申请单元点击事件
* @param {*} index
* @author: renchao
*/
stepForm (index) {
this.currentSelectProps.type = "READ_ONLY"
getStepFormInfo(this.currentSelectProps).then((res) => {
......
......@@ -68,6 +68,10 @@ export default {
};
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
getErrorLogList({ ...this.queryForm, ...this.pageData }).then(res => {
if (res.code === 200) {
......@@ -80,6 +84,11 @@ export default {
}
})
},
/**
* @description: viewDetail
* @param {*} e
* @author: renchao
*/
viewDetail (e) {
this.$popupDialog("错误日志", "xtjk/cwrz/components/viewDialog", e, "50%")
}
......
......@@ -68,6 +68,10 @@ export default {
};
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
getOperationLogList({ ...this.queryForm, ...this.pageData }).then(res => {
if (res.code === 200) {
......@@ -77,6 +81,11 @@ export default {
}
})
},
/**
* @description: viewDetail
* @param {*} e
* @author: renchao
*/
viewDetail (e) {
this.$popupDialog("操作日志", "xtjk/czrz/components/viewDialog", e, "50%")
}
......
......@@ -163,6 +163,10 @@
},
methods: {
// 列表渲染接口
/**
* @description: 列表渲染接口
* @author: renchao
*/
queryClick () {
getServerInfo().then(res => {
if (res.code === 200) {
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:42:32
-->
......@@ -216,6 +216,10 @@
},
methods: {
// 材料目录明细初始化
/**
* @description: 材料目录明细初始化
* @author: renchao
*/
clmlInitList () {
return new Promise(resolve => {
this.unitData = this.$parent.unitData;
......@@ -237,6 +241,11 @@
})
})
},
/**
* @description: updateList
* @param {*} val
* @author: renchao
*/
updateList (val) {
this.tableData.forEach(item => {
if (item.bsmSj === val.bsmSj) {
......@@ -249,14 +258,29 @@
}
},
// 左侧菜单点击
/**
* @description: 左侧菜单点击
* @param {*} item
* @author: renchao
*/
menuClick (item) {
this.checkedId = item.id
},
// 添加材料目录
/**
* @description: 添加材料目录
* @author: renchao
*/
handleAdd () {
this.isDialog = true;
},
// 上移
/**
* @description: 上移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveUpward (index, row) {
let obj = {
xh: row.xh,
......@@ -277,6 +301,12 @@
})
},
// 下移
/**
* @description: 下移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveDown (index, row) {
let obj = {
xh: row.xh,
......@@ -297,6 +327,11 @@
})
},
// 新增弹窗保存
/**
* @description: 新增弹窗保存
* @param {*} data
* @author: renchao
*/
addSave (data) {
let obj = {
bsmSlsq: this.$parent.bsmSlsq,
......@@ -319,6 +354,12 @@
});
},
// 材料目录删除
/**
* @description: 材料目录删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleDelete (index, row) {
let that = this
this.$confirm('此操作将永久删除该 是否继续?', '提示', {
......@@ -343,6 +384,10 @@
})
},
// 材料目录关闭收起
/**
* @description: 材料目录关闭收起
* @author: renchao
*/
iconClick () {
this.menuOpen = !this.menuOpen;
if (this.menuOpen) {
......@@ -352,17 +397,34 @@
}
},
// 材料目录点击选中
/**
* @description: 材料目录点击选中
* @param {*} item
* @author: renchao
*/
treeClick (item) {
this.treeCheckId = item.bsmSj;
this.previewImg.imgList = item?.children;
this.previewImg.bsmSj = item?.bsmSj;
},
// 小图片点击
/**
* @description: 小图片点击
* @param {*} item
* @param {*} index
* @author: renchao
*/
imgClick (item, index) {
this.showImg = item;
this.titleYs = index + 1;
},
// 字典
/**
* @description: 字典
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus (val, code) {
let data = this.$store.getters.dictData[code],
name = "暂无";
......@@ -509,4 +571,4 @@
}
}
}
</style>
\ No newline at end of file
</style>
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:42:38
-->
......@@ -52,9 +52,17 @@
},
},
methods: {
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
},
/**
* @description: handleSubmit
* @author: renchao
*/
handleSubmit () {
this.$parent.addSave(this.ruleForm);
this.$emit("input", false);
......
/*
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-17 10:42:40
*/
......@@ -13,12 +13,22 @@ export default {
},
methods: {
// 点击高级查询弹出查询弹框
/**
* @description: 点击高级查询弹出查询弹框
* @author: renchao
*/
moreQueryClick () {
this.isSearch = true
},
// 查询事件
/**
* @description: 查询事件
* @param {*} bs
* @param {*} mc
* @param {*} code
* @author: renchao
*/
handleSelect (bs, mc, code) {
this.dictData[bs].forEach(item => {
if (item.dcode == this.queryForm[code]) {
......@@ -27,6 +37,11 @@ export default {
})
},
// 清空单个表单
/**
* @description: 清空单个表单
* @param {*} el
* @author: renchao
*/
handleEmpty (el) {
for (var i = 0; i < this.searchList.length; i++) {
if (el == this.searchList[i].zdm) {
......@@ -48,7 +63,12 @@ export default {
this.searchForm[el] = ''
},
// 删除单个查询条件
/**
* @description: 删除单个查询条件
* @param {*} item
* @param {*} index
* @author: renchao
*/
handelItem (item, index) {
let obj = {
ywlymc: 'ywly',
......@@ -65,6 +85,10 @@ export default {
}
this.searchForm[item.zdm] = ''
},
/**
* @description: iterationData
* @author: renchao
*/
iterationData () {
let obj = {
ywlymc: '业务来源', qllxmc: '权利类型', djlxmc: '登记类型', ywh: '业务号', sqywmc: '申请业务名称',
......@@ -75,12 +99,21 @@ export default {
if (value) return { name: obj[name], value, zdm: name }
}).filter(Boolean)
},
/**
* @description: getSearch
* @param {*} val
* @author: renchao
*/
getSearch (val) {
this.otherForm = val
this.iterationData()
this.queryClick()
},
// 清空查询条件
/**
* @description: 清空查询条件
* @author: renchao
*/
hanldeCleanAll () {
this.searchForm = {}
this.queryForm = {
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 14:08:17
-->
......@@ -70,9 +70,17 @@
methods: {
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$emit('input', false)
},
/**
* @description: resetForm
* @author: renchao
*/
resetForm () {
this.$refs['ruleForm'].resetFields()
this.ruleForm = {
......@@ -82,6 +90,10 @@
slsj: ''
}
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
this.$emit('getSearch', _.cloneDeep(this.ruleForm))
this.$emit('input', false)
......
......@@ -146,6 +146,10 @@
},
methods: {
// 列表渲染接口
/**
* @description: 列表渲染接口
* @author: renchao
*/
queryClick () {
this.$startLoading();
this.searchForm.ywh = this.queryForm.ywh;
......@@ -163,11 +167,21 @@
}
});
},
/**
* @description: handleSort
* @param {*} val
* @author: renchao
*/
handleSort (val) {
this.queryForm.sortField = val.prop;
this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc";
this.queryClick();
},
/**
* @description: del
* @param {*} item
* @author: renchao
*/
del (item) {
let formdata = new FormData();
formdata.append("bsmSlsq", item.bsmSlsq);
......@@ -197,6 +211,11 @@
});
});
},
/**
* @description: ywhClick
* @param {*} item
* @author: renchao
*/
ywhClick (item) {
//判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面
judgeUserTaskPermission({
......
......@@ -213,6 +213,10 @@
},
methods: {
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
batchSaveData(this.ruleForm).then((res) => {
......@@ -221,6 +225,11 @@
}
});
},
/**
* @description: changeCflx
* @param {*} e
* @author: renchao
*/
changeCflx (e) {
let cflxItem = {}
cflxItem = this.dictData['A32'].find((item) => {
......
......@@ -330,6 +330,10 @@
},
methods: {
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
......@@ -337,6 +341,11 @@
}
});
},
/**
* @description: changeCflx
* @param {*} e
* @author: renchao
*/
changeCflx (e) {
let cflxItem = {};
cflxItem = this.dictData["A32"].find((item) => {
......
......@@ -302,6 +302,10 @@
};
},
methods: {
/**
* @description: onSubmitClick
* @author: renchao
*/
onSubmitClick () {
saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
if (res.code === 200) {
......@@ -322,12 +326,22 @@
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
if (!_.isEqual(val, this.ruleForm.qlrList)) {
this.ruleForm.qlrList = _.cloneDeep(val);
}
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
if (!_.isEqual(val, this.ruleForm.ywrList)) {
this.ruleForm.ywrList = _.cloneDeep(val);
......
......@@ -257,21 +257,44 @@
},
methods: {
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
/**
* @description: showCZInfo
* @author: renchao
*/
showCZInfo () {
console.log(this.ruleForm.slsq.gyfs);
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
this.ruleForm.ywrList = _.cloneDeep(val);
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
......
......@@ -284,6 +284,10 @@
};
},
methods: {
/**
* @description: dataSelectClick
* @author: renchao
*/
dataSelectClick () {
this.$popup("房屋信息比对", this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai",
{
......@@ -294,19 +298,38 @@
});
},
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
this.ruleForm.ywrList = _.cloneDeep(val);
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
......
......@@ -91,6 +91,10 @@
};
},
methods: {
/**
* @description: loadData
* @author: renchao
*/
loadData () {
var formdata = new FormData();
formdata.append("bsmSldy", this.propsParam.formData.bsmSldy);
......@@ -108,6 +112,10 @@
}
});
},
/**
* @description: checkChange
* @author: renchao
*/
checkChange () {
if (this.checkList.length === 0) {
this.tableData = [];
......@@ -116,6 +124,11 @@
this.loadData();
}
},
/**
* @description: getQsztName
* @param {*} code
* @author: renchao
*/
getQsztName (code) {
let name = "";
for (let item of this.qsztList) {
......
......@@ -209,6 +209,10 @@
},
methods: {
//组装房地产权通用信息
/**
* @description: 组装房地产权通用信息
* @author: renchao
*/
splicingFdcq2Info () {
let fdcq2List = this.ruleForm.fdcq2List;
let fwxzArr = [];
......@@ -232,16 +236,34 @@
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
/**
* @description: showCZInfo
* @author: renchao
*/
showCZInfo () {
console.log(this.ruleForm.slsq.gyfs);
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
this.ruleForm.ywrList = _.cloneDeep(val);
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
saveBatchData(this.ruleForm).then((res) => {
if (res.code === 200) {
......
......@@ -257,10 +257,20 @@
},
methods: {
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
/**
* @description: list
* @param {*} bsmSldy
* @author: renchao
*/
list (bsmSldy) {
var formdata = new FormData();
formdata.append("bsmSldy", bsmSldy);
......@@ -276,6 +286,10 @@
}
});
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
fristReg(this.ruleForm).then((res) => {
if (res.code === 200 && res.result) {
......
......@@ -249,21 +249,40 @@
},
methods: {
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val))
this.czrOptions = this.ruleForm.qlrList;
this.key++
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val))
this.key++
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
if (this.ruleForm.qlrList.length == 0) {
this.$message({
......
......@@ -235,14 +235,28 @@
},
methods: {
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
......@@ -261,6 +275,10 @@
}
});
},
/**
* @description: compare
* @author: renchao
*/
compare () {
this.$popup({
titleStyle: "left",
......
......@@ -275,6 +275,10 @@
}
},
methods: {
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
......@@ -293,13 +297,28 @@
}
});
},
/**
* @description: upDateQlrxxList
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val)
},
/**
* @description: upDateJtcyList
* @param {*} val
* @author: renchao
*/
upDateJtcyList (val) {
this.ruleForm.jtcyList = _.cloneDeep(val)
},
//水域滩涂类型变化事件
/**
* @description: 水域滩涂类型变化事件
* @param {*} e
* @author: renchao
*/
changeSyttlx (e) {
let itemLx = {}
itemLx = this.dictData['A23'].find((item) => {
......@@ -308,6 +327,11 @@
this.ruleForm.nydsyq.syttlxmc = itemLx.dname;
},
//养殖业方式变化事件
/**
* @description: 养殖业方式变化事件
* @param {*} e
* @author: renchao
*/
changeYzyfs (e) {
let itemLx = {}
itemLx = this.dictData['A24'].find((item) => {
......@@ -316,6 +340,11 @@
this.ruleForm.nydsyq.yzyfsmc = itemLx.dname;
},
//用地用海变化事件
/**
* @description: 用地用海变化事件
* @param {*} e
* @author: renchao
*/
changeYdyhfl (e) {
let itemLx = {}
itemLx = this.dictData['A51'].find((item) => {
......
......@@ -275,6 +275,10 @@
}
},
methods: {
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
......@@ -294,18 +298,38 @@
});
},
//权利人更新
/**
* @description: 权利人更新
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val)
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
this.ruleForm.ywrList = _.cloneDeep(val);
},
//家庭成员更新
/**
* @description: 家庭成员更新
* @param {*} val
* @author: renchao
*/
upDateJtcyList (val) {
this.ruleForm.jtcyList = _.cloneDeep(val)
},
//水域滩涂类型变化事件
/**
* @description: 水域滩涂类型变化事件
* @param {*} e
* @author: renchao
*/
changeSyttlx (e) {
let itemLx = {}
itemLx = this.dictData['A23'].find((item) => {
......@@ -314,6 +338,11 @@
this.ruleForm.nydsyq.syttlxmc = itemLx.dname;
},
//养殖业方式变化事件
/**
* @description: 养殖业方式变化事件
* @param {*} e
* @author: renchao
*/
changeYzyfs (e) {
let itemLx = {}
itemLx = this.dictData['A24'].find((item) => {
......@@ -322,6 +351,11 @@
this.ruleForm.nydsyq.yzyfsmc = itemLx.dname;
},
//用地用海变化事件
/**
* @description: 用地用海变化事件
* @param {*} e
* @author: renchao
*/
changeYdyhfl (e) {
let itemLx = {}
itemLx = this.dictData['A51'].find((item) => {
......
......@@ -400,21 +400,40 @@
},
methods: {
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val));
this.czrOptions = this.ruleForm.qlrList;
this.key++;
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val));
this.key++;
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
if (this.ruleForm.qlrList.length == 0) {
this.$message({
......
......@@ -196,13 +196,27 @@
},
methods: {
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
this.ruleForm.ywrList = _.cloneDeep(val);
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
......
......@@ -191,6 +191,10 @@
};
},
methods: {
/**
* @description: onClick
* @author: renchao
*/
onClick () {
this.$popup("房屋信息比对", "ywbl/ygdj/slxxCompareDetai",
{
......@@ -201,14 +205,28 @@
});
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
this.ruleForm.ywrList = _.cloneDeep(val);
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
......
......@@ -244,13 +244,27 @@
},
methods: {
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
this.ruleForm.qlrList = _.cloneDeep(val);
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
this.ruleForm.ywrList = _.cloneDeep(val);
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit () {
saveData(this.ruleForm).then((res) => {
if (res.code === 200) {
......
......@@ -243,6 +243,10 @@
};
},
methods: {
/**
* @description: onSubmitClick
* @author: renchao
*/
onSubmitClick () {
saveBatchData(this.ruleForm, this.propsParam.djlx).then((res) => {
if (res.code === 200) {
......@@ -263,12 +267,22 @@
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
if (!_.isEqual(val, this.ruleForm.qlrList)) {
this.ruleForm.qlrList = _.cloneDeep(val);
}
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
if (!_.isEqual(val, this.ruleForm.ywrList)) {
this.ruleForm.ywrList = _.cloneDeep(val);
......
......@@ -285,6 +285,10 @@
};
},
methods: {
/**
* @description: onSubmitClick
* @author: renchao
*/
onSubmitClick () {
saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
if (res.code === 200) {
......@@ -305,12 +309,22 @@
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList (val) {
if (!_.isEqual(val, this.ruleForm.qlrList)) {
this.ruleForm.qlrList = _.cloneDeep(val);
}
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList (val) {
if (!_.isEqual(val, this.ruleForm.ywrList)) {
this.ruleForm.ywrList = _.cloneDeep(val);
......