lin
2024-03-21 f843c9a44fd437c2f26186b91dd950221666caac
圈子发布新增housecode
1 files modified
15 ■■■■ changed files
pages/circle/publish.vue 15 ●●●● patch | view | raw | blame | history
pages/circle/publish.vue
@@ -22,7 +22,9 @@
<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() {
@@ -59,11 +61,16 @@
            },
            
            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