diff --git a/src/components/ProTable/index.vue b/src/components/ProTable/index.vue
index b53b940..a933f32 100644
--- a/src/components/ProTable/index.vue
+++ b/src/components/ProTable/index.vue
@@ -54,6 +54,11 @@
v-if="item.type == 'selection' || item.type == 'index'"
>
+
+
+
+
+
diff --git a/src/components/ProTable/interface/index.ts b/src/components/ProTable/interface/index.ts
index c5fc2d5..b5c18eb 100644
--- a/src/components/ProTable/interface/index.ts
+++ b/src/components/ProTable/interface/index.ts
@@ -10,7 +10,7 @@ export interface EnumProps {
[key: string]: any;
}
-export type TypeProp = "index" | "selection" | "expand";
+export type TypeProp = "index" | "selection" | "expand" | "html";
export type SearchType =
| "input"
diff --git a/src/views/goverment/notice/myPosted/index.scss b/src/views/goverment/notice/myPosted/index.scss
index e83b9a7..c318b1e 100644
--- a/src/views/goverment/notice/myPosted/index.scss
+++ b/src/views/goverment/notice/myPosted/index.scss
@@ -18,3 +18,16 @@
.content {
padding: 0 40px;
}
+
+.html-div:first-child {
+ display: block !important;
+ line-height: 50px;
+ height: 50px;
+ width: 100%;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+.html-div:not(:first-child) {
+ display: none;
+}
diff --git a/src/views/goverment/notice/myPosted/index.vue b/src/views/goverment/notice/myPosted/index.vue
index bdb4992..bdf2f62 100644
--- a/src/views/goverment/notice/myPosted/index.vue
+++ b/src/views/goverment/notice/myPosted/index.vue
@@ -11,6 +11,9 @@
background
:isShowSearch="false"
>
+
+
+
@@ -139,7 +142,7 @@ const columns: ColumnProps[] = [
// 多级 prop
{ prop: "title", label: "通知标题", search: { el: "input" } },
- { prop: "content", label: "通知内容", search: { el: "input" } },
+ { prop: "content", label: "通知内容", search: { el: "input" }, type: "html" },
{ prop: "createTime", label: "发布时间" },
{ prop: "operation", label: "操作", fixed: "right" }
];
diff --git a/src/views/goverment/notice/myReceive/index.scss b/src/views/goverment/notice/myReceive/index.scss
index ff81205..f7d96d6 100644
--- a/src/views/goverment/notice/myReceive/index.scss
+++ b/src/views/goverment/notice/myReceive/index.scss
@@ -15,3 +15,16 @@
.content {
padding: 0 40px;
}
+
+.html-div:first-child {
+ display: block !important;
+ line-height: 50px;
+ height: 50px;
+ width: 100%;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+.html-div:not(:first-child) {
+ display: none;
+}
diff --git a/src/views/goverment/notice/myReceive/index.vue b/src/views/goverment/notice/myReceive/index.vue
index 5f368a1..65e57c0 100644
--- a/src/views/goverment/notice/myReceive/index.vue
+++ b/src/views/goverment/notice/myReceive/index.vue
@@ -11,6 +11,9 @@
background
:isShowSearch="false"
>
+
+
+
@@ -128,7 +131,7 @@ const columns: ColumnProps[] = [
// 多级 prop
{ prop: "title", label: "通知标题", search: { el: "input" } },
- { prop: "content", label: "通知内容", search: { el: "input" } },
+ { prop: "content", label: "通知内容", search: { el: "input" }, type: "html" },
{ prop: "createByName", label: "发布人名称" },
{ prop: "createTime", label: "发布时间" },
{
diff --git a/src/views/goverment/policyLows/myPosted/index.scss b/src/views/goverment/policyLows/myPosted/index.scss
index 6f261ca..1cca37f 100644
--- a/src/views/goverment/policyLows/myPosted/index.scss
+++ b/src/views/goverment/policyLows/myPosted/index.scss
@@ -18,3 +18,16 @@
.content :deep(.ql-align-left) {
text-align: left;
}
+
+.html-div:first-child {
+ display: block !important;
+ line-height: 50px;
+ height: 50px;
+ width: 100%;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+.html-div:not(:first-child) {
+ display: none;
+}
diff --git a/src/views/goverment/policyLows/myPosted/index.vue b/src/views/goverment/policyLows/myPosted/index.vue
index 00a6993..a5742c2 100644
--- a/src/views/goverment/policyLows/myPosted/index.vue
+++ b/src/views/goverment/policyLows/myPosted/index.vue
@@ -12,6 +12,9 @@
:isShowSearch="false"
@row-click="rowClick"
>
+
+
+
diff --git a/src/views/goverment/policyLows/myReceive/index.scss b/src/views/goverment/policyLows/myReceive/index.scss
index 6f261ca..1cca37f 100644
--- a/src/views/goverment/policyLows/myReceive/index.scss
+++ b/src/views/goverment/policyLows/myReceive/index.scss
@@ -18,3 +18,16 @@
.content :deep(.ql-align-left) {
text-align: left;
}
+
+.html-div:first-child {
+ display: block !important;
+ line-height: 50px;
+ height: 50px;
+ width: 100%;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+.html-div:not(:first-child) {
+ display: none;
+}
diff --git a/src/views/goverment/policyLows/myReceive/index.vue b/src/views/goverment/policyLows/myReceive/index.vue
index d79e0aa..166e5e6 100644
--- a/src/views/goverment/policyLows/myReceive/index.vue
+++ b/src/views/goverment/policyLows/myReceive/index.vue
@@ -11,6 +11,9 @@
background
@row-click="rowClick"
>
+
+
+
@@ -62,7 +65,7 @@ const columns: ColumnProps[] = [
// 多级 prop
{ prop: "title", label: "文件标题", search: { el: "input" } },
- { prop: "content", label: "文件内容", search: { el: "input" } },
+ { prop: "content", label: "文件内容", search: { el: "input" }, type: "html" },
{ prop: "createByName", label: "发布人名称" },
{ prop: "createTime", label: "发布时间" },
{ prop: "operation", label: "操作", fixed: "right", width: 150 }