Ver Fonte

云塑官网及后台修改(1.2.3)

wutt há 5 anos atrás
pai
commit
db9cf3bed6

+ 1 - 1
official_frontend/src/router/index.js

@@ -70,7 +70,7 @@ export const constantRoutes = [
         path: '',
         name: 'Cooperation',
         component: () => import('@/views/cooperation/client'),
-        meta: { title: '合作客户', icon: 'form' }
+        meta: { title: '合作伙伴', icon: 'form' }
       }
     ]
   },

+ 11 - 5
official_frontend/src/views/cooperation/client.vue

@@ -12,8 +12,11 @@
       <el-table-column prop="description" label="描述"></el-table-column>
       <el-table-column label="类型" width="80">
         <template slot-scope="scope">
-          <span v-if="scope.row.type == 0">客户</span>
-          <span v-else-if="scope.row.type == 1">高校</span>
+          <span v-if="scope.row.type == 0">联合开发</span>
+          <span v-else-if="scope.row.type == 1">材料供应商</span>
+          <span v-else-if="scope.row.type == 2">芯片及PC版合作伙伴</span>
+          <span v-else-if="scope.row.type == 3">软件合作伙伴</span>
+          <span v-else-if="scope.row.type == 4">投融资服务机构</span>
           <span v-else>未知</span>
         </template>
       </el-table-column>
@@ -28,7 +31,7 @@
     </el-table>
 
     <!-- 添加和编辑的dialog -->
-    <el-dialog title="合作客户" :visible.sync="addDialogVisible" width="500px">
+    <el-dialog title="合作伙伴" :visible.sync="addDialogVisible" width="500px">
       <el-form ref="form" :model="cooperationsForm" :rules="rules" label-width="80px">
         <el-form-item label="名称" prop="name">
           <el-input v-model="cooperationsForm.name" placeholder="请输入名称" clearable></el-input>
@@ -38,8 +41,11 @@
         </el-form-item>
         <el-form-item label="类型" prop="type">
           <el-select v-model="cooperationsForm.type" placeholder="请选择类型">
-            <el-option label="客户" :value="0"></el-option>
-            <el-option label="高校" :value="1"></el-option>
+            <el-option label="联合开发" :value="0"></el-option>
+            <el-option label="材料供应商" :value="1"></el-option>
+            <el-option label="芯片及PC版合作伙伴" :value="2"></el-option>
+            <el-option label="软件合作伙伴" :value="3"></el-option>
+            <el-option label="投融资服务机构" :value="4"></el-option>
           </el-select>
         </el-form-item>
         <el-form-item>

+ 1 - 1
website/src/main/resources/templates/goods.html

@@ -102,7 +102,7 @@
                                         </div>
                                     </div>
                                     <div class="content">
-                                        <h4><a th:href="${{item.address}}" target="_blank" th:text="${{item.title}}"></a></h4>
+<!--                                        <h4><a th:href="${{item.address}}" target="_blank" th:text="${{item.title}}"></a></h4>-->
                                         <p th:text="${{item.introduction}}"></p>
                                     </div>
                                 </div>