84598d9f by yuanbo

增加注释

1 parent 1b70fbce
......@@ -142,6 +142,10 @@ export default {
},
methods: {
//表单提交
/**
* @description: 表单提交
* @author: renchao
*/
submitForm () {
this.tableForm.forEach((item, index) => {
if (item.bs < 0) {
......@@ -161,6 +165,10 @@ export default {
})
},
//序列号获取
/**
* @description: 序列号获取
* @author: renchao
*/
ywhSerial () {
getSysSerialSingle(this.ywhQueryForm).then(res => {
if (res.code == 200) {
......@@ -170,6 +178,11 @@ export default {
})
},
//获取详情信息
/**
* @description: 获取详情信息
* @param {*} bsmBatch
* @author: renchao
*/
getDetailInfo (bsmBatch) {
getZsglInfo({ "bsmBatch": bsmBatch }).then(res => {
if (res.code == 200) {
......@@ -185,6 +198,11 @@ export default {
})
},
//印刷序列号处理
/**
* @description: 印刷序列号处理
* @param {*} item
* @author: renchao
*/
ysxlhDeal (item) {
if (item.ksysxlh && item.jsysxlh) {
if (item.ksysxlh.length == item.jsysxlh.length) {
......@@ -222,6 +240,10 @@ export default {
}
}
},
/**
* @description: resetTableFields
* @author: renchao
*/
resetTableFields () {
this.tableForm = [
{
......@@ -240,6 +262,10 @@ export default {
}
]
},
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.$popupCacel()
this.$refs['ruleForm'].resetFields();
......
......@@ -87,11 +87,20 @@ export default {
},
methods: {
// 查看弹框
/**
* @description: 查看弹框
* @param {*} bsmBatch
* @author: renchao
*/
openDialog (bsmBatch) {
this.$popupDialog("证书入库", "zsgl/zsrk/components/addDialog", {
bsmBatch: bsmBatch
}, "50%")
},
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
......@@ -102,6 +111,11 @@ export default {
})
},
//删除证书入库数据
/**
* @description: 删除证书入库数据
* @param {*} item
* @author: renchao
*/
delZsrk (item) {
this.$confirm('确定要删除吗, 是否继续?', '提示', {
confirmButtonText: '确定',
......@@ -125,6 +139,11 @@ export default {
});
},
//审核证书入库数据
/**
* @description: 审核证书入库数据
* @param {*} item
* @author: renchao
*/
confrimVerify (item) {
this.$confirm('审核是否通过', '提示', {
confirmButtonText: '确定',
......
......@@ -76,6 +76,10 @@ export default {
};
},
methods: {
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
getZssyqkList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
......@@ -86,6 +90,11 @@ export default {
})
},
// 查看证书使用情况
/**
* @description: 查看证书使用情况
* @param {*} item
* @author: renchao
*/
openDialog (item) {
this.$popupDialog("证书使用情况", "zsgl/components/viewDialog", {
bsmZswj: item.bsmZswj
......