WXL
5 天以前 4c9fdc87987140e8b2c3f0dfc2f6608cdb6be774
src/views/project/donorcharge/donorcharge/index.vue
@@ -22,19 +22,19 @@
    <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>
@@ -46,7 +46,7 @@
          <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" />
@@ -56,11 +56,11 @@
      <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>
          <el-button size="mini" type="text" @click="handleDelete(scope.row)"
            v-hasPermi="['system:donorcharge:remove']"><span class="button-delete"
><span class="button-delete"
              ><i class="el-icon-delete"></i>删除</span
            ></el-button>
        </template>
@@ -290,6 +290,7 @@
          curdonorinfo = item;
        }
      });
      console.log(curdonorinfo,'curdonorinfo');
      this.showSelectionDialog = false;
      this.$router.push({
        path: "/finance/donorchargedetail/",
@@ -388,7 +389,7 @@
        this.showSelectionDialog = true;
      };
      /**
      /**
      this.reset();
      this.open = true;
      this.title = "捐献案例器官费用情况";
@@ -403,7 +404,7 @@
        query: { id: row.id, operation: "update", data: row }
      });
      /**
      /**
      this.reset();
      const id = row.id || this.ids
      getDonorcharge(id).then(response => {