| | |
| | | <div class="checkboxgroup"> |
| | | <p>统计参数</p> |
| | | <div class="checkboxgroup_con"> |
| | | |
| | | <a-checkbox-group name="checkboxgroup" :value="option" :options="plainOptions" @change="checkboxOnChange"/> |
| | | </div> |
| | | </div> |
| | |
| | | let equipment = param.equipmentId |
| | | getAction(this.url.initPlainOptions,{equipmentId:equipment}).then((res) => { |
| | | if (res.success) { |
| | | |
| | | let temp = [] |
| | | // debugger |
| | | for (var item of res.result) { |
| | |
| | | if(temp.length>0){ |
| | | that.option = [temp[0].value] |
| | | } |
| | | |
| | | } |
| | | }) |
| | | }, |
| | |
| | | }) |
| | | }, |
| | | handleCancel() { |
| | | this.visible = false |
| | | this.visible = false; |
| | | this.stratOpen = false; |
| | | this.endOpen = false; |
| | | }, |
| | | checkboxOnChange(e) { |
| | | if (e.length <= 3) { |