Kaynağa Gözat

风险下发流程修改,风险看板导出优化,模型列表显示字段优化

zh 6 ay önce
ebeveyn
işleme
514e27e30c

+ 6 - 2
src_product/iam/audit/index-normalize-route.js

@@ -1497,13 +1497,17 @@ flowService.addFlowForm(
     () => import(/* webpackChunkName: "product-iam-audit-form" */ './model/audit-model-gxapply.vue')
   )
 )
+// flowService.addFlowForm(
+//   'vue:audit/sqapply/iamQuestionExamine',
+//   // './riskLibrary/audit-summarry-from.vue'
+//   './riskLibrary/audit-issued-form.vue'
+// )
 flowService.addFlowForm(
   'vue:audit/sqapply/iamQuestionExamine',
   asyncComponent(
-    () => import(/* webpackChunkName: "product-iam-audit-form" */ './riskLibrary/audit-summarry-from.vue')
+    () => import(/* webpackChunkName: "product-iam-audit-form" */ './riskLibrary/audit-issued-form.vue')
   )
 )
-
 // 审计模型信息管理-仪表板
 // audit-fixed-list
 routerService.routeInFrame('audit-fixed-list', {

+ 6 - 2
src_product/iam/audit/index.js

@@ -1069,11 +1069,15 @@ routerService.routeInFrame('audit-model-class', {
 flowService.addFlowForm('vue:audit/sqapply/iamModelPublishApply', './model/audit-model-sqapply.vue')
 // 共享
 flowService.addFlowForm('vue:audit/sqapply/iamModelShareApply', './model/audit-model-gxapply.vue')
+// flowService.addFlowForm(
+//   'vue:audit/sqapply/iamQuestionExamine',
+//   // './riskLibrary/audit-summarry-from.vue'
+//   './riskLibrary/audit-issued-form.vue'
+// )
 flowService.addFlowForm(
   'vue:audit/sqapply/iamQuestionExamine',
-  './riskLibrary/audit-summarry-from.vue'
+  './riskLibrary/audit-issued-form.vue'
 )
-
 // 审计模型信息管理-仪表板
 // audit-fixed-list
 routerService.routeInFrame('audit-fixed-list', {

+ 7 - 7
src_product/iam/audit/model/audit-model-list.vue

@@ -41,7 +41,7 @@
           <!-- 未共享状态 显示共享 -->
           <!-- 以共享 或发布则不能删除 -->
           <a :class="$style.edit" @click="toModel('read', record)">查看</a>
-          <a
+          <!-- <a
             v-if="record.publishStatus === null && record.reservelong2 === 1"
             :class="$style.edit"
             @click="toModel('fb', record)"
@@ -49,7 +49,7 @@
           >
           <span v-else-if="record.publishStatus === null" :class="$style.edit" @click="openMessage"
             >发布</span
-          >
+          > -->
           <a
             v-if="record.shareStatus === null && record.reservelong2 === 1"
             :class="$style.edit"
@@ -281,11 +281,11 @@ export default {
           dataIndex: 'shareStatus',
           scopedSlots: { customRender: 'gx' },
         },
-        {
-          title: '发布状态',
-          dataIndex: 'publishStatus',
-          scopedSlots: { customRender: 'fb' },
-        },
+        // {
+        //   title: '发布状态',
+        //   dataIndex: 'publishStatus',
+        //   scopedSlots: { customRender: 'fb' },
+        // },
         {
           // reservelong2
           dataIndex: 'reservelong2',

+ 2 - 0
src_product/iam/audit/riskLibrary/_import-components/audit-issued-form-import.js

@@ -8,6 +8,7 @@ Select,
 Upload,
 } from 'ant-design-vue'
 import SdFormItemTd from '@/common/components/sd-form-item-td.vue'
+import SdTable from '@/common/components/sd-table.vue'
 
 Vue.use(Icon)
 Vue.use(Input)
@@ -16,5 +17,6 @@ Vue.use(Upload)
 
 export default {
   SdFormItemTd,
+  SdTable,
 }
 console.warn('文件名 audit-issued-form.vue 不符合命名规则,应该以 iam 开头')

Dosya farkı çok büyük olduğundan ihmal edildi
+ 311 - 162
src_product/iam/audit/riskLibrary/audit-issued-form.vue


+ 0 - 1
src_product/iam/audit/riskLibrary/audit-risk-detail.vue

@@ -64,7 +64,6 @@ export default {
   },
   created() {
     // 阻止页面刷新
-    console.log(this.$route.query)
     let queryData = this.$route.query
     if (this.searchType === 'component') {
       queryData = this.searchData

+ 2 - 2
src_product/iam/audit/riskLibrary/audit-risk-view.vue

@@ -172,7 +172,7 @@
             <!-- 右上角导出 -->
             <h3 :class="$style.riskviewtitle">问题概括统计</h3>
             <div :class="$style.exportIcon">
-              <a-icon type="download" :style="{ fontSize: '18px' }" @click="exportPie1" />
+              <a-icon type="download" :style="{ fontSize: '22px' }" @click="exportPie1" />
             </div>
             <a-spin :spinning="isshowLoading3" tip="正在查询请稍后...">
               <div v-if="barishow1" id="problemSummary" :class="$style.bingtu"></div>
@@ -186,7 +186,7 @@
           <a-col :span="12" :class="$style.exportBody">
             <h3 :class="$style.riskviewtitle">模型领域统计</h3>
             <div :class="$style.exportIcon">
-              <a-icon type="download" :style="{ fontSize: '18px' }" @click="exportPie2" />
+              <a-icon type="download" :style="{ fontSize: '22px' }" @click="exportPie2" />
             </div>
             <a-spin :spinning="isshowLoading4" tip="正在查询请稍后...">
               <div v-if="barishow2" id="modelField" :class="$style.bingtu"></div>

+ 4 - 2
src_product/iam/audit/riskLibrary/audit-shsum-list.vue

@@ -11,7 +11,7 @@
           >
             <!-- 模型编码 -->
             <a-form-model-item label="模型编码" prop="modelCode">
-              <a-input v-model, sd-data-table-ex="form.modelCode" placeholder="请输入模型编码" />
+              <a-input v-model="form.modelCode" placeholder="请输入模型编码" />
             </a-form-model-item>
             <a-form-model-item label="模型名称" prop="modelName">
               <a-input v-model="form.modelName" placeholder="请输入模型名称" />
@@ -510,6 +510,8 @@ export default {
         'status',
         'modelDomain',
         'deleted',
+        'modelCode',
+        'modelName',
       ]
 
       for (const key in this.form) {
@@ -651,7 +653,7 @@ export default {
                 okType: 'danger',
                 cancelText: '查看',
                 onOk() {
-                  console.log('OK')
+                  // console.log('OK')
                 },
                 onCancel() {
                   that.dataViewRw = true

+ 25 - 4
src_product/iam/audit/riskLibrary/audit-summarry-list.vue

@@ -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))

+ 0 - 1
src_product/iam/audit/riskLibrary/audit-supervise-view.vue

@@ -286,7 +286,6 @@ export default {
           item.id = item.id.replace('C', '')
         })
         this.projectOption = res.data.data
-        console.log(this.projectOption)
         this.sumList = this.projectOption.map((item) => {
           return {
             name: item.name,

+ 18 - 0
src_product/iam/audit/riskLibrary/riskLibrary.js

@@ -413,5 +413,23 @@ class AuditRiskbraryService {
       responseType: 'blob',
     })
   }
+
+  // 获取模型数据
+  // framework/v1/page/wp/audit/maintain/iamModelMaintain
+  getIamModelMaintain(data) {
+    return axios({
+      method: 'post',
+      url: 'api/framework/v1/page/wp/audit/maintain/iamModelMaintain',
+      data,
+    })
+  }
+
+  // iamquestionreform/updateViewFlag 关注类修改查看状态  POST Long instId
+  setUpdateViewFlag(instId) {
+    return axios({
+      method: 'post',
+      url: 'api/xcoa-mobile/v1/iamquestionreform/updateViewFlag?instId=' + instId,
+    })
+  }
 }
 export default new AuditRiskbraryService()