RuoYi
2021-09-27 1b6b3dc9453c5ef8cfec990a4ad80184fc19fcc8
src/main/resources/vm/vue/index.vue.vm
@@ -546,7 +546,7 @@
    /** ${subTable.functionName}删除按钮操作 */
    handleDelete${subClassName}() {
      if (this.checked${subClassName}.length == 0) {
        this.msgError("请先选择要删除的${subTable.functionName}数据");
        this.#[[$modal]]#.msgError("请先选择要删除的${subTable.functionName}数据");
      } else {
        const ${subclassName}List = this.${subclassName}List;
        const checked${subClassName} = this.checked${subClassName};
@@ -563,11 +563,11 @@
    /** 导出按钮操作 */
    handleExport() {
      const queryParams = this.queryParams;
      this.$modal.confirm('是否确认导出所有${functionName}数据项?').then(() => {
      this.#[[$modal]]#.confirm('是否确认导出所有${functionName}数据项?').then(() => {
        this.exportLoading = true;
        return export${BusinessName}(queryParams);
      }).then(response => {
        this.download(response.msg);
        this.#[[$download]]#.name(response.msg);
        this.exportLoading = false;
      }).catch(() => {});
    }