更新:增加订单详情功能
This commit is contained in:
@@ -89,6 +89,8 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, computed } from 'vue'
|
||||
import { onLoad } from '@dcloudio/uni-app'
|
||||
|
||||
import { useUserStore } from '@/stores/user'
|
||||
import { submitFeedback } from '@/api/modules/user'
|
||||
import type { IFeedbackForm } from '@/types/user'
|
||||
@@ -97,6 +99,14 @@ import { useI18n } from 'vue-i18n'
|
||||
const { t } = useI18n()
|
||||
const userStore = useUserStore()
|
||||
|
||||
onLoad((options: any) => {
|
||||
const orderSn = options.orderSn
|
||||
if (orderSn) {
|
||||
form.value.relation = orderSn
|
||||
form.value.type = '3'
|
||||
}
|
||||
})
|
||||
|
||||
// 问题类型选项
|
||||
const issueTypeOptions = computed(() => [
|
||||
{ label: t('user.issueTypeAccount'), value: '1' },
|
||||
|
||||
Reference in New Issue
Block a user