| | |
| | | <view class="main_app" :class="{ popupShow: isShowSelMem }">
|
| | | <view class="search_inp df_ac">
|
| | | <image class="mr12 search" src="../../static/ic_search@2x.png" mode="widthFix"></image>
|
| | | <input v-model="param.keyword" @blur="initData()" type="text" placeholder="搜索"
|
| | | <input v-model="param.queryParam" @blur="initData()" type="text" placeholder="搜索"
|
| | | placeholder-style="color: #999999;" />
|
| | | </view>
|
| | | <view class="member_list">
|
| | | <view v-for="(item, index) in memberList" :key="item.id" class="line">
|
| | | <image v-if="item.avatar" :src="item.prefixUrl + item.avatar" class="avatar" mode=""></image>
|
| | | <image v-if="item.faceImg" :src="item.faceImg" class="avatar" mode=""></image>
|
| | | <view v-else class="avatar">{{ item.realname.slice(0, 1) }}</view>
|
| | | <view class="content">
|
| | | <view class="info">
|
| | | <text class="name">{{ item.realname }}</text>
|
| | | <text class="tag" v-if="item.status == '1'">有会议</text>
|
| | | </view>
|
| | | <view class="depart">{{ item.departmentName }}</view>
|
| | | <view class="depart">{{ item.departmentName || item.companyName }}</view>
|
| | | </view>
|
| | | <image @click="changeMem(item, index)" v-if="item.checked" src="@/static/checkbox_sel@2x.png" mode="widthFix"
|
| | | class="checked"></image>
|
| | |
| | | onLoad(option) {
|
| | | this.param = {
|
| | | limitNum: option.limitNum,
|
| | | keyword: '',
|
| | | queryParam: '',
|
| | | startTime: dayjs(Number(option.startTime)).format('YYYY-MM-DD HH:mm:ss'),
|
| | | endTime: dayjs(Number(option.endTime)).format('YYYY-MM-DD HH:mm:ss'),
|
| | | }
|
| | |
| | | this.$nextTick(() => {
|
| | | this.$forceUpdate()
|
| | | })
|
| | | }, 1000)
|
| | | }, 500)
|
| | | })
|
| | | },
|
| | | methods: {
|
| | |
| | | pagination
|
| | | } = this
|
| | | userPagePost({
|
| | | model: {
|
| | | ...param, |
| | | workStatus: 0
|
| | | },
|
| | | ...pagination,
|
| | | ...param, |
| | | querySpecial: 1, type: 2, companyType: 1,workStatus:0
|
| | |
|
| | | }).then(res => {
|
| | | this.memberList = res.data.records || []
|
| | | this.memberList = res.data || []
|
| | | this.memberList.forEach(i => {
|
| | | const index = this.selList.findIndex(ite => ite.id === i.id)
|
| | | i.checked = index > -1
|