| | |
| | | |
| | | <script> |
| | | import uploadMixin from "@/mixin/uploadMixinPicCheck"; |
| | | import { handlePublish } from "@/api/circle/circle.js" |
| | | import { |
| | | handlePublish |
| | | } from "@/api/circle/circle.js" |
| | | export default { |
| | | mixins: [uploadMixin], |
| | | data() { |
| | |
| | | }, |
| | | |
| | | submitInfo() { |
| | | handlePublish({ |
| | | let param = { |
| | | circleText:this.content, |
| | | circleImages:this.getImagesUrl(), |
| | | circleType:this.roleType |
| | | }).then(res=>{ |
| | | circleType: this.roleType, |
| | | } |
| | | let role = uni.getStorageSync('activeRole') |
| | | if (role.roleAlias == "inhabitant") { |
| | | param.houseCode = uni.getStorageSync("siteInfo").houseCode |
| | | } |
| | | handlePublish(param).then(res => { |
| | | if(res.code == 200){ |
| | | uni.showToast({ |
| | | title:res.msg |