|
|
|
@ -152,7 +152,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
isupload:'02',
|
|
|
|
|
heads: { token: getToken() },
|
|
|
|
|
uploadAction: process.env.VUE_APP_BASE_API + '/dmZrcjh/upload',
|
|
|
|
|
uploadAction: process.env.VUE_APP_BASE_API + '/zrcAndPlb/upload',
|
|
|
|
|
list: [],
|
|
|
|
|
height: "500px",
|
|
|
|
|
tableColumn: [
|
|
|
|
@ -926,6 +926,12 @@ export default {
|
|
|
|
|
// 上传excel
|
|
|
|
|
beforeAvatarUpload(file) {
|
|
|
|
|
|
|
|
|
|
if (!this.request.dcCh){
|
|
|
|
|
this.$message.error('请选择船号')
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.uploadAction+= `?dcCh=${this.request.dcCh}`
|
|
|
|
|
// 文件类型
|
|
|
|
|
const isType = file.type === 'application/vnd.ms-excel'
|
|
|
|
|
const isTypeComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
|
|
|
|