ソースを参照

风险评估与措施退回时提醒评估人

luoaoxuan 1 年間 前
コミット
929bfff3f1

+ 13 - 13
src/views/platform/risk/riskDetail.vue

@@ -119,15 +119,6 @@
                                 <el-input v-model="row.gong_zuo_miao_shu" type="textarea" :rows="2" size="mini" :readonly="readonly" />
                             </template>
                         </el-table-column> -->
-                        <el-table-column
-                            prop="ni_cai_qu_cuo_shi"
-                            label="拟采取控制措施"
-                            width="150"
-                        >
-                            <template slot-scope="{row}">
-                                <el-input v-model="row.ni_cai_qu_cuo_shi" type="textarea" :rows="2" size="mini" :readonly="readonly" />
-                            </template>
-                        </el-table-column>
                         <el-table-column
                             prop="feng_xian_miao_sh"
                             label="风险描述"
@@ -222,6 +213,15 @@
                                 />
                             </template>
                         </el-table-column>
+                        <el-table-column
+                            prop="ni_cai_qu_cuo_shi"
+                            label="拟采取控制措施"
+                            width="150"
+                        >
+                            <template slot-scope="{row}">
+                                <el-input v-model="row.ni_cai_qu_cuo_shi" type="textarea" :rows="2" size="mini" :readonly="readonly" />
+                            </template>
+                        </el-table-column>
                     </el-table>
                 </div>
 
@@ -239,8 +239,8 @@
 
             <span slot="footer" class="dialog-footer">
                 <el-button v-if="!readonly" type="primary" size="mini" icon="el-icon-takeaway-box" @click="save">保 存</el-button>
-                <el-button v-if="!readonly" type="success" size="mini" icon="el-icon-finished" @click="submit">提 交</el-button>
-                <el-button size="mini" icon="el-icon-close" @click="close">退 出</el-button>
+                <el-button v-if="!readonly" type="primary" size="mini" icon="el-icon-finished" @click="submit">提 交</el-button>
+                <el-button size="mini" icon="el-icon-close" type="danger" @click="close">退 出</el-button>
             </span>
         </el-dialog>
     </div>
@@ -353,8 +353,8 @@ export default {
                                     // gong_zuo_miao_shu: item.gong_zuo_miao_shu,
                                     feng_xian_miao_sh: item.feng_xian_miao_sh,
 
-                                    xian_xing_kong_zh: '',
-                                    ni_cai_qu_cuo_shi: item.gong_zuo_miao_shu,
+                                    xian_xing_kong_zh: item.gong_zuo_miao_shu,
+                                    ni_cai_qu_cuo_shi: '',
                                     zhi_ding_ren_: ''
                                 })
                             }

+ 12 - 0
src/views/platform/risk/riskPeopleTable.vue

@@ -171,6 +171,18 @@ export default {
                 }
                 console.log(params)
                 await this.$common.request('update', params)
+                // 发消息给评估人退回消息
+                await this.$common.sendMsg({
+                    subject: '风险评估与措施表单退回提醒',
+                    content: `您有一份评估与措施表单已退回,请前往-风险控制-风险评估与措施页面重新提交,计划编号:${this.params.ji_hua_bian_hao_},组长:${this.params.zu_chang_}。`,
+                    receiverId: row.bian_zhi_ren_,
+                    canreplay: '0',
+                    skipTypeMsg: JSON.stringify({
+                        skipType: 3,
+                        pathInfo: '/tygl/fxkzV2/fxpgycslb' // 路由
+                    })
+                })
+                console.log('退回提醒成功')
                 console.log('退回成功')
                 this.$message({
                     type: 'success',

+ 6 - 3
src/views/platform/risk/riskV2.vue

@@ -12,7 +12,7 @@
         top="0"
     >
         <div slot="title" class="dialog-title">
-            <span>{{ title }}</span>
+            <span class="dialogtitle">{{ title }}</span>
             <div>
                 <ibps-toolbar :actions="toolbars" @action-event="handleActionEvent" />
             </div>
@@ -285,8 +285,8 @@ export default {
                 { key: 'save', label: '保存', hidden: () => { return !this.isZuZhang || this.isFinished } },
                 // { key: 'sendMsg', label: '提醒评估人', icon: 'el-icon-bell', hidden: () => { return !this.isZuZhang || !this.isEdit || this.isFinished } },
                 { key: 'peizhifengxian', label: '更新风险库', type: 'info', icon: 'el-icon-setting', hidden: () => { return !this.isZuZhang || !this.isEdit } },
-                { key: 'submit', label: '提交', icon: 'el-icon-finished', type: 'success', hidden: () => { return !this.isZuZhang || !this.isEdit || this.isFinished } },
-                { key: 'cancel', label: '退出' }
+                { key: 'submit', label: '提交', icon: 'el-icon-finished', hidden: () => { return !this.isZuZhang || !this.isEdit || this.isFinished } },
+                { key: 'cancel', label: '退出', type: 'danger' }
             ],
             infoFxssbData: {
                 nian_du_: '',
@@ -870,5 +870,8 @@ export default {
         position: absolute;
         right:20px;
     }
+    .dialogtitle{
+        font-weight: 900;
+    }
 }
 </style>