优化代码

This commit is contained in:
java110 2021-08-31 02:14:50 +08:00
parent 93b186f948
commit 8fd5837d85
2 changed files with 11 additions and 7 deletions

View File

@ -72,11 +72,11 @@
<td scope="row" class="text-center">{{index+1}}</td>
<td scope="row" class="text-center" v-if="item.orgName">{{item.orgName}}</td>
<td scope="row" class="text-center" v-else>管理员</td>
<td class="text-center" v-if="item.userName">{{item.userName}}</td>
<td class="text-center" v-else>{{item.auditName}}</td>
<td class="text-center">{{item.stateName}}</td>
<td class="text-center">{{item.staffName}}</td>
<td class="text-center" v-if="item.endTime">处理完成</td>
<td class="text-center" v-else>正在处理</td>
<td class="text-center">{{item.duration}}</td>
<td class="text-center">{{item.message}}</td>
<td class="text-center">{{item.context}}</td>
</tr>
</tbody>
</table>

View File

@ -15,7 +15,7 @@
staffName: '',
taskId: ''
},
nextAudit:{}
nextAudit: {}
}
},
_initMethod: function () {
@ -80,11 +80,15 @@
var param = {
params: {
communityId: vc.getCurrentCommunity().communityId,
businessKey: $that.newOaWorkflowDetailInfo.id
id: $that.newOaWorkflowDetailInfo.id,
flowId: $that.newOaWorkflowDetailInfo.flowId,
page:1,
row:10
}
};
//发送get请求
vc.http.apiGet('workflow.listWorkflowAuditInfo',
//vc.http.apiGet('workflow.listWorkflowAuditInfo',
vc.http.apiGet('/oaWorkflow/queryOaWorkflowUser',
param,
function (json, res) {
var _workflowManageInfo = JSON.parse(json);