diff --git a/packages/wxwork/AppMassNotification/components/Add.vue b/packages/wxwork/AppMassNotification/components/Add.vue
index d00f7781..fa28190b 100644
--- a/packages/wxwork/AppMassNotification/components/Add.vue
+++ b/packages/wxwork/AppMassNotification/components/Add.vue
@@ -27,26 +27,8 @@
-
-
-
-
-
-
@@ -94,7 +76,6 @@
-
@@ -170,10 +151,10 @@ export default {
imgs: [],
videos: [],
files: [],
- orgIdList: '',
- orgNameList: [],
- orgSelect: '',
- orgAllList: [],
+ // orgIdList: '',
+ // orgNameList: [],
+ // orgSelect: '',
+ // orgAllList: [],
rules: {
content: [{required: true, message: '请输入群发内容'}],
messageSource: [{required: true, message: '请选择群发方式'}],
@@ -193,13 +174,13 @@ export default {
return this.form.areaId = this.areaId.toString();
},
},
- watch: {
- orgNameList: {
- handler: function (v) {
- this.orgSelect = `已选择${v.length}个组织`
- }
- }
- },
+ // watch: {
+ // orgNameList: {
+ // handler: function (v) {
+ // this.orgSelect = `已选择${v.length}个组织`
+ // }
+ // }
+ // },
created() {
if (this.$route.query.id) {
@@ -208,46 +189,22 @@ export default {
this.areaRootId = [this.user.info.areaId.substr(0, 6), '000000'].join("")
},
- filters: {
- format(value) {
- if (value == 0) {
- return '立即发送'
- } else if (value == 1) {
- return '定时发送'
- }
- }
- },
methods: {
handleAreaSelect(v) {
this.areaName = v?.[0]?.label
},
- getSelectPerson(val) {
- console.log(val);
- this.orgNameList = val?.map(item => item.name)
- this.orgIdList = val?.map(e => e.id).toString();
- // this.orgAllList = val
- this.form.deptList = val?.map(o => {
- return {
- corpId: o.corpId,
- // objList: ,
- // tagId: ,
- }
- })
- this.getSubTags()
- },
- organizationSelect(value) {
- console.log(value);
- },
+
// 标签
- getSubTags() {
- this.instance.post(`/app/wxcp/wxgroupchattag/listAllByCorp?dvcpId=${this.orgIdList}`).then(res => {
- if (res?.data) {
- console.log(res);
- this.subTags = res.data.records
- }
- })
- },
+ // getSubTags() {
+ // this.instance.post(`/app/wxcp/wxgroupchattag/listAllByCorp?dvcpId=${this.orgIdList}`).then(res => {
+ // if (res?.data) {
+ // console.log(res);
+ // this.subTags = res.data.records
+ // }
+ // })
+ // },
+
getInfo() {
this.instance.post(`/app/pushmessage/detail?id=${this.$route.query.id}`).then(res => {
if (res?.data) {