diff --git a/src/views/forceNotice/component/EntList.vue b/src/views/forceNotice/component/EntList.vue
index 33911b2..ef09914 100644
--- a/src/views/forceNotice/component/EntList.vue
+++ b/src/views/forceNotice/component/EntList.vue
@@ -6,19 +6,43 @@
top="153px"
custom-class="dialog-abnormal-list"
>
-
-
-
请输入条件进行查询!
+
+
+
+
+
+
+
+
+
+
+
已选择主体
+
暂无选择
+
+
+
+
{{ entity.entname }}
+
{{ entity.uniscid || entity.regno }}
+
+
+
+
+
+
取消
@@ -29,6 +53,7 @@
+
+
diff --git a/src/views/forceNotice/component/SpeList.vue b/src/views/forceNotice/component/SpeList.vue
index a6336e1..8adaeb6 100644
--- a/src/views/forceNotice/component/SpeList.vue
+++ b/src/views/forceNotice/component/SpeList.vue
@@ -219,6 +219,25 @@ export default {
},
optionsBaseCode: 'C13044',
showInForm: false
+ },
+ {
+ type: 'input',
+ label: '公告期至剩余天数',
+ prop: 'noticeToRemain',
+ span: 8,
+ tableProps: {
+ showOverflowTooltip: true,
+ width: '150px',
+ formatter: (row, column, cellValue, index) => {
+ // 计算剩余天数
+ const noticeToDate = new Date(row.noticeTo)
+ const today = new Date()
+ const diffTime = noticeToDate - today
+ const diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24))
+ return diffDays >= 0 ? `${diffDays} 天` : '已过期'
+ }
+ },
+ showInForm: false // 不作为搜索条件
}
]
}
@@ -274,7 +293,23 @@ export default {
size: pageParam.size,
current: pageParam.current,
entity: {
- ...parseSearchFormData
+ ...parseSearchFormData,
+ soon: '0'
+ }
+ }).then((data) => {
+ return {
+ tableData: data.dataPage.records,
+ total: data.dataPage.total
+ }
+ })
+ } else if (this.params === 'soon') {
+ this.params = 'force'
+ return forceDeregisterPageByRegOrg({
+ size: pageParam.size,
+ current: pageParam.current,
+ entity: {
+ ...parseSearchFormData,
+ soon: '1'
}
}).then((data) => {
return {
diff --git a/src/views/forceNotice/force/list.vue b/src/views/forceNotice/force/list.vue
index 525e820..163b8da 100644
--- a/src/views/forceNotice/force/list.vue
+++ b/src/views/forceNotice/force/list.vue
@@ -23,6 +23,13 @@
>
个案办理
+
+ 公告期即将届满名单
+
@@ -308,6 +315,13 @@ export default {
this.getOrgunits()
},
methods: {
+ goToExpiringSoonList() {
+ // 跳转到当前页面,并携带参数标识为即将届满名单
+ this.$router.push({
+ path: `/forceNotice/force/todo`,
+ query: { expiringSoon: true }
+ })
+ },
getOrgunits() {
getOrgunits().then(res => {
this.orgs = res
@@ -460,4 +474,9 @@ export default {
.bus-status-4 {
color: #F4222D;
}
+
+.el-button--primary {
+ margin-right: 12px;
+}
+
diff --git a/src/views/forceNotice/inclusion/list.vue b/src/views/forceNotice/inclusion/list.vue
index 39cd46d..d4b9ec9 100644
--- a/src/views/forceNotice/inclusion/list.vue
+++ b/src/views/forceNotice/inclusion/list.vue
@@ -22,7 +22,7 @@
type="primary"
@click="$refs.entlist.open()"
>
- 个案主体办理
+ 主体名单办理