中建四局(安全管理):人员管理上部分以及bim上传路径更改
This commit is contained in:
parent
7ba3978765
commit
e97d98f2f6
@ -76,8 +76,8 @@ if (process.env.NODE_ENV == 'development') {
|
|||||||
axios.defaults.baseURL = 'https://www.ceshi.com'
|
axios.defaults.baseURL = 'https://www.ceshi.com'
|
||||||
} else if (process.env.NODE_ENV == 'production') {
|
} else if (process.env.NODE_ENV == 'production') {
|
||||||
let host = window.location.host
|
let host = window.location.host
|
||||||
// axios.defaults.baseURL = window.location.protocol + '//' + host + '/'
|
axios.defaults.baseURL = window.location.protocol + '//' + host + '/'
|
||||||
axios.defaults.baseURL ='http://192.168.34.216:6023/'
|
// axios.defaults.baseURL ='http://192.168.34.216:6023/'
|
||||||
// axios.defaults.baseURL = window.location.protocol + "//" + host.split(":")[0] + ":6023" + "/"
|
// axios.defaults.baseURL = window.location.protocol + "//" + host.split(":")[0] + ":6023" + "/"
|
||||||
// axios.defaults.baseURL = 'http://zhgd.loganwy.com/'
|
// axios.defaults.baseURL = 'http://zhgd.loganwy.com/'
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,14 +1,89 @@
|
|||||||
<template>
|
<template>
|
||||||
<Card title="人员管理">
|
<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>
|
</Card>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Card from '../components/Card.vue'
|
import Card from "../components/Card.vue";
|
||||||
export default {
|
export default {
|
||||||
components: { Card }
|
components: { Card }
|
||||||
}
|
};
|
||||||
</script>
|
</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>
|
||||||
|
|||||||
@ -85,7 +85,7 @@
|
|||||||
class="uploadBtn"
|
class="uploadBtn"
|
||||||
ref="upload"
|
ref="upload"
|
||||||
name="files"
|
name="files"
|
||||||
action="http://182.90.224.237:7000/upload/image"
|
action="http://47.97.202.104:6023/upload/image"
|
||||||
:show-file-list="true"
|
:show-file-list="true"
|
||||||
:data="uploadParams"
|
:data="uploadParams"
|
||||||
:on-change="changeUpload"
|
:on-change="changeUpload"
|
||||||
@ -322,13 +322,14 @@ export default {
|
|||||||
getJlwConfigApi({
|
getJlwConfigApi({
|
||||||
projectSn: this.$store.state.projectSn,
|
projectSn: this.$store.state.projectSn,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
// console.log('-----有吗',res)
|
console.log('-----有吗',res)
|
||||||
// if (res.result) {
|
if (res.result) {
|
||||||
// this.configForm = res.result;
|
this.configForm = res.result.bimfaceConfig;
|
||||||
// this.loadData();
|
// this.configForm.appKey = res.result.bimfaceConfig
|
||||||
// } else {
|
this.loadData();
|
||||||
// this.configDialog = true;
|
} else {
|
||||||
// }
|
this.configDialog = true;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user