qsh 5 days ago
parent 9cdfa01d33
commit 72341a96a5
  1. 18
      src/views/Clue/Order/Comp/AfterSales.vue
  2. 17
      src/views/Clue/Order/Comp/Reback.vue
  3. 4
      src/views/Profile/components/UserSocial.vue

@ -83,6 +83,18 @@
style="width: 240px"
/>
</el-form-item>
<template v-if="appStore.getAppInfo?.instanceType == 1">
<el-form-item>
<el-select v-model="searchForm.area" placeholder="选择区域" clearable filterable>
<el-option
v-for="item in areaOptions"
:key="item.id"
:label="item.name"
:value="item.id"
/>
</el-select>
</el-form-item>
</template>
<el-form-item>
<el-button @click="handleSearch" v-hasPermi="['clue:order:after-sale-search']">
查询
@ -189,6 +201,7 @@
<script setup name="AfterSales">
import * as AfterSaleApi from '@/api/clue/afterSale'
import { getSimpleUserList as getUserOption } from '@/api/system/user'
import { getAreaSimpleList } from '@/api/school/setting/area'
import { useUserStore } from '@/store/modules/user'
import DialogAfterSaleAudit from './DialogAfterSaleAudit.vue'
@ -292,7 +305,12 @@ function handleAudit(row) {
afterSaleAuditDialog.value.open(row)
}
const areaOptions = ref([])
function getOptions() {
//
getAreaSimpleList().then((data) => {
areaOptions.value = data
})
getUserOption().then((data) => {
userOptions.value = data
})

@ -94,6 +94,16 @@
/>
</el-select>
</el-form-item>
<el-form-item>
<el-select v-model="searchForm.area" placeholder="选择区域" clearable filterable>
<el-option
v-for="item in areaOptions"
:key="item.id"
:label="item.name"
:value="item.id"
/>
</el-select>
</el-form-item>
</template>
<el-form-item v-else-if="appStore.getAppInfo?.instanceType == 2">
<el-select
@ -404,6 +414,7 @@ import * as FeebackApi from '@/api/clue/payment'
import { getSimpleUserList as getUserOption, getAllUserList } from '@/api/system/user'
import { getPlaceList } from '@/api/school/place'
import { getClassTypeList } from '@/api/school/class'
import { getAreaSimpleList } from '@/api/school/setting/area'
import { DICT_TYPE, getDictOptions } from '@/utils/dict'
import { useUserStore } from '@/store/modules/user'
@ -471,6 +482,7 @@ function handleReset() {
signSchool: undefined,
signPlace: undefined,
signClass: undefined,
area: undefined,
pageNo: 1,
pageSize: 20
}
@ -541,12 +553,17 @@ function handleAudit(row) {
feebackDialog.value.open(row)
}
const areaOptions = ref([])
function getOptions() {
//
getPlaceList({ placeStatus: 0, schoolStatus: 0, isSearchSchool: true }).then((data) => {
schoolOptions.value = data.schoolList
allPlaceOptions.value = data.placeList
})
//
getAreaSimpleList().then((data) => {
areaOptions.value = data
})
getUserOption().then((data) => {
userOptions.value = data
})

@ -61,8 +61,8 @@ const bindSocial = () => {
})
}
const bind = (row) => {
message.info('暂未开放,敬请期待')
return
// message.info('')
// return
const redirectUri = location.origin + '/user/profile?type=' + row.type
//
socialAuthRedirect(row.type, encodeURIComponent(redirectUri)).then((res) => {

Loading…
Cancel
Save