|
|
@@ -1362,6 +1362,12 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
+ try {
|
|
|
+ this.contentTabs.find(item => item.name === '中药制剂' ).hide = !window.ZYZJ
|
|
|
+ this.contentTabs.find(item => item.name === '适宜技术处方' ).hide = !window.SYJS
|
|
|
+ } catch (e) {
|
|
|
+
|
|
|
+ }
|
|
|
// console.log(this.getIsSee, 'issee');
|
|
|
this.showSubmit = String(this.getIsSee) == "true" ? true : false;
|
|
|
|
|
|
@@ -2640,13 +2646,17 @@ export default {
|
|
|
this.saving = false;
|
|
|
|
|
|
let chengPrescriptionVo = {};
|
|
|
- // setTimeout(() => {
|
|
|
- // chengPrescriptionVo = this.dealRecipe2();
|
|
|
- // }, 100);
|
|
|
+ if(window.ZYZJ) {
|
|
|
+ setTimeout(() => {
|
|
|
+ chengPrescriptionVo = this.dealRecipe2();
|
|
|
+ }, 100);
|
|
|
+ }
|
|
|
let technologyPrescriptionVo = {};
|
|
|
- // setTimeout(() => {
|
|
|
- // technologyPrescriptionVo = this.dealRecipe3();
|
|
|
- // }, 200);
|
|
|
+ if(window.SYJS) {
|
|
|
+ setTimeout(() => {
|
|
|
+ technologyPrescriptionVo = this.dealRecipe3();
|
|
|
+ }, 200);
|
|
|
+ }
|
|
|
|
|
|
setTimeout(() => {
|
|
|
/*if (technologyPrescriptionVo === false) {
|