1
This commit is contained in:
parent
121145117b
commit
726f28caa3
@ -2,7 +2,7 @@
|
|||||||
* @Author: gtz
|
* @Author: gtz
|
||||||
* @Date: 2022-07-28 10:22:30
|
* @Date: 2022-07-28 10:22:30
|
||||||
* @LastEditors: gtz
|
* @LastEditors: gtz
|
||||||
* @LastEditTime: 2022-08-04 15:34:56
|
* @LastEditTime: 2022-08-04 15:55:57
|
||||||
* @Description: file content
|
* @Description: file content
|
||||||
* @FilePath: \hf-pda\src\pages\eqInspection\eqInspection-detail.vue
|
* @FilePath: \hf-pda\src\pages\eqInspection\eqInspection-detail.vue
|
||||||
-->
|
-->
|
||||||
@ -144,6 +144,7 @@ export default {
|
|||||||
const result = await uploadFile(data)
|
const result = await uploadFile(data)
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
this.dataForm.annexUrl = result.data[0].id
|
this.dataForm.annexUrl = result.data[0].id
|
||||||
|
this.$toast.success('上传成功')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 文件超出大小
|
// 文件超出大小
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* @Author: gtz
|
* @Author: gtz
|
||||||
* @Date: 2022-07-28 10:22:30
|
* @Date: 2022-07-28 10:22:30
|
||||||
* @LastEditors: gtz
|
* @LastEditors: gtz
|
||||||
* @LastEditTime: 2022-08-04 15:34:51
|
* @LastEditTime: 2022-08-04 15:55:50
|
||||||
* @Description: file content
|
* @Description: file content
|
||||||
* @FilePath: \hf-pda\src\pages\eqInspection\eqInspection-edit.vue
|
* @FilePath: \hf-pda\src\pages\eqInspection\eqInspection-edit.vue
|
||||||
-->
|
-->
|
||||||
@ -256,6 +256,7 @@ export default {
|
|||||||
const result = await uploadFile(data)
|
const result = await uploadFile(data)
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
this.dataForm.annexUrl = result.data[0].id
|
this.dataForm.annexUrl = result.data[0].id
|
||||||
|
this.$toast.success('上传成功')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 文件超出大小
|
// 文件超出大小
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* @Author: gtz
|
* @Author: gtz
|
||||||
* @Date: 2022-07-25 14:18:00
|
* @Date: 2022-07-25 14:18:00
|
||||||
* @LastEditors: gtz
|
* @LastEditors: gtz
|
||||||
* @LastEditTime: 2022-08-04 15:53:41
|
* @LastEditTime: 2022-08-04 15:55:01
|
||||||
* @Description: file content
|
* @Description: file content
|
||||||
* @FilePath: \hf-pda\src\util\request.js
|
* @FilePath: \hf-pda\src\util\request.js
|
||||||
*/
|
*/
|
||||||
@ -21,7 +21,8 @@ service.interceptors.request.use((config) => {
|
|||||||
// console.log(store.state)
|
// console.log(store.state)
|
||||||
toast = Toast.loading({
|
toast = Toast.loading({
|
||||||
mask: true,
|
mask: true,
|
||||||
message: '加载中...'
|
message: '加载中...',
|
||||||
|
duration: 5000
|
||||||
})
|
})
|
||||||
// if (config.url !== '/wms/login/verify' && JSON.parse(sessionStorage.getItem('userInfo')).token) {
|
// if (config.url !== '/wms/login/verify' && JSON.parse(sessionStorage.getItem('userInfo')).token) {
|
||||||
// config.headers['token'] = JSON.parse(sessionStorage.getItem('userInfo')).token
|
// config.headers['token'] = JSON.parse(sessionStorage.getItem('userInfo')).token
|
||||||
|
Loading…
Reference in New Issue
Block a user