This commit is contained in:
gtz217 2022-08-05 15:28:21 +08:00
parent 6e65dd1b8b
commit 9f68a54e2c
5 changed files with 33 additions and 21 deletions

View File

@ -2,7 +2,7 @@
* @Author: gtz
* @Date: 2022-07-28 10:22:30
* @LastEditors: gtz
* @LastEditTime: 2022-08-04 15:55:57
* @LastEditTime: 2022-08-05 15:26:49
* @Description: file content
* @FilePath: \hf-pda\src\pages\eqInspection\eqInspection-detail.vue
-->
@ -63,6 +63,7 @@
</van-col>
<van-col :span="15" :offset="1" />
<van-col :span="24" style="padding-left: .25rem">
<van-row>
<van-uploader
v-model="fileList"
:max-count="1"
@ -71,6 +72,10 @@
:after-read="upload"
@oversize="oversize"
/>
</van-row>
<van-row style="color: #666">
注意附件最大限制为<span style="color: #ee0a24">10M</span>仅支持<span style="color: #ee0a24">docdocxxlsxlsxpdf</span>以及图片文件的上传
</van-row>
</van-col>
<van-col :span="22" :offset="1">
<van-button type="info" round size="large" @click="handleSubmit">

View File

@ -2,7 +2,7 @@
* @Author: gtz
* @Date: 2022-07-28 10:22:30
* @LastEditors: gtz
* @LastEditTime: 2022-08-04 15:55:50
* @LastEditTime: 2022-08-05 15:26:44
* @Description: file content
* @FilePath: \hf-pda\src\pages\eqInspection\eqInspection-edit.vue
-->
@ -93,7 +93,7 @@
</van-swipe-cell>
</van-col>
</template>
<van-col :span="22" :offset="1" style="font-size: .4rem">暂无</van-col>
<van-col v-else :span="22" :offset="1" style="font-size: .4rem">暂无</van-col>
</van-row>
</div>
<div class="eq-main-edit-item">
@ -119,6 +119,7 @@
</van-col>
<van-col :span="15" :offset="1" />
<van-col :span="24" style="padding-left: .25rem">
<van-row>
<van-uploader
v-model="fileList"
:max-count="1"
@ -127,6 +128,10 @@
:after-read="upload"
@oversize="oversize"
/>
</van-row>
<van-row style="color: #666">
注意附件最大限制为<span style="color: #ee0a24">10M</span>仅支持<span style="color: #ee0a24">docdocxxlsxlsxpdf以及图片文件</span>的上传
</van-row>
</van-col>
<van-col :span="22" :offset="1">
<van-button type="info" round size="large" @click="handleSubmit">

View File

@ -177,6 +177,7 @@ export default {
//
handleSearch () {
this.dataList = []
this.queryList.current = 1
this.$nextTick(() => {
this.getDataList()
})

View File

@ -119,6 +119,7 @@ export default {
//
handleSearch () {
this.dataList = []
this.queryList.current = 1
this.$nextTick(() => {
this.getDataList()
})

View File

@ -2,7 +2,7 @@
* @Author: gtz
* @Date: 2022-07-25 14:18:00
* @LastEditors: gtz
* @LastEditTime: 2022-08-05 09:56:34
* @LastEditTime: 2022-08-05 15:28:06
* @Description: file content
* @FilePath: \hf-pda\src\util\request.js
*/
@ -19,7 +19,7 @@ let toast = null
// token加入header
service.interceptors.request.use((config) => {
// console.log(store.state)
if (config.responseType) {
if (config.responseType || config.file) {
config.timeout = 15000
toast = Toast.loading({
mask: true,