|
@@ -164,7 +164,15 @@
|
|
<div v-if="abnormal.chart1.isChart">
|
|
<div v-if="abnormal.chart1.isChart">
|
|
<div id="chartLine3" v-loading="abnormal.chart1.listLoading" style="height:420px;" />
|
|
<div id="chartLine3" v-loading="abnormal.chart1.listLoading" style="height:420px;" />
|
|
</div>
|
|
</div>
|
|
- <div v-else style="margin: 10px 10px;">
|
|
|
|
|
|
+ <div v-else style="margin: 10px 10px;">
|
|
|
|
+ <el-select v-model="abnormal.value2" style="width:100px;margin-right: 5px;margin-bottom:10px;" class="filter-item" @change="changeformula('3')">
|
|
|
|
+ <el-option v-for="item in abnormal.formulaList" :key="item.value" :label="item.label" :value="item.value">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ <el-select v-model="abnormal.value2" style="width:100px;margin-right: 5px;margin-bottom:10px;" class="filter-item" @change="changeformula('3')">
|
|
|
|
+ <el-option v-for="item in abnormal.formulaList" :key="item.value" :label="item.label" :value="item.value">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
<el-table :data="abnormal.chart1.tableDataList1" border style="width: 100%;" :max-height="410"
|
|
<el-table :data="abnormal.chart1.tableDataList1" border style="width: 100%;" :max-height="410"
|
|
:row-style="rowStyle" :cell-style="cellStyle" class="elTable">
|
|
:row-style="rowStyle" :cell-style="cellStyle" class="elTable">
|
|
<el-table-column label="牧场" min-width="130px" align="center" prop="pasture_name" />
|
|
<el-table-column label="牧场" min-width="130px" align="center" prop="pasture_name" />
|
|
@@ -370,7 +378,7 @@
|
|
start2.setTime(start2.getTime() - 3600 * 1000 * 24 * 31)
|
|
start2.setTime(start2.getTime() - 3600 * 1000 * 24 * 31)
|
|
end2.setTime(end2.getTime() - 3600 * 1000 * 24 * 1)
|
|
end2.setTime(end2.getTime() - 3600 * 1000 * 24 * 1)
|
|
that.abnormal.inputDatetime = [start2, end2]
|
|
that.abnormal.inputDatetime = [start2, end2]
|
|
- // that.getFormulaList()
|
|
|
|
|
|
+ that.getFormulaList()
|
|
},
|
|
},
|
|
getFormulaList() {
|
|
getFormulaList() {
|
|
let page = 1
|
|
let page = 1
|