Explorar el Código

益兽园医生确认处方

xdd hace 1 mes
padre
commit
f382d5e44a
Se han modificado 1 ficheros con 2 adiciones y 12 borrados
  1. 2 12
      src/views/his/prescribe/index.vue

+ 2 - 12
src/views/his/prescribe/index.vue

@@ -521,13 +521,13 @@ export default {
         if (valid) {
           if (this.form.prescribeId != undefined) {
             updatePrescribe(this.form).then(response => {
-              this.$modal.msgSuccess("修改成功");
+              this.$message.success("修改成功");
               this.open = false;
               this.getList();
             });
           } else {
             addPrescribe(this.form).then(response => {
-              this.$modal.msgSuccess("新增成功");
+              this.$message.success("新增成功");
               this.open = false;
               this.getList();
             });
@@ -535,16 +535,6 @@ export default {
         }
       });
     },
-    /** 删除按钮操作 */
-    handleDelete(row) {
-      const prescribeIds = row.prescribeId || this.ids;
-      this.$modal.confirm('是否确认删除处方编号为"' + prescribeIds + '"的数据项?').then(function() {
-        return delPrescribe(prescribeIds);
-      }).then(() => {
-        this.getList();
-        this.$modal.msgSuccess("删除成功");
-      }).catch(() => {});
-    },
     /** 导出按钮操作 */
     handleExport() {
       this.$modal.confirm('是否确认导出所有处方数据项?').then(() => {