You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
579 B
31 lines
579 B
2 months ago
|
<template>
|
||
|
<view>
|
||
|
<uni-card v-for="(item, index) in jianyiList" :key="index" :title="item.suggestionTime">
|
||
|
<text class="uni-body">建议内容:{{ item.suggestionContent }}</text>
|
||
|
</uni-card>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import { listSuggestionReply, getSuggestionReply } from '@/api/advice/tishengjianyi.js';
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
jianyiList: []
|
||
|
};
|
||
|
},
|
||
|
methods: {
|
||
|
getDataList() {
|
||
|
listSuggestionReply().then(res => {
|
||
|
this.jianyiList = res.rows;
|
||
|
});
|
||
|
}
|
||
|
},
|
||
|
onLoad() {
|
||
|
this.getDataList();
|
||
|
}
|
||
|
};
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss"></style>
|