| | |
| | | :table-loading="loading" @current-change="currentChange" @refresh-change="refreshChange" |
| | | @on-load="onLoad" @search-change="searchChange" @size-change="sizeChange"> |
| | | <template #menu-left> |
| | | <el-button v-if="hasAddBtnPermission()" type="primary" icon="el-icon-plus" @click="handleAdd">新建工单</el-button> |
| | | <el-button v-if="hasAddBtnPermission() && activeTab!='WAIT_AUDIT'" type="primary" icon="el-icon-plus" >新建工单</el-button> |
| | | <el-button type="success" plain icon="el-icon-download" @click="exportData">导出</el-button> |
| | | </template> |
| | | |
| | |
| | | </el-tabs> |
| | | |
| | | <!-- 新建工单对话框 --> |
| | | <el-dialog v-model="dialogVisible" title="新建工单" width="70%" :close-on-click-modal="false" @close="resetForm"> |
| | | <el-dialog v-model="dialogVisible" title="新建工单" width="70%" :close-on-click-modal="false" @close="resetForm"> |
| | | |
| | | |
| | | <el-form :model="form" :rules="rules" ref="testform" label-width="100px"> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | |
| | | }, |
| | | formatCycleTime(row) { |
| | | return row.begin_time + '-' + row.end_time + '<br/>' |
| | | + row.rep_rule_type + row.rep_rule_val |
| | | + row.rep_rule_val |
| | | }, |
| | | |
| | | async fetchTableData() { |