mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
optimize
This commit is contained in:
parent
dd25d4f543
commit
0f17abcbb4
@ -3,17 +3,14 @@
|
||||
<div class="col-md-2">
|
||||
<div class="margin-xs-r bg-white treeview">
|
||||
<ul class="list-group text-center">
|
||||
<li class="list-group-item node-orgTree "
|
||||
:class="{'vc-node-selected':newOaWorkflowInfo.switchValue=='newOaWorkflowPool'}" @click="swatch('newOaWorkflowPool')"><span><vc:i18n name="流程工单" namespace="newOaWorkflow"></vc:i18n></span>
|
||||
<li class="list-group-item node-orgTree " v-if="vc.hasPrivilege('502023041839740294')" :class="{'vc-node-selected':newOaWorkflowInfo.switchValue=='newOaWorkflowPool'}" @click="swatch('newOaWorkflowPool')">
|
||||
<vc:i18n name="流程工单" namespace="newOaWorkflow"></vc:i18n>
|
||||
</li>
|
||||
<li class="list-group-item node-orgTree "
|
||||
:class="{'vc-node-selected':newOaWorkflowInfo.switchValue=='newOaWorkflowForm'}" @click="swatch('newOaWorkflowForm')">
|
||||
<li class="list-group-item node-orgTree " :class="{'vc-node-selected':newOaWorkflowInfo.switchValue=='newOaWorkflowForm'}" @click="swatch('newOaWorkflowForm')">
|
||||
起草流程</li>
|
||||
<li class="list-group-item node-orgTree "
|
||||
:class="{'vc-node-selected':newOaWorkflowInfo.switchValue=='newOaWorkflowUndo'}" @click="swatch('newOaWorkflowUndo')"><span><vc:i18n name="流程待办" namespace="newOaWorkflow"></vc:i18n></span>
|
||||
<li class="list-group-item node-orgTree " :class="{'vc-node-selected':newOaWorkflowInfo.switchValue=='newOaWorkflowUndo'}" @click="swatch('newOaWorkflowUndo')"><span><vc:i18n name="流程待办" namespace="newOaWorkflow"></vc:i18n></span>
|
||||
</li>
|
||||
<li class="list-group-item node-orgTree "
|
||||
:class="{'vc-node-selected':newOaWorkflowInfo.switchValue=='newOaWorkflowFinish'}" @click="swatch('newOaWorkflowFinish')">
|
||||
<li class="list-group-item node-orgTree " :class="{'vc-node-selected':newOaWorkflowInfo.switchValue=='newOaWorkflowFinish'}" @click="swatch('newOaWorkflowFinish')">
|
||||
流程已办</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@ -18,7 +18,12 @@
|
||||
$that.swatch(_switchValue);
|
||||
return;
|
||||
}
|
||||
if (vc.hasPrivilege('502023041839740294')) {
|
||||
$that.swatch('newOaWorkflowPool');
|
||||
} else {
|
||||
$that.swatch('newOaWorkflowForm');
|
||||
}
|
||||
|
||||
},
|
||||
_initEvent: function() {
|
||||
vc.on('newOaWorkflow', 'listNewOaWorkflow', function(_param) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user