146 lines
8.7 KiB
HTML
146 lines
8.7 KiB
HTML
<div>
|
||
<div class="row">
|
||
<div class="col-lg-12">
|
||
<div class="ibox ">
|
||
<div class="ibox-title">
|
||
<h5>
|
||
<span><vc:i18n name="查询条件" namespace="resourceAuditFlow"></vc:i18n></span>
|
||
</h5>
|
||
<div class="ibox-tools" style="top:10px;"></div>
|
||
</div>
|
||
<div class="ibox-content">
|
||
<div class="row">
|
||
<div class="col-sm-2">
|
||
<div class="form-group">
|
||
<input type="text" :placeholder="vc.i18n('请选择流程名称','resourceAuditFlow')"
|
||
v-model="resourceAuditFlowInfo.conditions.flowName" class=" form-control">
|
||
</div>
|
||
</div>
|
||
<div class="col-sm-2">
|
||
<select class="custom-select" v-model="resourceAuditFlowInfo.conditions.auditType">
|
||
<option selected value="">{{vc.i18n('请选择流程类型','resourceAuditFlow')}}</option>
|
||
<option value="10001">{{vc.i18n('采购流程','resourceAuditFlow')}}</option>
|
||
<option value="10002">{{vc.i18n('领用流程','resourceAuditFlow')}}</option>
|
||
<option value="10003">{{vc.i18n('调拨流程','resourceAuditFlow')}}</option>
|
||
</select>
|
||
</div>
|
||
<div class="col-sm-2">
|
||
<button type="button" class="btn btn-primary btn-sm"
|
||
v-on:click="_queryResourceAuditFlowMethod()">
|
||
<i class="fa fa-search"></i>
|
||
<vc:i18n name="查询" namespace="resourceAuditFlow"></vc:i18n>
|
||
</button>
|
||
<button type="button" class="btn btn-primary btn-sm"
|
||
v-on:click="_resetResourceAuditFlowMethod()">
|
||
<i class="fa fa-repeat"></i>
|
||
<vc:i18n name="重置" namespace="resourceAuditFlow"></vc:i18n>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<div class="col-lg-12">
|
||
<div class="ibox">
|
||
<div class="ibox-title">
|
||
<h5>
|
||
<span><vc:i18n name="审批流程" namespace="resourceAuditFlow"></vc:i18n></span>
|
||
</h5>
|
||
<div class="ibox-tools" style="top:10px;">
|
||
<button type="button" class="btn btn-primary btn-sm"
|
||
v-on:click="_openAddResourceAuditFlowModal()">
|
||
<i class="fa fa-plus"></i>
|
||
<span><vc:i18n name="添加" namespace="resourceAuditFlow"></vc:i18n></span>
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<div class="ibox-content ibox-content-auto-height">
|
||
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
|
||
<thead>
|
||
<tr>
|
||
<th class="text-center">
|
||
<vc:i18n name='编号' namespace='resourceAuditFlow'></vc:i18n>
|
||
</th>
|
||
<th class="text-center">
|
||
<vc:i18n name='流程名称' namespace='resourceAuditFlow'></vc:i18n>
|
||
</th>
|
||
<th class="text-center">
|
||
<vc:i18n name='流程类型' namespace='resourceAuditFlow'></vc:i18n>
|
||
</th>
|
||
<th class="text-center">
|
||
<vc:i18n name='流程状态' namespace='resourceAuditFlow'></vc:i18n>
|
||
</th>
|
||
<th class="text-center">
|
||
<vc:i18n name='创建时间' namespace='resourceAuditFlow'></vc:i18n>
|
||
</th>
|
||
<th class="text-center">
|
||
<vc:i18n name='备注' namespace='resourceAuditFlow'></vc:i18n>
|
||
</th>
|
||
<th class="text-center">
|
||
<vc:i18n name='操作' namespace='resourceAuditFlow'></vc:i18n>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr v-for="resourceAuditFlow in resourceAuditFlowInfo.resourceAuditFlows">
|
||
<td class="text-center">{{resourceAuditFlow.rafId}}</td>
|
||
<td class="text-center">{{resourceAuditFlow.flowName}}(
|
||
<a href="javascript:void(0)" @click="_settingFlow(resourceAuditFlow)"><div><vc:i18n name='设置流程:' namespace='resourceAuditFlow'></vc:i18n></div></a>)
|
||
</td>
|
||
<td class="text-center" v-if="resourceAuditFlow.auditType== '10001'"><div><vc:i18n name='采购流程' namespace='resourceAuditFlow'></vc:i18n></div></td>
|
||
<td class="text-center" v-else-if="resourceAuditFlow.auditType== '10002'"><div><vc:i18n name='领用流程' namespace='resourceAuditFlow'></vc:i18n></div></td>
|
||
<td class="text-center" v-else><vc:i18n name='调拨流程' namespace='resourceAuditFlow'></vc:i18n></td>
|
||
<td class="text-center">{{resourceAuditFlow.state == 'C'?'已部署':'待部署'}}</td>
|
||
<td class="text-center">{{resourceAuditFlow.createTime}}</td>
|
||
<td class="text-center">{{resourceAuditFlow.remark || '-'}}</td>
|
||
<td class="text-center">
|
||
<div class="btn-group" v-if="resourceAuditFlow.state == 'W'">
|
||
<button class="btn-white btn btn-xs"
|
||
v-on:click="_openDeployWorkflow(resourceAuditFlow)">
|
||
<vc:i18n name="部署流程" namespace="resourceAuditFlow"></vc:i18n>
|
||
</button>
|
||
</div>
|
||
<div class="btn-group">
|
||
<button class="btn-white btn btn-xs"
|
||
v-on:click="_openEditResourceAuditFlowModel(resourceAuditFlow)">
|
||
<vc:i18n name='修改' namespace="resourceAuditFlow"></vc:i18n>
|
||
</button>
|
||
</div>
|
||
<div class="btn-group">
|
||
<button class="btn-white btn btn-xs"
|
||
v-on:click="_openDeleteResourceAuditFlowModel(resourceAuditFlow)">
|
||
<vc:i18n name='删除' namespace="resourceAuditFlow"></vc:i18n>
|
||
</button>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
<tfoot>
|
||
<tr>
|
||
<td colspan="7">
|
||
<ul class="pagination float-right"></ul>
|
||
</td>
|
||
</tr>
|
||
</tfoot>
|
||
</table>
|
||
<!-- 分页 -->
|
||
<div class="row margin-top-xs">
|
||
<div class="col-sm-7">
|
||
<div><vc:i18n name='流程配置说明:' namespace='resourceAuditFlow'></vc:i18n></div>
|
||
<div><vc:i18n name='1、最后一步必须为仓库管理员,名字也必须要叫做仓库管理员' namespace='resourceAuditFlow'></vc:i18n></div>
|
||
<div><vc:i18n name='2、流程必须为两步或者两步以上' namespace='resourceAuditFlow'></vc:i18n></div>
|
||
</div>
|
||
<div class="col-sm-5 float-right">
|
||
<vc:create path="frame/pagination"></vc:create>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<vc:create path="resource/addResourceAuditFlow"></vc:create>
|
||
<vc:create path="resource/editResourceAuditFlow"></vc:create>
|
||
<vc:create path="resource/deleteResourceAuditFlow"></vc:create>
|
||
</div> |