update
This commit is contained in:
parent
4d2049fca7
commit
ebb6886ebd
28
package-lock.json
generated
28
package-lock.json
generated
@ -2419,6 +2419,11 @@
|
||||
"integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=",
|
||||
"dev": true
|
||||
},
|
||||
"copy-text-to-clipboard": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmmirror.com/copy-text-to-clipboard/-/copy-text-to-clipboard-3.0.1.tgz",
|
||||
"integrity": "sha512-rvVsHrpFcL4F2P8ihsoLdFHmd404+CMg71S756oRSeQgqk51U3kicGdnvfkrxva0xXH92SjGS62B0XIJsbh+9Q=="
|
||||
},
|
||||
"copy-webpack-plugin": {
|
||||
"version": "4.6.0",
|
||||
"resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-4.6.0.tgz",
|
||||
@ -7245,6 +7250,11 @@
|
||||
"integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=",
|
||||
"dev": true
|
||||
},
|
||||
"mutation-observer": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmmirror.com/mutation-observer/-/mutation-observer-1.0.3.tgz",
|
||||
"integrity": "sha512-M/O/4rF2h776hV7qGMZUH3utZLO/jK7p8rnNgGkjKUw8zCGjRQPxB8z6+5l8+VjRUQ3dNYu4vjqXYLr+U8ZVNA=="
|
||||
},
|
||||
"mute-stream": {
|
||||
"version": "0.0.7",
|
||||
"resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz",
|
||||
@ -12459,6 +12469,24 @@
|
||||
"integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=",
|
||||
"dev": true
|
||||
},
|
||||
"vconsole": {
|
||||
"version": "3.14.6",
|
||||
"resolved": "https://registry.npmmirror.com/vconsole/-/vconsole-3.14.6.tgz",
|
||||
"integrity": "sha512-8Ffk2SfNe6EzKqZ0aNnNjpAVBVT7zgJo81lYEJdKySYLVYBeSawdSkWi9fSjDg3WsQhgS1vNPmRqJDTuwdVbnQ==",
|
||||
"requires": {
|
||||
"@babel/runtime": "^7.17.2",
|
||||
"copy-text-to-clipboard": "^3.0.1",
|
||||
"core-js": "^3.11.0",
|
||||
"mutation-observer": "^1.0.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"core-js": {
|
||||
"version": "3.24.1",
|
||||
"resolved": "https://registry.npmmirror.com/core-js/-/core-js-3.24.1.tgz",
|
||||
"integrity": "sha512-0QTBSYSUZ6Gq21utGzkfITDylE8jWC9Ne1D2MrhvlsZBI1x39OdDIVbzSqtgMndIy6BlHxBXpMGqzZmnztg2rg=="
|
||||
}
|
||||
}
|
||||
},
|
||||
"vendors": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.3.tgz",
|
||||
|
@ -19,6 +19,7 @@
|
||||
"qs": "^6.8.0",
|
||||
"sass-loader": "^7.3.1",
|
||||
"vant": "^2.12.48",
|
||||
"vconsole": "^3.14.6",
|
||||
"vue": "^2.5.2",
|
||||
"vue-router": "^3.0.1",
|
||||
"vuex": "^3.1.1"
|
||||
|
@ -2,7 +2,7 @@
|
||||
* @Author: gtz
|
||||
* @Date: 2022-07-25 14:18:00
|
||||
* @LastEditors: gtz
|
||||
* @LastEditTime: 2022-07-29 16:55:08
|
||||
* @LastEditTime: 2022-08-04 15:35:36
|
||||
* @Description: file content
|
||||
* @FilePath: \hf-pda\src\main.js
|
||||
*/
|
||||
@ -12,6 +12,7 @@ import Vue from 'vue'
|
||||
import App from './App'
|
||||
import router from './router'
|
||||
import fastClick from 'fastclick'
|
||||
// import Vconsole from 'vconsole'
|
||||
import './assets/js/rem'
|
||||
import './assets/css/reset.css'
|
||||
import './assets/css/all.scss'
|
||||
@ -23,6 +24,8 @@ import { Button, Field, Icon, Dialog, Grid, GridItem, NavBar, Popup, Row, Col, S
|
||||
|
||||
Vue.use(Button).use(Field).use(Icon).use(Dialog).use(Grid).use(GridItem).use(NavBar).use(Popup).use(Row).use(Col).use(Stepper).use(Picker).use(DatetimePicker).use(PullRefresh).use(Cell).use(CellGroup).use(Tag).use(Checkbox).use(CheckboxGroup).use(Tab).use(Tabs).use(Sticky).use(Calendar).use(Uploader).use(SwipeCell).use(Radio).use(RadioGroup)
|
||||
|
||||
// const vConsole = new Vconsole()
|
||||
|
||||
Vue.config.productionTip = false
|
||||
fastClick.attach(document.body)
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
* @Author: gtz
|
||||
* @Date: 2022-07-28 10:22:30
|
||||
* @LastEditors: gtz
|
||||
* @LastEditTime: 2022-08-04 14:27:45
|
||||
* @LastEditTime: 2022-08-04 15:34:56
|
||||
* @Description: file content
|
||||
* @FilePath: \hf-pda\src\pages\eqInspection\eqInspection-detail.vue
|
||||
-->
|
||||
@ -66,8 +66,10 @@
|
||||
<van-uploader
|
||||
v-model="fileList"
|
||||
:max-count="1"
|
||||
:max-size="10485760"
|
||||
accept=".doc,.docx,.xls,.xlsx,.pdf,image/*"
|
||||
:after-read="upload"
|
||||
@oversize="oversize"
|
||||
/>
|
||||
</van-col>
|
||||
<van-col :span="22" :offset="1">
|
||||
@ -144,6 +146,10 @@ export default {
|
||||
this.dataForm.annexUrl = result.data[0].id
|
||||
}
|
||||
},
|
||||
// 文件超出大小
|
||||
oversize () {
|
||||
this.$toast.fail('文件不能超过10M')
|
||||
},
|
||||
// 提交表单
|
||||
async handleSubmit () {
|
||||
const result = await updateIns(this.dataForm)
|
||||
|
@ -2,7 +2,7 @@
|
||||
* @Author: gtz
|
||||
* @Date: 2022-07-28 10:22:30
|
||||
* @LastEditors: gtz
|
||||
* @LastEditTime: 2022-08-04 15:19:28
|
||||
* @LastEditTime: 2022-08-04 15:34:51
|
||||
* @Description: file content
|
||||
* @FilePath: \hf-pda\src\pages\eqInspection\eqInspection-edit.vue
|
||||
-->
|
||||
@ -122,8 +122,10 @@
|
||||
<van-uploader
|
||||
v-model="fileList"
|
||||
:max-count="1"
|
||||
:max-size="10485760"
|
||||
accept=".doc,.docx,.xls,.xlsx,.pdf,image/*"
|
||||
:after-read="upload"
|
||||
@oversize="oversize"
|
||||
/>
|
||||
</van-col>
|
||||
<van-col :span="22" :offset="1">
|
||||
@ -256,6 +258,10 @@ export default {
|
||||
this.dataForm.annexUrl = result.data[0].id
|
||||
}
|
||||
},
|
||||
// 文件超出大小
|
||||
oversize () {
|
||||
this.$toast.fail('文件不能超过10M')
|
||||
},
|
||||
// 更新巡检内容状态
|
||||
async updateStatus (item) {
|
||||
const result = await updateInsStatus({
|
||||
|
Loading…
Reference in New Issue
Block a user