修复了广西联通的一些bug

This commit is contained in:
骆乐 2022-06-27 15:56:25 +08:00
parent f92db374b1
commit 1941d45586
6 changed files with 29 additions and 6 deletions

View File

@ -42,6 +42,7 @@ if (process.env.NODE_ENV == 'development') {
// axios.defaults.baseURL = 'http://124.71.178.44:100/'
// tag: 本地
axios.defaults.baseURL = 'http://192.168.34.125:6023/'; //本地 http/1.1
// axios.defaults.baseURL = 'http://120.196.217.6:7000/';
// axios.defaults.baseURL = 'http://120.196.217.6:7000/'; // 鹤洲
// axios.defaults.baseURL = 'http://182.90.224.237:7000/'; // 广西
// axios.defaults.baseURL = 'http://120.196.217.6:7000/' //鹤洲

View File

@ -15,7 +15,7 @@
<div style="margin-left:10px">
<p>{{ $store.state.userInfo.companyName }}</p>
<!-- 横琴和鹤洲不需要客服电话-->
<!-- <p>客服电话{{$store.state.userInfo.customerServicePhone}}</p> -->
<p>客服电话{{$store.state.userInfo.customerServicePhone}}</p>
</div>
</div>
<!-- <div class="flex2" style="margin-top:20px">
@ -216,7 +216,7 @@ export default {
window.open("/equipmentCenter.html#/equipmentCenterIndx", "_blank");
},
goto5(){
window.open("/firm/projectManage#/firm/projectManage", "_self");
window.open("/index.html#/firm/projectManage", "_self");
},
loginOut() {
this.$store.commit("setUserInfo", null);
@ -268,7 +268,7 @@ export default {
}else{
window.open("/#/projectList", "_self");
}
}if( type == 5 || type == 6 || type == 7 ){
}if( type == 5 || type == 6 ){
window.open("/index.html#/projectIndex", "_self");
}else {
routeUrl = this.$router.resolve({

View File

@ -29,6 +29,7 @@ const routes2 = [
name: '授权',
component: () => import('../views/home/authorization.vue')
},
// 中建四局的登录页面
// {
// path: '/',
// name: 'HomeTwo',
@ -1453,6 +1454,7 @@ const routes2 = [
component: () => import('@/views/projectAdmin/dataBoard/AiAnalysis.vue'),
}
]
// 中建四局的看板
// children: [{
// path: 'index',
// name: '数据看板-首页概览',

View File

@ -619,6 +619,7 @@ export default {
getSafeData() {
selectWorkerSafeEducationStatisticsApi({ sn: this.searchsn }).then(
(res) => {
console.log('培训学校',res)
var xData = [],
yData1 = [],
yData2 = [];
@ -650,6 +651,7 @@ export default {
//线
getDevCountStatictis() {
getProjectDevStatisticsCountApi({ sn: this.searchsn }).then((res) => {
console.log('设备在线统计',res.result.videoList)
if (res.result) {
var arr3 = res.result.environmentList;
var arr2 = res.result.ufaceList;

View File

@ -209,6 +209,7 @@ export default {
// return timer;
},
getTypeName(val){
// console.log('',val)
let text = ""
this.alarmTypeArr.forEach(item=>{
if(item.value == val){

View File

@ -172,11 +172,15 @@
<div class="dialog_content">
<!-- default-expand-all -->
<!-- <div>项目模块</div> -->
<!-- <div>
<el-checkbox v-model="checkAll" @change="selectAll">全选</el-checkbox>
</div> -->
<el-tree ref="tree"
node-key="authorityId"
:props="props"
:data="projectMenus"
show-checkbox
@check-change="handleCheckChange"
>
<span class="custom-tree-node" slot-scope="{ node, data }">
@ -233,6 +237,7 @@ export default {
},
data() {
return {
checkAll:false, //
addEditForm: {
roleName: "",
roleDesc: "",
@ -488,10 +493,22 @@ export default {
// this.pagInfo.pageNo = val;
// this.getList();
// },
handleCheckChange(data, checked, indeterminate) {
handleCheckChange(e) {
console.log('eeee',e)
// console.log(data, checked, indeterminate);
console.log(this.$refs.tree.getCheckedKeys());
}
// console.log('',this.$refs.tree.getCheckedKeys());
},
//
// selectAll(){
// if(this.checkAll){
// console.log('111111',this.$refs)
// // this.$refs.tree.setCheckedNodes(this.projectMenus);
// }else{
// this.$nextTick(()=>{
// this.$refs.tree.setCheckedNodes([])
// })
// }
// },
},
};
</script>