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

删除所有console.log

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