Browse Source

Merge branch '公众号推送' into feature

feature
mk 1 year ago
parent
commit
3bd1919635
  1. 7
      src/views/modules/communityService/fuwuzhaoren/index.vue
  2. 30
      src/views/modules/communityService/fuwuzhaoren/personList.vue
  3. 10
      src/views/modules/communityService/gangweizhaoren/index.vue
  4. 30
      src/views/modules/communityService/gangweizhaoren/personList.vue
  5. 9
      src/views/modules/communityService/jinengzhaoren/index.vue
  6. 30
      src/views/modules/communityService/jinengzhaoren/personList.vue
  7. 30
      src/views/modules/communityService/policy/personList.vue
  8. 6
      src/views/modules/communityService/policy/policyList.vue
  9. 10
      src/views/modules/communityService/wennuanzhaoren/index.vue
  10. 30
      src/views/modules/communityService/wennuanzhaoren/personList.vue

7
src/views/modules/communityService/fuwuzhaoren/index.vue

@ -326,11 +326,12 @@
:close-on-press-escape="false" :close-on-press-escape="false"
:title="'人员名单'" :title="'人员名单'"
width="1150px" width="1150px"
top="5vh" top="15vh"
class="dialog-h" class="dialog-h"
@closed="showPersonList = false"> @closed="showPersonList = false">
<person-list ref="ref_person_list" <person-list ref="ref_person_list"
:serviceId="commonServiceId" :serviceId="commonServiceId"
:selfObj="selfObj"
:tagId="tagId"> :tagId="tagId">
</person-list> </person-list>
</el-dialog> </el-dialog>
@ -447,8 +448,9 @@ export default {
// //
multiSelectedRows: [], multiSelectedRows: [],
searchdemandOptions:[] searchdemandOptions:[],
selfObj:{}
}; };
}, },
computed: { computed: {
@ -562,6 +564,7 @@ export default {
async handlePersonList (row) { async handlePersonList (row) {
this.commonServiceId = row.serviceRecordId; this.commonServiceId = row.serviceRecordId;
this.tagId = row.resiSearchTagId; this.tagId = row.resiSearchTagId;
this.selfObj = row;
this.showPersonList = true; this.showPersonList = true;
}, },

30
src/views/modules/communityService/fuwuzhaoren/personList.vue

@ -98,7 +98,7 @@
<div class="div_btn"> <div class="div_btn">
<el-button type="primary" size="small" class="diy-button--blue" @click="onDeleteBatch">批量删除</el-button> <el-button type="primary" size="small" class="diy-button--blue" @click="onDeleteBatch">批量删除</el-button>
<el-button type="primary" size="small" class="diy-button--blue" @click="onMessagePush">公众号消息推送</el-button> <el-button type="primary" size="small" class="diy-button--blue" @click="sendFindPeopleMsg">公众号消息推送</el-button>
<el-button type="primary" size="small" class="diy-button--blue" @click="handleIncrementServeTimes">标记享受服务人员</el-button> <el-button type="primary" size="small" class="diy-button--blue" @click="handleIncrementServeTimes">标记享受服务人员</el-button>
<el-button type="primary" size="small" class="diy-button--blue" @click="handleSearch">查询</el-button> <el-button type="primary" size="small" class="diy-button--blue" @click="handleSearch">查询</el-button>
</div> </div>
@ -445,8 +445,27 @@ export default {
this.handleSearch(); this.handleSearch();
}, },
// //
onMessagePush(){ sendFindPeopleMsg(){
alert("哥哥,点我") let parm = {
parentCategoryCode: this.selfObj.parentCategoryCode,
categoryCode: this.selfObj.categoryCode,
resiList: this.selectedPersonListIds,
serviceTimeStart: this.selfObj.serviceTimeStart,
serviceTimeEnd: this.selfObj.serviceTimeEnd
}
this.$http
.post("/actual/base/communityPublicity/sendFindPeopleMsg",parm)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
} else {
this.$message.success("推送成功");
this.handleSearch();
}
})
.catch((err) => {
return this.$message.error("网络错误");
});
}, },
/** /**
* 组织选择触发事件 * 组织选择触发事件
@ -595,11 +614,10 @@ onMessagePush(){
type: String, type: String,
required: true, required: true,
}, },
serviceId: { selfObj:{
type: String, type: Object,
required: true, required: true,
} }
} }
} }
</script> </script>

10
src/views/modules/communityService/gangweizhaoren/index.vue

@ -329,7 +329,7 @@
:title="detailDiaTitle" :title="detailDiaTitle"
:modal-append-to-body="false" :modal-append-to-body="false"
width="850px" width="850px"
top="5vh" top="15vh"
class="dialog-h" class="dialog-h"
@closed="diaDetailClose"> @closed="diaDetailClose">
<detail-form ref="ref_detail_form" <detail-form ref="ref_detail_form"
@ -348,11 +348,12 @@
:title="'人员名单'" :title="'人员名单'"
close-on-press-escape="true" close-on-press-escape="true"
width="1150px" width="1150px"
top="5vh" top="15vh"
class="dialog-h" class="dialog-h"
@closed="showPersonList = false"> @closed="showPersonList = false">
<person-list ref="ref_person_list" <person-list ref="ref_person_list"
:serviceId="commonServiceId" :serviceId="commonServiceId"
:selfObj="selfObj"
:tagId="tagId"> :tagId="tagId">
</person-list> </person-list>
</el-dialog> </el-dialog>
@ -469,7 +470,9 @@ export default {
// //
multiSelectedRows: [], multiSelectedRows: [],
searchdemandOptions:[] searchdemandOptions:[],
selfObj:{}
}; };
}, },
computed: { computed: {
@ -588,6 +591,7 @@ export default {
async handlePersonList (row) { async handlePersonList (row) {
this.commonServiceId = row.serviceRecordId; this.commonServiceId = row.serviceRecordId;
this.tagId = row.resiSearchTagId; this.tagId = row.resiSearchTagId;
this.selfObj = row;
this.showPersonList = true; this.showPersonList = true;
}, },

30
src/views/modules/communityService/gangweizhaoren/personList.vue

@ -98,7 +98,7 @@
<div class="div_btn"> <div class="div_btn">
<el-button type="primary" size="small" class="diy-button--blue" @click="onDeleteBatch">批量删除</el-button> <el-button type="primary" size="small" class="diy-button--blue" @click="onDeleteBatch">批量删除</el-button>
<el-button type="primary" size="small" class="diy-button--blue" @click="onMessagePush">公众号消息推送</el-button> <el-button type="primary" size="small" class="diy-button--blue" @click="sendFindPeopleMsg">公众号消息推送</el-button>
<el-button type="primary" size="small" class="diy-button--blue" @click="handleIncrementServeTimes">标记享受服务人员</el-button> <el-button type="primary" size="small" class="diy-button--blue" @click="handleIncrementServeTimes">标记享受服务人员</el-button>
<el-button type="primary" size="small" class="diy-button--blue" @click="handleSearch">查询</el-button> <el-button type="primary" size="small" class="diy-button--blue" @click="handleSearch">查询</el-button>
</div> </div>
@ -441,8 +441,27 @@ export default {
this.handleSearch(); this.handleSearch();
}, },
// //
onMessagePush() { sendFindPeopleMsg(){
alert("哥哥,点我") let parm = {
parentCategoryCode: this.selfObj.parentCategoryCode,
categoryCode: this.selfObj.categoryCode,
resiList: this.selectedPersonListIds,
serviceTimeStart: this.selfObj.serviceTimeStart,
serviceTimeEnd: this.selfObj.serviceTimeEnd
}
this.$http
.post("/actual/base/communityPublicity/sendFindPeopleMsg",parm)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
} else {
this.$message.success("推送成功");
this.handleSearch();
}
})
.catch((err) => {
return this.$message.error("网络错误");
});
}, },
/** /**
* 组织选择触发事件 * 组织选择触发事件
@ -591,11 +610,10 @@ export default {
type: String, type: String,
required: true, required: true,
}, },
serviceId: { selfObj:{
type: String, type: Object,
required: true, required: true,
} }
} }
} }
</script> </script>

9
src/views/modules/communityService/jinengzhaoren/index.vue

@ -326,10 +326,11 @@
:modal-append-to-body="false" :modal-append-to-body="false"
:title="'人员名单'" :title="'人员名单'"
width="1150px" width="1150px"
top="5vh" top="15vh"
class="dialog-h" class="dialog-h"
@closed="showPersonList = false"> @closed="showPersonList = false">
<person-list ref="ref_person_list" <person-list ref="ref_person_list"
:selfObj="selfObj"
:serviceId="commonServiceId" :serviceId="commonServiceId"
:tagId="tagId"> :tagId="tagId">
</person-list> </person-list>
@ -446,7 +447,10 @@ export default {
// //
multiSelectedRows: [], multiSelectedRows: [],
searchdemandOptions:[] searchdemandOptions:[],
//
selfObj:{}
}; };
}, },
computed: { computed: {
@ -563,6 +567,7 @@ export default {
async handlePersonList (row) { async handlePersonList (row) {
this.commonServiceId = row.serviceRecordId; this.commonServiceId = row.serviceRecordId;
this.tagId = row.resiSearchTagId; this.tagId = row.resiSearchTagId;
this.selfObj = row;
this.showPersonList = true; this.showPersonList = true;
}, },

30
src/views/modules/communityService/jinengzhaoren/personList.vue

@ -98,7 +98,7 @@
<div class="div_btn"> <div class="div_btn">
<el-button type="primary" size="small" class="diy-button--blue" @click="onDeleteBatch">批量删除</el-button> <el-button type="primary" size="small" class="diy-button--blue" @click="onDeleteBatch">批量删除</el-button>
<el-button type="primary" size="small" class="diy-button--blue" @click="onMessagePush">公众号消息推送</el-button> <el-button type="primary" size="small" class="diy-button--blue" @click="sendFindPeopleMsg">公众号消息推送</el-button>
<el-button type="primary" size="small" class="diy-button--blue" @click="handleIncrementServeTimes">标记享受服务人员</el-button> <el-button type="primary" size="small" class="diy-button--blue" @click="handleIncrementServeTimes">标记享受服务人员</el-button>
<el-button type="primary" size="small" class="diy-button--blue" @click="handleSearch">查询</el-button> <el-button type="primary" size="small" class="diy-button--blue" @click="handleSearch">查询</el-button>
</div> </div>
@ -444,8 +444,27 @@ export default {
this.handleSearch(); this.handleSearch();
}, },
// //
onMessagePush() { sendFindPeopleMsg(){
alert("哥哥,点我") let parm = {
parentCategoryCode: this.selfObj.parentCategoryCode,
categoryCode: this.selfObj.categoryCode,
resiList: this.selectedPersonListIds,
serviceTimeStart: this.selfObj.serviceTimeStart,
serviceTimeEnd: this.selfObj.serviceTimeEnd
}
this.$http
.post("/actual/base/communityPublicity/sendFindPeopleMsg",parm)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
} else {
this.$message.success("推送成功");
this.handleSearch();
}
})
.catch((err) => {
return this.$message.error("网络错误");
});
}, },
/** /**
* 组织选择触发事件 * 组织选择触发事件
@ -594,11 +613,10 @@ export default {
type: String, type: String,
required: true, required: true,
}, },
serviceId: { selfObj:{
type: String, type: Object,
required: true, required: true,
} }
} }
} }
</script> </script>

30
src/views/modules/communityService/policy/personList.vue

@ -128,7 +128,7 @@
type="primary" type="primary"
size="small" size="small"
class="diy-button--red" class="diy-button--red"
@click="handleIncrementServeTimes" @click="sendFindPeopleMsg"
>公众号消息推送</el-button >公众号消息推送</el-button
> >
<el-button <el-button
@ -451,7 +451,29 @@ export default {
// //
this.handleSearch(); this.handleSearch();
}, },
//
sendFindPeopleMsg(){
let parm = {
parentCategoryCode: this.selfObj.parentCategoryCode,
categoryCode: this.selfObj.categoryCode,
resiList: this.selectedPersonListIds,
serviceTimeStart: this.selfObj.serviceTimeStart,
serviceTimeEnd: this.selfObj.serviceTimeEnd
}
this.$http
.post("/actual/base/communityPublicity/sendFindPeopleMsg",parm)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
} else {
this.$message.success("推送成功");
this.handleSearch();
}
})
.catch((err) => {
return this.$message.error("网络错误");
});
},
/** /**
* 组织选择触发事件 * 组织选择触发事件
* @returns {Promise<void>} * @returns {Promise<void>}
@ -609,6 +631,10 @@ export default {
type: String, type: String,
default: "", default: "",
}, },
selfObj:{
type: Object,
required: true,
}
}, },
}; };
</script> </script>

6
src/views/modules/communityService/policy/policyList.vue

@ -291,7 +291,7 @@
:title="'符合政策人员名单'" :title="'符合政策人员名单'"
width="1600px" width="1600px"
height="1100px" height="1100px"
top="5vh" top="15vh"
class="dialog-h" class="dialog-h"
@closed="showPersonList = false" @closed="showPersonList = false"
> >
@ -300,6 +300,7 @@
:policyId="policyId" :policyId="policyId"
:tagId="tagId" :tagId="tagId"
:serviceId="serviceId" :serviceId="serviceId"
:selfObj="selfObj"
> >
</person-list> </person-list>
</el-dialog> </el-dialog>
@ -364,6 +365,8 @@ export default {
selection: [], selection: [],
serviceId: "", serviceId: "",
selfObj:{}
}; };
}, },
computed: { computed: {
@ -739,6 +742,7 @@ export default {
this.showPersonList = true; this.showPersonList = true;
this.serviceId = row.serviceId; this.serviceId = row.serviceId;
this.tagId = row.resiSearchTagId; this.tagId = row.resiSearchTagId;
this.selfObj = row;
this.policyId = row.id; this.policyId = row.id;
}, },
}, },

10
src/views/modules/communityService/wennuanzhaoren/index.vue

@ -309,7 +309,7 @@
:modal-append-to-body="false" :modal-append-to-body="false"
:modal="false" :modal="false"
width="850px" width="850px"
top="5vh" top="15vh"
class="dialog-h" class="dialog-h"
@closed="diaDetailClose"> @closed="diaDetailClose">
<detail-form ref="ref_detail_form" <detail-form ref="ref_detail_form"
@ -326,10 +326,11 @@
:close-on-press-escape="false" :close-on-press-escape="false"
:title="'人员名单'" :title="'人员名单'"
width="1150px" width="1150px"
top="5vh" top="15vh"
class="dialog-h" class="dialog-h"
@closed="showPersonList = false"> @closed="showPersonList = false">
<person-list ref="ref_person_list" <person-list ref="ref_person_list"
:selfObj="selfObj"
:serviceId="commonServiceId" :serviceId="commonServiceId"
:tagId="tagId"> :tagId="tagId">
</person-list> </person-list>
@ -449,7 +450,9 @@ export default {
ruleList: [], ruleList: [],
// //
multiSelectedRows: [] multiSelectedRows: [],
selfObj:{}
}; };
}, },
computed: { computed: {
@ -567,6 +570,7 @@ export default {
async handlePersonList (row) { async handlePersonList (row) {
this.commonServiceId = row.serviceRecordId; this.commonServiceId = row.serviceRecordId;
this.tagId = row.resiSearchTagId; this.tagId = row.resiSearchTagId;
this.selfObj = row;
this.showPersonList = true; this.showPersonList = true;
}, },

30
src/views/modules/communityService/wennuanzhaoren/personList.vue

@ -101,7 +101,7 @@
<div class="div_btn"> <div class="div_btn">
<el-button type="primary" size="small" class="diy-button--blue" @click="onDeleteBatch">批量删除</el-button> <el-button type="primary" size="small" class="diy-button--blue" @click="onDeleteBatch">批量删除</el-button>
<el-button type="primary" size="small" class="diy-button--blue" @click="onMessagePush">公众号消息推送</el-button> <el-button type="primary" size="small" class="diy-button--blue" @click="sendFindPeopleMsg">公众号消息推送</el-button>
<el-button type="primary" size="small" class="diy-button--blue" @click="handleIncrementServeTimes">标记享受服务人员</el-button> <el-button type="primary" size="small" class="diy-button--blue" @click="handleIncrementServeTimes">标记享受服务人员</el-button>
<el-button type="primary" size="small" class="diy-button--blue" @click="handleSearch">查询</el-button> <el-button type="primary" size="small" class="diy-button--blue" @click="handleSearch">查询</el-button>
</div> </div>
@ -451,8 +451,27 @@ export default {
this.handleSearch(); this.handleSearch();
}, },
// //
onMessagePush() { sendFindPeopleMsg(){
alert("哥哥,点我") let parm = {
parentCategoryCode: this.selfObj.parentCategoryCode,
categoryCode: this.selfObj.categoryCode,
resiList: this.selectedPersonListIds,
serviceTimeStart: this.selfObj.serviceTimeStart,
serviceTimeEnd: this.selfObj.serviceTimeEnd
}
this.$http
.post("/actual/base/communityPublicity/sendFindPeopleMsg",parm)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
} else {
this.$message.success("推送成功");
this.handleSearch();
}
})
.catch((err) => {
return this.$message.error("网络错误");
});
}, },
/** /**
@ -639,11 +658,10 @@ export default {
type: String, type: String,
required: true, required: true,
}, },
serviceId: { selfObj:{
type: String, type: Object,
required: true, required: true,
} }
}, },
} }
</script> </script>

Loading…
Cancel
Save