wuhongyu 4 years ago
parent
commit
6905280066
1 changed files with 91 additions and 6 deletions
  1. 91 6
      src/layout/market/context.vue

+ 91 - 6
src/layout/market/context.vue

@@ -16,14 +16,38 @@
         </p>
         <p>
           <span>产品类型:{{ detailInfo.product_type_name || '暂无' }}</span>
-          <span>收费标准:{{ detailInfo.price || '暂无' }}/{{ detailInfo.priceunit || '暂无' }}</span>
+          <span v-if="detailInfo.totaltype == 0 || detailInfo.totaltype == 1"
+            >收费标准:{{ detailInfo.price || '暂无' }}/{{
+              detailInfo.priceunit === '0' ? '公斤' : detailInfo.business === '1' ? '套' : detailInfo.business === '2' ? '件' : '' || '暂无'
+            }}</span
+          >
         </p>
         <p>
           <span>
             交易方式:{{ detailInfo.business === '0' ? '公用' : detailInfo.business === '1' ? '转让' : detailInfo.business === '2' ? '竞价' : '暂无' }}
           </span>
-          <span>研发阶段:{{ detailInfo.phase == 1 ? '阶段成果' : detailInfo.phase == 2 ? '最终成果' : '暂无' }}</span>
+
+          <span v-if="detailInfo.totaltype == 0 || detailInfo.totaltype == 1">
+            合作方式:{{
+              detailInfo.coopermode === '0'
+                ? '技术转让'
+                : detailInfo.coopermode === '1'
+                ? '技术服务'
+                : detailInfo.coopermode === '2'
+                ? '技术许可'
+                : detailInfo.coopermode === '3'
+                ? '技术融资'
+                : detailInfo.coopermode === '4'
+                ? '其他'
+                : '暂无'
+            }}
+          </span>
         </p>
+        <p>
+          <span v-if="detailInfo.totaltype == 0">研发阶段:{{ detailInfo.phase == 1 ? '阶段成果' : detailInfo.phase == 2 ? '最终成果' : '暂无' }}</span>
+          <span v-if="detailInfo.totaltype == 0">投入预算:{{ detailInfo.budget || '暂无' }}</span>
+        </p>
+
         <p>
           <span>联系人:{{ detailInfo.contact_user || '暂无' }}</span>
           <span>联系电话:{{ detailInfo.contact_tel || '暂无' }}</span>
@@ -31,17 +55,75 @@
       </el-col>
       <el-col :span="24" class="newDown">
         <div>
-          <p>应用领域:</p>
-          <p>{{ detailInfo.field || '暂无' }}</p>
+          <p v-if="detailInfo.totaltype == 0">
+            <span>需求截止日期:{{ detailInfo.end_date || '暂无' }}</span>
+          </p>
+          <p v-if="detailInfo.totaltype == 0" class="newpa">
+            <span>难题:{{ detailInfo.difficult_problem || '暂无' }}</span>
+          </p>
+
+          <p v-if="detailInfo.totaltype == 0" class="newpa">
+            <span>企业解决需求:{{ detailInfo.demand || '暂无' }}</span>
+          </p>
+
+          <p>所属领域:</p>
+          <p class="newpa">
+            {{
+              detailInfo.field == 0
+                ? '先进制造'
+                : detailInfo.field == 1
+                ? '新材料'
+                : detailInfo.field == 2
+                ? '光电子口信息技术'
+                : detailInfo.field == 3
+                ? '文化和科技融合'
+                : '暂无'
+            }}
+          </p>
+
+          <!-- <p v-if="detailInfo.totaltype == 1" class="newpa">
+            <span>企业解决需求:{{ detailInfo.demand || '暂无' }}</span>
+          </p> -->
+
+          <p v-if="detailInfo.totaltype == 1" class="newpa">
+            <span>单位名称:{{ detailInfo.company || '暂无' }}</span>
+          </p>
+
+          <p v-if="detailInfo.totaltype == 1" class="newpa">
+            <span>单位地址:{{ detailInfo.address || '暂无' }}</span>
+          </p>
+          <p v-if="detailInfo.totaltype == 1" class="newpa">
+            <span>技术团队情况:{{ detailInfo.team || '暂无' }}</span>
+          </p>
+
+          <p v-if="detailInfo.totaltype == 1" class="newpa">
+            <span>知识产权情况:{{ detailInfo.property || '暂无' }}</span>
+          </p>
+
+          <p v-if="detailInfo.totaltype == 1" class="newpa">
+            <span
+              >技术成熟度:
+              {{
+                detailInfo.mature == 0 ? '实验室' : detailInfo.mature == 1 ? '小试' : detailInfo.mature == 2 ? '中试' : detailInfo.mature == 3 ? '成熟' : '暂无'
+              }}</span
+            >
+          </p>
+          <p v-if="detailInfo.totaltype == 1" class="newpa">
+            <span>合作企业:{{ detailInfo.coopercompany || '暂无' }}</span>
+          </p>
+
+          <p v-if="detailInfo.totaltype == 1" class="newpa">
+            <span>其他需求:{{ detailInfo.other || '暂无' }}</span>
+          </p>
         </div>
-        <div>
+        <!-- <div>
           <p>
             <span>产品参数:</span>
             <span>
               <el-button type="text" @click="product_argsDia = true">查看详情</el-button>
             </span>
           </p>
-        </div>
+        </div> -->
         <div>
           <p>服务范围:</p>
           <p class="moreScope" v-if="scope != ''">{{ detailInfo.scope || '暂无' }}</p>
@@ -365,4 +447,7 @@ p {
   height: 660px;
   word-break: break-all;
 }
+.newpa {
+  padding: 0 0 10px 0;
+}
 </style>