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