修复衢州版的样式以及跳转

This commit is contained in:
骆乐 2022-07-21 16:19:45 +08:00
parent e281d53283
commit 2bab395e89
8 changed files with 39 additions and 28 deletions

View File

@ -140,19 +140,19 @@ export default {
this.seeEquipment = this.$store.state.userInfo.seeEquipment;
this.loginData = JSON.parse(localStorage.getItem('systemInfo'))
console.log(' this.loginData', this.loginData)
if( this.loginData.headerConfiguration != null){
if( this.loginData.headerConfiguration != ""){
this.headerConfiguration = this.loginData.headerConfiguration
}
if( this.loginData.projectBackground != null){
if( this.loginData.projectBackground != ""){
this.projectBackground = this.loginData.projectBackground
}
if( this.loginData.enterpriseBackground != null){
if( this.loginData.enterpriseBackground != ""){
this.enterpriseBackground = this.loginData.enterpriseBackground
}
if(this.loginData.equipmentChina !=null ){
if(this.loginData.equipmentChina != "" ){
this.equipmentChina = this.loginData.equipmentChina
}
if(this.loginData.dataCenter != null){
if(this.loginData.dataCenter != ""){
this.dataCenter1 = this.loginData.dataCenter
}
// console.log('',this.projectBackground)

View File

@ -52,13 +52,15 @@
@selection-change="handleSelectionChange" :empty-text="'请选择条件进行查询'"
>
<el-table-column type="selection" width="55"> </el-table-column>
<el-table-column :label="$t('message.laborMange.compellation')">
<el-table-column :label="$t('message.laborMange.compellation')" width="100">
<template slot-scope="scope">{{ scope.row.workerName }}</template>
</el-table-column>
<el-table-column prop="sex" :label="$t('message.laborMange.sex')">
<el-table-column prop="sex" :label="$t('message.laborMange.sex')" width="80">
<template slot-scope="scope">{{ scope.row.sex==1?$t('message.laborMange.man'):$t('message.laborMange.female') }}</template>
</el-table-column>
<el-table-column prop="idCard" :label="$t('message.laborMange.IdNumber')">
<el-table-column prop="idCard" :label="$t('message.laborMange.IdNumber')" width="200">
</el-table-column>
<el-table-column prop="nativePlace" label="籍贯">
</el-table-column>
<el-table-column prop="teamName" :label="$t('message.laborMange.team')">
</el-table-column>
@ -138,6 +140,7 @@ export default {
getTableData() {
getWorkerInfoList(this.searchForm).then((res) => {
this.multipleSelection=[]
console.log('有籍贯吗',res.result.records)
this.tableListData = res.result.records;
});
},

View File

@ -2,7 +2,7 @@
<template>
<div class="epidemicPrevention">
<div class="query" :class="styleType == 3 ? 'changeStyle' : ''">
<el-form ref="queryParams" :model="queryParams" :inline="true" label-width="120px">
<el-form size="medium" ref="queryParams" :model="queryParams" :inline="true" label-width="120px">
<el-form-item label="人员类型" prop="personType">
<el-select v-model="queryParams.personType" placeholder="请选择人员类型" clearable
:style="{width: '100%'}">

View File

@ -15,7 +15,7 @@
<el-col class="right-col" :span="19">
<el-row style="width: 100%;height: 100%">
<el-col class="top-col" :span="4" :class="styleType == 3 ? 'changeStyle' : ''">
<el-form :model="queryParams" ref="queryForm" :inline="true" label-width="120px">
<el-form size="medium" :model="queryParams" ref="queryForm" :inline="true" label-width="120px">
<el-form-item label="工资发放状态" prop="payStatus">
<el-select v-model="queryParams.payStatus" placeholder="请选择工资发放状态" clearable
:style="{width: '100%'}"
@ -70,7 +70,7 @@
</el-col>
<el-col class="bottom-col" :span="20" :class="styleType == 3 ? 'bottomTwo' : ''">
<vue-scroll>
<div class="scroll">
<div class="scroll" :class="styleType == 3 ? 'boxBottom' : ''">
<el-table v-loading="loading" :data="userList">
<el-table-column label="月份" align="center" prop="payMonth" />
<el-table-column label="姓名" align="center" prop="workerName" />
@ -468,4 +468,7 @@ export default {
.scroll {
overflow-y: auto;
}
.boxBottom{
margin-top:30px;
}
</style>

View File

@ -2,7 +2,7 @@
<template>
<div class="epidemicPrevention">
<div class="query">
<el-form ref="eduType" :model="queryParams" :inline="true" label-width="120px">
<el-form size="medium" ref="eduType" :model="queryParams" :inline="true" label-width="120px">
<el-form-item label="培训类型" prop="personType">
<el-select v-model="queryParams.eduType" placeholder="请选择培训类型" clearable
:style="{width: '100%'}">
@ -15,7 +15,7 @@
</el-input>
</el-form-item>
<el-form-item>
<el-button @click="handleQuery">查询</el-button>
<el-button size="medium" @click="handleQuery">查询</el-button>
</el-form-item>
</el-form>
</div>
@ -236,16 +236,17 @@ export default {
}
/* 查询表单 按钮样式 */
.query ::v-deep .el-button,
::v-deep .border-btn.el-button {
border-color: #4E7CFF;
color: #4E7CFF;
}
// .query ::v-deep .el-button,
// ::v-deep .border-btn.el-button {
// border-color: #4E7CFF;
// color: #4E7CFF;
// }
.scroll {
overflow-y: auto;
}
::v-deep .el-input__inner {
height: 40px !important;
}
// ::v-deep .el-input__inner {
// height: 32px !important;
// }
</style>

View File

@ -50,8 +50,8 @@
>
<div id="qrCode" ref="qrCodeDiv"></div>
<el-button slot="reference" @click="showQrCode = !showQrCode" style=" margin-left: 10px;"
>添加<i class="el-icon-arrow-down"></i></el-button
>
>添加</el-button>
<!-- <i class="el-icon-arrow-down"></i> -->
</el-popover>
</el-form-item>
</el-form>

View File

@ -159,12 +159,12 @@ export default {
box-sizing: border-box;
}
.screenItem {
width: 110px;
height: 40px;
width: 62px;
height: 32px;
border: 1px solid #606266;
border-radius: 5px;
color: #606266;
line-height: 40px;
line-height: 32px;
text-align: center;
margin-right: 20px;
}

View File

@ -16,7 +16,7 @@
<div class="bigScreen">
<img v-if="accountType == 5 || accountType == 6" style="width:18px; margin-right:6px;" src='@/assets/images/menu/screenicon.png' class="icon" />
<span v-if="accountType == 5 || accountType == 6" @click="toBigScreen()" style="margin-right:20px;">数据看板</span>
<img style="width:18px; margin-right:6px;" src='@/assets/images/menu/closeicon.png' class="icon" />
<img style="width:16px; margin-right:6px; margin-top:2px;" src='@/assets/images/menu/closeicon.png' class="icon" />
<span @click="toBack()">退出</span>
</div>
</div>
@ -171,7 +171,11 @@ export default {
methods: {
// 退
toBack(){
window.open("/index.html#/projectList", "_self");
if(this.accountType == 5 || this.accountType == 6){
window.open("/index.html#/login", "_self");
}else{
window.open("/index.html#/projectList", "_self");
}
localStorage.setItem('model','defaultModel')
localStorage.removeItem("active");
localStorage.removeItem("path");