941f30f7 by yuanbo

增加注释

1 parent 2293cbe5
......@@ -49,6 +49,10 @@ export default {
this.dealCheckedItem();
},
methods: {
/**
* @description: submitForm
* @author: renchao
*/
submitForm () {
var checkedNodes = this.$refs.tree.getCheckedNodes();
if (checkedNodes.length > 6) {
......@@ -65,6 +69,10 @@ export default {
}
})
},
/**
* @description: queryClick
* @author: renchao
*/
queryClick () {
let that = this
getMenuInfo().then(res => {
......@@ -79,13 +87,28 @@ export default {
}
this.defaultCheckeds = lookForAllId()
},
/**
* @description: dealCheckedItem
* @author: renchao
*/
dealCheckedItem () {
},
//关闭窗口
/**
* @description: 关闭窗口
* @author: renchao
*/
closeDialog () {
this.$emit("input", false);
},
//节点选择状态发生改变时
/**
* @description: 节点选择状态发生改变时
* @param {*} data
* @param {*} checked
* @param {*} node
* @author: renchao
*/
handleClick (data, checked, node) {
var checkedNodes = this.$refs.tree.getCheckedNodes();
if (checkedNodes.length > 6) {
......
......@@ -75,6 +75,10 @@
},
methods: {
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick () {
this.$startLoading();
getSqcxPage({ ...this.queryForm, ...this.pageData }).then((res) => {
......
......@@ -195,6 +195,10 @@
}
},
methods: {
/**
* @description: handleSubmit
* @author: renchao
*/
handleSubmit () {
this.loading = true
updateClml(this.tableData).then(res => {
......
......@@ -330,6 +330,10 @@
};
},
methods: {
/**
* @description: updateFdcwxmList
* @author: renchao
*/
updateFdcwxmList (val) {
this.ruleForm.fdcqxm && (this.ruleForm.fdcqxm = _.cloneDeep(val));
this.key++;
......