中建四局(安全管理):人员管理上部分以及bim上传路径更改

This commit is contained in:
骆乐 2022-09-02 09:14:02 +08:00
parent 7ba3978765
commit e97d98f2f6
4 changed files with 90 additions and 14 deletions

BIN
dist.zip Normal file

Binary file not shown.

View File

@ -76,8 +76,8 @@ if (process.env.NODE_ENV == 'development') {
axios.defaults.baseURL = 'https://www.ceshi.com'
} else if (process.env.NODE_ENV == 'production') {
let host = window.location.host
// axios.defaults.baseURL = window.location.protocol + '//' + host + '/'
axios.defaults.baseURL ='http://192.168.34.216:6023/'
axios.defaults.baseURL = window.location.protocol + '//' + host + '/'
// axios.defaults.baseURL ='http://192.168.34.216:6023/'
// axios.defaults.baseURL = window.location.protocol + "//" + host.split(":")[0] + ":6023" + "/"
// axios.defaults.baseURL = 'http://zhgd.loganwy.com/'
}

View File

@ -1,14 +1,89 @@
<template>
<Card title="人员管理">
人员管理
<div class="containerBox">
<div class="topbox">
<div class="item">
<span>总人数</span>
<p>14521</p>
</div>
<div class="item">
<span>实际出勤人数</span>
<p>14521</p>
</div>
<div class="item">
<span>未出勤人数</span>
<p>14521</p>
</div>
<div class="item">
<span>实名制人数</span>
<p>14521</p>
</div>
<div class="item margin">
<span>入职培训人数</span>
<p>14521</p>
</div>
<div class="item margin">
<span>特殊工种人数</span>
<p>14521</p>
</div>
<div class="item margin">
<span>普通工种人数</span>
<p>14521</p>
</div>
<div class="item margin">
<span>管理人员人数</span>
<p>14521</p>
</div>
</div>
<div class="bunbox">
<div class="left">
</div>
<div class="right">
</div>
</div>
</div>
</Card>
</template>
<script>
import Card from '../components/Card.vue'
import Card from "../components/Card.vue";
export default {
components: { Card }
}
};
</script>
<style></style>
<style lang="less" scoped>
.containerBox {
width: 100%;
height: 100%;
margin-top: 2%;
.topbox {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
.item {
flex-shrink: 0;
width: 14%;
height: 70px;
margin-right: 5%;
margin-left: 5%;
text-align: center;
background-image: url(../assets/images/common/num_bg.png);
background-repeat: no-repeat;
background-size: 100%;
span {
display: block;
color: #6ee4f0;
text-align: center;
font-size: 12px;
margin-top: 12%;
}
}
.item.margin {
margin-top: 2%;
}
}
}
</style>

View File

@ -85,7 +85,7 @@
class="uploadBtn"
ref="upload"
name="files"
action="http://182.90.224.237:7000/upload/image"
action="http://47.97.202.104:6023/upload/image"
:show-file-list="true"
:data="uploadParams"
:on-change="changeUpload"
@ -322,13 +322,14 @@ export default {
getJlwConfigApi({
projectSn: this.$store.state.projectSn,
}).then(res => {
// console.log('-----',res)
// if (res.result) {
// this.configForm = res.result;
// this.loadData();
// } else {
// this.configDialog = true;
// }
console.log('-----有吗',res)
if (res.result) {
this.configForm = res.result.bimfaceConfig;
// this.configForm.appKey = res.result.bimfaceConfig
this.loadData();
} else {
this.configDialog = true;
}
});
},