Pārlūkot izejas kodu

专利详情-变更前权利人-当前权利人

guhongwei 3 gadi atpakaļ
vecāks
revīzija
94c4cc61c0
2 mainītis faili ar 10 papildinājumiem un 8 dzēšanām
  1. 1 1
      src/layout/patentInfo/info-1.vue
  2. 9 7
      src/views/test.vue

+ 1 - 1
src/layout/patentInfo/info-1.vue

@@ -25,7 +25,7 @@
             <van-field v-model="info.onlegal_status" label="当前法律状态" type="textarea" autosize rows="1" readonly />
             <van-field v-model="info.legal_status" label="法律状态" type="textarea" autosize rows="1" readonly />
             <van-field v-model="info.law_date" label="法律文书日期" readonly />
-            <van-field v-model="info.on_obligee" label="变更前权利人" type="textarea" autosize rows="1" readonly />
+            <van-field v-model="info.on_obligee" label="前权利人" type="textarea" autosize rows="1" readonly />
             <van-field v-model="info.apply_address" label="申请人地址(其他)" type="textarea" autosize rows="1" readonly />
             <van-field v-model="info.apply_other" label="申请人(其他)" type="textarea" autosize rows="1" readonly />
             <van-field v-model="info.law_num" label="法律文书编号" readonly />

+ 9 - 7
src/views/test.vue

@@ -75,13 +75,15 @@ export default {
       }
     },
     async twoSearch() {
-      // let res = await this.personalQuery({ code: 'FMTTHY', isdel: '1' });
-      // if (this.$checkRes(res)) {
-      //   for (const val of res.data) {
-      //     let res = await this.personalUpdate({ id: val.id, isdel: '0' });
-      //     console.log(res);
-      //   }
-      // }
+      let res = await this.personalQuery({});
+      if (this.$checkRes(res)) {
+        let arr = res.data.filter((i) => i.isdel == '1');
+        console.log(arr);
+        // for (const val of res.data) {
+        //   let res = await this.personalUpdate({ id: val.id, isdel: '0' });
+        //   console.log(res);
+        // }
+      }
     },
   },
   computed: {