Merge remote-tracking branch 'origin/feature-20240104' into feature-20240104

master
382696293@qq.com 2 years ago
commit 71e9d04173

@ -581,7 +581,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button> <el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="reset"> </el-button> <el-button @click="clickReset"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
@ -779,6 +779,10 @@ export default {
this.open = false this.open = false
this.reset() this.reset()
}, },
clickReset(){
this.$refs.upload.clearFiles();
this.reset();
},
// //
reset() { reset() {
this.form = { this.form = {

@ -573,7 +573,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button> <el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="reset"> </el-button> <el-button @click="clickReset"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
@ -770,6 +770,10 @@ export default {
this.open = false this.open = false
this.reset() this.reset()
}, },
clickReset(){
this.$refs.upload.clearFiles();
this.reset();
},
// //
reset() { reset() {
this.form = { this.form = {
@ -814,7 +818,6 @@ export default {
updateTime: null, updateTime: null,
} }
this.resetForm('form') this.resetForm('form')
this.$refs.upload.clearFiles();
}, },
dateUtil(date) { dateUtil(date) {
// //

Loading…
Cancel
Save