Browse Source

文件修改

develop
王健 3 years ago
parent
commit
af9d24a514
  1. 1
      public/pmIF3fM4Br.txt
  2. 7
      src/views/report/index.vue

1
public/pmIF3fM4Br.txt

@ -0,0 +1 @@
72aa2ffd0cb6544a9b8c4694c2fadf91

7
src/views/report/index.vue

@ -168,7 +168,9 @@
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false"> </el-button>
<el-button type="primary" @click="save"> </el-button>
<el-button type="primary" @click="save" :disabled="saveFlag"
> </el-button
>
</span>
</el-dialog>
</div>
@ -187,6 +189,7 @@ import { uploadFile } from "@/views/api/api";
export default {
data() {
return {
saveFlag: true,
limit: 1,
searchForm: {
//
@ -383,9 +386,11 @@ export default {
},
//
uploadFile(file) {
this.saveFlag = true;
uploadFile(file).then((res) => {
if (res.data.success) {
this.editForm.filePath = res.data.data.path;
this.saveFlag = false;
}
});
},

Loading…
Cancel
Save