Commit 5784f94e by liangzhen

增加防抖

1 parent 1467ef07
......@@ -1024,6 +1024,10 @@ export default {
this.innerVisible = true
},
async inspectBack(){
if (this.checkedList.length != 1) {
this.$message("请选择");
return;
}
this.$confirm(
"是否材料不全,将退回重新上传?",
"提示",
......
......@@ -422,7 +422,7 @@
</el-pagination>
<p class="midBtn">
<span @click="cancelXZ()">取消</span
><span @click="saveXZ('add')">保存</span>
><span v-debounce:click="saveXZ">保存</span>
</p>
</div>
</el-dialog>
......@@ -1089,7 +1089,6 @@ export default {
this.dialogedit = false;
},
saveXZ() {
console.log("保存验证", this.$refs);
this.$refs.formName.validate((valid) => {
if (!valid) {
console.log("error submit!!");
......@@ -1122,9 +1121,6 @@ export default {
}
});
// this.$emit("listenToChildEvent", "reset");
// }
},
cancelXZ() {
this.dialogAdd = false;
......
......@@ -852,6 +852,10 @@ export default {
},
//提交评估材料
async submitNexts() {
if (this.checkedList.length != 1) {
this.$message("请选择");
return;
}
this.$confirm(
"材料是否材重新上传完成?",
"提示",
......
......@@ -1024,6 +1024,10 @@ export default {
this.innerVisible = true
},
async inspectBack(){
if (this.checkedList.length != 1) {
this.$message("请选择");
return;
}
this.$confirm(
"是否材料不全,将退回重新上传?",
"提示",
......
......@@ -72,10 +72,10 @@
<el-button @click="deletes()">
<img class="buttonIcon" src="../../assets/sc.png" /> 删除
</el-button>
<el-button @click="sendMsg()"
<el-button v-debounce:click="sendMsg"
><i class="el-icon-position"></i> 发起
</el-button>
<el-button @click="withdraw()">
<el-button v-debounce:click="withdraw">
<i class="el-icon-folder-delete"></i>撤回
</el-button>
</el-form-item>
......@@ -422,7 +422,7 @@
</el-pagination>
<p class="midBtn">
<span @click="cancelXZ()">取消</span
><span @click="saveXZ('add')">保存</span>
><span v-debounce:click="saveXZ">保存</span>
</p>
</div>
</el-dialog>
......
......@@ -852,6 +852,10 @@ export default {
},
//提交评估材料
async submitNexts() {
if (this.checkedList.length != 1) {
this.$message("请选择");
return;
}
this.$confirm(
"材料是否材重新上传完成?",
"提示",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!