禅道bug修改
This commit is contained in:
parent
358c4315b8
commit
2d350eaf78
|
|
@ -11,6 +11,7 @@
|
||||||
:file-list="fileListInner"
|
:file-list="fileListInner"
|
||||||
:on-remove="handleRemove"
|
:on-remove="handleRemove"
|
||||||
:on-change="handleChange"
|
:on-change="handleChange"
|
||||||
|
:on-preview="handlePreview"
|
||||||
:before-upload="handleBeforeUpload"
|
:before-upload="handleBeforeUpload"
|
||||||
>
|
>
|
||||||
<el-button type="text" icon="el-icon-upload" v-if="!isDetail">
|
<el-button type="text" icon="el-icon-upload" v-if="!isDetail">
|
||||||
|
|
@ -111,8 +112,10 @@ export default {
|
||||||
|
|
||||||
// 预览
|
// 预览
|
||||||
handlePreview(file) {
|
handlePreview(file) {
|
||||||
this.dialogInnerVisible = true
|
// this.dialogInnerVisible = true
|
||||||
this.previewUrl = file.url
|
// this.previewUrl = file.url
|
||||||
|
|
||||||
|
window.open(file.url, '_blank')
|
||||||
},
|
},
|
||||||
|
|
||||||
// 上传成功
|
// 上传成功
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ const service = axios.create({
|
||||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||||
baseURL: process.env.VUE_APP_BASE_API,
|
baseURL: process.env.VUE_APP_BASE_API,
|
||||||
// 超时
|
// 超时
|
||||||
timeout: 30000,
|
timeout: 60000,
|
||||||
})
|
})
|
||||||
|
|
||||||
// request 拦截器
|
// request 拦截器
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ const service = axios.create({
|
||||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||||
baseURL: process.env.VUE_APP_BASE_API,
|
baseURL: process.env.VUE_APP_BASE_API,
|
||||||
// 超时
|
// 超时
|
||||||
timeout: 10000,
|
timeout: 60000,
|
||||||
})
|
})
|
||||||
|
|
||||||
// request 拦截器
|
// request 拦截器
|
||||||
|
|
|
||||||
|
|
@ -327,6 +327,8 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
this.queryParams.isAtt = ''
|
this.queryParams.isAtt = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.queryParams.lightStatus = ''
|
||||||
this.queryParams.teamId = data.teamId
|
this.queryParams.teamId = data.teamId
|
||||||
this.dialogConfigFour.outerTitle = '人员信息'
|
this.dialogConfigFour.outerTitle = '人员信息'
|
||||||
this.dialogConfigFour.outerVisible = true
|
this.dialogConfigFour.outerVisible = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue