Selaa lähdekoodia

修改点击样式

humingbo 1 vuosi sitten
vanhempi
commit
382b29b476
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 4 1
      src/views/meeting/weekly.vue

+ 4 - 1
src/views/meeting/weekly.vue

@@ -18,7 +18,7 @@
           stripe
           size="mini"
           style="width: 100%" v-model="workContents" :data="workContents"
-          @row-click="rowClick" :span-method="objectSpanMethod" :highlight-current-row="true">
+          @row-click="rowClick"  :span-method="objectSpanMethod" :highlight-current-row="true">
           <el-table-column type="index" label="序号" width="50">
           </el-table-column>
 <!--          <el-table-column label="分类" prop="classifyName" width="120" v-show="false">
@@ -28,6 +28,9 @@
 <!--          <el-table-column label="模块" prop="moduleName" width="120"  v-show="false">
           </el-table-column>-->
           <el-table-column label="任务名称" prop="taskName" width="400">
+            <template slot-scope="scope">
+              <span class="underline-on-hover"> {{scope.row.taskName}}</span>
+            </template>
           </el-table-column>
           <el-table-column label="工作反馈" prop="description" :show-overflow-tooltip="true">
             <template slot-scope="scope">