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="col-md-2">
|
||||||
<div class="margin-xs-r bg-white treeview">
|
<div class="margin-xs-r bg-white treeview">
|
||||||
<ul class="list-group text-center">
|
<ul class="list-group text-center">
|
||||||
<li class="list-group-item node-orgTree "
|
<li class="list-group-item node-orgTree " v-if="vc.hasPrivilege('502023041839740294')" :class="{'vc-node-selected':newOaWorkflowInfo.switchValue=='newOaWorkflowPool'}" @click="swatch('newOaWorkflowPool')">
|
||||||
:class="{'vc-node-selected':newOaWorkflowInfo.switchValue=='newOaWorkflowPool'}" @click="swatch('newOaWorkflowPool')"><span><vc:i18n name="流程工单" namespace="newOaWorkflow"></vc:i18n></span>
|
<vc:i18n name="流程工单" namespace="newOaWorkflow"></vc:i18n>
|
||||||
</li>
|
</li>
|
||||||
<li class="list-group-item node-orgTree "
|
<li class="list-group-item node-orgTree " :class="{'vc-node-selected':newOaWorkflowInfo.switchValue=='newOaWorkflowForm'}" @click="swatch('newOaWorkflowForm')">
|
||||||
:class="{'vc-node-selected':newOaWorkflowInfo.switchValue=='newOaWorkflowForm'}" @click="swatch('newOaWorkflowForm')">
|
|
||||||
起草流程</li>
|
起草流程</li>
|
||||||
<li class="list-group-item node-orgTree "
|
<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>
|
||||||
:class="{'vc-node-selected':newOaWorkflowInfo.switchValue=='newOaWorkflowUndo'}" @click="swatch('newOaWorkflowUndo')"><span><vc:i18n name="流程待办" namespace="newOaWorkflow"></vc:i18n></span>
|
|
||||||
</li>
|
</li>
|
||||||
<li class="list-group-item node-orgTree "
|
<li class="list-group-item node-orgTree " :class="{'vc-node-selected':newOaWorkflowInfo.switchValue=='newOaWorkflowFinish'}" @click="swatch('newOaWorkflowFinish')">
|
||||||
:class="{'vc-node-selected':newOaWorkflowInfo.switchValue=='newOaWorkflowFinish'}" @click="swatch('newOaWorkflowFinish')">
|
|
||||||
流程已办</li>
|
流程已办</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -18,7 +18,12 @@
|
|||||||
$that.swatch(_switchValue);
|
$that.swatch(_switchValue);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (vc.hasPrivilege('502023041839740294')) {
|
||||||
$that.swatch('newOaWorkflowPool');
|
$that.swatch('newOaWorkflowPool');
|
||||||
|
} else {
|
||||||
|
$that.swatch('newOaWorkflowForm');
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
_initEvent: function() {
|
_initEvent: function() {
|
||||||
vc.on('newOaWorkflow', 'listNewOaWorkflow', function(_param) {
|
vc.on('newOaWorkflow', 'listNewOaWorkflow', function(_param) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user