🎨 完善订单页和用户页
This commit is contained in:
@@ -47,3 +47,22 @@ export const setBalance = (data) => {
|
|||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 获取讲师申请列表
|
||||||
|
export const getTeacherApplyList = (params) => {
|
||||||
|
return service({
|
||||||
|
url: '/app_user/teacherApplyList',
|
||||||
|
method: 'get',
|
||||||
|
params
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 讲师申请审核
|
||||||
|
export const reviewTeacherApply = (data) => {
|
||||||
|
return service({
|
||||||
|
url: '/app_user/teacherApply/status',
|
||||||
|
method: 'put',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
@@ -78,6 +78,7 @@
|
|||||||
"/src/view/systemTools/system/system.vue": "Config",
|
"/src/view/systemTools/system/system.vue": "Config",
|
||||||
"/src/view/user/index.vue": "UserManage",
|
"/src/view/user/index.vue": "UserManage",
|
||||||
"/src/view/user/user/index.vue": "Index",
|
"/src/view/user/user/index.vue": "Index",
|
||||||
|
"/src/view/user/user/teacherApply.vue": "TeacherApply",
|
||||||
"/src/plugin/announcement/form/info.vue": "InfoForm",
|
"/src/plugin/announcement/form/info.vue": "InfoForm",
|
||||||
"/src/plugin/announcement/view/info.vue": "Info",
|
"/src/plugin/announcement/view/info.vue": "Info",
|
||||||
"/src/plugin/customerservice/view/chat/index.vue": "ServiceMain",
|
"/src/plugin/customerservice/view/chat/index.vue": "ServiceMain",
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { routerName } from '@/plugin/customerservice/api/api.js'
|
|
||||||
|
|
||||||
const data = ref({})
|
const data = ref({})
|
||||||
|
|
||||||
@@ -14,12 +14,7 @@ defineOptions({
|
|||||||
name: 'CustomerService'
|
name: 'CustomerService'
|
||||||
})
|
})
|
||||||
|
|
||||||
const useApi = async() =>{
|
|
||||||
const res = await routerName(data.value)
|
|
||||||
if(res.code === 0){
|
|
||||||
console.log(res.data)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
@@ -6,22 +6,12 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { routerName } from '@/plugin/picturelibrary/api/api.js'
|
|
||||||
|
|
||||||
const data = ref({})
|
const data = ref({})
|
||||||
|
|
||||||
defineOptions({
|
defineOptions({
|
||||||
name: 'PictureLibrary'
|
name: 'PictureLibrary'
|
||||||
})
|
})
|
||||||
|
|
||||||
const useApi = async() =>{
|
|
||||||
const res = await routerName(data.value)
|
|
||||||
if(res.code === 0){
|
|
||||||
console.log(res.data)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.picturelibrary {
|
.picturelibrary {
|
||||||
|
@@ -71,7 +71,7 @@ export default ({ mode }) => {
|
|||||||
path.replace(new RegExp('^' + process.env.VITE_BASE_API), '')
|
path.replace(new RegExp('^' + process.env.VITE_BASE_API), '')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
allowedHosts: ['all','lckt.echol.top'],
|
allowedHosts: ['all','lckt.echol.top','lckt.hnlc5588.cn'],
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
minify: 'terser', // 是否进行压缩,boolean | 'terser' | 'esbuild',默认使用terser
|
minify: 'terser', // 是否进行压缩,boolean | 'terser' | 'esbuild',默认使用terser
|
||||||
|
Reference in New Issue
Block a user