提交 6590d2f6 编写于 作者: 张磊's avatar 张磊

for test

上级 ef4ec7c0
......@@ -70,7 +70,7 @@ export default {
series1Data = this.dataList.map((item) => {
return ((item.afterRate || 0) * 100).toFixed(1);
});
if (process.client) {
if (this.$rocNative.isWeb) {
const clientWidth =
window.outerWidth ||
document.body.clientWidth ||
......
......@@ -76,7 +76,7 @@ export default {
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
const clientWidth =
window.outerWidth ||
document.body.clientWidth ||
......
......@@ -149,7 +149,7 @@ export default {
},
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
const clientWidth =
window.outerWidth ||
document.body.clientWidth ||
......
......@@ -74,7 +74,7 @@ export default {
},
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
const clientWidth =
window.outerWidth ||
document.body.clientWidth ||
......
......@@ -160,7 +160,7 @@ export default {
},
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
const clientWidth =
window.outerWidth ||
document.body.clientWidth ||
......
......@@ -123,7 +123,7 @@ export default {
},
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
const clientWidth =
window.outerWidth ||
document.body.clientWidth ||
......
......@@ -65,7 +65,7 @@ export default {
},
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
vm = this;
}
},
......
......@@ -73,7 +73,7 @@ export default {
},
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
vm = this;
}
},
......
......@@ -128,7 +128,7 @@ export default {
},
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
this.isWeb = this.$rocNative.isWeb;
}
},
......
......@@ -128,7 +128,7 @@ export default {
},
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
this.isWeb = this.$rocNative.isWeb;
}
},
......
......@@ -186,7 +186,7 @@ export default {
},
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
this.isAndroid = this.$rocNative.isAndroid;
}
},
......
......@@ -258,12 +258,6 @@ export default {
this.value.provinceId = newVal[0].id;
this.queryParams.regionId = newVal[0].id;
this.value.provinceName = newVal[0].label;
// this.areaList.provinceList = newVal;
// this.areaList.provinceList[0].selected = true;
// this.value.provinceName = this.areaList.provinceList[0].label;
// this.value.areaDegree = this.areaList.provinceList[0].degree;
// 包含所在机构
if (newVal[0].containHospitalFlag == 1) {
// this.value.provinceName = newVal[1].label;
......@@ -278,7 +272,7 @@ export default {
},
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
if (this.$route && this.$route.query) {
const cQuery = this.$route.query;
this.queryParams.projectId = cQuery.projectId || '';
......
......@@ -52,7 +52,7 @@ export default {
watch: {
processDataObj: {
handler() {
if (process.client) {
if (this.$rocNative.isWeb) {
const clientWidth =
window.outerWidth ||
document.body.clientWidth ||
......
......@@ -84,7 +84,7 @@ export default {
}),
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
if (this.$route && this.$route.query) {
const cQuery = this.$route.query;
this.queryGDParams.projectId = cQuery.projectId || '';
......
......@@ -67,7 +67,7 @@ export default {
}),
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
if (this.$route && this.$route.query) {
const cQuery = this.$route.query;
const hospitalIdList = cQuery.hospitalIdList || '';
......
......@@ -60,7 +60,7 @@ export default {
}),
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
if (this.$route && this.$route.query) {
const cQuery = this.$route.query;
const hospitalIdList = cQuery.hospitalIdList || '';
......
......@@ -39,7 +39,7 @@ export default {
};
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
var _this = this;
if (this.$rocNative.isWeb) {
cookies.set('conslToken', _this.token);
......
......@@ -60,7 +60,7 @@ export default {
}),
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
const cQuery = this.$route.query;
const hospitalIdList = cQuery.hospitalIdList || '';
this.queryGDParams.projectId = cQuery.projectId || '';
......
......@@ -82,7 +82,7 @@ export default {
}),
},
created() {
if (process.client) {
if (this.$rocNative.isWeb) {
if (this.$route && this.$route.query) {
const cQuery = this.$route.query;
const hospitalIdList = cQuery.hospitalIdList || '';
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册