Browse Source

Merge pull request '客户需求管理工作台优化' (#138) from wangxy into develop

Reviewed-on: http://101.201.121.115:3000/leo/LAPP_AdvancedPlanner_Front/pulls/138
pull/139/head
wangxy 3 years ago
parent
commit
a3ce401ea4
5 changed files with 20 additions and 37 deletions
  1. +4
    -28
      src/assets/css/base.css
  2. +3
    -3
      src/views/plan/workbench/homePage/formal/analysis/commonLineChart.vue
  3. +8
    -4
      src/views/plan/workbench/homePage/formal/analysis/index.vue
  4. +1
    -1
      src/views/plan/workbench/homePage/formal/analysis/lineBarChart.vue
  5. +4
    -1
      src/views/plan/workbench/materialAnalysis/filter/index.vue

+ 4
- 28
src/assets/css/base.css View File

@ -23,33 +23,12 @@ li {
height: 100%;
}
/* table样式 */
.el-table th {
background: linear-gradient(180deg, #FAFCFC 0%, #EEEEEE 47%, #E7E7E7 100%);
}
.el-table--border td {
border-bottom: 2px solid #D5D5D5;
}
.el-table--border td {
border-right: 2px solid #D5D5D5;
}
.el-table th.is-leaf {
border-right: none !important;
}
.el-table tr td:first-child {
border-left: 2px solid #D5D5D5;
}
.el-table thead {
color: #3D3D42;
}
.el-table th>.cell {
font-size: 16px;
font-family: PingFangSC-Medium, PingFang SC;
.el-table--mini td, .el-table--mini th {
padding: 3px 0;
color: #3D3D42;
}
.el-table .el-table__body .cell {
font-size: 14px;
font-family: PingFangSC-Medium, PingFang SC;
color: #5C5A5A;
.el-table__row:nth-child(even) {
background: #F7F7F7;
}
.el-table .el-table__body tr.current-row>td {
background: linear-gradient(180deg, #327e77 0%, #2c9b92 46%, #1e524d 100%);
@ -57,9 +36,6 @@ li {
.el-table .el-table__body tr.current-row>td div {
color: #fff;
}
.el-table--mini td, .el-table--mini th{
padding: 3px 0;
}
/* button样式 */
.el-button {
color: #5C5A5A;


+ 3
- 3
src/views/plan/workbench/homePage/formal/analysis/commonLineChart.vue View File

@ -60,7 +60,7 @@ export default {
yAxis: this.maxValue,
label: {
formatter: '{c}%{b}',
position: 'end'
position: 'middle'
}
},
{
@ -68,7 +68,7 @@ export default {
yAxis: this.minValue,
label: {
formatter: '{c}%{b}',
position: 'end'
position: 'middle'
}
}
]
@ -96,7 +96,7 @@ export default {
grid: {
top: '10%',
left: '5%',
right: '15%',
right: '0%',
bottom: '0%',
containLabel: true
},


+ 8
- 4
src/views/plan/workbench/homePage/formal/analysis/index.vue View File

@ -10,7 +10,7 @@
<el-radio label="2">环比</el-radio>
</el-radio-group>
</div>
<div class="mt30">
<div class="mt30" @change="singleRadioChange">
<el-radio v-model="allTheSingle" label="1">所有超差</el-radio>
<el-radio v-model="allTheSingle" label="2">指定零件</el-radio>
</div>
@ -59,12 +59,12 @@
</el-table>
</div>
</el-col>
<el-col :span="9">
<el-col :span="allTheSingle === '2' ? 9 : 11">
<div class="">
<CommonLineChart :dataList="dataList.PerCustomerDeviationDetailItem|| []" />
</div>
</el-col>
<el-col :span="7">
<el-col :span="allTheSingle === '2' ? 7 : 9">
<div class="">
<LineBarChart :dataList="dataList.CustomerDeviationDetailItem || []" />
</div>
@ -88,7 +88,7 @@ export default {
return {
queryParams: {},
withTheRingRadio: "1", //
allTheSingle: "1", //
allTheSingle: "2", //
versionData: [], //
tableData: [],
loading: false,
@ -134,6 +134,10 @@ export default {
ringRadioChange() {
this.queryParams.versionId = ''
},
//
singleRadioChange() {
this.getLineBarChartData()
},
//
handleQuery() {
if (this.allTheSingle === '1') {


+ 1
- 1
src/views/plan/workbench/homePage/formal/analysis/lineBarChart.vue View File

@ -81,7 +81,7 @@ export default {
grid: {
top: '10%',
left: '5%',
right: '15%',
right: '0%',
bottom: '0%',
containLabel: true
},


+ 4
- 1
src/views/plan/workbench/materialAnalysis/filter/index.vue View File

@ -6,6 +6,8 @@
<el-form class="clearfix">
<el-form-item label="原材料">
<el-select
filterable
clearable
style="width: 230px;"
v-model="queryParams.artcle"
placeholder="请选择原材料">
@ -17,6 +19,7 @@
</el-form-item>
<el-form-item label="规格">
<el-select
clearable
style="width: 230px;"
v-model="queryParams.optionId"
placeholder="请选择规格">
@ -63,7 +66,7 @@ export default {
},
created() {
//
get(`/admin/base/article/selectlist`, {ArtTypeId: 'MATERIALS'}).then(({ code, data }) => {
get(`/admin/base/article/selectdata`, {ArtTypeId: 'MATERIALS'}).then(({ code, data }) => {
if (code === 200) {
this.specificationsData = data
}


Loading…
Cancel
Save