mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-27 00:20:01 +08:00
146 lines
8.0 KiB
HTML
146 lines
8.0 KiB
HTML
<div>
|
||
<div class="row">
|
||
<div class="col-lg-12">
|
||
<div class="ibox ">
|
||
<div class="ibox-title">
|
||
<h5>
|
||
<span><vc:i18n name="查询条件"></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="">请选择流程类型</option>
|
||
<option value="10001">采购流程</option>
|
||
<option value="10002">领用流程</option>
|
||
<option value="10003">调拨流程</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="查询"></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="重置"></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">
|
||
<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)">设置流程</a>)
|
||
</td>
|
||
<td class="text-center" v-if="resourceAuditFlow.auditType== '10001'">采购流程</td>
|
||
<td class="text-center" v-else-if="resourceAuditFlow.auditType== '10002'">领用流程</td>
|
||
<td class="text-center" v-else>调拨流程</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='修改'></vc:i18n>
|
||
</button>
|
||
</div>
|
||
<div class="btn-group">
|
||
<button class="btn-white btn btn-xs"
|
||
v-on:click="_openDeleteResourceAuditFlowModel(resourceAuditFlow)">
|
||
<vc:i18n name='删除'></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>流程配置说明:</div>
|
||
<div>1、最后一步必须为仓库管理员,名字也必须要叫做仓库管理员</div>
|
||
<div>2、流程必须为两步或者两步以上</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> |