|
|
@@ -137,7 +137,11 @@
|
|
|
title=""
|
|
|
type="success"
|
|
|
:closable="false"
|
|
|
- description="提示:可以拖动表格数据进行排序 。右侧有放大缩小按钮,可以放大全屏查看表格数据。"
|
|
|
+ :description="
|
|
|
+ '提示:' +
|
|
|
+ `${pages ? '' : '可以拖动表格数据进行排序 。'}` +
|
|
|
+ '右侧有放大缩小按钮,可以放大全屏查看表格数据。'
|
|
|
+ "
|
|
|
/>
|
|
|
|
|
|
<div class="table-btn" v-if="!readonly && exportImport">
|
|
|
@@ -1458,40 +1462,42 @@ export default {
|
|
|
i.yao_su_tiao_kuan_ == item.yao_su_tiao_kuan_
|
|
|
)
|
|
|
|
|
|
- if (i.yan_zhong_cheng_d) {
|
|
|
- if (!this.yan_zhong_cheng_d_List.includes(i.yan_zhong_cheng_d)) {
|
|
|
- message.push('严重程度请填写1-5数字!')
|
|
|
- flag = false
|
|
|
+ if (i) {
|
|
|
+ if (i.yan_zhong_cheng_d) {
|
|
|
+ if (!this.yan_zhong_cheng_d_List.includes(i.yan_zhong_cheng_d)) {
|
|
|
+ message.push('严重程度请填写1-5数字!')
|
|
|
+ flag = false
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
- if (i.fa_sheng_pin_du_) {
|
|
|
- if (!this.fa_sheng_pin_du_List.includes(i.fa_sheng_pin_du_)) {
|
|
|
- message.push('发生频度请填写1-5数字!')
|
|
|
- flag = false
|
|
|
+ if (i.fa_sheng_pin_du_) {
|
|
|
+ if (!this.fa_sheng_pin_du_List.includes(i.fa_sheng_pin_du_)) {
|
|
|
+ message.push('发生频度请填写1-5数字!')
|
|
|
+ flag = false
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
|
|
|
- if (i.feng_xian_ying_du) {
|
|
|
- if (!this.riskResponse.includes(i.feng_xian_ying_du)) {
|
|
|
- message.push('风险应对请填写风险降低或风险接受或风险回避!')
|
|
|
- flag = false
|
|
|
+ if (i.feng_xian_ying_du) {
|
|
|
+ if (!this.riskResponse.includes(i.feng_xian_ying_du)) {
|
|
|
+ message.push('风险应对请填写风险降低或风险接受或风险回避!')
|
|
|
+ flag = false
|
|
|
+ }
|
|
|
}
|
|
|
+ item.gong_zuo_huan_jie = i.gong_zuo_huan_jie
|
|
|
+ item.feng_xian_miao_sh = i.feng_xian_miao_sh
|
|
|
+ item.xian_xing_kong_zh = i.xian_xing_kong_zh
|
|
|
+ item.yan_zhong_cheng_d = i.yan_zhong_cheng_d
|
|
|
+ item.fa_sheng_pin_du_ = i.fa_sheng_pin_du_
|
|
|
+ item.feng_xian_ying_du = i.feng_xian_ying_du
|
|
|
+ item.qian_zai_yuan_yin = i.qian_zai_yuan_yin
|
|
|
+ item.ni_cai_qu_cuo_shi = i.ni_cai_qu_cuo_shi
|
|
|
+ item.zhi_ding_ren_ = this.getKey(
|
|
|
+ userList,
|
|
|
+ i.zhi_ding_ren_,
|
|
|
+ 'userName',
|
|
|
+ 'userId'
|
|
|
+ )
|
|
|
+ this.culRate(item)
|
|
|
}
|
|
|
- item.gong_zuo_huan_jie = i.gong_zuo_huan_jie
|
|
|
- item.feng_xian_miao_sh = i.feng_xian_miao_sh
|
|
|
- item.xian_xing_kong_zh = i.xian_xing_kong_zh
|
|
|
- item.yan_zhong_cheng_d = i.yan_zhong_cheng_d
|
|
|
- item.fa_sheng_pin_du_ = i.fa_sheng_pin_du_
|
|
|
- item.feng_xian_ying_du = i.feng_xian_ying_du
|
|
|
- item.qian_zai_yuan_yin = i.qian_zai_yuan_yin
|
|
|
- item.ni_cai_qu_cuo_shi = i.ni_cai_qu_cuo_shi
|
|
|
- item.zhi_ding_ren_ = this.getKey(
|
|
|
- userList,
|
|
|
- i.zhi_ding_ren_,
|
|
|
- 'userName',
|
|
|
- 'userId'
|
|
|
- )
|
|
|
- this.culRate(item)
|
|
|
})
|
|
|
|
|
|
if (!flag) {
|