Browse Source

modify code

tags/v1.21.12.1
Gitea 4 years ago
parent
commit
9dd6f5de9c
3 changed files with 24 additions and 13 deletions
  1. +2
    -1
      web_src/js/components/DataAnalysis.vue
  2. +11
    -3
      web_src/js/components/ProAnalysis.vue
  3. +11
    -9
      web_src/js/components/UserAnalysis.vue

+ 2
- 1
web_src/js/components/DataAnalysis.vue View File

@@ -20,7 +20,7 @@
项目分析 项目分析
</span> </span>
</el-tab-pane> </el-tab-pane>
<el-tab-pane name="third" >
<el-tab-pane name="third" id='third'>
<span slot='label'> <span slot='label'>
<el-image style="width: 13px; height: 13px" src="/img/name.png"> <el-image style="width: 13px; height: 13px" src="/img/name.png">
</el-image> </el-image>
@@ -72,6 +72,7 @@
this.reload() this.reload()
this.isSecond = false this.isSecond = false
this.isThird = true this.isThird = true
this.$refs.UserAnalysis.resetPage()
this.$refs.UserAnalysis.getUpdateTime() this.$refs.UserAnalysis.getUpdateTime()
this.$refs.UserAnalysis.getUserList("all_usr",7) this.$refs.UserAnalysis.getUserList("all_usr",7)




+ 11
- 3
web_src/js/components/ProAnalysis.vue View File

@@ -1072,13 +1072,21 @@
.btn:active{ .btn:active{
background-color:#409effd6 ; background-color:#409effd6 ;
} */ } */
/deep/ .el-date-picker {
width: 200px;
}
/* /deep/ .el-date-picker {
width: 250px;
} */
/deep/ .el-table tbody tr:hover>td { /deep/ .el-table tbody tr:hover>td {
background-color:#D3D3D3!important; background-color:#D3D3D3!important;
opacity:1 opacity:1
} }
/deep/ .el-table {
font-size: 12px;
}
/deep/ .el-range-separator{
width: 20% !important;
}

.colorChange { .colorChange {
background-color: #409effd6; background-color: #409effd6;
color: #FFFF; color: #FFFF;


+ 11
- 9
web_src/js/components/UserAnalysis.vue View File

@@ -163,7 +163,7 @@
lastUpdatedTime:'', lastUpdatedTime:'',
page:1, page:1,
pageSize:10, pageSize:10,
params:{startDate:'',endDate:'',page:1,pagesize:10,userName:''},
params:{startDate:'',endDate:'',page:1,pageSize:10,userName:''},
tableData: [], tableData: [],
totalNum:0, totalNum:0,
pickerOptions: { pickerOptions: {
@@ -203,7 +203,7 @@
handleCurrentChange(val){ handleCurrentChange(val){
this.params.page = val this.params.page = val
this.page = val this.page = val
getUserList(this.type_val,this.dynamic)
this.getUserList(this.type_val,this.dynamic)


}, },
resetPage(){ resetPage(){
@@ -320,7 +320,6 @@
this.$axios.get('../tool/query_user_static_page',{ this.$axios.get('../tool/query_user_static_page',{
params:this.params params:this.params
}).then((res)=>{ }).then((res)=>{
this.currentPage = 1
this.tableData = res.data.data this.tableData = res.data.data
// console.log("res.data:"+res.data.data) // console.log("res.data:"+res.data.data)
@@ -407,8 +406,8 @@
}, },
mounted() { mounted() {
document.getElementById("all_usr").style.outline="none"
document.getElementById("all_usr").focus()
// document.getElementById("all_usr").style.outline="none"
// document.getElementById("all_usr").focus()
this.getUserList("all_usr",7) this.getUserList("all_usr",7)
}, },
created() { created() {
@@ -462,16 +461,19 @@
.btn:active{ .btn:active{
background-color:#409effd6 ; background-color:#409effd6 ;
} */ } */
/deep/ .el-date-picker {
width: 200px;
}
/* /deep/ .el-date-picker {
width: 220px;
} */
/deep/ .el-table { /deep/ .el-table {
font-size: 12px; font-size: 12px;
} }
/deep/ .el-table tbody tr:hover>td { /deep/ .el-table tbody tr:hover>td {
background-color:#D3D3D3!important; background-color:#D3D3D3!important;
opacity:1 opacity:1
}
}
/deep/ .el-range-separator{
width: 20% !important;
}


.colorChange { .colorChange {
background-color: #409effd6; background-color: #409effd6;


Loading…
Cancel
Save