选择创建人
This commit is contained in:
@@ -16,8 +16,12 @@
|
||||
item.status == 3? 'status3':item.status==4? 'status4': 'status5'"></span>{{ $dict.getLabel('mstStatus', item.status) }}</div>
|
||||
</div>
|
||||
<div>创建时间:<span>{{ item.createTime }}</span></div>
|
||||
<div>共需<span class="num">{{ item.groupOwnerCount }}</span>名成员完成群发,目前已完成<span class="num">{{ item.completionRate || 0 }}%</span></div>
|
||||
<div>创建部门:<span>{{ item.createUserDept }}</span></div>
|
||||
<div>共需<span class="num">{{ item.groupOwnerCount || 0 }}</span>名成员完成群发,目前已完成<span class="num">{{ item.completionRate || 0 }}%</span></div>
|
||||
<div>
|
||||
创建部门:
|
||||
<span v-if="item.createUserId">/<AiOpenData type="departmentName" :openid="item.createUserId" style="display: inline-block" /></span>
|
||||
<span v-if="item.createUserSecondDept">/<AiOpenData type="departmentName" :openid="item.createUserSecondDept" style="display: inline-block" /></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<AiEmpty description="暂无数据" v-if="!list.length"/>
|
||||
@@ -37,7 +41,11 @@
|
||||
<scroll-view class="select-content" scroll-y="true">
|
||||
<div class="type-list">
|
||||
<div class="type-title">创建人</div>
|
||||
<AiPagePicker class="select" type="sysUser" :selected.sync="createUserId">选择人员</AiPagePicker>
|
||||
<AiPagePicker type="custom" :selected.sync="userIdList" nodeKey="userId" :ops="{url:`./selectUser`,label: 'id'}">
|
||||
<span class="label" v-if="userIdList.length">已选择</span>
|
||||
<span v-else style="color:#999;">请选择</span>
|
||||
<u-icon name="arrow-right" color="#999" size="24" style="margin-left:8px;"/>
|
||||
</AiPagePicker>
|
||||
</div>
|
||||
<div class="type-list">
|
||||
<div class="type-title">群发时间</div>
|
||||
@@ -85,7 +93,9 @@ export default {
|
||||
showStart: false,
|
||||
showEnd: false,
|
||||
taskTitle: '',
|
||||
createUserId: [],
|
||||
userId: '',
|
||||
userList: [],
|
||||
userIdList: []
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -102,7 +112,7 @@ export default {
|
||||
params: {
|
||||
current: this.current,
|
||||
taskTitle: this.taskTitle,
|
||||
createUserId: this.createUserId,
|
||||
createUserId: this.userId,
|
||||
startTime: this.start,
|
||||
endTime: this.end,
|
||||
}
|
||||
@@ -110,15 +120,17 @@ export default {
|
||||
if(res?.data) {
|
||||
this.list = this.current == 1? res.data.records : [...res.data.records, ...this.list]
|
||||
}
|
||||
// console.log(res);
|
||||
})
|
||||
},
|
||||
|
||||
reset() {
|
||||
this.startTime = '',
|
||||
this.endTime = ''
|
||||
this.endTime = '',
|
||||
this.userIdList = []
|
||||
// uni.clearStorageSync('selected')
|
||||
},
|
||||
selectConfirm() {
|
||||
this.userId = this.userIdList?.[0].userId,
|
||||
this.start = this.startTime,
|
||||
this.end = this.endTime
|
||||
let startTmp = this.start.split("-");
|
||||
@@ -141,6 +153,7 @@ export default {
|
||||
},
|
||||
},
|
||||
onShow() {
|
||||
this.getList()
|
||||
document.title = '群发居民群'
|
||||
this.$dict.load('mstStatus').then(() => {
|
||||
this.getList()
|
||||
@@ -298,6 +311,10 @@ export default {
|
||||
background: #1365dd;
|
||||
color: #fff;
|
||||
}
|
||||
.user {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
.popBtn {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user