Browse Source

专利交易

guhongwei 2 years ago
parent
commit
46ae6fc756
2 changed files with 68 additions and 2 deletions
  1. 34 1
      src/views/common/trans/info.vue
  2. 34 1
      src/views/common/trans/infos.vue

+ 34 - 1
src/views/common/trans/info.vue

@@ -21,10 +21,27 @@
                 <template #record>
                   <cTable :fields="recordfields" :opera="[]" :list="form.record" :usePage="false"> </cTable>
                 </template>
+                <template #promise_file>
+                  <el-row class="cPromise" v-if="form.type == '2'">
+                    <el-col :span="24" class="cPromise_1">免费许可承诺书</el-col>
+                    <el-col :span="24" class="cPromise_2">
+                      <span>公开声明:[{{ form.patent_name }}]专利权人许可本专利在[</span>
+                      <span>{{ form.promise_file.province }}</span>
+                      <span>][</span>
+                      <span>{{ form.promise_file.city }}</span>
+                      <span>]范围内免费使用,期限至[</span>
+                      <span>{{ form.promise_file.end_date }} </span>
+                      <span>]止,被许可人需与许可人签订许可合同后方可使用。</span>
+                    </el-col>
+                  </el-row>
+                </template>
               </cForm>
             </el-tab-pane>
             <el-tab-pane label="合同信息" name="2">
-              <el-row class="contract">
+              <el-row class="contract" v-if="form.is_contract == '0'">
+                <el-link :underline="false" v-for="i in form.offine_contract" :key="i.url" :href="i.url" target="_blank">{{ i.name }}</el-link>
+              </el-row>
+              <el-row class="contract" v-else-if="form.is_contract == '1'">
                 <el-col :span="24" class="contract_1">
                   <span>甲方(转让方):</span>
                   <span>
@@ -129,6 +146,7 @@ const formFields: Ref<any> = ref([
   { label: '电子邮箱', model: 'email' },
   { label: '投资预算(万元)', model: 'budget' },
   { label: '交易类型', model: 'type', type: 'select' },
+  { label: '免费许可承诺书', model: 'promise_file', custom: true },
   { label: '是否有评估报告', model: 'is_report', type: 'select' },
   { label: '评估报告', model: 'report', custom: true },
   { label: '技术说明', model: 'requirementdesc', type: 'textarea' },
@@ -218,4 +236,19 @@ const toBack = () => {
     }
   }
 }
+.cPromise {
+  .cPromise_1 {
+    text-align: center;
+    font-size: 25px;
+    font-family: monospace;
+    font-weight: bold;
+    margin: 0 0 10px 0;
+  }
+  .cPromise_2 {
+    text-align: center;
+    font-size: 16px;
+    font-family: monospace;
+    font-weight: bold;
+  }
+}
 </style>

+ 34 - 1
src/views/common/trans/infos.vue

@@ -20,6 +20,20 @@
                   <template #report>
                     <el-link :underline="false" v-for="i in form.report" :key="i.url" :href="i.url" target="_blank">{{ i.name }}</el-link>
                   </template>
+                  <template #promise_file>
+                    <el-row class="cPromise" v-if="form.type == '2'">
+                      <el-col :span="24" class="cPromise_1">免费许可承诺书</el-col>
+                      <el-col :span="24" class="cPromise_2">
+                        <span>公开声明:[{{ form.patent_name }}]专利权人许可本专利在[</span>
+                        <span>{{ form.promise_file.province }}</span>
+                        <span>][</span>
+                        <span>{{ form.promise_file.city }}</span>
+                        <span>]范围内免费使用,期限至[</span>
+                        <span>{{ form.promise_file.end_date }} </span>
+                        <span>]止,被许可人需与许可人签订许可合同后方可使用。</span>
+                      </el-col>
+                    </el-row>
+                  </template>
                   <template #record>
                     <cTable :fields="recordfields" :opera="[]" :list="form.record" :usePage="false"> </cTable>
                   </template>
@@ -29,7 +43,10 @@
             <el-col :span="12" class="r">
               <el-col :span="24" class="title">合同信息</el-col>
               <el-col :span="24" class="info">
-                <el-row class="contract">
+                <el-row class="contract" v-if="form.is_contract == '0'">
+                  <el-link :underline="false" v-for="i in form.offine_contract" :key="i.url" :href="i.url" target="_blank">{{ i.name }}</el-link>
+                </el-row>
+                <el-row class="contract" v-else-if="form.is_contract == '1'">
                   <el-col :span="24" class="contract_1">
                     <span>甲方(转让方):</span>
                     <span>
@@ -134,6 +151,7 @@ const formFields: Ref<any> = ref([
   { label: '电子邮箱', model: 'email' },
   { label: '投资预算(万元)', model: 'budget' },
   { label: '交易类型', model: 'type', type: 'select' },
+  { label: '免费许可承诺书', model: 'promise_file', custom: true },
   { label: '是否有评估报告', model: 'is_report', type: 'select' },
   { label: '评估报告', model: 'report', custom: true },
   { label: '技术说明', model: 'requirementdesc', type: 'textarea' },
@@ -241,4 +259,19 @@ const toBack = () => {
     }
   }
 }
+.cPromise {
+  .cPromise_1 {
+    text-align: center;
+    font-size: 25px;
+    font-family: monospace;
+    font-weight: bold;
+    margin: 0 0 10px 0;
+  }
+  .cPromise_2 {
+    text-align: center;
+    font-size: 16px;
+    font-family: monospace;
+    font-weight: bold;
+  }
+}
 </style>