zhouna 4 năm trước cách đây
mục cha
commit
acafff8df2
1 tập tin đã thay đổi với 14 bổ sung8 xóa
  1. 14 8
      src/components/knowledgeExtra/RuleManager.vue

+ 14 - 8
src/components/knowledgeExtra/RuleManager.vue

@@ -52,12 +52,12 @@
                 <el-table-column
                         prop="parDescription"
                         label="规则名称"
-                        width="180">
+                        width="160">
                     <template slot-scope="scope">
-                        <el-tooltip v-if="scope.row.parDescription.length>10" class="item" effect="dark" :content="scope.row.parDescription" placement="top">
-                            <span>{{scope.row.parDescription.slice(0,10)+'...'}}</span>
+                        <el-tooltip v-if="scope.row.parDescription.length>8" class="item" effect="dark" :content="scope.row.parDescription" placement="top">
+                            <span>{{scope.row.parDescription.slice(0,8)+'...'}}</span>
                         </el-tooltip>
-                        <span v-if="scope.row.parDescription.length<11">{{scope.row.parDescription}}</span>
+                        <span v-if="scope.row.parDescription.length<9">{{scope.row.parDescription}}</span>
                     </template>
                 </el-table-column>
                 <el-table-column
@@ -71,12 +71,12 @@
                 <el-table-column
                         prop="parConceptName"
                         label="医学标准术语"
-                        width="180">
+                        width="160">
                     <template slot-scope="scope">
-                        <el-tooltip v-if="scope.row.parConceptName.length>10" class="item" effect="dark" :content="scope.row.parConceptName" placement="top">
-                            <span>{{scope.row.parConceptName.slice(0,10)+'...'}}</span>
+                        <el-tooltip v-if="scope.row.parConceptName.length>8" class="item" effect="dark" :content="scope.row.parConceptName" placement="top">
+                            <span>{{scope.row.parConceptName.slice(0,8)+'...'}}</span>
                         </el-tooltip>
-                        <span v-if="scope.row.parConceptName.length<11">{{scope.row.parConceptName}}</span>
+                        <span v-if="scope.row.parConceptName.length<9">{{scope.row.parConceptName}}</span>
                     </template>
                 </el-table-column>
                 <el-table-column
@@ -96,6 +96,12 @@
                         prop="parMsg"
                         label="附加信息"
                         width="160">
+                    <template slot-scope="scope">
+                        <el-tooltip v-if="scope.row.parMsg.length>8" class="item" effect="dark" :content="scope.row.parMsg" placement="top">
+                            <span>{{scope.row.parMsg.slice(0,8)+'...'}}</span>
+                        </el-tooltip>
+                        <span v-if="scope.row.parMsg.length<9">{{scope.row.parMsg}}</span>
+                    </template>
                 </el-table-column>
                 <el-table-column
                         label="状态">