Ver código fonte

Merge branch 'product' of http://1.116.113.26:8088/zhuliu/xiaoshi_system into product

zhuhao 1 ano atrás
pai
commit
55a4a2d06b

+ 19 - 75
src/router/index.js

@@ -279,23 +279,13 @@ const routes = [
             },
             component: () => import('@/views/report/components/patentList/index.vue'),
           },
-      //     //无效分析、第三方意见、稳定性分析
-      //     {
-      //       path: '/InvalidIndex',
-      //       name:"InvalidIndex",
-      //       meta:{
-      //         aside: true,
-      //         showHeader:true,
-      //       },
-      //       component:() => import('@/views/report/Invalid/index.vue'),
-      //     },
+
           //code码页面
           {
             path: '/identificationCode',
             name:"identificationCode",
             meta:{
-              aside: true,
-              showHeader: true,
+              title: '分析系统',
               sign:'identificationCode',
               belong:'AllReport'
             },
@@ -306,8 +296,7 @@ const routes = [
             path: '/allocationTask',
             name:"allocationTask",
             meta:{
-              aside: true,
-              showHeader: true,
+              title: '分配任务',
               sign:'allocationTask',
               belong:'AllReport'
             },
@@ -319,8 +308,6 @@ const routes = [
             path: '/tortIndex',
             name:"tortIndex",
             meta:{
-              aside: true,
-              showHeader: true,
               sign:'tortIndex',
               belong:'AllReport'
             },
@@ -331,80 +318,37 @@ const routes = [
             path: '/informationEntry',
             name:"informationEntry",
             meta:{
-              aside: true,
-              showHeader: true,
+              title: '产品信息录入',
               sign:'informationEntry',
               belong:'AllReport'
             },
             component:() => import('@/views/report/tort/components/informationEntry/index.vue'),
           },
-          // 确认结果以及协同人处理结果
-          {
-            path: '/tortTeamWork',
-            name:"tortTeamWork",
-            meta:{
-              aside: true,
-              showHeader: true,
-              sign:'tortTeamWork',
-              belong:'AllReport'
-            },
-            component:() => import('@/views/report/tort/components/tortTeamWork/index.vue'),
-          },
+
           //回避设计
           {
             path: '/avoid',
             name:"avoid",
             meta:{
-              aside: true,
-              showHeader: true,
+              title: '回避设计',
               sign:'avoid',
               belong:'AllReport'
             },
             component:() => import('@/views/report/avoid/index.vue'),
           },
-      //     //无效分析、第三方意见、稳定性分析报告详情
-      //     {
-      //       path: '/rDetails',
-      //       name:"rDetails",
-      //       meta:{
-      //         aside: true,
-      //         showHeader:true,
-      //       },
-      //       component:() => import('@/views/report/reportDetails/index.vue'),
-      //     },
-      //     //FTO风险排查、侵权分析报告详情
-      //     {
-      //       path: '/FTOrDetails',
-      //       name:"FTOrDetails",
-      //       meta:{
-      //         aside: true,
-      //         showHeader:true,
-      //       },
-      //       component:() => import('@/views/report/FTO/FTOPage/ReportDetails/index.vue'),
-      //     },
-          // //回避设计报告详情
-          // {
-          //   path: '/avoidAside',
-          //   name:"avoidAside",
-          //   meta:{
-          //     aside: true,
-          //     showHeader: true,
-          //     sign:'avoidAside',
-          //     belong:'AllReport'
-          //   },
-          //   component:() => import('@/views/report/avoid/avoidAsid/index.vue'),
-          // },
-      //     //无效应对报告详情
-      //     {
-      //       path:'/InvalidResponse',
-      //       name:'InvalidResponse',
-      //       meta:{
-      //         title:'无效应对',
-      //         aside:true,
-      //         showHeader:true,
-      //       },
-      //       component:() => import('@/views/report/InvalidResponse/index'),
-      //     },
+
+          //无效应对
+          {
+            path: '/manualImport',
+            name:"manualImport",
+            meta:{
+              title: '批量手动添加证据文献',
+              sign:'manualImport',
+              belong:'AllReport'
+            },
+            component:() => import('@/views/report/InvalidResponse/components/ManualImport/index.vue'),
+          }
+
       //     //添加无效证据和理由
       //     {
       //       path:'/invalidIdexRouter',

+ 3 - 1
src/utils/common.js

@@ -110,7 +110,9 @@ export default {
         keys.forEach(key => {
           if (key == 'type') {
             obj[key] = type[item[props[key]]] || item[props[key]]
-          } else {
+          }else if(key == 'value' && props.value == 'value'){
+            obj[key] = item.field
+          }else{
             obj[key] = item[props[key]]
           }
 

+ 2 - 2
src/views/event/components/dialog/addEvent.vue

@@ -192,7 +192,7 @@ export default {
         this.formData[0].systemFileList.splice(a, 1)
       } else {
         let a = this.files.findIndex(item => {
-          return item.size == file.size
+          return item.uid == file.uid
         })
         this.files.splice(a, 1)
       }
@@ -202,7 +202,7 @@ export default {
     onchange(file, fileList) {
       if (this.files && this.files.length > 0) {
         let a = this.files.findIndex(item => {
-          return item.size == file.size
+          return item.uid == file.uid
         })
         if (a != -1) {
           this.$message.error(`${file.raw.name}文件重复`)

+ 0 - 1
src/views/project/patentDetails/components/PatentField.vue

@@ -94,7 +94,6 @@ export default {
   data() {
     return {
       customField: [],
-      selected: [],//qudiao
       defaultProps: {
         children: 'child',
         label: 'name'

+ 181 - 0
src/views/report/InvalidResponse/components/Evidence/evidence.vue

@@ -0,0 +1,181 @@
+<template>
+  <div class="height_100">
+    <el-container>
+        <el-header>
+            <div class="head">
+                <el-dropdown trigger="hover" @command="andClick($event)" :hide-on-click="false" type="primary" size="small">
+                    <el-button type="primary" size="small">
+                        上传证据文献<i class="el-icon-arrow-down el-icon--right"></i>
+                    </el-button>
+                    <el-dropdown-menu slot="dropdown" class="text-align_center">
+                        <el-dropdown-item command="1">专利号导入</el-dropdown-item>
+                        <el-dropdown-item command="2">上传非专利文件</el-dropdown-item>
+                        <el-dropdown-item command="3">批量手动添加</el-dropdown-item>
+                    </el-dropdown-menu>
+                </el-dropdown>
+            </div>
+            
+        </el-header>
+        <el-main>
+            <el-table :data="tableData" border style="width: 100%">
+                <el-table-column prop="id" label="序号" width="80" align="center"></el-table-column>
+                <el-table-column prop="content" label="专利号/标题" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            {{scope.row.content}}
+                        </div>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="author" label="权利人/作者" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            {{scope.row.author}}
+                        </div>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="publicNo" label="公开号" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            {{scope.row.publicNo}}
+                        </div>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="publicDate" label="公开日" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            {{scope.row.publicDate}}
+                        </div>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="publicDate" label="申请日" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            {{scope.row.publicDate}}
+                        </div>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="type" label="文献类型" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            {{scope.row.type}}
+                        </div>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="type" label="是否适格" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            {{scope.row.type}}
+                        </div>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="type" label="是否认可" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            {{scope.row.type}}
+                        </div>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="remark" label="备注" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            {{scope.row.remark}}
+                        </div>
+                    </template>
+                </el-table-column>
+                <el-table-column label="操作" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            <el-button @click="upload(scope.row)" type="text" size="small">上传文件</el-button>
+                            <el-button @click="remove(scope)" type="text" size="small">删除</el-button>
+                        </div>
+                    </template>
+                </el-table-column>
+            </el-table>
+        </el-main>
+    </el-container>
+
+    <edit-Evidence ref="editEvidence" @save="getList"></edit-Evidence>
+  </div>
+</template>
+
+<script>
+import editEvidence from '../dialog/editEvidence.vue';
+export default {
+  components: {
+    editEvidence
+  },
+  props: {
+    projectId:{
+        default:0
+    }
+  },
+  data() {
+    return {
+        tableData:[]
+    };
+  },
+  watch: {},
+  computed: {},
+  created() {},
+  mounted() {
+    this.getList()
+  },
+  methods: {
+    //获取证据文献
+    getList(){
+
+    },
+    //上传证据文献
+    andClick(option){
+        switch(option){
+            case '1'://专利号导入
+                this.patentImport(2)
+                break;
+            case '2'://非专利文献导入
+                this.addLiterature({})
+                break;
+            case '3'://批量手动添加
+                this.manualImport()
+                break;
+        }
+    },
+    //专利导入
+    patentImport(type){
+      var form = {
+        importToId:this.projectId,
+        importToType:1,
+        type:type,
+      }
+      this.$commonJS.toImportParent(form,type)
+    },
+    //非专利文献导入
+    addLiterature(data){
+        var form = data
+        this.$refs.editEvidence.open(form)
+    },
+    //批量手动添加证据文献
+    manualImport(){
+        this.$router.push(
+            {
+                path:'/manualImport',
+                query:{
+                    projectId:this.projectId
+                }
+            }
+        )
+    },
+    //删除
+    remove(row){
+
+    },
+    
+  },
+};
+</script>
+<style lang="scss" scoped>
+.head{
+    width:100%;
+    display: flex;
+    flex-direction: row-reverse;
+}
+</style>

+ 26 - 0
src/views/report/InvalidResponse/components/Evidence/index.vue

@@ -0,0 +1,26 @@
+<template>
+  <div class="height_100">
+    <evidence></evidence>
+  </div>
+</template>
+
+<script>
+import evidence from './evidence.vue'
+export default {
+  components: {
+    evidence
+  },
+  props: {},
+  data() {
+    return {
+    };
+  },
+  watch: {},
+  computed: {},
+  created() {},
+  mounted() {},
+  methods: {},
+};
+</script>
+<style lang="scss" scoped>
+</style>

+ 30 - 0
src/views/report/InvalidResponse/components/ManualImport/index.vue

@@ -0,0 +1,30 @@
+<template>
+  <div class="height_100">
+    <manual-Import :projectId="projectId"></manual-Import>
+  </div>
+</template>
+
+<script>
+import manualImport from './manualImport.vue';
+export default {
+  components: {
+    manualImport
+  },
+  props: {},
+  data() {
+    return {
+    };
+  },
+  watch: {},
+  computed: {
+    projectId(){
+        return this.$route.query.projectId
+    }
+  },
+  created() {},
+  mounted() {},
+  methods: {},
+};
+</script>
+<style lang="scss" scoped>
+</style>

+ 100 - 0
src/views/report/InvalidResponse/components/ManualImport/manualImport.vue

@@ -0,0 +1,100 @@
+<template>
+  <div class="height_100">
+    <el-container>
+        <el-header>
+            <div>
+                <el-button type="primary">添加</el-button>
+                <el-button type="primary">保存</el-button>
+            </div>
+        </el-header>
+        <el-main>
+            <el-table :data="tableData" border style="width: 100%">
+                <el-table-column prop="id" label="序号" width="120" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            <el-input  v-model="scope.row.id" placeholder="请输入序号"></el-input>
+                        </div>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="content" label="专利号/标题" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            <el-input v-model="scope.row.content" placeholder="请输入专利号/标题"></el-input>
+                        </div>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="type" label="文献类型" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            <el-select v-model="scope.row.type" placeholder="请选择">
+                                <el-option label="专利"  value="专利"></el-option>
+                                <el-option label="非专利"  value="非专利"></el-option>
+                            </el-select>
+                        </div>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="publicDate" label="公开日" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            <el-date-picker v-model="scope.row.publicDate" style="width: 100%" type="date" placeholder="选择日期"></el-date-picker>
+                        </div>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="author" label="权利人/作者" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            <el-input v-model="scope.row.author" placeholder="请输入权利人/作者"></el-input>
+                        </div>
+                    </template>
+                </el-table-column>
+                <el-table-column prop="remark" label="备注" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            <el-input v-model="scope.row.remark" placeholder="请输入备注"></el-input>
+                        </div>
+                    </template>
+                </el-table-column>
+                <el-table-column label="操作" align="center">
+                    <template slot-scope="scope">
+                        <div>
+                            <el-button @click="upload(scope.row)" type="text" size="small">上传文件</el-button>
+                            <el-button type="" @click="remove(scope)" type="text" size="small">移除</el-button>
+                        </div>
+                    </template>
+                </el-table-column>
+            </el-table>
+        </el-main>
+    </el-container>
+  </div>
+</template>
+
+<script>
+export default {
+  components: {},
+  props: {},
+  data() {
+    return {
+        tableData:[
+            {
+                type:'专利'
+            }
+        ],
+    };
+  },
+  watch: {},
+  computed: {},
+  created() {},
+  mounted() {},
+  methods: {
+    remove(scope){
+        var index = scope.$index
+        this.tableData.splice(index,1)
+    },
+    upload(row){
+
+    },
+  },
+};
+</script>
+<style lang="scss" scoped>
+</style>

+ 104 - 0
src/views/report/InvalidResponse/components/dialog/editEvidence.vue

@@ -0,0 +1,104 @@
+<template>
+  <div>
+    <el-dialog  :title="form.id?'编辑证据文献':'添加证据文献'" :visible.sync="showDialog" width="600px" :close-on-click-modal="false"  :before-close="handleClose" append-to-body>
+        <el-form :model="form" :rules="rules" ref="form" label-width="80px" label-position="left">
+            <el-form-item  label="文献名称">
+              <el-input  v-model="form.name" autocomplete="off" placeholder="请输入文献名称"></el-input>
+            </el-form-item>
+            <el-form-item  label="公开日">
+                <el-date-picker v-model="form.publicDate" value-format="yyyy-MM-dd" type="date"  placeholder="请选择时间" style="width: 100%;"></el-date-picker>
+            </el-form-item>
+            <el-form-item  label="作者">
+              <el-input  v-model="form.author" autocomplete="off" placeholder="请输入作者名称"></el-input>
+            </el-form-item>
+            <el-form-item  label="附件">
+                <template>
+                    <div> 
+                        <myUpload :file-list="form.systemFileList" :limit="1" :autoUpload="true" @on-change="onChange" @on-remove="onRemove"></myUpload>
+                    </div>
+                </template>
+            </el-form-item>
+            <el-form-item  label="备注">
+              <el-input type="textarea" v-model="form.remark" autocomplete="off" placeholder="请输入备注"></el-input>
+            </el-form-item>
+        </el-form>
+        <span slot="footer" class="dialog-footer">
+          <el-button @click="handleClose">取 消</el-button>
+          <el-button type="primary" @click="submit" >确 定</el-button>
+        </span>
+    </el-dialog>
+  </div>
+</template>
+
+<script>
+export default {
+  components: {},
+  props: {},
+  data() {
+    return {
+        form:{},
+        showDialog:false,
+        rules: {
+          fileName:[{required : false , message:'请输入文献名称',trigger:'blur'}]
+        }
+    };
+  },
+  watch: {},
+  computed: {},
+  created() {},
+  mounted() {},
+  methods: {
+    //打开弹窗
+    open(form){
+        this.form = JSON.parse(JSON.stringify(form))
+        this.showDialog = true
+    },
+    //关闭弹窗
+    handleClose(){
+        this.showDialog = false
+    },
+    //切换文件
+    onChange(file, fileList){
+        if (file.guid && this.form.systemFileList && this.form.systemFileList.length > 0) {
+            let index = this.form.systemFileList.findIndex(item => {
+                return item.uid == file.uid
+            })
+            if (index != -1) {
+                this.form.systemFileList.splice(index, 1, file)
+            } else {
+                this.form.systemFileList.push(file.raw)
+            }
+        } else {
+            this.form.systemFileList.push(file.raw)
+        }
+    },
+    //移除文件
+    onRemove(file, fileList){
+        if (file.guid) {
+            let a = this.form.systemFileList.findIndex(item => {
+                return item.guid == file.guid
+            })
+            this.form.systemFileList.splice(a, 1)
+        } else {
+            let a = this.form.systemFileList.findIndex(item => {
+                return item.uid == file.uid
+            })
+            this.form.systemFileList.splice(a, 1)
+        }
+    },
+    //提交
+    submit(){
+        this.$refs.form.validate((valid) => {
+          if (valid) {
+            this.$emit('save',true)
+            this.handleClose()
+          } else {
+            return false;
+          }
+        });
+    },
+  },
+};
+</script>
+<style lang="scss" scoped>
+</style>

+ 131 - 0
src/views/report/InvalidResponse/components/dialog/editFlowPath.vue

@@ -0,0 +1,131 @@
+<template>
+    <div class="responseDialog">
+      <el-dialog  :title="form.id?'编辑' +title[form.processType]:'添加' +title[form.processType]" :visible.sync="showDialog" width="500px" :close-on-click-modal="false"  :before-close="handleClose" append-to-body>
+        <el-form  :model="form" :rules="rules" ref="reportForm" label-width="120px" label-position="left" v-loading="loading">
+          <el-form-item :label="timeType[form.processType]">
+            <el-date-picker v-model="form.occuredTime" value-format="yyyy-MM-dd" type="date"  placeholder="请选择时间" style="width: 100%;"></el-date-picker>
+          </el-form-item>
+          <template v-if="form.processType==0">
+            <el-form-item  label="地点">
+              <el-input  v-model="form.address" autocomplete="off" placeholder="请输入地点"></el-input>
+            </el-form-item>
+            <el-form-item  label="参与人">
+              <el-input  v-model="form.participants" autocomplete="off" placeholder="请输入参与人"></el-input>
+            </el-form-item>
+          </template>
+          <el-form-item label="附件:">
+            <template>
+              <div> 
+                <myUpload :file-list="form.systemFileList" :autoUpload="true" @on-change="onChange" @on-remove="onRemove"></myUpload>
+              </div>
+            </template>
+          </el-form-item>
+          <el-form-item label="备注内容:">
+            <el-input type='textarea' v-model="form.remark" autocomplete="off" placeholder="请输入备注"></el-input>
+          </el-form-item>
+        </el-form>
+  
+        <span slot="footer" class="dialog-footer">
+          <el-button @click="handleClose">取 消</el-button>
+          <el-button type="primary" @click="finish" >确 定</el-button>
+        </span>
+      </el-dialog>
+    </div>
+</template>
+  
+<script>
+  export default {
+    props:['reportId'],
+    data() {
+      return {
+        showDialog: false,
+        loading: false,
+        form: {},
+        rules: {},
+        Already: [],
+        file: [],
+        isFinish: false,
+        timeType: {
+          '1': '提出无效时间',
+          '2': '陈述答复时间',
+          '0': '口审时间',
+          '3': '无效决定时间',
+          '4': '发起诉讼时间',
+        },
+        title: {
+          '1': '无效请求书',
+          '2': '陈述意见书',
+          '0': '口审记录',
+          '3': '无效决定书',
+          '4': '行政诉讼书',
+        },
+        rules: {
+          fileName:[{required : false , message:'请输入文献名称',trigger:'blur'}]
+        }
+      }
+    },
+    watch: {
+    },
+    mounted() {
+  
+    },
+    methods: {
+        open(form) {
+            this.form = JSON.parse(JSON.stringify(form))
+            
+            this.showDialog=true
+        },
+        // 弹窗确定
+        finish() {
+
+        },
+        // 上传无效请求书
+        addInvalidProcess(formData) {
+            
+        },
+
+        // 关闭弹窗
+        handleClose() {
+            
+        },
+        //切换文件
+        onChange(file, fileList){
+            if (file.guid && this.form.systemFileList && this.form.systemFileList.length > 0) {
+                let index = this.form.systemFileList.findIndex(item => {
+                    return item.uid == file.uid
+                })
+                if (index != -1) {
+                    this.form.systemFileList.splice(index, 1, file)
+                } else {
+                    this.form.systemFileList.push(file.raw)
+                }
+            } else {
+                this.form.systemFileList.push(file.raw)
+            }
+        },
+        //移除文件
+        onRemove(file, fileList){
+            if (file.guid) {
+                let a = this.form.systemFileList.findIndex(item => {
+                    return item.guid == file.guid
+                })
+                this.form.systemFileList.splice(a, 1)
+            } else {
+                let a = this.form.systemFileList.findIndex(item => {
+                    return item.uid == file.uid
+                })
+                this.form.systemFileList.splice(a, 1)
+            }
+        },
+
+    },
+  }
+  </script>
+  
+  <style lang="scss">
+  .responseDialog{
+    .el-dialog__body{
+      padding-bottom: 0px;
+    }
+  }
+  </style>

+ 185 - 0
src/views/report/InvalidResponse/components/flowPath/flowPath.vue

@@ -0,0 +1,185 @@
+<template>
+  <div >
+    <!-- 无效流程 -->
+    <div style="display: flex;justify-content: end;margin-bottom: 10px;" v-if=" $reportPermission(reportId,[0,1])">
+      <!-- <el-button type="primary" size="small" @click="addOption">添加陈述意见</el-button> -->
+      <el-dropdown @command="handleCommand">
+        <el-button type="primary" size="small">
+          添加无效请求书<i class="el-icon-arrow-down el-icon--right"></i>
+        </el-button>
+        <el-dropdown-menu slot="dropdown" >
+          <el-dropdown-item command="1">添加无效请求书</el-dropdown-item>
+          <el-dropdown-item command="1">添加权要修改记录</el-dropdown-item>
+          <el-dropdown-item command="1">补充证据及理由记录</el-dropdown-item>
+          <el-dropdown-item command="2">添加陈述意见书</el-dropdown-item>
+          <el-dropdown-item command="0">添加口审记录</el-dropdown-item>
+          <el-dropdown-item command="3">添加无效决定书</el-dropdown-item>
+          <el-dropdown-item command="4">添加行政诉讼书</el-dropdown-item>
+        </el-dropdown-menu>
+      </el-dropdown>
+    </div>
+    <div >
+      <el-timeline>
+        <el-timeline-item v-for="item in timelineList" :timestamp="item.date" placement="top">
+          <el-card>
+            <div>
+              <span>{{ timeType[item.processType] }}:</span><span>{{ item.occuredTime.slice(0,10) }}</span>
+              <div style="float: right;" v-if=" $reportPermission(reportId,[0,1])">
+                  <span style="margin-right: 10px;"  @click="edit(item)"><el-link>编辑</el-link></span>
+                  <span  @click="dele(item)"><el-link>删除</el-link></span>
+              </div>
+            </div>
+            <div v-if="item.processType==0">
+              <p><span>地点:</span><span>{{ item.oralExam.address }}</span></p>
+              <p><span>参与人:</span><span>{{ item.oralExam.participants }}</span></p>
+            </div>
+            <div v-if="item.processType!=0" style="margin-top: 35px;">
+              <div v-if="item.reportFile" class="upload-file">
+                <div  style="margin:0;display:flex;justify-content:space-around;">
+                  <p style="margin:0;width:calc(100% - 40px);overflow: hidden;white-space: nowrap;text-overflow:ellipsis;cursor: pointer;">{{item.reportFile.name?item.reportFile.name+'.'+item.reportFile.suffix:item.reportFile.fileName}}</p> 
+                  <myMenu :data="item.reportFile" @delFile="delFile(item)" :isDelete="true" ></myMenu>
+                </div>
+              </div>
+            </div>
+          </el-card>
+        </el-timeline-item>
+      </el-timeline>
+    </div>
+
+    <responseDialog ref="responseDialog" :reportId="reportId" @isFinish="handleFinish" :deleFile="deleFile"></responseDialog>
+  </div>
+</template>
+
+<script>
+import responseDialog from '../dialog/editFlowPath.vue'
+
+export default {
+  props:['reportId','signPatentNo'],
+  components: {
+    responseDialog,
+  },
+  data() {
+    return {
+      timelineList:[],
+      isOpen: false,
+      isOpenNum: null,
+      form: {},
+      queryParams: {},
+      timeType: {
+        '1': '提出无效时间',
+        '2': '陈述答复时间',
+        '0': '口审时间',
+        '3': '无效决定时间',
+        '4': '发起诉讼时间',
+      },
+      deleFile: false,
+      // tableHeight:0,
+    }
+  },
+  computed: {},
+  watch: {},
+  mounted() {
+    this.getList()
+    // this.getHeight()
+  },
+  methods: {
+    //添加陈述意见
+    addOption(){
+      var queryParams = {
+        reportId:this.reportId,
+        signPatentNo:this.signPatentNo,
+        size: 1,
+        current: 1,
+      }
+      this.$api.queryProof(queryParams).then((res) => {
+        if (res.code==200) {
+          // this.tableData=res.data[0].id
+          var router = this.$router.resolve({
+            path: '/checkFileDetails/' +res.data[0].id,
+          })
+          let params = this.$s.getSession('params')
+          params.type=7
+          params.reportType=7
+          params.aid=res.data[0].id
+          params.signPatentNo=this.signPatentNo
+          params.reportId=this.reportId
+          this.$s.setSession('params', params)
+          window.open(router.href, '_blank');
+            }
+      }).catch((error) => {
+        
+      })
+      
+    },
+    // getHeight() {
+    //   let a = document.body.clientHeight
+    //   this.tableHeight=a
+    // },
+    getList() {
+      this.queryParams.reportId = this.reportId
+      // 1正序
+      this.queryParams.orderBy = 1
+      this.$api.queryInvalidProcess(this.queryParams).then((res) => {
+        if (res.code==200) {
+          this.timelineList = res.data
+        }
+      }).catch((error) => {
+        
+      })
+    },
+    handleFinish() {
+      this.getList()
+    },
+    // 删除文件
+    delFile(item) {
+      // var index = this.form.files.findIndex(item => {
+      //   return item.id == id
+      // })
+      // if (index != -1) {
+      item.reportFile = {}
+      this.form = item
+      this.deleFile=!this.deleFile
+      //   this.submit()
+      // }
+    },
+    // 编辑
+    edit(item) {
+      var form = JSON.parse(JSON.stringify(item))
+      this.$refs.responseDialog.open(form)
+    },
+    // 删除
+    dele(item) {
+      let a = {
+        id:item.id
+      }
+      this.$confirm('确认删除本条数据吗?', '提示', {
+          confirmButtonText: '确定',
+          cancelButtonText: '取消',
+          type: 'warning'
+        }).then(() => {
+          this.$api.deleteInvalidProcess(a).then((res) => {
+            if (res.code==200) {
+              this.$message.success('删除成功')
+              this.getList()
+            }
+          })
+        }).catch(err => {
+      })
+      
+    },
+    // 添加
+    handleCommand(ev) {
+      var form = {}
+      form.processType = ev
+      this.$refs.responseDialog.open(form)
+    },
+  },
+}
+</script>
+
+<style lang="scss" scoped>
+.edit{
+  float: right;
+  margin-right: 10px;
+}
+</style>

+ 26 - 0
src/views/report/InvalidResponse/components/flowPath/index.vue

@@ -0,0 +1,26 @@
+<template>
+  <div class="height_100">
+    <flow-Path></flow-Path>
+  </div>
+</template>
+
+<script>
+import flowPath from './flowPath.vue';
+export default {
+  components: {
+    flowPath
+  },
+  props: {},
+  data() {
+    return {
+    };
+  },
+  watch: {},
+  computed: {},
+  created() {},
+  mounted() {},
+  methods: {},
+};
+</script>
+<style lang="scss" scoped>
+</style>

+ 0 - 0
src/views/report/InvalidResponse/index.vue


+ 7 - 2
src/views/report/components/details/components/basicMessage.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <el-form :model="form" ref="reportForm" label-width="120px">
+    <el-form :model="form" ref="reportForm" label-width="140px">
       <el-row>
         <el-col :span="12">
           <template>
@@ -144,13 +144,18 @@
         <div class="box" v-html="$commonJS.getColumnData(form, { type: 'String', value: 'description' })"></div>
       </el-form-item>
     </el-form>
+
+    <flow-Path></flow-Path>
   </div>
 </template>
   
 <script>
 import { mapGetters } from 'vuex';
+import flowPath from '@/views/report/InvalidResponse/components/flowPath/flowPath.vue';
 export default {
-  components: {},
+  components: {
+    flowPath
+  },
   props: {
     projectId: ''
   },

+ 24 - 0
src/views/report/components/details/index.vue

@@ -71,6 +71,7 @@ export default {
       this.width = this.isCollapse ? '200px' : '64px'
     },
     getMenu() {
+      //0:无效分析;1:第三方意见;2:稳定性分析;3:FTO;4:侵权;5:回避;7:无效应对
       var menus = [
         {
           label: '标的专利特征拆分',
@@ -78,6 +79,7 @@ export default {
           path: 'report/components/details/components/splitDetails.vue',
           reportType: [0, 1, 2, 5]
         },
+        //FTO和侵权
         {
           label: '标的产品信息',
           name: 'informationEntry',
@@ -102,6 +104,7 @@ export default {
           path: 'report/components/productResult/productResult.vue',
           reportType: [3, 4]
         },
+        //回避设计
         {
           label: '回避设计方案',
           name: "avoid",
@@ -114,6 +117,27 @@ export default {
           path: 'report/avoid/components/direction.vue',
           reportType: [5]
         },
+
+        //无效应对
+        {
+          label: '权利要求管理',
+          name: "right",
+          path: 'report/avoid/components/direction.vue',
+          reportType: [7]
+        },
+        {
+          label: '无效理由和证据',
+          name: "direction",
+          path: 'report/avoid/components/direction.vue',
+          reportType: [7]
+        },
+        {
+          label: '证据文献',
+          name: "evidence",
+          path: 'report/InvalidResponse/components/Evidence/evidence.vue',
+          reportType: [7]
+        },
+
         {
           label: '报告文档',
           name: "reportFile",

+ 44 - 88
src/views/report/components/dialog/addAndEditReport.vue

@@ -56,11 +56,28 @@
             </el-row>
           </div>
         </template>
-        <el-form-item label="是否完成" v-if="!form.id">
-          <el-switch v-model="form.status" active-color="#13ce66" inactive-color="#ff4949" @change="changeStatus"
-            :active-value="3" :inactive-value="2">
-          </el-switch>
-        </el-form-item>
+        <el-row>
+              <el-col :span="12">
+                <el-form-item label="主被动类型">
+                  <el-select v-model="form.actType" placeholder="请选择" style="width:100%">
+                    <el-option
+                      v-for="item in actTypes "
+                      :key="item.value"
+                      :label="item.label"
+                      :value="item.value">
+                    </el-option>
+                  </el-select>
+                </el-form-item>
+              </el-col>
+              <el-col :span="12">
+                <el-form-item label="是否完成" v-if="!form.id">
+                  <el-switch v-model="form.status" active-color="#13ce66" inactive-color="#ff4949" @change="changeStatus"
+                    :active-value="3" :inactive-value="2">
+                  </el-switch>
+                </el-form-item>
+              </el-col>
+            </el-row>
+        
         <template v-if="!form.id && form.status == 3">
           <div>
             <el-form-item label="核心结论">
@@ -184,9 +201,15 @@
             </el-row>
           </div>
         </template>
+        <!-- <template v-if="form.reportType == 7">
+          <div>
+            <el-form-item label="无效请求书">
+              <el-input v-model="form.associateReportName" autocomplete="off" placeholder="请输入关联报告"></el-input>
+            </el-form-item>
+          </div>
+        </template> -->
         <el-form-item :label="(!form.id && form.status == 3) ? '上传报告文档' : '上传附件'">
-          <myUpload :file-list="form.systemFileList" @on-change="onchangeFile" @on-remove="onRemove"
-            @on-preview="onPreview" style="height: 180px;" :autoUpload="true"></myUpload>
+          <myUpload :file-list="form.systemFileList" @on-change="onchangeFile" @on-remove="onRemove" style="height: 180px;" :autoUpload="true"></myUpload>
         </el-form-item>
         <el-form-item label="备注" prop="description">
           <el-input type='textarea' v-model="form.description" autocomplete="off" placeholder="请输入备注"></el-input>
@@ -228,11 +251,6 @@
       </span>
     </el-dialog>
 
-    <!-- 无效应对报告下一步所打开弹窗 -->
-    <el-dialog :visible.sync="showEvidenceAndRequest" width="1000px" :append-to-body="true" :close-on-click-modal="false">
-      <evidenceAndRequest ref="evidence" :examine="true" :reportId="reportId" @show="showEvidenceAndRequest = false">
-      </evidenceAndRequest>
-    </el-dialog>
 
     <!-- 委托方弹窗 -->
     <el-dialog title="选择委托方" :visible.sync="visible" width="800px" :append-to-body="true" :close-on-click-modal="false"
@@ -244,12 +262,10 @@
 
 <script>
 import { mapGetters } from 'vuex'
-import evidenceAndRequest from './evidenceAndRequest.vue'
 import addMatter from './addMatter.vue'
 import ClientTable from '@/views/client'
 export default {
   components: {
-    evidenceAndRequest,
     addMatter,
     ClientTable,
   },
@@ -391,12 +407,18 @@ export default {
         deadLineTime: [{ required: true, validator: isTime, trigger: 'change' }],
       },
       /*审核弹窗所需变量end*/
-      /*无效应对报告下一步弹窗所需变量start*/
-      // 报告id
-      reportId: null,
-      // 控制弹窗的关闭
-      showEvidenceAndRequest: false,
-      /*无效应对报告下一步弹窗所需变量end*/
+
+      actTypes:[
+        {
+          label:'主动',
+          value:1
+        },
+        {
+          label:'被动',
+          value:0
+        },
+      ],
+
     };
   },
   watch: {},
@@ -805,35 +827,7 @@ export default {
         this.form.systemFileList.splice(index, 1)
       }
     },
-    //上传附件时点击查看附件内容
-    onPreview(file) {
-      var item = {
-        name: file.name,
-        suffix: '',
-        downLoad: true
-      }
-      var index = file.raw.type.lastIndexOf('/')
-      var type = file.raw.type.substring(index + 1, file.raw.type.length)
-      var arr = ['png', 'jpeg', 'bmp', 'jpg']
-      if (arr.includes(type)) {
-        var FileUrl = URL.createObjectURL(file.raw)
-        var isPicture = 1
-      } else if (type == 'pdf') {
-        var FileUrl = URL.createObjectURL(file.raw)
-        var isPicture = 0
-      } else {
-        return false
-      }
-      const router = this.$router.resolve({
-        path: '/checkFile',
-        query: {
-          row: JSON.stringify(item),
-          FileUrl: FileUrl,
-          isPicture: isPicture
-        }
-      })
-      window.open(router.href, '_blank');
-    },
+
 
 
     //提交填写的信息
@@ -843,18 +837,6 @@ export default {
           this.form.type = 2//项目类型(1专利数据库 2报告 3专利挖掘项目)
           // 判断文件是否都上传完毕
           this.$commonJS.allUploadFile(this.form)
-          // // 判断文件是否都上传完毕
-          // if (this.form.systemFileList && this.form.systemFileList.length > 0) {
-          //   this.form.fileGuids = []
-          //   for (let i = 0; i < this.form.systemFileList.length; i++) {
-          //     if (this.form.systemFileList[i].guid) {
-          //       this.form.fileGuids.push(this.form.systemFileList[i].guid)
-          //     } else {
-          //       this.$message.error('文件未全部上传,请耐心等待')
-          //       return false
-          //     }
-          //   }
-          // }
           // 事件及调查类型处理
           if (this.form.scenarioIds && this.form.scenarioIds.length > 0) {
             var scenarioIds = JSON.parse(JSON.stringify(this.form.scenarioIds))
@@ -905,8 +887,6 @@ export default {
     //关闭弹窗
     handleClose(val) {
       if (this.form.reportType == 7 && val) {
-        this.showEvidenceAndRequest = true
-        // this.$s.setSession('params', {})
         this.reportId = val
       }
       this.personnelList.queryParams.name = ''
@@ -956,7 +936,6 @@ export default {
         if (valid) {
           this.taskForm.handlerType = 0//内部人员0,外部人员1
           this.taskForm.type = 5//任务类型,5为审核
-          
           let params = {
             reportProjectDTO: this.form,
             projectTaskDTO:this.taskForm,
@@ -984,30 +963,7 @@ export default {
       this.showTask = false
       this.isEndTime = true
     },
-    // 创建无效应对报告下一步
-    ifNext() {
-      this.$refs.reportForm.validate((valid) => {
-        if (valid) {
-          let formData = new FormData()
-          if (this.files && this.files.length > 0) {
-            for (var i = 0; i < this.files.length; i++) {
-              formData.append("files", this.files[i]);
-            }
-          }
-          formData.append('report', this.form)
-          this.addReport(formData)
-        } else {
-          this.loading = false
-          this.$alert('校验未通过,请按照要求创建报告', '提示', {
-            confirmButtonText: '确定',
-            type: 'warning',
-            callback: action => {
-            }
-          });
-          return false;
-        }
-      })
-    },
+
 
   },
 

+ 0 - 372
src/views/report/components/dialog/evidenceAndRequest.vue

@@ -1,372 +0,0 @@
-<template>
-  <div>
-    <div style="margin-bottom: 10px;float: right;" v-if="$reportPermission(reportId, [0, 1])">
-      <el-button type="primary" size="small" v-if="examine" @click="andClick('1')">上传无效请求书</el-button>
-      <el-dropdown trigger="click" @command="andClick($event)" :hide-on-click="false" type="primary" size="small">
-        <el-button type="primary" size="small">
-          上传证据文献<i class="el-icon-arrow-down el-icon--right"></i>
-        </el-button>
-        <el-dropdown-menu slot="dropdown" class="text-align_center">
-          <el-dropdown-item>
-            <el-dropdown @command="andClick($event)" placement="right-start">
-              <span class="el-dropdown-link"> 上传专利文件 </span>
-              <el-dropdown-menu class="children_item">
-                <el-dropdown-item command="3">专利号导入</el-dropdown-item>
-                <el-dropdown-item command="2">Excel导入</el-dropdown-item>
-              </el-dropdown-menu>
-            </el-dropdown>
-          </el-dropdown-item>
-          <el-dropdown-item command="5">上传非专利文件</el-dropdown-item>
-        </el-dropdown-menu>
-      </el-dropdown>
-
-      <el-button class="margin-left_10" type="primary" size="small" v-if="examine" @click="isExamine">报告审核</el-button>
-    </div>
-    <div>
-      <el-table :data="tableData" border style="width: 100%" v-if="show">
-        <el-table-column prop="sortStr" align="center" label="排序" min-width="180">
-          <template slot-scope="scope">
-            <div>
-              <el-link type="primary" @click="check(scope.row)">{{ scope.row.sortStr }}</el-link>
-              <el-popover placement="bottom" width="200" trigger="click" v-if="$reportPermission(reportId, [0, 1])">
-                <p>将本文件(<span style="color:red">{{ scope.row.sortStr }}</span>)作为:</p>
-                <el-tree ref="tree" :data="tableAll" :props="{ label: 'sortStr', value: 'id' }" :allow-drop="allowDrop"
-                  draggable style="height: 300px;overflow: auto;">
-                  <span class="custom-tree-node" slot-scope="{ node, data }"><el-radio v-model="val"
-                      @input="changeRadio(scope.row, data)" :label="data.id">{{ data.sortStr }}</el-radio></span>
-                </el-tree>
-                <p style="color:red">备注:选择其中一个文件与其交换位置</p>
-                <i class="el-icon-arrow-down el-icon--right" @click="getVal(scope.row)" slot="reference"></i>
-              </el-popover>
-            </div>
-          </template>
-
-        </el-table-column>
-        <el-table-column prop="proofName" align="center" label="名称" min-width="180"> </el-table-column>
-        <el-table-column prop="proofType" align="center" label="文件类型" min-width="180"> </el-table-column>
-        <el-table-column prop="remark" align="center" label="备注" min-width="180">
-          <template slot-scope="scope">
-            <div>{{ scope.row.remark ? scope.row.remark : '——' }}</div>
-          </template>
-        </el-table-column>
-        <el-table-column align="center" label="操作" width="100" v-if="$reportPermission(reportId, [0, 1])">
-          <template slot-scope="scope">
-            <div>
-              <el-button type="text" size="small" @click="handleDelete(scope.row)" style="color:red"> 删 除 </el-button>
-            </div>
-          </template>
-        </el-table-column>
-      </el-table>
-      <div style="text-align: center;margin-top: 10px;">
-        <el-pagination background layout="total, prev, pager, next, jumper" :current-page.sync="queryParams.current"
-          :page-size.sync="queryParams.size" @current-change="handleCurrentChange" :total="queryParams.total">
-        </el-pagination>
-      </div>
-    </div>
-
-    <responseDialog ref="responseDialog" :reportId='reportId' @isFinish="handleFinish"></responseDialog>
-
-    <el-dialog title="添加审核任务" :visible.sync="showTask" width="500px" @close="handleCloseTask" append-to-body
-      :close-on-click-modal="false">
-      <el-form :model="task" :rules="TaskRules" ref="TaskForm" label-width="120px">
-        <el-form-item label="任务名称 :" prop="taskName">
-          <el-input v-model="task.taskName" type="text" placeholder="输入主题" />
-        </el-form-item>
-        <el-form-item label="审核人 :" prop="personnelId">
-          <el-select style="width:100%;" ref="select1" v-model="task.personnelId" clearable filterable>
-            <el-option v-for="item in personnelList" :key="item.id" :label="item.personnelName"
-              :value="item.id"></el-option>
-          </el-select>
-        </el-form-item>
-        <el-form-item label="完成日期 :" prop="endTime">
-          <el-date-picker style="width:100%" v-model="task.endTime" value-format="yyyy-MM-dd HH:mm:ss" type="datetime"
-            placeholder="选择日期">
-          </el-date-picker>
-        </el-form-item>
-        <el-form-item label="备注 :" prop="remark">
-          <el-input v-model="task.remark" type="textarea" placeholder="输入备注" />
-        </el-form-item>
-      </el-form>
-      <span slot="footer" class="dialog-footer">
-        <el-button @click="handleCloseTask">取 消</el-button>
-        <el-button type="primary" @click="submitTask">确 定</el-button>
-      </span>
-    </el-dialog>
-
-
-    <el-dialog :title="title" :visible.sync="showFile" width="1200px" @close="handleFile" append-to-body
-      :close-on-click-modal="false">
-      <!-- <importPatent :reportId="this.queryParams.reportId"></importPatent> -->
-      <component :is='isComponent' :reportId="this.queryParams.reportId" :downloadId="8"></component>
-      <!-- <span slot="footer" class="dialog-footer">
-          <el-button type="primary" @click="submitFile" >确 定</el-button>
-        </span> -->
-    </el-dialog>
-  </div>
-</template>
-
-<script>
-import responseDialog from "./responseDialog.vue"
-// import ExcelImport from "@/views/components/import/excelImport/importPatent.vue"
-// import PatentNoImport from "@/views/components/import/PatentNoImport/download.vue"
-
-export default {
-  props: ['reportId', 'signPatentNo', 'examine'],
-  components: {
-    responseDialog,
-    // ExcelImport,
-    // PatentNoImport
-  },
-  data() {
-    const isTime = (rule, value, callback) => {
-      if (this.isEndTime) {
-        this.isEndTimes = Date.parse(new Date)
-      }
-
-      let b = Date.parse(value)
-      if (value) {
-        if (b < this.isEndTimes) {
-          callback(new Error('禁止选择现在及以前时间,请重新选择'))
-        } else {
-          callback()
-        }
-      } else {
-        callback(new Error('请选择时间'))
-      }
-    }
-    return {
-      tableData: [],
-      tableAll: [],//排序所用,全部的证据文献
-      queryParams: {
-        reportId: this.reportId,
-        signPatentNo: this.signPatentNo,
-        size: 10,
-        current: 1,
-        orderType: '',//asc,desc
-        total: 0,
-      },
-      form: {},
-      showTask: false,
-      showFile: false,
-      title: '',
-      isComponent: '',
-      task: {},
-      TaskRules: {
-        taskName: [{ required: true, message: '请输入任务名称', trigger: 'blur' },],
-        personnelId: [{ required: true, message: '请选择审核人', trigger: 'change' },],
-        endTime: [{ required: true, validator: isTime, trigger: 'change' }],
-      },
-      personnelList: [],//全部人员
-      val: null,
-      show: true,
-    }
-  },
-  computed: {
-  },
-  watch: {
-  },
-  mounted() {
-    this.getList()
-    this.getListTable()
-    //创建报告时打开
-    if (this.examine) {
-      this.getAllPersonnelList()
-    }
-  },
-  methods: {
-    // 删除证据文献
-    handleDelete(row) {
-      this.$confirm('此操作将删除该证据文献, 是否继续?', '提示', {
-        confirmButtonText: '确定',
-        cancelButtonText: '取消',
-        type: 'warning'
-      }).then(() => {
-        let ids = [row.id]
-        var index = this.tableAll.findIndex(item => {
-          return item.id == row.id
-        })
-        this.tableAll.splice(index, 1)
-        this.$api.deleteCompareFile(ids).then(response => {
-          if (response.code == 200) {
-            // this.getList()
-            this.$message.success('删除证据文献成功')
-            this.addOrder()
-          }
-        })
-      }).catch(() => {
-        this.$message.info('已取消删除');
-      });
-    },
-    //查看证据文献
-    check(val) {
-      // var router = this.$router.resolve({
-      //   path: '/ContrastIndex/' + val.id,
-      // })
-      var router = this.$router.resolve({
-        path: '/checkFileDetails/' + val.id,
-      })
-      let params = this.$s.getSession('params')
-      params.type = 7
-      params.reportType = 7
-      params.aid = val.id
-      params.signPatentNo = this.signPatentNo || val.proofConditions
-      params.reportId = this.queryParams.reportId
-      this.$s.setSession('params', params)
-      window.open(router.href, '_blank');
-    },
-    //获取当前文献id
-    getVal(val) {
-      this.val = val.id
-    },
-    //上下拖动
-    allowDrop(draggingNode, dropNode, type) {
-      if (draggingNode.level == dropNode.level) {
-        return type === 'next' || type === 'prev'
-      } else {
-        return type === 'prev'
-      }
-    },
-    //交换文献
-    changeRadio(val1, node) {
-      var index1 = this.tableAll.findIndex(item => {//获取当前专利位置
-        return item.id == val1.id
-      })
-      var index2 = this.tableAll.findIndex(item => {//获取选中专利位置
-        return item.id == node.id
-      })
-      this.tableAll[index1] = this.tableAll.splice(index2, 1, this.tableAll[index1])[0]
-      this.addOrder()
-    },
-    //证据文献排序
-    addOrder() {
-      var params = {
-        "report": this.queryParams.reportId,
-        "orders": this.tableAll.map((item, index) => {
-          return {
-            id: item.id,
-            order: index + 1
-          }
-        })
-      }
-      this.$api.addProodOrder(params).then(response => {
-        if (response.code == 200) {
-          this.show = false
-          this.getList()
-          this.getListTable()
-          this.$nextTick(() => {
-            this.show = true
-          })
-        }
-      }).catch(error => {
-
-      })
-    },
-
-    // 报告审核按钮,打开审核弹窗
-    isExamine() {
-      this.showTask = true
-    },
-    // 审核确认
-    submitTask() {
-      this.$refs.TaskForm.validate((valid) => {
-        if (valid) {
-          let formData = new FormData()
-          let a = this.task
-          a.reportId = this.queryParams.reportId
-          a.personIds = [this.task.personnelId]
-          a.type = 0
-          formData.append('taskVO', JSON.stringify(a))
-          this.$api.AddTask(formData).then(response => {
-            if (response.code == 200) {
-              this.$message.success('报告创建成功并发送审核')
-              this.handleCloseTask()
-              this.$emit('show', false)
-            }
-          }).catch(error => {
-            this.$message.error('报告创建失败')
-          })
-        }
-      })
-    },
-    // 审核取消,关闭审核弹窗
-    handleCloseTask() {
-      this.$refs.TaskForm.resetFields()
-      this.task = {}
-      this.showTask = false
-    },
-    //获取全部人员
-    getAllPersonnelList() {
-      this.$api.getTenantPersonnel().then(response => {
-        this.personnelList = response.data
-      })
-    },
-    // 上传证据文献成功弹窗关闭
-    handleFinish(val) {
-      this.getList();
-      this.getListTable()
-    },
-    //分页查询证据文献
-    getList() {
-      this.$api.queryProof(this.queryParams).then((res) => {
-        if (res.code == 200) {
-          this.tableData = res.data
-          this.queryParams.size = res.pageColumn.size
-          this.queryParams.current = res.pageColumn.current
-          this.queryParams.total = res.pageColumn.total
-        }
-      }).catch((error) => {
-
-      })
-    },
-    //查询所有证据文献
-    getListTable() {
-      var params = {
-        size: 999,
-        current: 1,
-        reportId: this.queryParams.reportId
-      }
-      this.$api.queryProof(params).then((res) => {
-        if (res.code == 200) {
-          this.tableAll = res.data
-        }
-      }).catch((error) => {
-
-      })
-    },
-    //打开上传文件弹窗
-    andClick(val) {
-      switch (val) {
-        case '1':
-        case '5':
-          this.form.reportId = this.queryParams.reportId
-          this.form.processType = val
-          this.$refs.responseDialog.open(this.form)
-          break;
-        case '2':
-          this.title = 'Excel导入'
-          this.isComponent = 'ExcelImport'
-          this.showFile = true
-          break;
-        case '3':
-          this.title = '专利号导入'
-          this.isComponent = 'PatentNoImport'
-          this.showFile = true
-          break;
-      }
-    },
-    // 上传文件弹窗关闭
-    handleFile() {
-      this.getList()
-      this.getListTable()
-      this.showFile = false
-    },
-    // 分页
-    handleCurrentChange(val) {
-      this.queryParams.current = val;
-      this.getList();
-    },
-  },
-}
-</script>
-
-<style lang="scss" scoped></style>