| | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col :span="1.5"> |
| | | <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd" |
| | | v-hasPermi="['system:donorcharge:add']">新增</el-button> |
| | | >新增</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate" |
| | | v-hasPermi="['system:donorcharge:edit']">修改</el-button> |
| | | >修改</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete" |
| | | v-hasPermi="['system:donorcharge:remove']">删除</el-button> |
| | | >删除</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button type="warning" plain icon="el-icon-download" size="mini" :loading="exportLoading" @click="handleExport" |
| | | v-hasPermi="['system:donorcharge:export']">导出</el-button> |
| | | >导出</el-button> |
| | | </el-col> |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | |
| | | <span>{{ parseTime(scope.row.donatetime, '{y}-{m}-{d}') }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="案例编号" align="center" prop="donateno" /> |
| | | <el-table-column label="住院号" align="center" prop="donateno" /> |
| | | <el-table-column label="捐献姓名" align="center" prop="name" /> |
| | | <el-table-column label="捐献类别" align="center" prop="donationcategory" /> |
| | | <el-table-column label="捐献器官" align="center" prop="donateorgan" /> |
| | |
| | | <el-table-column label="操作" align="center"> |
| | | <template slot-scope="scope"> |
| | | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['system:donorcharge:edit']">修改</el-button> |
| | | >修改</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleDetail(scope.row)" |
| | | v-hasPermi="['system:donorcharge:edit']">详情</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
| | | v-hasPermi="['system:donorcharge:remove']">删除</el-button> |
| | | >详情</el-button> |
| | | <el-button size="mini" type="text" @click="handleDelete(scope.row)" |
| | | ><span class="button-delete" |
| | | ><i class="el-icon-delete"></i>删除</span |
| | | ></el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | curdonorinfo = item; |
| | | } |
| | | }); |
| | | console.log(curdonorinfo,'curdonorinfo'); |
| | | this.showSelectionDialog = false; |
| | | this.$router.push({ |
| | | path: "/finance/donorchargedetail/", |
| | |
| | | this.showSelectionDialog = true; |
| | | }; |
| | | |
| | | /** |
| | | /** |
| | | this.reset(); |
| | | this.open = true; |
| | | this.title = "捐献案例器官费用情况"; |
| | |
| | | query: { id: row.id, operation: "update", data: row } |
| | | }); |
| | | |
| | | /** |
| | | /** |
| | | this.reset(); |
| | | const id = row.id || this.ids |
| | | getDonorcharge(id).then(response => { |
| | |
| | | } |
| | | }; |
| | | </script> |
| | | <style scoped> |
| | | /* @import url(); 引入公共css类 */ |
| | | .button-delete{ |
| | | color: rgb(236, 69, 69); |
| | | } |
| | | </style> |