提交 0613bd83 编写于 作者: 张磊's avatar 张磊

change btn

上级 4461e8a1
...@@ -18,7 +18,7 @@ VUE_APP_IS_LOCAL=true ...@@ -18,7 +18,7 @@ VUE_APP_IS_LOCAL=true
VUE_APP_APPID=wxf4e66242d31c81c2 VUE_APP_APPID=wxf4e66242d31c81c2
# 本地token # 本地token
VUE_APP_TOKEN=520A62A63FA043CD90593429C5D12D0D VUE_APP_TOKEN=208774C74EAC430EB07EF3532B8F942D
# mock的基础地址 # mock的基础地址
VUE_APP_BASE_MOCK_URL=http://192.168.120.69:40001/mock/ VUE_APP_BASE_MOCK_URL=http://192.168.120.69:40001/mock/
......
...@@ -199,11 +199,11 @@ ...@@ -199,11 +199,11 @@
<li <li
v-for="(i, index) in hl" v-for="(i, index) in hl"
:key="index" :key="index"
:class="{ active: hlselected == i.hospitalId }" :class="{ active: hlselected.hospitalId == i.hospitalId }"
@click="hlSelect(i, index)" @click="hlSelect(i, index)"
> >
<span>{{ i.hospitalName }}</span> <span>{{ i.hospitalName }}</span>
<span v-show=" hlselected == i.hospitalId"> <span v-show=" hlselected.hospitalId == i.hospitalId">
<img src="../../assets/images/sort-select-icon.png"> <img src="../../assets/images/sort-select-icon.png">
</span> </span>
</li> </li>
...@@ -633,8 +633,8 @@ export default { ...@@ -633,8 +633,8 @@ export default {
} }
}, },
confirm() { confirm() {
console.log('-this.value', this.value);
const v = this.activetab == 0 ? this.value : this.hlselected; const v = this.activetab == 0 ? this.value : this.hlselected;
console.log('-this.value', v);
this.$emit('confirm', v); this.$emit('confirm', v);
}, },
cancelSelect() { cancelSelect() {
...@@ -644,7 +644,7 @@ export default { ...@@ -644,7 +644,7 @@ export default {
console.log('e', e, this.activetab); console.log('e', e, this.activetab);
}, },
hlSelect(i) { hlSelect(i) {
this.hlselected = i.hospitalId; this.hlselected = i;
} }
}, },
}; };
......
...@@ -85,6 +85,7 @@ router.beforeEach(async (to, from, next) => { ...@@ -85,6 +85,7 @@ router.beforeEach(async (to, from, next) => {
setCookie('conslToken', params.userToken); setCookie('conslToken', params.userToken);
next(); next();
}); });
next();
}); });
router.addRoutes(routerConfig); router.addRoutes(routerConfig);
...@@ -422,7 +422,7 @@ export default { ...@@ -422,7 +422,7 @@ export default {
this.CNTParams.projectId = this.projectId; this.CNTParams.projectId = this.projectId;
this.queryParams.projectId = this.projectId; this.queryParams.projectId = this.projectId;
this.getUserInfo(); this.getUserInfo();
// this.getProjectInfo(this.queryParams); this.getProjectInfo(this.queryParams);
}, },
mounted() { mounted() {
window.addEventListener( window.addEventListener(
......
...@@ -35,7 +35,7 @@ module.exports = { ...@@ -35,7 +35,7 @@ module.exports = {
port: 8080, port: 8080,
proxy: { proxy: {
'/proxy': { '/proxy': {
target: 'https://sc.yunqueyi.com', target: 'https://uat-sc.yunqueyi.com',
ws: false, ws: false,
changeOrigin: true, changeOrigin: true,
secure: true, secure: true,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册