177d7e0a by yuanbo

增加注释

1 parent b893d057
......@@ -45,6 +45,11 @@
})
},
methods: {
/**
* @description: handleSelectBdcdyh
* @param {*} val
* @author: renchao
*/
handleSelectBdcdyh (val) {
this.$emit('getBdcdyh', val);
}
......
......@@ -222,6 +222,10 @@ export default {
},
mounted() {},
methods: {
/**
* @description: handleSearch
* @author: renchao
*/
handleSearch() {
xydm(this.queryForm).then((res) => {
if (res.status == "OK") {
......
......@@ -116,6 +116,11 @@
this.$store.dispatch("user/refreshPage", false);
},
//删除
/**
* @description: 删除
* @param {*} item
* @author: renchao
*/
delNotice (item) {
this.$confirm('是否确定删除', '提示', {
confirmButtonText: '确定',
......@@ -138,6 +143,11 @@
});
},
//发布
/**
* @description: 发布
* @param {*} item
* @author: renchao
*/
toPublish (item) {
this.$confirm('是否确定发布', '提示', {
confirmButtonText: '确定',
......@@ -160,10 +170,19 @@
});
});
},
/**
* @description: postMessage
* @author: renchao
*/
postMessage () {
window.parent.postMessage({ update: true }, '*')
},
//取消发布
/**
* @description: 取消发布
* @param {*} item
* @author: renchao
*/
toUnPublish (item) {
this.$confirm('是否确定取消发布', '提示', {
confirmButtonText: '确定',
......@@ -187,9 +206,19 @@
});
},
//编辑通知
/**
* @description: 编辑通知
* @param {*} item
* @author: renchao
*/
editNotice (item) {
this.$popupDialog("系统通知详情", "system/xttz/components/addDialog", { ...item, "isButtonFlag": true, "edit": true }, "50%")
},
/**
* @description: downloadFile
* @param {*} item
* @author: renchao
*/
downloadFile (item) {
const href = item.noticeFileUrl
window.open(href, '_blank');
......
......@@ -433,6 +433,11 @@
},
methods: {
// 证件种类选择
/**
* @description: 证件种类选择
* @param {*} val
* @author: renchao
*/
handleZjzl (val) {
if (['6', '7', '8'].includes(val)) {
this.isBz = true
......@@ -441,6 +446,10 @@
}
},
// 信息备案
/**
* @description: 信息备案
* @author: renchao
*/
handleFilings () {
this.ruleForm.qymc = this.ruleForm.sqrmc
this.ruleForm.dwdz = this.ruleForm.txdz
......@@ -474,6 +483,8 @@
},
/**
* @description:企业查询
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus (val, code) {
......@@ -488,6 +499,10 @@
return name
}
},
/**
* @description: handleSearchQY
* @author: renchao
*/
handleSearchQY () {
let data = { ...this.queryFormQY, ...this.pageData }
this.tableDataQy.data = []
......@@ -504,15 +519,29 @@
}
})
},
/**
* @description: handleQYCurrentChange
* @param {*} val
* @author: renchao
*/
handleQYCurrentChange (val) {
this.pageData.currentPage = val
this.handleSearchQY()
},
/**
* @description: handlesQYSelect
* @param {*} val
* @author: renchao
*/
handlesQYSelect (val) {
this.$emit("updateDetail", _.cloneDeep(val));
this.$emit("input", false);
},
// 银行
/**
* @description: 银行
* @author: renchao
*/
handleSearchYH () {
let data = { ...this.queryFormYH, ...this.pageData }
this.tableDataYh.data = []
......@@ -529,10 +558,20 @@
}
})
},
/**
* @description: handleYHCurrentChange
* @param {*} val
* @author: renchao
*/
handleYHCurrentChange (val) {
this.pageData.currentPage = val
this.handleSearchQY()
},
/**
* @description: handlesYHSelect
* @param {*} val
* @author: renchao
*/
handlesYHSelect (val) {
this.$emit("updateDetail", _.cloneDeep(val));
this.$emit("input", false);
......