提交按钮的限制

This commit is contained in:
gyj
2024-02-26 15:44:48 +08:00
parent c4384eb208
commit 088ed7e30c
2 changed files with 6 additions and 2 deletions
+1
View File
@@ -48,6 +48,7 @@
"js-beautify": "1.13.0", "js-beautify": "1.13.0",
"js-cookie": "3.0.1", "js-cookie": "3.0.1",
"jsencrypt": "3.0.0-rc.1", "jsencrypt": "3.0.0-rc.1",
"lodash": "^4.17.21",
"moment": "^2.30.1", "moment": "^2.30.1",
"nprogress": "0.2.0", "nprogress": "0.2.0",
"qrcodejs2": "0.0.2", "qrcodejs2": "0.0.2",
@@ -128,6 +128,7 @@
</template> </template>
<!-- hearDate --> <!-- hearDate -->
<script> <script>
import _ from 'lodash'
import { import {
caseApplicationSelectById, caseApplicationSelectById,
mediation, mediation,
@@ -274,6 +275,7 @@ export default {
}); });
}); });
}) })
this.isSecretaryRole = false
}, },
/** 庭审笔录附件 */ /** 庭审笔录附件 */
toFile2(annexPath) { toFile2(annexPath) {
@@ -293,7 +295,8 @@ export default {
cancel() { cancel() {
this.$emit("cancelMediation"); this.$emit("cancelMediation");
}, },
submitMediation() {
submitMediation: _.debounce(function() {
if (this.fileList.length < 1 && !this.mediationType && this.mediationData.mediationMethod == "2") { if (this.fileList.length < 1 && !this.mediationType && this.mediationData.mediationMethod == "2") {
this.$modal.msgError("请上传调解书"); this.$modal.msgError("请上传调解书");
return return
@@ -315,7 +318,7 @@ export default {
} }
} }
this.mediationFn(mediationVal); this.mediationFn(mediationVal);
}, },5000),
resultsMediation() { resultsMediation() {
} }