|
|
@@ -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(() => {
|