|
@@ -1410,7 +1410,7 @@ export default {
|
|
|
else if (query.type === "tuidao") {
|
|
else if (query.type === "tuidao") {
|
|
|
await Promise.all([
|
|
await Promise.all([
|
|
|
this.inferRecipe(4, "1"),
|
|
this.inferRecipe(4, "1"),
|
|
|
- this.inferRecipe(4, "3"),
|
|
|
|
|
|
|
+ // this.inferRecipe(4, "3"),
|
|
|
this.inferRecipe(),
|
|
this.inferRecipe(),
|
|
|
])
|
|
])
|
|
|
this.isTuiDaoZy = true;
|
|
this.isTuiDaoZy = true;
|
|
@@ -2594,17 +2594,17 @@ export default {
|
|
|
// 提交中药处方
|
|
// 提交中药处方
|
|
|
submitRecipe1() {
|
|
submitRecipe1() {
|
|
|
let zhongPrescriptionVo = this.dealRecipe1();
|
|
let zhongPrescriptionVo = this.dealRecipe1();
|
|
|
- let chengPrescriptionVo = false;
|
|
|
|
|
- setTimeout(() => {
|
|
|
|
|
- chengPrescriptionVo = this.dealRecipe2();
|
|
|
|
|
- }, 100);
|
|
|
|
|
- let technologyPrescriptionVo = false;
|
|
|
|
|
- setTimeout(() => {
|
|
|
|
|
- technologyPrescriptionVo = this.dealRecipe3();
|
|
|
|
|
- }, 200);
|
|
|
|
|
|
|
+ let chengPrescriptionVo = {};
|
|
|
|
|
+ // setTimeout(() => {
|
|
|
|
|
+ // chengPrescriptionVo = this.dealRecipe2();
|
|
|
|
|
+ // }, 100);
|
|
|
|
|
+ let technologyPrescriptionVo = {};
|
|
|
|
|
+ // setTimeout(() => {
|
|
|
|
|
+ // technologyPrescriptionVo = this.dealRecipe3();
|
|
|
|
|
+ // }, 200);
|
|
|
|
|
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
- if (technologyPrescriptionVo === false) {
|
|
|
|
|
|
|
+ /*if (technologyPrescriptionVo === false) {
|
|
|
technologyPrescriptionVo = {};
|
|
technologyPrescriptionVo = {};
|
|
|
this.container_i = 2;
|
|
this.container_i = 2;
|
|
|
return;
|
|
return;
|
|
@@ -2614,7 +2614,7 @@ export default {
|
|
|
chengPrescriptionVo = {};
|
|
chengPrescriptionVo = {};
|
|
|
this.container_i = 1;
|
|
this.container_i = 1;
|
|
|
return;
|
|
return;
|
|
|
- }
|
|
|
|
|
|
|
+ }*/
|
|
|
|
|
|
|
|
if (zhongPrescriptionVo === false) {
|
|
if (zhongPrescriptionVo === false) {
|
|
|
zhongPrescriptionVo = [];
|
|
zhongPrescriptionVo = [];
|
|
@@ -2622,12 +2622,14 @@ export default {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- if (
|
|
|
|
|
|
|
+ if (Object.keys(zhongPrescriptionVo).length === 0) return;
|
|
|
|
|
+
|
|
|
|
|
+ /*if (
|
|
|
zhongPrescriptionVo.length == 0 &&
|
|
zhongPrescriptionVo.length == 0 &&
|
|
|
Object.keys(zhongPrescriptionVo).length == 0 &&
|
|
Object.keys(zhongPrescriptionVo).length == 0 &&
|
|
|
Object.keys(technologyPrescriptionVo).length == 0
|
|
Object.keys(technologyPrescriptionVo).length == 0
|
|
|
)
|
|
)
|
|
|
- return;
|
|
|
|
|
|
|
+ return;*/
|
|
|
|
|
|
|
|
this.$refs.TCM.saveDiagnosisData();
|
|
this.$refs.TCM.saveDiagnosisData();
|
|
|
this._getRecipePriview(
|
|
this._getRecipePriview(
|