guhongwei 3 年之前
父節點
當前提交
6c52494dfc
共有 1 個文件被更改,包括 34 次插入0 次删除
  1. 34 0
      src/views/service/patent/admin/examine/hairmess_autoCreate.vue

+ 34 - 0
src/views/service/patent/admin/examine/hairmess_autoCreate.vue

@@ -19,6 +19,14 @@
             <van-button type="info" size="small" @click="onSubmit">确认发送</van-button>
           </van-col>
         </van-form>
+        <van-col span="24" class="one">
+          <van-col span="24" class="list" v-for="(item, index) in list" :key="index">
+            <van-col span="24" class="title">{{ item.key }}</van-col>
+            <van-col span="24" class="other">
+              说明:<span>{{ item.word }}</span>
+            </van-col>
+          </van-col>
+        </van-col>
       </template>
     </admin-frame>
   </div>
@@ -40,6 +48,7 @@ export default {
     return {
       form: {},
       uri: '',
+      list: '',
     };
   },
   async created() {},
@@ -51,6 +60,7 @@ export default {
       let data = { uri: this.uri };
       let res = await this.import(data);
       if (this.$checkRes(res)) {
+        if (res.data) this.$set(this, `list`, res.data);
         this.$toast({ type: `success`, message: `操作成功` });
       } else {
         this.$toast({ type: `success`, message: `${res.errmsg}` });
@@ -97,4 +107,28 @@ export default {
     margin: 10px;
   }
 }
+.one {
+  .list {
+    background-color: #fff;
+    margin: 0 0 8px 0;
+    padding: 8px;
+    border-radius: 5px;
+    .title {
+      font-size: 16px;
+      font-weight: bold;
+      margin: 0 0 5px 0;
+    }
+    .other {
+      margin: 0 0 5px 0;
+      .otherInfo {
+        font-size: 14px;
+        color: #666;
+        margin: 0 0 5px 0;
+        span {
+          color: #000;
+        }
+      }
+    }
+  }
+}
 </style>