作者 小范

工单管理表单完善

@@ -83,22 +83,35 @@ @@ -83,22 +83,35 @@
83 width="160"> 83 width="160">
84 </el-table-column> 84 </el-table-column>
85 <el-table-column 85 <el-table-column
86 - label="开始时间"  
87 - prop="startTime"  
88 - width="160"> 86 + label="发起人"
  87 + prop="startUserId"
  88 + width="100">
89 </el-table-column> 89 </el-table-column>
90 <el-table-column 90 <el-table-column
91 - label="结束时间"  
92 - prop="endTime" 91 + label="开始时间"
  92 + prop="startTime"
93 width="160"> 93 width="160">
94 </el-table-column> 94 </el-table-column>
  95 +<!-- <el-table-column-->
  96 +<!-- label="结束时间"-->
  97 +<!-- prop="endTime"-->
  98 +<!-- width="160">-->
  99 +<!-- </el-table-column>-->
95 <el-table-column 100 <el-table-column
96 label="执行中" 101 label="执行中"
97 prop="isActive"> 102 prop="isActive">
  103 + <template slot-scope="scope">
  104 + <span v-if="scope.row.isActive ===true">是</span>
  105 + <span v-else>否</span>
  106 + </template>
98 </el-table-column> 107 </el-table-column>
99 <el-table-column 108 <el-table-column
100 label="是否结束" 109 label="是否结束"
101 prop="isEnded"> 110 prop="isEnded">
  111 + <template slot-scope="scope">
  112 + <span v-if="scope.row.isEnded ===true">是</span>
  113 + <span v-else>否</span>
  114 + </template>
102 </el-table-column> 115 </el-table-column>
103 <el-table-column 116 <el-table-column
104 label="流程状态" 117 label="流程状态"
@@ -112,15 +125,15 @@ @@ -112,15 +125,15 @@
112 label="实例关键字" 125 label="实例关键字"
113 prop="processDefinitionKey"> 126 prop="processDefinitionKey">
114 </el-table-column> 127 </el-table-column>
115 - <el-table-column  
116 - label="用时"  
117 - prop="durationInMillis">  
118 - <template slot-scope="scope">  
119 - <span>  
120 - {{ scope.row.durationInMillis | formatSeconds }}  
121 - </span>  
122 - </template>  
123 - </el-table-column> 128 +<!-- <el-table-column-->
  129 +<!-- label="用时"-->
  130 +<!-- prop="durationInMillis">-->
  131 +<!-- <template slot-scope="scope">-->
  132 +<!-- <span>-->
  133 +<!-- {{ scope.row.durationInMillis | formatSeconds }}-->
  134 +<!-- </span>-->
  135 +<!-- </template>-->
  136 +<!-- </el-table-column>-->
124 <el-table-column 137 <el-table-column
125 label="流程定义名称" 138 label="流程定义名称"
126 prop="processDefinitionName" 139 prop="processDefinitionName"
@@ -229,6 +242,11 @@ @@ -229,6 +242,11 @@
229 width="160"> 242 width="160">
230 </el-table-column> 243 </el-table-column>
231 <el-table-column 244 <el-table-column
  245 + label="发起人"
  246 + prop="startUserId"
  247 + width="100">
  248 + </el-table-column>
  249 + <el-table-column
232 label="开始时间" 250 label="开始时间"
233 prop="startTime" 251 prop="startTime"
234 width="160"> 252 width="160">
@@ -241,10 +259,18 @@ @@ -241,10 +259,18 @@
241 <el-table-column 259 <el-table-column
242 label="执行中" 260 label="执行中"
243 prop="isActive"> 261 prop="isActive">
  262 + <template slot-scope="scope">
  263 + <span v-if="scope.row.isActive ===true">是</span>
  264 + <span v-else>否</span>
  265 + </template>
244 </el-table-column> 266 </el-table-column>
245 <el-table-column 267 <el-table-column
246 label="是否结束" 268 label="是否结束"
247 prop="isEnded"> 269 prop="isEnded">
  270 + <template slot-scope="scope">
  271 + <span v-if="scope.row.isEnded ===true">是</span>
  272 + <span v-else>否</span>
  273 + </template>
248 </el-table-column> 274 </el-table-column>
249 <el-table-column 275 <el-table-column
250 label="流程状态" 276 label="流程状态"
@@ -260,7 +286,8 @@ @@ -260,7 +286,8 @@
260 </el-table-column> 286 </el-table-column>
261 <el-table-column 287 <el-table-column
262 prop="durationInMillis" 288 prop="durationInMillis"
263 - label="用时"> 289 + label="用时"
  290 + width="140">
264 <template slot-scope="scope"> 291 <template slot-scope="scope">
265 <span> 292 <span>
266 {{ scope.row.durationInMillis | formatSeconds }} 293 {{ scope.row.durationInMillis | formatSeconds }}
1 { 1 {
2 - "nmmsVer": "1.32" 2 + "nmmsVer": "1.33"
3 } 3 }