zhuliu 5 月之前
父节点
当前提交
27046a7eed
共有 1 个文件被更改,包括 13 次插入1 次删除
  1. 13 1
      src/views/report/components/index.vue

+ 13 - 1
src/views/report/components/index.vue

@@ -354,7 +354,7 @@ export default {
             type: 'type',
           })
           //先获取报告类型,报告状态,相关事件,再为报告类型,报告状态,相关事件添加选项
-          let arr = ['reportType', 'status', 'cronNames','scenarioNames','matterNames']
+          let arr = ['reportType', 'status', 'cronNames','scenarioNames','matterNames','conclusion']
           arr.forEach(item => {
             let obj = this.searchFiled.find(item2 => {
               return item2.value == item
@@ -435,6 +435,18 @@ export default {
               }
             })
           break;
+        case 'conclusion':
+          let litigationResult = this.$constants.litigationResult
+          let options = []
+          for(let key in litigationResult){
+            options.push(
+              {
+                label: litigationResult[key],
+                value: key
+              }
+            ) 
+          }
+          obj.options = options
         default:
           break;
       }