| components/myIssue/myIssue.vue | ●●●●● patch | view | raw | blame | history | |
| pages/home/index.vue | ●●●●● patch | view | raw | blame | history | |
| subPackage/grid/tenement.vue | ●●●●● patch | view | raw | blame | history |
components/myIssue/myIssue.vue
@@ -11,9 +11,8 @@ </view> </view> <textarea v-if="textareaShow" @blur="blur" v-model="infoReceive.content" :placeholder="textareaPlaceholder" /> <view class="issue-btn-box"> <button v-if="submitShow" class="submit-btn bgc-main c-ff" :disabled="infoReceive.content && infoReceive.score?false:true" <view class="issue-btn-box" v-if="submitShow"> <button class="submit-btn bgc-main c-ff" :disabled="infoReceive.content && infoReceive.score?false:true" @click="doSubmit">{{submitText}}</button> <slot name="submit"></slot> </view> pages/home/index.vue
@@ -263,6 +263,8 @@ console.log("refreshPage=>", val); this.curSelectSite = val this.getHouseDataList(val.id) this.curHouseCode = this.curSelectSite.houseCode uni.setStorageSync("curHouseCode", this.curSelectSite.houseCode) }) }, @@ -342,7 +344,7 @@ getContactList() { getContact({ houseCode: this.curHouseCode houseCode: uni.getStorageSync("curHouseCode") }).then(res => { let data = res.data; this.contactList = this.navList; @@ -351,18 +353,24 @@ this.contactList[1].phone = data.wg.phone this.contactList[1].path = "/subPackage/grid/comprehensive"; this.contactList[1].id = data.wg.code; } else { this.contactList[1].name = ""; } if (data.wy) { this.contactList[0].name = data.wy.name; this.contactList[0].phone = data.wy.phone; this.contactList[0].path = "/subPackage/grid/tenement"; this.contactList[0].id = data.wy.code; } else { this.contactList[0].name = ""; } if (data.ga) { this.contactList[2].name = data.ga.name; this.contactList[2].phone = data.ga.phone; this.contactList[2].path = "/subPackage/grid/publicSecurity"; this.contactList[2].id = data.ga.code; } else { this.contactList[2].name = ""; } }) }, @@ -418,6 +426,7 @@ this.curSelectSite = dataList[0]; } this.curHouseCode = this.curSelectSite.id uni.setStorageSync("curHouseCode", this.curSelectSite.id) } }, subPackage/grid/tenement.vue
@@ -38,15 +38,8 @@ </view> </view> <view class="mb-30"> <caption-row title="评分" /> <view class="intro bgc-ff mt-20"> <!-- <u-read-more ref="uReadMore"> --> <!-- <text>{{detailInfo.name}}:{{scoreInfo.score}}</text> --> <my-issue :score="scoreInfo.score" :textareaShow="false" :submitShow="false" :headTitleValue="title" /> <!-- <rich-text :nodes="scoreInfo.score"></rich-text> --> <!-- </u-read-more> --> </view> <view class=""> <my-issue :score="scoreInfo.score" :textareaShow="false" :submitShow="false" :headTitleValue="title" /> </view> <view class="comment" v-if="commentList.length">