1b70fbce by yuanbo

增加注释

1 parent 23162a9a
......@@ -123,6 +123,10 @@
this.getDataList();
},
methods: {
/**
* @description: getDataList
* @author: renchao
*/
getDataList () {
//获取收藏信息集合
getCollectBiz().then(res => {
......@@ -137,6 +141,11 @@
})
},
//申请业务类型菜单事件
/**
* @description: 申请业务类型菜单事件
* @param {*} item
* @author: renchao
*/
sqywlxClick (item) {
console.log("item", item);
this.btnDisabled = true;
......@@ -157,6 +166,11 @@
}
},
//权利类型菜单事件
/**
* @description: 权利类型菜单事件
* @param {*} index
* @author: renchao
*/
qllxClick (index) {
console.log("业务", index);
this.btnDisabled = true;
......@@ -170,6 +184,12 @@
this.getNextNode(this.sqywQllxList[index].bsmSqyw);
},
//选择申请业务事件
/**
* @description: 选择申请业务事件
* @param {*} data
* @param {*} index
* @author: renchao
*/
selectSqywClick (data, index) {
data.forEach(item => {
item.selected = false;
......@@ -184,6 +204,11 @@
}
},
//获取下个节点类型数据
/**
* @description: 获取下个节点类型数据
* @param {*} bsmSqyw
* @author: renchao
*/
getNextNode (bsmSqyw) {
getNextNode(bsmSqyw).then(res => {
if (res.result.djqx) {
......@@ -202,6 +227,10 @@
},
//获取下个节点类型数据
/**
* @description: 获取下个节点类型数据
* @author: renchao
*/
getRepairBiz () {
getRepairBiz().then(res => {
if (res) {
......@@ -211,16 +240,32 @@
})
},
//双击事件
/**
* @description: 双击事件
* @param {*} data
* @param {*} index
* @param {*} item
* @author: renchao
*/
dblclick (data, index, item) {
localStorage.setItem('ywbl', JSON.stringify(item));
this.selectSqywClick(data, index);
this.dialogClick();
},
//打开弹框内容
/**
* @description: 打开弹框内容
* @author: renchao
*/
dialogClick () {
this.openDialog();
},
//收藏操作
/**
* @description: 收藏操作
* @param {*} item
* @author: renchao
*/
handleCollection (item) {
let that = this
if (item.userCollect == '2') {
......@@ -253,6 +298,11 @@
})
}
},
/**
* @description: handleSelect
* @param {*} item
* @author: renchao
*/
handleSelect (item) {
this.busList.forEach(item => {
item.cselect = false
......@@ -260,6 +310,11 @@
item.cselect = !item.cselect
},
// 登记类型
/**
* @description: 登记类型
* @param {*} item
* @author: renchao
*/
handleDjlxSelect (item) {
this.djlxList.forEach(item => {
item.cselect = false
......@@ -276,6 +331,11 @@
}
this.djqxList = []
},
/**
* @description: handleDjqxItem
* @param {*} item
* @author: renchao
*/
handleDjqxItem (item) {
this.djlxList.forEach(item => {
item.cselect = false
......@@ -288,20 +348,39 @@
this.btnDisabled = true
}
},
/**
* @description: handleSelectItem
* @param {*} item
* @param {*} list
* @author: renchao
*/
handleSelectItem (item, list) {
this.handleSelectYw(item, list)
this.openDialog()
},
// 选择不动产信息
/**
* @description: 选择不动产信息
* @author: renchao
*/
bthSelectClick () {
this.openDialog()
},
/**
* @description: openDialog
* @author: renchao
*/
openDialog () {
console.log("this.selectParam", this.selectParam);
let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : '';
this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "85%")
},
/**
* @description: loadView
* @param {*} view
* @author: renchao
*/
loadView (view) {
return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`)))
}
......
......@@ -32,11 +32,20 @@
}
},
methods: {
/**
* @description: loadView
* @param {*} view
* @author: renchao
*/
loadView (view) {
console.log(view, 'view');
return (r) =>
require.ensure([], () => r(require(`./components/${view}.vue`)));
},
/**
* @description: updateDialog
* @author: renchao
*/
updateDialog () {
this.$popupCacel()
this.$emit("updateDialog", true)
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 13:59:35
-->
......@@ -145,6 +145,10 @@
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading()
getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -156,14 +160,34 @@
}
});
},
/**
* @description: handleSort
* @param {*} name
* @param {*} sort
* @author: renchao
*/
handleSort (name, sort) {
console.log(name, sort);
},
// 高级查询
/**
* @description: 高级查询
* @author: renchao
*/
moreQueryClick () { },
/**
* @description: openDialog
* @param {*} scroll
* @author: renchao
*/
openDialog (scroll) {
this.$popupDialog('登记簿详情', 'registerBook/djbFrame', scroll, '85%');
},
/**
* @description: handleLpbClick
* @param {*} item
* @author: renchao
*/
handleLpbClick (item) {
this.$popupDialog('楼盘表', 'lpb/index', {
bsm: ''
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 13:59:55
-->
......@@ -112,6 +112,10 @@
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading()
getJdcxBysearch({ ...this.queryForm, ...this.pageData }).then(res => {
......@@ -123,10 +127,26 @@
}
})
},
/**
* @description: handleSort
* @param {*} name
* @param {*} sort
* @author: renchao
*/
handleSort (name, sort) {
console.log(name, sort);
},
// 高级查询
/**
* @description: 高级查询
* @author: renchao
*/
moreQueryClick () { },
/**
* @description: openDialog
* @param {*} item
* @author: renchao
*/
openDialog (item) {
const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3')
window.open(href, `urlname${item.bsmSlsq}`)
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 14:00:03
-->
......@@ -80,6 +80,10 @@
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading();
getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => {
......@@ -90,11 +94,27 @@
}
});
},
/**
* @description: handleSort
* @param {*} name
* @param {*} sort
* @author: renchao
*/
handleSort (name, sort) {
console.log(name, sort);
},
// 高级查询
/**
* @description: 高级查询
* @author: renchao
*/
moreQueryClick () { },
//打开楼盘表
/**
* @description: 打开楼盘表
* @param {*} scope
* @author: renchao
*/
openlpbClick (scope) {
this.$popup('楼盘表', 'lpb/index', {
width: '90%',
......
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 14:07:38
-->
......@@ -81,6 +81,10 @@
},
methods: {
// 查询
/**
* @description: 查询
* @author: renchao
*/
queryClick () {
this.$startLoading()
getBdcqzReceiveList({ ...this.queryForm, ...this.pageData }).then(res => {
......@@ -92,6 +96,11 @@
}
})
},
/**
* @description: openDialog
* @param {*} item
* @author: renchao
*/
openDialog (item) {
this.$startLoading()
bdcqzPreview(item).then(res => {
......@@ -101,6 +110,10 @@
this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) })
})
},
/**
* @description: handleClose
* @author: renchao
*/
handleClose () {
this.dialogVisible = false;
}
......
......@@ -71,6 +71,10 @@
},
methods: {
// 查询
/**
* @description: 查询
* @author: renchao
*/
queryClick () {
this.$startLoading()
getZjgcdyList({ ...this.queryForm, ...this.pageData }).then(res => {
......@@ -82,6 +86,10 @@
}
})
},
/**
* @description: moreQueryClick
* @author: renchao
*/
moreQueryClick () { }
}
}
......
......@@ -127,6 +127,11 @@ export default {
this.getDetail(this.formData.bsmZswj)
},
methods: {
/**
* @description: getDetail
* @param {*} bsmZswj
* @author: renchao
*/
getDetail (bsmZswj) {
getZssyqkInfo({ "bsmZswj": bsmZswj }).then(res => {
if (res.code == 200) {
......
......@@ -136,6 +136,10 @@ export default {
},
methods: {
//表单提交
/**
* @description: 表单提交
* @author: renchao
*/
submitForm () {
zsff(this.ruleForm).then(res => {
if (res.code == 200) {
......@@ -150,6 +154,10 @@ export default {
})
},
//序列号获取
/**
* @description: 序列号获取
* @author: renchao
*/
ywhSerial () {
getSysSerialSingle(this.ywhQueryForm).then(res => {
if (res.code == 200) {
......@@ -159,6 +167,11 @@ export default {
})
},
//获取详情信息
/**
* @description: 获取详情信息
* @param {*} bsmBatch
* @author: renchao
*/
getDetailInfo (bsmBatch) {
getZsglInfo({ "bsmBatch": bsmBatch }).then(res => {
if (res.code == 200) {
......@@ -174,6 +187,10 @@ export default {
})
},
//初始化开始序列号
/**
* @description: 初始化开始序列号
* @author: renchao
*/
initStartNo () {
getZsStartNo().then(res => {
if (res.code == 200) {
......@@ -183,6 +200,11 @@ export default {
})
},
//印刷序列号处理
/**
* @description: 印刷序列号处理
* @param {*} item
* @author: renchao
*/
ysxlhDeal (item) {
if (item.bs) {
//存在本数
......@@ -203,6 +225,13 @@ export default {
}
},
//更新表单数据
/**
* @description: 更新表单数据
* @param {*} endno
* @param {*} bookNumber
* @param {*} item
* @author: renchao
*/
updateRuleForm (endno, bookNumber, item) {
if (item.zslx == 'zs') {
this.ruleForm.zsstarno = item.ksysxlh;
......@@ -214,6 +243,10 @@ export default {
this.ruleForm.zmnum = bookNumber;
}
},
/**
* @description: resetTableFields
* @author: renchao
*/
resetTableFields () {
this.tableForm = [
{
......@@ -232,6 +265,10 @@ export default {
}
]
},
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$popupCacel()
this.$refs['ruleForm'].resetFields();
......
......@@ -90,11 +90,20 @@ export default {
},
methods: {
// 查看弹框
/**
* @description: 查看弹框
* @param {*} bsmBatch
* @author: renchao
*/
openDialog (bsmBatch) {
this.$popupDialog("证书分发", "zsgl/zsff/components/addDialog", {
bsmBatch: bsmBatch
}, "50%")
},
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
getZsglffList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
......@@ -105,6 +114,11 @@ export default {
})
},
//确定证书分发
/**
* @description: 确定证书分发
* @param {*} item
* @author: renchao
*/
confrimVerify (item) {
this.$confirm('是否确定分发', '提示', {
confirmButtonText: '确定',
......@@ -127,6 +141,11 @@ export default {
});
},
//删除证书分发数据
/**
* @description: 删除证书分发数据
* @param {*} item
* @author: renchao
*/
delZsff (item) {
this.$confirm('确定要删除吗, 是否继续?', '提示', {
confirmButtonText: '确定',
......