e63cb514 by yuanbo

增加注释

1 parent 63306c7d
......@@ -193,6 +193,12 @@
};
},
methods: {
/**
* @description: dicStatus
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus (val, code) {
let data = this.dicData[code],
name = ''
......@@ -205,8 +211,18 @@
return name
}
},
/**
* @description: handleTitleTab
* @param {*} val
* @author: renchao
*/
handleTitleTab (val) {
},
/**
* @description: isShow
* @param {*} item
* @author: renchao
*/
isShow (item) {
if (item.bizMsgid) {
this.$set(this.bwoptions, 0, {
......@@ -240,6 +256,11 @@
}
},
// 获取列表接口
/**
* @description: 获取列表接口
* @param {*} data
* @author: renchao
*/
_getList (data) {
getTabsDetail({ bsmReport: data.bsmReport || data.bsmSjsb }).then((res) => {
if (res.code == 200) {
......@@ -250,6 +271,11 @@
}
});
},
/**
* @description: changeList
* @param {*} val
* @author: renchao
*/
changeList (val) {
let _index = val.index;
if (_index > this.index) {
......@@ -263,10 +289,19 @@
// }
// });
},
/**
* @description: loadView
* @param {*} view
* @author: renchao
*/
loadView (view) {
return (r) =>
require.ensure([], () => r(require(`@/components/Business/${view}.vue`)));
},
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog () {
this.dialogVisible = false;
//关闭弹框时将tabs项置空
......