| | |
| | | <el-table-column label="单位名称" prop="name" align="center" /> |
| | | <el-table-column label="负责人" prop="major" align="center" /> |
| | | <el-table-column label="联系电话" prop="phone" align="center"/> |
| | | <el-table-column label="当前剩余课时(分)" prop="remainPeriodMin" align="center" width="150" /> |
| | | <el-table-column label="累计已用课时(分)" prop="spendPeriodMin" align="center" width="150"> |
| | | <template #default="scope"> |
| | | <span>{{((scope.row.totalPeriod -scope.row.remainPeriod)/60).toFixed(2).replace(/\.00$/, '') + '分钟' }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="总课时(分)" prop="totalPeriodMin" align="center"/> |
| | | <el-table-column label="课时变动详情" align="center" class-name="small-padding fixed-width" > |
| | | <template #default="scope"> |
| | | <el-button link type="primary" @click="openDetail(scope.row)">查看详情</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <!-- <el-table-column label="当前剩余课时(分)" prop="remainPeriodMin" align="center" width="150" />--> |
| | | <!-- <el-table-column label="累计已用课时(分)" prop="spendPeriodMin" align="center" width="150">--> |
| | | <!-- <template #default="scope">--> |
| | | <!-- <span>{{((scope.row.totalPeriod -scope.row.remainPeriod)/60).toFixed(2).replace(/\.00$/, '') + '分钟' }}</span>--> |
| | | <!-- </template>--> |
| | | <!-- </el-table-column>--> |
| | | <!-- <el-table-column label="总课时(分)" prop="totalPeriodMin" align="center"/>--> |
| | | <!-- <el-table-column label="课时变动详情" align="center" class-name="small-padding fixed-width" >--> |
| | | <!-- <template #default="scope">--> |
| | | <!-- <el-button link type="primary" @click="openDetail(scope.row)">查看详情</el-button>--> |
| | | <!-- </template>--> |
| | | <!-- </el-table-column>--> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200" > |
| | | <template #default="scope"> |
| | | <el-button link type="primary" @click="openDialog('distribute',scope.row)">分配课时</el-button> |
| | | <!-- <el-button link type="primary" @click="openDialog('distribute',scope.row)">分配课时</el-button>--> |
| | | <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['systemCompany:edit']">编辑</el-button> |
| | | <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['systemCompany:del']">删除</el-button> |
| | | </template> |