|
@@ -125,7 +125,7 @@ import {useRouter} from "vue-router";
|
|
|
import store from "../../store";
|
|
|
import {computed, reactive, ref} from "vue";
|
|
|
import {commitNewComment} from "../../api/comment";
|
|
|
-import {showToast} from "vant";
|
|
|
+import {showDialog} from "vant";
|
|
|
import WxOrderDetail from '../../components/wx-order-detail/index.vue'
|
|
|
|
|
|
const router = useRouter()
|
|
@@ -180,10 +180,10 @@ function submitComment() {
|
|
|
comment.patientName = createOrderRequest.patientName
|
|
|
commitNewComment(comment).then(res => {
|
|
|
disableSubmitComment.value = true
|
|
|
- showToast({
|
|
|
- message: res,
|
|
|
- position: 'top',
|
|
|
- });
|
|
|
+ showDialog({
|
|
|
+ type: 'success',
|
|
|
+ message: '提交成功,感谢您的评价!',
|
|
|
+ })
|
|
|
})
|
|
|
}
|
|
|
</script>
|