|
@@ -322,13 +322,27 @@
|
|
<el-dialog :title="$t('selectingParticipants')" v-if="participantsDialog" :visible.sync="participantsDialog" :close-on-click-modal="false" customClass="customWidth" width="500px">
|
|
<el-dialog :title="$t('selectingParticipants')" v-if="participantsDialog" :visible.sync="participantsDialog" :close-on-click-modal="false" customClass="customWidth" width="500px">
|
|
<div class="tree" style="height:400px">
|
|
<div class="tree" style="height:400px">
|
|
<el-scrollbar style="height:100%">
|
|
<el-scrollbar style="height:100%">
|
|
- <el-input
|
|
|
|
|
|
+ <el-input v-if="user.userNameNeedTranslate != 1"
|
|
:placeholder="$t('keywordfiltering')"
|
|
:placeholder="$t('keywordfiltering')"
|
|
v-model="participantsFilterText">
|
|
v-model="participantsFilterText">
|
|
</el-input>
|
|
</el-input>
|
|
<el-tree :data="deptMembData" show-checkbox :props="defaultProps" node-key="id"
|
|
<el-tree :data="deptMembData" show-checkbox :props="defaultProps" node-key="id"
|
|
ref="chooseMembTree2" @check-change="onTreeItemChange" :default-checked-keys="alreadyPartArray"
|
|
ref="chooseMembTree2" @check-change="onTreeItemChange" :default-checked-keys="alreadyPartArray"
|
|
- highlight-current :filter-node-method="filterNode"></el-tree>
|
|
|
|
|
|
+ highlight-current :filter-node-method="filterNode">
|
|
|
|
+ <span class="custom-tree-node" slot-scope="{ node, data }">
|
|
|
|
+ <span v-if="user.userNameNeedTranslate == '1'">
|
|
|
|
+ <span v-if="node.data.children">
|
|
|
|
+ <ww-open-data type='departmentName' :openid='node.label'></ww-open-data>
|
|
|
|
+ </span>
|
|
|
|
+ <span v-else>
|
|
|
|
+ <ww-open-data type='userName' :openid='node.label'></ww-open-data>
|
|
|
|
+ </span>
|
|
|
|
+ </span>
|
|
|
|
+ <span v-if="user.userNameNeedTranslate != '1'">
|
|
|
|
+ {{ node.label }}
|
|
|
|
+ </span>
|
|
|
|
+ </span>
|
|
|
|
+ </el-tree>
|
|
</el-scrollbar>
|
|
</el-scrollbar>
|
|
</div>
|
|
</div>
|
|
<div>{{ $t('btn.choose') }} {{chosenMembCount}} {{ $t('other.people') }}</div>
|
|
<div>{{ $t('btn.choose') }} {{chosenMembCount}} {{ $t('other.people') }}</div>
|