| | |
| | | |
| | | <template slot-scope="{type,disabled}" slot="cronForm"> |
| | | <el-input placeholder="请选择cron"> |
| | | <el-button slot="append" icon="el-icon-s-tools" @click="cronPopover = true"></el-button> |
| | | <el-button slot="append" icon="el-icon-s-tools" @click="handlerClick()"></el-button> |
| | | </el-input> |
| | | </template> |
| | | |
| | |
| | | </el-dialog> |
| | | |
| | | |
| | | <el-popover v-model="cronPopover"> |
| | | |
| | | |
| | | <el-dialog title="Cron" append-to-body :visible.sync="cronPopover" width="550px"> |
| | | <!-- <el-popover v-model="cronPopover"> --> |
| | | |
| | | <!-- <div> 测试 </div> --> |
| | | <vueCron @change="changeCron" @close="cronPopover=false" i18n="cn"/> |
| | | <!-- <el-input |
| | | slot="reference" |
| | |
| | | placeholder="定时策略" |
| | | @click="cronPopover=true" |
| | | /> --> |
| | | </el-popover> |
| | | <!-- </el-popover> --> |
| | | </el-dialog> |
| | | |
| | | </basic-container> |
| | | </template> |
| | |
| | | this.loading = false |
| | | this.selectionClear() |
| | | }) |
| | | }, |
| | | handlerClick(){ |
| | | console.log("111") |
| | | this.cronPopover = true; |
| | | } |
| | | } |
| | | } |