|
|
@@ -472,7 +472,7 @@
|
|
|
<!-- </el-tabs>-->
|
|
|
</div>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
- <el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
+ <el-button type="primary" @click="cancel">确 定</el-button>
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
@@ -534,12 +534,12 @@ export default {
|
|
|
{ name: "已打包", id: 16, key: "packaged" },
|
|
|
],
|
|
|
depolyStatusObj:{
|
|
|
- type:'jp',
|
|
|
- createTime:'2023-07-08 10:10:10',
|
|
|
- operate:'人工',
|
|
|
- createBy:'A医生',
|
|
|
- prescriptionFiles:['','',''],
|
|
|
- remarks:'A医生完成了jp操作'
|
|
|
+ type:'',
|
|
|
+ createTime:'',
|
|
|
+ operate:'',
|
|
|
+ createBy:'',
|
|
|
+ prescriptionFiles:[''],
|
|
|
+ remarks:''
|
|
|
},
|
|
|
effectStatus:'plain',
|
|
|
currentDepoly:'',
|
|
|
@@ -718,25 +718,25 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
/** 提交按钮 */
|
|
|
- submitForm() {
|
|
|
- this.$refs["form"].validate((valid) => {
|
|
|
- if (valid) {
|
|
|
- if (this.form.id != null) {
|
|
|
- updatePrescriptionCore(this.form).then((response) => {
|
|
|
- this.msgSuccess("修改成功");
|
|
|
- this.open = false;
|
|
|
- this.getList();
|
|
|
- });
|
|
|
- } else {
|
|
|
- addPrescriptionCore(this.form).then((response) => {
|
|
|
- this.msgSuccess("新增成功");
|
|
|
- this.open = false;
|
|
|
- this.getList();
|
|
|
- });
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
+ // submitForm() {
|
|
|
+ // this.$refs["form"].validate((valid) => {
|
|
|
+ // if (valid) {
|
|
|
+ // if (this.form.id != null) {
|
|
|
+ // updatePrescriptionCore(this.form).then((response) => {
|
|
|
+ // this.msgSuccess("修改成功");
|
|
|
+ // this.open = false;
|
|
|
+ // this.getList();
|
|
|
+ // });
|
|
|
+ // } else {
|
|
|
+ // addPrescriptionCore(this.form).then((response) => {
|
|
|
+ // this.msgSuccess("新增成功");
|
|
|
+ // this.open = false;
|
|
|
+ // this.getList();
|
|
|
+ // });
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // },
|
|
|
/** 删除按钮操作 */
|
|
|
handleDelete(row) {
|
|
|
const ids = row.id || this.ids;
|