liuchengxin
2022-01-08 cf1b5bf548b870efd0f1b4e3d5a8f88e79cfd9c9
src/views/system/dict/data.vue
@@ -65,6 +65,7 @@
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          class="del-btn"
          @click="handleDelete"
          v-hasPermi="['system:dict:remove']"
        >删除</el-button>
@@ -126,6 +127,7 @@
            size="mini"
            type="text"
            icon="el-icon-delete"
            class="del-btn"
            @click="handleDelete(scope.row)"
            v-hasPermi="['system:dict:remove']"
          >删除</el-button>
@@ -142,7 +144,7 @@
    />
    <!-- 添加或修改参数配置对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
    <el-dialog :title="title" :close-on-click-modal="false" :visible.sync="open" width="500px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="字典类型">
          <el-input v-model="form.dictType" :disabled="true" />
@@ -382,7 +384,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const dictCodes = row.dictCode || this.ids;
      this.$modal.confirm('是否确认删除字典编码为"' + dictCodes + '"的数据项?').then(function() {
      this.$modal.confirm('是否确认删除?').then(function() {
        return delData(dictCodes);
      }).then(() => {
        this.getList();