瀏覽代碼

项目列表

sunyadv 5 年之前
父節點
當前提交
32b4f0ab53
共有 1 個文件被更改,包括 6 次插入7 次删除
  1. 6 7
      ys_vue/src/views/project/project.vue

+ 6 - 7
ys_vue/src/views/project/project.vue

@@ -19,18 +19,18 @@
 		<el-table :data="list" highlight-current-row v-loading="listLoading" :height="tableHeight" style="width: 100%;">
 		<el-table :data="list" highlight-current-row v-loading="listLoading" :height="tableHeight" style="width: 100%;">
 			<el-table-column type="index" width="60">
 			<el-table-column type="index" width="60">
 			</el-table-column>
 			</el-table-column>
-			<el-table-column prop="projectName" label="项目名称" width="200" sortable>
+			<el-table-column prop="projectName" label="项目名称" width="250" sortable>
                 <template slot-scope="scope">
                 <template slot-scope="scope">
                     <el-link :underline="false" type="primary" @click="toDetail(scope.row)">{{scope.row.projectName}}</el-link>
                     <el-link :underline="false" type="primary" @click="toDetail(scope.row)">{{scope.row.projectName}}</el-link>
 				</template>
 				</template>
 			</el-table-column>
 			</el-table-column>
-            <el-table-column prop="customCompaniesStr" label="生产方" width="250" sortable>
+            <el-table-column prop="customCompaniesStr" label="生产方公司" width="600" sortable>
 			</el-table-column>
 			</el-table-column>
-            <el-table-column prop="charger" label="生产方负责人" width="200" align="center" sortable>
+            <el-table-column prop="manager" label="项目经理" align="center" sortable>
 			</el-table-column>
 			</el-table-column>
-			<el-table-column prop="creator" label="项目创建人" width="180" align="center"  sortable>
+			<el-table-column prop="creator" label="项目创建人" align="center"  sortable>
 			</el-table-column>
 			</el-table-column>
-			<el-table-column prop="indate" label="创建时间" width="200" align="center" sortable>
+			<el-table-column prop="indate" label="创建时间" width="250" align="center" sortable>
 			</el-table-column>
 			</el-table-column>
 			<!-- <el-table-column label="操作" width="250" align="center">
 			<!-- <el-table-column label="操作" width="250" align="center">
 				<template slot-scope="scope">
 				<template slot-scope="scope">
@@ -211,9 +211,8 @@
                                 if(j == list[i].customCompanies.length -1){
                                 if(j == list[i].customCompanies.length -1){
                                     customCompaniesStr += list[i].customCompanies[j].companyName;
                                     customCompaniesStr += list[i].customCompanies[j].companyName;
                                 } else {
                                 } else {
-                                    customCompaniesStr += list[i].customCompanies[j].companyName + ",";
+                                    customCompaniesStr += list[i].customCompanies[j].companyName + "";
                                 }
                                 }
-                                console.log(list[i].customCompanies[j])
                             }
                             }
                             list[i].customCompaniesStr = customCompaniesStr;
                             list[i].customCompaniesStr = customCompaniesStr;
                         }
                         }