Browse Source

创建人名字添加,跳转用tag

panxiandiao_i 5 years ago
parent
commit
17c3d7277d

+ 2 - 0
src/views/Platform/bugManage/bugCreate.vue

@@ -277,6 +277,8 @@ export default {
             this.businessTypeStr = this.platformTypeStr.filter(value => value.name === res.data.typeString)[0].child
           }
         })
+      } else {
+        this.form.creator = this.userNames
       }
     },
     forkDown() {

+ 1 - 1
src/views/Platform/projectQuery/taskQuery.vue

@@ -109,7 +109,7 @@
               <el-tab-pane label="bug报告">
                 <el-table :data="projectBug" max-height="390" style="width: 100%" @row-click="queryBugData">
                   <el-table-column label="ID" align="center" min-width="60"><template slot-scope="scope">{{ scope.row.id }}</template></el-table-column>
-                  <el-table-column label="标题" align="center" min-width="100"><template slot-scope="scope"><div style="background-color: #E9F8DA;color: #3BB100;width: 70%;margin: 0px auto;cursor:pointer;" @click="turnToBugCreate(scope.row.id)">{{ scope.row.bugName }}</div></template></el-table-column>
+                  <el-table-column label="标题" align="center" min-width="100"><template slot-scope="scope"><el-tag style="cursor: pointer;" @click="turnToBugCreate(scope.row.id)">{{ scope.row.bugName }}</el-tag></template></el-table-column>
                   <el-table-column label="状态" align="center" min-width="80"><template slot-scope="scope">{{ scope.row.bugStatusName }}</template></el-table-column>
                   <el-table-column label="当前处理人" align="center" min-width="100"><template slot-scope="scope">{{ scope.row.currentHandler }}</template></el-table-column>
                   <el-table-column label="创建时间" align="center" min-width="150"><template slot-scope="scope">{{ scope.row.gmtCreate }}</template></el-table-column>