Merge remote-tracking branch 'origin/dev' into dev
| | |
| | | plain |
| | | icon="Plus" |
| | | @click="handleAdd" |
| | | v-hasPermi="['aps:calendar:update']" |
| | | v-hasPermi="['aps:calendar:add']" |
| | | >新增</el-button |
| | | > |
| | | </el-col> |
| | |
| | | width: 150, |
| | | align: "center", |
| | | }, |
| | | { |
| | | title: "专业", |
| | | field: "major", |
| | | width: 150, |
| | | align: "center", |
| | | }, |
| | | ]); |
| | | |
| | | const data = reactive({ |
| | |
| | | > --> |
| | | <template #default="{ row }"> |
| | | <template v-if="hasEditStatus(row)"> |
| | | <el-button @click="saveRowEvent(row)">保存</el-button> |
| | | <el-button @click="saveRowEvent(row)" v-hasPermi="['aps:gasPipelineCapacityPlan:add']">保存</el-button> |
| | | <el-button @click="cancelRowEvent()">取消</el-button> |
| | | </template> |
| | | <template v-else> |
| | |
| | | > --> |
| | | <template #default="{ row }"> |
| | | <template v-if="hasEditStatus1(row)"> |
| | | <el-button @click="saveRowEvent1(row)">保存</el-button> |
| | | <el-button @click="saveRowEvent1(row)" v-hasPermi="['aps:gasPipelineCapacityPlan:add']">保存</el-button> |
| | | <el-button @click="cancelRowEvent1()">取消</el-button> |
| | | </template> |
| | | <template v-else> |
| | |
| | | plain |
| | | icon="Download" |
| | | @click="handleExport" |
| | | v-hasPermi="['apsPartRouteStat:export']" |
| | | v-hasPermi="['aps:apsGasPipingRouteStat:exportExcel']" |
| | | >导出</el-button |
| | | > |
| | | </el-col> |
| | |
| | | plain |
| | | icon="Refresh" |
| | | @click="handleRefresh" |
| | | v-hasPermi="['apsPartRouteStat:edit']" |
| | | v-hasPermi="['aps:apsGasPipingRouteStat:computeCapacity']" |
| | | >更新</el-button |
| | | > |
| | | </el-col> |
| | |
| | | plain |
| | | icon="Download" |
| | | @click="handleExport" |
| | | v-hasPermi="['apsPartRouteStat:export']" |
| | | v-hasPermi="['aps:apsGasPipingRouteStat:exportExcel']" |
| | | >导出</el-button |
| | | > |
| | | </el-col> |
| | |
| | | plain |
| | | icon="Refresh" |
| | | @click="handleRefresh" |
| | | v-hasPermi="['apsPartRouteStat:edit']" |
| | | v-hasPermi="['aps:apsGasPipingRouteStat:computeCapacity']" |
| | | >更新</el-button |
| | | > |
| | | </el-col> |