ソースを参照

优化

pull/3/head
lcr 5ヶ月前
コミット
bffd798826
2個のファイルの変更23行の追加3行の削除
  1. +1
    -1
      src/views/business/ctApply/index.vue
  2. +22
    -2
      src/views/business/ctResourceLibrary/index.vue

+ 1
- 1
src/views/business/ctApply/index.vue ファイルの表示

@@ -51,7 +51,7 @@
<el-popover trigger="hover" placement="top">
<p> {{ scope.row.appName }}</p>
<div slot="reference" class="name-wrapper">
<el-tag size="medium">{{scope.row.appName}}</el-tag>
{{ scope.row.appName.length > 10 ? scope.row.appName.substring(0, 10) + "....." : scope.row.appName }}
</div>
</el-popover>
</template>


+ 22
- 2
src/views/business/ctResourceLibrary/index.vue ファイルの表示

@@ -38,13 +38,33 @@
{{ scope.$index + 1 }}
</template>
</el-table-column> -->
<el-table-column label="所属应用名称" align="center" prop="appName" width="150" />
<el-table-column label="所属应用名称" align="center" prop="appName" width="200">
<template slot-scope="scope">
<el-popover trigger="hover" placement="top">
<p>{{ scope.row.appName }}</p>
<div slot="reference" class="name-wrapper">
{{ scope.row.appName.length > 10 ? scope.row.appName.substring(0, 10) + "....." : scope.row.appName }}
</div>
</el-popover>
</template>
</el-table-column>

<el-table-column label="资源类型" align="center" prop="resourceType" width="100">
<template slot-scope="scope">
<dict-tag :options="dict.type.app_param_type" :value="scope.row.resourceType" />
</template>
</el-table-column>
<el-table-column label="资源描述" align="center" prop="resource" width="100" />
<el-table-column label="资源描述" align="center" prop="resource" width="200">
<template slot-scope="scope">
<el-popover trigger="hover" placement="top">
<p>{{ scope.row.resource }}</p>
<div slot="reference" class="name-wrapper">
{{ scope.row.resource.length > 10 ? scope.row.resource.substring(0, 10) + "....." : scope.row.resource }}
</div>
</el-popover>
</template>
</el-table-column>

<el-table-column label="资源内容" align="center" prop="resourceValue" width="100">
<template slot-scope="scope">
<el-tag


読み込み中…
キャンセル
保存