样式以及内容调整

1212-八项作业迁移
zhaoyu 2023-12-05 10:20:46 +08:00
parent 40f3aeb35a
commit 2bdcf05d4d
1 changed files with 29 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<el-row> <el-row>
<el-col :span="4"> <el-col :span="4">
<el-form-item label="分公司"> <el-form-item label="分公司">
<el-select v-model="searchForm.FGS_ID" clearable placeholder="请选择分公司"> <el-select v-model="searchForm.FGS_ID" clearable placeholder="请选择分公司">
<el-option v-for="item in fgsList" :key="item.CORPINFO_ID" :label="item.CORP_NAME" :value="item.CORPINFO_ID" /> <el-option v-for="item in fgsList" :key="item.CORPINFO_ID" :label="item.CORP_NAME" :value="item.CORPINFO_ID" />
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -23,6 +23,11 @@
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
<div class="app-statistical">
<span>
本企业共有员工:<i>{{ userNum }}</i>
</span>
</div>
<el-table v-loading="listLoading" ref="multipleTable" :data="varList" :row-key="getRowKey" :header-cell-style="{'font-weight': 'bold','color': '#000'}" tooltip-effect="dark" border fit highlight-current-row> <el-table v-loading="listLoading" ref="multipleTable" :data="varList" :row-key="getRowKey" :header-cell-style="{'font-weight': 'bold','color': '#000'}" tooltip-effect="dark" border fit highlight-current-row>
<el-table-column :reserve-selection="true" type="selection" width="55" align="center" /> <el-table-column :reserve-selection="true" type="selection" width="55" align="center" />
<el-table-column type="index" label="序号" width="50" align="center" /> <el-table-column type="index" label="序号" width="50" align="center" />
@ -115,6 +120,7 @@ export default {
}, },
PARENTID: '0', PARENTID: '0',
fgsList: [], fgsList: [],
userNum: '',
datePage: 0, datePage: 0,
USER_ID: '', USER_ID: '',
LOGIN_USER: JSON.parse(sessionStorage.getItem('user')).USER_ID LOGIN_USER: JSON.parse(sessionStorage.getItem('user')).USER_ID
@ -148,6 +154,7 @@ export default {
this.listLoading = false this.listLoading = false
this.varList = data.varList this.varList = data.varList
this.fgsList = data.fgsList this.fgsList = data.fgsList
this.userNum = data.userNum
console.log(this.varList) console.log(this.varList)
this.total = data.page.totalResult this.total = data.page.totalResult
}).catch((e) => { }).catch((e) => {
@ -320,6 +327,27 @@ export default {
display: block; display: block;
} }
.app-statistical {
padding: 8px 20px 8px 20px;
border: 1px solid #abdcff;
background-color: #f0faff;
position: relative;
border-radius: 4px;
color: #515a6e;
line-height: 16px;
margin-bottom: 15px;
span {
margin-right: 20px;
font-size: 12px;
i {
font-style: normal;
font-weight: 700;
color: rgb(45, 140, 240);
}
}
}
</style> </style>
<style lang="sass" scoped> <style lang="sass" scoped>