| | |
| | | :props="props" |
| | | collapse-tags |
| | | clearable |
| | | ></el-cascader> |
| | | /> |
| | | </div> |
| | | <div> |
| | | <el-select |
| | |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | /> |
| | | </el-select> |
| | | </div> |
| | | <component |
| | | :is="dataType" |
| | | style="padding-left: 0; margin-left: 20px; width: 160px" |
| | | @sendPickerChild="showPickerChild" |
| | | class="select11" |
| | | @sendPickerChild="showPickerChild" |
| | | /> |
| | | |
| | | <!-- <el-button type="primary" @click="toExcel()" style="margin-left: 20px" |
| | |
| | | <el-dropdown |
| | | split-button |
| | | type="primary" |
| | | style="margin-left: 20px" |
| | | @click="toExcel()" |
| | | @command="handleCommand" |
| | | style="margin-left: 20px" |
| | | > |
| | | 导出 |
| | | <el-dropdown-menu slot="dropdown"> |
| | | <el-dropdown-item command="expNew">导出(新)</el-dropdown-item> |
| | | <el-dropdown-item command="expNew"> |
| | | 导出(新) |
| | | </el-dropdown-item> |
| | | </el-dropdown-menu> |
| | | </el-dropdown> |
| | | <el-button @click="exportMon" style="margin-left: 10px">查询</el-button> |
| | | <el-button |
| | | style="margin-left: 10px" |
| | | @click="exportMon" |
| | | > |
| | | 查询 |
| | | </el-button> |
| | | </div> |
| | | <el-table |
| | | :data="dateList" |
| | | id="exportTab" |
| | | :data="dateList" |
| | | style="margin-top: 20px" |
| | | border |
| | | max-height="800" |
| | | > |
| | | <el-table-column |
| | | v-for="item in columnList" |
| | | :key="item" |
| | | :prop="item" |
| | | :label="item" |
| | | width="180px" |
| | | :key="item" |
| | | > |
| | | </el-table-column> |
| | | /> |
| | | <!-- <el-table-column |
| | | v-for="item in columnList" |
| | | :prop="item.props" |
| | |
| | | label: this.defaultData[i].name, |
| | | }) |
| | | this.options[i].children = [] |
| | | if (this.defaultData[i].devices) { |
| | | for (let j = 0; j < this.defaultData[i].devices.length; j++) { |
| | | this.options[i].children.push({ |
| | | value: [ |
| | |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | }) |
| | | .catch((error) => { |
| | | console.log(error) |