This commit is contained in:
jiangyinzhi
2024-11-14 11:27:16 +08:00
parent da36f860ca
commit 455c8b58da
19 changed files with 182 additions and 43 deletions
+9 -1
View File
@@ -57,7 +57,7 @@
<div class="btn" >
<button @click="handelClickClose(item)">取消</button>
<button @click="hanelClickReply(item)">回复</button>
<button @click="handleClick(item)">回复</button>
</div>
@@ -100,6 +100,7 @@ import { getCurrentUserEvaluate, getCurrentUserEvaluateAdd } from '@/api/evaluat
import { Notify } from 'vant'
import Loading from '@/components/loading'
import { downloadUrl } from '@/settings'
import {debounce} from '@/utils/common.js'
export default {
name: 'userEvaluate',
components: {
@@ -116,6 +117,7 @@ export default {
overlayShow: false,
// 报告价值
reportLevel: {},
doDebounce: null,
}
},
activated() {
@@ -124,6 +126,9 @@ export default {
},
created() {
this.doDebounce = debounce(function (item) {
this.hanelClickReply(item)
}, 5000, true)
this.getuserEvaluate()
},
methods: {
@@ -187,6 +192,9 @@ export default {
item.show = false
item.showTextArea = false
},
handleClick(item) {
this.doDebounce(item)
},
//点击回复按钮
async hanelClickReply(item) {
console.log(item);