|
@@ -283,6 +283,13 @@ export default {
|
|
|
{
|
|
|
title: '整改期限',
|
|
|
dataIndex: 'reformTime',
|
|
|
+ customRender: (text, record) => {
|
|
|
+ if (record.modelTypeName.includes('关注类')) {
|
|
|
+ return '--'
|
|
|
+ } else {
|
|
|
+ return text
|
|
|
+ }
|
|
|
+ },
|
|
|
},
|
|
|
// 整改状态rectStatus
|
|
|
{
|
|
@@ -323,7 +330,10 @@ export default {
|
|
|
{
|
|
|
title: '审核状态',
|
|
|
dataIndex: 'endType',
|
|
|
- customRender: (text) => {
|
|
|
+ customRender: (text, record) => {
|
|
|
+ if (record.modelTypeName.includes('关注类')) {
|
|
|
+ return '--'
|
|
|
+ }
|
|
|
if (text === 2) {
|
|
|
return '未提交审核'
|
|
|
} else if (text === 1) {
|
|
@@ -632,11 +642,22 @@ export default {
|
|
|
this.oldSearch = this.setExpressions()
|
|
|
this.dataKey++
|
|
|
},
|
|
|
+
|
|
|
detailClick(record) {
|
|
|
- let url = '#/audit-summarry-rectification-list?'
|
|
|
- if (this.rolesType) {
|
|
|
- url = '#/audit-view-change?'
|
|
|
+ if (!this.rolesType) {
|
|
|
+ // 如果是关注类
|
|
|
+ // setUpdateViewFlag
|
|
|
+ if (record.modelTypeName.includes('关注')) {
|
|
|
+ AuditRiskbraryService.setUpdateViewFlag(record.instId).then((res) => {
|
|
|
+ window.open('#/sd-webflow/done-pages/' + record.instId)
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ window.open('#/sd-webflow/done-pages/' + record.instId)
|
|
|
+ }
|
|
|
+ return
|
|
|
}
|
|
|
+ let url = '#/audit-summarry-rectification-list?'
|
|
|
+ url = '#/audit-view-change?'
|
|
|
const riskDetail = this.oldSearch
|
|
|
// 存到缓存里
|
|
|
sdSessionStorage.setItem('riskDetail', JSON.stringify(riskDetail))
|