|
|
@ -339,7 +339,9 @@ |
|
|
|
</div> |
|
|
|
<th:block th:include="include :: footer"/> |
|
|
|
<th:block th:include="include :: select2-js"/> |
|
|
|
|
|
|
|
<script th:src="@{/js/activiti.js}"></script> |
|
|
|
<script th:src="@{/ajax/libs/vue/vue.js}"></script> |
|
|
|
<script th:src="@{/ajax/libs/element-ui/element-ui.js}"></script> |
|
|
|
<script th:inline="javascript"> |
|
|
|
var editFlag = [[${@permission.hasPermi('system:customer:edit')}]]; |
|
|
|
var removeFlag = [[${@permission.hasPermi('system:customer:remove')}]]; |
|
|
@ -518,6 +520,9 @@ |
|
|
|
actions.push('<a class="btn btn-danger btn-xs" href="javascript:void(0)" onclick="$.operate.cancel(\'' + row.id + '\')"><i class="fa fa-remove"></i> 作废</a>'); |
|
|
|
// 编辑 |
|
|
|
actions.push('<a class="btn btn-success btn-xs" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i> 编辑</a> '); |
|
|
|
}else{ |
|
|
|
actions.push('<a class="btn btn-default btn-xs" href="javascript:void(0)" disabled ><i class="fa fa-edit"></i> 编辑</a> '); |
|
|
|
|
|
|
|
} |
|
|
|
// 已作废 |
|
|
|
if(row.useStatus=="2" && !row.restoreInstanceId){ |
|
|
|