部门 + title

This commit is contained in:
shijingjing
2023-03-01 14:55:58 +08:00
parent 899edfae19
commit 50c326dc3b
3 changed files with 13 additions and 7 deletions

View File

@@ -9,9 +9,14 @@
<div><span class="color_red">*</span><span class="title">发送范围</span></div> <div><span class="color_red">*</span><span class="title">发送范围</span></div>
<div @click="toSleectScoped"> <div @click="toSleectScoped">
<span> <span>
<span class="color_gray" v-if="!form.wxGroups || sum==0">请选择</span> <span v-if="type=='ResidentsGroup' && form.wxGroups.length">
<span v-if="type=='ResidentsGroup' && form.wxGroups.length">预计送达{{ form.wxGroups.length }}名成员</span> <span class="color_gray" v-if="!form.wxGroups">请选择</span>
<span v-if="type!='ResidentsGroup' && sum != 0">预计送达{{ sum }}名成员</span> <span v-else>预计送达{{ form.wxGroups.length }}个居民群</span>
</span>
<span v-if="type!='ResidentsGroup' && sum != 0">
<span class="color_gray" v-if="sum==0">请选择</span>
<span v-else>预计送达{{ sum }}名成员</span>
</span>
<u-icon name="arrow-right" color="#CCD0D3"></u-icon> <u-icon name="arrow-right" color="#CCD0D3"></u-icon>
</span> </span>
</div> </div>
@@ -139,7 +144,7 @@
</div> </div>
</template> </template>
remove<script> <script>
import { mapActions } from "vuex"; import { mapActions } from "vuex";
export default { export default {
name: "addPropaganda", name: "addPropaganda",

View File

@@ -68,6 +68,7 @@
<script> <script>
import echarts from "echarts"; import echarts from "echarts";
export default { export default {
name: "circleDetail",
data() { data() {
return { return {
pieEcharts: null, pieEcharts: null,
@@ -243,7 +244,7 @@ export default {
}, },
}, },
onShow() { onShow() {
document.title = "群发居民群统计"; document.title = this.type == "Residents"? '群发居民':'群发朋友圈';
this.$dict.load("mstStatus") this.$dict.load("mstStatus")
this.getStatistics(); this.getStatistics();
this.getDetail(); this.getDetail();

View File

@@ -96,14 +96,14 @@ export default {
fromDepartmentId: 0, fromDepartmentId: 0,
mode: "multi", mode: "multi",
type: ["department"], type: ["department"],
selectedUserIds: this.deptListArr?.map(e => e.id) selectedDepartmentIds: this.deptListArr?.map(e => e.id)
}).then((res)=>{ }).then((res)=>{
if(res?.userList) { if(res?.userList) {
this.deptListArr = res.userList this.deptListArr = res.userList
} }
} }
).catch((err) => { ).catch((err) => {
console.log(err); this.$u.toast(err)
}) })
}, },