Commit 9c0d651c authored by 张伯涛's avatar 张伯涛

删除没用的代码

parent f6ef19ec
...@@ -2410,7 +2410,6 @@ ...@@ -2410,7 +2410,6 @@
<el-button :disabled="formType === 'examine'" size="small" type="text">上传</el-button> <el-button :disabled="formType === 'examine'" size="small" type="text">上传</el-button>
</el-upload> </el-upload>
</el-link> </el-link>
<!-- <el-link v-if="scope.row.FILENAME === '' " type="success" :underline="false" @click="downLoadFile(scope.row)">下载</el-link>-->
<el-link <el-link
v-if="$route.query.type !== 'checkDetails'" v-if="$route.query.type !== 'checkDetails'"
:disabled="formType === 'examine' || (scope.$index === 0 && form.FJXX[0].FILENAME === '') " :disabled="formType === 'examine' || (scope.$index === 0 && form.FJXX[0].FILENAME === '') "
...@@ -3646,15 +3645,6 @@ export default { ...@@ -3646,15 +3645,6 @@ export default {
alert(333) alert(333)
} }
}, },
downLoadFile(row) {
// 下载按钮
this.$axios.get(this.HTTPApi + '/contractjxx/contract-fjxx/downLoad/' + row.BUSINESSID).then(res => {
if (!res.errno) {
}
})
.catch(function(error) {
})
},
closeDoc() { closeDoc() {
this.dialogFormVisible = false this.dialogFormVisible = false
this.uploadPaperModel.fileType = '' this.uploadPaperModel.fileType = ''
...@@ -3736,9 +3726,6 @@ export default { ...@@ -3736,9 +3726,6 @@ export default {
} }
this.form.FJXX.push(list) this.form.FJXX.push(list)
this.dialogFormVisible = false this.dialogFormVisible = false
// this.form.FJXX.push(
// { FILEID: resp.data.FILEID, FILENAME: resp.data.FILENAME, BUSITYPE: resp.data.BUSITYPE, BUSINESSID: resp.data.BUSINESSID, FILESAVENAME: resp.data.FILESAVENAME, FROMID: resp.data.FROMID }
// )
}, },
addHTDFXX() { addHTDFXX() {
const list = { const list = {
......
...@@ -2060,7 +2060,6 @@ ...@@ -2060,7 +2060,6 @@
<el-button :disabled="formType === 'examine'" size="small" type="text">上传</el-button> <el-button :disabled="formType === 'examine'" size="small" type="text">上传</el-button>
</el-upload> </el-upload>
</el-link> </el-link>
<!-- <el-link v-if="scope.row.FILENAME === '' " type="success" :underline="false" @click="downLoadFile(scope.row)">下载</el-link>-->
<el-link <el-link
v-if="$route.query.type !== 'checkDetails'" v-if="$route.query.type !== 'checkDetails'"
:disabled="formType === 'examine' || (scope.$index === 0 && form.FJXX[0].FILENAME === '') " :disabled="formType === 'examine' || (scope.$index === 0 && form.FJXX[0].FILENAME === '') "
...@@ -3530,15 +3529,6 @@ export default { ...@@ -3530,15 +3529,6 @@ export default {
alert(333) alert(333)
} }
}, },
downLoadFile(row) {
// 下载按钮
this.$axios.get(this.HTTPApi + '/contractjxx/contract-fjxx/downLoad/' + row.BUSINESSID).then(res => {
if (!res.errno) {
}
})
.catch(function(error) {
})
},
closeDoc() { closeDoc() {
this.dialogFormVisible = false this.dialogFormVisible = false
this.uploadPaperModel.fileType = '' this.uploadPaperModel.fileType = ''
......
...@@ -1703,7 +1703,6 @@ ...@@ -1703,7 +1703,6 @@
<el-button :disabled="formType === 'examine'" size="small" type="text">上传</el-button> <el-button :disabled="formType === 'examine'" size="small" type="text">上传</el-button>
</el-upload> </el-upload>
</el-link> </el-link>
<!-- <el-link v-if="scope.row.FILENAME === '' " type="success" :underline="false" @click="downLoadFile(scope.row)">下载</el-link>-->
<el-link <el-link
v-if="$route.query.type !== 'checkDetails'" v-if="$route.query.type !== 'checkDetails'"
:disabled="formType === 'examine' || (scope.$index === 0 && form.FJXX[0].FILENAME === '') " :disabled="formType === 'examine' || (scope.$index === 0 && form.FJXX[0].FILENAME === '') "
...@@ -2961,15 +2960,6 @@ export default { ...@@ -2961,15 +2960,6 @@ export default {
alert(333) alert(333)
} }
}, },
downLoadFile(row) {
// 下载按钮
this.$axios.get(this.HTTPApi + '/contractjxx/contract-fjxx/downLoad/' + row.BUSINESSID).then(res => {
if (!res.errno) {
}
})
.catch(function(error) {
})
},
closeDoc() { closeDoc() {
this.dialogFormVisible = false this.dialogFormVisible = false
this.uploadPaperModel.fileType = '' this.uploadPaperModel.fileType = ''
......
...@@ -1925,7 +1925,6 @@ ...@@ -1925,7 +1925,6 @@
<el-button :disabled="formType === 'examine'" size="small" type="text">上传</el-button> <el-button :disabled="formType === 'examine'" size="small" type="text">上传</el-button>
</el-upload> </el-upload>
</el-link> </el-link>
<!-- <el-link v-if="scope.row.FILENAME === '' " type="success" :underline="false" @click="downLoadFile(scope.row)">下载</el-link>-->
<el-link <el-link
v-if="$route.query.type !== 'checkDetails'" v-if="$route.query.type !== 'checkDetails'"
:disabled="formType === 'examine' || (scope.$index === 0 && form.FJXX[0].FILENAME === '') " :disabled="formType === 'examine' || (scope.$index === 0 && form.FJXX[0].FILENAME === '') "
...@@ -3315,15 +3314,6 @@ export default { ...@@ -3315,15 +3314,6 @@ export default {
alert(333) alert(333)
} }
}, },
downLoadFile(row) {
// 下载按钮
this.$axios.get(this.HTTPApi + '/contractjxx/contract-fjxx/downLoad/' + row.BUSINESSID).then(res => {
if (!res.errno) {
}
})
.catch(function(error) {
})
},
closeDoc() { closeDoc() {
this.dialogFormVisible = false this.dialogFormVisible = false
this.uploadPaperModel.fileType = '' this.uploadPaperModel.fileType = ''
......
...@@ -1775,7 +1775,6 @@ ...@@ -1775,7 +1775,6 @@
<el-button :disabled="formType === 'examine'" size="small" type="text">上传</el-button> <el-button :disabled="formType === 'examine'" size="small" type="text">上传</el-button>
</el-upload> </el-upload>
</el-link> </el-link>
<!-- <el-link v-if="scope.row.FILENAME === '' " type="success" :underline="false" @click="downLoadFile(scope.row)">下载</el-link>-->
<el-link <el-link
v-if="$route.query.type !== 'checkDetails'" v-if="$route.query.type !== 'checkDetails'"
:disabled="formType === 'examine' || (scope.$index === 0 && form.FJXX[0].FILENAME === '') " :disabled="formType === 'examine' || (scope.$index === 0 && form.FJXX[0].FILENAME === '') "
...@@ -3039,15 +3038,6 @@ export default { ...@@ -3039,15 +3038,6 @@ export default {
alert(333) alert(333)
} }
}, },
downLoadFile(row) {
// 下载按钮
this.$axios.get(this.HTTPApi + '/contractjxx/contract-fjxx/downLoad/' + row.BUSINESSID).then(res => {
if (!res.errno) {
}
})
.catch(function(error) {
})
},
closeDoc() { closeDoc() {
this.dialogFormVisible = false this.dialogFormVisible = false
this.uploadPaperModel.fileType = '' this.uploadPaperModel.fileType = ''
......
...@@ -3344,15 +3344,6 @@ export default { ...@@ -3344,15 +3344,6 @@ export default {
alert(333) alert(333)
} }
}, },
downLoadFile(row) {
// 下载按钮
this.$axios.get(this.HTTPApi + '/contractjxx/contract-fjxx/downLoad/' + row.BUSINESSID).then(res => {
if (!res.errno) {
}
})
.catch(function(error) {
})
},
closeDoc() { closeDoc() {
this.dialogFormVisible = false this.dialogFormVisible = false
this.uploadPaperModel.fileType = '' this.uploadPaperModel.fileType = ''
......
...@@ -132,7 +132,6 @@ export default { ...@@ -132,7 +132,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)*/
} }
}) })
// eslint-disable-next-line handle-callback-err // eslint-disable-next-line handle-callback-err
......
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