| src/components/date-select/index.vue | ●●●●● patch | view | raw | blame | history | |
| src/views/manage/index.vue | ●●●●● patch | view | raw | blame | history |
src/components/date-select/index.vue
@@ -57,6 +57,8 @@ this.$parent.getCltjTime(currentTime) } else if (this.type == 'symSelect') { this.$parent.getSymTime(currentTime) } else if (this.type == 'ncpjgSelect') { this.$parent.productsSupervise(currentTime) } }, selectChange (e) { @@ -71,6 +73,8 @@ this.$parent.getCltjTime(currentTime) } else if (this.type == 'symSelect') { this.$parent.getSymTime(currentTime) } else if (this.type == 'ncpjgSelect') { this.$parent.productsSupervise(currentTime) } }, gettime (data) { src/views/manage/index.vue
@@ -182,7 +182,7 @@ </div> </div> <div class="dataChoose"> <date-select :type="'nztrSelect'" v-if="trpOrNcp == 'ncp'"></date-select> <date-select :type="'ncpjgSelect'" v-if="trpOrNcp == 'ncp'"></date-select> </div> <div class="more" @click="popDetailedSupervise"> 明细 @@ -735,7 +735,7 @@ // 农事操作 this.farmingRecords() // 农产品监管 this.productsSupervise(n) this.productsSupervise(y) // 农资出入库记录 this.pageCountNzCrk() // 溯源次数统计 @@ -1415,6 +1415,9 @@ params.year = year productsSupervise(Object.assign(params)).then((res) => { this.NcpJg = res.data.data if (this.trpOrNcp == 'ncp') { this.initNcpBar("TrpEcharts") } }) }, // 农产品投入 @@ -1438,7 +1441,10 @@ this.nztr = res.data.data.records this.nztrAll = res.data.data.records // 投入品监管图表 // this.initTrpBar("TrpEcharts") if (this.trpOrNcp == "trp") { this.initTrpBar("TrpEcharts") } }) }, // 统计市场流通/去年流通量/本月流通量