ruoyi-ui/src/views/collection/index.vue
@@ -154,7 +154,7 @@
        <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
      </el-row>
    </div>
    <el-table v-loading="loading" :data="collectionList" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" style="background: #FFEFF2;  border-radius: 14px 14px 14px 14px;">
    <el-table v-loading="loading" :data="collectionList" @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="序号" prop="id" sortable width="80" />-->
      <el-table-column label="获得时间" prop="happenTime" sortable width="100" align="center">
@@ -180,14 +180,10 @@
      </el-table-column>
      <el-table-column label="电子文件" prop="url" align="center" sortable  width="110" >
        <template slot-scope="scope">
<!--          <el-image style="width: 100px; height: 100px" :src="'http://47.93.189.255:8080/'+ scope.row.url" fit="cover"></el-image>-->
          <span v-if= "scope.row.url ==null" ><img src="../../assets/images/文件夹-0.png" /></span>
          <span v-if= "scope.row.url == ','" ><img src="../../assets/images/文件夹-0.png" /></span>
          <span v-else><img src="../../assets/images/文件夹-1.png" /></span>
        </template>
      </el-table-column>
      <el-table-column label="备注" prop="remark" sortable width="140" align="center">
        <template slot-scope="scope">{{scope.row.remark? scope.row.remark: '————'}}</template>
@@ -212,12 +208,12 @@
            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>
@@ -242,8 +238,6 @@
          <el-input v-model="formDat.type" placeholder="请输入类别" clearable :style="{width: '100%'}" >
          </el-input>
        </el-form-item>
        <el-form-item label="名称" prop="name">
          <el-input v-model="formDat.name" placeholder="请输入名称" clearable :style="{width: '100%'}" >
          </el-input>
@@ -685,6 +679,9 @@
};
</script>
<style>
.app-container{
  background-color: #FEF7FC;
}
.el-table__row.statistics-warning-row {
  background: #E0EEFE;