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

change btn

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