ruoyi-ui/src/views/honor/index.vue
@@ -187,6 +187,9 @@
      <el-table-column label="获得时间" prop="getDate" sortable width="170" align="center" >
        <template slot-scope="scope">{{scope.row.getDate? scope.row.getDate: '————'}}</template>
      </el-table-column>
      <el-table-column label="存放位置" prop="location" sortable width="170" align="center" >
        <template slot-scope="scope">{{scope.row.location? scope.row.location: '————'}}</template>
      </el-table-column>
      <el-table-column label="电子文件" prop="url" width="160" align="center">
        <template slot-scope="scope" >
          <img
@@ -228,12 +231,12 @@
            v-hasPermi="['system:role:remove']"
          >删除</el-button>
<!--          <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>
        </template>
      </el-table-column>
    </el-table>
@@ -626,7 +629,7 @@
    /** 查看详细信息 */
    handleCheck(row){
      const id = row.id;
      this.$router.push("/familymodel/Doctor/doctorInfo/" + id);
      this.$router.push("/self/honor/honorInfo/" + id);
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
@@ -634,7 +637,7 @@
      let jd = true
      this.$router.push({
        path:"/familymodel/Doctor/doctorInfo/" + id,
        path:"/self/honor/honorInfo/" + id,
        query:{
          detail:jd
        }