|
@@ -213,6 +213,7 @@ export default {
|
|
results: {
|
|
results: {
|
|
data: {}
|
|
data: {}
|
|
},
|
|
},
|
|
|
|
+ is_tm_path: ['/hospital-caseViews', '/embedIndex-caseViews', '/reviewIndex-caseViews', '/whitelist-caseViews', '/whitelist-search']
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -315,7 +316,7 @@ export default {
|
|
const params = {
|
|
const params = {
|
|
id: this.valData,
|
|
id: this.valData,
|
|
};
|
|
};
|
|
- if (this.$route.query.status) {
|
|
|
|
|
|
+ if (this.is_tm_path.includes(this.$route.path)) {
|
|
params.is_tm = 1;
|
|
params.is_tm = 1;
|
|
}
|
|
}
|
|
this.$axios.post('/medical_record', params).then(res => {
|
|
this.$axios.post('/medical_record', params).then(res => {
|
|
@@ -354,7 +355,7 @@ export default {
|
|
MED_REC_ID: that.valData,
|
|
MED_REC_ID: that.valData,
|
|
bllb: b,
|
|
bllb: b,
|
|
};
|
|
};
|
|
- if (this.$route.query.status) {
|
|
|
|
|
|
+ if (this.is_tm_path.includes(this.$route.path)) {
|
|
params.is_tm = 1;
|
|
params.is_tm = 1;
|
|
}
|
|
}
|
|
that.$axios.post('/getAllCase', params).then(res => {
|
|
that.$axios.post('/getAllCase', params).then(res => {
|
|
@@ -368,7 +369,7 @@ export default {
|
|
id: this.valData,
|
|
id: this.valData,
|
|
bllb: b,
|
|
bllb: b,
|
|
};
|
|
};
|
|
- if (this.$route.query.status) {
|
|
|
|
|
|
+ if (this.is_tm_path.includes(this.$route.path)) {
|
|
params.is_tm = '1';
|
|
params.is_tm = '1';
|
|
}
|
|
}
|
|
that.$axios2.post('/get_case_platform', params).then(res => {
|
|
that.$axios2.post('/get_case_platform', params).then(res => {
|
|
@@ -380,7 +381,7 @@ export default {
|
|
id: this.valData,
|
|
id: this.valData,
|
|
bllb: b,
|
|
bllb: b,
|
|
};
|
|
};
|
|
- if (this.$route.query.status) {
|
|
|
|
|
|
+ if (this.is_tm_path.includes(this.$route.path)) {
|
|
params.is_tm = 1;
|
|
params.is_tm = 1;
|
|
}
|
|
}
|
|
that.$axios2.post('/get_case_platform', params).then(res => {
|
|
that.$axios2.post('/get_case_platform', params).then(res => {
|
|
@@ -392,7 +393,7 @@ export default {
|
|
const params = {
|
|
const params = {
|
|
AAA28: that.valData,
|
|
AAA28: that.valData,
|
|
};
|
|
};
|
|
- if (this.$route.query.status) {
|
|
|
|
|
|
+ if (this.is_tm_path.includes(this.$route.path)) {
|
|
params.is_tm = 1;
|
|
params.is_tm = 1;
|
|
}
|
|
}
|
|
that.$axios.post('/long', params).then(res => {
|
|
that.$axios.post('/long', params).then(res => {
|
|
@@ -404,7 +405,7 @@ export default {
|
|
const params = {
|
|
const params = {
|
|
AAA28: that.valData,
|
|
AAA28: that.valData,
|
|
};
|
|
};
|
|
- if (this.$route.query.status) {
|
|
|
|
|
|
+ if (this.is_tm_path.includes(this.$route.path)) {
|
|
params.is_tm = 1;
|
|
params.is_tm = 1;
|
|
}
|
|
}
|
|
that.$axios.post('/temporary', params).then(res => {
|
|
that.$axios.post('/temporary', params).then(res => {
|
|
@@ -416,7 +417,7 @@ export default {
|
|
let parm = {
|
|
let parm = {
|
|
type: Number(that.is_active),
|
|
type: Number(that.is_active),
|
|
};
|
|
};
|
|
- if (this.$route.query.status) {
|
|
|
|
|
|
+ if (this.is_tm_path.includes(this.$route.path)) {
|
|
parm.is_tm = 1;
|
|
parm.is_tm = 1;
|
|
}
|
|
}
|
|
let treeListArr = Object.values(that.treeList);
|
|
let treeListArr = Object.values(that.treeList);
|
|
@@ -444,7 +445,7 @@ export default {
|
|
// 请求前先重置之前的数据
|
|
// 请求前先重置之前的数据
|
|
that.caseRecodeInfo = {};
|
|
that.caseRecodeInfo = {};
|
|
let parm = { blbh: that.is_active };
|
|
let parm = { blbh: that.is_active };
|
|
- if (this.$route.query.status) {
|
|
|
|
|
|
+ if (this.is_tm_path.includes(this.$route.path)) {
|
|
parm.is_tm = 1;
|
|
parm.is_tm = 1;
|
|
}
|
|
}
|
|
that.$axios.post('/get_bc_data', parm).then(res => {
|
|
that.$axios.post('/get_bc_data', parm).then(res => {
|
|
@@ -459,7 +460,7 @@ export default {
|
|
// 请求前先重置之前的数据
|
|
// 请求前先重置之前的数据
|
|
that.surgeryData = {};
|
|
that.surgeryData = {};
|
|
let parm = { blbh: that.is_active };
|
|
let parm = { blbh: that.is_active };
|
|
- if (this.$route.query.status) {
|
|
|
|
|
|
+ if (this.is_tm_path.includes(this.$route.path)) {
|
|
parm.is_tm = 1;
|
|
parm.is_tm = 1;
|
|
}
|
|
}
|
|
that.$axios.post('/get_surgery_data', parm).then(res => {
|
|
that.$axios.post('/get_surgery_data', parm).then(res => {
|