1
This commit is contained in:
parent
6e65dd1b8b
commit
9f68a54e2c
@ -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:55:57
|
* @LastEditTime: 2022-08-05 15:26:49
|
||||||
* @Description: file content
|
* @Description: file content
|
||||||
* @FilePath: \hf-pda\src\pages\eqInspection\eqInspection-detail.vue
|
* @FilePath: \hf-pda\src\pages\eqInspection\eqInspection-detail.vue
|
||||||
-->
|
-->
|
||||||
@ -63,6 +63,7 @@
|
|||||||
</van-col>
|
</van-col>
|
||||||
<van-col :span="15" :offset="1" />
|
<van-col :span="15" :offset="1" />
|
||||||
<van-col :span="24" style="padding-left: .25rem">
|
<van-col :span="24" style="padding-left: .25rem">
|
||||||
|
<van-row>
|
||||||
<van-uploader
|
<van-uploader
|
||||||
v-model="fileList"
|
v-model="fileList"
|
||||||
:max-count="1"
|
:max-count="1"
|
||||||
@ -71,6 +72,10 @@
|
|||||||
:after-read="upload"
|
:after-read="upload"
|
||||||
@oversize="oversize"
|
@oversize="oversize"
|
||||||
/>
|
/>
|
||||||
|
</van-row>
|
||||||
|
<van-row style="color: #666">
|
||||||
|
注意:附件最大限制为<span style="color: #ee0a24">10M</span>,仅支持<span style="color: #ee0a24">doc、docx、xls、xlsx、pdf</span>以及图片文件的上传。
|
||||||
|
</van-row>
|
||||||
</van-col>
|
</van-col>
|
||||||
<van-col :span="22" :offset="1">
|
<van-col :span="22" :offset="1">
|
||||||
<van-button type="info" round size="large" @click="handleSubmit">
|
<van-button type="info" round size="large" @click="handleSubmit">
|
||||||
|
@ -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:55:50
|
* @LastEditTime: 2022-08-05 15:26:44
|
||||||
* @Description: file content
|
* @Description: file content
|
||||||
* @FilePath: \hf-pda\src\pages\eqInspection\eqInspection-edit.vue
|
* @FilePath: \hf-pda\src\pages\eqInspection\eqInspection-edit.vue
|
||||||
-->
|
-->
|
||||||
@ -93,7 +93,7 @@
|
|||||||
</van-swipe-cell>
|
</van-swipe-cell>
|
||||||
</van-col>
|
</van-col>
|
||||||
</template>
|
</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>
|
</van-row>
|
||||||
</div>
|
</div>
|
||||||
<div class="eq-main-edit-item">
|
<div class="eq-main-edit-item">
|
||||||
@ -119,6 +119,7 @@
|
|||||||
</van-col>
|
</van-col>
|
||||||
<van-col :span="15" :offset="1" />
|
<van-col :span="15" :offset="1" />
|
||||||
<van-col :span="24" style="padding-left: .25rem">
|
<van-col :span="24" style="padding-left: .25rem">
|
||||||
|
<van-row>
|
||||||
<van-uploader
|
<van-uploader
|
||||||
v-model="fileList"
|
v-model="fileList"
|
||||||
:max-count="1"
|
:max-count="1"
|
||||||
@ -127,6 +128,10 @@
|
|||||||
:after-read="upload"
|
:after-read="upload"
|
||||||
@oversize="oversize"
|
@oversize="oversize"
|
||||||
/>
|
/>
|
||||||
|
</van-row>
|
||||||
|
<van-row style="color: #666">
|
||||||
|
注意:附件最大限制为<span style="color: #ee0a24">10M</span>,仅支持<span style="color: #ee0a24">doc、docx、xls、xlsx、pdf以及图片文件</span>的上传。
|
||||||
|
</van-row>
|
||||||
</van-col>
|
</van-col>
|
||||||
<van-col :span="22" :offset="1">
|
<van-col :span="22" :offset="1">
|
||||||
<van-button type="info" round size="large" @click="handleSubmit">
|
<van-button type="info" round size="large" @click="handleSubmit">
|
||||||
|
@ -177,6 +177,7 @@ export default {
|
|||||||
// 点击查询
|
// 点击查询
|
||||||
handleSearch () {
|
handleSearch () {
|
||||||
this.dataList = []
|
this.dataList = []
|
||||||
|
this.queryList.current = 1
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.getDataList()
|
this.getDataList()
|
||||||
})
|
})
|
||||||
|
@ -119,6 +119,7 @@ export default {
|
|||||||
// 点击查询
|
// 点击查询
|
||||||
handleSearch () {
|
handleSearch () {
|
||||||
this.dataList = []
|
this.dataList = []
|
||||||
|
this.queryList.current = 1
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.getDataList()
|
this.getDataList()
|
||||||
})
|
})
|
||||||
|
@ -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-05 09:56:34
|
* @LastEditTime: 2022-08-05 15:28:06
|
||||||
* @Description: file content
|
* @Description: file content
|
||||||
* @FilePath: \hf-pda\src\util\request.js
|
* @FilePath: \hf-pda\src\util\request.js
|
||||||
*/
|
*/
|
||||||
@ -19,7 +19,7 @@ let toast = null
|
|||||||
// token加入header
|
// token加入header
|
||||||
service.interceptors.request.use((config) => {
|
service.interceptors.request.use((config) => {
|
||||||
// console.log(store.state)
|
// console.log(store.state)
|
||||||
if (config.responseType) {
|
if (config.responseType || config.file) {
|
||||||
config.timeout = 15000
|
config.timeout = 15000
|
||||||
toast = Toast.loading({
|
toast = Toast.loading({
|
||||||
mask: true,
|
mask: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user