|
@@ -36,7 +36,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="list">
|
|
|
- <view class="item" v-for="item in tableData">
|
|
|
+ <view class="item" v-for="item in tableData" @click="listclick(item)">
|
|
|
<view class="point">
|
|
|
|
|
|
</view>
|
|
@@ -88,11 +88,10 @@
|
|
|
}).then(res => {
|
|
|
console.log("res", res)
|
|
|
if (res.code == 200) {
|
|
|
- debugger
|
|
|
- this.dataObj = res.data
|
|
|
-
|
|
|
- uni.hideLoading()
|
|
|
-
|
|
|
+ if (res.data) {
|
|
|
+ this.dataObj = res.data
|
|
|
+ uni.hideLoading()
|
|
|
+ }
|
|
|
} else {
|
|
|
uni.hideLoading()
|
|
|
uni.showToast({
|
|
@@ -143,6 +142,13 @@
|
|
|
url: "/pages/index/info?type=" + this.type
|
|
|
})
|
|
|
},
|
|
|
+ listclick(row) {
|
|
|
+ this.$request.baseRequest('get', '/hyPublicConsultation/getHyPublicConsultation', {
|
|
|
+ id: row.id,
|
|
|
+ }).then(res => {
|
|
|
+ this.dataObj = res.data
|
|
|
+ })
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
</script>
|