| | |
| | | }, |
| | | { |
| | | label: "农事照片", |
| | | prop: "tp", |
| | | type: "upload", |
| | | listType: "picture-img", |
| | | propsHttp: { |
| | | res: "data", |
| | | url: "url", |
| | | }, |
| | | labelWidth: 110, |
| | | dataType: "string", |
| | | span: 24, |
| | | limit: 5, |
| | | listType: "picture-card", |
| | | tip: "建议上传手机横屏拍摄的照片,宽高比16:9,最多上传5张", |
| | | canvasOption: { |
| | | text: " ", |
| | | text: "", |
| | | ratio: 1.0, |
| | | }, |
| | | action: "/api/blade-resource/oss/endpoint/put-files", |
| | | tip: "", |
| | | span: 24, |
| | | labelWidth: 110, |
| | | prop: "tp", |
| | | propsHttp: { |
| | | res: "data", |
| | | url: "url" |
| | | }, |
| | | action: "/api/blade-resource/oss/endpoint/put-files" |
| | | }, |
| | | { |
| | | label: "备注", |
| | |
| | | //新增 |
| | | rowSave(row, done, loading) { |
| | | row['farmType'] = 0; |
| | | row['createUser'] = this.userInfo.user_id; |
| | | save(row).then( |
| | | () => { |
| | | this.onLoad(this.page); |