diff --git a/jero-web/src/views/dashboard/Analysis.vue b/jero-web/src/views/dashboard/Analysis.vue index 0a4f847c..e487e7f6 100644 --- a/jero-web/src/views/dashboard/Analysis.vue +++ b/jero-web/src/views/dashboard/Analysis.vue @@ -1,8 +1,8 @@ - + 办理 @@ -105,7 +105,7 @@
- + 我的督办【{{ dataSource3.length }}】
- + 办理 @@ -197,11 +197,11 @@ const tempSs2 = [{ }] // 4-7天 -const tip_green = 'rgba(0, 255, 0, 1)' +const tipGreen = 'rgba(0, 255, 0, 1)' // 1-3天 -const tip_yellow = 'rgba(255, 255, 0, 1)' +const tipYellow = 'rgba(255, 255, 0, 1)' // 超期 -const tip_red = 'rgba(255, 0, 0, 1)' +const tipRed = 'rgba(255, 0, 0, 1)' export default { name: 'IndexTask', @@ -261,11 +261,11 @@ export default { getTipColor (rd) { const num = rd.restDay if (num <= 0) { - return tip_red + return tipRed } else if (num >= 1 && num < 4) { - return tip_yellow + return tipYellow } else if (num >= 4) { - return tip_green + return tipGreen } }, goPage () { @@ -282,8 +282,8 @@ export default { ifNullDataSource (ds, tb) { this.$nextTick(() => { - if (!ds || ds.length == 0) { - var tmp = document.createElement('img') + if (!ds || ds.length === 0) { + const tmp = document.createElement('img') tmp.src = noDataPng tmp.width = 300 const tbclass = `${tb} .ant-table-placeholder` @@ -314,7 +314,7 @@ export default { /*background: #90aeff;*/ background: #7196fb; } - .index-container-ty .ant-card-body{padding: 10px 12px 0px 12px} + .index-container-ty .ant-card-body{padding: 10px 12px 0 12px} /* .index-container-ty .ant-card-actions{background: #fff} .index-container-ty .ant-card-actions li {margin:2px 0;} @@ -323,7 +323,7 @@ export default { .index-container-ty .ant-table-footer{text-align: right;padding:6px 12px 6px 6px;background: #fff;border-top: 2px solid #f7f1f1;} .index-md-title{ - postion:relative; + position:relative; padding-left:24px; width: 100%; color: #fff;