8b931f4d by yuanbo

增加注释

1 parent d8e2f84d
......@@ -43,6 +43,10 @@ export default {
},
methods: {
//加载流程初始参数
/**
* @description: 加载流程初始参数
* @author: renchao
*/
flowInitParam () {
var formdata = new FormData();
......@@ -70,6 +74,11 @@ export default {
},
//流程环节操作按钮
/**
* @description: 流程环节操作按钮
* @param {*} item
* @author: renchao
*/
operation (item) {
//按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿
//操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
......@@ -276,6 +285,10 @@ export default {
break;
}
},
/**
* @description: del
* @author: renchao
*/
del () {
let formdata = new FormData();
formdata.append("bsmSlsq", this.bsmSlsq);
......@@ -306,6 +319,11 @@ export default {
});
},
//发送下一个环节
/**
* @description: 发送下一个环节
* @param {*} obj
* @author: renchao
*/
sendToNext (obj) {
const h = this.$createElement;
this.$msgbox({
......@@ -355,6 +373,10 @@ export default {
});
});
},
/**
* @description: sendToEnd
* @author: renchao
*/
sendToEnd () {
let that = this
const h = this.$createElement;
......@@ -401,6 +423,10 @@ export default {
})
},
//批量操作
/**
* @description: 批量操作
* @author: renchao
*/
handleBatchDel () {
this.$popupDialog("批量删除", "workflow/components/batchDel", {
width: "50%",
......@@ -410,6 +436,11 @@ export default {
})
},
/**
* @description: handleChange
* @param {*} file
* @author: renchao
*/
handleChange (file) {
var formdata = new FormData();
formdata.append("file", file.raw);
......@@ -424,6 +455,11 @@ export default {
})
},
// 上传
/**
* @description: 上传
* @param {*} file
* @author: renchao
*/
beforeUpload (file) {
return true;
}
......
......@@ -129,6 +129,11 @@
},
methods: {
/**
* @description: stepForm
* @param {*} qllx
* @author: renchao
*/
stepForm (qllx) {
this.oneSelectProps.qllx = qllx;
if (this.$refs.Menu.supplementarylist.length) {
......@@ -162,6 +167,11 @@
},
// 获取右侧选项卡
/**
* @description: 获取右侧选项卡
* @param {*} val
* @author: renchao
*/
getCurrentSelectProps (val) {
this.bsmRepair= val.bsmRepair
if (val.bdcdyid) {
......@@ -179,6 +189,10 @@
}
},
// 获取渲染登记簿列表
/**
* @description: 获取渲染登记簿列表
* @author: renchao
*/
getdjblist () {
getBdcqljqtsx({
bdcdyid: this.currentSelectProps.bdcdyid,
......@@ -208,10 +222,20 @@
});
},
//右侧表单选项卡事件
/**
* @description: 右侧表单选项卡事件
* @param {*} activeName
* @author: renchao
*/
beforeLeave (activeName) {
if (activeName && activeName != 0) this.getFromRouter(activeName);
},
//切换选项卡内容组件
/**
* @description: 切换选项卡内容组件
* @param {*} tabname
* @author: renchao
*/
getFromRouter (tabname) {
this.componentTag = getForm(tabname);
},
......@@ -223,6 +247,12 @@
// this.tabName = this.tabList[0].value
// },
// 增加补录记录
/**
* @description: 增加补录记录
* @param {*} row
* @param {*} del
* @author: renchao
*/
addRepairRecord (row, del) {
let from = {
bsmQlxx: "",
......
......@@ -125,6 +125,11 @@
},
methods: {
/**
* @description: stepForm
* @param {*} qllx
* @author: renchao
*/
stepForm (qllx) {
this.oneSelectProps.qllx = qllx;
if (this.$refs.Menu.supplementarylist.length) {
......@@ -141,6 +146,11 @@
}
},
// 获取右侧选项卡
/**
* @description: 获取右侧选项卡
* @param {*} val
* @author: renchao
*/
getCurrentSelectProps (val) {
this.bsmRepair = val.bsmRepair
if (val.bdcdyid) {
......@@ -158,6 +168,10 @@
}
},
// 获取渲染登记簿列表
/**
* @description: 获取渲染登记簿列表
* @author: renchao
*/
getdjblist () {
getBdcqljqtsx({
bdcdyid: this.currentSelectProps.bdcdyid,
......@@ -187,13 +201,27 @@
});
},
//右侧表单选项卡事件
/**
* @description: 右侧表单选项卡事件
* @param {*} activeName
* @author: renchao
*/
beforeLeave (activeName) {
if (activeName && activeName != 0) this.getFromRouter(activeName);
},
//切换选项卡内容组件
/**
* @description: 切换选项卡内容组件
* @param {*} tabname
* @author: renchao
*/
getFromRouter (tabname) {
this.componentTag = getForm(tabname);
},
/**
* @description: closefp
* @author: renchao
*/
closefp () {
this.splitScreen = this.splitScreen ? false : true;
this.$store.dispatch("app/set1tScreen", this.splitScreen);
......@@ -201,6 +229,12 @@
this.clxxForm = getForm(this.tabList[1].value);
},
// 增加补录记录
/**
* @description: 增加补录记录
* @param {*} row
* @param {*} del
* @author: renchao
*/
addRepairRecord (row, del) {
let from = {
bsmQlxx: "",
......