| | |
| | | </div> |
| | | |
| | | <div class="hand-next"> |
| | | <!-- <el-button type="primary" @click="tip1up1">上一页</el-button> --> |
| | | <!-- <el-button type="primary" @click="tip1" :disabled="!opens">暂存</el-button> --> |
| | | <el-button type="primary" @click="up()" :disabled="!opens">{{ |
| | | //canDoIt ? "提交审批" : "已成功提交" |
| | | opens ? "提交审批" : "提交审批" |
| | | <el-button type="primary" @click="up()" :disabled="!opens">{{opens ? "提交审批" : "提交审批" |
| | | }}</el-button> |
| | | <el-button type="info" @click="qx">取消</el-button> |
| | | </div> |
| | |
| | | emptyBtn: false, |
| | | submitBtn: true, |
| | | gutter: 50, |
| | | column: [ |
| | | // { |
| | | // label: "附件", |
| | | // prop: "parentCode", |
| | | // type: 'upload', |
| | | // span: 24, |
| | | // dragFile: true, |
| | | // // action: action, |
| | | // rules: [{ |
| | | // required: true, |
| | | // message: "请上传附件", |
| | | // trigger: "blur" |
| | | // }] |
| | | // }, |
| | | { |
| | | label: '附件', |
| | | prop: 'fileUrls', |
| | | type: 'upload', |
| | | span: 24, |
| | | hide: true, |
| | | labelWidth: 140, |
| | | multiple: true, |
| | | listType: "text", |
| | | // showFileList: true, |
| | | propsHttp: { |
| | | res: 'data', |
| | | name: "originalName", |
| | | url: "link" |
| | | }, |
| | | data: { |
| | | suffix: 'pdf,ppt,doc,docx' |
| | | }, |
| | | action: '/api/blade-resource/oss/endpoint/put-file-attach-suffix', |
| | | rules: [{ |
| | | required: true, |
| | | message: "请上传附件", |
| | | trigger: "blur", |
| | | }, ], |
| | | column: [{ |
| | | label: '附件', |
| | | prop: 'fileUrls', |
| | | type: 'upload', |
| | | span: 24, |
| | | hide: true, |
| | | labelWidth: 140, |
| | | multiple: true, |
| | | listType: "text", |
| | | // showFileList: true, |
| | | propsHttp: { |
| | | res: 'data', |
| | | name: "originalName", |
| | | url: "link" |
| | | }, |
| | | ], |
| | | data: { |
| | | suffix: 'pdf,ppt,doc,docx' |
| | | }, |
| | | action: '/api/blade-resource/oss/endpoint/put-file-attach-suffix', |
| | | rules: [{ |
| | | required: true, |
| | | message: "请上传附件", |
| | | trigger: "blur", |
| | | }, ], |
| | | }, ], |
| | | }, |
| | | |
| | | activeNames: ["1", "2"], |
| | |
| | | } else { |
| | | this.see = true; |
| | | // this.openS(); |
| | | console.log("********6666********" + JSON.stringify(this.useWhere)) |
| | | // console.log("********6666********" + JSON.stringify(this.useWhere)) |
| | | this.obj0.noFraudType = this.useWhere |
| | | this.getPatrolGroupTree(); |
| | | |
| | |
| | | }, |
| | | methods: { |
| | | onSelectChange(e) { |
| | | console.log("selectChange===>", e); |
| | | // console.log("selectChange===>", e); |
| | | this.obj0.addressName = e.addressName |
| | | this.obj0.houseCode = e.addressCode |
| | | // this.getPlaceAddressListRequest() |
| | | }, |
| | | onRemoteMethod(query) { |
| | | console.log("remote===>", query) |
| | | // console.log("remote===>", query) |
| | | this.getPlaceAddressListRequest(query) |
| | | }, |
| | | getPlaceAddressListRequest(query) { |
| | |
| | | |
| | | }, |
| | | uploadFile(param) { |
| | | console.log("自定义上传", param); |
| | | // console.log("自定义上传", param); |
| | | const formData = new FormData() |
| | | formData.append('file', param.file) |
| | | formData.append('suffix', "pdf,ppt,doc,docx") |
| | |
| | | imageUrls: res.data.data.link |
| | | }) |
| | | } |
| | | console.log('上传图片成功' + JSON.stringify(res)) |
| | | // console.log('上传图片成功' + JSON.stringify(res)) |
| | | // console.log('上传图片成功2' + JSON.stringify(this.patrolGroup)) |
| | | console.log('上传图片成功2' + JSON.stringify(this.taskPlaceRecordVOList)) |
| | | // console.log('上传图片成功2' + JSON.stringify(this.taskPlaceRecordVOList)) |
| | | |
| | | }).catch(response => { |
| | | console.log('图片上传失败') |
| | |
| | | }, |
| | | |
| | | handleChange(file, fileList) { |
| | | console.table(fileList) |
| | | // console.table(fileList) |
| | | // this.fileList = fileList.slice(-3); |
| | | }, |
| | | tipchose() { |