优化
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user