diff --git a/src/views/report/adverseRecordYearOnYear/index.vue b/src/views/report/adverseRecordYearOnYear/index.vue index b5ebb73..ff2e953 100644 --- a/src/views/report/adverseRecordYearOnYear/index.vue +++ b/src/views/report/adverseRecordYearOnYear/index.vue @@ -11,8 +11,13 @@ - - + + @@ -84,22 +89,18 @@ export default { year: new Date().getFullYear().toString(), productionLine: 'CX_02' }, - option: [ - { - value: 'CX_01', - label: '一号线' - }, - { - value: 'CX_02', - label: '二号线' - }, - ], tableTimeHead: [], - tableHead: ['今年1月', '去年1月', '今年2月', '去年2月', '今年3月', '去年3月', '今年4月', '去年4月', '今年5月', '去年5月', '今年6月', '去年6月', '今年7月', '去年7月', '今年8月', '去年8月', '今年9月', '去年9月', '今年10月', '去年10月', '今年11月', '去年11月', '今年12月', '去年12月',] + tableHead: ['今年1月', '去年1月', '今年2月', '去年2月', '今年3月', '去年3月', '今年4月', '去年4月', '今年5月', '去年5月', '今年6月', '去年6月', '今年7月', '去年7月', '今年8月', '去年8月', '今年9月', '去年9月', '今年10月', '去年10月', '今年11月', '去年11月', '今年12月', '去年12月',], + // 产线选项 + productLineList: [] } }, created() { this.form.year = new Date().getFullYear().toString() + findProductLineList({ productLineType: 1 }).then(response => { + this.productLineList = response.data + this.onSubmit(); + }) }, methods: { onSubmit() { diff --git a/src/views/report/exceptionProcess/index.vue b/src/views/report/exceptionProcess/index.vue index e8dd9d6..1fbf6f7 100644 --- a/src/views/report/exceptionProcess/index.vue +++ b/src/views/report/exceptionProcess/index.vue @@ -108,7 +108,7 @@ - +