Commit f6ef19ec authored by 张伯涛's avatar 张伯涛

删除所有console.log

parent b12e2d02
......@@ -191,7 +191,6 @@ export default {
this.findLog()
},
findLog() {
console.log('时间', this.searchParams.CREATEDATE)
this.$axios.get(this.HTTPApi + '/contractlog/contract-log/queryContractLogByPage',
{ params: {
rows: this.rows,
......@@ -206,7 +205,6 @@ export default {
this.total = res.data.data.total
this.rows = res.data.data.size
this.page = res.data.data.current
/* console.log(this.data)*/
}
})
.catch(function(error) {
......
......@@ -108,7 +108,6 @@ export default {
handleSelectionChange(val) {
this.companyName = val[0].ZBPNAME_ZH
this.companyCode = val[0].ZBP
console.log('选中', val)
},
select(selection, row) {
if (selection.length > 1) {
......
......@@ -168,7 +168,6 @@ export default {
this.peopleName = data.NAME
this.peopleCode = data.userid
}
console.log('点击当前', data)
},
/** 树的节点被展开时的回调*/
expandClick(data) {
......
......@@ -206,8 +206,6 @@ export default {
})
this.codeList.push(data.OID)
}
console.log('点击的对象', data)
console.log('codeList', this.codeList)
},
/** 关闭dialog*/
closeDialog() {
......@@ -218,13 +216,11 @@ export default {
this.codeList.length = 0
},
getDetail() {
console.log('详情', this.listName)
this.LYZTList = JSON.parse(JSON.stringify(this.listName))
for (let i = 0, l = this.LYZTList.length; i < l; i++) {
this.LYZTList[i].SJLYDWNAME = this.LYZTList[i].SJLYDWNAME.split('/')[this.LYZTList[i].SJLYDWNAME.split('/').length - 1]
this.LYZTNameList.push(this.LYZTList[i].SJLYDWID)
}
console.log('LYZTNameList', this.LYZTNameList)
},
/** dialog确定按钮*/
determine() {
......@@ -256,7 +252,6 @@ export default {
},
delSJLYZT(name, i) {
this.LYZTList.splice(i, 1)
console.log('this.LYZTNameList', this.LYZTNameList)
this.LYZTNameList = this.LYZTNameList.filter(item => {
if (item === name.SJLYDWID) {
return false
......@@ -264,8 +259,6 @@ export default {
return true
}
})
console.log('删除点击', name)
console.log('this.LYZTNameList', this.LYZTNameList)
}
}
}
......
This diff is collapsed.
This diff is collapsed.
......@@ -2349,7 +2349,6 @@ export default {
this.performanceDialogVisible = data
},
performanceHandlegetName(list) {
console.log(list)
this.SJLYList = JSON.parse(JSON.stringify(list))
this.form.SJLYDWID = this.SJLYList.map(item => item.SJLYDWID).join(',')
this.form.SJLYDWNAME = this.SJLYList.map(item => item.SJLYDWNAME).join(',')
......@@ -2557,7 +2556,6 @@ export default {
}
},
clickTable(type, row) {
console.log(row)
this.tableForm = row
this.companyType = type
this.companyDialogVisible = true
......@@ -2617,7 +2615,6 @@ export default {
},
/** 实际付款人点击事件*/
clickTruePayName(index) {
console.log('第几个', index)
this.truePaySianIndex = index
this.companyDialogVisible = true
this.$refs.companyQueryList.getList() // 实际付款人点击时调用子组件列表查询方法
......@@ -2635,7 +2632,6 @@ export default {
/** 收款人input框点击事件*/
clickCollectionName(index) {
console.log('第几个', index)
this.collectIndex = index
this.companyDialogVisible = true
this.$refs.companyQueryList.getList() // 收款人点击时调用子组件列表查询方法
......@@ -2643,7 +2639,6 @@ export default {
},
/** 实际收款人input框点击事件*/
clickTrueCollectionName(index) {
console.log('第几个', index)
this.trueCollectIndex = index
this.companyDialogVisible = true
this.$refs.companyQueryList.getList() // 收款人点击时调用子组件列表查询方法
......@@ -2651,7 +2646,6 @@ export default {
},
/** 收款信息账号所在国家点击事件*/
clickCollectionAddress(index) {
console.log('第几个', index)
this.collAddressIndex = index
this.collAdressDialogVisible = true
this.$refs.collAdressQueryList.getList() // 收款人点击时调用子组件列表查询方法
......@@ -2673,7 +2667,6 @@ export default {
},
/** 实际收款信息账号所在国家点击事件*/
clickTrueCollectionAddress(index) {
console.log('第几个', index)
this.trueCollAddressIndex = index
this.collAdressDialogVisible = true
this.$refs.collAdressQueryList.getList() // 收款人点击时调用子组件列表查询方法
......@@ -2728,7 +2721,6 @@ export default {
})
this.form.FJXX[a].BUSINESSID = uuid.replace(/-/g, '')
}
console.log('SJLYList', this.SJLYList)
if (this.form.TZXX.SAFEKIND) {
const list = []
this.form.TZXX.SAFEKIND.split(',').forEach(item => {
......@@ -2803,7 +2795,6 @@ export default {
this.fileList = []
},
onBeforeUpload(file) {
console.log('文件', file)
if (file.size === 0) {
this.$message.warning('当前文件为空文件,请检查后重新上传!')
return false
......@@ -2813,14 +2804,12 @@ export default {
return false
}
const fileType = file.name.split('.')[file.name.split('.').length - 1]
console.log('fileType', fileType)
if (!this.accept.includes(fileType)) {
this.$message.warning('上传文件只能是 PDF、DOC、EXL或图片格式!')
return false
}
},
uploadF(file) {
console.log(file.file.name.split('.')[0], 'file')
this.disabledBtn = true
const formData = new FormData()
formData.append('file', file.file)
......@@ -2840,7 +2829,6 @@ export default {
this.form.FJXX.push(list)
this.dialogFormVisible = false
this.disabledBtn = false
console.log('参数参数', this.form.FJXX)
}
})
.catch((err) => {
......@@ -2848,11 +2836,9 @@ export default {
})
},
uploadF2(file) {
console.log(file, 'file')
this.disabledBtn2 = true
const formData = new FormData()
formData.append('file', file.file)
console.log('参数参数', formData)
this.$axios({
method: 'post',
url: this.HTTPApi + '/contractjxx/contract-fjxx/upload',
......@@ -2868,7 +2854,6 @@ export default {
.catch((err) => {
return err
})
console.log('参数参数', this.form.FJXX)
},
delFile(i, row) {
this.$axios.delete(this.HTTPApi + '/contractjxx/contract-fjxx/realDeleteByBusinessId/' + row.BUSINESSID).then(res => {
......@@ -2876,7 +2861,6 @@ export default {
if (!res.errno) {}
})
.catch(function(error) {
console.log(error)
})
if (i === 0) {
this.form.FJXX[0].FILENAME = ''
......@@ -2888,7 +2872,6 @@ export default {
},
filePreview(row) {
const fileType = row.FILENAME.split('.')[row.FILENAME.split('.').length - 1]
console.log('数据', row, fileType)
if (fileType === 'pdf') {
this.filePreviewDialog = true
this.$axios.get(this.HTTPApi + '/contractjxx/contract-fjxx/preview/' + row.BUSINESSID).then(res => {
......@@ -2897,7 +2880,6 @@ export default {
}
})
.catch(function(error) {
console.log(error)
})
} else {
this.$message.warning('只有附件类型为PDF的附件可以预览!')
......@@ -2916,7 +2898,6 @@ export default {
this.detailsLoading = true
const FROMID = this.$route.query.formId
this.$axios.get(this.HTTPApi + '/contract/contract/detail/' + FROMID).then(res => {
console.log(res.data.data)
this.form = res.data.data
// if (this.form.INCOMEEXPENDTYPE === '03') {
// this.supplement = false
......@@ -2935,7 +2916,6 @@ export default {
const list = { SJLYDWNAME, SJLYDWID }
this.SJLYList.push(list)
}
console.log(this.SJLYList)
if (this.form.TZXX.SAFEKIND) {
const list = []
this.form.TZXX.SAFEKIND.split(',').forEach(item => {
......@@ -2963,7 +2943,6 @@ export default {
if (this.form.TZXX.INVOICETYPE) {
this.form.TZXX.INVOICETYPE = this.form.TZXX.INVOICETYPE.split(',')
}
console.log('两个字段', this.form.TZXX.PAYMENTCURRENCY, this.form.TZXX.INVOICETYPE)
this.form.BUSINESSTYPEName = this.$route.query.businessTypeName
if (this.form.PROJNAME === '') {
this.PROJNAMEDisabled = true
......@@ -2985,20 +2964,15 @@ export default {
AUTHORIZEDNAMEChild: this.form.HTDFXX[i].finalList[0],
accessIdentify: this.form.HTDFXX[i].finalList[1].substring(0, this.form.HTDFXX[i].finalList[1].length - 1)
}
console.log('参数参数', row)
// console.log('参数参数', this.form.HTDFXX[i].incomeArray)
console.log('参数参数1', this.form.HTDFXX[i])
this.form.HTDFXX[i].incomeArray.push(row)
}
}
}
// 转让前、转让后合同
console.log(this.form.GDXX)
if (this.form.GDXX.length > 0) {
this.form.GDXXBefore = []
this.form.GDXXAfter = []
this.form.GDXX.forEach(item => {
console.log(item.TRANSFERTYPE)
if (item.TRANSFERTYPE === '1') {
this.form.GDXXBefore.push(item)
} else if (item.TRANSFERTYPE === '2') {
......@@ -3055,7 +3029,6 @@ export default {
this.getDetails()
})
.catch(function(error) {
console.log(error)
})
},
checkTotalSum() {
......@@ -3150,7 +3123,6 @@ export default {
this.form.TZXX.SAFEKIND = ''
}
this.form.TZXX.INVOICETYPE = this.form.TZXX.INVOICETYPE.length ? this.form.TZXX.INVOICETYPE.join(',') : ''
console.log(this.SJLYList)
if (this.SJLYList !== undefined) {
if (this.SJLYList.length > 0) {
this.form.SJLYDWID = this.SJLYList.map(item => item.SJLYDWID).join(',')
......@@ -3174,7 +3146,6 @@ export default {
this.form.TZXX.ISGQXXBG = ''
delete this.form.GDXX
}
console.log('is here?', this.form)
if (this.form.FJXX.length <= 0) {
this.showError = false
this.$refs['form'].validate((valide, object) => {
......@@ -3435,7 +3406,6 @@ export default {
// }
// }
} else {
console.log('form.INVOICETYPE', this.form.TZXX.INVOICETYPE)
// 提交前判前面走完遍历(数组转为字符串了)在这因为有必填项没填他卡住(为了不影响下次提交时的遍历,再把字符串转为数组)
if (this.form.TZXX.PAYMENTCURRENCY) {
this.form.TZXX.PAYMENTCURRENCY = this.form.TZXX.PAYMENTCURRENCY.split(',')
......@@ -3479,7 +3449,6 @@ export default {
}
},
XZSelect(val) {
console.log(val)
if (val.length > 0) {
if (this.form.BXXX.length > val.length) {
this.form.BXXX = []
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -67,7 +67,6 @@ export default {
this.addressLabel = data.ZCOUNTRYNAME
this.addressCode = data.ZCOUNTRYCODE
}
console.log('境外', this.addressCode)
},
/** 关闭dialog*/
closeDialog() {
......
......@@ -150,7 +150,6 @@ export default {
this.deptTitle = '选择项目机构'
break
}
console.log(val)
}
},
mounted() {
......@@ -171,10 +170,6 @@ export default {
// })
// }
// this.expandedList[0] = item.OID
// console.log('数组', item.ORULE)
// console.log('数组', list)
// console.log('最终数组', finList)
// console.log('树', this.DateTree[0].child.find(item => item.OID === finList[0]))
this.companyName = item.SHORTNAME
this.companyCode = item.OID
this.searchForm.SHORTNAME = ''
......@@ -219,7 +214,6 @@ export default {
handleAbroadClick(data) {
this.companyName = data.SHORTNAME
this.companyCode = data.OID
console.log('点击时', data)
},
/** 树的节点被展开时的回调*/
expandClick(data) {
......@@ -237,7 +231,6 @@ export default {
})
this.codeList.push(data.OID)
}
console.log('展开时', data)
},
/** 关闭dialog*/
closeDialog() {
......
......@@ -134,7 +134,6 @@ export default {
})
this.deptName = data.NAME
this.deptCode = data.EMPCODE
console.log('境外', data)
},
/** 关闭dialog*/
closeDialog() {
......
......@@ -861,7 +861,6 @@ export default {
this.DM_FILETYPE = res.data.data.DM_FILETYPE
})
.catch(function(error) {
console.log(error)
})
},
handleClick(tab, event) {
......@@ -922,7 +921,6 @@ obj=this.typeform*/
this.fileList = []
},
uploadF(file) {
console.log(file.file.name.split('.')[0], 'file')
this.disabledBtn = true
const formData = new FormData()
formData.append('file', file.file)
......@@ -944,7 +942,6 @@ obj=this.typeform*/
this.FJXXForm.push(list)
this.FJXXdialogFormVisible = false
this.disabledBtn = false
console.log('参数参数', this.form.FJXX)
}
})
.catch((err) => {
......@@ -952,7 +949,6 @@ obj=this.typeform*/
})
},
onBeforeUpload(file) {
console.log('文件', file)
if (file.size === 0) {
this.$message.warning('当前文件为空文件,请检查后重新上传!')
return false
......@@ -962,19 +958,16 @@ obj=this.typeform*/
return false
}
const fileType = file.name.split('.')[file.name.split('.').length - 1]
console.log('fileType', fileType)
if (!this.accept.includes(fileType)) {
this.$message.warning('上传文件只能是 PDF、DOC、EXL或图片格式!')
return false
}
},
uploadF2(file) {
console.log(file, 'file')
this.disabledBtn2 = true
const formData = new FormData()
formData.append('file', file.file)
formData.append('busType', this.FJXXForm[0].BUSITYPE)
console.log('参数参数', formData)
this.$axios({
method: 'post',
url: this.HTTPApi + '/contractjxx/contract-fjxx/upload/' + this.FJXXfromId,
......@@ -990,7 +983,6 @@ obj=this.typeform*/
.catch((err) => {
return err
})
console.log('参数参数', this.form.FJXX)
},
delFile(i, row) {
this.$axios.delete(this.HTTPApi + '/contractjxx/contract-fjxx/realDeleteByBusinessId/' + row.BUSINESSID).then(res => {
......@@ -998,7 +990,6 @@ obj=this.typeform*/
if (!res.errno) {}
})
.catch(function(error) {
console.log(error)
})
if (i === 0) {
this.FJXXForm[0].FILENAME = ''
......@@ -1010,17 +1001,14 @@ obj=this.typeform*/
},
filePreview(row) {
const fileType = row.FILENAME.split('.')[row.FILENAME.split('.').length - 1]
console.log('数据', row, fileType)
if (fileType === 'pdf') {
this.filePreviewDialog = true
this.$axios.get(this.HTTPApi + '/contractjxx/contract-fjxx/preview/' + row.BUSINESSID).then(res => {
if (!res.errno) {
this.fileUrl = res.data.data
}
console.log('数据aaaa', this.fileUrl)
})
.catch(function(error) {
console.log(error)
})
} else {
this.$message.warning('只有附件类型为PDF的附件可以预览!')
......@@ -1029,7 +1017,6 @@ obj=this.typeform*/
update(row) {
const number = this.updateOptions.find(item => item.label.split(' ')[0] === row.BUSINESSTYPE).type
const businessTypeName = this.updateOptions.find(item => item.label.split(' ')[0] === row.BUSINESSTYPE).value
console.log('aaaaaaa', number)
const firstList = ['1', '2', '3', '4']
const secondList = ['5', '6', '7', '8']
const thirdList = ['9', '10', '11', '12']
......@@ -1113,7 +1100,6 @@ obj=this.typeform*/
checkDetail(row) {
const number = this.updateOptions.find(item => item.label.split(' ')[0] === row.BUSINESSTYPE).type
const businessTypeName = this.updateOptions.find(item => item.label.split(' ')[0] === row.BUSINESSTYPE).value
console.log('aaaaaaa', number)
const firstList = ['1', '2', '3', '4']
const secondList = ['5', '6', '7', '8']
const thirdList = ['9', '10', '11', '12']
......@@ -1198,7 +1184,6 @@ obj=this.typeform*/
examine(row) {
const number = this.updateOptions.find(item => item.label.split(' ')[0] === row.BUSINESSTYPE).type
const businessTypeName = this.updateOptions.find(item => item.label.split(' ')[0] === row.BUSINESSTYPE).value
console.log('aaaaaaa', number)
this.$router.push({
path: '/contract/manage1/add',
query: {
......@@ -1304,10 +1289,8 @@ obj=this.typeform*/
message: '修改成功!'
})
this.findContract()
/* console.log(this.data)*/
})
.catch(function(error) {
console.log(error)
})
}).catch(() => {
this.$message({
......@@ -1469,7 +1452,6 @@ obj=this.typeform*/
},
/** 个人数据列表查询*/
findContract() {
console.log('登录人ID', localStorage.getItem('UserID'))
// const userID = localStorage.getItem('UserID')
const userID = JSON.parse(Store.get(storeKey.user)).userId
this.$axios.get(this.HTTPApi + '/contract/contract/queryContractByPage',
......@@ -1498,13 +1480,11 @@ obj=this.typeform*/
}
})
.catch(function(error) {
console.log(error)
})
},
/** 部门数据列表查询*/
deptFindContract() {
const deptId = JSON.parse(Store.get(storeKey.user)).deptId
console.log('参数deptId', deptId)
this.$axios.get(this.HTTPApi + '/contract/contract/queryContractByPage',
{
params: {
......@@ -1528,11 +1508,9 @@ obj=this.typeform*/
this.deptTotal = res.data.data.total
this.deptRows = res.data.data.size
this.deptPage = res.data.data.current
/* console.log(this.data)*/
}
})
.catch(function(error) {
console.log(error)
})
},
/** 全部数据列表查询*/
......@@ -1559,11 +1537,9 @@ obj=this.typeform*/
this.allTotal = res.data.data.total
this.allRows = res.data.data.size
this.allPage = res.data.data.current
/* console.log(this.data)*/
}
})
.catch(function(error) {
console.log(error)
})
},
del: function(row) {
......@@ -1585,11 +1561,9 @@ obj=this.typeform*/
} else if (this.activeName === 'third') {
this.allFindContract() // 全部列表
}
/* console.log(this.data)*/
}
})
.catch(function(error) {
console.log(error)
})
}).catch(() => {
this.$message({
......
......@@ -102,7 +102,6 @@ export default {
this.projectName = val[0].ZFUNDNAME
}
this.projectCode = val[0].ZPROJECT
console.log('选中', val)
},
select(selection, row) {
if (selection.length > 1) {
......
......@@ -104,11 +104,6 @@ export default {
}
this.abroad = false
}
console.log('境内', data)
console.log('点击二级获取一级Code', this.provinceCode)
console.log('点击二级获取一级label名字', this.addressLabelFather)
console.log('点击3级获取二级label名', this.secondLabel)
console.log('点击3级获取二级的child', this.childList)
},
/** 境外树的节点被点击时的回调*/
handleAbroadClick(data) {
......@@ -121,7 +116,6 @@ export default {
this.addressLabelFather = data.ZCONTINENTNAME
this.abroad = true
}
console.log('境外', data)
},
/** 关闭dialog*/
closeDialog() {
......@@ -143,7 +137,6 @@ export default {
this.countryCode = '142'
}
}
console.log('国家,省,市,县', this.addressName, this.countryCode, this.provinceCode, this.cityCode, this.countyCode)
this.$emit('getValue', this.addressName, this.countryCode, this.provinceCode, this.cityCode, this.countyCode)
this.$emit('funClose', false)
} else {
......
......@@ -106,7 +106,6 @@ export default {
handleSelectionChange(val) {
this.code = val[0].CONMAINCODE
this.formData = val[0]
console.log('选中', val)
},
select(selection, row) {
if (selection.length > 1) {
......@@ -126,7 +125,6 @@ export default {
},
/** 获取查询列表接口*/
getList() {
console.log('BUSINESSTYPE',this.businessType)
getContractList(Object.assign(
this.serchForm,
{
......
......@@ -121,8 +121,6 @@ export default {
this.peopleName = data.NAME
this.peopleCode = data.userid
}
console.log('点击当前', data)
},
/** 关闭dialog*/
closeDialog() {
......
......@@ -1670,7 +1670,6 @@ export default {
this.form.ZPROJTYPE = '99'
this.saveForm.ZPROJTYPE = '99'
}
console.log('类型类型', this.form.ZPROJTYPE)
})
const row = {
page: 1,
......@@ -1756,7 +1755,6 @@ export default {
ZAWARDMAINAME: formList.ZAWARDMAINAME,
ZBIZDEPT: formList.ZBIZDEPT
}
console.log('form表单', this.form)
this.form.CREATEBY = JSON.parse(Store.get(storeKey.user)).userId
const formJson = JSON.stringify(this.form)
if (this.$route.query.type === 'add') {
......@@ -1980,7 +1978,6 @@ export default {
} else if (countryCode && provinceCode && cityCode && countyCode) {
this.form.ZPROJLOC = countyCode // 县Code
}
console.log('项目所在地的弹框', this.form.ZPROJLOC)
// this.countryOpen = false
},
/** 弹框表格的取消按钮 */
......
......@@ -114,7 +114,6 @@ export default {
},
/** 境内树的节点被点击时的回调*/
handleTeritoryClick(data) {
console.log('chinaType', this.chinaType)
if (this.chinaType === false) {
if (data.ZADDVSNAME !== '境内' && data.ZADDVSLEVEL !== '1') {
this.addressLabel = data.ZADDVSNAME
......@@ -155,11 +154,6 @@ export default {
}
}
console.log('境内', data)
console.log('点击二级获取一级Code', this.provinceCode)
console.log('点击二级获取一级label名字', this.addressLabelFather)
console.log('点击3级获取二级label名', this.secondLabel)
console.log('点击3级获取二级的child', this.childList)
},
/** 境外树的节点被点击时的回调*/
handleAbroadClick(data) {
......@@ -172,7 +166,6 @@ export default {
this.addressLabelFather = data.ZCONTINENTNAME
this.abroad = true
}
console.log('境外', data)
},
/** 关闭dialog*/
closeDialog() {
......@@ -194,7 +187,6 @@ export default {
this.countryCode = '142'
}
}
console.log('国家,省,市,县', this.addressName, this.countryCode, this.provinceCode, this.cityCode, this.countyCode)
this.$emit('getValue', this.addressName, this.countryCode, this.provinceCode, this.cityCode, this.countyCode)
this.$emit('funClose', false)
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment