| | |
| | | --> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="类型" prop="type" style="padding-left:180px"> |
| | | <el-form-item label="类型" prop="type" > |
| | | <el-input |
| | | v-model="queryParams.type" |
| | | placeholder="请输入类型" |
| | |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | | </div> |
| | | <el-table v-loading="loading" :data="doctorList" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" style="background: #FFEFF2; border-radius: 14px 14px 14px 14px;"> |
| | | <el-table v-loading="loading" :data="doctorList" @selection-change="handleSelectionChange" @row-click="handleCheck" :row-class-name="tableRowClassName" style="background: #FFEFF2; border-radius: 14px 14px 14px 14px;"> |
| | | <el-table-column type="selection" width="25" align="center" /> |
| | | <el-table-column label="序号" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="120"/> <el-table-column label="类型" prop="type" sortable width="80"> |
| | | <template slot-scope="scope">{{scope.row.type? scope.row.type: '————'}}</template> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | </el-table-column> |
| | | <!-- </el-table-column>--> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope" v-if="scope.row.roleId !== 1"> |
| | | <el-button |
| | |
| | | size="mini" |
| | | @command="(command) => handleCommand(command, scope.row)" |
| | | v-hasPermi="['system:role:edit']"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-d-arrow-right" |
| | | @click="handleCheck(scope.row)" |
| | | >查看详情</el-button> |
| | | <!-- <el-button--> |
| | | <!-- size="mini"--> |
| | | <!-- type="text"--> |
| | | <!-- icon="el-icon-d-arrow-right"--> |
| | | <!-- @click="handleCheck(scope.row)"--> |
| | | <!-- >查看详情</el-button>--> |
| | | |
| | | </el-dropdown> |
| | | </template> |
| | |
| | | var formData = new FormData(); |
| | | formData.append('excelImport', file); |
| | | let _this = this |
| | | |
| | | |
| | | enload(formData).then(response => { |
| | | _this.getList(); |
| | | Message({ message: "导入成功", type: 'warning' }) |
| | | |
| | | }).catch(() => { Message({ message: "导入失败", type: 'error' })}); |
| | | |
| | | |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | | <style> |
| | | |
| | | .app-container{ |
| | | background-color: #FEF7FC; |
| | | } |
| | | .el-table__row.statistics-warning-row { |
| | | background: #E0EEFE; |
| | | |