ソースを参照

修改清单存在问题

zhuliu 1 年間 前
コミット
138663cb94

+ 1 - 1
src/api/newApi/task.js

@@ -87,7 +87,7 @@ export default {
     return axios.get("/xiaoshi/projectTask/updateTaskStatus", {params});
   },
   /**
-   * 查询专利挖掘流程节点相关的任务/文件数量
+   * 查询专利挖掘所属流程相关的任务/文件数量
    */
   getCountOfProcess(params) {
     return axios.get("/xiaoshi/patentDigProjectFiles/getCountOfProcess", {params});

+ 1 - 1
src/views/components/dialog/fields.vue

@@ -38,7 +38,7 @@ export default {
   props: {
     type: {
       type: String,
-      default: ''
+      default: null
     },
     projectId: {
       default: null,

+ 1 - 1
src/views/patentMining/components/details/components/projectPath.vue

@@ -204,7 +204,7 @@ export default {
     await this.getFileNumber()
   },
   methods: {
-    // 获取流程节点及相对应的文件
+    // 获取所属流程及相对应的文件
     async getFileNumber() {
       let params = {
         projectId: this.id,

+ 3 - 3
src/views/patentMining/components/fileMessage.vue

@@ -174,11 +174,11 @@ export default {
             type: 'type',
           })
           //为所属流程及最终文件添加选项
-          let arr = ['流程节点', '最终文件']
+          let arr = ["processId", 'ifFinal']
           arr.forEach(item => {
-            var obj = this.searchFiled.find(item2 => { return item2.label == item })
+            var obj = this.searchFiled.find(item2 => { return item2.value == item })
             if(obj){
-              if (item == '流程节点') {//流程节点
+              if (item == "processId") {//所属流程
                 obj.options = this.pathOptions
               } else {//最终文件
                 let isFile = [

+ 1 - 1
src/views/project/patentDetails/components/patentMessage/mixins/index.js

@@ -15,7 +15,7 @@ export const patentDetails = {
       default: false
     },
     projectType: {
-      type: String,
+      type: [String,Number],
       default: 2//判断是不是从专题库进入专利详情1为专题库(专题库已传1)2为报告(报告未传2)
     },
     patentNo:{

+ 1 - 1
src/views/project/patentDetails/components/patentMessage/pageProduct.vue

@@ -194,7 +194,7 @@ export default {
     chooseList(val) {
       let params = {
         productIds: val,
-        patentNos: this.patentNo
+        patentNos: [this.patentNo]
       }
       this.$api.addProductPatent(params).then(res => {
         if (res.code == 200) {

+ 3 - 4
src/views/task/components/index.vue

@@ -497,8 +497,7 @@ export default {
             value: 'value',
             type: 'type',
           })
-
-          var obj = this.searchFiled.find(item => { return item.label == '任务状态' })
+          var obj = this.searchFiled.find(item => { return item.value == "status" })
           if (obj) {
             obj.options = []
             for (let key in this.taskStatus) {
@@ -508,7 +507,7 @@ export default {
               })
             }
           }
-          var obj2 = this.searchFiled.find(item => { return item.label == '任务类型' })
+          var obj2 = this.searchFiled.find(item => { return item.value == "type" })
           if (obj2) {
             obj2.options = []
             for (let key in this.taskType) {
@@ -518,7 +517,7 @@ export default {
               })
             }
           }
-          var obj3 = this.searchFiled.find(item => { return item.label == '流程节点' })
+          var obj3 = this.searchFiled.find(item => { return item.value == "processId" })
           if(obj3){
             obj3.options = this.pathOptions
           }

+ 1 - 1
src/views/visual/title/index.vue

@@ -35,7 +35,7 @@
       return {
         //事件数量
         QuestionTotal: [],
-        //获取应用场景下流程节点对应项目数量
+        //获取应用场景下所属流程对应项目数量
         total: {},
         //当前的应用场景
         title: this.$route.params.title || this.scenarioName,