This commit is contained in:
parent
e85ba62ec8
commit
f1e3c9825c
|
|
@ -798,8 +798,6 @@ export default {
|
|||
async onConfirm() {
|
||||
this.$refs.addAndEditFormRef.validate(async (valid) => {
|
||||
if (valid) {
|
||||
console.log(this.addAndEditForm)
|
||||
|
||||
// 组装参数
|
||||
const params = {
|
||||
...this.addAndEditForm,
|
||||
|
|
@ -1006,8 +1004,6 @@ export default {
|
|||
})
|
||||
}
|
||||
|
||||
// console.log(params)
|
||||
|
||||
const API = this.formType === 1 ? addGwTemplateAPI : editGwTemplateAPI
|
||||
if (this.formType === 3) {
|
||||
params.id = this.queryId
|
||||
|
|
@ -1282,8 +1278,6 @@ export default {
|
|||
|
||||
// 人员下拉选的change事件
|
||||
async onChangePerson(value) {
|
||||
console.log(value, 'value')
|
||||
console.log(this.companyKeyPersonList, 'this.companyKeyPersonList')
|
||||
if (
|
||||
this.companyKeyPersonList.length > 0 &&
|
||||
this.companyKeyPersonList.some((item) => item.userId == value)
|
||||
|
|
|
|||
|
|
@ -147,7 +147,6 @@ export default {
|
|||
},
|
||||
// 删除
|
||||
onHandleDelete(row) {
|
||||
console.log(row)
|
||||
this.$modal
|
||||
.confirm('确定删除该业绩吗?')
|
||||
.then(async () => {
|
||||
|
|
@ -157,9 +156,7 @@ export default {
|
|||
this.getGwTemplateList()
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
console.log('取消')
|
||||
})
|
||||
.catch(() => {})
|
||||
},
|
||||
// 新增或编辑
|
||||
onHandleAddOrEdit(row, type) {
|
||||
|
|
@ -178,9 +175,7 @@ export default {
|
|||
this.dialogConfig.outerVisible = true
|
||||
},
|
||||
// 下载
|
||||
onHandleDownload(row) {
|
||||
console.log(row)
|
||||
},
|
||||
onHandleDownload(row) {},
|
||||
|
||||
// 获取国网模板列表列表
|
||||
async getGwTemplateList() {
|
||||
|
|
@ -194,7 +189,6 @@ export default {
|
|||
const res = await getGwTemplateListAPI(this.queryParams)
|
||||
this.tableList = res.rows
|
||||
this.total = res.total
|
||||
console.log(res, 'res')
|
||||
},
|
||||
// 重置
|
||||
resetQueryParams() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue