消息推送
This commit is contained in:
@@ -9,16 +9,17 @@
|
||||
<u-icon name="arrow-right" color="#999" size="24" style="margin-left:8px;"/>
|
||||
</AiAreaPicker>
|
||||
</div>
|
||||
<div class="area-flex">
|
||||
<p class="title">部门/人员</p>
|
||||
<AiPagePicker type="custom" :selected.sync="deptUserList" nodeKey="id" :ops="{url:'./selectDeptUser',label:'name'}" valueObj>
|
||||
<!-- <div class="item active" v-for="item in deptUserList" :key="item.id">{{ item.name }}</div>
|
||||
<AiMore v-if="deptUserList.length==0" class="right"/> -->
|
||||
<span class="label" v-if="deptUserList.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-content">
|
||||
<div class="type-list">
|
||||
<p v-text="`部门/人员`"/>
|
||||
<div class="list">
|
||||
<AiPagePicker type="custom" :selected.sync="deptUserList" nodeKey="id" :ops="{url:'./selectDeptUser',label:'name'}" valueObj>
|
||||
<div class="item active" v-for="item in deptUserList" :key="item.id">{{ item.name }}</div>
|
||||
<AiMore v-if="deptUserList.length==0" class="right"/>
|
||||
</AiPagePicker>
|
||||
</div>
|
||||
</div>
|
||||
<div class="type-list" v-for="(item, index) in tagList" :key="index">
|
||||
<p>{{ item.name }}</p>
|
||||
<div class="list">
|
||||
@@ -67,6 +68,9 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
toSelectDept() {
|
||||
uni.navigateTo({url: `./selectDeptUser`})
|
||||
},
|
||||
getTagList() {
|
||||
this.$http.post("/app/wxcp/wxcorptag/listAll?size=100").then(res => {
|
||||
if (res?.code == 0) {
|
||||
|
||||
@@ -54,7 +54,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.selected = this.$route.query.selected.map(id => ({id})) || []
|
||||
this.selected = this.$route.query.selected?.map(id => ({id})) || []
|
||||
this.getAllDepts()
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user